1 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3 * java/awt/ImageCapabilities.java: Document.
5 * java/awt/image/VolatileImage.java: Unindent copyright header.
7 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9 * java/awt/image/VolatileImage.java: Document.
11 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
13 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
14 (init_glib_threads): Check if threading system is already
17 2005-05-03 Andrew Overholt <overholt@redhat.com>
20 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
21 could not be acquired.
22 * java/nio/channels/FileLock.java (toString): Re-implement to be
23 in line with other implementations.
25 2005-05-03 Tom Tromey <tromey@redhat.com>
27 * java/lang/VMSecurityManager.java (currentClassLoader): Use
28 'systemClasssLoader' directly.
30 2005-05-03 Tom Tromey <tromey@redhat.com>
32 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
33 call VMClassLoader.getSystemClassLoader.
35 2005-04-29 Michael Koch <konqueror@gmx.de>
37 * java/net/NetworkInterface.java
39 (NetworkInterface(String,InetAddress)): Made package-private.
40 (NetworkInterface(String,InetAddress[])): New constructor.
41 (getRealNetworkInterfaces): Removed.
42 (getByName): Use VMNetworkInterface.getInterfaces().
43 (getByInetAddress): Likewise.
44 (getNetworkInterfaces): Likewise.
45 * java/net/VMNetworkInterface.java,
46 java/net/natVMNetworkInterfaceNoNet.cc,
47 java/net/natVMNetworkInterfacePosix.c,c
48 java/net/natVMNetworkInterfaceWin32.cc: New files.
49 * java/net/natNetworkInterfaceNoNet.cc,
50 java/net/natNetworkInterfacePosix.cc,
51 java/net/natNetworkInterfaceWin32.cc: Removed.
54 * configure, Makefile.in: Regenerated.
56 2005-04-29 Andrew Haley <aph@redhat.com>
58 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
60 2005-04-29 Dalibor Topic <robilad@kaffe.org>
62 * java/nio/channels/FileChannelImpl.java
63 (FileChannelImpl(String, int)): Removed.
64 (FileChannelImpl(File, int)): Added. Check if opened file is a
66 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
67 Call FileChannelImpl(File, int).
68 * java/io/FileOutputStream.java (FileInputStream): Call
69 FileChannelImpl(File, int).
70 * java/io/RandomAccessFile.java (RandomAccessFile):
71 Call FileChannelImpl(File, int). Switched constructors around.
73 2005-04-27 Andrew Haley <aph@redhat.com>
76 * prims.cc (_Jv_ResolvePoolEntry): New function.
77 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
78 * link.cc (_Jv_Linker::find_field): New arg: found_class.
79 (resolve_pool_entry): Initialize the class in which a field is
81 (link_symbol_table): Pass new arg to found_class.
83 2005-04-29 Michael Koch <konqueror@gmx.de>
85 * java/nio/charset/Charset.java
86 (provider): Reformatted.
88 2005-04-29 Michael Koch <konqueror@gmx.de>
90 * gnu/java/net/protocol/http/HTTPConnection.java:
91 (userAgent): Initialize from system properties.
92 (initUserAgent): Removed.
94 2005-04-29 Mark Wielaard <mark@klomp.org>
96 * java/util/ResourceBundle.java (getObject): Clarify
97 MissingResourceException detailed message.
98 (tryBundle(String,ClassLoader)): Likewise.
100 2005-04-29 Robert Schuster <thebohemian@gmx.net>
102 * java/beans/FeatureDescriptor.java:
103 (getShortDescription): Implemented fallback mechanism and fixed
104 documentation (fixes bug #12637).
105 (getDisplayName): Dito.
107 2005-04-29 Robert Schuster <thebohemian@gmx.net>
109 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
110 will now be set correctly.
111 (flushCaches): Now flushes all cached intermediate data.
113 2005-04-28 Michael Koch <konqueror@gmx.de>
115 * java/net/InetAddress.java
116 (aton): Fixed javadoc.
119 2005-04-28 Tom Tromey <tromey@redhat.com>
121 * javax/swing/Timer.java
122 (drainEvents, queueEvent): Now package-private.
124 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
126 * javax/swing/Timer.java
127 (constructor): Assigning initialDelay.
129 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
131 * javax/swing/Timer.java
132 (Waker.run): firing the first action event.
134 2005-04-28 Michael Koch <konqueror@gmx.de>
136 * javax/swing/Timer.java: Reordered all fields and methods,
139 2005-04-28 Michael Koch <konqueror@gmx.de>
141 * javax/swing/Timer.java: Javadocs merged
144 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
146 * gnu/java/net/protocol/file/Connection.java
147 (StaticData): New inner class to contain statics.
148 (connect, getHeaderField): Modified to use StaticData.
150 2005-04-28 Michael Koch <konqueror@gmx.de>
152 * gnu/java/net/protocol/file/Connection.java
153 (lineSeparator): Initialize with SystemProperties.getProperty().
155 2005-04-27 Chris Burdess <dog@gnu.org>
157 * gnu/java/net/protocol/file/Connection.java: Return correct content
158 length for directory listing.
159 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
160 #11285: return valid URLs for directories.i
162 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
164 * Makefile.am (ordinary_java_source_files): Add
165 gnu/java/net/protocol/https/Handler.java.
166 * Makefile.in: Regenerate.
167 * java/net/URL.java: Remove org.metastatic.jessie from default
168 protocol search path.
170 2005-04-27 Chris Burdess <dog@gnu.org>
172 * gnu/java/net/protocol/https/Handler.java: New file.
174 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
176 * javax/imageio/spi/IIORegistry.java (IIORegistry):
177 Don't assume that awt Toolkit is always ClasspathToolkit.
179 2005-04-27 Chris Burdess <dog@gnu.org>
181 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
182 absolute and relative paths in Location header.
184 2005-04-27 Chris Burdess <dog@gnu.org>
186 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
187 FileNotFoundException and implement getErrorStream on 404.
189 2005-04-27 Sven de Marothy <sven@physto.se>
191 * java/util/TimeZone.java,
192 (getDefaultDisplayName): Fix previous fix.
194 2005-04-27 Sven de Marothy <sven@physto.se>
196 * java/util/TimeZone.java,
197 (getDefaultDisplayName): Don't print zero offsets.
199 2005-04-27 Roman Kennke <roman@kennke.org>
201 * javax/swing/plaf/basic/BasicScrollBarUI
202 (getThumbBounds): Do not make thumb smaller than
204 * javax/swing/plaf/metal/MetalLookAndFeel
205 (initComponentDefaults): Added color defaults for ScrollBar.
206 * javax/swing/plaf/metal/MetalScrollBarUI
208 (getMinimumThumbSize): Added.
210 2005-04-27 Roman Kennke <roman@kennke.org>
212 * javax/swing/plaf/metal/MetalLookAndFeel
213 (initComponentDefaults): Added some default colors.
215 2005-04-27 Roman Kennke <roman@kennke.org>
217 * javax/swing/plaf/basic/BasicScrollBarUI.java
218 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
219 to 'ScrollBar.thumbShadow'. The formes does not exist.
220 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
222 2005-04-27 Roman Kennke <roman@kennke.org>
224 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
225 * javax/swing/BoxLayout.java: Likewise.
226 * javax/swing/UIManager.java: Likewise.
227 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
228 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
229 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
230 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
231 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
232 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
233 * javax/swing/text/Document.java: Likewise.
234 * javax/swing/text/GapContent.java: Likewise.
235 * javax/swing/text/SimpleAttributeSet.java: Likewise.
236 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
238 2005-04-27 Roman Kennke <roman@kennke.org>
240 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
241 (getPropertyPrefix): Added.
243 2005-04-27 Roman Kennke <roman@kennke.org>
245 * javax/swing/plaf/basic/BasicButtonUI.java
246 (getPropertyPrefix): Added.
247 (installDefaults): Use getPropertyPrefix instead of hard-coded
250 2005-04-27 Roman Kennke <roman@kennke.org>
252 * javax/swing/JToggleButton.java
253 (JToggleButton): Removed horizontalAlignment setting, this
254 was wrong. Added setting of an actionCommand, ToggleButtons
255 have "" as default actionCommand.
257 2005-04-27 Michael Koch <konqueror@gmx.de>
259 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
260 to work around CNI limitation.
262 2005-04-27 Sven de Marothy <sven@physto.se>
264 * java/nio/charset/Charset.java:
265 (defaultCharset()): New method.
266 Status updated to 1.5
268 2005-04-27 Sven de Marothy <sven@physto.se>
270 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
272 2005-04-27 Sven de Marothy <sven@physto.se>
274 * java/nio/charset/Charset.java: Reset cached de/encoders.
276 2005-04-27 Robert Schuster <thebohemian@gmx.net>
278 * java/nio/charset/Charset.java (forName): Throws
279 IllegalArgumentException when argument is null
280 and added documentation.
282 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
284 * java/nio/charset/Charset.java (providers):
285 New method to make an array of CharsetProviders defined in
286 META-INF/services/java.nio.charset.spi.CharsetProvider.
287 (charsetForName, availableCharsets): Use the
288 new method providers().
290 2005-04-26 Michael Koch <konqueror@gmx.de>
292 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
293 Fixed typos in javadocs.
294 (isSiteLocalAddress): Fixed handling of byte values.
295 (isMCLinkLocal): Likewise.
296 * java/net/Inet4Address.java
297 (isMulticastAddress): Call super method.
298 (isLoopbackAddress): Likewise.
299 (isAnyLocalAddress): Likewise.
300 (isLinkLocalAddress): Likewise.
301 (isSiteLocalAddress): Likewise.
302 (isMCGlobal): Likewise.
303 (isMCNodeLocal): Likewise.
304 (isMCLinkLocal): Likewise.
305 (isMCSiteLocal): Likewise.
306 (isMCOrgLocal): Likewise.
307 (getHostAddress): Likewise.
309 2005-04-26 Sven de Marothy <sven@physto.se>
311 * java/net/InetAddress.java
312 (toString): Don't print empty hostnames.
314 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
317 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
318 'false' to native lock().
319 (lock): Pass 'true' to native lock().
321 2005-04-26 Michael Koch <konqueror@gmx.de>
323 * java/net/InetAddress.java:
324 Fixed typos in javadocs.
326 2005-04-26 Andrew Haley <aph@redhat.com>
329 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
332 2005-04-26 Tom Tromey <tromey@redhat.com>
334 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
335 gnu): Now package-private.
336 * javax/swing/text/html/parser/DocumentParser.java (parser,
337 callBack, gnu): Now package-private.
338 * javax/swing/text/StringContent.java (content, setOffset,
339 checkLocation): Now package-private.
340 * javax/swing/text/JTextComponent.java (doc): Now
342 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
343 lastGoodOrientation, origParent, borders, cachedBounds,
344 cachedOrientation, DragWindow): Now package-private.
345 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
346 decrButton, viewport, panel, currentScrollLocation, layoutManager,
347 tabAreaRect, contentRect, createIncreaseButton,
348 createDecreaseButton, findPointForIndex): Now package-private.
349 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
350 (currentDividerLocation, moveDividerTo): Now package-private.
351 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
353 * javax/swing/plaf/basic/BasicScrollBarUI.java
354 (calculatePreferredSize, valueForYPosition, valueForXPosition):
356 * javax/swing/plaf/basic/BasicPopupMenuUI.java
357 (topWindowListener): Now package-private.
358 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
359 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
360 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
362 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
364 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
366 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
368 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
369 borderInsets): Now package-private.
370 (arrowButtonWidth): Likewise. Now a constant.
371 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
372 makeTabs, updatePreviewPanel): Now package-private.
373 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
374 darkShadow, highlight): Now package-private.
375 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
376 (addColorToQueue): Now package-private.
377 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
378 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
379 GSpinner, BSpinner): Now package-private.
380 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
381 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
382 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
383 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
384 updateTrack): Now package-private.
385 * javax/swing/TransferHandler.java (clipboard): Now
387 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
389 * javax/swing/Timer.java (drainEvents, queueEvent): Now
391 * javax/swing/RepaintManager.java (globalManager): Now
393 * javax/swing/JFormattedTextField.java (editValid): Now
395 * javax/swing/JColorChooser.java (makeModal): Now
397 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
398 index, path): Now package-private.
399 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
400 lineQuadIntersect, lineCubicIntersect, linesIntersect,
401 pointEquals): Now package-private.
402 * java/awt/geom/Arc2D.java (type): Now package-private.
403 * java/awt/Window.java (windowFocusOwner): Now package-private.
404 * java/awt/TextComponent.java (editable, selectionStart,
405 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
407 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
409 * java/awt/MenuComponent.java (focusListener): Now
411 * java/awt/Frame.java (state): Now package-private.
412 * java/awt/Choice.java (pItems): Now package-private.
413 * java/awt/Checkbox.java (state): Now package-private.
414 * java/awt/Button.java (actionCommand, label): Now
416 * gnu/javax/swing/text/html/parser/support/Parser.java
417 (attributes, _handleEndTag_remaining, _handleStartTag): Now
419 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
421 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
422 clip, transform, font, comp): Now package-private.
424 2005-04-26 Tom Tromey <tromey@redhat.com>
426 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
429 2005-04-26 Mark Wielaard <mark@klomp.org>
431 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
432 to MalformedURLException.
434 2005-04-26 Michael Koch <konqueror@gmx.de>
436 * java/security/AccessControlContext.java:
438 (protectedDomains): Renamed from 'protectionDomain'.
439 * java/security/AccessController.java:
442 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
444 * gnu/java/security/action/GetSecurityPropertyAction.java
445 (GetSecurityPropertyAction): Implement PrivilegedAction instead
446 of extending GetPropertyAction.
449 (setParamters): New methods.
450 (GetSecurityPropertyAction): Use new setParameters methods.
452 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
454 * java/security/Security.java,
455 java/security/cert/X509CRLSelector.java,
456 java/security/cert/X509CertSelector.java:
457 Modified to use SystemProperties.
459 2005-04-26 Michael Koch <konqueror@gmx.de>
461 * java/lang/System.java
462 (setSecurityManager): Fixed comment.
463 (getSecurityManager): Removed obsolete comment.
465 2005-04-25 Tom Tromey <tromey@redhat.com>
467 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
469 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
471 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
472 (connectSignals): Realize the window widget after connecting
475 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
477 * java/awt/GraphicsEnvironment.java
478 (localGraphicsEnvironment): New field.
479 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
481 (isHeadless): Added support for java.awt.headless property.
482 (isHeadlessInstance): Call headless().
484 2005-04-25 Roman Kennke <roman@kennke.org>
486 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
487 (getDisplayMode): Added. Returns the current display mode.
488 (isFullScreenSupported): Added.
489 * java/awt/GraphicsDevice.java
490 (setFullScreenWindow): Implemented a primitive fullscreen mode.
491 This resizes and relocates the fullscreen window so that it uses
492 the whole screen. This is not a fully accelerated fullscreen
495 2005-04-25 Michael Koch <konqueror@gmx.de>
497 * java/lang/Runtime.java,
498 java/lang/SecurityManager.java,
499 java/lang/System.java,
500 java/lang/ThreadGroup.java:
501 Replaced java.lang.Runtime.securityManager by
502 java.lang.SecurityManager.current (as used in GNU classpath).
504 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
506 * java/awt/Transparency.java
507 (getTransparency): fixed API docs.
509 2005-04-25 Archie Cobbs <archie@dellroad.org>
511 * java/lang/Throwable.java: simplify initializing cause in constructor
513 2005-04-25 Michael Koch <konqueror@gmx.de>
515 * gnu/classpath/SystemProperties.java: New file.
516 * gnu/classpath/natSystemProperties.cc: New file.
517 * java/lang/Runtime.java
518 (defaultProperties): Removed.
520 (): Made thrown exceptions more verbose.
521 (insertSystemProperties): Removed.
522 * java/lang/System.java
524 (properties): Likewise.
525 (setSecurityManager): Reordered modifiers.
526 (getenv): Improved javadoc.
528 (isWordsBigEndian): Removed.
529 * java/lang/natRuntime.cc
530 (_Jv_SetDLLSearchPath): Likewise.
531 (file_encoding): Likewise.
532 (default_file_encoding): Likewise.
533 (getpwuid_adaptor): Likewise.
534 (insertSystemProperties): Likewise.
535 * java/lang/natSystem.cc
536 (isWordsBigEndian): Likewise.
538 (ordinary_java_source_files):
539 Added gnu/classpath/SystemProperties.java.
540 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
541 * Makefile.in: Regenerated.
543 2005-04-25 Roman Kennke <roman@kennke.org>
545 * javax/swing/plaf/basic/BasicScrollBarUI.java
546 (initDefaults): Initialize thumb*Color fields correctly.
548 2005-04-25 Roman Kennke <roman@kennke.org>
550 * javax/swing/text/GapContent.java:
553 2005-04-25 Roman Kennke <roman@kennke.org>
555 * javax/swing/plaf/metal/MetalBorders.java:
556 Added inner class ScrollPaneBorder.
557 * javax/swing/plaf/metal/MetalLookAndFeel.java
558 (initComponentDefaults): Added default for "ScrollPane.border"
559 to use the new ScrollPaneBorder.
561 2005-04-25 Roman Kennke <roman@kennke.org>
563 * javax/swing/text/AbstractDocument.java:
564 Added FIXME comments. This class still has to be
565 implemented thread-safe.
567 2005-04-25 Roman Kennke <roman@kennke.org>
569 * javax/swing/tree/DefaultTreeSelectionModel.java
570 (DefaultTreeSelectionModel): Initialize listenerList here.
572 2005-04-25 Roman Kennke <roman@kennke.org>
574 * javax/swing/plaf/metal/MetalTextFieldUI.java
575 (createUI): Return one instance per Component instead of a
578 2005-04-25 Roman Kennke <roman@kennke.org>
580 * javax/swing/text/Document.java:
581 Added API documentation comments.
583 2005-04-25 Roman Kennke <roman@kennke.org>
585 * javax/swing/text/AbstractDocument.java
586 (getDocumentProperties): Implemented.
587 (setDocumentProperties): Implemented.
588 (getProperty): Implemented.
589 (putProperty): Implemented.
591 2005-04-25 Roman Kennke <roman@kennke.org>
593 * javax/swing/BoxLayout
594 (preferredLayoutSize): Fixed computation so that it correctly
595 adds the top and bottom insets of the container.
597 2005-04-25 Roman Kennke <roman@kennke.org>
599 * javax/swing/plaf/basic/BasicMenuItemUI.java
600 (paintText): Make use of the 'selectionForeground' UI default
603 2005-04-25 Roman Kennke <roman@kennke.org>
605 * javax/swing/plaf/basic/BasicLookAndFeel.java
606 (initSystemColorDefaults): Modified colors to match the
607 BasicLookAndFeel in the reference implementation.
608 (initComponentDefaults): Likewise.
610 2005-04-25 Tom Tromey <tromey@redhat.com>
612 * include/jni.h (_Jv_va_list): Removed.
613 Moved configuration code...
614 * include/jni_md.h: ... here. New file.
615 * include/Makefile.in: Rebuilt.
616 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
618 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
620 * java/io/FileInputStream.java (FileInputStream(File)),
621 java/io/FileOutputStream.java (FileOutputStream(File)):
622 Removed unnecessary File.isDirectory() check.
624 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
626 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
627 gij if get_multilibs fails.
629 2005-04-22 Anthony Green <green@redhat.com>
631 * jni.cc (natrehash): Don't bother clearing memory again.
632 * interpret.cc (do_allocate_static_fields): Ditto.
633 * java/lang/natString.cc (rehash): Ditto.
635 2005-04-22 Roman Kennke <roman@kennke.org>
637 * javax/swing/plaf/basic/BasicLookAndFeel.java
638 (initComponentDefaults): Changed Button.border to be
639 BasicBorders.getButtonBorder as it should be.
641 2005-04-22 Roman Kennke <roman@kennke.org>
643 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
644 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
645 should according to a mauve testcase, instead of the preferred
648 2005-04-22 Roman Kennke <roman@kennke.org>
650 * javax/swing/JMenu.java
651 (add): add(Component) now calls PopupMenu.insert(..) instead of
652 PopupMenu.add(..). add(..) is not implemented for Component,
653 so JComponent.add(..) is called instead, adding the component
656 2005-04-22 Roman Kennke <roman@kennke.org>
658 * javax/swing/plaf/basic/BasicButtonListener.java
659 (mousePressed): replaced query to getModifiersEx with getModifiers.
660 This method relied on faulty behaviour in getModifierEx.
661 (mouseReleased): replaced query to getModifiersEx with getModifiers.
662 This method relied on faulty behaviour in getModifierEx.
664 2005-04-22 Roman Kennke <roman@kennke.org>
666 * javax/swing/plaf/metal/MetalLookAndFeel.java
667 (getDefaults): Call addCustomEntriesToTable on the theme.
669 2005-04-22 Roman Kennke <roman@kennke.org>
671 * javax/swing/tree/DefaultTreeSelectionModel.java
672 (constructor): Added implementation.
673 (getRowMapper): Added implementation.
674 (setSelectionMode): Added implementation.
675 (getSelectionMode): Added implementation.
676 (getSelectionPath): Added implementation.
677 (getSelectionPaths): Added implementation.
678 (getSelectionCount): Added implementation.
679 (isSelectionEmpty): Added implementation.
680 (getSelectionRows): Added implementation.
681 (getMinSelectionRow): Added implementation.
682 (getMaxSelectionRow): Added implementation.
683 (getLeadSelectionRow): Added implementation.
684 (getLeadSelectionPath): Added implementation.
686 2005-04-22 Casey Marshall <csm@gnu.org>
688 * gnu/java/security/der/DERValue.java
689 (getValueAs): new method.
690 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
691 (<init>): read both dates with 'DERValue.getValueAs', with
692 'GENERALIZED_TIME' as the argument.
694 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
696 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
697 be null, check for that case and don't deference it.
699 2005-04-22 Sven de Marothy <sven@physto.se>
701 * java/util/logging/LogManager.java: Reformatted.
702 (readConfiguration): If a logger for a key is not found, create one.
704 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
706 * java/rmi/Naming.java:
707 Added class documentation.
708 (lookup(String)): Call parseURL and getName.
709 (bind(String,java.rmi.Remote)): Likewise.
710 (unbind(String)): Likewise.
711 (rebind(String, java.rmi.Remote)): Likewise.
712 (list(String)): Call parseURL.
713 (parseURL(String)): New method to handle parsing and defaults.
714 (getName(java.net.URL)): New method to handle finding the service name.
716 2005-04-21 Tom Tromey <tromey@redhat.com>
718 * java/lang/natClass.cc (initializeClass): Link class.
720 2005-04-21 Tom Tromey <tromey@redhat.com>
722 * java/lang/AssertionError.java: Typo fix.
724 2005-04-21 Tom Tromey <tromey@redhat.com>
726 * java/lang/VMClassLoader.java (transformException): Removed.
727 (resolveClass): No longer native. Now does nothing.
728 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
730 2005-04-21 Anthony Green <green@redhat.com>
733 * testsuite/libjava.special/special.exp,
734 testsuite/libjava.special/pr21115I.java,
735 testsuite/libjava.special/pr21115.java,
736 testsuite/libjava.special/pr21115.out: New files.
738 2005-04-21 Chris Burdess <dog@gnu.org>
740 * gnu/java/net/CRLFInputStream.java: Rewrite to return
741 CRLF-delimited chunks.
743 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
746 Added class documentation.
747 (parseURI(String)): Only handle scheme-specific parts
748 if URI is not opaque. Allow for parts that can't be null.
749 (toString()): Output the scheme-specific part whole, rather
750 than as its possibly non-existent components.
752 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
754 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
755 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
756 Adjusted to match new regexp.
758 2005-04-20 Michael Koch <konqueror@gmx.de>
760 * gnu/java/net/protocol/file/Connection.java,
761 gnu/java/net/protocol/jar/Connection.java:
762 Reorganized import statements. Fixed @author tags.
764 2005-04-20 Chris Burdess <dog@gnu.org>
766 * java/io/DataOutputStream.java (writeUTF): Use block write for
769 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
771 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
772 (readLine): Changed newline handling.
774 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
776 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
777 ColorModel,byte[],int,int): Fixed byte to int conversion.
779 2005-04-20 Michael Koch <konqueror@gmx.de>
781 * java/io/FilePermission.java
782 (serialVersionUID): Made private.
783 (ALL_FILES): New constant.
784 (implies): Handle '<<ALL FILES>>' case.
786 2005-04-20 Sven de Marothy <sven@physto.se>
788 * gnu/java/awt/peer/gtk/GdkGraphics.java:
789 (drawImage): Don't notify the image observer for offscreen images.
790 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
791 (setPixels): Don't notify the image observer.
793 2005-04-20 Sven de Marothy <sven@physto.se>
795 * java/nio/ByteBufferImpl.java:
796 (putChar): Inlined for speed.
797 (put, get): Bulk methods can use arraycopy.
798 * java/nio/CharBufferImpl.java:
799 (put, get): Bulk methods can use arraycopy.
801 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
803 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
805 * java/nio/CharBufferImpl.java
806 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
807 (get(), put(char)): Inlined checks and field updates. Fixed to
808 take array_offset into account.
809 (get(int), put(int, char)): Fixed to take array_offset into account.
811 2005-04-20 Sven de Marothy <sven@physto.se>
813 * java/text/SimpleDateFormat.java:
814 (formatWithAttribute): Pad year before truncating digits.
816 2005-04-20 Michael Koch <konqueror@gmx.de>
818 * gnu/java/net/PlainDatagramSocketImpl.java:
819 Merged copyright header.
820 * gnu/java/net/PlainSocketImpl.java:
821 Reorganized import statements. Fixed @author tags.
823 2005-04-20 Michael Koch <konqueror@gmx.de>
825 * gnu/java/lang/ClassHelper.java,
826 gnu/java/lang/reflect/TypeSignature.java:
829 2005-04-20 Michael Koch <konqueror@gmx.de>
831 * gnu/java/beans/IntrospectionIncubator.java:
832 Fixed HTML tags in javadocs.
834 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
836 * gnu/java/beans/IntrospectionIncubator.java
837 (addToPropertyHash, addToListenerHash): Don't confuse get(),
838 set(), is(), add() and remove() with properties or events.
840 2005-04-20 Michael Koch <konqueror@gmx.de>
842 * gnu/java/awt/image/XBMDecoder.java:
843 Fixed modifier order.
845 2005-04-20 Roman Kennke <roman@kennke.org>
847 * javax/swing/plaf/basic/BasicButtonUI.java
848 (paint): This should not care about margin and insets
849 at the same time, as insets already include the margin
851 * javax/swing/plaf/basic/BasicGraphicsUtils.java
852 (getPreferredButtonSize): Likewise.
853 * javax/swing/plaf/metal/MetalBorders.java
854 (getBorderInsets): Likewise.
856 2005-04-20 Roman Kennke <roman@kennke.org>
858 * javax/swing/plaf/basic/BasicOptionPaneUI.java
859 (createMessageArea): The JPanel that holds the message area
860 doesn't need to override getPreferredSize. This prevents some
861 message components from rendering nicely.
863 2005-04-20 Roman Kennke <roman@kennke.org>
865 * javax/swing/plaf/metal/MetalInternalFrameUI.java
866 (createUI): Do not share instances between components.
867 * javax/swing/plaf/metal/MetalSliderUI.java
868 (createUI): Do not share instances between components.
870 2005-04-20 Roman Kennke <roman@kennke.org>
872 * javax/swing/plaf/metal/MetalBorders:
873 (PopupMenuBorder): Added.
874 * javax/swing/plaf/metal/MetalLookAndFeel
875 (initComponentDefaults): Added PopupMenuBorder.
877 2005-04-20 Roman Kennke <roman@kennke.org>
879 * javax/swing/tree/DefaultTreeSelectionModel.java:
880 Added API documentation all over the class.
882 2005-04-20 Roman Kennke <roman@kennke.org>
884 * javax/swing/plaf/basic/BasicScrollPaneUI.java
885 (installDefaults): Link managed JScrollPane in instance field.
886 (uninstallDefaults): Unlink managed JScrollPane in instance field.
888 2005-04-20 Roman Kennke <roman@kennke.org>
890 * javax/swing/plaf/basic/BasicScrollBarUI.java
891 (PropertyChangeHandler.propertyChange): Add default
892 to switch statement to avoid errors with unusual values
894 (installComponents): Likewise.
896 2005-04-20 Roman Kennke <roman@kennke.org>
898 * javax/swing/plaf/metal/MetalScrollBarUI.java:
899 (createUI): Instances cannot be shared among JScrollPanes.
901 2005-04-20 Roman Kennke <roman@kennke.org>
903 * javax/swing/plaf/metal/MetalLookAndFeel.java
904 (initComponentDefaults): Added defaults for Menu, MenuBar
907 2005-04-20 Roman Kennke <roman@kennke.org>
909 * javax/swing/plaf/basic/BasicScrollBarUI.java
910 (installUI): Install listeners after everything all, otherwise
911 we get strange NPEs in some situations, especially with
913 (createIncreaseButton): Orientation is expected to be
914 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
915 HORIZONTAL or VERTICAL.
916 (createDecreaseButton): Orientation is expected to be
917 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
918 HORIZONTAL or VERTICAL.
919 (installComponents): Orientation for buttons is expected to be
920 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
921 HORIZONTAL or VERTICAL.
923 2005-04-20 Roman Kennke <roman@kennke.org>
925 * javax/swing/JToolBar.java
926 (addImpl): Adjust added AbstractButtons to look and feel like
928 * javax/swing/plaf/metal/MetalBorders.java:
929 Adjusted insets of ButtonBorder.
930 (RolloverMarginBorder): Added class for toolbar buttons.
931 (getButtonBorder): Adjusted factory method to return a shared
932 instance of button border.
933 (getToolbarButtonBorder): Added factory method to return a shared
934 instance of toolbar button border.
935 (getMarginBorder): Added factory method to return a shared
936 instance of margin border.
937 * javax/swing/plaf/metal/MetalButtonUI.java
938 (installDefauls): If button is child of a JToolBar then set
939 special border on this button.
941 2005-04-20 Michael Koch <konqueror@gmx.de>
943 * java/net/URLConnection.java
944 (getContent): Fixed javadoc comment.
946 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
949 (toURI()): Implemented.
951 2005-04-19 Michael Koch <konqueror@gmx.de>
953 * java/net/InetAddress.java
954 (InetAddress): Fixed javadoc comment.
956 (lookup): Added javadoc.
957 (getFamily): Likewise.
958 * java/net/ServerSocket.java
959 (getChannel): Improved javadoc comment.
961 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
963 * gnu/xml/dom/html2/DomHTMLParser.java:
964 Changed 'enum' references to become 'enumeration'.
966 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
968 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
970 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
972 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
973 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
974 * gnu/javax/swing/text/html/parser/htmlValidator.java:
975 (validateParameters(TagElement,htmlAttributeSet)):
976 Replaced 'enum' with 'enumeration'.
977 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
980 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
982 * javax/swing/text/html/parser/Entity.java (getType): New method.
983 * javax/swing/text/html/parser/DocumentParser.java:
984 Inherit from javax.swing.text.html.parser.Parser.
986 2005-04-19 Chris Burdess <dog@gnu.org>
988 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
989 check for HTML/XHTML namespace.
991 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
993 * javax/swing/text/html/parser/Parser.java,
994 javax/swing/text/html/parser/Entity.java:
995 Inheriting from DTDConstants.
996 * javax/swing/text/html/parser/AttributeList.java
997 (getValues): Changed return type.
998 * javax/swing/text/html/parser/DocumentParser
999 (parse): Adding the callback parameter that receives
1002 2005-04-19 Chris Burdess <dog@gnu.org>
1004 * gnu/xml/dom/DomImpl.java,
1005 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1006 gnu/xml/dom/html2/DomHTMLDocument.java,
1007 gnu/xml/dom/html2/DomHTMLElement.java,
1008 gnu/xml/dom/html2/DomHTMLFormElement.java,
1009 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1010 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1011 gnu/xml/dom/html2/DomHTMLImpl.java,
1012 gnu/xml/dom/html2/DomHTMLInputElement.java,
1013 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1014 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1015 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1016 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1017 gnu/xml/dom/html2/DomHTMLTableElement.java,
1018 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1019 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1020 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1021 UI events, and tree utility functions.
1023 2005-04-19 Michael Koch <konqueror@gmx.de>
1025 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1026 gnu/javax/swing/text/html/parser/gnuDTD.java,
1027 gnu/javax/swing/text/html/parser/models/node.java:
1028 Reworked import statements.
1030 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1032 * javax/swing/text/html/HTMLDocument.java: New file.
1034 2005-04-19 Michael Koch <konqueror@gmx.de>
1036 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1038 * javax/swing/text/html/parser/AttributeList.java:
1039 Fixed order of modifiers.
1040 (AttributeList): Made final.
1041 * javax/swing/text/html/parser/ContentModel.java:
1042 Fixed html characters in javadocs.
1043 * javax/swing/text/html/parser/DTD.java
1044 (DTD): Don't implement java.io.Serializable directly.
1045 (getElement): Simplified.
1046 * javax/swing/text/html/parser/DTDConstants.java:
1048 * javax/swing/text/html/parser/Element.java:
1049 Fixed order of modifiers.
1050 * javax/swing/text/html/parser/Parser.java:
1051 Reformatted. Don't use fully-qualified class names.
1052 * javax/swing/text/html/parser/ParserDelegator.java:
1053 Fixed order of modifiers.
1054 * javax/swing/text/rtf/RTFParser.java:
1055 Re-ordered import statements.
1056 * javax/swing/text/rtf/RTFScanner.java:
1057 Removed unused import statement.
1059 2005-04-19 Chris Burdess <dog@gnu.org>
1061 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1062 gnu/xml/dom/html2/DomHTMLCollection.java,
1063 gnu/xml/dom/html2/DomHTMLDocument.java,
1064 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1066 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1067 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1068 gnu/xml/dom/html2/DomHTMLDivElement.java,
1069 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1070 gnu/xml/dom/html2/DomHTMLFontElement.java,
1071 gnu/xml/dom/html2/DomHTMLFormElement.java,
1072 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1073 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1074 gnu/xml/dom/html2/DomHTMLHRElement.java,
1075 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1076 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1077 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1078 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1079 gnu/xml/dom/html2/DomHTMLImageElement.java,
1080 gnu/xml/dom/html2/DomHTMLInputElement.java,
1081 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1082 gnu/xml/dom/html2/DomHTMLLIElement.java,
1083 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1084 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1085 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1086 gnu/xml/dom/html2/DomHTMLMapElement.java,
1087 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1088 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1089 gnu/xml/dom/html2/DomHTMLModElement.java,
1090 gnu/xml/dom/html2/DomHTMLOListElement.java,
1091 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1092 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1093 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1094 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1095 gnu/xml/dom/html2/DomHTMLParamElement.java,
1096 gnu/xml/dom/html2/DomHTMLPreElement.java,
1097 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1098 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1099 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1100 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1101 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1102 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1103 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1104 gnu/xml/dom/html2/DomHTMLTableElement.java,
1105 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1106 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1107 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1108 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1109 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1111 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1113 * javax/swing/text/ChangedCharSetException.java,
1114 javax/swing/text/html/HTMLEditorKit.java,
1115 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1116 javax/swing/text/html/parser/AttributeList.java,
1117 javax/swing/text/html/parser/ContentModel.java,
1118 javax/swing/text/html/parser/DocumentParser.java,
1119 javax/swing/text/html/parser/DTD.java,
1120 javax/swing/text/html/parser/DTDConstants.java,
1121 javax/swing/text/html/parser/Element.java,
1122 javax/swing/text/html/parser/Entity.java,
1123 javax/swing/text/html/parser/Parser.java,
1124 javax/swing/text/html/parser/TagElement.java,
1125 gnu/javax/swing/text/html/package.html,
1126 gnu/javax/swing/text/html/parser/gnuDTD.java,
1127 gnu/javax/swing/text/html/parser/HTML_401F.java,
1128 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1129 gnu/javax/swing/text/html/parser/htmlValidator.java,
1130 gnu/javax/swing/text/html/parser/package.html,
1131 gnu/javax/swing/text/html/parser/models/list.java,
1132 gnu/javax/swing/text/html/parser/models/node.java,
1133 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1134 gnu/javax/swing/text/html/parser/models/package.html,
1135 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1136 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1137 gnu/javax/swing/text/html/parser/models/transformer.java,
1138 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1139 gnu/javax/swing/text/html/parser/support/package.html,
1140 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1141 gnu/javax/swing/text/html/parser/support/Parser.java,
1142 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1143 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1144 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1145 gnu/javax/swing/text/html/parser/support/low/Location.java,
1146 gnu/javax/swing/text/html/parser/support/low/node.java,
1147 gnu/javax/swing/text/html/parser/support/low/package.html,
1148 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1149 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1150 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1151 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1153 * javax/swing/text/html/HTML.java,
1154 javax/swing/text/html/parser/ParserDelegator.java:
1155 New files (replacing).
1156 * javax/swing/text/html/package.html,
1157 javax/swing/text/html/parser/package.html: Documenting the
1160 2005-04-19 Chris Burdess <dog@gnu.org>
1162 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1163 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1164 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1165 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1166 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1167 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1168 gnu/xml/dom/html2/DomHTMLBRElement.java,
1169 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1170 gnu/xml/dom/html2/DomHTMLCollection.java,
1171 gnu/xml/dom/html2/DomHTMLDocument.java,
1172 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1174 2005-04-19 Michael Koch <konqueror@gmx.de>
1176 * Makefile.am: Added new files.
1177 * Makefile.in: Regenerated.
1179 2005-04-19 Roman Kennke <roman@kennke.org>
1181 * javax/swing/text/JTextComponent.java
1182 (JTextComponent): Added repaintListener which issues repaint
1183 requests when the underlying document changes.
1184 (setDocument): Adds repaintListener to document when the
1185 document is changed.
1186 * javax/swing/text/DefaultEditorKit.java:
1187 Removed repaint calls on JTextComponent. This is now handled
1188 through a DocumentListener in JTextComponent that repaints
1189 the component when needed.
1191 2005-04-19 Roman Kennke <roman@kennke.org>
1194 * javax/swing/text/StyleContext.java
1195 (NamedStyle.setResolveParent): Added null
1198 2005-04-19 Michael Koch <konqueror@gmx.de>
1200 * java/rmi/server/RemoteObject.java:
1201 Removed unused import statement.
1203 2005-04-19 Michael Koch <konqueror@gmx.de>
1205 * java/net/URL.java: Formatting cleanups.
1207 2005-04-19 Michael Koch <konqueror@gmx.de>
1209 * java/awt/FontMetrics.java: Reformatted.
1210 (getFontRenderContext): Handle case when java.awt.Graphics context is
1213 2005-04-19 Michael Koch <konqueror@gmx.de>
1215 * java/awt/FontMetrics.java
1216 (getStringBounds): New methods.
1219 2005-04-19 Michael Koch <konqueror@gmx.de>
1221 * gnu/java/security/x509/X509Certificate.java
1222 (parse): Handle val == null case.
1224 2005-04-19 Roman Kennke <roman@kennke.org>
1226 * javax/swing/plaf/metal/MetalLookAndFeel.java
1227 (initComponentDefaults): Added defaults for Menu, MenuBar
1230 2005-04-19 Roman Kennke <roman@kennke.org>
1232 * javax/swing/plaf/metal/MetalLookAndFeel.java
1233 (initComponentDefaults): Added Label.font.
1234 (initSystemColorDefaults): Added this method and adjusted the
1235 general control color.
1237 2005-04-19 Roman Kennke <roman@kennke.org>
1239 * javax/swing/plaf/metal/MetalBorders.java:
1241 * javax/swing/plaf/metal/MetalButtonUI.java:
1242 (installDefaults): Install button font.
1243 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1244 (initComponentDefaults): Added button border, font and margin.
1245 Changed components background color to the Metal current themes
1248 2005-04-19 Roman Kennke <roman@kennke.org>
1250 * javax/swing/plaf/metal/MetalLookAndFeel.java
1251 (initComponentDefaults): Added to set Metal specific component
1254 2005-04-19 Mark Wielaard <mark@klomp.org>
1256 * javax/swing/plaf/metal/MetalLookAndFeel.java
1257 (initClassDefaults): Call super.initClassDefaults().
1259 2005-04-19 Roman Kennke <roman@kennke.org>
1261 * javax/swing/plaf/metal/MetalLookAndFeel.java
1262 (initClassDefaults): Added to include the *UI classes.
1264 2005-04-19 Roman Kennke <roman@kennke.org>
1266 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1268 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1270 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1272 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1274 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1276 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1278 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1280 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1282 * javax/swing/plaf/metal/MetalSliderUI.java:
1284 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1286 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1288 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1290 2005-04-19 Roman Kennke <roman@kennke.org>
1292 * javax/swing/plaf/metal/MetalButtonUI.java:
1293 Added skeleton class.
1294 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1295 Added skeleton class.
1296 * javax/swing/plaf/metal/MetalLabelUI.java:
1297 Added skeleton class.
1298 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1299 Added skeleton class.
1300 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1301 Added skeleton class.
1302 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1303 Added skeleton class.
1305 2005-04-19 Roman Kennke <roman@kennke.org>
1307 * javax/swing/UIDefaults.java:
1308 Added API documentation for all methods.
1310 2005-04-19 Roman Kennke <roman@kennke.org>
1312 * javax/swing/UIDefaults.java
1313 (put): Now uses new checkAndPut method instead of checking
1315 (putDefaults): Fixed so that it accepts null-values and
1316 treats them like remove(key).
1317 (checkAndPut): Added. This checks for null-values and calls
1320 2005-04-19 Michael Koch <konqueror@gmx.de>
1322 * Makefile.am: Added new files.
1323 * Makefile.in: Regenerated.
1325 2005-04-19 Mark Wielaard <mark@klomp.org>
1327 * java/lang/natRuntime.cc (insertSystemProperties): Set
1328 java.class.path to CLASSPATH only when not empty. Fall back to
1329 default path "." when java.class.path is empty.
1331 2005-04-19 Michael Koch <konqueror@gmx.de>
1333 * javax/swing/text/rtf/ControlWordToken.java,
1334 javax/swing/text/rtf/RTFEditorKit.java,
1335 javax/swing/text/rtf/RTFParseException.java,
1336 javax/swing/text/rtf/RTFParser.java,
1337 javax/swing/text/rtf/RTFScanner.java,
1338 javax/swing/text/rtf/TextToken.java,
1339 javax/swing/text/rtf/Token.java: New files.
1340 * Makefile.am: Added new files.
1341 * Makefile.in: Regenerated.
1343 2005-04-19 Michael Koch <konqueror@gmx.de>
1345 * java/awt/geom/QuadCurve2D.java:
1346 Fixed Brian Gough's name for real.
1348 2005-04-19 Roman Kennke <roman@kennke.org>
1350 * javax/swing/UIManager.java:
1351 Make the UIManager respect the swing.defaultlaf system
1354 2005-04-19 Tom Tromey <tromey@redhat.com>
1356 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1359 2005-04-19 Roman Kennke <roman@kennke.org>
1361 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1362 Fixed tabs to spaces.
1364 2005-04-19 Roman Kennke <roman@kennke.org>
1366 * javax/swing/plaf/basic/BasicMenuUI.java
1367 (getMaximumSize): Now returns preferredSize because JMenu should
1368 never be bigger than that.
1369 * javax/swing/JRootPane
1370 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1372 2005-04-19 Roman Kennke <roman@kennke.org>
1374 * javax/swing/JRootPane.java:
1375 Fixed various tabs to be spaces.
1376 (RootLayout.layoutContainer): Made menubar left aligned.
1378 2005-04-19 Roman Kennke <roman@ontographics.com>
1380 * javax/swing/JList.java
1381 (getPreferredScrollableViewportSize):
1382 The previous implementation was merely guessing the size,
1383 now it respects layoutOrientation, visibleRowCount
1385 (getScrollableTracksViewportHeight):
1386 Reimplemented so that layoutOrientation, visibleRowCount
1387 and preferred size are respected.
1388 (getScrollableTracksViewportWidth):
1389 Reimplemented so that layoutOrientation, visibleRowCount
1390 and preferred size are respected.
1391 * javax/swing/plaf/basic/BasicListUI.java
1393 Improved calculation of preferredSize when JList is
1394 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1396 The previous implementation assumed a layoutOrientation of
1397 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1398 JList.VERTICAL_WRAP.
1400 2005-04-19 Roman Kennke <roman@ontographics.com>
1402 * javax/swing/plaf/basic/BasicListUI.java
1403 (paintCell): use CellRendererPane for painting the cells.
1405 2005-04-19 Roman Kennke <roman@ontographics.com>
1407 * javax/swing/plaf/basic/BasicListUI:
1408 fixed modifiers of several fields, methods and inner
1409 classes to match the 'spec'.
1410 (getMaximumSize): removed. It's not in the spec and the
1411 implementations was superfluous.
1413 2005-04-19 Roman Kennke <roman@ontographics.com>
1415 * javax/swing/plaf/basic/BasicListUI:
1416 make BasicListUI capable of wrapping lists
1417 (layoutOrientation property of javax.swing.JList)
1419 2005-04-19 Roman Kennke <roman@ontographics.com>
1421 * javax/swing/plaf/basic/BasicListUI
1422 (updateLayoutState,paint): make BasicListUI aware of the
1423 width of the rendered JList.
1425 2005-04-19 Roman Kennke <roman@kennke.org>
1427 * javax/swing/ImageIcon.java
1428 Added API documentation.
1430 2005-04-19 Roman Kennke <roman@kennke.org>
1432 * javax/swing/text/ImageIcon.java
1433 (ImageIcon): Use setImage instead of direct assignment.
1434 (setImage): Call loadImage to make sure that the image is loaded.
1435 (loadImage): Waits for the image to complete loading.
1436 (getImageLoadStatus): Added. Returns the load status of the
1439 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1441 * javax/swing/JTextArea.java (replaceRange):
1442 Fixing doc.remove(start, length) misinterpretation.
1444 2005-04-19 Roman Kennke <roman@ontographics.com>
1446 * javax/swing/CellRendererPane.java:
1447 implemented all methods of this class.
1448 reformatted all wrong formatted code.
1450 2005-04-19 Roman Kennke <roman@kennke.org>
1452 * javax/swing/BoxLayout.java:
1453 (layoutContainer): Made this layout manager respect the
1454 minimum, maximum and preferred size more correctly.
1456 2005-04-19 Roman Kennke <roman@ontographics.com>
1458 * javax/swing/BoxLayout.java:
1459 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
1460 layoutContainer): Make these methods and thereby the
1461 BoxLayout respect the insets (like borders) of the
1462 component that is laid out.
1464 2005-04-19 Roman Kennke <roman@kennke.org>
1466 * javax/swing/JComponent.java:
1467 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
1468 Untabified the file.
1470 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1472 * javax/swing/JComboBox.java (constructors): selecting the
1473 first item if the box was constructed from the provided
1474 non - empty array or vector.
1476 2005-04-19 Michael Koch <konqueror@gmx.de>
1478 * gnu/java/awt/peer/gtk/GdkGraphics.java
1479 (getClipBounds): Handle clip being null.
1480 (setClip): Likewise.
1481 * java/beans/beancontext/BeanContextSupport.java
1485 (removeAll): Likewise.
1486 (retainAll): Likewise.
1488 2005-04-19 Michael Koch <konqueror@gmx.de>
1490 * java/beans/beancontext/BeanContextServicesSupport.java
1491 (BeanContextServicesSupport): Reimplemented.
1492 (addBeanContextServicesListener): Implemented.
1493 (initialize): Likewise.
1494 (removeBeanContextServicesListener): Likewise.
1495 * java/beans/beancontext/BeanContextSupport.java
1497 (addBeanContextMembershipListener): Likewise.
1498 (getLocale): Likewise.
1499 (initialize): Likewise.
1500 (iterator): Likewise.
1502 (toArray): Likewise.
1504 2005-04-19 Roman Kennke <roman@kennke.org>
1506 * java/awt/MediaTracker.java:
1507 Reindented tabs to spaces.
1509 2005-04-19 Roman Kennke <roman@kennke.org>
1511 * java/awt/MediaTracker.java
1512 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
1513 confused the media tracker and lead to lockups. The LOADING
1514 bit is handled on other places.
1515 (addImage): Removed the 'start image tracking' stuff. This
1516 is not necessary and could confuse the media tracker.
1517 (checkAll): Improved the check for image status so that
1518 images that already complete images are detected. Also now
1519 are really all images checked and if necessary loaded. Before
1520 the method bailed out after the first incomplete image.
1521 (statusAll): Detect images that are complete after the
1522 call to Component.prepareImage(..).
1523 (checkID): The same as in checkAll.
1524 (statusID): The same as in statusAll.
1526 2005-04-19 Roman Kennke <roman@kennke.org>
1528 * java/awt/MediaTracker.java
1529 (addImage): Synchronized list access.
1530 (waitForAll): Fixed comparison of time (changed < to >).
1531 (waitForID): Fixed comparison of time (changed < to >).
1532 (removeImage): Synchronized list access.
1534 2005-04-19 Roman Kennke <roman@kennke.org>
1536 * java/awt/MediaTracker.java
1537 Added API documentation.
1539 2005-04-19 Roman Kennke <roman@kennke.org>
1541 * java/awt/MediaTracker.java
1542 (MediaEntry.imageUpdate): Fixed flags. The different flags
1543 must not be ORed together.
1544 (checkAll): Modified to handle different meaning of the flags.
1545 (waitForAll): Fixed so that it waits maximum the
1546 specified amount of milliseconds.
1547 (statusAll): Modified to handle different meaning of the flags.
1548 (waitForID): Fixed so that it waits maximum the
1549 specified amount of milliseconds.
1551 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
1553 * java/awt/Font.java (decode): Handle null argument and allow
1556 2005-04-19 Robert Schuster <thebohemian@gmx.net>
1558 * java/beans/EventHandler.java: Reworked documentation.
1559 (invoke): Fixed behavior to match spec.
1561 2005-04-19 Michael Koch <konqueror@gmx.de>
1563 * java/awt/print/PrinterJob.java
1564 (pageDialog): New method.
1565 (printDialog): Implemented.
1567 2005-04-19 Michael Koch <konqueror@gmx.de>
1569 * java/awt/image/ConvolveOp.java:
1570 Removed comment added by eclipse.
1572 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
1574 * java/awt/image/IndexColorModel.java
1575 (getRGB): Check if pixel is negative.
1577 2005-04-19 Michael Koch <konqueror@gmx.de>
1579 * java/awt/image/RasterOp.java:
1580 Fixed wrong formatting.
1582 2005-04-18 Roman Kennke <roman@kennke.org>
1584 * java/awt/Compmonent.java
1585 (setComponentOrientation): Made this property firing a
1586 PropertyChangeEvent.
1588 2005-04-18 Roman Kennke <roman@kennke.org>
1590 * java/awt/BorderLayout.java
1591 (calcSize): Check for overflow when component sizes are added.
1593 2005-04-18 Robert Schuster <thebohemian@gmx.net>
1595 * java/awt/AWTEvent.java (toString): Added case
1596 for source not being an AWT component.
1598 2005-04-18 Chris Burdess <dog@gnu.org>
1600 * gnu/java/net/BASE64.java: Truncate encoded byte array.
1602 2005-04-18 Michael Koch <konqueror@gmx.de>
1604 gnu/java/awt/EmbeddedWindowSupport.java,
1605 gnu/java/net/HeaderFieldHelper.java,
1606 gnu/java/net/URLParseError.java,
1607 gnu/java/net/protocol/file/Handler.java,
1608 gnu/java/net/protocol/jar/Handler.java:
1609 Fixed usage of @author tag.
1611 2005-04-18 Michael Koch <konqueror@gmx.de>
1613 * gnu/xml/aelfred2/XmlParser.java:
1614 Reverted my typo fix.
1616 2005-04-18 Michael Koch <konqueror@gmx.de>
1618 * java/awt/geom/CubicCurve2D.java,
1619 java/awt/geom/QuadCurve2D.java:
1620 Fixed mentioning of Brian Gouph.
1622 2005-04-18 Michael Koch <konqueror@gmx.de>
1624 * gnu/java/awt/Buffers.java,
1625 gnu/java/awt/image/ImageDecoder.java,
1626 gnu/java/awt/image/XBMDecoder.java,
1627 gnu/java/awt/peer/ClasspathFontPeer.java,
1628 gnu/java/net/CRLFInputStream.java,
1629 gnu/java/net/EmptyX509TrustManager.java,
1630 gnu/java/net/LineInputStream.java,
1631 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
1632 gnu/java/net/protocol/ftp/BlockInputStream.java,
1633 gnu/java/net/protocol/ftp/CompressedInputStream.java,
1634 gnu/java/net/protocol/ftp/DTP.java,
1635 gnu/java/net/protocol/ftp/DTPInputStream.java,
1636 gnu/java/net/protocol/ftp/FTPConnection.java,
1637 gnu/java/net/protocol/ftp/FTPURLConnection.java,
1638 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
1639 gnu/java/net/protocol/ftp/StreamInputStream.java,
1640 gnu/java/net/protocol/http/ChunkedInputStream.java,
1641 gnu/java/net/protocol/http/HTTPConnection.java,
1642 gnu/java/net/protocol/http/HTTPURLConnection.java,
1643 gnu/java/net/protocol/http/Headers.java,
1644 gnu/java/net/protocol/http/Request.java,
1645 gnu/java/nio/ChannelInputStream.java,
1646 gnu/java/nio/ChannelOutputStream.java,
1647 gnu/java/nio/InputStreamChannel.java,
1648 gnu/java/nio/OutputStreamChannel.java,
1649 gnu/java/nio/SelectorProviderImpl.java,
1650 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
1651 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
1652 gnu/java/rmi/dgc/DGCImpl.java,
1653 gnu/java/rmi/registry/RegistryImpl.java,
1654 gnu/java/rmi/server/ProtocolConstants.java,
1655 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
1656 gnu/java/rmi/server/RMIIncomingThread.java,
1657 gnu/java/rmi/server/RMIObjectInputStream.java,
1658 gnu/java/rmi/server/RMIObjectOutputStream.java,
1659 gnu/java/rmi/server/RMIVoidValue.java,
1660 gnu/java/rmi/server/UnicastConnectionManager.java,
1661 gnu/java/rmi/server/UnicastRef.java,
1662 gnu/java/rmi/server/UnicastRemoteCall.java,
1663 gnu/java/rmi/server/UnicastRemoteStub.java,
1664 gnu/java/rmi/server/UnicastServerRef.java,
1665 gnu/java/security/OID.java,
1666 gnu/java/security/der/DERReader.java,
1667 gnu/java/security/provider/CollectionCertStoreImpl.java,
1668 gnu/java/security/provider/DSAParameterGenerator.java,
1669 gnu/java/security/provider/DefaultPolicy.java,
1670 gnu/java/security/provider/EncodedKeyFactory.java,
1671 gnu/java/security/provider/GnuDHPublicKey.java,
1672 gnu/java/security/provider/GnuDSAPrivateKey.java,
1673 gnu/java/security/provider/GnuDSAPublicKey.java,
1674 gnu/java/security/provider/GnuRSAPrivateKey.java,
1675 gnu/java/security/provider/GnuRSAPublicKey.java,
1676 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
1677 gnu/java/security/provider/RSA.java,
1678 gnu/java/security/provider/SHA1PRNG.java,
1679 gnu/java/security/provider/SHA1withRSA.java,
1680 gnu/java/security/provider/X509CertificateFactory.java,
1681 gnu/java/security/x509/GnuPKIExtension.java,
1682 gnu/java/security/x509/X500DistinguishedName.java,
1683 gnu/java/security/x509/X509CRL.java,
1684 gnu/java/security/x509/X509CRLEntry.java,
1685 gnu/java/security/x509/X509CertPath.java,
1686 gnu/java/security/x509/X509CertSelectorImpl.java,
1687 gnu/java/security/x509/X509Certificate.java,
1688 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
1689 gnu/java/security/x509/ext/BasicConstraints.java,
1690 gnu/java/security/x509/ext/CRLNumber.java,
1691 gnu/java/security/x509/ext/CertificatePolicies.java,
1692 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
1693 gnu/java/security/x509/ext/Extension.java,
1694 gnu/java/security/x509/ext/GeneralNames.java,
1695 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
1696 gnu/java/security/x509/ext/KeyUsage.java,
1697 gnu/java/security/x509/ext/PolicyConstraint.java,
1698 gnu/java/security/x509/ext/PolicyMappings.java,
1699 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
1700 gnu/java/security/x509/ext/ReasonCode.java,
1701 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
1702 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
1703 Reorganized import statements.
1705 2005-04-18 Michael Koch <konqueror@gmx.de>
1707 * gnu/java/awt/color/CieXyzConverter.java,
1708 gnu/java/awt/color/ClutProfileConverter.java,
1709 gnu/java/awt/color/ColorLookUpTable.java,
1710 gnu/java/awt/color/ColorSpaceConverter.java,
1711 gnu/java/awt/color/GrayProfileConverter.java,
1712 gnu/java/awt/color/GrayScaleConverter.java,
1713 gnu/java/awt/color/LinearRGBConverter.java,
1714 gnu/java/awt/color/ProfileHeader.java,
1715 gnu/java/awt/color/PyccConverter.java,
1716 gnu/java/awt/color/RgbProfileConverter.java,
1717 gnu/java/awt/color/SrgbConverter.java,
1718 gnu/java/awt/color/TagEntry.java,
1719 gnu/java/awt/color/ToneReproductionCurve.java:
1720 Standardized file headers.
1722 2005-04-16 Tom Tromey <tromey@redhat.com>
1724 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
1725 'ANY' package-private.
1727 2005-04-15 Tom Tromey <tromey@redhat.com>
1729 * Makefile.in: Rebuilt.
1730 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
1731 (libgcj0_convenience_la_LIBADD): ... here.
1733 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
1735 * gij.cc (version): Properly quote java version.
1736 (main): Fix typo in comment.
1738 2005-04-13 Mark Wielaard <mark@klomp.org>
1740 * java/lang/natRuntime.cc (insertSystemProperties): Set
1741 java.class.path to CLASSPATH if not already set.
1743 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
1745 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
1747 2005-04-12 Mike Stump <mrs@apple.com>
1749 * configure: Regenerate.
1751 2005-04-12 Aaron Luchko <aluchko@redhat.com>
1754 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
1755 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
1757 2005-04-12 Aaron Luchko <aluchko@redhat.com>
1760 * scripts/TexinfoDoclet.java: Removed.
1761 * Makefile.am (texinfo): Removed.
1762 * Makefile.in: Regenerated.
1764 2005-04-11 Michael Koch <konqueror@gmx.de>
1766 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
1767 Fixed wrong casting.
1769 2005-04-06 Andrew Haley <aph@redhat.com>
1771 * testsuite/libjava.lang/bytearray.java: New file.
1772 * testsuite/libjava.lang/bytearray.out: New file.
1773 * java/lang/ClassLoader.java (loadClassFromSig): Declare
1774 (loadClass): Use it.
1775 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
1777 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
1779 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
1780 gcj-dbtool dependency
1781 * Makefile.in: Regenerated
1783 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
1785 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
1786 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
1788 2005-04-05 Andrew Haley <aph@redhat.com>
1790 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
1791 (Tokenizer): New class.
1792 (getFiles): New method.
1793 (main): Add "-" argument.
1795 Read list of files from stdin when merging map databases.
1796 (usage): Add "-" argument.
1800 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
1803 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
1804 * Makefile.in: Regenerate.
1805 * configure.ac: Add --with-java-home option.
1806 * configure: Regenerate.
1807 * external/Makefile.in: Regenerate.
1808 * external/sax/Makefile.in: Regenerate.
1809 * external/w3c_dom/Makefile.in: Regenerate.
1810 * gcj/Makefile.in: Regenerate.
1811 * include/Makefile.in: Regenerate.
1812 * testsuite/Makefile.in: Regenerate.
1813 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
1816 2005-04-05 Tom Tromey <tromey@redhat.com>
1818 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
1819 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
1820 Rewrote to use _Jv_FindClassFromSignature.
1821 * verify.cc (resolve): throw NoClassDefFoundError.
1822 * link.cc (resolve_field): Throw NoClassDefFoundError.
1823 (find_field): Likewise.
1824 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
1825 Handle error cases. Added 'endp' argument.
1826 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
1828 2005-04-05 Tom Tromey <tromey@redhat.com>
1830 * Makefile.in: Rebuilt.
1831 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
1832 gtk_awt_peer_sources.
1833 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
1834 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
1835 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
1836 (gtk-awt-peer.lo): New target.
1838 2005-04-04 Steve Pribyl <steve@netfuel.com>
1841 * configure.ac: Fix fastjar definition for cross builds.
1842 * configure: Rebuilt.
1844 2005-04-04 Tom Tromey <tromey@redhat.com>
1846 * java/lang/ClassLoader.java (loadClass): Resolve class even if
1847 it was already found.
1849 2005-04-04 Tom Tromey <tromey@redhat.com>
1851 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
1852 org.metastatic.jessie.
1854 2005-04-02 Anthony Green <green@redhat.com>
1857 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
1859 2005-04-02 Mark Wielaard <mark@klomp.org>
1861 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
1862 Attributes and attribute order doesn't matter.
1863 (BasicAttributesEnumeration.where): Initialize to zero.
1864 (BasicAttributesEnumeration.nextElement): Update and compare where
1865 appropriately (zero based).
1867 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1869 PR libgcj/20090, PR libgcj/20526
1870 * gij.cc (nonstandard_opts_help): New function.
1871 (add_option): New function.
1872 (main): Support java options. Set java.class.path. Don't set
1874 * prims.cc (parse_x_arg): New function.
1875 (parse_init_args): Call parse_x_arg for -X and _ options, when
1876 ignoreUnrecognized is true.
1877 (new _Jv_RunMain): New vm_args variant.
1878 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
1879 (_Jv_Jar_Class_Path): Remove variable.
1880 * include/java-props.h: Likewise.
1881 * include/cni.h (JvRealloc): New function.
1882 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
1883 * java/lang/natRuntime.cc (insertSystemProperties): Remove
1884 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
1886 * configure.ac (JV_VERSION): Define.
1887 (JV_API_VERSION): Likewise.
1888 * configure: Regenerate.
1889 * include/config.h.in: Regenerate.
1891 2005-04-01 Mark Anderson <mark@panonet.net>
1893 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
1894 -Infinity as parameters.
1896 2005-04-01 Michael Koch <konqueror@gmx.de>
1898 * java/io/PipedInputStream.java
1899 (read): Make sure a positive byte value is returned. Revised javadoc.
1900 Thanks to Olafur Bragason for reporting these bugs.
1902 2005-04-01 Tom Tromey <tromey@redhat.com>
1904 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
1905 Updated for name change.
1906 (nativeFindClass): New method.
1907 (loadClass): Use nativeFindClass.
1908 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
1910 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
1911 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
1913 (initialize): New method.
1914 (nativeFindClass): Declare.
1915 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
1916 * gnu/gcj/runtime/VMClassLoader.java: Removed.
1917 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
1919 (definePackageForNative): Removed.
1920 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
1921 Moved to VMClassLoader.java.
1922 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
1923 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
1924 (ordinary_java_source_files): Added ExtensionClassLoader.java,
1925 removed VMClassLoader.java.
1926 (nat_source_files): Removed natVMClassLoader.cc.
1928 2005-04-01 Tom Tromey <tromey@redhat.com>
1930 * Makefile.in: Rebuilt.
1931 * Makefile.am (db_pathtail): Use $(gcc_version), not
1934 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
1936 * java/util/Timer.java
1937 (run): Stop the queue if a task throws an exception.
1939 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1941 * javax/swing/text/JTextComponent.java (viewToModel): New method.
1943 2005-03-29 Ian Lance Taylor <ian@airs.com>
1945 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
1946 * external/sax/Makefile.in: Rebuild.
1947 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
1949 * external/w3c_dom/Makefile.in: Rebuild.
1951 2005-03-29 Tom Tromey <tromey@redhat.com>
1953 * java/lang/natRuntime.cc (insertSystemProperties): Set
1954 gnu.gcj.runtime.endorsed.dirs.
1955 * Makefile.in: Rebuilt.
1956 * Makefile.am (ordinary_java_source_files): Added
1957 HelperClassLoader.java.
1958 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
1959 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
1961 (init): Use addDirectoriesFromProperty.
1962 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
1963 HelperClassLoader. Use addDirectoriesFromProperty. Handle
1964 gnu.gcj.runtime.endorsed.dirs.
1965 * gnu/gcj/runtime/HelperClassLoader.java: New file.
1967 2005-03-26 Chris Burdess <dog@gnu.org>
1969 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
1972 2005-03-13 Michael Koch <konqueror@gmx.de>
1974 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
1976 2005-03-11 Chris Burdess <dog@gnu.org>
1978 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
1981 2005-02-27 Chris Burdess <dog@gnu.org>
1983 * gnu/xml/aelfred2/JAXPFactory.java,
1984 gnu/xml/aelfred2/SAXDriver.java,
1985 gnu/xml/aelfred2/XmlParser.java,
1986 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
1987 formatting conventions. Replaced arrays of Object with struct-like
1988 classes for easier maintainability. Made SAXDriver.stringInterning
1989 package private to allow access from XmlParser inside the loop without
1990 a method call overhead.
1992 2005-03-11 Chris Burdess <dog@gnu.org>
1994 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
1997 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
1999 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2000 settings to sub Makefiles.
2001 (GCJH, ZIP): Prefix with top_builddir.
2002 * configure: Rebuild.
2003 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2004 * external/w3c_dom/Makefile.in: Rebuild.
2005 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2006 * external/sax/Makefile.in: Rebuild.
2008 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2010 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2011 libsocket to the libraries to link for Solaris.
2013 2005-03-28 Per Bothner <per@bothner.com>
2015 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2016 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2018 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2020 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2021 to fix a ONESTEP fallout.
2022 * Makefile.in: Regenerate.
2024 2005-03-25 Mike Stump <mrs@apple.com>
2026 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2027 paths like we do for the compiler, as we use it in external/sax
2028 and it doesn't get MULTIBUILDTOP right when multilibing.
2030 2005-03-24 Anthony Green <green@redhat.com>
2032 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2034 (usage): Add [LIBDIR] to help output.
2035 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2036 * Makefile.am (AM_CXXFLAGS): Define
2037 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2038 (db_pathtail): New macro.
2040 2005-03-24 Tom Tromey <tromey@redhat.com>
2042 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2043 add sax and w3c libraries.
2044 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2046 * external/w3c_dom/Makefile.in: Rebuilt.
2047 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2049 (libw3c_gcj_la_LDFLAGS): New variable.
2050 (noinst_LTLIBRARIES): Renamed.
2051 * external/sax/Makefile.in: Rebuilt.
2052 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2054 (libsax_gcj_la_LDFLAGS): New variable.
2055 (noinst_LTLIBRARIES): Renamed.
2057 2005-03-23 Tom Tromey <tromey@redhat.com>
2059 * Makefile.in: Rebuilt.
2060 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2061 (libgcj0_convenience_la_SOURCES): Don't include
2062 gnu_xml_source_files.
2063 (libgcj0_convenience_la_LIBADD): New variable.
2064 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2065 (all_java_source_files): javax_imageio_source_files,
2066 javax_xml_source_files, and gnu_java_beans_source_files.
2067 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2068 (gnu-xml.lo): New target.
2069 (javax-imageio.lo): Likewise.
2070 (javax-xml.lo): Likewise.
2071 (gnu-java-beans.lo): Likewise.
2072 (gnu_java_beans_source_files): New variable.
2073 (javax_imageio_source_files): Likewise.
2074 (javax_xml_source_files): Likewise.
2075 (javax_source_files): Moved files to other variable.
2076 (awt_java_source_files): Likewise.
2077 (ordinary_java_source_files): Added BootClassLoader.java.
2078 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2079 not system class loader.
2080 (initBootLoader): New method.
2081 (loadClass): Search bootLoader.
2082 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2083 boot loader, not system class loader.
2084 (_Jv_UnregisterInitiatingLoader): Likewise.
2085 (_Jv_FindClass): Likewise. Ensure entries in
2086 bootstrap_class_list are unique.
2087 * java/lang/natClass.cc (getClassLoader): Don't special case
2088 system class loader.
2089 * java/lang/VMClassLoader.java (bootLoader): New field.
2090 (getResource): Use bootLoader.
2091 (getResources): Likewise.
2092 (initBootLoader): Declare.
2093 * gnu/gcj/runtime/BootClassLoader.java: New file.
2094 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2095 (EMPTY_ENUMERATION): Now package-private.
2096 * external/w3c_com/Makefile.in: Rebuilt.
2097 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2098 (w3c.jar): New target.
2099 (classes.stamp): Updated.
2100 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2101 Changed name of library.
2102 (libw3c_gcj_la_SOURCES): New variable.
2103 (libw3c_gcj_la_GCJFLAGS): Likewise.
2104 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2105 * external/sax/Makefile.in: Rebuilt.
2106 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2107 (sax.jar): New target.
2108 (classes.stamp): Updated.
2109 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2110 Changed name of library.
2111 (libsax_gcj_la_SOURCES): New variable.
2112 (libsax_gcj_la_GCJFLAGS): Likewise.
2113 (source_files): Renamed from libsax_convenience_la_SOURCES.
2114 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2116 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2118 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2120 2005-03-23 Sven de Marothy <sven@physto.se>
2122 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2124 * java/util/Calendar.java
2125 (set): Use starting day of week when one is needed if none is given.
2126 * java/text/SimpleDateFormat.java
2127 (parse): Handle 1-12 and 1-24 timestamps correctly.
2128 * java/util/GregorianCalendar.java
2129 (computeTime, computeFields): HOUR should be in 0-11 format.
2130 (nonLeniencyCheck): Adjust leniency checking to that fact.
2131 (getLinearDay): Should be private.
2133 2005-03-23 Tom Tromey <tromey@redhat.com>
2135 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2136 (_Jv_CheckABIVersion): Use it.
2138 2005-03-22 Mike Stump <mrs@apple.com>
2140 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2142 * include/posix.h: .dylib is used on all Apple MACH platforms.
2143 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2145 2005-03-22 Tom Tromey <tromey@redhat.com>
2147 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2149 2005-03-21 Tom Tromey <tromey@redhat.com>
2151 * java/lang/VMCompiler.java (static block): Also catch
2152 BufferUnderflowException.
2154 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2156 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2157 set tool_include_dir. In all substitutions, leave $(gcc_version)
2158 to be expanded by the Makefile.
2159 * aclocal.m4, configure: Regenerate.
2160 * Makefile.am: Set gcc_version. Replace all uses of
2161 @gcc_version@ with $(gcc_version).
2162 * external/Makefile.am, external/sax/Makefile.am
2163 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2164 * testsuite/Makefile.am: Set gcc_version.
2165 * include/Makefile.am: Set gcc_version and tool_include_dir.
2166 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2167 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2168 * testsuite/Makefile.in: Regenerate.
2170 2005-03-17 Andrew Haley <aph@redhat.com>
2172 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2174 Pass klass to _Jv_StackTrace::GetClassContext().
2175 * java/lang/ClassLoader.java (getParent): Pass class to
2176 VMSecurityManager.getClassContext()
2177 (getSystemClassLoader): Likewise.
2178 * java/lang/Package.java (getPackage): Likewise.
2179 (getPackages): Likewise.
2180 * java/lang/SecurityManager.java (getClassContext): Likewise.
2181 (currentClassLoader): Likewise.
2182 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2183 (currentClassLoader) Add new arg: caller.
2184 Pass caller to VMSecurityManager.getClassContext.
2186 * stacktrace.cc (GetClassContext): Correct calculation of
2189 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2190 im->source_file_name.
2192 2005-03-16 Andrew Haley <aph@redhat.com>
2194 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2196 2005-03-16 Tom Tromey <tromey@redhat.com>
2198 * link.cc (ensure_class_linked): Removed #ifdef.
2199 (print_class_loaded): Likewise.
2200 (wait_for_state): Likewise.
2201 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2202 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2203 * include/java-interp.h: ... here.
2205 2005-03-16 Tom Tromey <tromey@redhat.com>
2207 * gnu/java/lang/MainThread.java (run): Load main class using
2208 system class loader.
2210 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2212 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2213 lgcc_s to the libraries to link for Darwin.
2215 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2217 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2218 interpreter-specific code with #ifdef INTERPRETER.
2219 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2220 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2221 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2222 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2223 #ifdef INTERPRETER. Also protect declarations that use it.
2224 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2225 #ifdef INTERPRETER block.
2227 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2230 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2231 * Makefile.in: Rebuilt.
2233 2005-03-15 David Daney <ddaney@avtrex.com>
2235 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2238 2005-03-15 David Daney <ddaney@avtrex.com>
2240 * java/io/BufferedInputStream.java (available): Use 'in' instead
2241 of 'super' for underlying stream access.
2243 (read(byte[], int, int)): Ditto.
2245 (skip): Call skip on underlying stream when possible.
2247 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2249 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2250 SJLJ_EXCEPTIONS is defined.
2252 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2254 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2257 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2259 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2261 (libjava_arguments): Likewise.
2263 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2264 (gcj_jni_test_one): Likewise.
2265 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2266 Add flags to keep the Darwin linker quiet.
2267 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2268 Add -liconv for Darwin.
2270 2005-03-11 Tom Tromey <tromey@redhat.com>
2272 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2273 (_Jv_CheckABIVersion): Use it.
2275 2005-03-11 Tom Tromey <tromey@redhat.com>
2277 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2278 (usage): Document '-p'.
2279 * Makefile.in: Rebuilt.
2280 * Makefile.am (dbexecdir): New variable.
2281 (db_name): Likewise.
2282 (dbexec_DATA): Likewise.
2283 ($(db_name)): New target.
2284 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2285 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2288 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2290 * exception.cc: Remove stray MethodRef.h include.
2291 * java/lang/natClass.cc: Likewise.
2292 * gnu/gcj/runtime/MethodRef.java: Removed.
2293 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2294 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2295 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2296 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2297 * Makefile.in: Rebuilt.
2299 2005-03-10 Tom Tromey <tromey@redhat.com>
2301 * Makefile.in: Rebuilt.
2302 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2304 2005-03-10 Chris Burdess <dog@bluezoo.org>
2306 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2307 not currently parsing the DTD.
2309 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2311 New Stack Trace infrastructure.
2312 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2313 (gnu/gcj/runtime/StackTrace.java): Removed.
2314 (ordinary_java_source_files): Remove obsolete files.
2315 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2316 * configure.host (fallback_backtrace_h): Set backtrace header
2317 for mingw and cygwin targets.
2318 * configure.ac: Make symlink for fallback backtrace headers.
2319 * Makefile.in, configure: Rebuilt.
2320 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2321 Read 'LineNumberTable' attribute.
2322 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2324 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2326 * exception.cc: Remove unused include.
2327 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2328 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2329 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2330 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2331 table to direct threaded instruction values.
2332 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2333 (_Jv_InterpMethod::run): No longer member function. All
2334 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2335 is made or where an instruction could throw.
2336 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2338 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2339 (catch_fpe): Likewise.
2340 * stacktrace.cc: New file. Stack trace code now here.
2341 * gnu/gcj/runtime/MethodRef.java:
2342 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2343 calls addr2line to look up PC addresses in a given binary or shared
2345 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2346 gnu/gcj/runtime/natStackTrace.cc: Removed.
2347 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2348 this function name is specially recognised by the stack trace code
2349 and shouldn't be changed.
2350 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2351 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2352 (_Jv_InterpMethod::run): Update declaration.
2353 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2355 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2356 * include/java-stack.h: New file. Declarations for stack tracing.
2357 * include/jvm.h (_Jv_Frame_info): Removed.
2358 * java/lang/Class.h: Update friend declarations.
2359 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2361 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2362 (getStackTrace): Now native.
2363 (data): New RawDataManaged field.
2364 * java/lang/natClass.cc: Update includes.
2365 (forName): Use _Jv_StackTrace::GetCallingClass for
2366 calling-classloader check.
2367 (getClassLoader): Likewise.
2368 * java/lang/natRuntime.cc: Update includes.
2369 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2370 * java/lang/natVMSecurityManager.cc: Update includes.
2371 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2372 * java/lang/natVMThrowable.cc: New file. Native methods for
2374 * java/lang/reflect/natArray.cc: Update includes.
2375 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2376 accessibility check.
2377 * java/lang/reflect/natConstructor.cc: Update includes.
2378 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2379 accessibility check.
2380 * java/lang/reflect/natField.cc: Update includes.
2381 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2382 accessibility check.
2383 * java/lang/reflect/natMethod.cc: Update includes.
2384 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2385 accessibility check.
2386 * java/util/natResourceBundle.cc: Update includes.
2387 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2388 * java/util/logging/natLogger.cc: Update includes. Use
2389 _Jv_StackTrace::GetCallerInfo to get call-site info.
2390 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2392 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2395 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
2397 * testsuite/libjava.compile/PR20312.java: New file.
2398 * testsuite/libjava.compile/PR20312.xfail: Likewise.
2399 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2401 2005-03-09 Andrew Haley <aph@redhat.com>
2403 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2405 (smallTransferTo): New.
2406 (transferFrom): Loop around smallTransferFrom, copying pageSize
2408 (transferTo): Likewise.
2410 2005-03-09 David Daney <ddaney@avtrex.com>
2413 Merge BufferedInputStream from GNU Classpath.
2414 * java/io/BufferedInputStream.java (marktarget): Field removed.
2415 (CHUNKSIZE): Field removed.
2416 (bufferSize): New field.
2417 (BufferedInputStream): Initialize fields.
2418 (close): Invalidate mark and buffer indexes.
2420 (read()): Move mark handling code to refill.
2421 (read(byte[], int, int)): Ditto.
2422 (skip): Ditto and simplify EOF testing.
2423 (refill): Rewritten.
2424 * java/io/InputStreamReader.java (refill): Removed mark and reset
2425 of internal BufferedInputStream.
2427 2005-03-09 Tom Tromey <tromey@redhat.com>
2429 * java/lang/natVMClassLoader.cc (defineClass): Reference
2430 'systemClassLoader' field directly.
2431 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2433 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2434 Reference 'systemClassLoader' field directly.
2435 (_Jv_UnregisterInitiatingLoader): Likewise.
2436 (_Jv_FindClass): Likewise.
2438 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
2440 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
2442 * java/lang/mprec.h: Remove commented headers. Fix comment to match
2443 the file in GNU Classpath style.
2445 2005-03-09 Tom Tromey <tromey@redhat.com>
2447 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
2448 (toString): Synchronize.
2450 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
2452 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
2453 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
2455 2005-03-07 Tom Tromey <tromey@redhat.com>
2457 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
2458 (usage): Document '-f'.
2460 2005-03-07 Tom Tromey <tromey@redhat.com>
2462 * java/lang/VMCompiler.java (md5Digest): New field.
2463 (compileClass): Clone md5Digest instead of looking up a new one.
2465 2005-03-07 Tom Tromey <tromey@redhat.com>
2468 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
2469 * link.cc (find_field_helper): Added 'type' argument.
2470 (find_field): Updated.
2472 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
2473 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
2474 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
2475 throw UnsupportedOperationException, fixed comments.
2476 (setFont, setForeground): Fixed comments.
2477 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
2478 return type to boolean.
2479 (getNextEvent): Fixed javadocs.
2480 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
2481 (nativeQueueEmpty): Removed unused code.
2482 (iterateNativeQueue): Removed outer loop.
2484 2005-03-06 Roger Sayle <roger@eyesopen.com>
2487 * Makefile.am (libgcj0_convenience.la): Revert last change.
2488 * Makefile.in: Regenerate.
2490 2005-03-05 Anthony Green <green@redhat.com>
2492 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
2493 classpath_jawt_lock, classpath_jawt_unlock): New functions.
2494 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
2495 (_Jv_GetDrawingSurface): Set visualID.
2496 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
2497 (JAWT_GetAWT): Set Lock and Unlock.
2498 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
2500 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
2501 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
2502 JAWT_LOCK_SURFACE_CHANGED): New macros.
2503 (struct _JAWT): Add Lock and Unlock.
2505 2005-03-05 Roger Sayle <roger@eyesopen.com>
2506 Alexandre Oliva <aoliva@redhat.com>
2507 Kelley Cook <kcook@gcc.gnu.org>
2510 * Makefile.am (libgcj0_convenience.la): New rule to create a file
2511 of the object files to link to avoid exceeding the command line
2512 length limits on some platforms.
2513 (clean-local): Clean up objectlist files.
2514 * Makefile.in: Regenerate.
2516 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
2518 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
2519 spec_case. Initialize pointer mlo.
2521 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
2524 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
2526 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
2529 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
2530 uninitialized variable z.
2532 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
2533 possible unused variables.
2535 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
2537 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
2539 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
2542 * testsuite/libjava.jni/jni.exp
2543 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
2545 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
2547 2005-02-23 David Daney <ddaney@avtrex.com>
2549 * configure.host: Don't use -mxgot for MIPS builds.
2551 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
2554 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2555 (COMPPATH): Removed.
2556 (ZIP, GCJH): Replace it with ../$(host_subdir).
2557 (built_gcc_dir): Add $(host_subdir).
2558 * configure: Regenerate.
2559 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2560 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
2561 external/w3c_dom/Makefile.in: Regenerate.
2563 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
2565 * java/awt/font/TextAttribute.java: changed names to lower case;
2566 (readResolve): implemented.
2567 Added doc comments all over.
2569 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2572 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
2573 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
2574 value. Move argument parsing code to prims.cc.
2575 * prims.cc (no_properties): Remove.
2576 (_Jv_Compiler_Properties): Initialize to NULL.
2577 (_Jv_Properties_Count): Initialize to 0.
2578 (parse_verbose_args): New function.
2579 (parse_init_args): New function.
2580 (_Jv_CreateJavaVM): Call parse_init_args.
2581 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
2582 * gcj/cni.h (JvVMOption): New struct.
2583 (JvVMInitArgs): Likewise.
2584 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
2586 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
2587 (_Jv_VMInitArgs): Likewise.
2588 * include/java-props.h (_Jv_Properties_Count): Declare.
2589 * java/lang/natRuntime.cc (insertSystemProperties): Use
2590 _Jv_Properties_Count in for loop exit condition.
2591 * testsuite/libjava.jni/jni.exp
2592 (gcj_invocation_compile_c_to_binary): New procedure.
2593 (gcj_invocation_test_one): Likewise.
2594 (gcj_jni_run): Run JNI invocation API tests.
2595 * testsuite/libjava.jni/invocation/PR16923.c,
2596 testsuite/libjava.jni/invocation/PR16923.java,
2597 testsuite/libjava.jni/invocation/PR16923.out: New test.
2599 2005-02-23 Michael Koch <konqueror@gmx.de>
2601 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
2602 * Makefile.in: Regenerated.
2604 2005-02-23 Robert Schuster <thebohemian@gmx.net>
2606 * gnu/java/nio/ChannelReader: Fixed comments.
2608 2005-02-23 Robert Schuster <thebohemian@gmx.net>
2610 * java/nio/channels/Channels: Added FIXMEs about
2611 stub method implementation.
2612 (newReader): Implemented.
2613 * gnu/java/nio/ChannelReader: New class.
2615 2005-02-23 Michael Koch <konqueror@gmx.de>
2617 * java/text/SimpleDateFormat.java:
2618 Removed unused import.
2620 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2623 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
2624 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
2625 * Makefile.in: Regenerate.
2626 * configure.ac: Check for libXtst.
2627 * configure: Regenerate.
2629 2005-02-22 Mark Wielaard <address@bogus.example.com>
2631 * java/security/AlgorithmParameterGenerator.java (getInstance):
2632 Mention provider when throwing NoSuchProviderException.
2633 * java/security/AlgorithmParameters.java (getInstance): Likewise.
2634 * java/security/KeyFactory.java (getInstance): Likewise.
2635 * java/security/KeyStore.java (getInstance): Likewise.
2636 * java/security/SecureRandom.java (getInstance): Likewise.
2637 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
2639 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
2641 * java/lang/reflect/Proxy.java,
2643 java/security/SecureRandom.java,
2644 java/util/Timer.java,
2645 java/util/prefs/AbstractPreferences.java:
2646 Don't catch java.lang.ThreadDeath.
2648 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
2650 * java/awt/font/TransformAttribute.java,
2651 (TransformAttribute(AffineTransform)): throw
2652 IllegalArgumentException for null transform.
2653 (getTransform): return a copy of transform.
2654 Added doc comments to all.
2656 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
2658 * java/io/Externalizable.java,
2659 java/io/Serializable.java
2660 (serialVersionUID): Removed.
2661 * java/rmi/server/RemoteObject.java,
2662 java/rmi/server/UID.java
2663 (serialVersionUID): Made private.
2664 * java/rmi/server/RemoteRef.java,
2665 java/rmi/server/ServerRef.java
2666 (serialVersionUID): Set proper value.
2667 * java/security/interfaces/DSAPrivateKey.java,
2668 java/security/interfaces/DSAPublicKey.java,
2669 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2670 java/security/interfaces/RSAPrivateCrtKey.java,
2671 java/security/interfaces/RSAPrivateKey.java,
2672 java/security/interfaces/RSAPublicKey.java,
2673 javax/crypto/SecretKey.java
2674 (serialVersionUID): Added.
2676 2005-02-22 Tom Tromey <tromey@redhat.com>
2678 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
2680 2005-02-22 Tom Tromey <tromey@redhat.com>
2683 * verify.cc (type::EITHER): New constant.
2684 (check_field_constant): Use it.
2685 (type::compatible): Handle it.
2687 2005-02-22 Michael Koch <konqueror@gmx.de>
2689 * gnu/java/security/PolicyFile.java,
2690 gnu/java/security/pkcs/PKCS7SignedData.java,
2691 gnu/java/security/pkcs/SignerInfo.java:
2692 Fixed copyright header.
2694 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
2696 * java/beans/PropertyDescriptor.java
2697 (PropertyDescriptor,setReadMethod): Set propertyType.
2699 2005-02-22 Michael Koch <konqueror@gmx.de>
2701 * java/nio/DirectByteBufferImpl.java
2702 (owner): Fixed formatting of javadoc.
2703 * java/text/DateFormat.java
2704 (getAvailableLocales): Fixed formatting.
2705 * java/text/SimpleDateFormat.java:
2706 Fixed formatting and import statement order.
2707 * java/util/Calendar.java
2708 (Calendar): Fixed javadoc to be HTML compliant.
2709 * java/util/SimpleTimeZone.java:
2712 2005-02-22 Roman Kennke <roman@ontographics.com>
2714 * javax/swing/plaf/basic/BasicLookAndFeel.java
2715 (initComponentDefaults): Fixed Button left and right margin.
2717 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2719 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
2723 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2724 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2725 (getWidth): New method.
2726 (getHeight): Likewise.
2727 (create): Remove width, height and insets parameters. Move size
2729 (realize_cb): ... here. New function.
2730 (connectSignals): Connect realize_cb.
2731 (request_frame_extents): Remove FIXME. Move
2732 postInsetsChangedEvent lookup ...
2733 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
2734 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
2735 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
2737 (windowGetWidthID): Likewise.
2738 (windowGetHeightID): Likewise.
2740 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2743 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2744 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
2746 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
2748 Merge serialization from GNU Classpath.
2749 * gcj/method.h: Add missing #includes.
2750 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
2751 primitive class IDs on the stream here...
2752 (resolveClass): ...not here.
2753 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
2755 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
2756 setLongNative, setIntNative, setShortNative, setCharNative,
2757 setByteNative, setBooleanNative, setObjectNative): New native methods.
2758 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
2759 setLongNative, setIntNative, setShortNative, setCharNative,
2760 setByteNative, setBooleanNative, setObjectNative): Implement them.
2761 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
2762 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
2763 the constructor here.
2764 (callConstructor): Removed.
2765 (getCallersClassLoader): Removed.
2766 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
2767 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
2768 to control whether setting final field values is permitted. Call
2769 getAddr() with checkFinal parameter instead of setAddr().
2770 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
2771 only if not done already.
2772 (getAddr): Add checkFinal parameter. Do the final field check only if
2776 2005-02-21 Mark Wielaard <mark@klomp.org>
2779 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
2782 2005-02-21 Mark Wielaard <mark@klomp.org>
2785 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
2786 without a super class and us ObjectStreamClass.lookupForClassObject().
2787 (resolveClass): Check for primitive types.
2788 (lookupClass): Return null when argument is null.
2790 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
2792 * java/io/ObjectInputStream.java
2793 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
2795 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
2797 * java/io/ObjectOutputStream.java
2798 (writeObject, callWriteMethod): Replaced reflection with accessing
2799 cached info in ObjectStreamClass.
2800 (getMethod): Removed.
2801 * java/io/ObjectStreamClass.java
2802 (findMethod): Added check to make sure the method found has the
2804 (cacheMethods): Added writeReplace and writeObject methods.
2805 (setFlags): Look at new writeObjectMethod field instead of doing
2807 (writeReplaceMethod): New field.
2808 (writeObjectMethod): New field.
2810 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
2811 Jeroen Frijters <jeroen@frijters.net>
2813 * java/io/ObjectInputStream.java
2814 (newObject): Changed prototype. Get a constructor reflect object
2816 (callConstructor): Removed.
2817 (allocateObject): Changed prototype.
2818 (readClassDescriptor): Build the constructor reflection directly.
2819 (readObject): Invoke newObject using the new prototype.
2821 * java/io/ObjectStreamClass.java
2822 (firstNonSerializableParent): Removed.
2823 (firstNonSerializableParentConstructor): Added.
2825 2005-02-21 Mark Wielaard <mark@klomp.org>
2827 * gnu/java/locale/LocaleInformation_en.java: Extend
2828 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
2830 2005-02-21 Mark Wielaard <mark@klomp.org>
2832 * java/text/SimpleDateFormat.java
2833 (SimpleDateFormat(String, DateFormatSymbols)): Throw
2834 NullPointerException when formatData is null.
2836 2005-02-21 Mark Wielaard <mark@klomp.org>
2838 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
2839 taking dstSavings into account.
2841 2005-02-21 Sven de Marothy <sven@physto.se>
2843 * java/text/SimpleDateFormat.java,
2844 (parse): Set correct DST_OFFSET to the correct value.
2846 2005-02-21 Mark Wielaard <mark@klomp.org>
2848 * java/util/SimpleTimeZone.java (checkRule): Throw
2849 IllegalArgumentException when month out of range.
2851 2005-02-21 Sven de Marothy <sven@physto.se>
2853 * java/util/GregorianCalendar.java,
2854 (add): Don't set fields directly anymore. Use set()
2856 2005-02-21 Mark Wielaard <mark@klomp.org>
2858 * java/text/SimpleDateFormat.java (CompiledField.toString):
2859 Use StringBuffer, not StringBuilder.
2860 (toString): Likewise.
2862 2005-02-21 Sven de Marothy <sven@physto.se>
2864 * java/util/Calendar.java
2865 (clear): Dates should clear to local time.
2866 * java/util/GregorianCalendar.java
2867 (computeTime): Fix priority problem with DAY_OF_WEEK,
2868 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
2870 2005-02-21 Sven de Marothy <sven@physto.se>
2872 * java/util/Calendar.java
2873 (Calendar): Constructor should clear fields.
2875 2005-02-21 Sven de Marothy <sven@physto.se>
2877 * java/text/SimpleDateFormat.java
2878 (parse): Tweak handling of 2-year dates
2879 * java/util/Calendar.java
2880 (clear): Clear fields to correct value.
2881 * java/util/GregorianCalendar.java
2882 (computeTime): Correct handling of time zones.
2883 Correct field minimum values.
2885 2005-02-21 Sven de Marothy <sven@physto.se>
2887 * java/util/Calendar.java
2888 (set) Invalidate all fields on first call to set().
2890 2005-02-21 Sven de Marothy <sven@physto.se>
2892 * java/util/GregorianCalendar.java
2893 (computeTime): Fixed handling of time zones.
2895 2005-02-21 Sven de Marothy <sven@physto.se>
2897 * java/util/Calendar.java
2898 (clear): Set values to Epoch instead of zero.
2899 (set): Set isSet to the relevant field pattern instead of just
2901 * java/util/GregorianCalendar.java
2902 (getBundle): Removed.
2903 (getDayOfYear): Removed.
2904 (getFirstDayOfMonth): New private method.
2905 (nonLeniencyCheck): New private method.
2906 (computeTime): Correct handling of insufficient data.
2908 2005-02-21 Sven de Marothy <sven@physto.se>
2910 * java/util/Calendar.java: Invalidate ERA field on setting
2912 * java/util/SimpleTimeZone.java:
2913 (getDaysInMonth): Reimplemented.
2914 * java/util/GregorianCalendar.java:
2915 (getLinearTime): Removed.
2916 (isLeapYear(int,boolean)): Removed.
2917 (before(), after()): Removed.
2918 (computeTime): Reimplemented.
2920 2005-02-21 Sven de Marothy <sven@physto.se>
2922 * java/util/Calendar.java: Reformatted.
2923 * java/util/GregorianCalendar.java: Reformatted.
2924 * java/util/SimpleTimeZone.java: Reformatted.
2926 2005-02-21 Sven de Marothy <sven@physto.se>
2928 * java/util/GregorianCalendar.java
2929 (GregorianCalendar): Update fields in the constructor
2931 2005-02-21 Noa Resare <noa@resare.com>
2933 * java/util/Calendar.java (explicitDSTOffset): New instance field.
2934 (set(int,int)): Set and use new field.
2935 (set(int,int,int)): Check new field.
2937 2005-02-21 Noa Resare <address@hidden>
2939 * java/util/Calendar.java(set):
2940 Fix for DST related regression.
2942 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
2944 * java/util/Calendar.java
2945 (setTimeInMillis): Added call to clear, removed computeFields call.
2946 * java/util/Date.java
2947 (Date(int,int,int,int,int,int)): Removed workaround for
2948 GregorianCalendar bug.
2949 * java/util/GregorianCalendar.java
2950 (GregorianCalendar): Chained all constructors to a (new)
2952 (computeTime): Fixed support for lenient month treatment.
2953 (getLinearDay): Return long instead of int.
2954 (calculateDay): Added fields argument and changed day argument
2957 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
2959 * java/text/SimpleDateFormat.java
2960 Lots of documentation updates.
2961 (readObject(java.io.ObjectInputStream)): Wraps
2962 IllegalArgumentException as specified.
2963 (compileFormat(String)): Uses standardChars
2964 rather than the local pattern characters.
2965 Throws IllegalArgumentException rather than
2967 (toString()): Extended to include all variables
2969 (translateLocalizedPattern(String, String, String)):
2970 Renamed to better define the use of this method.
2972 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
2974 * java/text/DateFormat.java:
2975 Documented pattern character offset constants and
2977 (Field): Added new static fields for new pattern chars.
2978 * java/text/SimpleDateFormat.java:
2979 (CompiledField): Changed name of FieldSizePair class
2980 to CompiledField after adding the character as an
2981 attribute. Changed fields to private and added
2982 accessors to give encapsulation.
2983 (CompiledField.CompiledField(int,int,char)): Extended
2984 with character field.
2985 (CompiledField.getField()): New accessor method.
2986 (CompiledField.getSize()): New acceessor method.
2987 (CompiledField.getCharacter()): New accessor method.
2988 (CompiledField.toString()): Added primarily for debugging.
2989 (standardChars): Now uses extended 24 character sequence.
2990 (compileFormat(String)): Changed to use CompiledField.
2991 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
2992 java.text.FieldPosition)): Changed to use CompiledField.
2993 New handler for RFC 822 timezones added.
2995 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
2997 * java/text/SimpleDateFormat.java:
2998 (parse(String, java.text.ParsePosition)):
2999 Changed 'E' and 'M' cases to use both
3000 short and long names. Extended 'z'
3001 case to also handle 'Z', and deal
3002 with simple GMT offsets such as +0100.
3003 (computeOffset(String)): New private method,
3004 which converts a GMT offset specification,
3005 such as GMT-0500 to a numeric offset in
3007 * java/util/TimeZone.java:
3008 (timezones()): Added "CEST", the daylight
3009 savings time version of "CET", or Central
3012 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3014 * java/text/SimpleDateFormat.java:
3015 (parse): Set the DST offset to 0 when parsing
3016 GMT offset timezones.
3018 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3020 * java/text/SimpleDateFormat.java:
3021 (parse): Use offset to set ZONE_OFFSET
3022 rather than the DST_OFFSET, so that
3023 GMT offset timezones change the right
3026 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3028 * java/text/SimpleDateFormat.java:
3029 (getDateFormatSymbols()): return a copy
3030 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3031 throw exception on null input
3032 (clone()): implemented to clone
3035 2005-02-21 Sven de Marothy <sven@physto.se>
3037 * java/text/SimpleDateFormat.java
3038 (parse): comparison should be case-insensitive, ignore null
3041 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3043 * gnu/java/beans/IntrospectionIncubator.java
3044 (addMethod) Reverts the patch that ntroduced a regression (see bug
3045 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3047 2005-02-21 Michael Koch <konqueror@gmx.de>
3049 * java/awt/Checkbox.java
3050 (next_checkbox_number): New static variable.
3051 (generateName): New method.
3052 (getUniqueLong): Likewise.
3053 * java/awt/Window.java
3054 (next_window_number): New static variable.
3055 (generateName): New method.
3056 (getUniqueLong): Likewise.
3058 2005-02-21 Mark Wielaard <mark@klomp.org>
3060 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3063 2005-02-21 Andrew Haley <aph@redhat.com>
3065 * Makefile.in: Rebuilt.
3066 * Makefile.am (nat_source_files): Added natLogger.cc.
3067 * java/util/logging/natLogger.cc: New file.
3068 * java/util/logging/Logger.java (getCallerStackFrame): Now
3071 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3073 * Makefile.am (all_property_files): Remove left over.
3074 (classes.stamp): Add stamp for the ONESTEP build, also known as
3075 --enable-libgcj-multifile.
3076 * Makefile.in: Regenerated.
3078 2005-02-21 Michael Koch <konqueror@gmx.de>
3080 * java/awt/Button.java,
3081 java/awt/Container.java,
3083 java/awt/Frame.java,
3084 java/text/CollationElementIterator.java,
3085 java/text/RuleBasedCollator.java,
3086 java/util/PropertyPermission.java:
3087 Fixed formatting issues all over.
3089 2005-02-21 Mark Wielaard <mark@klomp.org>
3091 * java/io/FileDescriptor.java (sync): Add real exception to
3092 SyncFailedException.
3094 2005-02-21 Michael Koch <konqueror@gmx.de>
3096 * java/io/InputStreamReader.java:
3099 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3102 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3104 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3106 * libraries/javalib/gnu/regexp/RE.java,
3107 libraries/javalib/java/io/ObjectInputStream.java,
3108 libraries/javalib/java/security/AllPermission.java,
3109 libraries/javalib/java/security/BasicPermission.java,
3110 libraries/javalib/java/security/Permissions.java,
3111 libraries/javalib/java/text/MessageFormat.java:
3112 Made 'inner' classes real public static inner classes,
3113 and made them final where possible, or removed them
3116 2005-02-20 Michael Koch <konqueror@gmx.de>
3118 * gnu/java/text/FormatCharacterIterator.java:
3119 Removed redundant modifiers.
3121 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3123 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3126 2005-02-19 Michael Koch <konqueror@gmx.de>
3128 * Makefile.am: Added new files in gnu/java/beans and
3129 java/beans/XMLDecoder.java.
3130 * Makefile.in: Regenerated.
3132 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3134 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3135 assignment behavior by using java.lang.reflect.Array.set()
3138 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3140 * gnu/java/beans/EmptyBeanInfo.java,
3141 gnu/java/beans/info/ComponentBeanInfo.java:
3142 Removed unused files.
3144 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3146 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3147 of AppletStub for java.beans.Beans.instantiate.
3148 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3150 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3151 to be conformant with Javadoc guidelines.
3152 (instantiate): Added two more overloaded variants, reworked user
3153 documentation, fixed exception behavior, fixed behavior when
3156 2005-02-19 Mark Wielaard <mark@klomp.org>
3158 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3160 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3162 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3164 * gnu/java/beans/decoder/AbstractContext.java,
3165 gnu/java/beans/decoder/AbstractCreatableContext.java,
3166 gnu/java/beans/decoder/AbstractElementHandler.java,
3167 gnu/java/beans/decoder/AbstractObjectContext.java,
3168 gnu/java/beans/decoder/ArrayContext.java,
3169 gnu/java/beans/decoder/ArrayHandler.java,
3170 gnu/java/beans/decoder/AssemblyException.java,
3171 gnu/java/beans/decoder/BooleanHandler.java,
3172 gnu/java/beans/decoder/ByteHandler.java,
3173 gnu/java/beans/decoder/CharHandler.java,
3174 gnu/java/beans/decoder/ClassHandler.java,
3175 gnu/java/beans/decoder/ConstructorContext.java,
3176 gnu/java/beans/decoder/Context.java,
3177 gnu/java/beans/decoder/DecoderContext.java,
3178 gnu/java/beans/decoder/DefaultExceptionListener.java,
3179 gnu/java/beans/decoder/DoubleHandler.java,
3180 gnu/java/beans/decoder/DummyContext.java,
3181 gnu/java/beans/decoder/DummyHandler.java,
3182 gnu/java/beans/decoder/ElementHandler.java,
3183 gnu/java/beans/decoder/FloatHandler.java,
3184 gnu/java/beans/decoder/GrowableArrayContext.java,
3185 gnu/java/beans/decoder/IndexContext.java,
3186 gnu/java/beans/decoder/IntHandler.java,
3187 gnu/java/beans/decoder/JavaHandler.java,
3188 gnu/java/beans/decoder/LongHandler.java,
3189 gnu/java/beans/decoder/MethodContext.java,
3190 gnu/java/beans/decoder/MethodFinder.java,
3191 gnu/java/beans/decoder/NullHandler.java,
3192 gnu/java/beans/decoder/ObjectContext.java,
3193 gnu/java/beans/decoder/ObjectHandler.java,
3194 gnu/java/beans/decoder/PersistenceParser.java,
3195 gnu/java/beans/decoder/PropertyContext.java,
3196 gnu/java/beans/decoder/ShortHandler.java,
3197 gnu/java/beans/decoder/SimpleHandler.java,
3198 gnu/java/beans/decoder/StaticMethodContext.java,
3199 gnu/java/beans/decoder/StringHandler.java,
3200 gnu/java/beans/decoder/VoidHandler.java: New class
3201 implementing java.beans.XMLDecoder decoding functionality.
3202 * java/beans/XMLDecoder.java: New class.
3204 2005-02-19 Michael Koch <konqueror@gmx.de>
3206 * javax/swing/JTextField.java
3207 (notfiyAction): Added javadoc.
3209 2005-02-19 Sven de Marothy <sven@physto.se>
3211 * javax/swing/SpinnerDateModel.java: Implemented.
3213 2005-02-19 Michael Koch <konqueror@gmx.de>
3215 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3216 * Makefile.in: Regenerated.
3218 2005-02-19 Michael Koch <konqueror@gmx.de>
3220 * gnu/java/nio/SelectorImpl.java:
3221 Reworked import statements.
3222 (register): Removed unused code.
3223 * java/nio/channels/Channels.java: Reformatted.
3224 * java/nio/charset/Charset.java: Likewise.
3225 * java/rmi/server/RemoteObject.java
3226 (serialVersionUID): Made private.
3227 * java/rmi/server/UID.java
3228 (serialVersionUID): Likewise.
3230 2005-02-19 Michael Koch <konqueror@gmx.de>
3232 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3233 gnu/java/net/protocol/ftp/BlockInputStream.java,
3234 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3235 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3236 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3237 gnu/java/net/protocol/ftp/DTPInputStream.java,
3238 gnu/java/net/protocol/ftp/DTP.java,
3239 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3240 gnu/java/net/protocol/ftp/FTPConnection.java,
3241 gnu/java/net/protocol/ftp/FTPException.java,
3242 gnu/java/net/protocol/ftp/FTPResponse.java,
3243 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3244 gnu/java/net/protocol/ftp/Handler.java,
3245 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3246 gnu/java/net/protocol/ftp/StreamInputStream.java,
3247 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3248 gnu/java/net/CRLFInputStream.java,
3249 gnu/java/net/CRLFOutputStream.java,
3250 gnu/java/net/GetLocalHostAction.java,
3251 gnu/java/net/protocol/ftp/package.html: New files.
3252 * Makefile.am: Added new files.
3253 * Makefile.in: Regenerated.
3255 2005-02-18 Tom Tromey <tromey@redhat.com>
3257 * link.cc (make_vtable): Remove abstract method check.
3258 (append_partial_itable): Likewise.
3261 * verify.cc (type::equals): Fixed test.
3262 * testsuite/libjava.lang/PR20056.out: New file.
3263 * testsuite/libjava.lang/PR20056.java: New file.
3265 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3267 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3268 not the HashEntry. Reported by Jean-Marie White.
3270 2005-02-18 Tom Tromey <tromey@redhat.com>
3273 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3274 * link.cc (has_field_p): New function.
3275 * verify.cc (check_field_constant): Added 'putfield' argument.
3276 (verify_instructions_0): Updated.
3277 (type::equals): New method.
3279 2005-02-18 Anthony Green <green@redhat.com>
3281 * NEWS: Draft of libgcj NEWS for 4.0.
3283 2005-02-18 Anthony Green <green@redhat.com>
3285 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3286 architecture names to "i386" for compatibility reasons. Win32
3289 2005-02-18 Anthony Green <green@redhat.com>
3291 * gij.cc (version): Change year for '--version' to 2005.
3292 * gnu/gcj/convert/Convert.java: Ditto.
3293 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3294 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3296 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3297 recent copyright year in `--version' output.
3299 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3301 * java/nio/charset/Charset.java (forName): Throws
3302 IllegalArgumentException when argument is null
3303 and added documentation.
3305 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3307 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3308 Move the position of the source buffer forward.
3310 2005-02-17 Tom Tromey <tromey@redhat.com>
3312 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3313 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3314 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3315 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3316 Changed type of second argument. Rewrote.
3317 (make_vtable): Use it.
3318 (append_partial_itable): Updated.
3319 (layout_vtable_methods): Updated.
3321 2005-02-17 Michael Koch <konqueror@gmx.de>
3323 * gnu/java/net/PlainSocketImpl.java
3324 (shutdownInput): Added javadoc.
3325 (shutdownOutput): Likewise.
3327 2005-02-17 Michael Koch <konqueror@gmx.de>
3329 * javax/print/attribute/standard/Chromaticity.java,
3330 javax/print/attribute/standard/Destination.java,
3331 javax/print/attribute/standard/MediaPrintableArea.java,
3332 javax/print/attribute/standard/MediaSize.java: New files.
3333 * Makefile.am: Added new files.
3334 * Makefile.in: Regenerated.
3336 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3337 Michael Koch <konqueror@gmx.de>
3339 * gnu/java/net/protocol/http/Cookie.java,
3340 gnu/java/net/protocol/http/HTTPConnection.java,
3341 gnu/java/net/protocol/http/HTTPDateFormat.java,
3342 gnu/java/net/protocol/http/Request.java,
3343 gnu/java/nio/PipeImpl.java,
3344 gnu/java/rmi/dgc/DGCImpl.java,
3345 gnu/java/rmi/server/ConnectionRunnerPool.java,
3346 gnu/java/rmi/server/UnicastConnectionManager.java,
3347 gnu/java/security/der/DERWriter.java,
3348 gnu/java/security/pkcs/SignerInfo.java,
3349 gnu/java/security/provider/EncodedKeyFactory.java,
3350 gnu/java/security/provider/GnuDHPublicKey.java,
3351 gnu/java/security/provider/GnuDSAPrivateKey.java,
3352 gnu/java/security/provider/GnuDSAPublicKey.java,
3353 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3354 gnu/java/security/x509/X500DistinguishedName.java,
3355 gnu/java/security/x509/X509CRL.java,
3356 gnu/java/security/x509/X509CRLEntry.java,
3357 gnu/java/security/x509/X509Certificate.java,
3358 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3359 gnu/java/security/x509/ext/CertificatePolicies.java,
3360 gnu/java/security/x509/ext/PolicyConstraint.java,
3361 gnu/xml/dom/Consumer.java,
3362 gnu/xml/dom/DomCharacterData.java,
3363 gnu/xml/dom/DomDocument.java,
3364 gnu/xml/dom/DomDocumentBuilder.java,
3365 gnu/xml/dom/DomIterator.java,
3366 gnu/xml/dom/DomNode.java,
3367 gnu/xml/dom/DomXPathExpression.java,
3368 gnu/xml/dom/DomXPathResult.java,
3369 gnu/xml/dom/JAXPFactory.java,
3370 gnu/xml/pipeline/CallFilter.java,
3371 gnu/xml/pipeline/DomConsumer.java,
3372 gnu/xml/pipeline/LinkFilter.java,
3373 gnu/xml/pipeline/NSFilter.java,
3374 gnu/xml/pipeline/TeeConsumer.java,
3375 gnu/xml/pipeline/ValidationConsumer.java,
3376 gnu/xml/pipeline/WellFormednessFilter.java,
3377 gnu/xml/pipeline/XIncludeFilter.java,
3378 gnu/xml/pipeline/XsltFilter.java,
3379 gnu/xml/transform/ApplyImportsNode.java,
3380 gnu/xml/transform/Bindings.java,
3381 gnu/xml/transform/DocumentFunction.java,
3382 gnu/xml/transform/FormatNumberFunction.java,
3383 gnu/xml/transform/NodeNumberNode.java,
3384 gnu/xml/transform/NumberNode.java,
3385 gnu/xml/transform/Stylesheet.java,
3386 gnu/xml/transform/SystemPropertyFunction.java,
3387 gnu/xml/transform/Template.java,
3388 gnu/xml/transform/TemplatesImpl.java,
3389 gnu/xml/transform/TransformerImpl.java,
3390 gnu/xml/transform/ValueOfNode.java,
3391 gnu/xml/transform/XSLURIResolver.java,
3392 gnu/xml/util/DoParse.java,
3393 gnu/xml/util/Resolver.java,
3394 gnu/xml/xpath/Expr.java,
3395 gnu/xml/xpath/FunctionCall.java,
3396 gnu/xml/xpath/RelationalExpr.java,
3397 gnu/xml/xpath/Selector.java,
3398 gnu/xml/xpath/XPathParser.java:
3399 Reworked import statements, fixed modifier order and some little
3402 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3404 * java/nio/ByteBufferImpl.java (compact):
3405 Set position and limit even if no bytes were moved.
3407 2005-02-17 Michael Koch <konqueror@gmx.de>
3409 * java/nio/CharViewBufferImpl.java (compact): Likewise.
3410 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3411 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3412 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3413 * java/nio/IntViewBufferImpl.java (compact): Likewise.
3414 * java/nio/LongViewBufferImpl.java (compact): Likewise.
3415 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3416 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3417 * java/nio/FloatBufferImpl.java (compact): Set position.
3418 * java/nio/CharBufferImpl.java (compact): Likewise.
3419 * java/nio/DoubleBufferImpl.java (compact): Likewise.
3420 * java/nio/IntBufferImpl.java (compact): Likewise.
3421 * java/nio/LongBufferImpl.java (compact): Likewise.
3422 * java/nio/ShortBufferImpl.java (compact): Likewise.
3424 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
3426 * java/nio/ByteBufferImpl.java,
3427 java/nio/CharBufferImpl.java,
3428 java/nio/DirectByteBufferImpl.java,
3429 java/nio/DoubleBufferImpl.java,
3430 java/nio/FloatBufferImpl.java,
3431 java/nio/IntBufferImpl.java,
3432 java/nio/LongBufferImpl.java,
3433 java/nio/MappedByteBufferImpl.java,
3434 java/nio/ShortBufferImpl.java
3435 (compact): Added explicit read-only check and invalidate mark.
3437 2005-02-17 Michael Koch <konqueror@gmx.de>
3439 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3440 gnu/java/awt/peer/gtk/GdkFontPeer.java,
3441 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3442 gnu/java/awt/peer/gtk/GdkGraphics.java,
3443 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3444 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
3445 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3446 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3447 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
3448 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
3449 gnu/java/awt/peer/gtk/GdkTextLayout.java,
3450 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3451 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3452 gnu/java/awt/peer/gtk/GtkClipboard.java,
3453 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3454 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3455 gnu/java/awt/peer/gtk/GtkFontPeer.java,
3456 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3457 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3458 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3459 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3460 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3461 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3462 gnu/java/awt/peer/gtk/GtkToolkit.java,
3463 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3464 java/applet/Applet.java,
3465 java/awt/AWTError.java,
3466 java/awt/AWTEvent.java,
3467 java/awt/AWTEventMulticaster.java,
3468 java/awt/AWTException.java,
3469 java/awt/AWTKeyStroke.java,
3470 java/awt/AWTPermission.java,
3471 java/awt/ActiveEvent.java,
3472 java/awt/Adjustable.java,
3473 java/awt/AlphaComposite.java,
3474 java/awt/AttributeValue.java,
3475 java/awt/BorderLayout.java,
3476 java/awt/BufferCapabilities.java,
3477 java/awt/Button.java,
3478 java/awt/Canvas.java,
3479 java/awt/CheckboxGroup.java,
3480 java/awt/CheckboxMenuItem.java,
3481 java/awt/Color.java,
3482 java/awt/ColorPaintContext.java,
3483 java/awt/Component.java,
3484 java/awt/ComponentOrientation.java,
3485 java/awt/Composite.java,
3486 java/awt/CompositeContext.java,
3487 java/awt/Container.java,
3488 java/awt/ContainerOrderFocusTraversalPolicy.java,
3489 java/awt/DefaultFocusTraversalPolicy.java,
3490 java/awt/Dialog.java,
3491 java/awt/Dimension.java,
3492 java/awt/DisplayMode.java,
3493 java/awt/EventQueue.java,
3494 java/awt/FileDialog.java,
3495 java/awt/FontFormatException.java,
3496 java/awt/Graphics.java,
3497 java/awt/Graphics2D.java,
3498 java/awt/GraphicsConfigTemplate.java,
3499 java/awt/GraphicsConfiguration.java,
3500 java/awt/GraphicsDevice.java,
3501 java/awt/GridBagLayout.java,
3502 java/awt/GridBagLayoutInfo.java,
3503 java/awt/GridLayout.java,
3504 java/awt/HeadlessException.java,
3505 java/awt/IllegalComponentStateException.java,
3506 java/awt/Image.java,
3507 java/awt/Insets.java,
3508 java/awt/ItemSelectable.java,
3509 java/awt/JobAttributes.java,
3510 java/awt/KeyEventDispatcher.java,
3511 java/awt/KeyEventPostProcessor.java,
3512 java/awt/KeyboardFocusManager.java,
3513 java/awt/Label.java,
3514 java/awt/LayoutManager.java,
3515 java/awt/MenuBar.java,
3516 java/awt/MenuComponent.java,
3517 java/awt/MenuContainer.java,
3518 java/awt/PageAttributes.java,
3519 java/awt/Paint.java,
3520 java/awt/PaintContext.java,
3521 java/awt/Panel.java,
3522 java/awt/Point.java,
3523 java/awt/Polygon.java,
3524 java/awt/PrintGraphics.java,
3525 java/awt/PrintJob.java,
3526 java/awt/Rectangle.java,
3527 java/awt/RenderingHints.java,
3528 java/awt/Shape.java,
3529 java/awt/Stroke.java,
3530 java/awt/SystemColor.java,
3531 java/awt/Toolkit.java,
3532 java/awt/Transparency.java,
3533 java/awt/Window.java,
3534 java/awt/color/CMMException.java,
3535 java/awt/color/ColorSpace.java,
3536 java/awt/color/ICC_ColorSpace.java,
3537 java/awt/color/ICC_Profile.java,
3538 java/awt/color/ProfileDataException.java,
3539 java/awt/datatransfer/FlavorTable.java,
3540 java/awt/datatransfer/MimeTypeParseException.java,
3541 java/awt/datatransfer/Transferable.java,
3542 java/awt/datatransfer/UnsupportedFlavorException.java,
3543 java/awt/dnd/Autoscroll.java,
3544 java/awt/dnd/DnDConstants.java,
3545 java/awt/dnd/DragGestureListener.java,
3546 java/awt/dnd/DragSourceAdapter.java,
3547 java/awt/dnd/DragSourceDropEvent.java,
3548 java/awt/dnd/DragSourceListener.java,
3549 java/awt/dnd/DragSourceMotionListener.java,
3550 java/awt/dnd/DropTargetAdapter.java,
3551 java/awt/dnd/DropTargetContext.java,
3552 java/awt/dnd/DropTargetListener.java,
3553 java/awt/dnd/InvalidDnDOperationException.java,
3554 java/awt/dnd/MouseDragGestureRecognizer.java,
3555 java/awt/dnd/peer/DropTargetContextPeer.java,
3556 java/awt/event/AWTEventListener.java,
3557 java/awt/event/AWTEventListenerProxy.java,
3558 java/awt/event/ActionEvent.java,
3559 java/awt/event/AdjustmentEvent.java,
3560 java/awt/event/AdjustmentListener.java,
3561 java/awt/event/ComponentAdapter.java,
3562 java/awt/event/ComponentEvent.java,
3563 java/awt/event/ComponentListener.java,
3564 java/awt/event/ContainerAdapter.java,
3565 java/awt/event/ContainerEvent.java,
3566 java/awt/event/ContainerListener.java,
3567 java/awt/event/FocusAdapter.java,
3568 java/awt/event/FocusEvent.java,
3569 java/awt/event/FocusListener.java,
3570 java/awt/event/InputEvent.java,
3571 java/awt/event/InputMethodEvent.java,
3572 java/awt/event/InputMethodListener.java,
3573 java/awt/event/InvocationEvent.java,
3574 java/awt/event/ItemEvent.java,
3575 java/awt/event/ItemListener.java,
3576 java/awt/event/KeyAdapter.java,
3577 java/awt/event/KeyEvent.java,
3578 java/awt/event/KeyListener.java,
3579 java/awt/event/MouseAdapter.java,
3580 java/awt/event/MouseEvent.java,
3581 java/awt/event/MouseListener.java,
3582 java/awt/event/MouseMotionAdapter.java,
3583 java/awt/event/MouseMotionListener.java,
3584 java/awt/event/MouseWheelEvent.java,
3585 java/awt/event/MouseWheelListener.java,
3586 java/awt/event/PaintEvent.java,
3587 java/awt/event/TextEvent.java,
3588 java/awt/event/TextListener.java,
3589 java/awt/event/WindowAdapter.java,
3590 java/awt/event/WindowEvent.java,
3591 java/awt/event/WindowFocusListener.java,
3592 java/awt/event/WindowListener.java,
3593 java/awt/event/WindowStateListener.java,
3594 java/awt/font/TextHitInfo.java,
3595 java/awt/geom/CubicCurve2D.java,
3596 java/awt/geom/Dimension2D.java,
3597 java/awt/geom/Ellipse2D.java,
3598 java/awt/geom/IllegalPathStateException.java,
3599 java/awt/geom/Line2D.java,
3600 java/awt/geom/NoninvertibleTransformException.java,
3601 java/awt/geom/PathIterator.java,
3602 java/awt/geom/Point2D.java,
3603 java/awt/geom/QuadCurve2D.java,
3604 java/awt/geom/RectangularShape.java,
3605 java/awt/geom/RoundRectangle2D.java,
3606 java/awt/im/InputContext.java,
3607 java/awt/im/InputMethodHighlight.java,
3608 java/awt/im/InputMethodRequests.java,
3609 java/awt/im/InputSubset.java,
3610 java/awt/im/spi/InputMethod.java,
3611 java/awt/im/spi/InputMethodDescriptor.java,
3612 java/awt/image/BandCombineOp.java,
3613 java/awt/image/BandedSampleModel.java,
3614 java/awt/image/ByteLookupTable.java,
3615 java/awt/image/ComponentSampleModel.java,
3616 java/awt/image/DataBuffer.java,
3617 java/awt/image/DataBufferByte.java,
3618 java/awt/image/DataBufferDouble.java,
3619 java/awt/image/DataBufferFloat.java,
3620 java/awt/image/DataBufferInt.java,
3621 java/awt/image/DataBufferShort.java,
3622 java/awt/image/DataBufferUShort.java,
3623 java/awt/image/ImagingOpException.java,
3624 java/awt/image/Kernel.java,
3625 java/awt/image/LookupTable.java,
3626 java/awt/image/MultiPixelPackedSampleModel.java,
3627 java/awt/image/PackedColorModel.java,
3628 java/awt/image/PixelInterleavedSampleModel.java,
3629 java/awt/image/RGBImageFilter.java,
3630 java/awt/image/Raster.java,
3631 java/awt/image/RasterFormatException.java,
3632 java/awt/image/SampleModel.java,
3633 java/awt/image/ShortLookupTable.java,
3634 java/awt/image/SinglePixelPackedSampleModel.java,
3635 java/awt/image/WritableRaster.java,
3636 java/awt/print/PrinterAbortException.java,
3637 java/awt/print/PrinterException.java,
3638 java/awt/print/PrinterIOException.java,
3639 java/beans/AppletInitializer.java,
3640 java/beans/ExceptionListener.java,
3641 java/beans/PropertyChangeEvent.java,
3642 java/beans/PropertyChangeListenerProxy.java,
3643 java/beans/PropertyChangeSupport.java,
3644 java/beans/PropertyDescriptor.java,
3645 java/beans/VetoableChangeListenerProxy.java,
3646 java/beans/VetoableChangeSupport.java,
3647 java/io/BufferedReader.java,
3648 java/io/ByteArrayInputStream.java,
3649 java/io/ByteArrayOutputStream.java,
3650 java/io/CharArrayReader.java,
3651 java/io/CharArrayWriter.java,
3652 java/io/CharConversionException.java,
3653 java/io/DataInput.java,
3654 java/io/DataInputStream.java,
3655 java/io/DataOutput.java,
3656 java/io/DataOutputStream.java,
3657 java/io/EOFException.java,
3658 java/io/FileInputStream.java,
3659 java/io/FileNotFoundException.java,
3660 java/io/FileOutputStream.java,
3661 java/io/FilenameFilter.java,
3662 java/io/FilterInputStream.java,
3663 java/io/FilterOutputStream.java,
3664 java/io/FilterReader.java,
3665 java/io/FilterWriter.java,
3666 java/io/IOException.java,
3667 java/io/InputStream.java,
3668 java/io/InterruptedIOException.java,
3669 java/io/LineNumberInputStream.java,
3670 java/io/LineNumberReader.java,
3671 java/io/ObjectInputStream.java,
3672 java/io/ObjectStreamException.java,
3673 java/io/OptionalDataException.java,
3674 java/io/OutputStream.java,
3675 java/io/OutputStreamWriter.java,
3676 java/io/PrintStream.java,
3677 java/io/PrintWriter.java,
3678 java/io/PushbackInputStream.java,
3679 java/io/PushbackReader.java,
3680 java/io/RandomAccessFile.java,
3681 java/io/Reader.java,
3682 java/io/SequenceInputStream.java,
3683 java/io/Serializable.java,
3684 java/io/StreamCorruptedException.java,
3685 java/io/StreamTokenizer.java,
3686 java/io/StringBufferInputStream.java,
3687 java/io/StringWriter.java,
3688 java/io/SyncFailedException.java,
3689 java/io/UTFDataFormatException.java,
3690 java/io/UnsupportedEncodingException.java,
3691 java/io/WriteAbortedException.java,
3692 java/io/Writer.java,
3693 java/lang/AbstractMethodError.java,
3694 java/lang/ArithmeticException.java,
3695 java/lang/ArrayIndexOutOfBoundsException.java,
3696 java/lang/ArrayStoreException.java,
3697 java/lang/AssertionError.java,
3698 java/lang/Boolean.java,
3699 java/lang/Byte.java,
3700 java/lang/Class.java,
3701 java/lang/ClassCastException.java,
3702 java/lang/ClassCircularityError.java,
3703 java/lang/ClassLoader.java,
3704 java/lang/ClassNotFoundException.java,
3705 java/lang/CloneNotSupportedException.java,
3706 java/lang/Cloneable.java,
3707 java/lang/Comparable.java,
3708 java/lang/Compiler.java,
3709 java/lang/Double.java,
3710 java/lang/Error.java,
3711 java/lang/Exception.java,
3712 java/lang/ExceptionInInitializerError.java,
3713 java/lang/Float.java,
3714 java/lang/IllegalAccessError.java,
3715 java/lang/IllegalAccessException.java,
3716 java/lang/IllegalArgumentException.java,
3717 java/lang/IllegalMonitorStateException.java,
3718 java/lang/IllegalStateException.java,
3719 java/lang/IllegalThreadStateException.java,
3720 java/lang/IncompatibleClassChangeError.java,
3721 java/lang/IndexOutOfBoundsException.java,
3722 java/lang/InheritableThreadLocal.java,
3723 java/lang/InstantiationError.java,
3724 java/lang/InstantiationException.java,
3725 java/lang/Integer.java,
3726 java/lang/InternalError.java,
3727 java/lang/InterruptedException.java,
3728 java/lang/LinkageError.java,
3729 java/lang/Long.java,
3730 java/lang/NegativeArraySizeException.java,
3731 java/lang/NoClassDefFoundError.java,
3732 java/lang/NoSuchFieldError.java,
3733 java/lang/NoSuchFieldException.java,
3734 java/lang/NoSuchMethodError.java,
3735 java/lang/NoSuchMethodException.java,
3736 java/lang/NullPointerException.java,
3737 java/lang/Number.java,
3738 java/lang/NumberFormatException.java,
3739 java/lang/OutOfMemoryError.java,
3740 java/lang/Process.java,
3741 java/lang/Runnable.java,
3742 java/lang/Runtime.java,
3743 java/lang/RuntimeException.java,
3744 java/lang/RuntimePermission.java,
3745 java/lang/SecurityException.java,
3746 java/lang/SecurityManager.java,
3747 java/lang/Short.java,
3748 java/lang/StackOverflowError.java,
3749 java/lang/StackTraceElement.java,
3750 java/lang/StringBuffer.java,
3751 java/lang/StringIndexOutOfBoundsException.java,
3752 java/lang/ThreadDeath.java,
3753 java/lang/ThreadGroup.java,
3754 java/lang/Throwable.java,
3755 java/lang/UnsatisfiedLinkError.java,
3756 java/lang/UnsupportedOperationException.java,
3757 java/lang/VerifyError.java,
3758 java/lang/VirtualMachineError.java,
3759 java/lang/reflect/AccessibleObject.java,
3760 java/lang/reflect/Array.java,
3761 java/lang/reflect/InvocationTargetException.java,
3762 java/lang/reflect/Member.java,
3763 java/lang/reflect/Modifier.java,
3764 java/lang/reflect/Proxy.java,
3765 java/lang/reflect/ReflectPermission.java,
3766 java/lang/reflect/UndeclaredThrowableException.java,
3767 java/math/BigInteger.java,
3768 java/net/NetworkInterface.java,
3769 java/nio/ByteBufferHelper.java,
3770 java/nio/ByteBufferImpl.java,
3771 java/nio/DirectByteBufferImpl.java,
3772 java/nio/DoubleBufferImpl.java,
3773 java/nio/FloatBufferImpl.java,
3774 java/nio/IntBufferImpl.java,
3775 java/nio/LongBufferImpl.java,
3776 java/nio/ShortBufferImpl.java,
3777 java/nio/channels/Channel.java,
3778 java/nio/channels/IllegalBlockingModeException.java,
3779 java/nio/charset/spi/CharsetProvider.java,
3780 java/security/AccessControlException.java,
3781 java/security/BasicPermission.java,
3782 java/security/DigestException.java,
3783 java/security/DigestInputStream.java,
3784 java/security/DigestOutputStream.java,
3785 java/security/GeneralSecurityException.java,
3786 java/security/Guard.java,
3787 java/security/GuardedObject.java,
3788 java/security/InvalidAlgorithmParameterException.java,
3789 java/security/InvalidKeyException.java,
3790 java/security/InvalidParameterException.java,
3791 java/security/Key.java,
3792 java/security/KeyException.java,
3793 java/security/KeyManagementException.java,
3794 java/security/KeyStoreException.java,
3795 java/security/MessageDigestSpi.java,
3796 java/security/NoSuchAlgorithmException.java,
3797 java/security/NoSuchProviderException.java,
3798 java/security/Permission.java,
3799 java/security/PermissionCollection.java,
3800 java/security/Permissions.java,
3801 java/security/Principal.java,
3802 java/security/PrivateKey.java,
3803 java/security/PrivilegedActionException.java,
3804 java/security/ProviderException.java,
3805 java/security/PublicKey.java,
3806 java/security/SecureRandom.java,
3807 java/security/SecureRandomSpi.java,
3808 java/security/SignatureException.java,
3809 java/security/SignatureSpi.java,
3810 java/security/SignedObject.java,
3811 java/security/Signer.java,
3812 java/security/UnrecoverableKeyException.java,
3813 java/security/UnresolvedPermission.java,
3814 java/security/acl/AclNotFoundException.java,
3815 java/security/acl/LastOwnerException.java,
3816 java/security/acl/NotOwnerException.java,
3817 java/security/cert/CertPath.java,
3818 java/security/cert/CertPathBuilderException.java,
3819 java/security/cert/CertPathValidatorException.java,
3820 java/security/cert/CertStoreException.java,
3821 java/text/BreakIterator.java,
3822 java/text/ChoiceFormat.java,
3823 java/text/CollationElementIterator.java,
3824 java/text/CollationKey.java,
3825 java/text/Collator.java,
3826 java/text/DateFormat.java,
3827 java/text/DateFormatSymbols.java,
3828 java/text/DecimalFormat.java,
3829 java/text/DecimalFormatSymbols.java,
3830 java/text/FieldPosition.java,
3831 java/text/Format.java,
3832 java/text/NumberFormat.java,
3833 java/text/ParseException.java,
3834 java/text/ParsePosition.java,
3835 java/text/StringCharacterIterator.java,
3836 java/util/AbstractCollection.java,
3837 java/util/AbstractList.java,
3838 java/util/AbstractMap.java,
3839 java/util/AbstractSequentialList.java,
3840 java/util/AbstractSet.java,
3841 java/util/ArrayList.java,
3842 java/util/Arrays.java,
3843 java/util/BitSet.java,
3844 java/util/Collection.java,
3845 java/util/Collections.java,
3846 java/util/Comparator.java,
3847 java/util/ConcurrentModificationException.java,
3848 java/util/Currency.java,
3849 java/util/Date.java,
3850 java/util/EmptyStackException.java,
3851 java/util/Enumeration.java,
3852 java/util/EventListener.java,
3853 java/util/EventListenerProxy.java,
3854 java/util/EventObject.java,
3855 java/util/HashMap.java,
3856 java/util/HashSet.java,
3857 java/util/Hashtable.java,
3858 java/util/IdentityHashMap.java,
3859 java/util/Iterator.java,
3860 java/util/LinkedHashSet.java,
3861 java/util/LinkedList.java,
3862 java/util/List.java,
3863 java/util/ListIterator.java,
3864 java/util/ListResourceBundle.java,
3866 java/util/MissingResourceException.java,
3867 java/util/NoSuchElementException.java,
3868 java/util/Observable.java,
3869 java/util/Observer.java,
3870 java/util/Properties.java,
3871 java/util/PropertyPermissionCollection.java,
3872 java/util/RandomAccess.java,
3874 java/util/SortedMap.java,
3875 java/util/SortedSet.java,
3876 java/util/Stack.java,
3877 java/util/StringTokenizer.java,
3878 java/util/TooManyListenersException.java,
3879 java/util/TreeMap.java,
3880 java/util/TreeSet.java,
3881 java/util/Vector.java,
3882 java/util/logging/FileHandler.java,
3883 java/util/logging/Level.java,
3884 java/util/prefs/BackingStoreException.java,
3885 java/util/prefs/InvalidPreferencesFormatException.java,
3886 java/util/prefs/Preferences.java,
3887 javax/accessibility/Accessible.java,
3888 javax/accessibility/AccessibleAction.java,
3889 javax/accessibility/AccessibleBundle.java,
3890 javax/accessibility/AccessibleComponent.java,
3891 javax/accessibility/AccessibleContext.java,
3892 javax/accessibility/AccessibleEditableText.java,
3893 javax/accessibility/AccessibleExtendedComponent.java,
3894 javax/accessibility/AccessibleExtendedTable.java,
3895 javax/accessibility/AccessibleHyperlink.java,
3896 javax/accessibility/AccessibleHypertext.java,
3897 javax/accessibility/AccessibleIcon.java,
3898 javax/accessibility/AccessibleKeyBinding.java,
3899 javax/accessibility/AccessibleRelation.java,
3900 javax/accessibility/AccessibleRelationSet.java,
3901 javax/accessibility/AccessibleResourceBundle.java,
3902 javax/accessibility/AccessibleRole.java,
3903 javax/accessibility/AccessibleSelection.java,
3904 javax/accessibility/AccessibleState.java,
3905 javax/accessibility/AccessibleStateSet.java,
3906 javax/accessibility/AccessibleTable.java,
3907 javax/accessibility/AccessibleTableModelChange.java,
3908 javax/accessibility/AccessibleText.java,
3909 javax/accessibility/AccessibleValue.java,
3910 javax/imageio/IIOException.java,
3911 javax/imageio/ImageIO.java,
3912 javax/imageio/spi/IIOServiceProvider.java,
3913 javax/imageio/spi/ImageInputStreamSpi.java,
3914 javax/imageio/spi/ImageOutputStreamSpi.java,
3915 javax/imageio/spi/ImageReaderWriterSpi.java,
3916 javax/imageio/spi/ImageTranscoderSpi.java,
3917 javax/imageio/spi/RegisterableService.java,
3918 javax/imageio/spi/ServiceRegistry.java,
3919 javax/imageio/stream/IIOByteBuffer.java,
3920 javax/imageio/stream/ImageInputStream.java,
3921 javax/imageio/stream/ImageOutputStream.java,
3922 javax/naming/Binding.java,
3923 javax/naming/CannotProceedException.java,
3924 javax/naming/CompositeName.java,
3925 javax/naming/CompoundName.java,
3926 javax/naming/LinkException.java,
3927 javax/naming/LinkRef.java,
3928 javax/naming/NameClassPair.java,
3929 javax/naming/Reference.java,
3930 javax/naming/ReferralException.java,
3931 javax/naming/directory/Attribute.java,
3932 javax/naming/directory/AttributeModificationException.java,
3933 javax/naming/directory/Attributes.java,
3934 javax/naming/directory/DirContext.java,
3935 javax/naming/directory/ModificationItem.java,
3936 javax/naming/directory/SearchControls.java,
3937 javax/naming/directory/SearchResult.java,
3938 javax/naming/event/EventContext.java,
3939 javax/naming/event/EventDirContext.java,
3940 javax/naming/event/NamespaceChangeListener.java,
3941 javax/naming/event/NamingExceptionEvent.java,
3942 javax/naming/event/NamingListener.java,
3943 javax/naming/event/ObjectChangeListener.java,
3944 javax/naming/ldap/Control.java,
3945 javax/naming/ldap/ExtendedResponse.java,
3946 javax/naming/ldap/HasControls.java,
3947 javax/naming/ldap/LdapContext.java,
3948 javax/naming/ldap/UnsolicitedNotification.java,
3949 javax/naming/ldap/UnsolicitedNotificationEvent.java,
3950 javax/naming/ldap/UnsolicitedNotificationListener.java,
3951 javax/naming/spi/DirectoryManager.java,
3952 javax/naming/spi/ResolveResult.java,
3953 javax/naming/spi/Resolver.java,
3954 javax/security/auth/callback/Callback.java,
3955 javax/security/auth/callback/CallbackHandler.java,
3956 javax/security/auth/callback/ChoiceCallback.java,
3957 javax/security/auth/callback/ConfirmationCallback.java,
3958 javax/security/auth/callback/LanguageCallback.java,
3959 javax/security/auth/callback/NameCallback.java,
3960 javax/security/auth/callback/PasswordCallback.java,
3961 javax/security/auth/callback/TextInputCallback.java,
3962 javax/security/auth/callback/TextOutputCallback.java,
3963 javax/security/auth/callback/UnsupportedCallbackException.java,
3964 javax/security/sasl/Sasl.java,
3965 javax/security/sasl/SaslServerFactory.java,
3966 javax/swing/DefaultBoundedRangeModel.java,
3967 javax/swing/JComponent.java,
3968 javax/swing/JList.java,
3969 javax/swing/JProgressBar.java,
3970 javax/swing/JRadioButton.java,
3971 javax/swing/JTextArea.java,
3972 javax/swing/JTextField.java,
3973 javax/swing/JToggleButton.java,
3974 javax/swing/JTree.java,
3975 javax/swing/SpinnerListModel.java,
3976 javax/swing/event/EventListenerList.java,
3977 javax/swing/text/JTextComponent.java,
3978 javax/swing/text/StringContent.java,
3979 javax/swing/text/Utilities.java,
3980 javax/swing/undo/UndoManager.java,
3981 javax/swing/undo/UndoableEditSupport.java,
3982 javax/transaction/HeuristicCommitException.java,
3983 javax/transaction/HeuristicMixedException.java,
3984 javax/transaction/HeuristicRollbackException.java,
3985 javax/transaction/InvalidTransactionException.java,
3986 javax/transaction/NotSupportedException.java,
3987 javax/transaction/RollbackException.java,
3988 javax/transaction/Status.java,
3989 javax/transaction/Synchronization.java,
3990 javax/transaction/SystemException.java,
3991 javax/transaction/Transaction.java,
3992 javax/transaction/TransactionManager.java,
3993 javax/transaction/TransactionRequiredException.java,
3994 javax/transaction/TransactionRolledbackException.java,
3995 javax/transaction/UserTransaction.java,
3996 javax/transaction/xa/XAException.java,
3997 javax/transaction/xa/XAResource.java,
3998 javax/transaction/xa/Xid.java,
3999 javax/xml/XMLConstants.java,
4000 javax/xml/datatype/DatatypeConfigurationException.java,
4001 javax/xml/datatype/DatatypeConstants.java,
4002 javax/xml/datatype/DatatypeFactory.java,
4003 javax/xml/datatype/Duration.java,
4004 javax/xml/datatype/XMLGregorianCalendar.java,
4005 javax/xml/namespace/NamespaceContext.java,
4006 javax/xml/namespace/QName.java,
4007 javax/xml/parsers/DocumentBuilder.java,
4008 javax/xml/parsers/DocumentBuilderFactory.java,
4009 javax/xml/parsers/FactoryConfigurationError.java,
4010 javax/xml/parsers/ParserConfigurationException.java,
4011 javax/xml/parsers/SAXParser.java,
4012 javax/xml/parsers/SAXParserFactory.java,
4013 javax/xml/transform/ErrorListener.java,
4014 javax/xml/transform/OutputKeys.java,
4015 javax/xml/transform/Result.java,
4016 javax/xml/transform/Source.java,
4017 javax/xml/transform/SourceLocator.java,
4018 javax/xml/transform/Templates.java,
4019 javax/xml/transform/Transformer.java,
4020 javax/xml/transform/TransformerConfigurationException.java,
4021 javax/xml/transform/TransformerException.java,
4022 javax/xml/transform/TransformerFactory.java,
4023 javax/xml/transform/TransformerFactoryConfigurationError.java,
4024 javax/xml/transform/URIResolver.java,
4025 javax/xml/transform/dom/DOMLocator.java,
4026 javax/xml/transform/dom/DOMResult.java,
4027 javax/xml/transform/dom/DOMSource.java,
4028 javax/xml/transform/sax/SAXResult.java,
4029 javax/xml/transform/sax/SAXSource.java,
4030 javax/xml/transform/sax/SAXTransformerFactory.java,
4031 javax/xml/transform/sax/TemplatesHandler.java,
4032 javax/xml/transform/sax/TransformerHandler.java,
4033 javax/xml/transform/stream/StreamResult.java,
4034 javax/xml/transform/stream/StreamSource.java,
4035 javax/xml/validation/Schema.java,
4036 javax/xml/validation/SchemaFactory.java,
4037 javax/xml/validation/TypeInfoProvider.java,
4038 javax/xml/validation/Validator.java,
4039 javax/xml/validation/ValidatorHandler.java,
4040 javax/xml/xpath/XPathConstants.java,
4041 javax/xml/xpath/XPathException.java,
4042 javax/xml/xpath/XPathExpression.java,
4043 javax/xml/xpath/XPathExpressionException.java,
4044 javax/xml/xpath/XPathFactory.java,
4045 javax/xml/xpath/XPathFactoryConfigurationException.java,
4046 javax/xml/xpath/XPathFunction.java,
4047 javax/xml/xpath/XPathFunctionException.java,
4048 javax/xml/xpath/XPathFunctionResolver.java:
4049 Fixed usage of @author tag, reworked import statements,
4050 removed CVS tags, changed the modifier order and fixed
4051 HTML usage in javadocs.
4053 2005-02-16 Julian Scheid <julian@sektor37.de>
4055 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4057 (encodeLoop): Likewise.
4059 2005-02-16 Mark Wielaard <mark@klomp.org>
4061 * Makefile.am (ordinary_java_source_files): Add new files
4062 gnu/java/security/ber/BER.java,
4063 gnu/java/security/ber/BEREncodingException.java,
4064 gnu/java/security/ber/BERReader.java,
4065 gnu/java/security/ber/BERValue.java,
4066 gnu/java/security/pkcs/PKCS7SignedData.java and
4067 gnu/java/security/pkcs/SignerInfo.java.
4068 * Makefile.in: Regenerated.
4070 2005-02-16 Casey Marshall <csm@gnu.org>
4072 * gnu/java/security/provider/GnuDSAPrivateKey.java
4073 (encodedKey): new field.
4074 (getFormat): return "PKCS#8".
4075 (getEncoded): implemented.
4076 (toString): check for 'null' values.
4077 * gnu/java/security/provider/GnuDSAPublicKey.java
4078 (encodedKey): new field.
4079 (getFormat): return "X.509".
4080 (getEncoded): implemented.
4081 (toString): check for 'null' values.
4083 2005-02-16 Michael Koch <konqueror@gmx.de>
4085 * java/util/jar/JarFile.java: Imports reworked.
4087 2005-02-16 Mark Wielaard <mark@klomp.org>
4089 * java/util/jar/JarFile.java (verify): Make package private.
4090 (signaturesRead): Likewise.
4091 (verified): Likewise.
4092 (entryCerts): Likewise.
4095 (entries): Construct new JarEnumeration with reference to this.
4096 (JarEnumeration): Make static.
4097 (JarEnumeration.jarfile): New field.
4098 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4099 Compare verified value to Boolean.TRUE or Boolean.False only
4100 when verify is true.
4101 (getEntry): Make synchronized. Compare value of verified to
4103 (getInputStream): Construct EntryInputStream with reference to this.
4104 (getManifest): Make synchronized.
4105 (EntryInputStream): Make static.
4106 (EntryInputStream.jarfile): New field.
4107 (EntryInputStream.EntryInputStream): Check if manifest exists,
4108 before getting attributes.
4109 (eof): Synchronize on jarfile.
4111 2005-02-16 Casey Marshall <csm@gnu.org>
4113 * java/util/jar/JarFile.java (verify): return if the jar is signed
4114 with an unsupported algorithm.
4116 2005-02-16 Mark Wielaard <mark@klomp.org>
4118 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4119 InputStream as argument.
4120 (getInputStream): Construct a new EntryInputStream with the result of
4121 super.getInputStream(entry).
4123 2005-02-16 Casey Marshall <csm@gnu.org>
4125 Signed JAR file support.
4126 * java/net/URLClassLoader.java
4127 (JarURLResource.getCertificates): re-read jar entry to ensure
4128 certificates are picked up.
4129 (findClass): fill in class `signers' field, too.
4130 * java/util/jar/JarFile.java (META_INF): new constant.
4131 (PKCS7_DSA_SUFFIX): new constant.
4132 (PKCS7_RSA_SUFFIX): new constant.
4133 (DIGEST_KEY_SUFFIX): new constant.
4134 (SF_SUFFIX): new constant.
4135 (MD2_OID): new constant.
4136 (MD4_OID): new constant.
4137 (MD5_OID): new constant.
4138 (SHA1_OID): new constant.
4139 (DSA_ENCRYPTION_OID): new constant.
4140 (RSA_ENCRYPTION_OID): new constant.
4141 (signaturesRead): new field.
4142 (verified): new field.
4143 (entryCerts): new field.
4144 (DEBUG): new constant.
4145 (debug): new method.
4146 (JarEnumeration.nextElement): fill in entry certificates, read
4147 signatures if they haven't been read.
4148 (getEntry): likewise.
4149 (getInputStream): verify stream if it hasn't been verified yet.
4150 (readSignatures): new method.
4151 (verify): new method.
4152 (verifyHashes): new method.
4153 (readManifestEntry): new method.
4154 (EntryInputStream): new class.
4155 * gnu/java/io/Base64InputStream.java (decode): new class
4157 * gnu/java/security/der/DERReader.java don't make class
4159 (in): made protected.
4161 (readLength): likewise.
4162 * gnu/java/security/ber/BER.java,
4163 * gnu/java/security/ber/BEREncodingException.java,
4164 * gnu/java/security/ber/BERReader.java,
4165 * gnu/java/security/ber/BERValue.java,
4166 * gnu/java/security/pkcs/PKCS7SignedData.java,
4167 * gnu/java/security/pkcs/SignerInfo.java:
4170 2005-02-16 Tom Tromey <tromey@redhat.com>
4172 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4173 copied file on exit.
4175 2005-02-15 Mark Wielaard <mark@klomp.org>
4177 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4179 2005-02-15 Michael Koch <konqueror@gmx.de>
4181 * gnu/java/awt/peer/gtk/GtkArg.java,
4182 gnu/java/awt/peer/gtk/GtkArgList.java:
4185 2005-02-15 Craig Black <craig.black@aonix.com>
4187 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4188 (postMenuActionEvent): Implement to notify ItemListeners.
4189 * java/awt/CheckboxMenuItem.java
4190 (dispatchEventImpl): Update state on ItemEvent.
4191 * java/awt/MenuItem.java
4192 (processActionEvent): Retarget event source.
4194 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4196 * gnu/java/awt/color/ClutProfileConverter.java,
4197 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4198 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4199 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4200 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4201 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4202 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4203 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4204 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4205 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4206 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4207 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4208 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4209 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4210 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4211 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4212 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4213 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4214 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4215 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4216 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4217 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4218 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4219 gnu/java/awt/peer/gtk/GtkToolkit.java,
4220 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4221 javax/swing/JPopupMenu.java,
4222 javax/swing/JSpinner.java,
4223 javax/swing/SortingFocusTraversalPolicy.java,
4224 javax/swing/SwingUtilities.java,
4225 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4226 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4227 javax/swing/tree/DefaultMutableTreeNode.java:
4228 Removed unused imports and expanded starred
4231 2005-02-15 Mark Wielaard <mark@klomp.org>
4233 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4234 IllegalArgumentException when the given String is null.
4236 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4237 when given keystoke sequence cannot be parsed.
4239 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4240 if one is installed. Only install the given menubar is not null.
4242 * javax/swing/JViewport.java (getViewSize): Return an empty
4243 Dimension when the view isn't set or preferred component size when
4246 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4247 empty Dimension when there is no view set.
4248 (minimumLayoutSize): Likewise.
4249 (layoutContainer): Don't try to layout when there is no view.
4251 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4254 * include/jawt.h: Likewise.
4255 * include/jawt_md.h: Likewise.
4256 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4258 * jni/classpath/classpath_jawt.h: Likewise.
4259 * jni/gtk-peer/gtk_jawt.c: Likewise.
4260 * Makefile.am: Build libjawt.so.
4262 2005-02-15 Michael Koch <konqueror@gmx.de>
4264 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4265 Merged file header with classpath CVS head.
4266 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4267 Merged code formatting with classpath CVS head.
4268 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4270 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4271 Handle special JNI strings with 2 '\0' at the end.
4272 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4273 Merged file header with classpath CVS head.
4274 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4275 Merged code formatting with classpath CVS head.
4277 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4279 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4280 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4281 (handle_response): Use GTK_RESPONSE_ACCEPT.
4283 2005-02-15 Graydon Hoare <graydon@redhat.com>
4285 * Makefile.am: Fix library build breakage.
4286 * Makefile.in: Regenerate.
4288 2005-02-15 Michael Koch <konqueror@gmx.de>
4290 * javax/swing/JTabbedPane.java
4291 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4293 2005-02-15 Michael Koch <konqueror@gmx.de>
4295 * javax/swing/tree/DefaultMutableTreeNode.java:
4296 Reworked Javadocs all over.
4297 (getPathToRoot): Fixed direction of result array initialization.
4299 2005-02-15 Michael Koch <konqueror@gmx.de>
4301 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4302 Fix includes for cairo 0.3.0 snappshot.
4303 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4304 Merged file header from classpath CVS HEAD.
4306 2005-02-15 Craig Black <craig.black@aonix.com>
4308 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4309 (copyState): Pass a JNI global reference to signal handler.
4310 (realize_cb): Use and free JNI global reference.
4311 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4312 (create): Pass a JNI global reference to signal handler.
4313 (selection_changed): Match declaration.
4314 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4315 (dispose): Do not remove entries from state tables until after widget is
4318 2005-02-15 Michael Koch <konqueror@gmx.de>
4320 * java/awt/Container.javai (paramString):
4321 If layoutMgr is null just return result of super.paramString().
4322 * java/awt/Scrollbar.java: Reformatted.
4323 * java/awt/im/InputContext.java (static):
4324 Removed redundant initializations.
4326 2005-02-15 Michael Koch <konqueror@gmx.de>
4328 * javax/swing/ImageIcon.java,
4329 javax/swing/UIManager.java,
4330 javax/swing/text/EditorKit.java,
4331 javax/swing/text/Segment.java:
4332 More whitespace cleanups.
4334 2005-02-15 Michael Koch <konqueror@gmx.de>
4336 * gnu/java/awt/EmbeddedWindow.java,
4337 gnu/java/awt/image/ImageDecoder.java,
4338 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4339 java/awt/DefaultKeyboardFocusManager.java,
4340 java/awt/Frame.java,
4341 java/awt/image/RGBImageFilter.java,
4342 javax/swing/AbstractButton.java,
4343 javax/swing/ActionMap.java,
4344 javax/swing/ComponentInputMap.java,
4345 javax/swing/DefaultDesktopManager.java,
4346 javax/swing/ImageIcon.java,
4347 javax/swing/InputMap.java,
4348 javax/swing/JButton.java,
4349 javax/swing/JCheckBox.java,
4350 javax/swing/JCheckBoxMenuItem.java,
4351 javax/swing/JEditorPane.java,
4352 javax/swing/JMenu.java,
4353 javax/swing/JMenuItem.java,
4354 javax/swing/JOptionPane.java,
4355 javax/swing/JRootPane.java,
4356 javax/swing/JTable.java,
4357 javax/swing/MenuSelectionManager.java,
4358 javax/swing/RepaintManager.java,
4359 javax/swing/ScrollPaneLayout.java,
4360 javax/swing/SortingFocusTraversalPolicy.java,
4361 javax/swing/UIManager.java,
4362 javax/swing/ViewportLayout.java,
4363 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4364 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4365 javax/swing/plaf/basic/BasicLabelUI.java,
4366 javax/swing/plaf/basic/BasicListUI.java,
4367 javax/swing/plaf/basic/BasicMenuItemUI.java,
4368 javax/swing/plaf/basic/BasicMenuUI.java,
4369 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4370 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4371 javax/swing/plaf/basic/BasicRootPaneUI.java,
4372 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4373 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4374 javax/swing/plaf/basic/BasicTextUI.java,
4375 javax/swing/table/TableColumnModel.java,
4376 javax/swing/text/AbstractDocument.java,
4377 javax/swing/text/EditorKit.java,
4378 javax/swing/text/Position.java,
4379 javax/swing/text/Segment.java,
4380 javax/swing/text/StyledEditorKit.java,
4381 javax/swing/text/ViewFactory.java:
4382 Cleanup whitespace differences to classpath CVS HEAD.
4384 2005-02-15 Graydon Hoare <graydon@redhat.com>
4386 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4387 (finalize): Call finish from here.
4388 (produce): Not from here.
4389 * Makefile.am (gtk_c_source_files):
4390 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4391 * Makefile.in: Regenerate.
4392 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4394 (cairoDrawGdkTextLayout):
4396 (getPeerTextMetrics):
4397 (getPeerFontMetrics): Remove.
4398 (setFont): Don't call cairoSetFont.
4399 (cairoDrawGlyphVector): Accept font peer argument.
4400 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4401 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4402 (ensure_metrics_cairo):
4403 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4404 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4405 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4406 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4408 (metrics_surface): Remove.
4409 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4410 Pass and install font peer.
4412 2005-02-15 Graydon Hoare <graydon@redhat.com>
4414 * Makefile.am: Create "split library" structure.
4415 * Makefile.in: Regenerate.
4417 2005-02-15 Graydon Hoare <graydon@redhat.com>
4419 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4420 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4421 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4422 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4423 Release GDK lock during upcalls.
4425 2005-02-15 Graydon Hoare <graydon@redhat.com>
4427 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
4428 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
4429 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4430 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
4431 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
4432 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
4433 * gnu/java/awt/peer/gtk/GdkFontPeer.java
4436 (getTextMetrics): New native methods.
4437 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
4438 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
4439 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
4440 * Makefile.in: Regenerate.
4442 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4444 * javax/swing/SwingUtilities.java:
4445 (getAccessibleAt(java.awt.Component, java.awt.Point)):
4446 Implemented and documented.
4447 (getAccessibleChild(java.awt.Component, int)): Likewise.
4448 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
4449 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
4450 (getAccessibleStateSet(java.awt.Component)): Likewise.
4452 2005-02-15 Michael Koch <konqueror@gmx.de>
4454 * javax/swing/SwingUtilities.java
4455 (getFontMetrics): Removed.
4457 2005-02-15 Michael Koch <konqueror@gmx.de>
4459 * java/awt/Container.java
4460 (paramString): Implemented.
4461 * javax/swing/AbstractButton.java
4462 (paramString): Implemented.
4463 * javax/swing/JComponent.java
4464 (paramString): Implemented.
4465 * javax/swing/JMenu.java
4466 (paramString): Implemented.
4467 * javax/swing/JMenuBar.java
4468 (paramString): Implemented.
4469 * javax/swing/JMenuItem.java
4470 (paramString): Implemented.
4471 * javax/swing/JPopupMenu.java
4472 (paramString): Implemented.
4474 2005-02-15 Michael Koch <konqueror@gmx.de>
4476 * javax/swing/JMenu.java
4477 (uiClassID): Removed.
4478 (JMenu): Set invoker on popup menu.
4479 (getUIClassID): Return id directly.
4480 (getItemCount): Simply return getMenuComponentCount().
4482 (isTopLevelMenu): Simplified.
4483 * javax/swing/JMenuItem.java
4484 (uiClassID): Removed.
4485 (getUIClassID): Return id directly.
4486 * javax/swing/JPopupMenu.java
4487 (uiClassID): Removed.
4488 (JPopupMenu): Always initialize correctly.
4489 (getSubElements): Only return components implementing MenuElement
4491 (HeavyWeightPopup.hide): Removed.
4493 2005-02-15 Michael Koch <konqueror@gmx.de>
4495 * java/awt/image/ReplicateScaleFilter.java
4496 (replicatePixels): Made private.
4497 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
4498 (DefaultRGBChooserPanel): Made package private.
4499 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
4500 (RecentSwatchPanel): Likewise.
4501 * javax/swing/event/MouseInputAdapter.java: Reformatted.
4502 (MouseInputAdapter): Made abstract.
4503 * javax/swing/tree/DefaultMutableTreeNode.java
4505 (growTree): Likewise.
4507 2005-02-15 Michael Koch <konqueror@gmx.de>
4509 * java/awt/dnd/DropTarget.java (addDropTargetListener):
4512 2005-02-15 Michael Koch <konqueror@gmx.de>
4514 * javax/swing/JComponent.java (getComponentGraphics):
4515 Removed accidently commited code.
4517 2005-02-15 Graydon Hoare <graydon@redhat.com>
4519 * java/awt/dnd/DropTarget.java
4520 (addDropTargetListener): Despite documentation, do not throw.
4521 * javax/swing/JComponent.java: Set a default DropTarget.
4523 2005-02-15 Michael Koch <konqueror@gmx.de>
4525 * javax/swing/AbstractAction.java
4526 (ENABLED_PROPERTY): Removed.
4527 (setEnabled): Replaced constant with real string.
4528 * javax/swing/AbstractButton.java
4529 (createActionPropertyChangeListener.propertyChange): Likewise.
4530 * javax/swing/JComboBox.java
4531 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
4532 (EDITABLE_CHANGED_PROPERTY): Removed.
4533 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
4534 (ENABLED_CHANGED_PROPERTY):Likewise.
4535 (RENDERER_CHANGED_PROPERTY):Likewise.
4536 (EDITOR_CHANGED_PROPERTY):Likewise.
4537 (MODEL_CHANGED_PROPERTY):Likewise.
4538 (uiClassID):Likewise.
4539 (getUIClassID): Replaced constant with real string.
4540 (setModel):Likewise.
4541 (setEditable):Likewise.
4542 (setMaximumRowCount):Likewise.
4543 (setRenderer):Likewise.
4544 (setEditor):Likewise.
4545 (setEnabled):Likewise.
4546 * javax/swing/JLabel.java
4547 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
4548 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
4549 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
4550 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
4551 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
4552 (ICON_CHANGED_PROPERTY): Likewise.
4553 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
4554 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
4555 (TEXT_CHANGED_PROPERTY): Likewise.
4556 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
4557 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
4558 (setText): Replaced constant with real string.
4559 (setIcon): Likewise.
4560 (setDisabledIcon): Likewise.
4561 (setDisplayedMnemonic): Likewise.
4562 (setIconTextGap): Likewise.
4563 (setVerticalAlignment): Likewise.
4564 (setHorizontalAlignment): Likewise.
4565 (setVerticalTextPosition): Likewise.
4566 (setHorizontalTextPosition): Likewise.
4567 (setLabelFor): Replaced constant with real string.
4568 Fire property change event after property got changed.
4569 * javax/swing/JList.java
4570 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
4571 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
4572 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
4573 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
4574 (MODEL_PROPERTY_CHANGED): Likewise.
4575 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
4576 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
4577 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
4578 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
4579 (setFixedCellWidth): Reimplemented.
4580 (setFixedCellHeight): Exit if new value is identical.
4581 Replaced constant with real string.
4582 (setSelectionBackground): Likewise.
4583 (setSelectionForeground): Likewise.
4584 (setPrototypeCellValue): Likewise.
4585 (setCellRenderer): Replaced constant with real string.
4586 (setModel): Likewise.
4587 (setSelectionModel): Likewise.
4588 * javax/swing/JMenuBar.java
4589 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
4590 (MODEL_CHANGED_PROPERTY): Likewise.
4591 (MARGIN_CHANGED_PROPERTY): Likewise.
4592 (setBorderPainted): Reimplemented.
4593 (setMargin): Likewise.
4594 (setSelectionModel): Replaced constant with real string.
4595 * javax/swing/JPopupMenu.java
4596 (LABEL_CHANGED_PROPERTY): Removed.
4597 (VISIBLE_CHANGED_PROPERTY): Likewise.
4598 (borderPainted): Likewise.
4599 (setLabel): Replaced constant with real string.
4600 (setVisible): Exit if new value is identical.
4601 Replaced constant with real string.
4602 * javax/swing/JProgressBar.java
4603 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
4604 (ORIENTATION_CHANGED_PROPERTY): Likewise.
4605 (STRING_CHANGED_PROPERTY): Likewise.
4606 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
4607 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
4608 (setOrientation): Replaced constant with real string.
4609 (setStringPainted): Likewise.
4610 (setString): Likewise.
4611 (setBorderPainted): Likewise.
4612 (setIndeterminate): Likewise.
4613 * javax/swing/JScrollBar.java
4614 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
4615 (MODEL_CHANGED_PROPERTY): Likewise.
4616 (ORIENTATION_CHANGED_PROPERTY): Likewise.
4617 (setOrientation): Replaced constant with real string.
4618 (setModel): Likewise.
4619 (setUnitIncrement): Likewise.
4620 (setBlockIncrement): Likewise.
4621 * javax/swing/JScrollPane.java
4622 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
4623 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
4624 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
4625 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
4626 (LAYOUT_CHANGED_PROPERTY): Likewise.
4627 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
4628 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
4629 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
4630 (VIEWPORT_CHANGED_PROPERTY): Likewise.
4631 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
4632 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
4633 (setComponentOrientation): Replaced constant with real string.
4634 (setColumnHeader): Likewise.
4635 (setHorizontalScrollBar): Likewise.
4636 (setHorizontalScrollBarPolicy): Likewise.
4637 (setRowHeader): Likewise.
4638 (setVerticalScrollBar): Likewise.
4639 (setVerticalScrollBarPolicy): Likewise.
4640 (setWheelScrollingEnabled): Likewise.
4641 (setViewport): Likewise.
4642 (setViewportBorder): Likewise.
4643 * javax/swing/JSlider.java
4644 (INVERTED_CHANGED_PROPERTY): Removed.
4645 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
4646 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
4647 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
4648 (MODEL_CHANGED_PROPERTY): Likewise.
4649 (ORIENTATION_CHANGED_PROPERTY): Likewise.
4650 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
4651 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
4652 (setModel): Replaced constant with real string.
4653 (setOrientation): Likewise.
4654 (setLabelTable): Likewise.
4655 (setInverted): Likewise.
4656 (setMajorTickSpacing): Likewise.
4657 (setMinorTickSpacing): Likewise.
4658 (setPaintTicks): Likewise.
4659 (setPaintLabels): Likewise.
4660 * javax/swing/JTabbedPane.java
4661 (MODEL_CHANGED_PROPERTY): Removed.
4662 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
4663 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
4664 (setModel): Replaced constant with real string.
4665 (setTabPlacement): Likewise.
4666 (setTabLayoutPolicy): Likewise.
4667 * javax/swing/JToolBar.java
4668 (ORIENTATION_CHANGED_PROPERTY): Removed.
4669 (FLOATABLE_CHANGED_PROPERTY): Likewise.
4670 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
4671 (MARGIN_CHANGED_PROPERTY): Likewise.
4672 (ROLLOVER_CHANGED_PROPERTY): Likewise.
4673 (setRollover): Replaced constant with real string.
4674 (setMargin): Likewise.
4675 (setBorderPainted): Likewise.
4676 (setFloatable): Likewise.
4677 (setOrientation): Likewise.
4678 * javax/swing/plaf/basic/BasicComboBoxUI.java
4679 (PropertyChangeHandler.propertyChange): Likewise.
4680 * javax/swing/plaf/basic/BasicComboPopup.java
4681 (PropertyChangeHandler.propertyChange): Likewise.
4682 * javax/swing/plaf/basic/BasicMenuBarUI.java
4683 (PropertyChangeHandler.propertyChange): Likewise.
4684 * javax/swing/plaf/basic/BasicProgressBarUI.java
4685 (PropertyChangeHandler.propertyChange): Likewise.
4686 * javax/swing/plaf/basic/BasicScrollBarUI.java
4687 (PropertyChangeHandler.propertyChange): Likewise.
4688 * javax/swing/plaf/basic/BasicSliderUI.java
4689 (PropertyChangeHandler.propertyChange): Likewise.
4690 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4691 (PropertyChangeHandler.propertyChange): Likewise.
4692 * javax/swing/plaf/basic/BasicToolBarUI.java
4693 (PropertyChangeHandler.propertyChange): Likewise.
4695 2005-02-15 Michael Koch <konqueror@gmx.de>
4697 * javax/swing/DefaultButtonModel.java
4698 (changeState): Made private.
4699 * javax/swing/DefaultDesktopManager.java
4700 (setWasIcon): Fixed second argument to be java.lang.Boolean.
4701 * javax/swing/JLayeredPane.java
4702 (layerToRange): Made private.
4703 (incrLayer): Likewise.
4704 (decrLayer): Likewise.
4705 * javax/swing/JTable.java
4706 (dragEnabled): Likewise.
4707 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
4708 * javax/swing/KeyStroke.java
4709 (Keystroke): Made private.
4710 * javax/swing/TransferHandler.java
4711 (COMMAND_COPY): Likewise.
4712 (COMMAND_CUT): Likewise.
4713 (COMMAND_PASTE): Likewise.
4715 2005-02-15 Michael Koch <konqueror@gmx.de>
4717 * javax/swing/JTextField.java
4718 (postActionEvent): Use text in field when actionCommand is null.
4719 (getActionCommand): Removed.
4721 2005-02-15 Michael Koch <konqueror@gmx.de>
4723 * javax/swing/AbstractSet.java: Removed.
4724 * Makefile.am: Removed javax/swing/AbstractSet.java.
4725 * Makefile.in: Regenerated.
4727 2005-02-15 Michael Koch <konqueror@gmx.de>
4729 * java/awt/Window.java
4730 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
4731 * java/awt/dnd/DnDConstants.java
4732 (DnDConstants): New private constructor.
4734 2005-02-15 Michael Koch <konqueror@gmx.de>
4736 * javax/swing/DefaultCellRenderer.java: Removed.
4737 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
4738 * Makefile.in: Regenerated.
4740 2005-02-15 Michael Koch <konqueror@gmx.de>
4742 * javax/swing/AbstractButton.java
4743 (fireItemStateChanged): Made protected.
4744 (fireActionPerformed): Likewise.
4745 (fireStateChanged): Likewise.
4746 * javax/swing/DefaultButtonModel.java
4747 (fireItemStateChanged): Likewise.
4748 (fireActionPerformed): Likewise.
4749 (fireStateChanged): Likewise.
4750 * javax/swing/JApplet.java
4752 (frameInit): Likewise.
4753 (setRootPane): Made protected.
4754 (createRootPane): Likewise.
4755 * javax/swing/JComponent.java
4756 (getClientProperty): Likewise.
4757 (putClientProperty): Likewise.
4758 * javax/swing/JEditorPane.java
4759 (getContentType): Likewise.
4760 (setContentType): Likewise.
4761 * javax/swing/JFrame.java
4762 (setRootPane): Likewise.
4763 (createRootPane): Likewise.
4764 * javax/swing/JInternalFrame.java
4765 (getFocusCycleRootAncestor): Made final. Added @since tag.
4766 (isFocusCycleRoot): Likewise.
4767 (getWarningString): Made final.
4768 * javax/swing/JScrollBar.java
4769 (changeListener): Removed.
4770 (changeEvent): Likewise.
4771 (createChangeListener): Likewise.
4772 (fireStateChanged): Likewise.
4773 (addChangeListener): Likewise.
4774 (removeChangeListener): Likewise.
4775 (getChangeListeners): Likewise.
4776 * javax/swing/JScrollPane.java
4777 (createViewport): Made protected.
4778 * javax/swing/JViewport.java
4779 (addImpl): Likewise.
4780 (setBorder): New method.
4781 * javax/swing/JWindow.java
4782 (setRootPane): Made protected.
4783 (createRootPane): Likewise.
4784 * javax/swing/plaf/basic/BasicButtonUI.java
4785 (installListeners): Likewise.
4786 (uninstallListeners): Likewise.
4787 * javax/swing/plaf/basic/BasicProgressBarUI.java
4788 (incrementAnimationIndex): Likewise.
4789 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4790 (createLayoutManager): Likewise.
4791 * javax/swing/table/DefaultTableCellRenderer.java
4792 (firePropertyChange): Likewise.
4793 * javax/swing/table/JTableHeader.java
4794 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
4796 * javax/swing/text/PlainDocument.java
4797 (reindex): Made private.
4798 * javax/swing/text/PlainView.java
4799 (drawLine): Made protected.
4800 (getTabSize): Likewise.
4801 * javax/swing/text/View.java
4803 (preferenceChanged): New method.
4804 (getBreakWeight): Likewise.
4805 (breakView): Likewise.
4806 (getViewIndex): Likewise.
4808 2005-02-15 Michael Koch <konqueror@gmx.de>
4810 * javax/swing/JScrollPane.java
4811 (ScrollBar): Made class protected.
4812 * javax/swing/JSpinner.java
4813 (JSpinner): Added @since tag.
4814 (listenerList): Removed.
4815 * javax/swing/JTable.java
4816 (setValueAt): New method.
4817 (getColumn): Likewise.
4818 * javax/swing/JWindow.java
4819 (rootPaneCheckingEnabled): Renamed from checking.
4821 2005-02-15 Michael Koch <konqueror@gmx.de>
4823 * javax/swing/plaf/basic/BasicTextUI.java
4824 (RootView.modelToView): Made it public and return a java.awt.Shape.
4825 Handle null subview.
4826 (uninstall): Set textComponent to null when its not possible used
4828 * javax/swing/text/View.java
4829 (setParent): Use better argument name.
4830 (getContainer): Get parent via getParent().
4831 (getViewFactory): Likewise.
4832 (getAttributes): Get element via getElement().
4833 (getStartOffset): Likewise.
4834 (getEndOffset): Likewise.
4835 (getResizeWeight): New method.
4836 (getMaximumSpan): Likewise.
4837 (getMinimumSpan): Likewise.
4838 (setSize): Likewise.
4839 (getGraphics): Likewise.
4841 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4843 * java/awt/Checkbox.java:
4844 (AccessibleAWTCheckbox()): Added public constructor
4846 * java/awt/Choice.java:
4847 (AccessibleAWTChoice): Added class documentation.
4848 (AccessibleAWTChoice()): Added public constructor
4850 (AccessibleAWTChoice.getAccessibleAction()): Documented.
4851 (AccessibleAWTChoice.getAccessibleRole()): Documented,
4852 and changed role to COMBO_BOX.
4853 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
4854 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
4855 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
4857 2005-02-15 Graydon Hoare <graydon@redhat.com>
4858 Michael Koch <konqueror@gmx.de>
4860 * javax/swing/LayoutFocusTraversalPolicy.java,
4861 javax/swing/SortingFocusTraversalPolicy.java:
4863 * Makefile.am: Added new classes.
4864 * Makefike.in: Regenerated.
4867 2005-02-15 Michael Koch <konqueror@gmx.de>
4869 * javax/swing/DebugGraphics.java: Mostly implemented.
4871 2005-02-15 Michael Koch <konqueror@gmx.de>
4873 * javax/swing/SwingUtilities.java
4874 (findFocusOwner): New method.
4876 2005-02-15 Michael Koch <konqueror@gmx.de>
4878 * javax/swing/text/DefaultEditorKit.java
4879 (read): Added '\n' after each line.
4880 * javax/swing/text/PlainView.java
4881 (modelToView): Update metrics.
4882 (drawLine): Use offsets from element.
4883 (paint): Update metrics. Draw all lines.
4885 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4887 * java/awt/Checkbox.java:
4888 (AccessibleAWTCheckbox): Added class documentation
4889 * java/awt/Scrollbar.java:
4890 (AccessibleAWTScrollBar): typo corrected and docs added
4891 (AccessibleAWTScrollBar.getAccessibleRole()): documented
4892 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
4893 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
4894 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
4895 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
4896 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
4897 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
4898 (getAccessibleContext()): name of accessible class corrected
4900 2005-02-15 Mark Wielaard <mark@klomp.org>
4902 * java/awt/BasicStroke.java (hashCode): Implement.
4905 2005-02-15 Michael Koch <konqueror@gmx.de>
4907 * java/awt/print/PrinterJob.java
4908 (pageDialog): Throws java.awt.HeadlessException.
4909 (printDialog): Likewise.
4911 2005-02-15 Mark Wielaard <mark@klomp.org>
4913 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
4915 2005-02-15 Michael Koch <konqueror@gmx.de>
4917 * javax/swing/JTable.java
4918 (getValueAt): New method.
4919 * javax/swing/table/JTableHeader.java
4920 (columnAtPoint): New method.
4922 2005-02-15 Michael Koch <konqueror@gmx.de>
4924 * javax/swing/JTextField.java
4925 (actions): New field.
4926 (static): Initalize actions field.
4927 (getActions): New method.
4929 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4931 * java/awt/Checkbox.java:
4932 (AccessibleAWTCheckbox): name capitalization corrected
4933 and serialization UID added.
4934 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
4936 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
4937 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
4938 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
4939 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
4940 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
4941 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
4942 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
4943 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
4944 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
4945 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
4946 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
4948 (getAccessibleContext()): name of accessible class corrected
4950 2005-02-15 Sven de Marothy <sven@physto.se>
4952 * java/awt/geom/doc-files/Area-1.png,
4953 java/awt/geom/doc-files/Ellipse-1.png,
4954 java/awt/geom/doc-files/GeneralPath-1.png:
4957 2005-02-15 Graydon Hoare <graydon@redhat.com>
4959 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
4960 Use union to avoid type-punning warning.
4962 2005-02-15 Michael Koch <konqueror@gmx.de>
4964 * javax/swing/DefaultListSelectionModel.java
4965 (clone): New method.
4967 2005-02-15 Mark Wielaard <mark@klomp.org>
4969 Reported by Martin Platter <motse@complang.tuwien.ac.at>
4970 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4971 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
4972 Correct method signature of gtkSetFilename.
4974 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
4976 * javax/swing/text/StringContent.java: New file.
4978 2005-02-15 Michael Koch <konqueror@gmx.de>
4980 * Makefile.am: Added javax/swing/text/StringContent.java.
4981 * Makefile.in: Regenerated.
4983 2005-02-15 Michael Koch <konqueror@gmx.de>
4985 * gnu/java/awt/ClasspathToolkit.java:
4986 Import statements reworked.
4987 (imageCache): Made it of type java.util.HashMap.
4989 2005-02-15 Michael Koch <konqueror@gmx.de>
4991 * javax/imageio/stream/MemoryCacheImageInputStream.java:
4992 Reworked import statements.
4994 2005-02-15 Graydon Hoare <graydon@redhat.com>
4996 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
4997 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
4998 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
4999 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5000 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5001 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5002 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5003 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5004 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5005 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5006 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5007 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5008 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5009 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5010 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5011 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5012 Rewrite uses of extern variable to be function calls.
5013 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5014 function, from extern variable.
5015 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5016 (gdk_env): Remove variable, add new function.
5017 (java_vm): Add new variable.
5018 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5019 java_vm rather than old gdk_env variable.
5021 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5023 * javax/swing/DefaultListModel.java
5024 (add): fire correct event,
5025 (addElement): corrected interval indices in event,
5026 (clear): corrected upper bound for interval, only fire event if
5028 (setSize): fire appropriate event.
5030 2005-02-15 Graydon Hoare <graydon@redhat.com>
5032 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5033 * gnu/awt/xlib/XToolkit.java: Likewise.
5034 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5035 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5036 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5037 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5038 * java/awt/EventQueue.java (getNextEvent):
5039 Adjust event loop to switch to native mode after 100ms.
5040 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5041 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5042 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5043 Wake up event thread.
5044 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5045 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5046 Adjust event loop to switch to java mode after 100ms.
5048 2005-02-15 Graydon Hoare <graydon@redhat.com>
5050 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5051 accidentally removed in last change.
5053 2005-02-15 Michael Koch <konqueror@gmx.de>
5055 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5056 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5058 2005-02-15 Graydon Hoare <graydon@redhat.com>
5060 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5061 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5062 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5063 * jni.cc: Reuse bottom frame between calls, avoid clearing
5064 frame when no local references are made.
5066 2005-02-15 Michael Koch <konqueror@gmx.de>
5068 * javax/swing/UIDefaults.java (UIDefaults):
5069 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5070 Fixed HTML entity and removed a redundant comma.
5072 2005-02-15 Michael Koch <konqueror@gmx.de>
5074 * javax/swing/text/DefaultEditorKit.java
5075 (deinstall): Removed.
5076 (install): Likewise.
5078 2005-02-15 Michael Koch <konqueror@gmx.de>
5080 * javax/swing/UIDefaults.java (put): Handle value of null.
5082 2005-02-15 Michael Koch <konqueror@gmx.de>
5084 * java/awt/Robot.java,
5085 java/awt/Scrollbar.java,
5086 java/awt/print/PrinterJob.java,
5087 javax/swing/JTable.java,
5088 javax/swing/text/AbstractDocument.java:
5089 Reworked import statements.
5091 2005-02-15 Michael Koch <konqueror@gmx.de>
5093 * javax/swing/JEditorPane.java
5094 (read): Implemented.
5096 * javax/swing/text/DefaultEditorKit.java
5097 (page): Renamed from page_url. Made private.
5098 (editorKit): Renamed from kit. Made private.
5100 (JEditorPane): All constructors reimplemented.
5101 (getContentType): Use content type from editor kit.
5102 (getEditorKit): Return editorKit.
5103 (getEditorKitForContentType):Likewise.
5104 (getPage): Return page.
5105 (setContentType): Reimplemented.
5106 (setEditorKit): Likewise.
5107 (setEditorKitForContentType): Removed wrong implementation.
5108 (setPage): Implemented.
5110 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5112 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5113 (nativeSetIconImageFromData): Re-add native implementation.
5115 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5117 * javax/swing/table/DefaultTableModel.java
5118 (DefaultTableModel()): Added Javadocs.
5119 (DefaultTableModel(int, int)): Fixed implementation.
5120 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5121 for negative rowCount.
5122 (DefaultTableModel(Object[], int)): Added Javadocs.
5123 (DefaultTableModel(Vector, Vector)): Likewise.
5124 (DefaultTableModel(Object[][], Object[])): Likewise.
5125 (getDataVector): Likewise.
5126 (setDataVector(Vector, Vector)): Likewise.
5127 (setDataVector(Object[][], Object[])): Likewise.
5128 (newDataAvailable): Likewise.
5129 (newRowsAdded): Likewise.
5130 (rowsRemoved): Likewise.
5131 (setColumnIdentifiers(Vector)): Allow for null argument.
5132 (setColumnIdentifiers(Object[])): Added Javadocs.
5133 (setNumRows): Likewise.
5134 (setRowCount): Adds new rows if necessary, and sends more specific
5136 (setColumnCount): Allow for null columnIdentifiers.
5137 (addColumn(Object)): Added Javadocs.
5138 (addColumn(Object, Vector)): Handle null columnData.
5139 (addColumn(Object, Object[])): Handle columnData with more or less
5140 entries than rows in the table.
5141 (addRow(Vector)): Fire appropriate event.
5142 (addRow(Object[])): Added Javadocs.
5143 (insertRow(int, Vector)): Fire appropriate event.
5144 (insertRow(int, Object[])): Added Javadocs.
5145 (moveRow): Reimplemented.
5146 (removeRow(int)): Fire appropriate event.
5147 (getColumnCount): Allow for null columnIdentifiers.
5148 (getColumnName): Now returns empty string when column index is too
5150 (isCellEditable): Added Javadocs.
5151 (getValueAt): Likewise.
5152 (setValueAt): Fire more specific event.
5153 (convertToVector): Added Javadocs.
5154 * javax/swing/table/TableModel.java
5157 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5159 * libgcj.spec.in (lib): Add -l-javax-imageio.
5161 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5163 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5164 references to event queue q with method call q().
5165 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5166 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5167 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5168 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5169 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5170 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5173 2005-02-15 Graydon Hoare <graydon@redhat.com>
5175 * gnu/java/awt/ClasspathToolkit.java
5176 (registerImageIOSpis): New method.
5177 * gnu/java/awt/image/ImageDecoder.java
5178 (imageDecoder): New constructor using InputStream
5179 (startProduction): Handle existing InputStream.
5180 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5181 (findSimpleIntegerArray): Make public and static.
5182 (updateBufferedImage): Set each pixel, in a loop.
5183 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5184 Implement ImageIO SPI classes.
5185 (createBufferedImage): Rewrite in terms of SPI classes.
5186 * gnu/java/awt/peer/gtk/GtkToolkit.java
5187 (registerImageIOSpis): New method.
5188 * java/lang/reflect/natMethod.cc
5189 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5190 which lets JNI call interface methods properly.
5191 * javax/imageio/ImageIO.java
5192 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5193 (WriterMIMETypeFilter.filter): Likewise.
5194 (ImageReaderIterator): Pass extension argument through to SPI.
5195 (getReadersByFilter): Likewise.
5196 (getWritersByFilter): Likewise.
5197 (getImageReadersByFormatName): Likewise.
5198 (getImageReadersByMIMEType): Likewise.
5199 (getImageReadersBySuffix): Likewise.
5200 (getImageWritersByFormatName): Likewise.
5201 (getImageWritersByMIMEType): Likewise.
5202 (getImageWritersBySuffix): Likewise.
5205 * javax/imageio/ImageReader.java
5206 (progressListeners): Initialize.
5207 (setInput): Implement.
5208 * javax/imageio/ImageWriter.java
5209 (progressListeners): Initialize.
5210 (warningListeners): Likewise.
5211 (warningLocales): Likewise.
5212 (setOutput): Test "isInstance" rather than class equality.
5213 * javax/imageio/spi/IIORegistry.java
5214 (static): Add reader and writer SPIs.
5215 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5216 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5217 (query_formats): New function.
5218 (save_to_stream): Likewise.
5219 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5221 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5223 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5225 (keyPress): Likewise.
5226 (keyRelease): Likewise.
5228 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5230 * javax/swing/JTable.java
5231 (columnAtPoint): New Method. Implemented.
5232 (rowAtPoint): Likewise.
5233 (countSelections): Fixed few small count errors.
5234 (getSelections): Likewise.
5235 (setSelectionMode): Set selection mode for column
5236 selection model in addition to row selection model.
5237 * javax/swing/plaf/basic/BasicTableUI.java:
5238 (getRowForPoint): Removed. Replaced by
5239 JTable.rowAtPoint().
5240 (getColForPoint): Removed. Replaced by
5241 JTable.columnAtPoint().
5242 (updateSelection): Updated to call JTable.columnAtPoint
5243 and JTable.rowAtPoint.
5244 * javax/swing/table/DefaultTableColumnModel.java:
5245 (getSelectedColumns): Implemented.
5246 (getSelectedColumnCount): Implemented.
5248 2005-02-15 Graydon Hoare <graydon@redhat.com>
5251 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5252 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5253 * Makefile.in: Regenerate.
5254 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5255 * gnu/awt/xlib/XFramePeer.java: Likewise.
5256 * gnu/awt/xlib/XToolkit.java: Likewise.
5257 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5258 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5259 * gnu/java/awt/ClasspathToolkit.java
5262 (iterateNativeQueue): New methods.
5263 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5264 * gnu/java/awt/peer/gtk/GtkToolkit.java
5265 (gtkInit): Absorb from defunct GtkMainThread class.
5266 (static): Run gtkInit in static startup block.
5267 (GtkToolkit): Remove construction of GtkMainThread and queue.
5268 (getSystemEventQueueImpl): Construct queue when requested.
5271 (iterateNativeQueue): New methods.
5272 * java/awt/Component.java (removeNotify): Remove race.
5273 * java/awt/EventDispatchThread.java
5274 (EventDispatchThread): Don't start on construction.
5275 (run): Remove isInterrupted check.
5276 * java/awt/EventQueue.java (shutdown): New flag.
5277 (isShutdown): New method checking J2SE shutdown condition.
5278 (setShutdown): New method.
5279 (getNextEvent): Restructure to use ClasspathToolkit.
5280 (postEvent): Activate new thread on posting, wake thread on
5281 post of possible shutdown condition event.
5282 * java/awt/Frame.java
5283 (Frame): Call noteFrame in all constructors.
5284 (fireDummyEvent): New helper method.
5285 (addNotify): Fire a dummy event to wake up queue.
5286 (removeNotify): Fire a dummy event to wake up queue.
5287 (noteFrame): New method.
5288 (weakFrames): New static field.
5289 (getFrames): Implement.
5290 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5292 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5293 Move everything from GtkMainThread into this file
5294 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5295 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5296 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5297 New functions to implement single-threaded queue semantics.
5299 2005-02-15 Michael Koch <konqueror@gmx.de>
5301 * javax/swing/plaf/metal/MetalLookAndFeel.java
5302 (getControlTextFont): New method.
5303 (getMenuTextFont): Likewise.
5304 (getSubTextFont): Likewise.
5305 (getSystemTextFont): Likewise.
5306 (getUserTextFont): Likewise.
5307 (getWindowTitleFont): Likewise.
5309 2005-02-15 Michael Koch <konqueror@gmx.de>
5311 * javax/swing/text/AbstractDocument.java
5312 (documentFilter): New field.
5313 (getDocumentFilter): New method.
5314 (setDocumentFilter): Likewise.
5317 2005-02-15 Michael Koch <konqueror@gmx.de>
5319 * javax/swing/JTree.java
5320 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5322 2005-02-15 Michael Koch <konqueror@gmx.de>
5324 * javax/swing/text/AbstractDocument.java
5325 (AbstractElement.getLength): Fixed off-by-one error.
5326 (AbstractElement.children): Made abstract.
5327 (AbstractElement.getAllowsChildren): Likewise.
5328 (AbstractElement.getElement): Likewise.
5329 (AbstractElement.dumpElement): New private method.
5330 (AbstractElement.dump): New method.
5331 (BranchElememt.getName): Fixed implementation.
5332 (BranchElememt.toString): Likewise.
5333 (BranchElememt.getElement): Fixed arguments.
5334 (LeafElement.getName): Fixed implementation.
5335 (LeafElement.toString): Likewise.
5336 * javax/swing/text/GapContent.java
5337 (GapContent): Put default content into buffer.
5338 * javax/swing/text/PlainDocument.java
5339 (reindex): Use empty attribute sets instead of null.
5340 (createDefaultRoot): Reimplemented.
5341 (insertUpdate): Call super method.
5342 (removeUpdate): Likewise.
5343 (getParagraphElement): Implemented.
5345 2005-02-15 Michael Koch <konqueror@gmx.de>
5347 * gnu/java/awt/ClasspathToolkit.java
5348 (createRobot): Throws java.awt.AWTException.
5349 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5350 Added '__attribute__((unused))' to all unused method arguments.
5352 2005-02-15 Michael Koch <konqueror@gmx.de>
5354 * javax/swing/DefaultBoundedRangeModel.java
5355 (fireValueChanged): Fixed off-by-one error.
5357 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5359 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5360 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5362 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5363 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5364 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5365 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5366 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5367 (getDefaultScreenDevice): Implement.
5368 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5369 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5370 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5371 * java/awt/Robot.java: Implement.
5372 * java/awt/peer/RobotPeer.java: Rename parameters.
5373 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5374 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5375 (awt_keycode_to_keysym): Make non-static.
5376 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5377 AWT_BUTTON3_MASK): Declare constants.
5378 (awt_keycode_to_keysym): Declare.
5380 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5381 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5382 and is non-empty pass its value to "make check".
5383 (test_mauve_sim): Likewise.
5385 2005-02-15 Michael Koch <konqueror@gmx.de>
5387 * javax/imageio/IIOParam.java
5388 (setSourceBands): New method.
5389 (setSourceSubsampling): Likewise.
5390 * javax/imageio/ImageReadParam.java
5391 (setDestination): Likewise.
5392 (setDestinationBands): Likewise.
5393 (setSourceProgressivePasses): Likewise.
5394 * javax/imageio/metadata/IIOInvalidTreeException.java
5395 (serialVersionUID): New static field.
5396 * javax/imageio/metadata/IIOMetadataNode.java
5397 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5398 (parent): Dont initailize with default value explicitely.
5400 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5401 (removeAttributeNode): Likewise.
5402 (removeAttributeNS): Likewise.
5403 (setAttribute): Likewise.
5404 (setAttributeNode): Likewise.
5405 (setAttributeNodeNS): Likewise.
5406 (setAttributeNS): Likewise.
5407 (appendChild): Likewise.
5408 (getNodeValue): Likewise.
5409 (insertBefore): Likewise.
5410 (removeChild): Likewise.
5411 (replaceChild): Likewise.
5412 (setPrefix): Likewise.
5414 2005-02-15 Michael Koch <konqueror@gmx.de>
5416 * javax/swing/LookAndFeel.java
5417 (getDesktopPropertyValue): New method.
5419 2005-02-15 Michael Koch <konqueror@gmx.de>
5421 * javax/swing/JTree.java
5422 (hasChildren): New instance field.
5424 2005-02-15 Michael Koch <konqueror@gmx.de>
5426 * javax/swing/JComponent.java
5427 (getToolTipText): New method.
5428 (getTitledBorderText): Likewise.
5429 (getAccessibleKeyBinding): Likewise.
5430 (getVerifyInputWhenFocusTarget): Likewise.
5431 (setVerifyInputWhenFocusTarget): Likewise.
5432 (verifyInputWhenFocusTarget): New instance field.
5434 2005-02-15 Michael Koch <konqueror@gmx.de>
5436 * javax/swing/DefaultListSelectionModel.java
5437 (fireValueChanged): New method.
5439 2005-02-15 Michael Koch <konqueror@gmx.de>
5441 * javax/swing/DefaultBoundedRangeModel.java:
5442 Fixed javadocs all over.
5443 (fireStateChanged): Simplified.
5444 * javax/swing/BoundedRangeModel.java:
5447 2005-02-15 Michael Koch <konqueror@gmx.de>
5449 * javax/swing/JRootPane.java
5450 (setMenuBar): Added @deprecated tag.
5451 (getMenuBar): Likewise.
5452 * javax/swing/JTable.java
5453 (sizeColumnsToFit): Likewise.
5455 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
5457 * javax/swing/ImageIcon.java (setImage): Implemented.
5459 2005-02-15 Michael Koch <konqueror@gmx.de>
5461 * javax/swing/JTable.java:
5462 Removed unused imports.
5464 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5466 (prepareRenderer): Get column's index in dataModel instead
5467 of column's view index.
5468 (getColumnCount): return count of the columns in ColumnModel,
5470 (removeColumn): Implemented.
5471 (moveColumm): Likewise.
5472 (setRowHeight): throw IllegalArgumentException if height is
5474 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
5475 (DefaultTableColumnModel):Add call to createSelectionModel().
5476 (addColumn): Fire columnAdded event to registered listeners.
5477 (removeColumn): Fire columnRemoved event to registered listeners.
5478 (moveColumn): Fire columnMoved event to registered listeners.
5479 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
5480 (getColumnIndex): Changed parameter name.
5481 (setColumnSelectionAllowed): Likewise.
5482 (fireColumnAdded): Implemented.
5483 (fireColumnRemoved): Likewise.
5484 (fireColumnMoved): Likewise.
5485 (fireColumnMarginChanged): Likewise.
5486 (getListeners): Changed parameter name.
5487 (propertyChange): Implemented.
5488 (valueChanged): Changed parameter name.
5489 (createSelectionModel): Implemented.
5491 2005-02-15 Michael Koch <konqueror@gmx.de>
5493 * gnu/java/awt/peer/gtk/GtkToolkit.java:
5494 Explicitely import used classes.
5495 (getLocalGraphicsEnvironment): Simplify.
5496 * java/awt/Window.java (Window):
5497 Enable code to get the default GraphicsConfiguration.
5499 2005-02-15 Michael Koch <konqueror@gmx.de>
5501 * javax/swing/plaf/metal/DefaultMetalTheme.java
5502 (CONTROL_TEXT_FONT): New static field.
5503 (MENU_TEXT_FONT): Likewise.
5504 (SUB_TEXT_FONT): Likewise.
5505 (SYSTEM_TEXT_FONT): Likewise.
5506 (USER_TEXT_FONT): Likewise.
5507 (WINDOW_TITLE_FONT): Likewise.
5508 (getControlTextFont): New method.
5509 (getMenuTextFont): Likewise.
5510 (getSubTextFont): Likewise.
5511 (getSystemTextFont): Likewise.
5512 (getUserTextFont): Likewise.
5513 (getWindowTitleFont): Likewise.
5514 * javax/swing/plaf/metal/MetalTheme.java
5515 (BLACK): Initialize with Color.BLACK.
5516 (WHITE): Initialize with Color.WHITE.
5517 (getInactiveControlTextColor): Return getControlDisabled().
5518 (getMenuDisabledForeground): Return getSecondary3().
5519 (getControlTextFont): New abstract method.
5520 (getMenuTextFont): Likewise.
5521 (getSubTextFont): Likewise.
5522 (getSystemTextFont): Likewise.
5523 (getUserTextFont): Likewise.
5524 (getWindowTitleFont): Likewise.
5526 2005-02-15 Michael Koch <konqueror@gmx.de>
5528 * javax/swing/JFormattedTextField.java
5529 (getFocusLostBehavior): Fixed typo in method name.
5530 (setFocusLostBehavior): Likewise.
5532 2005-02-15 Michael Koch <konqueror@gmx.de>
5534 * javax/swing/TransferHandler.java:
5535 Reworked import statements.
5537 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5539 * java/awt/Button.java,
5540 java/awt/Canvas.java,
5541 java/awt/Checkbox.java,
5542 java/awt/CheckboxMenuItem.java,
5543 java/awt/Choice.java,
5544 java/awt/Dialog.java,
5545 java/awt/Frame.java,
5546 java/awt/Label.java,
5549 java/awt/MenuBar.java,
5550 java/awt/MenuItem.java,
5551 java/awt/PopupMenu.java,
5552 java/awt/ScrollPane.java,
5553 java/awt/Scrollbar.java,
5554 java/awt/TextArea.java,
5555 java/awt/Window.java (getAccessibleContext): Clean up comments.
5557 * java/awt/Button.java,
5558 java/awt/Checkbox.java,
5559 java/awt/Choice.java,
5561 java/awt/PopupMenu.java,
5562 java/awt/TextArea.java (getAccessibleContext): Only create new
5564 * java/awt/TextComponent.java (getAccessibleContext): Implement.
5566 2005-02-15 Michael Koch <konqueror@gmx.de>
5568 * java/awt/Button.java,
5569 javax/swing/JApplet.java,
5570 javax/swing/JFormattedTextField.java,
5571 javax/swing/JWindow.java,
5572 javax/swing/JTree.java,
5573 javax/swing/plaf/basic/BasicEditorPaneUI.java,
5574 javax/swing/plaf/basic/BasicTextPaneUI.java,
5575 javax/swing/plaf/basic/BasicTreeUI.java:
5576 Reworked import statements.
5578 2005-02-15 Michael Koch <konqueror@gmx.de>
5580 * Makefile.am: Put javax.imageio into its own library and link it
5581 against lib-org-w3c-dom.la to fix bootstrapping.
5582 * Makefile.in: Regenerated.
5584 2005-02-15 Michael Koch <konqueror@gmx.de>
5586 * javax/swing/text/TextAction.java
5587 (getTextComponent): Simplified. Added Javadoc.
5588 (augmentList): Implemented. Added Javadoc.
5589 (getFocusedComponent): Added javadoc.
5591 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5593 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
5594 getAccessibleContext): Implement.
5595 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
5596 getAccessibleContext): Implement.
5598 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5600 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
5602 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
5604 * java/awt/Window.java (getAccessibleContext): Fix comment.
5605 Remove extra import.
5607 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5609 * java/awt/Window.java (AccessibleAWTWindow): Implement.
5610 (isActive, isFocused, getAccessibleContext): Implement.
5612 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5614 * java/awt/MenuItem.java (getAccessibleContext): Implement.
5615 * java/awt/MenuComponent.java (accessibleContext): Make package
5617 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
5618 AccessibleAWTCheckboxMenuItem): Implement.
5620 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5622 * java/awt/List.java: Implement AccessibleAWTList,
5623 AccessibleAWTListChild.
5625 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5627 * java/awt/Choice.java: Add implements declaration for
5630 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5632 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
5635 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5637 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
5638 implemented interface list.
5640 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5642 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
5643 * javax/imageio/metadata/IIOAttr.java: New class.
5644 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
5645 * javax/imageio/metadata/IIONodeList.java: New class.
5646 * Makefile.am: Added new files.
5647 * Makefile.in: Regenerated.
5649 2005-02-15 Michael Koch <konqueror@gmx.de>
5651 * javax/swing/AbstractAction.java,
5652 javax/swing/AbstractCellEditor.java,
5653 javax/swing/AbstractListModel.java,
5654 javax/swing/DefaultBoundedRangeModel.java,
5655 javax/swing/DefaultButtonModel.java,
5656 javax/swing/DefaultCellEditor.java,
5657 javax/swing/DefaultComboBoxModel.java,
5658 javax/swing/DefaultDesktopManager.java,
5659 javax/swing/JMenu.java,
5660 javax/swing/JSlider.java,
5661 javax/swing/KeyStroke.java,
5662 javax/swing/OverlayLayout.java,
5663 javax/swing/ScrollPaneLayout.java,
5664 javax/swing/SizeRequirements.java,
5665 javax/swing/ViewportLayout.java:
5666 Made serialVersionUID private.
5668 2005-02-15 Michael Koch <konqueror@gmx.de>
5670 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
5673 2005-02-15 Michael Koch <konqueror@gmx.de>
5675 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
5677 2005-02-15 Michael Koch <konqueror@gmx.de>
5679 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
5681 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
5683 * java/awt/EventDispatchThread.java,
5684 java/awt/Toolkit.java:
5685 Don't catch java.lang.ThreadDeath.
5687 2005-02-15 Michael Koch <konqueror@gmx.de>
5689 * javax/swing/text/PasswordView.java
5690 (drawEchoCharacter): Added javadoc.
5691 (drawSelectedText): Likewise.
5692 (drawUnselectedText): Likewise.
5694 2005-02-15 Michael Koch <konqueror@gmx.de>
5696 * javax/swing/JRootPane.java
5697 (windowDecorationStyle): New field.
5698 (setMenuBar): New method.
5699 (getMenuBar): Likewise.
5700 (getWindowDecorationStyle): Likewise.
5701 (setWindowDecorationStyle): Likewise.
5703 2005-02-15 Michael Koch <konqueror@gmx.de>
5705 * javax/swing/DefaultListSelectionModel.java
5706 (leadAnchorNotificationEnabled): Made protected.
5708 2005-02-15 Michael Koch <konqueror@gmx.de>
5710 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
5711 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
5712 * Makefile.in: Regenerated.
5715 2005-02-15 Michael Koch <konqueror@gmx.de>
5717 * javax/swing/JFormattedTextField.java: Implemented.
5718 * javax/swing/JWindow.java
5719 (JWindow): New constructors.
5720 (initWindow): Renamed from initFrame.
5721 * javax/swing/UIDefaults.java
5722 (ActiveValue): Made interface static.
5723 (LazyValue): Likewise.
5724 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5725 (TitlePaneLayout.TitlePaneLayout): New constructor.
5726 * javax/swing/plaf/basic/BasicSliderUI.java
5727 (ChangeHandler): Made public.
5728 (FocusHandler): Likewise.
5729 (PropertyChangeHandler): Likewise.
5730 (ScrollListener): Likewise.
5731 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5732 (FocusHandler): Likewise.
5733 (MouseHandler): Likewise.
5734 * javax/swing/plaf/basic/BasicTextPaneUI.java
5735 (BasicTextPaneUI): Extend BasicEditorPaneUI.
5736 * javax/swing/plaf/basic/BasicToolBarUI.java
5737 (BasicToolBarUI): Simplified. Reworked javadoc.
5738 (canDock): Simplified. Make public.
5739 (DockingListener): Made public.
5740 * javax/swing/text/JTextComponent.java
5741 (navigationFilter): New field.
5742 (getNavigationFilter): New method.
5743 (setNavigationFilter): Likewise.
5745 2005-02-15 Michael Koch <konqueror@gmx.de>
5747 * javax/swing/plaf/metal/MetalTheme.java
5748 (getControlTextColor): Return getControlInfo().
5749 (getHighlightedTextColor): Return getControlTextColor().
5751 2005-02-15 Michael Koch <konqueror@gmx.de>
5753 * javax/swing/plaf/basic/BasicButtonListener.java
5754 (BasicButtonListener): New constructor.
5755 * javax/swing/plaf/basic/BasicButtonUI.java
5756 (createButtonListener): Usw new BasicButtonListener constructor.
5758 2005-02-15 Michael Koch <konqueror@gmx.de>
5760 * javax/imageio/event/package.html,
5761 javax/imageio/metadata/package.html: New files.
5763 2005-02-15 Michael Koch <konqueror@gmx.de>
5765 * java/awt/image/MemoryImageSource.java: Reformatted.
5767 2005-02-15 Michael Koch <konqueror@gmx.de>
5769 * javax/swing/tree/TreeCellEditor.java: Refomatted.
5771 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
5773 * java/awt/color/ICC_Profile.java
5774 (finalize): Removed pointless field assignments.
5776 2005-02-15 Michael Koch <konqueror@gmx.de>
5778 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
5779 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
5780 * Makefile.in: Regenerated.
5782 2005-02-15 Michael Koch <konqueror@gmx.de>
5784 * javax/swing/text/DefaultStyledDocument.java: New file.
5785 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
5786 * Makefile.in: Regenerated.
5788 2005-02-15 Michael Koch <konqueror@gmx.de>
5790 * javax/swing/JFileChooser.java
5791 (showDialog): Return CANCEL_OPTION for now.
5792 (showOpenDialog): Likewise.
5793 (showSaveDialog): Likewise.
5795 2005-02-15 Michael Koch <konqueror@gmx.de>
5797 * javax/swing/JApplet.java
5798 (HIDE_ON_CLOSE): Removed.
5799 (EXIT_ON_CLOSE): Likewise.
5800 (DISPOSE_ON_CLOSE): Likewise.
5801 (DO_NOTHING_ON_CLOSE): Likewise.
5802 (close_action): Likewise.
5803 (getDefaultCloseOperation): Likewise.
5804 (setDefaultCloseOperation): Likewise.
5805 (processWindowEvent): Likewise.
5806 (getPreferredSize): Simplified.
5807 * javax/swing/JInternalFrame.java
5808 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
5810 * javax/swing/JWindow.java
5811 (HIDE_ON_CLOSE): Removed.
5812 (EXIT_ON_CLOSE): Likewise.
5813 (DISPOSE_ON_CLOSE): Likewise.
5814 (DO_NOTHING_ON_CLOSE): Likewise.
5815 (close_action): Likewise.
5816 (processKeyEvent): Likewise.
5817 (setDefaultCloseOperation): Likewise.
5818 (getPreferredSize): Simplified.
5820 2005-02-15 Michael Koch <konqueror@gmx.de>
5822 * javax/swing/JTextField.java
5823 (getPreferredSize): Re-implemented.
5825 2005-02-15 Michael Koch <konqueror@gmx.de>
5827 * javax/swing/JLabel.java
5828 (setDisplayedMnemonic): Use only upper case characters.
5829 (setDisplayedMnemonicIndex): Handle index == -1 and fire
5830 PropertyChangeEvent after property got set to the new index.
5832 2005-02-15 Robert Schuster <thebohemian@gmx.net>
5834 * javax/swing/JComboBox.java:
5835 (JComboBox): Removed selection of the
5836 first item in the model.
5838 2005-02-15 Robert Schuster <thebohemian@gmx.net>
5840 * javax/swing/JComboBox.java
5841 added support for no item being selected
5842 (JComboBox): select first or nothing depending on element count
5843 (setModel): cleaned up unneeded "this." usage, added more
5844 docs, made exception behavior match that of the JDK
5845 (setLighWeightPopupEnabled): removed unneeded "this." usage
5847 (setMaximumRowCount): dito
5849 (setPrototypeDisplayValue): dito
5850 (getSelectedItem): simplified, added more user doc
5851 (setSelectedIndex): corrected exception behavior, added more user doc
5852 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
5853 added performance warning to user doc
5854 (addItem): fixed exception behavior, added user doc
5855 (insertItemAt): dito
5857 (removeItemAt): dito
5858 (removeAll): fixed exception behavior, added user doc, added support
5859 for model not being instance of DefaultComboBoxModel
5860 (getSelectedItemObjects): simplified
5861 (getItemCount): fixed dependency on DefaultComboBoxModel
5862 (getItemAt): fixed dependency on MutableComboBoxModel
5863 * javax/swing/DefaultComboBoxModel.java:
5864 (setSelectedItem): updates selected item only if new
5865 value is null or known (match JDK behavior)
5866 * javax/swing/plaf/basic/BasicComboBoxUI.java:
5867 (paintCurrentValue): renders "" if no item is selected
5869 2005-02-15 Michael Koch <konqueror@gmx.de>
5871 * javax/swing/plaf/metal/MetalTheme.java,
5872 javax/swing/plaf/metal/DefaultMetalTheme.java:
5874 * javax/swing/plaf/metal/MetalLookAndFeel.java
5875 * Makefile.am: Added the new files.
5876 * Makefile.in: Regenerated.
5878 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5880 * javax/swing/JTable.java
5881 (editorComp): New field.
5882 (JTable): Initialize local variables and call updateUI
5883 (selectionBackground): Make protected.
5884 (selectionForeground): Likewise.
5885 (initializeLocalVars): Create default editors and renderers,
5886 initialize editingColumn, editingRow variables.
5887 (createDefaultEditors): New Method.
5888 (createDefaultRenderers): Likewise.
5889 (createDefaultListSelectionModel): Removed
5890 (createDefaultSelectionModel): New Method.
5891 (createDefaultTableHeader): Likewise
5892 (removeColumn): Likewise.
5893 (getEditingColumn): Likewise.
5894 (setEditingColumn): Likewise.
5895 (getEditingRow): Likewise.
5896 (setEditingRow): Likewise.
5897 (getEditorComponent): Likewise.
5898 (isEditing): Likewise.
5899 (setDefaultEditor): Likewise.
5900 (addColumnSelectionInterval): Likewise.
5901 (addRowSelectionInterval): Likewise.
5902 (setColumnSelectionInterval): Likewise.
5903 (setRowSelectionInterval): Likewise.
5904 (removeColumnSelectionInterval): Likewise.
5905 (removeRowSelectionInterval): Likewise.
5906 (isColumnSelected): Likewise.
5907 (isRowSelected): Likewise.
5908 (isCellSelected): Likewise.
5909 (selectAll): Likewise.
5911 2005-02-15 Michael Koch <konqueror@gmx.de>
5913 * javax/swing/JTable.java
5914 (addColumn): New method.
5915 (getColumnClass): Likewise.
5916 (getColumnName): Likewise.
5918 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
5920 * javax/swing/TransferHandler.java
5921 (createTransferable): Made protected.
5923 2005-02-15 Michael Koch <konqueror@gmx.de>
5925 * javax/swing/JTable.java,
5926 javax/swing/plaf/basic/BasicTableHeaderUI.java,
5927 javax/swing/plaf/basic/BasicTableUI.java:
5928 Use fixed get/setIntercellSpacing() methods.
5930 2005-02-15 Michael Koch <konqueror@gmx.de>
5932 * javax/swing/JTable.java
5933 (getIntercellSpacing): Fixed typo in method name.
5934 (setIntercellSpacing): Likewise.
5936 2005-02-15 Michael Koch <konqueror@gmx.de>
5938 * javax/swing/text/JTextComponent.java
5939 (focusAccelerator): New variable.
5940 (getFocusAccelerator): New method.
5941 (setFocusAccelerator): Likewise.
5943 2005-02-15 Michael Koch <konqueror@gmx.de>
5945 * javax/swing/JComponent.java
5946 (setTransferHandler): Made public. Fire property change event.
5947 * javax/swing/TransferHandler.java: Implemented.
5948 * javax/swing/text/JTextComponent.java
5949 (DefaultTransferHandler): New inner class.
5950 (defaultTransferHandler): New variable.
5954 (doTransferAction): Likewise.
5956 2005-02-15 Michael Koch <konqueror@gmx.de>
5958 * javax/swing/JTree.java
5959 (collapsePath): New method.
5960 (collapseRow): Likewise.
5961 (expandPath): Likewise.
5962 (expandRow): Likewise.
5963 (checkExpandParents): Likewise.
5964 (doExpandParents): Likewise.
5965 (setExpandedState): Likewise.
5966 (makeVisible): Likewise.
5968 2005-02-15 Michael Koch <konqueror@gmx.de>
5970 * javax/swing/JPasswordField.java: Updated javadocs.
5972 2005-02-15 Michael Koch <konqueror@gmx.de>
5974 * javax/swing/JLayeredPane.java
5975 (getLayer): Fixed return type, made public.
5976 (getPosition): Use new getLayer().
5977 (SetPosition): Likewise.
5978 (getIndexOf): Likewise.
5980 * javax/swing/JInternalFrame.java
5981 (getLayer): Use new JLayeredPane.getLayer().
5984 2005-02-15 Michael Koch <konqueror@gmx.de>
5986 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
5987 (setHeaderValue): Simplified. Do nothing when old value == new value.
5989 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5991 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
5992 against null clip region.
5993 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
5994 gtkWindowSetResizable.
5995 (postConfigureEvent): Only revalidate if frame size has changed.
5996 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
5997 Only revalidate if frame size has changed.
5998 * java/awt/Component.java (reshape): Only repaint and post
5999 component events if component is showing.
6000 * java/awt/Container.java (addImpl): Only post container event if
6001 container is showing.
6003 * java/awt/Window.java (setLocationRelativeTo): Implement.
6004 (setBoundsCallback): Only post component events if component is
6006 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6007 Protect against null graphics structure. Flush gdk event queue.
6009 2005-02-15 Michael Koch <konqueror@gmx.de>
6011 * javax/imageio/ImageReader.java,
6012 javax/imageio/ImageTranscoder.java,
6013 javax/imageio/ImageWriter.java,
6014 javax/imageio/spi/ImageInputStreamSpi.java,
6015 javax/imageio/spi/ImageOutputStreamSpi.java,
6016 javax/imageio/spi/ServiceRegistry.java,
6017 javax/imageio/stream/ImageInputStream.java,
6018 javax/imageio/stream/ImageOutputStream.java: Updated.
6019 * javax/imageio/IIOException.java,
6020 javax/imageio/IIOImage.java,
6021 javax/imageio/IIOParam.java,
6022 javax/imageio/IIOParamController.java,
6023 javax/imageio/ImageIO.java,
6024 javax/imageio/ImageReadParam.java,
6025 javax/imageio/ImageTypeSpecifier.java,
6026 javax/imageio/ImageWriteParam.java,
6027 javax/imageio/spi/IIORegistry.java,
6028 javax/imageio/spi/ImageReaderSpi.java,
6029 javax/imageio/spi/ImageWriterSpi.java,
6030 javax/imageio/stream/FileCacheImageInputStream.java,
6031 javax/imageio/stream/FileCacheImageOutputStream.java,
6032 javax/imageio/stream/FileImageInputStream.java,
6033 javax/imageio/stream/FileImageOutputStream.java,
6034 javax/imageio/stream/ImageInputStreamImpl.java,
6035 javax/imageio/stream/ImageOutputStreamImpl.java,
6036 javax/imageio/stream/MemoryCacheImageInputStream.java,
6037 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6038 javax/imageio/event/IIOReadProgressListener.java,
6039 javax/imageio/event/IIOReadUpdateListener.java,
6040 javax/imageio/event/IIOReadWarningListener.java,
6041 javax/imageio/event/IIOWriteProgressListener.java,
6042 javax/imageio/event/IIOWriteWarningListener.java,
6043 javax/imageio/metadata/IIOMetadata.java,
6044 javax/imageio/metadata/IIOMetadataController.java,
6045 javax/imageio/metadata/IIOMetadataFormat.java,
6046 javax/imageio/metadata/IIOInvalidTreeException.java,
6047 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6048 javax/imageio/metadata/IIOMetadataNode.java: New files.
6049 * Makefile.am (javax_source_files): Added new files
6050 * Makefile.in: Regenerated.
6052 2005-02-15 Graydon Hoare <graydon@redhat.com>
6054 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6055 Rework painting into BufferedImages
6056 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6057 Construct BufferedImage with alpha only when alpha is
6058 present in colormodel.
6059 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6060 Rework painting into client-side jint arrays.
6061 * jni/gtk-peer/gtkcairopeer.h:
6064 2005-02-15 Michael Koch <konqueror@gmx.de>
6066 * javax/swing/DefaultListCellRenderer.java
6067 (serialVersionUID): Made private.
6068 (getListCellRendererComponent): Set horizontal alignment.
6069 * javax/swing/JLabel.java
6070 (setVerticalAlignment): Re-implemented.
6071 (setHorizontalAlignment): Do nothing if old value = new value.
6072 * javax/swing/JList.java
6073 (setCellRenderer): Likewise.
6074 (setModel): Re-implemented.
6075 (setSelectionModel): Likewise.
6077 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6079 * java/awt/Component.java,
6080 java/awt/geom/Rectangle2D.java:
6083 2005-02-15 Michael Koch <konqueror@gmx.de>
6085 * javax/swing/AbstractListModel.java
6086 (fireContentsChanged): Simplified.
6087 (fireIntervalAdded): Likewise.
6088 (fireIntervalRemoved): Likewise.
6089 * javax/swing/DefaultSingleSelectionModel.java:
6091 (fireStateChanged): Simplified.
6092 * javax/swing/JPopupMenu.java
6093 (setSelectionModel): Set property.
6095 2005-02-15 Michael Koch <konqueror@gmx.de>
6097 * java/awt/print/Book.java: Reformatted.
6099 2005-02-15 Michael Koch <konqueror@gmx.de>
6101 * java/awt/geom/Area.java
6102 (QuadSegment.curveArea): Remove unused variables.
6103 (CubicSegment.curveArea): Likewise.
6105 2005-02-15 Michael Koch <konqueror@gmx.de>
6107 * javax/swing/JTree.java
6108 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6109 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6110 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6111 (EXPANDED): New constant.
6112 (COLLAPSED): Likewise.
6113 (nodeStates): New field.
6114 (cellEditor): New method.
6115 (cellRenderer): Likewise.
6116 (selectionModel): Likewise.
6117 (treeModel): Likewise.
6118 (scrollPathToVisible): Likewise.
6119 (scrollRowToVisible): Likewise.
6120 (isCollapsed): Likewise.
6121 (isExpanded): Likewise.
6122 (clearToggledPaths): Likewise.
6123 (getDescendantToggledPaths): Likewise.
6124 (hasBeenExpanded): Likewise.
6125 (isVisible): Likewise.
6126 (isPathEditable): Likewise.
6128 2005-02-15 Michael Koch <konqueror@gmx.de>
6130 * javax/swing/JLayeredPane.java: Reformatted.
6132 2005-02-15 Michael Koch <konqueror@gmx.de>
6134 * javax/swing/tree/DefaultMutableTreeNode.java:
6136 * javax/swing/tree/MutableTreeNode.java:
6139 2005-02-15 Michael Koch <konqueror@gmx.de>
6141 * javax/swing/JFormattedTextField.java
6142 (setDocument): Call setDocument of super class. Don't fire property
6145 2005-02-15 Sven de Marothy <sven@physto.se>
6147 * java/awt/image/IndexColorModel.java:
6148 Add FIXME with respect to alpha handling.
6149 (getAlpha): Default to returning opaque pixels.
6150 * java/awt/image/MultiPixelPackedSampleModel.java
6151 (MultiPixelPackedSampleModel): Corrected parameters, order of
6152 bit shifts and masks, stride length off by one.
6154 2005-02-15 Michael Koch <konqueror@gmx.de>
6156 * javax/swing/JList.java, javax/swing/JTree.java:
6157 Added much new methods and fixed much methods setting bound properties.
6159 2005-02-16 Mark Wielaard <mark@klomp.org>
6161 * Makefile.am (gnu_xml_source_files): Removed
6162 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6163 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6164 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6165 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6166 gnu/xml/dom/DomDocumentFragment.java,
6167 gnu/xml/dom/DomProcessingInstruction.java and
6168 gnu/xml/dom/ls/DomLSException.java.
6169 * Makefile.in: Regenerated.
6171 2005-02-16 Tom Tromey <tromey@redhat.com>
6173 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6174 attribute index is out of bounds.
6176 2005-02-16 Chris Burdess <dog@gnu.org>
6178 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6179 isDeclared methods. Improved performance of isSpecified methods.
6181 2005-02-16 Chris Burdess <dog@gnu.org>
6183 Fixes bug libgcj/19864
6184 * gnu/xml/dom/DomAttr.java,
6185 gnu/xml/dom/DomCDATA.java,
6186 gnu/xml/dom/DomCDATASection.java,
6187 gnu/xml/dom/DomCharacterData.java,
6188 gnu/xml/dom/DomDOMException.java,
6189 gnu/xml/dom/DomDoctype.java,
6190 gnu/xml/dom/DomDocument.java,
6191 gnu/xml/dom/DomDocumentConfiguration.java,
6192 gnu/xml/dom/DomDocumentFragment.java,
6193 gnu/xml/dom/DomElement.java,
6194 gnu/xml/dom/DomEx.java,
6195 gnu/xml/dom/DomFragment.java,
6196 gnu/xml/dom/DomImpl.java,
6197 gnu/xml/dom/DomIterator.java,
6198 gnu/xml/dom/DomNamedNodeMap.java,
6199 gnu/xml/dom/DomNode.java,
6200 gnu/xml/dom/DomNsNode.java,
6201 gnu/xml/dom/DomPI.java,
6202 gnu/xml/dom/DomProcessingInstruction.java,
6203 gnu/xml/dom/DomText.java,
6204 gnu/xml/dom/DomLSEx.java,
6205 gnu/xml/dom/DomLSException.java,
6206 gnu/xml/dom/DomLSParser.java,
6207 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6208 implementation class names to conform to Classpath guidelines. Make
6209 DomLSException use JDK 1.4+ exception chaining.
6210 * gnu/xml/util/SAXNullTransformerFactory.java,
6211 gnu/xml/xpath/Predicate.java: Use constants relative to
6212 declaring class or interface.
6214 2005-02-16 Andrew Haley <aph@redhat.com>
6216 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6217 null, create a new AccessControlContext.
6218 * java/security/SecureClassLoader.java (protectionDomainCache):
6220 (defineClass): Create a new protection domain and add it to our
6223 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6224 addStub() to keep track of the stub we've exported.
6225 (unexportObject): Call deleteStub().
6226 * java/rmi/server/RemoteObject.java (stubs): New field.
6227 (addStub): New method.
6228 (deleteStub): New method.
6231 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6232 true to findHelper (tryParents).
6233 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6235 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6236 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6238 If tryParents is false, don't scan parent class loaders.
6240 * java/security/Permissions.java (PermissionsHash.implies):
6241 Iterate over the collection and invoke implies() on each
6244 2005-02-16 Andrew Haley <aph@redhat.com>
6246 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6248 (PersistentByteMap): Set name
6249 Magic number changed to 0x67636a64 ("gcjd").
6250 (init): Force the map to be prime.
6251 (emptyPersistentByteMap): File name was a string, now a File.
6252 (addBytes): Share srings between entries.
6253 (stringTableSize): New method.
6254 (capacity): Scale by load factor.
6255 (force): New method.
6256 (getFile): New method.
6257 (close): New method.
6258 (putAll): New method.
6259 (ByteWrapper): New class.
6260 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6261 (main): Guess the average string size as 32, not 64.
6262 Copy a database before modifying it, so that we can update a
6263 database in a running system.
6264 If a database isn't big enough, resize it.
6265 "-m": new option: merges databases.
6266 "-a": Create a new detabase if it doesn't exist.
6267 (usage): Correct, add new option.
6268 (addJar): Copy a database before modifying it.
6269 (resizeMap): New method.
6271 2005-02-15 David Daney <ddaney@avtrex.com>
6272 Bryce McKinlay <mckinlay@redhat.com>
6274 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6275 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6276 ensure that GC threads inherit the new signal mask.
6277 (block_sigchld): Call JvFail rather than throwing exception if
6278 pthread_sigmask() fails.
6280 2005-02-15 Mark Wielaard <mark@klomp.org>
6282 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6283 file path elements are separated by spaces.
6285 2005-02-15 Mark Wielaard <mark@klomp.org>
6287 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6288 to describe attributes without a constant field value in this class.
6290 2005-02-15 Michael Koch <konqueror@gmx.de>
6292 * java/util/jar/Attributes.java
6293 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6295 2005-02-15 Mark Wielaard <mark@klomp.org>
6297 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6298 space for parsing CLASS_PATH attribute.
6300 2005-02-15 Mark Wielaard <mark@klomp.org>
6302 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6303 aside for "GCJLIBS" in directory where jarfiles are loaded.
6304 (JarURLLoader.getClass): Removed method.
6305 (JarURLLoader.toString): Removed method.
6306 (FileResource.toString): Removed method.
6308 2005-02-15 Mark Wielaard <mark@klomp.org>
6310 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6311 and/or cause before throwing.
6313 2005-02-15 Richard Henderson <rth@redhat.com>
6315 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6316 (libgcj0_convenience_la_SOURCES): ... here.
6317 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6318 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6319 * Makefile.in: Regenerate.
6321 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6324 * include/jawt.h: Likewise.
6325 * include/jawt_md.h: Likewise.
6326 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6328 * include/Makefile.in: Regenerate.
6329 * jni/classpath/classpath_jawt.h: Likewise.
6330 * jni/gtk-peer/gtk_jawt.c: Likewise.
6331 * Makefile.am: Build libjawt.so.
6332 * Makefile.in: Regenerate.
6334 2005-02-14 Tom Tromey <tromey@redhat.com>
6336 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6338 2005-02-14 Tom Tromey <tromey@redhat.com>
6340 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6341 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6343 2005-02-14 Tom Tromey <tromey@redhat.com>
6346 * testsuite/libjava.lang/PR19929.out: New file.
6347 * testsuite/libjava.lang/PR19929.java: New file.
6349 2005-02-14 Anthony Green <green@redhat.com>
6352 * testsuite/libjava.jni/PR18116.c: New file.
6353 * testsuite/libjava.jni/PR18116.java: New file.
6354 * testsuite/libjava.jni/PR18116.out: New file.
6356 2005-02-13 Anthony Green <green@redhat.com>
6359 * jni.cc (nathash_add): Don't strdup the method signature.
6360 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6364 2005-02-12 Mark Wielaard <mark@klomp.org>
6366 Fixes bug libgcj/8170
6367 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6368 ClassNotFoundException.
6369 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6370 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6371 (remove_internal): New field superceding remove_interpreter.
6372 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6373 Remove no-class methods starting with "_Jv_". And Replace null
6374 class or method names with the empty string. Stop at either the
6375 MainThread or a real Thread run() method.
6376 (newElement): Made static.
6377 * java/net/URLClassLoader.java (findClass): Throw
6378 ClassNotFoundExceptions including urls, plus parent using toString().
6379 (thisString): New field.
6380 (toString): New method.
6382 2005-02-10 Tom Tromey <tromey@redhat.com>
6384 * external/sax/Makefile.in: Rebuilt.
6385 * external/sax/Makefile.am (all-local): Removed.
6386 (BUILT_SOURCES): New variable.
6387 (mostlyclean-local): No error if no classes to delete.
6388 * external/w3c_dom/Makefile.in: Rebuilt.
6389 * external/w3c_dom/Makefile.am (all-local): Removed.
6390 (BUILT_SOURCES): New variable.
6391 (mostlyclean-local): No error if no classes to delete.
6393 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
6395 * testsuite/libjava.mauve/xfails: Updated to reflect current state
6396 of mauve and libjava.
6398 2005-02-09 Tom Tromey <tromey@redhat.com>
6400 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6401 jar file with OPEN_DELETE.
6402 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6403 OPEN_DELETE is used.
6405 2005-02-09 Tom Tromey <tromey@redhat.com>
6407 * java/util/zip/InflaterInputStream.java (markSupported):
6409 (mark, reset): Likewise.
6411 2005-02-08 Tom Tromey <tromey@redhat.com>
6413 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
6414 name or port is missing.
6415 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
6416 AUTHORITY_PORT_GROUP): Updated.
6418 2005-02-08 Tom Tromey <tromey@redhat.com>
6420 * configure: Rebuilt.
6421 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
6424 2005-02-07 Tom Tromey <tromey@redhat.com>
6426 * java/lang/natRuntime.cc (insertSystemProperties): Set
6427 sun.boot.class.path earlier.
6429 2005-02-07 Tom Tromey <tromey@redhat.com>
6431 * defineclass.cc (handleClassBegin): Use
6432 _Jv_RegisterInitiatingLoader.
6433 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
6434 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
6435 class. Use _Jv_UnregisterInitiatingLoader.
6436 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
6439 2005-02-07 Mark Wielaard <mark@klomp.org>
6441 Reported by Timo Lindfors <timo.lindfors@iki.fi>
6442 java/util/regex/Matcher.java (lookingAt): Set position when match
6444 (matches): Implemented through lookingAt().
6446 2005-02-07 Mark Wielaard <mark@klomp.org>
6448 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
6449 * java/util/regex/Pattern.java (split(CharSequence,int)):
6450 Fix while empties > 0 loops.
6452 2005-02-07 Robert Schuster <thebohemian@gmx.net>
6454 * gnu/java/nio/charset/ISO_8859_1.java,
6455 gnu/java/nio/charset/US_ASCII.java,
6456 gnu/java/nio/charset/UTF_16.java,
6457 gnu/java/nio/charset/UTF_16_LE.java,
6458 gnu/java/nio/charset/UTF_16_BE.java,
6459 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
6460 and aliases according to
6461 "http://www.iana.org/assignments/character-sets",
6462 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
6463 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
6464 * gnu/java/nio/charset/Provider.java: Made charset lookup
6465 case-insensitive which fixes bug #11740.
6467 2005-02-07 Tom Tromey <tromey@redhat.com>
6470 * Makefile.in: Rebuilt.
6471 * Makefile.am (src.zip): New target.
6472 (install-src.zip): Likewise.
6473 (sourcesdir): New variable.
6475 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
6477 * javax/imageio/metadata/IIOMetadataNode.java:
6479 * javax/imageio/metadata/IIOAttr.java,
6480 javax/imageio/metadata/IIONamedNodeMap.java,
6481 javax/imageio/metadata/IIONodeList.java:
6484 2005-02-06 Graydon Hoare <graydon@redhat.com>
6486 * gnu/java/awt/ClasspathToolkit.java
6487 (registerImageIOSpis): New method.
6488 * javax/imageio/ImageIO.java
6489 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6490 (WriterMIMETypeFilter.filter): Likewise.
6491 (ImageReaderIterator): Pass extension argument through to SPI.
6492 (getReadersByFilter): Likewise.
6493 (getWritersByFilter): Likewise.
6494 (getImageReadersByFormatName): Likewise.
6495 (getImageReadersByMIMEType): Likewise.
6496 (getImageReadersBySuffix): Likewise.
6497 (getImageWritersByFormatName): Likewise.
6498 (getImageWritersByMIMEType): Likewise.
6499 (getImageWritersBySuffix): Likewise.
6502 * javax/imageio/ImageReader.java
6503 (progressListeners): Initialize.
6504 (setInput): Implement.
6505 * javax/imageio/ImageWriter.java
6506 (progressListeners): Initialize.
6507 (warningListeners): Likewise.
6508 (warningLocales): Likewise.
6509 (setOutput): Test "isInstance" rather than class equality.
6510 * javax/imageio/spi/IIORegistry.java
6511 (static): Add reader and writer SPIs.
6512 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6514 2004-02-06 Michael Koch <konqueror@gmx.de>
6516 * javax/imageio/metadata/IIOInvalidTreeException.java
6517 (IIOInvalidTreeException): Reformatted.
6518 * javax/imageio/spi/IIORegistry.java
6519 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
6520 * javax/imageio/stream/MemoryCacheImageInputStream.java:
6521 Reworked import statements.
6523 2004-02-06 Michael Koch <konqueror@gmx.de>
6525 * javax/imageio/stream/FileImageOutputStream.java:
6528 2004-02-06 Michael Koch <konqueror@gmx.de>
6530 * javax/imageio/stream/FileCacheImageInputStream.java,
6531 javax/imageio/stream/FileCacheImageOutputStream.java,
6532 javax/imageio/stream/FileImageInputStream.java,
6533 javax/imageio/stream/ImageInputStreamImpl.java,
6534 javax/imageio/stream/ImageOutputStreamImpl.java,
6535 javax/imageio/stream/MemoryCacheImageInputStream.java,
6536 javax/imageio/stream/MemoryCacheImageOutputStream.java:
6537 Added all missing methods in javax.imageio.stream.
6539 2005-02-02 David Daney <ddaney@avtrex.com>
6541 * java/net/InetAddress.java (InetAddress): Make a private copy of
6543 * java/net/Inet4Address.java (getAddress): Return a copy of the
6545 * java/net/Inet6Address.java (Inet6Address): Use private copy of
6547 (getAddress): Return a copy of the address.
6550 2005-02-02 Tom Tromey <tromey@redhat.com>
6552 * Makefile.in: Rebuilt.
6553 * Makefile.am (classes.stamp): New target, broken out from
6555 ($(all_java_class_files)): Depend on it.
6556 (libgcj-@gcc_version@.jar): Likewise.
6557 (all-recursive): Likewise.
6558 (CLEANFILES): Include classes.stamp.
6560 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
6562 * link.cc: Include <stdio.h>
6564 2005-02-02 Tom Tromey <tromey@redhat.com>
6567 * Makefile.in: Rebuilt.
6568 * Makefile.am (ordinary_java_source_files): Added new class.
6569 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
6570 Use system_instance, not instance.
6571 * gnu/gcj/runtime/SystemClassLoader.java: New file.
6572 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
6574 (system_instance): New field.
6575 (initialize): Initialize the system loader as well.
6576 (VMClassLoader): Default to LIB_CACHE.
6578 2005-02-02 Tom Tromey <tromey@redhat.com>
6580 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
6581 * prims.cc: Fixed comment.
6583 2005-02-01 Tom Tromey <tromey@redhat.com>
6585 * Makefile.in: Rebuilt.
6586 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
6587 (.java.class): Use BOOTCLASSPATH.
6589 2005-02-01 Tom Tromey <tromey@redhat.com>
6591 * external/w3c_dom/Makefile.am: New file.
6592 * external/w3c_dom/Makefile.in: New file.
6593 * external/sax/Makefile.am: New file.
6594 * external/sax/Makefile.in: New file.
6595 * external/Makefile.in: New file.
6596 * external/Makefile.am: New file.
6597 * external/README: New file from Classpath.
6598 * configure, aclocal.m4, Makefile.in: Rebuilt.
6599 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
6600 * Makefile.am (SUBDIRS): Added external.
6601 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
6602 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
6603 (BOOTCLASSPATH): New variable.
6604 (AM_GCJFLAGS): Use it.
6605 (gnu_xml_source_files): New variable.
6606 (libgcj_la_SOURCES): Use it.
6607 (libgcj_la_LDADD): Include new convenience libraries.
6608 (lib_org_ietf_jgss_la_SOURCES): Removed.
6609 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
6610 (lib_org_ietf_jgss_la_LIBADD): Likewise.
6611 (lib_org_w3c_dom_la_SOURCES): Removed.
6612 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
6613 (lib_org_w3c_dom_la_LIBADD): Likewise.
6614 (lib_org_xml_sax_la_SOURCES): Removed.
6615 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
6616 (lib_org_xml_sax_la_LIBADD): Likewise.
6617 (all_java_source_files): Updated.
6618 (property_files): Likewise.
6619 (libgcj-@gcc_version@.jar): Include classes from external/.
6620 (javax_source_files): Updated.
6621 (ordinary_java_source_files): Updated.
6622 * javax/xml/XMLConstants.java,
6623 javax/xml/datatype/DatatypeConfigurationException.java,
6624 javax/xml/datatype/DatatypeConstants.java,
6625 javax/xml/datatype/DatatypeFactory.java,
6626 javax/xml/datatype/Duration.java,
6627 javax/xml/datatype/XMLGregorianCalendar.java,
6628 javax/xml/datatype/package.html,
6629 javax/xml/namespace/NamespaceContext.java,
6630 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
6631 javax/xml/parsers/DocumentBuilder.java,
6632 javax/xml/parsers/DocumentBuilderFactory.java,
6633 javax/xml/parsers/FactoryConfigurationError.java,
6634 javax/xml/parsers/ParserConfigurationException.java,
6635 javax/xml/parsers/SAXParser.java,
6636 javax/xml/parsers/SAXParserFactory.java,
6637 javax/xml/parsers/package.html,
6638 javax/xml/transform/ErrorListener.java,
6639 javax/xml/transform/OutputKeys.java,
6640 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
6641 javax/xml/transform/SourceLocator.java,
6642 javax/xml/transform/Templates.java,
6643 javax/xml/transform/Transformer.java,
6644 javax/xml/transform/TransformerConfigurationException.java,
6645 javax/xml/transform/TransformerException.java,
6646 javax/xml/transform/TransformerFactory.java,
6647 javax/xml/transform/TransformerFactoryConfigurationError.java,
6648 javax/xml/transform/URIResolver.java,
6649 javax/xml/transform/package.html,
6650 javax/xml/transform/dom/DOMLocator.java,
6651 javax/xml/transform/dom/DOMResult.java,
6652 javax/xml/transform/dom/DOMSource.java,
6653 javax/xml/transform/dom/package.html,
6654 javax/xml/transform/sax/SAXResult.java,
6655 javax/xml/transform/sax/SAXSource.java,
6656 javax/xml/transform/sax/SAXTransformerFactory.java,
6657 javax/xml/transform/sax/TemplatesHandler.java,
6658 javax/xml/transform/sax/TransformerHandler.java,
6659 javax/xml/transform/sax/package.html,
6660 javax/xml/transform/stream/StreamResult.java,
6661 javax/xml/transform/stream/StreamSource.java,
6662 javax/xml/transform/stream/package.html,
6663 javax/xml/validation/Schema.java,
6664 javax/xml/validation/SchemaFactory.java,
6665 javax/xml/validation/TypeInfoProvider.java,
6666 javax/xml/validation/Validator.java,
6667 javax/xml/validation/ValidatorHandler.java,
6668 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
6669 javax/xml/xpath/XPathConstants.java,
6670 javax/xml/xpath/XPathException.java,
6671 javax/xml/xpath/XPathExpression.java,
6672 javax/xml/xpath/XPathExpressionException.java,
6673 javax/xml/xpath/XPathFactory.java,
6674 javax/xml/xpath/XPathFactoryConfigurationException.java,
6675 javax/xml/xpath/XPathFunction.java,
6676 javax/xml/xpath/XPathFunctionException.java,
6677 javax/xml/xpath/XPathFunctionResolver.java,
6678 javax/xml/xpath/XPathVariableResolver.java,
6679 javax/xml/xpath/package.html: New files, from GNU JAXP.
6680 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
6681 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
6682 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
6683 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
6684 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
6685 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
6686 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
6687 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
6688 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
6689 org/w3c/dom/ranges/DocumentRange.java,
6690 org/w3c/dom/ranges/Range.java,
6691 org/w3c/dom/ranges/RangeException.java,
6692 org/w3c/dom/traversal/DocumentTraversal.java,
6693 org/w3c/dom/traversal/NodeFilter.java,
6694 org/w3c/dom/traversal/NodeIterator.java,
6695 org/w3c/dom/traversal/TreeWalker.java,
6696 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
6697 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
6698 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
6699 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
6700 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
6701 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
6702 org/xml/sax/SAXNotRecognizedException.java,
6703 org/xml/sax/SAXNotSupportedException.java,
6704 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
6705 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
6706 org/xml/sax/ext/DeclHandler.java,
6707 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
6708 org/xml/sax/helpers/AttributeListImpl.java,
6709 org/xml/sax/helpers/AttributesImpl.java,
6710 org/xml/sax/helpers/DefaultHandler.java,
6711 org/xml/sax/helpers/LocatorImpl.java,
6712 org/xml/sax/helpers/NamespaceSupport.java,
6713 org/xml/sax/helpers/NewInstance.java,
6714 org/xml/sax/helpers/ParserAdapter.java,
6715 org/xml/sax/helpers/ParserFactory.java,
6716 org/xml/sax/helpers/XMLFilterImpl.java,
6717 org/xml/sax/helpers/XMLReaderAdapter.java,
6718 org/xml/sax/helpers/XMLReaderFactory.java,
6719 org/xml/sax/helpers/package.html: Moved to external/.
6720 * external/sax/README,
6721 external/sax/org/xml/sax/AttributeList.java,
6722 external/sax/org/xml/sax/Attributes.java,
6723 external/sax/org/xml/sax/ContentHandler.java,
6724 external/sax/org/xml/sax/DTDHandler.java,
6725 external/sax/org/xml/sax/DocumentHandler.java,
6726 external/sax/org/xml/sax/EntityResolver.java,
6727 external/sax/org/xml/sax/ErrorHandler.java,
6728 external/sax/org/xml/sax/HandlerBase.java,
6729 external/sax/org/xml/sax/InputSource.java,
6730 external/sax/org/xml/sax/Locator.java,
6731 external/sax/org/xml/sax/Parser.java,
6732 external/sax/org/xml/sax/SAXException.java,
6733 external/sax/org/xml/sax/SAXNotRecognizedException.java,
6734 external/sax/org/xml/sax/SAXNotSupportedException.java,
6735 external/sax/org/xml/sax/SAXParseException.java,
6736 external/sax/org/xml/sax/XMLFilter.java,
6737 external/sax/org/xml/sax/XMLReader.java,
6738 external/sax/org/xml/sax/package.html,
6739 external/sax/org/xml/sax/ext/Attributes2.java,
6740 external/sax/org/xml/sax/ext/Attributes2Impl.java,
6741 external/sax/org/xml/sax/ext/DeclHandler.java,
6742 external/sax/org/xml/sax/ext/DefaultHandler2.java,
6743 external/sax/org/xml/sax/ext/EntityResolver2.java,
6744 external/sax/org/xml/sax/ext/LexicalHandler.java,
6745 external/sax/org/xml/sax/ext/Locator2.java,
6746 external/sax/org/xml/sax/ext/Locator2Impl.java,
6747 external/sax/org/xml/sax/ext/package.html,
6748 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
6749 external/sax/org/xml/sax/helpers/AttributesImpl.java,
6750 external/sax/org/xml/sax/helpers/DefaultHandler.java,
6751 external/sax/org/xml/sax/helpers/LocatorImpl.java,
6752 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
6753 external/sax/org/xml/sax/helpers/NewInstance.java,
6754 external/sax/org/xml/sax/helpers/ParserAdapter.java,
6755 external/sax/org/xml/sax/helpers/ParserFactory.java,
6756 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
6757 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
6758 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
6759 external/sax/org/xml/sax/helpers/package.html,
6760 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
6761 external/w3c_dom/org/w3c/dom/Attr.java,
6762 external/w3c_dom/org/w3c/dom/CDATASection.java,
6763 external/w3c_dom/org/w3c/dom/CharacterData.java,
6764 external/w3c_dom/org/w3c/dom/Comment.java,
6765 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
6766 external/w3c_dom/org/w3c/dom/DOMError.java,
6767 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
6768 external/w3c_dom/org/w3c/dom/DOMException.java,
6769 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
6770 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
6771 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
6772 external/w3c_dom/org/w3c/dom/DOMLocator.java,
6773 external/w3c_dom/org/w3c/dom/DOMStringList.java,
6774 external/w3c_dom/org/w3c/dom/Document.java,
6775 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
6776 external/w3c_dom/org/w3c/dom/DocumentType.java,
6777 external/w3c_dom/org/w3c/dom/Element.java,
6778 external/w3c_dom/org/w3c/dom/Entity.java,
6779 external/w3c_dom/org/w3c/dom/EntityReference.java,
6780 external/w3c_dom/org/w3c/dom/NameList.java,
6781 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
6782 external/w3c_dom/org/w3c/dom/Node.java,
6783 external/w3c_dom/org/w3c/dom/NodeList.java,
6784 external/w3c_dom/org/w3c/dom/Notation.java,
6785 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
6786 external/w3c_dom/org/w3c/dom/Text.java,
6787 external/w3c_dom/org/w3c/dom/TypeInfo.java,
6788 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
6789 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
6790 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
6791 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
6792 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
6793 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
6794 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
6795 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
6796 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
6797 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
6798 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
6799 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
6800 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
6801 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
6802 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
6803 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
6804 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
6805 external/w3c_dom/org/w3c/dom/css/Counter.java,
6806 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
6807 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
6808 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
6809 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
6810 external/w3c_dom/org/w3c/dom/css/Rect.java,
6811 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
6812 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
6813 external/w3c_dom/org/w3c/dom/events/Event.java,
6814 external/w3c_dom/org/w3c/dom/events/EventException.java,
6815 external/w3c_dom/org/w3c/dom/events/EventListener.java,
6816 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
6817 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
6818 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
6819 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
6820 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
6821 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
6822 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
6823 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
6824 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
6825 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
6826 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
6827 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
6828 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
6829 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
6830 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
6831 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
6832 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
6833 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
6834 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
6835 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
6836 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
6837 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
6838 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
6839 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
6840 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
6841 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
6842 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
6843 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
6844 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
6845 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
6846 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
6847 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
6848 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
6849 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
6850 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
6851 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
6852 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
6853 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
6854 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
6855 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
6856 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
6857 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
6858 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
6859 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
6860 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
6861 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
6862 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
6863 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
6864 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
6865 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
6866 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
6867 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
6868 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
6869 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
6870 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
6871 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
6872 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
6873 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
6874 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
6875 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
6876 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
6877 external/w3c_dom/org/w3c/dom/ls/LSException.java,
6878 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
6879 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
6880 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
6881 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
6882 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
6883 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
6884 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
6885 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
6886 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
6887 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
6888 external/w3c_dom/org/w3c/dom/ranges/Range.java,
6889 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
6890 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
6891 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
6892 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
6893 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
6894 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
6895 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
6896 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
6897 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
6898 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
6899 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
6900 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
6901 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
6902 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
6903 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
6904 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
6905 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
6906 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
6909 2005-01-31 Anthony Green <green@redhat.com>
6911 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
6912 Support IP_MULTICAST_LOOP.
6913 (setOption): Support IP_MULTICAST_LOOP.
6915 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
6916 SO_REUSEADDR support.
6917 (getOption): Support SO_REUSEADDR.
6919 2004-01-28 Jeroen Frijters <jeroen@frijters.net>
6922 * java/util/Date.java
6923 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
6925 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
6927 (getTimezoneOffset): Inverted sign.
6929 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
6931 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
6932 remove other passing tests and add new XFAILs.
6934 2005-01-24 Tom Tromey <tromey@redhat.com>
6936 * java/lang/Class.h (next): Updated documentation. Renamed to
6938 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
6939 _Jv_CheckABIVersion.
6940 (_Jv_RegisterClasses_Counted): Likewise.
6941 (_Jv_RegisterClassHookDefault): Fix starting condition of
6942 duplicate-checking loop.
6943 * include/jvm.h (GCJ_VERSION): New define.
6944 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
6945 (_Jv_CheckABIVersion): New function.
6947 2005-01-24 Jakub Jelinek <jakub@redhat.com>
6949 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
6950 (libgij_la_LDFLAGS): Add.
6951 * Makefile.in: Rebuilt.
6953 2005-01-24 Roger Sayle <roger@eyesopen.com>
6956 * testsuite/libjava.compile/PR19295.java: New test case.
6958 2005-01-19 Tom Tromey <tromey@redhat.com>
6960 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
6961 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
6962 if 'handler' is valid.
6964 2005-01-17 Tom Tromey <tromey@redhat.com>
6966 * java/text/MessageFormat.java (scanString): Changed how quoting
6968 (scanFormatElement): Likewise.
6970 2004-12-07 Mark Wielaard <mark@klomp.org>
6972 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
6974 2005-01-15 Michael Koch <konqueror@gmx.de>
6978 (AUTHORITY_REGEXP): New regexp constant.
6979 (AUTHORITY_USERINFO_GROUP): New constant.
6980 (AUTHORITY_HOST_GROUP): Likewise.
6981 (AUTHORITY_PORT_GROUP): Likewise.
6982 (port): Changed default value to -1.
6983 (parseURI): Parse authority part and initialize host,
6986 2005-01-14 Robin Green <greenrd@greenrd.org>
6988 * java/io/File.java (toURI): Generate a URI which we understand.
6990 2005-01-13 Graydon Hoare <graydon@redhat.com>
6992 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
6993 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
6994 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
6995 * jni.cc: Reuse bottom frame between calls, avoid clearing
6996 frame when no local references are made.
6998 2005-01-13 Michael Koch <konqueror@gmx.de>
7001 * java/lang/Thread.java
7002 (Thread): Call checkAccess().
7003 (stop): Fixed argument name to match javadoc.
7004 * java/lang/natThread.cc
7005 (interrupt): Call checkAccess().
7008 2005-01-11 Michael Koch <konqueror@gmx.de>
7011 * java/net/URL.java (URL): Handle specs like
7012 "/redir?http://domain2.com/index.html" which start with a slash.
7014 2005-01-11 Michael Koch <konqueror@gmx.de>
7016 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7017 * gnu/java/net/BASE64.java,
7018 gnu/java/net/EmptyX509TrustManager.java,
7019 gnu/java/net/LineInputStream.java,
7020 gnu/java/net/protocol/http/Authenticator.java,
7021 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7022 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7023 gnu/java/net/protocol/http/ChunkedInputStream.java,
7024 gnu/java/net/protocol/http/Cookie.java,
7025 gnu/java/net/protocol/http/CookieManager.java,
7026 gnu/java/net/protocol/http/Credentials.java,
7027 gnu/java/net/protocol/http/HTTPConnection.java,
7028 gnu/java/net/protocol/http/HTTPDateFormat.java,
7029 gnu/java/net/protocol/http/HTTPURLConnection.java,
7030 gnu/java/net/protocol/http/Headers.java,
7031 gnu/java/net/protocol/http/Request.java,
7032 gnu/java/net/protocol/http/RequestBodyWriter.java,
7033 gnu/java/net/protocol/http/Response.java,
7034 gnu/java/net/protocol/http/ResponseBodyReader.java,
7035 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7036 gnu/java/net/protocol/http/SimpleCookieManager.java,
7037 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7038 gnu/java/net/protocol/http/event/ConnectionListener.java,
7039 gnu/java/net/protocol/http/event/RequestEvent.java,
7040 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7041 * gnu/java/net/protocol/http/Connection.java: Removed.
7042 * gnu/java/net/protocol/http/Handler.java,
7043 javax/net/ssl/HttpsURLConnection.java: Updated.
7044 * Makefile.am: Added new files and remove old ones.
7045 * Makefile.in: Regenerated.
7047 2005-01-11 Tom Tromey <tromey@redhat.com>
7050 * java/io/BufferedInputStream.java (read): Repeatedly read to
7052 (refill): Change test to see if buffer must be grown.
7054 2005-01-10 Tom Tromey <tromey@redhat.com>
7056 * mauve-libgcj: Exclude some swing tests.
7058 2005-01-10 Tom Tromey <tromey@redhat.com>
7060 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7061 * java/lang/Package.java (getPackages): Use VMClassLoader when
7063 (getPackage): Likewise.
7064 * prims.cc (_Jv_CreateJavaVM): Call
7065 _Jv_RegisterBootstrapPackages.
7066 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7067 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7068 (getPackages): Likewise.
7069 (definedPackages): New field.
7070 (definePackageForNative): New method.
7071 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7072 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7073 * defineclass.cc (handleClassBegin): Use
7074 ClassLoader.findLoadedClass.
7075 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7077 (struct _Jv_LoaderInfo): Removed.
7078 (initiated_classes): Likewise.
7079 (_Jv_UnregisterClass): Don't use initiated_classes.
7080 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7081 (_Jv_FindClass): Register classes found during boostrap.
7082 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7083 (bootstrap_class_list): New global.
7084 (bootstrap_index): Likewise.
7085 (_Jv_RegisterBootstrapPackages): New function.
7086 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7087 definePackageForNative.
7088 (findClass): Updated.
7089 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7092 2005-01-10 Tom Tromey <tromey@redhat.com>
7095 * include/jvm.h (_Jv_Linker::find_field): Declare.
7096 (_Jv_Linker::find_field_helper): Likewise.
7097 * link.cc (find_field_helper): New method.
7098 (find_field): Likewise.
7099 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7101 (link_symbol_table): Use find_field.
7103 2005-01-10 Michael Koch <konqueror@gmx.de>
7106 * java/util/Locale.java (Locale): Don't uppercase variant.
7107 (getISOCountries): Fixed typo in javadoc.
7109 2005-01-10 Michael Koch <konqueror@gmx.de>
7111 * java/util/SimpleTimeZone.java (checkRule):
7112 Throw IllegalArgumentException on invalid month values.
7113 * java/util/TimeZone.java (setID):
7114 Throw NullPointerException if needed.
7116 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7118 * java/util/SimpleTimeZone.java (getOffset):
7119 offset end date with daylight savings
7121 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7123 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7124 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7126 2005-01-09 Michael Koch <konqueror@gmx.de>
7129 * java/net/InetAddress.java (getLocalHost):
7130 Throw UnknownHostException if local hostname cannot be determined.
7132 2005-01-06 Tom Tromey <tromey@redhat.com>
7134 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7136 2005-01-07 Michael Koch <konqueror@gmx.de>
7139 * java/nio/Buffer.java (address): New field.
7140 * java/nio/DirectByteBufferImpl.java (address): Removed.
7141 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7142 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7143 Explicitly initialize Buffer.address if needed.
7144 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7145 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7146 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7147 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7148 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7149 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7150 DirectByteBufferImpl object.
7151 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7152 * testsuite/libjava.jni/directbuffer.c,
7153 testsuite/libjava.jni/directbuffer.java,
7154 testsuite/libjava.jni/directbuffer.out,
7155 testsuite/libjava.jni/bytebuffer.c,
7156 testsuite/libjava.jni/bytebuffer.java,
7157 testsuite/libjava.jni/bytebuffer.out: New files.
7159 2005-01-05 Tom Tromey <tromey@redhat.com>
7161 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7163 (compressedSize): Now 'long'. Default to -1.
7164 (getCompressedSize): Rewrote.
7165 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7166 deflate at all if we need input.
7168 2005-01-05 Tom Tromey <tromey@redhat.com>
7171 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7174 2005-01-05 Tom Tromey <tromey@redhat.com>
7176 * java/lang/natRuntime.cc (insertSystemProperties): Set
7177 java.ext.dirs earlier.
7179 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7181 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7182 sync_info element of the object if needed.
7184 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7186 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7187 a non-zero exit status from 'false'.
7189 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7191 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.
7193 2004-12-31 Andreas Jaeger <aj@suse.de>
7195 * testsuite/lib/libjava.exp (libjava_find_gij): Handle multilibs.
7197 2004-12-20 Tom Tromey <tromey@redhat.com>
7199 * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
7200 Re-enable duplicate class registration error.
7202 * testsuite/libjava.jar/jar.exp (gcj_jar_interpret): Updated.
7203 * testsuite/libjava.verify/verify.exp (gcj_verify_run): Updated.
7204 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Updated.
7205 * testsuite/lib/libjava.exp (libjava_find_spec): Don't use
7207 (libjava_find_gij): Likewise. Changed return result if gij not
7209 (test_libjava_from_javac): Updated.
7212 * testsuite/libjava.jni/iface.c: New file.
7213 * testsuite/libjava.jni/iface.out: New file.
7214 * testsuite/libjava.jni/iface.java: New file.
7216 2004-12-19 Kelley Cook <kcook@gcc.gnu.org>
7218 * include/config.h.in: Regenerate.
7220 2004-12-10 Andrew Haley <aph@redhat.com>
7223 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Look up
7224 abstract methods by name.
7226 2004-12-08 Ranjit Mathew <rmathew@hotmail.com>
7228 * java/util/IdentityHashMap.java (put): Replace mistaken use
7231 2004-12-06 Tom Tromey <tromey@redhat.com>
7234 * testsuite/libjava.compile/PR14853.java: New file.
7235 * testsuite/libjava.compile/PR14853.xfail: New file.
7237 2004-12-03 Richard Sandiford <rsandifo@redhat.com>
7240 * configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
7241 * Makefile.am (install-data-local): Install headers into
7242 $(gxx_include_dir) rather than $(includedir).
7243 (AM_MAKEFLAGS): Pass down gxx_include_dir.
7244 * gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
7245 * include/Makefile.am (tool_include__HEADERS): Define this...
7246 (include_HEADERS): ...instead of this.
7247 * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
7248 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
7250 2004-12-02 Tom Tromey <tromey@redhat.com>
7253 * testsuite/libjava.compile/PR16675.java: New file.
7255 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
7257 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
7258 * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
7259 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
7261 2004-12-01 Tom Tromey <tromey@redhat.com>
7263 * include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
7265 (_Jv_ThreadRegister): Likewise.
7266 (_Jv_MutexCheckMonitor): Likewise.
7268 * link.cc: Include limits.h.
7270 2004-12-01 Bryce McKinlay <mckinlay@redhat.com>
7273 * testsuite/libjava.lang/PR18699.java,
7274 testsuite/libjava.lang/PR18699.out: New test.
7276 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
7278 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawImage variants):
7279 Update image observer.
7280 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
7281 Start image production.
7282 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Protect
7283 against negative menu bar widths.
7284 (setBounds): Likewise.
7285 (postConfigureEvent): Likewise.
7286 * gnu/java/awt/peer/gtk/GtkImage.java (imageComplete): Don't
7287 remove consumer unless only a single frame has completed.
7288 * gnu/java/awt/peer/gtk/GtkImagePainter.java (GtkImagePainter):
7289 Add observer parameter.
7290 (setPixels): Update image observer.
7291 (imageComplete): Likewise.
7292 * java/applet/Applet.java (width): New field.
7294 (setStub): Set size if width or height field has been set.
7295 (resize): If stub is null save width and height values.
7296 * java/awt/Component.java (reshape): Protect against null
7298 * java/awt/image/MemoryImageSource.java
7299 (MemoryImageSource(int,int,ColorModel,byte[],int,int)):
7301 (MemoryImageSource(int,int,ColorModel,int[],int,int)):
7303 (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable)):
7304 Reference pixel array directly, rather than creating a local
7306 (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable)):
7308 (newPixels(int,int,int,int)): Fix for loop and array copy
7310 (newPixels(int,int,int,int,boolean)): Likewise.
7311 (startProduction): If animated call imageComplete with
7313 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Uncomment
7315 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7316 (drawPixels): Return if g is null or g->drawable is not a gdk
7319 2004-11-30 Michael Koch <konqueror@gmx.de>
7321 * javax/swing/DefaultSingleSelectionModel.java,
7322 javax/swing/JPasswordField.java,
7323 javax/swing/tree/AbstractLayoutCache.java:
7324 Reformatted and javadocs cleaned up.
7326 2004-11-30 Michael Koch <konqueror@gmx.de>
7328 * java/awt/Component.java:
7329 Fixed argument names to match javadocs.
7330 (setFont): Rewritten set property first and then fire event.
7331 (setLocale): Likewise.
7332 * javax/swing/text/JTextComponent.java
7333 (setEditable): Likewise.
7335 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7337 * java/awt/Button.java
7338 (AccessibleAWTButton.getAccessibleActionDescription): Explain the
7341 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7343 * java/awt/Checkbox.java: Remove stub comments.
7345 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7347 * java/awt/Button.java
7348 (AccessibleAWTButton.getAccessibleActionDescription): Return
7351 2004-11-30 Michael Koch <konqueror@gmx.de>
7353 * java/awt/CardLayout.java:
7354 Made some constants static.
7355 (serialVersionUID): Made private.
7356 (addLayoutComponent): Simplified code.
7357 * java/awt/event/InputEvent.java
7358 (getModifiersEx): Added missing @param tag.
7359 * java/awt/image/RGBImageFilter.java
7360 (filterRGBPixels): Reformatted, removed wrong @param tag.
7362 2004-11-30 Michael Koch <konqueror@gmx.de>
7364 * javax/swing/text/FieldView.java,
7365 javax/swing/text/JTextComponent.java:
7368 2004-11-30 Michael Koch <konqueror@gmx.de>
7370 * javax/swing/BorderFactory.java
7371 (BorderFactory): Added private constructor.
7372 * javax/swing/SwingUtilities.java
7373 (SwingUtilities): Likewise.
7374 (computeStringWidth): New method.
7376 2004-11-30 Michael Koch <konqueror@gmx.de>
7378 * java/awt/color/ICC_Profile.java
7379 (icSigNamedColorTag): Removed.
7380 * java/awt/datatransfer/DataFlavor.java
7381 (isMimeTypeEqual): Made final.
7382 * java/awt/image/AffineTransformOp.java:
7384 (TYPE_BICUBIC): Added @since tag.
7386 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7388 * java/awt/Checkbox.java (AccessibleAWTCheckBox): Remove todo
7391 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7393 * java/awt/Checkbox.java (itemStateChanged): Implement function.
7394 (getAccessibleContext): Add AccessibleAWTCheckBox to item listeners.
7396 2004-11-30 Sven de Marothy <sven@physto.se>
7398 * java/awt/Polygon.java (contains): Reimplemented.
7400 2004-11-30 Michael Koch <konqueror@gmx.de>
7402 * java/awt/print/PrinterJob.java: Reformatted.
7404 2004-11-30 Michael Koch <konqueror@gmx.de>
7406 * java/awt/image/AffineTransformOp.java,
7407 java/awt/image/ColorConvertOp.java,
7408 java/awt/image/LookupOp.java,
7409 java/awt/image/RescaleOp.java:
7410 Added final keywords where they belong.
7412 2004-11-30 Michael Koch <konqueror@gmx.de>
7414 * java/awt/CardLayout.java,
7415 java/awt/Component.java,
7417 java/awt/image/SinglePixelPackedSampleModel.java:
7418 Fixed javadocs and argument names all over.
7420 2004-11-30 Michael Koch <konqueror@gmx.de>
7422 * java/awt/image/DataBufferShort.java: Fixed file header.
7423 * java/awt/image/DataBufferUShort.java: Likewise.
7424 (DataBufferUShort): Throw NullPointerException if dataArray is null.
7426 2004-11-30 Sven de Marothy <sven@physto.se>
7428 * java/awt/geom/Arc2D.java
7429 (setAngleStart): Corrected (wrong sign on atan2 y parameter).
7430 (setAngles): Likewise.
7431 (containsAngle): Return false on zero extent, don't include
7433 (contains): Treat OPEN-type arcs like CHORD ones, not as PIE
7436 2004-11-30 Sven de Marothy <sven@physto.se>
7438 * java/awt/geom/AffineTransform.java,
7439 (inverseTransform): Fixed bug and simplified code.
7440 (createTransformedShape): Return null on null parameter.
7442 2004-11-30 Michael Koch <konqueror@gmx.de>
7444 * java/awt/color/ICC_ColorSpace.java,
7445 java/awt/color/ICC_Profile.java,
7446 java/awt/color/ICC_ProfileGray.java,
7447 java/awt/color/ICC_ProfileRGB.java:
7448 Re-indent copyright header to be standardish.
7449 * java/awt/datatransfer/StringSelection.java:
7451 * java/awt/geom/Area.java
7452 (EPSILON): Made static.
7453 (RS_EPSILON): Likewise.
7454 (PE_EPSILON): Likewide.
7456 2004-11-30 Sven de Marothy <sven@physto.se>
7458 * javax/swing/SwingUtilities.java:
7459 (computeDifference): Implemented
7460 (computeIntersection): Likewise
7461 (computeUnion): Likewise
7462 (isRectangleContainingRectangle): Likewise
7464 2004-11-30 Michael Koch <konqueror@gmx.de>
7466 * java/awt/BasicStroke.java,
7467 java/awt/Button.java,
7468 java/awt/Canvas.java,
7469 java/awt/CheckboxMenuItem.java,
7470 java/awt/Container.java,
7471 java/awt/EventQueue.java,
7472 java/awt/FileDialog.java,
7473 java/awt/FlowLayout.java,
7474 java/awt/FontMetrics.java,
7475 java/awt/Graphics.java,
7476 java/awt/GridLayout.java,
7477 java/awt/KeyboardFocusManager.java,
7478 java/awt/Label.java,
7479 java/awt/LayoutManager2.java,
7481 java/awt/MenuBar.java,
7482 java/awt/Scrollbar.java,
7483 java/awt/Toolkit.java,
7484 java/awt/Window.java,
7485 java/awt/datatransfer/DataFlavor.java,
7486 java/awt/datatransfer/FlavorTable.java,
7487 java/awt/event/ActionListener.java,
7488 java/awt/event/HierarchyBoundsAdapter.java,
7489 java/awt/geom/Arc2D.java,
7490 java/awt/geom/Rectangle2D.java,
7491 java/awt/geom/RectangularShape.java,
7492 java/awt/im/spi/InputMethod.java,
7493 java/awt/image/ByteLookupTable.java,
7494 java/awt/image/ColorModel.java,
7495 java/awt/image/DirectColorModel.java,
7496 java/awt/image/ShortLookupTable.java,
7497 java/awt/print/Book.java:
7498 Fixed javadocs and method argument names all over.
7500 2004-11-30 Michael Koch <konqueror@gmx.de>
7502 * gnu/java/awt/peer/gtk/GdkFontPeer.java
7503 (buildString): Optimise String building.
7505 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7507 * java/awt/TextArea.java (AccessibleAWTTextArea,
7508 getAccessibleContext): Implement.
7509 * java/awt/TextField.java (AccessibleAWTTextField,
7510 getAccessibleContext): Implement.
7512 2004-11-30 Tom Tromey <tromey@redhat.com>
7514 * Makefile.in: Rebuilt.
7515 * Makefile.am (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.lo):
7518 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7520 * java/awt/Menu.java (AccessibleAWTMenu, getAccessibleContext):
7522 * java/awt/PopupMenu.java (AccessibleAWTMenu, getAccessibleContext):
7525 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7527 * java/awt/print/PrinterJob.java (lookupPrintServices,
7528 getPrintService, setPrintService): Implement.
7529 (lookupStreamPrintServices): Add commented out implementation.
7530 (printer): New field.
7532 2004-11-30 Mark Wielaard <mark@klomp.org>
7534 * javax/swing/ToolTipManager.java (mouseMoved): Set currentComponent
7537 2004-11-30 Sven de Marothy <sven@physto.se>
7539 * java/awt/geom/GeneralPath.java (evaluateCrossings):
7540 Fixed epsilon value, should always be nonzero.
7542 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
7544 * java/awt/image/Raster.java
7545 (createPackedRaster): Implemented.
7547 2004-11-30 Graydon Hoare <graydon@redhat.com>
7549 * javax/swing/plaf/basic/BasicTextUI.java:
7550 Listen to focus events, indicate focus via caret.
7551 * javax/swing/text/GapContent.java (getString): Return substring.
7552 * javax/swing/text/PlainDocument.java (reindex): New method.
7553 (createDefaultRoot): Call it.
7554 (insertUpdate): Likewise.
7555 (removeUpdate): Likewise.
7556 * javax/swing/text/Utilities.java (drawTabbedText): Always advance
7557 on tab and newline, even if no painting happens.
7559 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
7561 * Makefile.am: List peer JNI header: Java source file
7562 dependencies explicitly. Likewise for JNI .lo: JNI header
7564 * Makefile.in: Regenerate.
7566 2004-11-30 Graydon Hoare <graydon@redhat.com>
7568 * Makefile.am: Add entry for BasicTextPaneUI.java
7569 * Makefile.in: Regenerate.
7570 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7571 (GdkGraphics2D): Set clip after transform.
7572 (drawImage): Protect against null image.
7573 * gnu/java/awt/peer/gtk/GtkFramePeer.java
7574 (setIconImage): Protect against non-GtkImage args.
7575 * gnu/java/awt/peer/gtk/GtkToolkit.java
7576 (checkImage): Protect against non-GtkImage args.
7577 * java/awt/print/PrinterJob.java:
7578 (print): Add variant taking PrintRequestAttributeSet.
7579 (printDialog): Likewise.
7580 * javax/swing/JComponent.java:
7581 (transferHandler): New field.
7582 (getComponentGraphics): Build new Graphics for each sub-paint.
7583 (getTransferHandler): New method.
7584 (setTransferHandler): New method.
7585 * javax/swing/JDesktopPane.java
7586 (setDragMode): Force LIVE_DRAG_MODE.
7587 * javax/swing/JMenuItem.java
7588 (menuSelectionChanged): Protect against null parent.
7589 * javax/swing/JTable.java (setDefaultRenderer): New method.
7590 * javax/swing/JTree.java: Get basic ctors and UI working.
7591 * javax/swing/JViewport.java (JViewport): Set scroll mode.
7592 * javax/swing/RepaintManager.java
7593 (addDirtyRegion): Skip empty regions.
7594 * javax/swing/ScrollPaneLayout.java (minimumLayoutSize): Do not
7595 bound scrollpane minimum by central view minimum.
7596 * javax/swing/ToolTipManager.java
7597 (showTip): Guard against null component.
7598 * javax/swing/TransferHandler.java: Stub out.
7599 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7600 Add entry for TextPaneUI, change Tree icons to pngs.
7601 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7602 (installDefaults): Set text position and alignment.
7603 (paintMenuItem): Layout icon with normal compound function.
7604 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
7605 (getMaximumSize): Delete.
7606 (getMinimumSize): Delete.
7607 (getPreferredSize): Use column model's total width.
7608 * javax/swing/plaf/basic/BasicTextPaneUI.java: New file.
7609 * javax/swing/plaf/basic/BasicTextUI.java
7610 (modelChanged): Make resilient against nulls.
7611 * javax/swing/plaf/basic/BasicTreeUI.java:
7612 Add some simplistic config / painting functions.
7613 * javax/swing/plaf/basic/BasicViewportUI.java
7614 (paintSimple): Add new non-backingstore paint mode.
7615 (paintBackingStore): Split out backing store code.
7616 (paint): Switch on painting mode.
7617 * javax/swing/text/SimpleAttributeSet.java
7618 (SimpleAttributeSet): Resist nulls.
7619 * javax/swing/tree/DefaultTreeCellRenderer.java: Implement.
7620 * javax/swing/tree/DefaultTreeModel.java: Partially implement.
7622 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
7624 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (setFont):
7625 Set pango context's description and language.
7627 2004-11-30 Mark Wielaard <mark@klomp.org>
7629 * java/awt/image/LookupOp.java: Comments and indentation fixes.
7631 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7633 * java/awt/Checkbox.java (AccessibleAWTCheckBox): Implement.
7634 (getAccessibleContext): Implement.
7636 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7638 * java/awt/TextComponent.java (AccessibleAWTTextComponent):
7640 (getIndexAtPoint, getCharacterBounds): New methods.
7642 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7644 * java/awt/Button.java (AccessibleAWTButton): Implement.
7646 2004-11-30 Mark Wielaard <mark@klomp.org>
7648 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7649 (filenameFilterCallback): Made static.
7651 2004-11-30 Michael Koch <konqueror@gmx.de>
7653 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
7654 (cairoShowGlyphs) Removed.
7656 2004-11-30 Sven de Marothy <sven@physto.se>
7658 * gnu/java/awt/color/RgbProfileConverter.java (RgbProfileConverter):
7659 Don't invert matrix when reverse CLUT is available.
7660 * gnu/java/awt/color/LinearRGBConverter.java: Documentation update.
7661 * java/awt/color/ICC_ColorSpace.java: Likewise.
7662 * java/awt/color/ICC_Profile.java: Likewise.
7663 * java/awt/color/ICC_ProfileGray.java: Likewise.
7664 * java/awt/color/ICC_ProfileRGB.java: Likewise.
7666 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7668 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Implement.
7670 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7672 * java/awt/Choice.java (AccessibleAWTChoice): Implement.
7674 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7676 * java/awt/image/BandedSampleModel.java (scanlineStride): Remove
7677 field hiding ComponentSampleModel.scanlineStride.
7679 2004-11-30 Noa Resare <noa@resare.com>
7681 * java/awt/geom/GeneralPath.java (currentSegment):
7682 Fix typo in transform.transform() invocation.
7684 2004-11-30 Sven de Marothy <sven@physto.se>
7686 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7687 (createImage): Created bitmap should be filled with bg color
7689 2004-11-30 Noa Resare <noa@resare.com>
7691 * java/awt/Choice.java (add):
7692 Implement correct selection behavior when peer == null.
7696 2004-11-30 Mark Wielaard <mark@klomp.org>
7698 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
7699 Call select() when Choice has a selected item.
7701 2004-11-30 Michael Koch <address@bogus.example.com>
7703 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
7704 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
7705 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
7706 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c,
7707 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
7708 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
7709 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
7710 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
7711 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
7712 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
7713 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7714 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
7715 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
7716 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
7717 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
7718 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
7719 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
7720 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7721 Fixed method names to start at begin of line. This is desired by GNU
7724 2004-11-30 Michael Koch <konqueror@gmx.de>
7726 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7727 (gtkWidgetSetVisible): Unused. Removed.
7728 (connectJObject): Likewise.
7729 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
7730 (gtkScrolledWindowSetScrollPosition): Commented out.
7732 2004-11-30 Mark Wielaard <mark@klomp.org>
7734 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
7735 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_setText): Installed and
7736 renamed from Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText.
7738 2004-11-30 Mark Wielaard <mark@klomp.org>
7740 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
7741 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText): Removed.
7742 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
7743 (init_dpi_conversion_factor): Correct prototype.
7745 2004-11-30 Sven de Marothy <sven@physto.se>
7747 * java/awt/image/ConvolveOp.java: Added missing
7750 2004-11-30 Robert Schuster <theBohemian@gmx.net>
7753 * gnu/java/beans/IntrospectionIncubator.java:
7754 (addMethod): static methods are discarded now, too.
7756 2004-11-30 Mark Wielaard <mark@klomp.org>
7758 * Makefile.am (awt_java_source_files): Add new gnu/java/awt/color
7760 * Makefile.in: Regenerated.
7762 2004-11-30 Sven de Marothy <sven@physto.se>
7764 * gnu/java/awt/color/CieXyzConverter.java,
7765 gnu/java/awt/color/GrayScaleConverter.java,
7766 gnu/java/awt/color/SrgbConverter.java,
7767 gnu/java/awt/color/ClutProfileConverter.java,
7768 gnu/java/awt/color/LinearRGBConverter.java,
7769 gnu/java/awt/color/TagEntry.java,
7770 gnu/java/awt/color/ColorLookUpTable.java,
7771 gnu/java/awt/color/ProfileHeader.java,
7772 gnu/java/awt/color/ToneReproductionCurve.java,
7773 gnu/java/awt/color/ColorSpaceConverter.java,
7774 gnu/java/awt/color/PyccConverter.java,
7775 gnu/java/awt/color/GrayProfileConverter.java,
7776 gnu/java/awt/color/RgbProfileConverter.java:
7778 * java/awt/color/ICC_ColorSpace.java,
7779 java/awt/color/ICC_Profile.java,
7780 java/awt/color/ICC_ProfileGray.java,
7781 java/awt/color/ICC_ProfileRGB.java:
7782 Implemented (sans PhotoYCC color space).
7784 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7786 * java/awt/image/AffineTransformOp.java (filter): Implement
7787 bilinear interpolation for Rasters.
7789 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7791 * java/awt/image/IndexColorModel.java (IndexColorModel): Actually
7792 use the provided colormap. Throw documented exceptions. Document
7795 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
7797 * java/awt/image/IndexColorModel.java (IndexColorModel): Fix
7800 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7802 * java/awt/image/AffineTransformOp.java: Add TYPE_BICUBIC.
7804 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7806 * java/awt/image/AffineTransformOp.java (filter): Implement Raster
7809 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7811 * java/awt/image/ComponentSampleModel.java (getDataElements,
7812 setDataElements): Implement SHORT, FLOAT, and INT transfer types.
7814 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
7816 * java/awt/Font.java (name): New field.
7820 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7822 * java/awt/image/Raster.java (createBandedRaster): Implement.
7824 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7826 * java/awt/image/ConvolveOp.java: New class.
7827 * Makefile.am: Add ConvolveOp.
7828 * Makefile.in: Regenerate.
7830 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7832 * java/awt/image/RescaleOp.java (BandCombineOp, ColorConvertOp,
7833 LookupOp, RescaleOp): Fix loop bounds.
7835 2004-11-30 jlquinn <jlquinn@optonline.net>
7837 * Makefile.am: Fix typo in BandCombineOp.
7838 * Makefile.in: Regenerate.
7840 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7842 * java/awt/image/BandCombineOp.java: New class.
7843 * Makefile.am: Add BandCombineOp.
7844 * Makefile.in: Regenerate.
7846 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7848 * java/awt/image/LookupOp.java: New class.
7849 * Makefile.am: Add LookupOp.
7850 * Makefile.in: Regenerate.
7852 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7854 * java/awt/image/SampleModel.java (createSubsetSampleModel): Add
7857 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7859 * java/awt/image/ColorModel.java (cloneColorModel): Fix line
7860 wrap. Use Boolean.valueOf.
7862 2004-11-30 Michael Koch <konqueror@gmx.de>
7864 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7865 (releasePeerGraphicsResource): Fixed typo in method name.
7866 * gnu/java/awt/peer/gtk/GdkFontPeer.java
7867 (finalize): Fixed typo in releasePeerGraphicsResource.
7869 2004-11-30 Michael Koch <konqueror@gmx.de>
7871 * java/awt/font/TextAttribute.java
7872 (RUN_DIRECTION_LTR): Initialie with static value instead of
7874 (RUN_DIRECTION_RTL): Likewise.
7875 (STRIKETHROUGH_ON): Likewise.
7876 (SWAP_COLORS_ON): Likewise.
7878 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
7880 * java/awt/image/ColorConvertOp.java: New class.
7881 * java/awt/image/ColorModel.java (cloneColorModel): New method.
7882 * Makefile.am: Add ColorConvertOp.
7883 * Makefile.in: Regenerate.
7885 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
7887 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7888 Track Window focus owner on FOCUS_GAINED events.
7890 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
7892 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
7893 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
7895 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
7897 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
7898 (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
7899 Fix pointer warning.
7901 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
7903 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7904 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
7905 Fix pointer warning.
7907 * jni/gtk-peer/gtkpeer.h: Introduce widget_union to fix type punned
7909 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
7910 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Use widget_union
7911 to fix type punned pointer warning.
7912 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
7915 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7916 (window_get_new_state): Introduce unions to fix warnings as above.
7917 (window_property_changed_cb): Likewise.
7918 (window_active_state_change_cb): Mark unused variables unused.
7919 (window_focus_state_change_cb): Likewise.
7920 (window_focus_in_cb): Likewise.
7921 (window_focus_out_cb): Likewise.
7923 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
7924 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Convert
7925 PangoFontMap correctly with PANGO_FT2FONT_MAP macro.
7927 2004-11-30 Michael Koch <konqueror@gmx.de>
7929 * javax/swing/JMenuBar.java
7930 (updateUI): Simplified.
7931 * javax/swing/tree/DefaultTreeSelectionModel.java:
7932 Reorganized import statements.
7934 2004-11-30 Michael Koch <konqueror@gmx.de>
7936 * java/awt/font/TextAttribute.java,
7937 javax/swing/JComponent.java,
7938 javax/swing/JInternalFrame.java,
7939 javax/swing/table/TableColumn.java,
7940 javax/swing/text/StyleConstants.java:
7941 Replaced "new Boolean(boolean)" with "Boolean.valueOf(boolean)".
7943 2004-11-30 Michael Koch <konqueror@gmx.de>
7945 * javax/swing/tree/DefaultTreeCellEditor.java,
7946 javax/swing/tree/DefaultTreeModel.java,
7947 javax/swing/tree/DefaultTreeSelectionModel.java:
7950 2004-11-30 Michael Koch <konqueror@gmx.de>
7952 * javax/swing/tree/DefaultTreeCellEditor.java
7953 (EditorContainer.EditorContainer): Fixed arguments.
7954 (EditorContainer.EditorContainer): New method.
7955 (DefaultTextField.DefaultTextField): Fixed arguments, implemented.
7956 (DefaultTextField.getBorder): Implemented.
7957 (listenerList): New field.
7958 (addCellEditorListener): Implemented.
7959 (removeCellEditorListener): Implemented.
7960 (getCellEditorListeners): New method.
7961 * javax/swing/tree/DefaultTreeModel.java
7962 (addTreeModelListener): Fixed javadoc.
7963 (removeTreeModelListener): Likewise.
7964 (getTreeModelListeners): New method.
7965 (fireTreeNodesChanged): Implemented.
7966 (fireTreeNodesInserted): Likewise.
7967 (fireTreeNodesRemoved): Likewise.
7968 (fireTreeStructureChanged): Likewise.
7969 (getListeners): Fixed javadoc.
7970 * javax/swing/tree/DefaultTreeSelectionModel.java
7971 (addTreeSelectionListener): Implemented.
7972 (removeTreeSelectionListener): Likewise.
7973 (fireValueChanged): Likewise.
7974 (getListeners): Likewise.
7975 (addPropertyChangeListener): Likewise.
7976 (removePropertyChangeListener): Likewise.
7977 (getTreeSelectionListeners): New method.
7978 (getPropertyChangeListeners): Likewise.
7980 2004-11-30 Michael Koch <konqueror@gmx.de>
7982 * javax/swing/plaf/basic/BasicScrollBarUI.java
7983 (maximumThumbSize): Removed static keyword.
7984 (minimumThumbSize): Likewise.
7985 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
7986 (CloseAction): Made public.
7987 (IconifyAction): Likewise.
7988 (MaximizeAction): Likewise.
7989 (MoveAction): Likewise.
7990 (RestoreAction): Likewise.
7991 (SizeAction): Likewise.
7992 (SystemMenuBar): Likewise.
7993 * javax/swing/plaf/basic/BasicSliderUI.java
7994 (TrackListener): Likewise.
7995 * javax/swing/plaf/basic/BasicSplitPaneUI.java
7996 (KeyboardDownRightHandler): Likewise.
7997 (KeyboardEndHandler): Likewise.
7998 (KeyboardHomeHandler): Likewise.
7999 (KeyboardResizeToggleHandler): Likewise.
8000 (KeyboardUpLeftHandler): Likewise.
8001 (PropertyHandler): Likewise.
8002 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8003 (PropertyChangeHandler): Likewise.
8004 (TabSelectionHandler): Likewise.
8006 2004-11-30 Michael Koch <konqueror@gmx.de>
8008 * javax/swing/text/JTextComponent.java
8009 (getKeymap): Made public.
8011 2004-11-30 Michael Koch <konqueror@gmx.de>
8013 * javax/swing/JEditorPane.java
8014 (getStream): Throws IOException.
8016 * javax/swing/JRootPane.java
8017 (createContentPane): Fixed return type.
8018 * javax/swing/JSpinner.java
8019 (commitEdit): Throws ParseException.
8020 * javax/swing/plaf/metal/MetalLookAndFeel.java
8021 (serialVersionUID): New field.
8022 * javax/swing/table/TableColumn.java
8023 (resizedPostingDisableCount): Added @deprecated tag.
8024 (disableResizedPosting): Likewise.
8025 (enableResizedPosting): Likewise.
8026 * javax/swing/text/Document.java
8027 (TitleProperty): Fixed value.
8028 * javax/swing/tree/TreeCellEditor.java
8029 (TreeCellEditor): Extends CellEditor.
8031 2004-11-30 Michael Koch <konqueror@gmx.de>
8033 * javax/swing/JWindow.java
8034 javax/swing/SpinnerModel.java
8035 javax/swing/Timer.java
8036 javax/swing/event/MenuKeyEvent.java
8037 javax/swing/plaf/basic/BasicButtonUI.java
8038 javax/swing/plaf/basic/BasicIconFactory.java
8039 javax/swing/plaf/basic/BasicTabbedPaneUI.java
8040 javax/swing/text/AttributeSet.java
8041 javax/swing/text/Highlighter.java
8042 javax/swing/text/StyleConstants.java
8043 javax/swing/tree/TreeCellEditor.java:
8044 Removed redundant and reordered modifiers.
8046 2004-11-30 Michael Koch <konqueror@gmx.de>
8048 * javax/swing/plaf/basic/BasicToolTipUI.java:
8049 Reformatted copyright header.
8051 2004-11-30 Michael Koch <konqueror@gmx.de>
8053 * javax/swing/AbstractAction.java,
8054 javax/swing/AbstractButton.java,
8055 javax/swing/AbstractCellEditor.java,
8056 javax/swing/AbstractListModel.java,
8057 javax/swing/AbstractSpinnerModel.java,
8058 javax/swing/ActionMap.java,
8059 javax/swing/BorderFactory.java,
8060 javax/swing/Box.java,
8061 javax/swing/ButtonModel.java,
8062 javax/swing/CellEditor.java,
8063 javax/swing/CellRendererPane.java,
8064 javax/swing/DefaultBoundedRangeModel.java,
8065 javax/swing/DefaultButtonModel.java,
8066 javax/swing/DefaultCellEditor.java,
8067 javax/swing/DefaultDesktopManager.java,
8068 javax/swing/DefaultListCellRenderer.java,
8069 javax/swing/DefaultListSelectionModel.java,
8070 javax/swing/DefaultSingleSelectionModel.java,
8071 javax/swing/GrayFilter.java,
8072 javax/swing/InputMap.java,
8073 javax/swing/JApplet.java,
8074 javax/swing/JCheckBoxMenuItem.java,
8075 javax/swing/JColorChooser.java,
8076 javax/swing/JComboBox.java,
8077 javax/swing/JComponent.java,
8078 javax/swing/JDesktopPane.java,
8079 javax/swing/JDialog.java,
8080 javax/swing/JEditorPane.java,
8081 javax/swing/JFileChooser.java,
8082 javax/swing/JFormattedTextField.java,
8083 javax/swing/JFrame.java,
8084 javax/swing/JInternalFrame.java,
8085 javax/swing/JLabel.java,
8086 javax/swing/JLayeredPane.java,
8087 javax/swing/JList.java,
8088 javax/swing/JMenu.java,
8089 javax/swing/JMenuBar.java,
8090 javax/swing/JMenuItem.java,
8091 javax/swing/JOptionPane.java,
8092 javax/swing/JPanel.java,
8093 javax/swing/JPasswordField.java,
8094 javax/swing/JPopupMenu.java,
8095 javax/swing/JRadioButtonMenuItem.java,
8096 javax/swing/JRootPane.java,
8097 javax/swing/JSpinner.java,
8098 javax/swing/JSplitPane.java,
8099 javax/swing/JTabbedPane.java,
8100 javax/swing/JTable.java,
8101 javax/swing/JTextArea.java,
8102 javax/swing/JTextPane.java,
8103 javax/swing/JToggleButton.java,
8104 javax/swing/JToolBar.java,
8105 javax/swing/JToolTip.java,
8106 javax/swing/JTree.java,
8107 javax/swing/JViewport.java,
8108 javax/swing/ListModel.java,
8109 javax/swing/LookAndFeel.java,
8110 javax/swing/MenuSelectionManager.java,
8111 javax/swing/ProgressMonitorInputStream.java,
8112 javax/swing/RepaintManager.java,
8113 javax/swing/RootPaneContainer.java,
8114 javax/swing/ScrollPaneLayout.java,
8115 javax/swing/SpringLayout.java,
8116 javax/swing/SwingUtilities.java,
8117 javax/swing/Timer.java,
8118 javax/swing/ToolTipManager.java,
8119 javax/swing/UIDefaults.java,
8120 javax/swing/UIManager.java,
8121 javax/swing/border/MatteBorder.java,
8122 javax/swing/colorchooser/AbstractColorChooserPanel.java,
8123 javax/swing/colorchooser/ColorSelectionModel.java,
8124 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8125 javax/swing/colorchooser/DefaultHSBChooserPanel.java,
8126 javax/swing/colorchooser/DefaultPreviewPanel.java,
8127 javax/swing/colorchooser/DefaultRGBChooserPanel.java,
8128 javax/swing/colorchooser/DefaultSwatchChooserPanel.java,
8129 javax/swing/event/AncestorEvent.java,
8130 javax/swing/event/HyperlinkEvent.java,
8131 javax/swing/event/InternalFrameEvent.java,
8132 javax/swing/event/MenuDragMouseEvent.java,
8133 javax/swing/event/TableColumnModelEvent.java,
8134 javax/swing/event/TableModelEvent.java,
8135 javax/swing/event/TreeExpansionEvent.java,
8136 javax/swing/event/TreeModelEvent.java,
8137 javax/swing/event/TreeSelectionEvent.java,
8138 javax/swing/event/TreeWillExpandListener.java,
8139 javax/swing/event/UndoableEditEvent.java,
8140 javax/swing/filechooser/FileView.java,
8141 javax/swing/plaf/BorderUIResource.java,
8142 javax/swing/plaf/ComponentUI.java,
8143 javax/swing/plaf/FileChooserUI.java,
8144 javax/swing/plaf/IconUIResource.java,
8145 javax/swing/plaf/ListUI.java,
8146 javax/swing/plaf/PopupMenuUI.java,
8147 javax/swing/plaf/SplitPaneUI.java,
8148 javax/swing/plaf/TabbedPaneUI.java,
8149 javax/swing/plaf/TextUI.java,
8150 javax/swing/plaf/TreeUI.java,
8151 javax/swing/plaf/basic/BasicArrowButton.java,
8152 javax/swing/plaf/basic/BasicBorders.java,
8153 javax/swing/plaf/basic/BasicButtonUI.java,
8154 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
8155 javax/swing/plaf/basic/BasicColorChooserUI.java,
8156 javax/swing/plaf/basic/BasicComboBoxEditor.java,
8157 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
8158 javax/swing/plaf/basic/BasicComboBoxUI.java,
8159 javax/swing/plaf/basic/BasicComboPopup.java,
8160 javax/swing/plaf/basic/BasicDesktopIconUI.java,
8161 javax/swing/plaf/basic/BasicDesktopPaneUI.java,
8162 javax/swing/plaf/basic/BasicIconFactory.java,
8163 javax/swing/plaf/basic/BasicInternalFrameTitlePane.java,
8164 javax/swing/plaf/basic/BasicInternalFrameUI.java,
8165 javax/swing/plaf/basic/BasicListUI.java,
8166 javax/swing/plaf/basic/BasicLookAndFeel.java,
8167 javax/swing/plaf/basic/BasicMenuBarUI.java,
8168 javax/swing/plaf/basic/BasicMenuItemUI.java,
8169 javax/swing/plaf/basic/BasicMenuUI.java,
8170 javax/swing/plaf/basic/BasicOptionPaneUI.java,
8171 javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java,
8172 javax/swing/plaf/basic/BasicPopupMenuUI.java,
8173 javax/swing/plaf/basic/BasicProgressBarUI.java,
8174 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
8175 javax/swing/plaf/basic/BasicRootPaneUI.java,
8176 javax/swing/plaf/basic/BasicScrollBarUI.java,
8177 javax/swing/plaf/basic/BasicSeparatorUI.java,
8178 javax/swing/plaf/basic/BasicSliderUI.java,
8179 javax/swing/plaf/basic/BasicSpinnerUI.java,
8180 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
8181 javax/swing/plaf/basic/BasicSplitPaneUI.java,
8182 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8183 javax/swing/plaf/basic/BasicTableHeaderUI.java,
8184 javax/swing/plaf/basic/BasicTableUI.java,
8185 javax/swing/plaf/basic/BasicTextAreaUI.java,
8186 javax/swing/plaf/basic/BasicTextFieldUI.java,
8187 javax/swing/plaf/basic/BasicTextUI.java,
8188 javax/swing/plaf/basic/BasicToolBarSeparatorUI.java,
8189 javax/swing/plaf/basic/BasicToolBarUI.java,
8190 javax/swing/plaf/basic/BasicToolTipUI.java,
8191 javax/swing/plaf/basic/BasicTreeUI.java,
8192 javax/swing/plaf/basic/BasicViewportUI.java,
8193 javax/swing/plaf/basic/ComboPopup.java,
8194 javax/swing/table/AbstractTableModel.java,
8195 javax/swing/table/DefaultTableCellRenderer.java,
8196 javax/swing/table/DefaultTableColumnModel.java,
8197 javax/swing/table/DefaultTableModel.java,
8198 javax/swing/table/JTableHeader.java,
8199 javax/swing/table/TableCellEditor.java,
8200 javax/swing/table/TableCellRenderer.java,
8201 javax/swing/table/TableColumn.java,
8202 javax/swing/table/TableColumnModel.java,
8203 javax/swing/text/AbstractDocument.java,
8204 javax/swing/text/Caret.java,
8205 javax/swing/text/DefaultCaret.java,
8206 javax/swing/text/DefaultEditorKit.java,
8207 javax/swing/text/DefaultHighlighter.java,
8208 javax/swing/text/EditorKit.java,
8209 javax/swing/text/JTextComponent.java,
8210 javax/swing/text/LayeredHighlighter.java,
8211 javax/swing/text/PasswordView.java,
8212 javax/swing/text/SimpleAttributeSet.java,
8213 javax/swing/text/StyleConstants.java,
8214 javax/swing/text/StyleContext.java,
8215 javax/swing/text/StyledEditorKit.java,
8216 javax/swing/text/TextAction.java,
8217 javax/swing/text/View.java,
8218 javax/swing/tree/AbstractLayoutCache.java,
8219 javax/swing/tree/DefaultTreeCellRenderer.java,
8220 javax/swing/tree/DefaultTreeModel.java,
8221 javax/swing/tree/DefaultTreeSelectionModel.java,
8222 javax/swing/tree/FixedHeightLayoutCache.java,
8223 javax/swing/tree/TreeCellRenderer.java,
8224 javax/swing/tree/TreeSelectionModel.java,
8225 javax/swing/tree/VariableHeightLayoutCache.java,
8226 javax/swing/undo/AbstractUndoableEdit.java,
8227 javax/swing/undo/UndoableEditSupport.java:
8230 2004-11-30 Michael Koch <konqueror@gmx.de>
8232 * java/awt/Container.java,
8234 java/awt/font/TextLayout.java:
8237 2004-11-30 Michael Koch <konqueror@gmx.de>
8239 * javax/swing/AbstractButton.java
8240 (getLabel): Added @deprecated tag.
8241 (setLabel): Likewise.
8242 * javax/swing/FocusManager.java
8243 (disableSwingFocusManager): Likewise.
8244 (isFocusManagerEnabled): Likewise.
8245 * javax/swing/JComponent.java
8246 (isManagingFocus): Added version to @deprecated tag.
8247 (getNextFocusableComponent): Moved @deprecated tag to bottom of
8249 (getConditionForKeyStroke): Likewise.
8250 (getActionForKeyStroke): Likewise.
8251 * javax/swing/JDesktopPane.java
8252 (LIVE_DRAG_MODE): Added @specnote tag.
8253 (OUTLINE_DRAG_MODE): Likewise.
8254 * javax/swing/JInternalFrame.java
8255 (MENU_BAR_PROPERTY): Fixed value.
8256 (getMenuBar): Added @deprecated tag.
8257 (setMenuBar): Likewise.
8258 * javax/swing/JViewport.java
8259 (isBackingStoreEnabled): Likewise.
8260 (setBackingStoreEnabled): Likewise.
8261 * javax/swing/plaf/basic/BasicDesktopPaneUI.java
8262 (closeKey): Likewise.
8263 (maximizeKey): Likewise.
8264 (minimizeKey): Likewise.
8265 (navigateKey): Likewise.
8266 (navigateKey2): Likewise.
8267 * javax/swing/plaf/basic/BasicInternalFrameUI.java
8268 (openMenuKey): Likewise.
8269 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8270 (keyboardDownRightListener): Likewise.
8271 (keyboardEndListener): Likewise.
8272 (keyboardHomeListener): Likewise.
8273 (keyboardResizeToggleListener): Likewise.
8274 (keyboardUpLeftListener): Likewise.
8275 (dividerResizeToggleKey): Likewise.
8276 (downKey): Likewise.
8278 (homeKey): Likewise.
8279 (leftKey): Likewise.
8280 (rightKey): Likewise.
8282 (createKeyboardUpLeftListener): Likewise.
8283 (createKeyboardDownRightListener): Likewise.
8284 (createKeyboardHomeListener): Likewise.
8285 (createKeyboardEndListener): Likewise.
8286 (createKeyboardResizeToggleListener): Likewise.
8287 (getDividerBorderSize): Likewise.
8288 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8289 (downKey): Likewise.
8290 (leftKey): Likewise.
8291 (rightKey): Likewise.
8294 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
8296 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8297 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Use the
8298 GTK_TEXT_VIEW macro.
8300 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8301 (connect_awt_hook_cb): Mark unused variable unused.
8303 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (selection_get):
8306 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8307 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): According to
8308 the gtk API gtk_combo_box_new_text actually returns a GtkWidget.
8309 Remove unused var menu.
8310 (selection_changed): Remove unused value.
8312 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
8313 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_setNativeBounds): Fix pointer
8314 warning with using an intermediate variable.
8316 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8317 (area_updated): Fix unused var warning for BE archs.
8319 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
8320 (Java_gnu_java_awt_peer_gtk_GdkGraphics_connectSignals): Remove unused
8322 (realize_cb): Mark unused variable unused.
8324 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
8325 (seek_glyphstring_idx): Fix a C90 warning.
8327 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
8328 (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
8329 Mark unused arguments unused.
8331 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
8332 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_initState),
8333 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setGlyphCodes),
8334 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphCharIndex),
8335 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphIsHorizontal):
8338 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
8339 (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerFontMetrics),
8340 (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerTextMetrics):
8343 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8344 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
8346 (filenameFilterCallback): Remove unused var.
8347 (handle_response): Declare str_fileName and remove last else statement.
8349 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
8351 (nativeGetNumFontsFamilies) New function.
8352 (nativeGetFontFamilies) Likewise.
8353 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8354 (getAvailableFontFamilyNames): Implement.
8355 * Makefile.am (gtk_c_source_files): Add GdkGraphicsEnvironment.c.
8356 * Makefile.in: Regenerate.
8358 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
8360 * gnu/java/awt/peer/ClasspathFontPeer.java
8361 (setStandardAttributes(String,Map)): If size attribute doesn't
8362 exist, default to size 12. Clamp size value to a minimum of 1.
8364 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
8366 * javax/swing/JDialog.java
8367 (decorated): Likewise.
8368 * javax/swing/JFrame.java
8369 (defaultLookAndFeelDecorated): Likewise.
8371 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
8373 * javax/swing/plaf/basic/BasicToolBarUI.java
8374 (offset, regular): Made final.
8375 * javax/swing/plaf/basic/BasicScrollBarUI.java
8376 (DECREASE_HIGHLIGHT, INCREASE_HIGHLIGHT, NO_HIGHLIGHT,
8377 POSITIVE_SCROLL, NEGATIVE_SCROLL): Made final.
8379 2004-11-30 Michael Koch <konqueror@gmx.de>
8381 * gnu/java/awt/BitwiseXORComposite.java,
8382 gnu/java/awt/ClasspathToolkit.java,
8383 gnu/java/awt/image/XBMDecoder.java,
8384 gnu/java/awt/peer/GLightweightPeer.java,
8385 gnu/java/awt/peer/gtk/GdkGlyphVector.java:
8386 Reorganized import statements.
8388 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
8390 * java/awt/Button.java
8391 (next_button_number): Removed useless initializer.
8392 * java/awt/Frame.java
8393 (next_frame_number): Likewise.
8394 * java/awt/Panel.java
8395 (next_panel_number): Likewise,
8396 * java/awt/Scrollbar.java
8397 (next_scrollbar_number): Likewise.
8398 * java/awt/TextArea.java
8399 (next_text_number): Likewise.
8401 2004-11-30 Michael Koch <konqueror@gmx.de>
8403 * java/awt/image/ByteLookupTable.java
8404 (ByteLookupTable) :Fixed HTML entities in javadocs.
8405 (lookupPixel): Fix case when dst is null.
8406 * java/awt/image/ShortLookupTable.java
8407 (ShortLookupTable) :Fixed HTML entities in javadocs.
8408 (lookupPixel): Fix case when dst is null.
8409 * java/awt/image/DataBufferByte.java,
8410 java/awt/image/DataBufferDouble.java,
8411 java/awt/image/DataBufferFloat.java,
8412 java/awt/image/DataBufferInt.java,
8413 java/awt/image/DataBufferShort.java,
8414 java/awt/image/DataBufferUShort.java:
8415 Fix initialization of bankData in constructors.
8417 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
8419 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8420 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
8421 (setNativeBounds): Set GtkEventBox, GtkButton and GtkLabel size
8423 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8424 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8425 (setNativeBounds): Make package private. Set size request even
8426 if GTK parent is NULL.
8427 * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
8428 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
8429 (setNativeBounds): Set GtkEventBox and GtkLabel size requests.
8431 2004-11-30 Mark Wielaard <mark@klomp.org>
8433 Workaround for bug #17952.
8434 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8435 (request_frame_extents): Check window->window != NULL.
8437 2004-11-30 Mark Wielaard <mark@klomp.org>
8439 * jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.
8441 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
8443 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Use
8444 native_text_layout_state_table here.
8446 * jni/gtk-peer/gdkfont.h: Mark native_text_layout_state_table extern.
8448 2004-11-30 Mark Wielaard <mark@klomp.org>
8450 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
8451 (setChars): Only call pango_itemize() when vec->glyphitems != NULL.
8452 Only call pango_shape() when gi->glyphs->num_glyphs > 0.
8454 2004-11-30 Michael Koch <konqueror@gmx.de>
8456 * gnu/java/awt/peer/gtk/GtkToolkit.java:
8457 Merged import statements.
8459 2004-11-30 Michael Koch <konqueror@gmx.de>
8461 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8462 (isBufferedImageGraphics): Simplified.
8464 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
8466 * javax/swing/JTree.java
8467 (isRootVisible): Fixed typo in method name.
8468 * javax/swing/JScrollBar.java
8469 (setValues): Likewise.
8470 * javax/swing/JScrollPane.java
8471 (createScrollListener): Call JScrollBar.setValues.
8473 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
8475 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
8476 Don't call setParentAndBounds on GtkWindowPeers.
8478 * java/awt/Component.java (static): Don't set default keyboard
8480 * java/awt/KeyboardFocusManager.java
8481 (getCurrentKeyboardFocusManager): If current keyboard focus
8482 manager is null set a default.
8484 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8485 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
8486 (gtkWidgetSetBackground): New method.
8487 (block_expose_events_cb): New function.
8488 (connectSignals): Block the AWT's expose event processing on
8489 button press and release.
8490 (gtkSetLabel): Set text on proper widget.
8491 (gtkWidgetModifyFont): Modify font on proper widget.
8492 (gtkWidgetSetBackground): Set normal, active and prelight
8494 (gtkWidgetSetForeground): Set forground colour of proper widget.
8495 (gtkActivate): Activate the correct widget.
8496 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
8497 Only clear rectangle if the backing component is not an event
8499 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
8500 (beginNativeRepaintID): New variable.
8501 (endNativeRepaintID): Likewise.
8502 (gtkInit): Initialize new fields with method IDs.
8503 * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
8504 (endNativeRepaintID): Likewise.
8506 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
8508 * javax/swing/JList.java (init): Revert accidental commit.
8510 * gnu/java/awt/peer/gtk/GdkGraphics.java,
8511 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
8512 Call initComponentGraphics or connectSignals depending on
8513 component's realization status.
8514 (realize_cb): New function.
8515 (initComponentGraphics): New method.
8516 (connectSignals): New method.
8517 (clipRect): Return immediately if component is not realized.
8518 (setClip): Likewise.
8519 (translate): Likewise.
8520 (drawImage variants): Return false immediately if component is
8522 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
8523 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8524 (connectSignals): New method.
8525 (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
8526 depending on component's realization status. Move other
8527 initialization calls to ...
8528 (initComponentGraphics2D): New method.
8529 (realize_cb): New function.
8530 (cairoSetMatrix): Return immediately if gr is NULL.
8531 (cairoNewPath): Likewise.
8532 (cairoRectangle): Likewise.
8533 (cairoClip): Likewise.
8534 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8535 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8536 (gtkWidgetRepaintArea): Remove method.
8537 (isRealized): New method.
8538 (GtkComponentPeer): Move setParent, connectJObject and setCursor
8539 calls to setParentAndBounds. Call setParentAndBounds.
8540 (setParentAndBounds): New method.
8541 (setComponentBounds): Return immediately if bounds are all zero.
8542 (repaint): Remove call to gtkWidgetRepaintArea. Return
8543 immediately if requested paint region is 0x0.
8544 (setCursor): New method.
8545 (gtkWidgetSetParent): Only set widget's parent if its parent is
8547 (setNativeBounds): Only set widget's bounds if it has a parent.
8548 (connectSignals): Don't call gtk_widget_realize. Connect
8549 "realize" signal to connect_awt_hook_cb handler.
8550 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
8552 (beginValidate): Set isValidating true.
8553 (endValidate): Set parents and bounds for children first, then
8554 for this. Set isValidating false.
8555 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
8556 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8557 (connectJObject): Remove method.
8558 (connectSignals): Don't call gtk_widget_realize.
8559 * gnu/java/awt/peer/gtk/GtkListPeer.java,
8560 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
8561 (connectJObject): Remove method.
8562 (connectSignals): Don't call gtk_widget_realize.
8563 * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
8564 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
8565 (connectJObject): Remove method.
8566 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
8567 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
8568 (connectJObject): Remove method.
8569 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
8570 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8571 (create): Don't call gtk_widget_realize.
8572 (connectJObject): Remove method.
8573 (connectSignals): Don't call gtk_widget_realize. Connect
8574 "realize" signal to connect_awt_hook_cb handler.
8575 (nativeSetBounds): Don't attempt to move GDK window if it is
8577 * java/awt/Container.java (addImpl): Don't call comp.addNotify
8578 if peer is not null.
8579 (validateTree): Create peers for all children before calling
8581 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
8582 (connectSignals): Don't call gtk_widget_realize.
8583 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8584 (connect_awt_hook_cb): New function.
8585 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
8586 (initComponentGraphicsID): New variable.
8587 (initComponentGraphics2DID): Likewise.
8588 (setCursorID): Likewise.
8589 (gtkInit): Initialize new fields with method IDs.
8590 * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
8592 (initComponentGraphics2DID): Declare extern.
8593 (setCursorID): Likewise.
8594 (connect_awt_hook_cb): Declare function.
8596 2004-11-30 Michael Koch <konqueror@gmx.de>
8598 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
8599 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
8600 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
8601 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
8602 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
8603 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8604 gnu/java/awt/peer/gtk/GtkClipboard.java,
8605 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
8606 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
8607 gnu/java/awt/peer/gtk/GtkFontPeer.java,
8608 gnu/java/awt/peer/gtk/GtkListPeer.java,
8609 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
8610 gnu/java/awt/peer/gtk/GtkToolkit.java,
8611 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
8612 Import statements reworked. Some little reformattings.
8614 2004-11-30 Michael Koch <konqueror@gmx.de>
8616 * java/awt/image/AffineTransformOp.java
8617 (TYPE_BILINEAR): Initialize with 2.
8618 * java/awt/print/Printable.java: Jalopied.
8619 (PAGE_EXISTS): Initialize with 0;
8620 (NO_SUCH_PAGE): Initialized with 1.
8622 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
8624 * Makefile.am: Add BufferedImageFilter.java.
8625 * Makefile.in: Regenerate.
8627 2004-11-30 Graydon Hoare <graydon@redhat.com>
8629 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8630 (install_font_peer): Minor bug fixes to track cairo font semantics.
8632 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
8634 * java/awt/image/BufferedImageFilter.java: Implement.
8636 2004-11-30 Graydon Hoare <graydon@redhat.com>
8639 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c)
8640 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c)
8641 (gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java)
8642 (gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java): Remove.
8643 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c)
8644 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c)
8645 (gnu/java/awt/peer/gtk/GdkTextLayout.java)
8646 (gnu/java/awt/peer/gtk/GdkFontPeer.java)
8647 (gnu/java/awt/peer/ClasspathTextLayoutPeer.java): Add
8648 * Makefile.in: Regenerate.
8649 * gnu/awt/xlib/XToolkit.java
8650 (getClasspathTextLayoutPeer): Add stub.
8651 * gnu/java/awt/ClasspathToolkit.java
8652 (getClasspathTextLayoutPeer) Add.
8653 * gnu/java/awt/peer/ClasspathFontPeer.java
8655 (copySizeToAttrs): Make public.
8656 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
8657 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.
8658 * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
8659 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
8660 * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
8661 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
8662 * gnu/java/awt/peer/gtk/GdkGraphics.java
8663 (getFontPeer): New function.
8664 (drawString): Pass font peer to native side.
8665 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8668 (PainterThread): Remove.
8669 (GdkGraphics2D): Set hints during construction.
8674 (setRenderingHints): Reimplement normalization logic.
8676 (updateBufferedImage)
8677 (isBufferedImageGraphics)
8679 (drawImage): Make final.
8680 (drawImage): Always paint synchronously.
8682 (drawGlyphVector): Rewrite.
8683 (releasePeerGraphicResource)
8684 (getPeerTextMetrics)
8685 (getPeerFontMetrics)
8686 (drawGdkGlyphVector)
8688 (cairoDrawGdkGlyphVector)
8689 (cairoDrawGdkTextLayout)
8691 (getFontPeer): New functions.
8692 * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
8693 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8694 (getFontMetrics): Get metrics via toolkit, to hit cache.
8695 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
8696 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
8697 * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
8700 (imageCache): New members.
8703 (getClasspathFontPeer): Use caches.
8704 (getFontPeer): Route through getClasspathFontPeer.
8705 * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
8706 * java/awt/font/TextLayout.java: Implement in terms of peer.
8707 * javax/swing/plaf/basic/BasicSliderUI.java
8708 (paintThumb): Use polyline rather than polygon.
8709 * javax/swing/plaf/basic/BasicGraphicsUtils.java:
8710 Update comment but, alas, still do not switch to using TextLayouts.
8711 * javax/swing/text/Utilities.java (drawTabbedText):
8712 Draw text run-at-a-time, not char-at-a-time.
8713 * jni/gtk-peer/gdkfont.h: Publicize some of the font interface, add
8715 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
8716 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8718 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Rewrite to
8719 incorporate brains of old GdkClasspathFontPeerMetrics.
8720 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Rewrite to
8721 incorporate brains of old GdkClasspathFontPeer.
8722 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: New file.
8723 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
8724 (drawString): Rewrite to use persistent layout in peer font.
8725 Comment out extraneous gdk_flush calls.
8726 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8728 (metrics_surface): New static variables.
8730 (install_font_peer): New helper functions.
8731 (releasePeerGraphicResource)
8732 (getPeerTextMetrics)
8733 (getPeerFontMetrics)
8734 (cairoDrawGdkTextLayout)
8735 (cairoDrawGdkGlyphVector): New native methods.
8736 (cairoDrawString): Rewrite, leaving layout-based version
8737 commented out for the time being.
8738 * jni/gtk-peer/gtkpeer.h (graphics): Add fields for pango stuff.
8740 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
8742 * java/awt/geom/AffineTransform.java:
8743 Fixed javadocs overall.
8745 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
8747 * java/awt/image/ComponentColorModel.java: Remove FIXME comment since
8750 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
8752 * java/awt/image/IndexColorModel.java: Fix use of immutable
8755 2004-11-30 Tom Tromey <tromey@redhat.com>
8757 * javax/swing/plaf/basic/BasicOptionPaneUI.java (MessageIcon):
8758 Renamed from 'messageIcon'.
8759 (errorIcon, infoIcon, warningIcon, questionIcon): Updated.
8761 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
8763 * java/awt/image/RescaleOp.java: Fix formatting.
8765 2004-11-30 Olga Rodimina <rodimina@redhat.com>
8767 * javax/swing/plaf/basic/BasicComboPopup.java
8768 (SCROLL_DOWN): made final.
8769 (SCROLL_UP): made final.
8771 2004-11-30 Olga Rodimina <rodimina@redhat.com>
8773 * javax/swing/plaf/basic/BasicComboPopup.java:
8774 Added javadocs for undocumented fields.
8775 (show): scroll down to the selected item and
8776 highlight selected item.
8777 (startAutoScrolling): Implemented.
8778 (stopAutoScrolling): Implemented.
8779 (autoScrollUp): Implemented.
8780 (autoScrollDown): Implemented.
8781 (InvocationMouseHandler.mouseReleased): Implemented.
8782 (InvocationMouseMotionHandler.mouseDragged): Implemented.
8784 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
8786 * java/awt/image/RescaleOp.java: Implement.
8788 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
8790 * java/awt/image/IndexColorModel.java (getRGBs,
8791 convertToIntDiscrete): Implement.
8793 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
8795 * java/awt/image/IndexColorModel.java: Add class docs.
8797 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
8799 * java/awt/image/IndexColorModel.java (isValid, getValidPixels):
8802 2004-11-30 Michael Koch <konqueror@gmx.de>
8804 * java/awt/MenuBar.java,
8805 java/awt/peer/MenuBarPeer.java:
8806 Revert accidentally commited changes.
8808 2004-11-30 Michael Koch <konqueror@gmx.de>
8810 * java/awt/AWTKeyStroke.java,
8811 java/awt/Canvas.java,
8812 java/awt/CardLayout.java,
8813 java/awt/CheckboxMenuItem.java,
8814 java/awt/Component.java,
8815 java/awt/Container.java,
8816 java/awt/DefaultKeyboardFocusManager.java,
8817 java/awt/EventDispatchThread.java,
8818 java/awt/FileDialog.java,
8819 java/awt/FlowLayout.java,
8821 java/awt/Frame.java,
8822 java/awt/Graphics2D.java,
8823 java/awt/GraphicsEnvironment.java,
8824 java/awt/GridBagConstraints.java,
8825 java/awt/GridBagLayout.java,
8826 java/awt/GridLayout.java,
8827 java/awt/Image.java,
8828 java/awt/KeyboardFocusManager.java,
8829 java/awt/Label.java,
8831 java/awt/MediaTracker.java,
8833 java/awt/MenuBar.java,
8834 java/awt/MenuComponent.java,
8835 java/awt/Panel.java,
8836 java/awt/PopupMenu.java,
8837 java/awt/ScrollPane.java,
8838 java/awt/Scrollbar.java,
8839 java/awt/SystemColor.java,
8840 java/awt/TextArea.java,
8841 java/awt/TextField.java,
8842 java/awt/Toolkit.java,
8843 java/awt/Window.java,
8844 java/awt/color/ICC_Profile.java,
8845 java/awt/datatransfer/DataFlavor.java,
8846 java/awt/datatransfer/StringSelection.java,
8847 java/awt/datatransfer/SystemFlavorMap.java,
8848 java/awt/dnd/Autoscroll.java,
8849 java/awt/dnd/DropTarget.java,
8850 java/awt/dnd/DropTargetContext.java,
8851 java/awt/dnd/DropTargetDragEvent.java,
8852 java/awt/dnd/peer/DropTargetContextPeer.java,
8853 java/awt/event/AdjustmentEvent.java,
8854 java/awt/event/InputEvent.java,
8855 java/awt/event/InvocationEvent.java,
8856 java/awt/event/KeyEvent.java,
8857 java/awt/event/MouseEvent.java,
8858 java/awt/font/TextLayout.java,
8859 java/awt/geom/GeneralPath.java,
8860 java/awt/geom/Point2D.java,
8861 java/awt/im/InputContext.java,
8862 java/awt/im/spi/InputMethodContext.java,
8863 java/awt/image/AffineTransformOp.java,
8864 java/awt/image/BufferedImage.java,
8865 java/awt/image/ColorModel.java,
8866 java/awt/image/ComponentColorModel.java,
8867 java/awt/image/CropImageFilter.java,
8868 java/awt/image/DirectColorModel.java,
8869 java/awt/image/MemoryImageSource.java,
8870 java/awt/image/PackedColorModel.java,
8871 java/awt/image/PixelGrabber.java,
8872 java/awt/image/RasterOp.java,
8873 java/awt/peer/MenuBarPeer.java:
8874 Some fixes for checkstyle. Import statement and modifier order
8877 2004-11-30 Michael Koch <konqueror@gmx.de>
8879 * javax/swing/JTable.java
8880 (setModel): Reimplemented.
8882 2004-11-30 Michael Koch <konqueror@gmx.de>
8884 * javax/swing/JTextArea.java
8885 (append): Re-implemented.
8888 2004-11-30 Michael Koch <konqueror@gmx.de>
8890 * javax/swing/JSpinner.java
8891 (serialVersionUID): New static field.
8892 * javax/swing/JToggleButton.java
8893 (JToggleButton): Fixed email addresses.
8894 * javax/swing/SpinnerNumberModel.java
8895 (serialVersionUID): Added javadoc.
8897 2004-11-30 Michael Koch <konqueror@gmx.de>
8899 * javax/swing/JTextArea.java:
8900 Don't use JTextComponent.doc directly. GCJ from java-gui-branch has a
8901 bug here which is fixed in HEAD ...
8903 2004-11-30 Andrew John Hughes <address@hidden>
8905 * javax/swing/JTextArea.java: Added additional
8908 2004-11-30 Andrew John Hughes <address@hidden>
8910 * javax/swing/JRadioButton.java:
8911 Implemented additional constructors and accessibility
8912 classes. Added documentation and fixed a typo in
8915 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
8917 * java/awt/image/IndexColorModel.java (IndexColorModel): Implement
8918 missing constructor.
8920 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
8922 * java/awt/image/ComponentColorModel.java (ComponentColorModel):
8923 Implement missing 1.4 constructor.
8925 2004-11-30 Andrew John Hughes <address@hidden>
8927 * javax/swing/JToggleButton.java:
8928 Implemented additional constructors and accessibility
8929 classes. Added documentation and fixed a typo in
8932 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
8934 * java/awt/image/ColorModel.java (getDataElement,
8935 getDataElements): Document since 1.4.
8937 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
8939 * java/awt/image/BandedSampleModel.java: Implement.
8940 * Makefile.am: Add java/awt/image/BandedSampleModel.java.
8941 * Makefile.in: Regenerated.
8943 2004-11-30 Michael Koch <konqueror@gmx.de>
8945 * java/awt/Window.java: Fixed whitespace difference with GNU
8948 2004-11-30 Mark Wielaard <mark@klomp.org>
8950 * Makefile.am: Add javax/swing/SpinnerListModel.java.
8951 * Makefile.in: Regenerated.
8953 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
8955 * javax/swing/SpinnerListModel.java, javax/swing/SpinnerModel.java
8956 Implemented SpinnerListModel. Added documentation to
8959 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
8961 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
8962 (init_dpi_conversion_factor): Apply the patch from main correctly.
8963 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
8965 2004-11-30 Tom Tromey <tromey@redhat.com>
8968 * javax/swing/JDesktopPane.java (LIVE_DRAG_MODE): Now final.
8969 (OUTLINE_DRAG_MODE): LIVE_DRAG_MODE.
8970 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8971 (NON_CONTINUOUS_DIVIDER): Now final. Initialize.
8973 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
8975 * java/awt/Canvas.java
8976 (AccessibleAWTCanvas): added serialization UID
8977 * java/awt/Label.java
8978 (AccessibleAWTLabel): added serialization UID
8979 * javax/swing/JRootPane.java
8980 (AccessibleJRootPane): added comment to existing UID
8981 * javax/swing/JSpinner.java
8982 (DefaultEditor): added serialization UID
8983 (NumberEditor): added serialization UID
8984 * javax/swing/text/html/HTML.java
8985 (UnknownTag): added serialization UID
8987 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
8989 * javax/swing/JInternalFrame.java
8990 (CONTENT_PANE_PROPERTY,FRAME_ICON_PROPERTY,GLASS_PANE_PROPERTY,
8991 IS_CLOSED_PROPERTY,IS_ICON_PROPERTY,IS_MAXIMUM_PROPERTY,
8992 IS_SELECTED_PROPERTY,LAYERED_PANE_PROPERTY,MENU_BAR_PROPERTY,
8993 ROOT_PANE_PROPERTY,TITLE_PROPERTY): Made final as per API spec.
8994 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
8995 (CLOSE_CMD,ICONIFY_CMD,MAXIMIZE_CMD,MOVE_CMD,RESTORE_CMD,SIZE_CMD):
8996 Made final as per API spec.
8998 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
9000 * jni/gtk-peer/gtkpeer.h: Remove duplicated copyright string.
9002 2004-11-30 Sven de Marothy <sven@physto.se>
9004 * java/awt/geom/Arc2D.java: Reformatted.
9005 (setArc): Correct documentation to say 'upper left corner'.
9006 (setArcByTangent,contains,intersects): Implemented.
9007 (containsAngle): Corrected to handle negative extents.
9008 (ArcIterator): Set to private.
9009 (ArcIterator): Corrected for CHORD-type arcs, negative extents.
9010 (intersects): Fix: Now checks the arc segment.
9011 (contains): Cleaned up.
9012 * java/awt/geom/CubicCurve2a.javaD: Fix insideness-test. Reindent.
9013 (contains): Implemented.
9014 (intersects): Implemented.
9015 * java/awt/geom/QuadCurve2D.java: Fix insideness-test. Reindent.
9016 * java/awt/geom/GeneralPath: Fix insideness-test. Reindent and
9017 document. Fully (re)implemented using separate xpoints and ypoints
9020 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
9022 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
9023 * configure: Regenerate.
9024 * include/config.h.in: Likewise.
9025 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
9026 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
9028 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9029 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
9030 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
9032 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
9035 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
9037 * java/awt/SystemColor.java: Fix @link doc entries.
9039 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
9041 * java/awt/RenderingHints.java: Documented.
9042 (RenderingHints): Accept null init Map.
9043 (putAll): Preprocess map to generate appropriate exceptions.
9044 (remove): Cast object to Key and remove from hintMap.
9046 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
9048 * java/awt/MenuComponent.java, java/awt/MenuBar.java:
9049 Implementation of accessibility classes and methods
9050 for these two components.
9052 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
9054 * java/awt/KeyboardFocusManager.java:
9055 Added missing documentation.
9057 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
9059 * java/awt/Label.java, java/awt/Canvas.java:
9060 Added accessibility classes to AWT Label and Canvas,
9061 as well as additional documentation for Canvas.
9063 2004-11-30 David Gilbert <address@bogus.example.com>
9065 * java/awt/image/DataBuffer.java: Update API documentation.
9066 * java/awt/image/DataBufferByte.java: Likewise.
9067 * java/awt/image/DataBufferDouble.java: Likewise.
9068 * java/awt/image/DataBufferFloat.java: Likewise.
9069 * java/awt/image/DataBufferInt.java: Likewise.
9070 * java/awt/image/DataBufferShort.java: Likewise.
9071 * java/awt/image/DataBufferUShort.java: Likewise.
9073 2004-11-30 Dalibor Topic <robilad@kaffe.org>
9075 * java/awt/Component.java (postEvent):
9076 Only delegate to parent if a parent exists.
9077 Reported by: Stephane Meslin-Weber <steph@tangency.co.uk>
9079 2004-11-30 Sven de Marothy <sven@physto.se>
9081 *java/awt/AWTEventMulticaster.java,
9082 java/awt/Adjustable.java,
9083 java/awt/Point.java,
9084 java/awt/Polygon.java,
9085 java/awt/Rectangle.java,
9086 java/awt/Shape.java,
9087 java/awt/geom/Area.java,
9088 java/awt/geom/Ellipse2D.java,
9089 java/awt/geom/PathIterator.java,
9090 java/awt/geom/Point2D.java,
9091 java/awt/geom/Rectangle2D.java,
9092 java/lang/Comparable.java,
9093 java/util/Arrays.java:
9094 Fixed documentation errors
9096 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
9098 * java/awt/image/ComponentSampleModel.java: Add documentation.
9101 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
9103 * java/awt/image/ComponentSampleModel.java (constructor):
9104 Initialize numBanks when figuring out the max bank index.
9106 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
9108 * java/awt/image/Raster.java (createPackedRaster): Implement
9109 MultiPixelPackedSampleModel codepath.
9111 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
9113 * java/awt/image/MultiPixelPackedSampleModel.java: Implement.
9114 * Makefile.am: Add MultiPixelPackedSampleModel.java.
9115 * Makefile.in: Regenerate.
9117 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
9119 * java/awt/image/Raster.java (getNumBands): Implement.
9121 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
9123 * java/awt/image/Raster.java
9124 (createPackedRaster(int,int,int,int,int,Point)): Implement for
9127 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
9129 * java/awt/image/SinglePixelPackedSampleModel.java
9130 (SinglePixelPackedSampleModel): Throw exception for unsupported
9133 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
9135 * java/awt/image/ColorModel.java (getDataElement): Implemented.
9137 (getDataElements): Add missing version. Remove bogus version.
9140 2004-11-30 Olga Rodimina <rodimina@redhat.com>
9142 * javax/swing/plaf/basic/BasicComboBoxUI.java:
9143 (paintCurrentValue): Pass correct parameters to
9144 getListCellRendererComponent().
9145 (ListDataHandler.intervalRemoved): Implemented.
9146 (PropertyChangeHandler.propertyChange): Handle changes in
9147 MODEL_CHANGED_PROPERTY of the JComboBox
9148 * javax/swing/plaf/basic/BasicComboPopup.java:
9149 (BasicComboPopup): Moved code that configures popup to
9150 configurePopup() and call it instead.
9151 (firePopupMenuWillBecomeVisible): Implemented.
9152 (firePopupMenuWillBecomeInvisible): Likewise.
9153 (firePopupMenuCanceled): Likewise.
9154 (configureList): Set list's visibleRowCount same as
9155 comboBox's visibleRowCount.
9156 (configurePopup): Implemented.
9157 (getPopupHeightForRowCount): Get item's from JComboBox's model and
9158 not from model of the JList.
9159 (ListMouseMotionHandler.mouseMoved): Implemented.
9160 (PropertyChangeHandler.propertyChange): Handles change in the
9163 2004-11-30 Michael Koch <konqueror@gmx.de>
9165 * javax/swing/JComponent.java
9166 (isMaximumSizeSet): New method.
9167 (isMinimumSizeSet): Likewise.
9168 (isPreferredSizeSet): Likewise.
9170 2004-11-30 Michael Koch <konqueror@gmx.de>
9172 * javax/swing/JSpinner.java:
9174 (spinner): New field.
9175 (DefaultEditor): New method.
9176 (getSpinner): Likewise.
9177 (NumberEdito): Likewise.
9178 (getModel): Likewise
9180 2004-11-30 Michael Koch <konqueror@gmx.de>
9182 * javax/swing/InputVerifier.java:
9184 * javax/swing/JComponent.java
9185 (inputVerifier): New property field.
9186 (getInputVerifier): New method.
9187 (setInputVerifier): Likewise.
9189 2004-11-30 Michael Koch <konqueror@gmx.de>
9191 * javax/swing/JComponent.java
9192 (JComponent): Added javadoc comment.
9193 (setBorder): Fire property change eventr.
9194 (setEnabled): Likewise.
9195 (setMaximumSize): Likewise.
9196 (setMinimumSize): Likewise.
9197 (setPreferredSize): Likewise.
9198 (setOpaque): Likewise.
9200 2004-11-30 Michael Koch <konqueror@gmx.de>
9202 * javax/swing/JTextField.java
9203 (action): New field.
9204 (actionCommand): Likewise.
9205 (actionPropertyChangeListener): Likewise.
9206 (setHorizontalAlignment): Abort soon if new value == old value. Fire
9207 event before repainting.
9208 (postActionEvent): New method.
9209 (getAction): Likewise.
9210 (setAction): Likewise.
9211 (getActionCommand): Likewise.
9212 (setActionCommand): Likewise.
9213 (createActionPropertyChangeListener): Likewise.
9214 (configurePropertiesFromAction): Likewise.
9216 2004-11-30 Michael Koch <konqueror@gmx.de>
9218 * javax/swing/DebugGraphics.java:
9219 Re-formatted. Fixed some javadocs.
9220 * javax/swing/JApplet.java
9221 (rootPaneCheckingEnabled): Renamed from checking.
9222 * javax/swing/JCheckBox.java
9223 (BORDER_PAINTED_FLAT_CHANGED_PROPERTY): New statif field.
9224 * javax/swing/JFrame.java:
9225 Re-formatted a bit and reordered some methods.
9226 (rootPaneCheckingEnabled): Renamed from checking.
9227 (getPreferredSize): Simplified.
9228 * javax/swing/JTextArea.java
9229 (getColumnWidth): New method.
9230 (getLineCount): Likewise.
9231 (getLineStartOffset): Likewise.
9232 (getLineEndOffset): Likewise.
9233 (getLineOfOffset): Likewise.
9234 (getRowHeight): Likewise.
9236 (replaceRange): Likewise.
9237 * javax/swing/JTextField.java
9238 (scrollOffset): new field.
9239 (getScrollOffset): New method.
9240 (setScrollOffset): Likewise.
9241 (getColumnWidth): Likewise.
9242 * javax/swing/JTree.java
9243 (ANCHOR_SELECTION_PATH_PROPERTY): New static field.
9244 (CELL_EDITOR_PROPERTY): Likewise.
9245 (CELL_RENDERER_PROPERTY): Likewise.
9246 (EDITABLE_PROPERTY): Likewise.
9247 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
9248 (INVOKES_STOP_CELL_EDITING_PROPERTY): Likewise.
9249 (LARGE_MODEL_PROPERTY): Likewise.
9250 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
9251 (ROOT_VISIBLE_PROPERTY): Likewise.
9252 (ROW_HEIGHT_PROPERTY): Likewise.
9253 (SCROLLS_ON_EXPAND_PROPERTY): Likewise.
9254 (SELECTION_MODEL_PROPERTY): Likewise.
9255 (SHOWS_ROOT_HANDLES_PROPERTY): Likewise.
9256 (TOGGLE_CLICK_COUNT_PROPERTY): Likewise.
9257 (TREE_MODEL_PROPERTY): Likewise.
9258 (VISIBLE_ROW_COUNT_PROPERTY): Likewise.
9259 (cellEditor): New field.
9260 (invokesStopCellEditing): Likewise.
9261 (largeModel): Likewise.
9262 (rowHeight): Likewise.
9263 (scrollsOnExpand): Likewise.
9264 (selectionModel): Likewise.
9265 (toggleClickCount): Likewise.
9266 (visibleRowCount): Likewise.
9267 (setShowsRootHandles): Fixed typo in method name.
9268 (getCellEditor): New method.
9269 (setCellEditor): Likewise.
9270 (getSelectionModel): Likewise.
9271 (setSelectionModel): Likewise.
9272 (getVisibleRowCount): Likewise.
9273 (setVisibleRowCount): Likewise.
9274 (isLargeModel): Likewise.
9275 (setLargeModel): Likewise.
9276 (getRowHeight): Likewise.
9277 (setRowHeight): Likewise.
9278 (getInvokesStopCellEditing): Likewise.
9279 (setInvokesStopCellEditing): Likewise.
9280 (getToggleClickCount): Likewise.
9281 (setToggleClickCount): Likewise.
9282 (getScrollsOnExpand): Likewise.
9283 (setScrollsOnExpand): Likewise.
9284 * javax/swing/table/DefaultTableColumnModel.java
9285 (addColumnModelListener): Fixed javadoc.
9286 (removeColumnModelListener): Implemented. Fixed javadoc.
9287 (getColumnModelListeners): New method.
9288 * javax/swing/table/JTableHeader.java
9289 (columnModel): Made protected.
9290 (draggedColumn): Likewise.
9291 (draggedDistance): Likewise.
9292 (reorderingAllowed): Likewise.
9293 (resizingAllowed): Likewise.
9294 (resizingColumn): Likewise.
9296 (updateTableInRealTime): Likewise.
9297 (createDefaultColumnModel): Renamed from
9298 createDefaultTableColumnModel.
9299 (setDefaultRenderer): New method.
9300 * javax/swing/table/TableColumn.java
9301 (getPropertyChangeListeners): New method.
9302 * javax/swing/text/DefaultHighlighter.java
9303 (drawsLayeredHighlights): New field.
9304 (getDrawsLayeredHighlights): New method.
9305 (setDrawsLayeredHighlights): Likewise.
9306 * javax/swing/text/DocumentFilter.java
9307 (FilterBypass): New inner class.
9308 (insertString): New method.
9310 (replace): Likewise.
9311 * javax/swing/text/JTextComponent.java
9312 (dragEnabled): New field.
9313 (getSelectedText): New method.
9314 (getDragEnabled): Likewise.
9315 (setDragEnabled): Likewise.
9316 (replaceSelection): Reimplemented.
9317 * javax/swing/text/NavigationFilter.java
9318 (FilterBypass): New inner class.
9319 (NavigationFilter): New method.
9320 (moveDot): Likewise.
9322 * javax/swing/text/SimpleAttributeSet.java
9323 (EMPTY): Made public final.
9325 2004-11-30 Michael Koch <konqueror@gmx.de>
9327 * javax/swing/SpinnerNumberModel.java
9328 (getMinimum): New method.
9329 (setMinimum): Likewise.
9330 (getMaximum): Likewise.
9331 (setMaximum): Likewise.
9332 (getStepSize): Likewise.
9333 (setStepSize): Likewise.
9335 2004-11-30 Michael Koch <konqueror@gmx.de>
9337 * javax/swing/JMenu.java
9338 (getMenuListeners): New method.
9339 (fireMenuSelected): Simplified.
9340 * javax/swing/JRootPane.java
9341 (NONE): New static field.
9343 (PLAIN_DIALOG): Likewise.
9344 (INFORMATION_DIALOG): Likewise.
9345 (ERROR_DIALOG): Likewise.
9346 (COLOR_CHOOSER_DIALOG): Likewise.
9347 (FILE_CHOOSER_DIALOG): Likewise.
9348 (QUESTION_DIALOG): Likewise.
9349 (WARNING_DIALOG): Likewise.
9350 (defaultButton): New field.
9351 (getDefaultButton): New method.
9352 (setDefaultButton): Likewise.
9353 * javax/swing/JScrollPane.java
9354 (getUI): New method.
9356 * javax/swing/JTable.java
9357 (getUI): Javadoc added.
9358 (setUI): New method.
9359 * javax/swing/JViewport.java
9360 (getUI): New method.
9362 * javax/swing/UIDefaults.java
9363 (removePropertyChangeListener): Made public.
9365 2004-11-30 Michael Koch <konqueror@gmx.de>
9367 * javax/swing/JApplet.java, javax/swing/JFrame.java:
9370 2004-11-30 Michael Koch <konqueror@gmx.de>
9372 * javax/swing/AbstractButton.java:
9373 Little re-formatting.
9374 (changeEvent): Made protected.
9375 (fireStateChanged): Removed argument.
9376 (setHorizontalAlignment): Abort method when old value is equal too new
9378 (setHorizontalTextPosition): Likewise.
9379 (setVerticalAlignment): Likewise.
9380 (setVerticalTextPosition): Likewise.
9381 (setBorderPainted): Likewise.
9382 (setIcon): Likewise.
9383 (setText): Likewise.
9384 (setIconTextGap): Likewise.
9385 (setMargin): Likewise.
9386 (setPressedIcon): Likewise.
9387 (setFocusPainted): Likewise.
9388 (setDisabledSelectedIcon): Likewise.
9389 (setRolloverIcon): Likewise.
9390 (setRolloverSelectedIcon): Likewise.
9391 (setSelectedIcon): Likewise.
9392 (setContentAreaFilled): Likewise.
9394 2004-11-30 Kim Ho <kho@redhat.com>
9396 * javax/swing/plaf/basic/BasicArrowButton.java:
9397 Jalopy. Reimplement.
9398 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9400 (arrowIcon, upIcon, downIcon, leftIcon,
9401 rightIcon): Removed.
9402 (createIncreaseButton): Use BasicArrowButton.
9403 (createDecreaseButton): Ditto.
9404 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
9405 (createRightOneTouchButton): Remove button border.
9406 (createLeftOneTouchButton): Ditto.
9408 2004-11-30 Michael Koch <konqueror@gmx.de>
9410 * javax/swing/JSpinner.java
9411 (setModel): New method.
9412 * javax/swing/SpringLayout.java
9413 (Constraints): May not be final.
9415 2004-11-30 Michael Koch <konqueror@gmx.de>
9417 * gnu/java/awt/peer/gtk/GtkClipboard.java,
9418 java/awt/datatransfer/Clipboard.java,
9419 java/awt/datatransfer/ClipboardOwner.java:
9420 Reformated to make it use our coding standard.
9422 2004-11-30 Michael Koch <konqueror@gmx.de>
9424 * javax/swing/SpinnerNumberModel.java
9425 (SpinnerNumberModel): Implements java.io.Serializable.
9426 (serialVersionUID): New field.
9427 (SpinnerNumberModel): Added missing @throws tags to javadocs.
9428 * javax/swing/UIManager.java
9430 (getBoolean): Likewise.
9431 (getBorder): Likewise.
9432 (getColor): Likewise.
9433 (getDimension): Likewise.
9434 (getFont): Likewise.
9435 (getIcon): Likewise.
9436 (getInsets): Likewise.
9438 (getString): Likewise.
9440 2004-11-30 Michael Koch <konqueror@gmx.de>
9442 * javax/swing/JPasswordField.java:
9443 Reformated. Implemented construtors.
9444 * javax/swing/plaf/basic/BasicPasswordFieldUI.java
9445 (create): New method.
9446 * javax/swing/text/PlainView.java
9447 (selectedColor): Made package-private to allow access from sub-classes
9448 in same package too.
9449 (unselectedColor): Likewise.
9451 (drawSelectedText): Make protected.
9452 (drawUnselectedText): Likewise.
9453 * javax/swing/text/PasswordView.java: New file.
9454 * Makefile.am: Added javax/swing/text/PasswordView.java.
9455 * Makefile.in: Regenerated.
9457 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
9459 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Set menu
9461 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (nativeSetHelpMenu):
9463 (addHelpMenu): Elide call to nativeSetHelpMenu.
9464 * java/awt/Menu.java (isTearOff): Rename to tearOff.
9465 (menuSerializedDataVersion): Initialize to 1.
9466 (separatorLabel): Mark transient.
9467 (insert(MenuItem,int)): Implement.
9468 * java/awt/MenuBar.java (setHelpMenu): Call getPeer to retrieve
9470 (countMenus): Count help menu.
9471 * java/awt/MenuComponent.java (nameExplicitlySet, newEventsOnly,
9472 accessibleContext): Add fields.
9473 * java/awt/MenuItem.java: Remove event mask FIXME.
9474 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
9475 (gtkWidgetModifyFont): Only set font if label is non-NULL.
9476 (setLabel): Don't treat "-" specially.
9478 2004-11-30 Kim Ho <kho@redhat.com>
9480 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
9481 (stateChanged): Only update the image and the track if
9482 the values are not being adjusted.
9483 (updateChooser): Grab the new mouse point from the
9484 spinner values. Update the image and track only if
9485 the values are not being adjusted.
9486 (getHSBValues): New method.
9487 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
9488 (SliderHandler::stateChanged): Changed internalChange
9489 to updateChange. Set sliderChange.
9490 (SpinnerHandler::stateChanged): Ditto. Set spinnerChange.
9491 (spinnerChange): New variable.
9492 (sliderChange): Ditto.
9493 (updateChange): Renamed from internalChange.
9494 (updateChooser): Do not update sliders if the sliders
9495 were the original source of the change. Ditto for spinners.
9496 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9497 (mousePress): Don't scroll the JViewport if there will
9498 be extra space at the end of the run. Change layout() to
9500 (calculateSize): Use the component's width/height unless
9501 it is smaller than the max tab width/height.
9502 (calculateTabRects): Subtract the tab run overlay.
9503 (rotateTabRuns): Don't rotate if there's only one run.
9504 (layoutContainer): Reuse the viewport point.
9505 (createLayoutManager): Set the viewport to use no layout.
9506 (paintTabArea): Don't paint the tabs that are not visible
9508 (paintContentBorderTopEdge): Check for scroll tab layout before
9510 (paintContentBorderLeftEdge): Ditto.
9511 (paintContentBorderBottomEdge): Ditto.
9512 (paintContentBorderRightEdge): Ditto.
9514 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
9516 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetSetFont):
9518 (gtkWidgetModifyFont): New method.
9519 * gnu/java/awt/peer/gtk/GtkFramePeer.java,
9520 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
9521 (setMenuBarWidth): New method.
9522 (setBounds): Set the menu bar width.
9523 (postConfigureEvent): Set the menu bar width if the window's
9525 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (GtkMenuBarPeer):
9527 (setFont): New method.
9528 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): New
9530 (setFont): Likewise.
9531 (GtkMenuComponentPeer): Call create and setFont.
9532 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
9533 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
9534 (connectSignals): Make package private.
9535 (gtkWidgetModifyFont): New method.
9537 (GtkMenuItemPeer): Don't call create.
9538 (setFont): New method.
9539 * java/awt/CheckboxMenuItem.java (addNotify): Fix peer == null
9541 * java/awt/Container.java (validateTree): Fix comment typos.
9542 * java/awt/MenuComponent.java (getFont): Return parent's font if
9544 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
9545 (create): Remove call to deprecated
9546 gtk_check_menu_item_set_show_toggle function.
9548 2004-11-30 Hans Boehm <Hans.Boehm@hp.com>
9550 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
9551 (Almost everywhere): add LOG calls, fix, add comments.
9552 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
9553 Add explicit check for LOCKED bit in slow case (PR 16662).
9554 (_Jv_MonitorExit): Add casts in debug-only code.
9555 Always release LOCKED bit before throwing exception.
9556 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
9557 isn't. Handle easy cases without lock acquisition.
9558 (Object::wait): Use NotifyAll for lock inflation.
9560 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
9562 * gnu/java/awt/peer/gtk/GtkFramePeer.java,
9563 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
9564 (gtkFixedMove): Remove method.
9566 2004-11-30 Sven de Marothy <sven@physto.se>
9568 * java/awt/geom/Area.java: Implemented.
9570 2004-11-30 Mark Wielaard <mark@klomp.org>
9572 * java/awt/geom/Arc2D.java (ArcIterator): Make package private.
9574 2004-11-30 Sven de Marothy <sven@physto.se>
9576 * java/awt/geom/Arc2D.java
9578 (setArc): Correct documentation to say 'upper left corner'.
9579 (setArcByTangent,contains,intersects): Implemented.
9580 (containsAngle): Corrected to handle negative extents.
9581 (ArcIterator): Set to private.
9582 (ArcIterator): Corrected for CHORD-type arcs, negative extents.
9583 * java/awt/geom/Ellipse2D.java
9585 (contains,intersects): Implemented.
9586 * java/awt/geom/Line2D.java
9587 (linesIntersect): Correct handling of special cases.
9589 2004-11-30 Mark Wielaard <mark@klomp.org>
9591 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Use
9592 Color.BLACK if c == null, don't create new Color object each time.
9593 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (comp): New private
9595 (setColor): Use Color.BLACK when argument null.
9596 (setComposite): Set this.comp field.
9597 (getComposite): Return this.comp, or AlphaComposite.SrcOver when null.
9598 (DrawState.comp): New private field.
9599 (DrawState.save): Save Composite.
9600 (DrawState.restore): Restore comp field.
9601 * java/awt/FontMetrics.java (gRC): New static final private field.
9602 (getLineMetrics(String, Graphics)): New method.
9603 (getLineMetrics(String, int, int, Graphics)): Likewise.
9604 (getLineMetrics(char[], int, int, Graphics)): Likewise.
9605 (getLineMetrics(CharacterIterator, int, int, Graphics)): Likewise.
9606 * javax/swing/JMenu.java (JMenu(String, boolean)): Ignore tearoff
9607 argument. PR SWING/17294.
9608 * javax/swing/plaf/basic/BasicGraphicsUtils.java (): Always use
9609 the fall-back code since none of the TextArea methods are really
9610 implemented now. PR SWING/17296.
9611 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
9612 (GdkGlyphVector_setChars): Replace assert() with if block when
9613 pango_itemize() returns null. PR AWT/17295.
9614 (GdkGlyphVector_allInkExtents): Likewise when vec->glyphitems is null.
9616 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
9618 * Makefile.am (gtk_c_source_files): Add
9619 gnu_java_awt_peer_gtk_GtkFramePeer.c.
9620 * Makefile.in: Regenerate.
9621 * gnu/java/awt/peer/gtk/GdkGraphics.java (getClipBounds): Remove
9623 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9624 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
9625 (create): Pack GtkButton in GtkEventBox.
9626 (connectJObject): Remove.
9627 (focus_in_cb): New function.
9628 (focus_out_cb): Likewise.
9629 (connectSignals): Connect focus-in-event and focus-out-event
9631 (gtkSetFont): Rename to ...
9632 (gtkWidgetModifyFont): New method.
9633 (gtkWidgetRequestFocus): New method.
9634 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
9635 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9636 (gtkSetFont): Rename to ...
9637 (gtkWidgetModifyFont): New method.
9638 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9639 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9640 (isInRepaint): New field.
9641 (gtkSetFont): Remove method.
9642 (addExposeFilter): Likewise.
9643 (removeExposeFilter): Likewise.
9644 (gtkWidgetQueueDrawArea): Rename to ...
9645 (gtkWidgetRepaintArea): New method.
9646 (beginNativeRepaint): New method.
9647 (endNativeRepaint): New method.
9648 (setComponentBounds): Move implementation here from
9650 (paint): Remove implementation.
9651 (repaint): Wrap call to gtkWidgetRepaintArea with calls to
9652 beginNativeRepaint and endNativeRepaint.
9653 (setBounds): Use menu bar height in bounds calculation.
9654 (postExposeEvent): Only post paint event if we're not doing a
9656 (gtkWidgetSetParent): Replace gtk_layout_put with gtk_fixed_put.
9657 (setNativeBounds): Replace gtk_layout_move with gtk_fixed_move.
9658 (find_gtk_layout): Remove function.
9659 (filter_expose_event_handler): Likewise.
9660 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (postExposeEvent):
9662 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
9663 (setComponentBounds): Call GtkComponentPeer's
9665 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight):
9667 (moveLayout): Rename to ...
9668 (gtkFixedMove): New method.
9669 (gtkLayoutSetVisible): Rename to ...
9670 (gtkFixedSetVisible): New method.
9671 (setMenuBar): Rearrange, to make the three separate cases
9673 (postExposeEvent): Only post paint event if we're not doing a
9675 * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
9676 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
9677 (gtkWidgetModifyFont): New method.
9678 * gnu/java/awt/peer/gtk/GtkImagePainter.java
9679 (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,Color)):
9680 Call run directly, rather than spawning a new thread.
9681 (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,int,int,int,int,Color)):
9683 * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
9684 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (gtkSetFont):
9686 (gtkWidgetModifyFont): New method.
9687 (create): Rename ebox to eventbox.
9688 * gnu/java/awt/peer/gtk/GtkListPeer.java,
9689 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
9691 (gtkWidgetModifyFont): New method.
9692 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
9693 (GtkMenuComponentPeer): Set the default font.
9694 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9695 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9696 (gtkSetFont): Rename to ...
9697 (gtkWidgetModifyFont): New method.
9698 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9699 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
9700 * java/awt/Component.java (locale): Initialize to default
9702 * java/awt/Container.java (invalidateTree): Make
9704 (paint): Paint self first.
9705 (setMenuBar): Call invalidateTree.
9706 * java/awt/Panel.java (dispatchEventImpl): Remove method.
9707 * java/awt/Window.java (show): Call no-parameter variant of
9708 requestFocusInWindow.
9709 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (initState):
9710 Remove special case for window widget.
9711 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9712 (grab_current_drawable): Likewise.
9713 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
9714 (create): Replace GtkLayout with GtkFixed.
9715 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9716 (pre_event_handler): Remove special cases for GDK_EXPOSE events.
9717 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: New file.
9718 Move all GtkFramePeer native method implementations here from
9719 gnu_java_awt_peer_gtk_GtkWindowPeer.c.
9720 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
9721 Replace GtkLayout with GtkFixed.
9722 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9723 (find_layout): Remove function.
9724 (create): Replace GtkLayout with GtkFixed.
9725 (connectSignals): Remove find_layout call.
9726 (toBack): Replace XFlush with gdk_flush.
9727 (toFront): Replace XFlush with gdk_flush.
9728 Move GtkFramePeer native method implementations to
9729 gnu_java_awt_peer_gtk_GtkFramePeer.c.
9730 * jni/gtk-peer/gtkpeer.h: Remove declaration of find_gtk_layout.
9732 2004-11-30 Michael Koch <konqueror@gmx.de>
9734 * javax/swing/JTextArea.java
9735 (lineWrap): Renamed from "wrapping".
9736 (wrapStyleWord): NEw field.
9737 (getLineWrap): Re-edited javadoc comment.
9738 (setLineWrap): Likewise.
9739 (getWrapStyleWord): New method.
9740 (setWrapStyleWord): Likewise.
9742 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
9744 * configure: Regenerate for libtool change.
9746 2004-11-29 Tom Tromey <tromey@redhat.com>
9748 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
9749 Recognize --help and --version.
9750 (usage): Mention gcj-dbtool. Added "out" argument.
9753 2004-11-29 Eric Botcazou <ebotcazou@libertysurf.fr>
9755 * link.cc (link_symbol_table): Do not use intptr_t.
9757 2004-11-28 Mark Wielaard <mark@klomp.org>
9759 * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
9760 XMLDecoder tests which currently don't compile.
9762 2004-11-27 Andrew Haley <aph@redhat.com>
9764 * link.cc (ensure_class_linked): Conditionally compile
9765 _Jv_IsInterpretedClass on INTERPRETER.
9766 (print_class_loaded): Likewise.
9767 (wait_for_state): Likewise.
9768 * include/jvm.h (ROUND): Move to here from include/java-interp.h.
9769 * include/java-interp.h (ROUND): Remove.
9771 2004-11-25 Tom Tromey <tromey@redhat.com>
9773 * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
9774 * java/lang/Class.h (_Jv_Linker): Declare.
9775 (Class): Fix names of friends.
9776 (_Jv_getInterfaceMethod): Declare.
9778 2004-11-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9780 * testsuite/lib/libjava.exp (libjava_arguments): Add new global
9781 variable libjava_ld_library_path.
9782 (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
9784 2004-11-25 Bryce McKinlay <mckinlay@redhat.com>
9786 * java/util/ResourceBundle.java (BundleKey): Don't implement
9788 (BundleKey.clone): Removed.
9789 (getBundle): Copy BundleKey using constructor, not clone().
9791 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
9793 * configure: Regenerate for libtool reversion.
9795 2004-11-25 Michael Koch <konqueror@gmx.de>
9797 * Makefile.am: Added most of javax.print again.
9798 * Makefile.in: Regenerated.
9800 2004-11-25 Michael Koch <konqueror@gmx.de>
9802 * Makefile.am: Added most of javax.print again.
9803 * Makefile.in: Regenerated.
9805 2004-11-24 Tom Tromey <tromey@redhat.com>
9807 * Merged gcj-abi-2-dev-branch to trunk.
9809 2004-11-16 Tom Tromey <tromey@redhat.com>
9811 * include/java-interp.h (_Jv_DefineClass): Updated.
9812 * java/lang/natVMClassLoader.cc (defineClass): Pass protection
9813 domain to class reader.
9814 * defineclass.cc (parse): Use print_class_loaded.
9815 Include ProtectionDomain.h.
9816 (_Jv_DefineClass): Added ProtectionDomain argument.
9817 (_Jv_ClassReader): Likewise.
9818 * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
9819 * link.cc: Include CodeSource.h.
9820 (print_class_loaded): New function.
9821 (wait_for_state): Use it.
9823 2004-11-16 Andrew Haley <aph@redhat.com>
9825 * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
9827 2004-11-16 Andrew Haley <aph@redhat.com>
9829 * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
9830 * configure.host: Define libgcj_ld_symbolic for Linux hosts.
9831 * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
9832 * configure: Regenerate.
9833 * Makefile.in: Regenerate.
9835 2004-11-15 Andrew Haley <aph@redhat.com>
9837 * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
9838 gc-allocated object.
9840 2004-11-15 Andrew Haley <aph@redhat.com>
9842 * java/net/URLClassLoader.java
9843 (URLLoader.getClassPath): New method.
9844 (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
9845 attribute and add URLs for each entry.
9846 (JarURLLoader.classPath): New field.
9847 (JarURLLoader.getClassPath): New method.
9848 (addURLImpl): Scan through the list of extraUrls in the new
9849 loader, adding them to our urlinfos.
9850 (definePackage, findURLResource, findResources): Use
9851 urlinfos.size(), not urls.size().
9853 2004-11-11 Tom Tromey <tromey@redhat.com>
9855 * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
9857 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
9859 (ensureSupersLinked): Declare.
9860 * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
9863 2004-11-10 Tom Tromey <tromey@redhat.com>
9865 * gij.cc (main): Treat -verbose the same as -verbose:class.
9866 (help): Document -verbose and -verbose:class.
9868 * link.cc (verbose_class_flag): Declare.
9869 (wait_for_state): Print message when handling precompiled class.
9870 * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
9872 2004-11-09 Tom Tromey <tromey@redhat.com>
9874 * testsuite/libjava.lang/assign2.out: New file.
9875 * testsuite/libjava.lang/assign2.java: New file.
9877 * java/lang/natRuntime.cc (insertSystemProperties): Set
9878 java.version to 1.4.2 and java.specification.version to 1.4. Set
9879 java.runtime.version.
9881 2004-11-08 Tom Tromey <tromey@redhat.com>
9883 * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
9885 * link.cc (verify_type_assertions): Don't link supers.
9887 * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
9888 * include/java-interp.h (class _Jv_InterpClass)
9889 <_Jv_PrepareMissingMethods>: No longer `friend'.
9890 * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
9892 (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
9893 _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
9894 _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
9895 _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
9896 _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
9897 * link.cc (search_method_in_class): Renamed from
9898 _Jv_SearchMethodInClass.
9899 (resolve_pool_entry): Updated.
9901 * include/jvm.h (_Jv_CheckAssignment): Removed.
9902 * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
9904 2004-11-05 Tom Tromey <tromey@redhat.com>
9906 * link.cc (verify_type_assertions): Ensure classes have supers
9907 linked. Strip off array types first.
9909 2004-11-05 Bryce McKinlay <mckinlay@redhat.com>
9911 * link.cc: Include VerifyError.h.
9912 (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
9913 in the type assertion table.
9914 * include/execution.h (_Jv_CompiledEngine::do_verify): Use
9915 verify_type_assertions.
9916 * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
9917 * java/lang/Class.h (JV_ASSERT_END_OF_TABLE,
9918 JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
9919 assertion code values.
9920 (struct _Jv_TypeAssertion): Declare.
9921 (assertion_table): New class field.
9922 (verify): Remove class field.
9924 2004-11-05 Andrew Haley <aph@redhat.com>
9926 * Makefile.am: Move jv_dbtool.java to
9927 gnu/gcj/tools/gcj_dbtool/Main.java.
9928 * Makefile.in: Rebuild.
9929 * java/lang/VMCompiler.java: Rename property
9930 "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
9931 * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
9934 2004-11-05 Andrew Haley <aph@redhat.com>
9936 * jv_dbtool.java (main): Allow the user to specify the size of the
9937 database. Display the capacity and the size.
9938 (usage): Show the new option.
9940 2004-11-04 Tom Tromey <tromey@redhat.com>
9942 * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
9943 * link.cc (make_vtable): Use correct index when searching for
9944 missing method's name. Don't use `flags'.
9945 (set_vtable_entries): Removed `flags' argument. Don't recurse
9947 (link_symbol_table): Ensure target class method table is
9948 complete. Ensure target fields are laid out before entering
9951 * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
9954 * interpret.cc (do_verify): Don't verify abstract methods.
9956 2004-11-01 Tom Tromey <tromey@redhat.com>
9958 * link.cc (wait_for_state): Call verify_class.
9960 * verify.cc (state::check_no_uninitialized_objects): Removed.
9961 (push_jump): Updated.
9962 (push_exception_jump): Likewise.
9963 (handle_ret_insn): Likewise.
9964 (handle_jsr_insn): Likewise.
9966 2004-10-28 Andrew Haley <aph@redhat.com>
9968 * gnu/gcj/runtime/PersistentByteMap.java: New file.
9969 * jv_dbtool.java: New file.
9970 * Makefile.am (bin_PROGRAMS): Add jv-dbtool
9971 (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
9972 (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
9973 * Makefile.in: Regenerate,
9974 * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
9975 Enumeration, StringTokenizer, Vector, PersistentByteMap.
9976 (precompiledMapFiles): New variable.
9977 (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
9978 initialize precompiledMapFiles.
9979 (compileClass): Look at the database of precompiled class files
9980 before firing up gcj.
9982 * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
9984 2004-10-27 Andrew Haley <aph@redhat.com>
9986 * java/lang/VMCompiler.java (compileClass): try looking for
9987 precompiledMapFiles.
9988 * gnu/gcj/runtime/PersistentByteMap.java: New file.
9990 2004-10-27 Tom Tromey <tromey@redhat.com>
9992 * link.cc (ensure_class_linked): Only resolve classes for
9994 (add_miranda_methods): Ensure interface supers are installed.
9995 (resolve_pool_entry): Better error message.
9997 2004-10-25 Tom Tromey <tromey@redhat.com>
9999 * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
10001 * java/util/ResourceBundle.java (tryBundle): Use
10002 Class.isAssignableFrom rather than catching ClassCastException.
10004 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
10005 exception if we hit EOF of `in'.
10006 (read): Handle case where inflating returns -1.
10008 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
10010 * gnu/java/text/SentenceBreakIterator.java
10011 (SentenceBreakIterator): Don't initialize `iter'.
10012 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
10014 * gnu/java/text/CharacterBreakIterator.java
10015 (CharacterBreakIterator): Don't initialize `iter'.
10016 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
10018 * java/text/BreakIterator.java: Updated documentation.
10020 2004-10-20 Tom Tromey <tromey@redhat.com>
10022 * java/util/ResourceBundle.java (tryBundle): Also ignore
10023 ClassCastException.
10025 2004-10-18 Tom Tromey <tromey@redhat.com>
10027 * interpret.cc (do_post_miranda_hook): New method.
10028 * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
10030 (_Jv_CompiledEngine::do_post_miranda_hook): New method.
10031 (_Jv_CompiledEngine): Initialize new field.
10032 (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
10033 (_Jv_InterpreterEngine): Initialize new field.
10034 * link.cc (resolve_pool_entry): Put Miranda methods in target
10036 (ensure_method_table_complete): Call post_miranda_hook.
10037 * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
10039 * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
10040 (parse): Set class' aux_info here.
10042 * boehm.cc (_Jv_MarkObj): Mark `throws'.
10044 * boehm.cc: Re-merged with trunk.
10046 2004-10-18 Andrew Haley <aph@redhat.com>
10049 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
10050 and correct logic used to find interpreter.
10052 2004-10-13 Andrew Haley <aph@redhat.com>
10054 * interpret.cc (_Jv_InterpMethod::run): Initialize
10055 _Jv_StartOfInterpreter.
10056 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
10057 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
10058 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
10059 _Unwind_FindEnclosingFunction to discover whether PC is within the
10062 2004-10-13 Tom Tromey <tromey@redhat.com>
10064 * link.cc (find_iindex): Copy correct number of slots to new
10067 2004-10-12 Tom Tromey <tromey@redhat.com>
10069 * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
10071 (gcj_loader_test_one): Use it.
10072 (gcj_loader_run): Likewise.
10074 * prims.cc: Don't include FirstThread.h.
10076 2004-10-06 Tom Tromey <tromey@redhat.com>
10078 * link.cc (ensure_method_table_complete): Ensure superclass
10079 Miranda methods installed.
10081 * include/java-interp.h (class _Jv_JNIMethod): Added
10082 JV_MARKOBJ_DECL as a friend.
10083 * interpret.cc (ncode): Allocate jni_arg_types field with GC.
10084 * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
10085 interpreter method structures. Mark jni_arg_types of JNI
10088 * defineclass.cc (parse): Use JV_STATE_READ.
10089 * java/lang/Class.h (JV_STATE_READ): New enum value.
10091 2004-10-05 Tom Tromey <tromey@redhat.com>
10093 * link.cc (resolve_pool_entry): Add signature info to missing
10094 method's information.
10096 * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
10097 * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
10099 2004-10-04 Tom Tromey <tromey@redhat.com>
10101 * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
10104 2004-09-29 Tom Tromey <tromey@redhat.com>
10106 * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
10108 * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
10109 * jni.cc: Use _Jv_Linker.
10110 * interpret.cc: Use _Jv_Linker.
10111 * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
10112 * java/lang/natClassLoader.cc: Use _Jv_Linker.
10113 * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
10114 * java/lang/Class.h: Use _Jv_Linker.
10115 * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
10116 * resolve.cc: Renamed ...
10117 * link.cc: ... here. Use _Jv_Linker.
10118 * defineclass.cc (checkExtends): Use _Jv_Linker.
10120 2004-09-17 Tom Tromey <tromey@redhat.com>
10122 * defineclass.cc (handleCodeAttribute): Don't reference
10124 (handleMethodsEnd): Likewise.
10125 * include/java-interp.h (_Jv_MethodBase::deferred): Removed
10127 (_Jv_Defer_Resolution): Don't declare or define.
10128 * interpret.cc (do_create_ncode): Don't resolve deferred method
10130 * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
10131 * resolve.cc (link_symbol_table): No need to defer resolution.
10133 2004-09-14 Tom Tromey <tromey@redhat.com>
10135 * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
10136 (_Jv_MarkObj): Updated.
10137 (_Jv_MarkArray): Likewise.
10139 * include/jvm.h (StringClass): Removed.
10140 * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
10141 * interpret.cc (_Jv_InitField): Don't use StringClass.
10142 * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
10145 (intern): Likewise.
10146 (_Jv_FinalizeString): Likewise.
10147 (_Jv_NewStringUtf8Const): Likewise.
10148 (equals): Likewise.
10149 * prims.cc (JvConvertArgv): Don't use StringClass.
10151 * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
10152 * resolve.cc (ensure_fields_laid_out): Don't mention
10154 * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
10155 * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
10157 * java/lang/reflect/natField.cc (getType): Use resolve_field.
10158 * java/lang/natVMClassLoader.cc (resolveClass): New native
10160 (linkClass0): Removed.
10161 (markClassErrorState0): Likewise.
10162 * java/lang/natClassLoader.cc: Include execution.h. Moved class
10163 preparation code to resolve.cc.
10164 (_Jv_RegisterClassHookDefault): Set class's execution engine if
10166 (_Jv_FindClass): Use wait_for_state.
10167 (_Jv_NewArrayClass): Likewise. Simplified permissions setting.
10168 * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
10169 Moved interface table and class preparation code to resolve.cc.
10170 (finalize): Rewrote.
10171 (initializeClass): Simplified locking and class preparation.
10172 * java/lang/VMClassLoader.java (linkClass0): Removed.
10173 (markClassErrorState0): Likewise.
10174 (resolveClass): Now native.
10175 (transformException): New method.
10176 * java/lang/Class.h (getSuperclass): Don't try to resolve super
10178 (getInterface): Likewise.
10180 (set_state): New method.
10181 (Class): Updated friend declarations.
10182 (verify): Field now private.
10183 (engine): New field.
10184 * include/jvm.h (class _Jv_Resolver): New class declaration.
10185 (_Jv_ResolveField): Removed declaration.
10186 (_Jv_CheckAccessNoInit): Likewise.
10187 (_Jv_isBinaryCompatible): Removed.
10188 * include/java-interp.h (class _Jv_MethodBase): Updated friend
10190 (class _Jv_InterpMethod): Likewise.
10191 (class _Jv_InterpClass): Likewise.
10192 (class _Jv_JNIMethod): Likewise.
10193 * include/execution.h: New file.
10194 * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
10195 (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
10196 Register class after setting fields.
10197 * resolve.cc: Include execution.h, VerifyError.h. Moved
10198 interpreter-specific code to interpret.cc.
10199 (uaddr): New location.
10200 (struct aligner): Likewise.
10201 (ALIGNOF): Likewise.
10202 (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
10203 (INITIAL_IFACES_LEN): Likewise.
10204 (null_idt): Likewise.
10205 (_Jv_GetMethodString): Likewise.
10206 (_Jv_ThrowNoSuchMethodError): Likewise.
10207 (_Jv_abstractMethodError): Likewise.
10208 (_Jv_Resolver::get_alignment_from_class): Renamed.
10209 (_Jv_Resolver::resolve_field): Likewise.
10210 (_Jv_Resolver::resolve_pool_entry): Likewise.
10211 (_Jv_Resolver::resolve_class_ref): Likewise.
10212 (_Jv_Resolver::prepare_constant_time_tables): Likewise.
10213 (_Jv_Resolver::indexof): Likewise.
10214 (_Jv_Resolver::get_interfaces): Likewise.
10215 (_Jv_Resolver::generate_itable): Likewise.
10216 (_Jv_Resolver::append_partial_itable): Likewise.
10217 (_Jv_Resolver::find_iindex): Likewise.
10218 (_Jv_Resolver::link_symbol_table): Likewise.
10219 (_Jv_Resolver::link_exception_table): Likewise.
10220 (_Jv_Resolver::layout_interface_methods): Likewise.
10221 (_Jv_Resolver::layout_vtable_methods): Likewise.
10222 (_Jv_Resolver::set_vtable_entries): Likewise.
10223 (_Jv_Resolver::make_vtable): Likewise.
10224 (_Jv_Resolver::ensure_fields_laid_out): Likewise.
10225 (_Jv_Resolver::ensure_class_linked): Likewise.
10226 (_Jv_Resolver::ensure_supers_installed): Likewise.
10227 (_Jv_Resolver::add_miranda_methods): Likewise.
10228 (_Jv_Resolver::ensure_method_table_complete): Likewise.
10229 (_Jv_Resolver::verify_class): Likewise.
10230 (_Jv_Resolver::wait_for_state): Likewise.
10231 * prims.cc (_Jv_soleCompiledEngine): New global.
10232 (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
10233 (_Jv_CheckAccessNoInit): Removed.
10234 * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
10235 * interpret.cc: Include platform.h, ClassFormatError.h,
10236 Modifier.h, execution.h.
10237 (_Jv_soleInterpreterEngine): New global.
10238 (compile): Use resolve_pool_entry.
10240 (_Jv_InitField): New location.
10241 (skip_one_type): Likewise.
10242 (get_ffi_type_from_signature): Likewise.
10243 (_Jv_count_arguments): Likewise.
10244 (init_cif): Likewise.
10245 (ncode_closure): Likewise.
10246 (ffi_closure_fun): Likewise.
10248 (throw_class_format_error): Likewise.
10249 (throw_class_format_error): Likewise.
10250 (_Jv_InterpreterEngine::do_verify): New method.
10251 (_Jv_InterpreterEngine::do_create_ncode): Likewise.
10252 (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
10253 (_Jv_InterpreterEngine::do_resolve_method): Likewise.
10254 * defineclass.cc: Include execution.h.
10255 (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
10257 (checkExtends): Ensure superclass has supers installed.
10258 (_Jv_ClassNameSamePackage): Clarify usage constraints.
10259 * boehm.cc (GC_enable, GC_disable): Declare at top of file.
10260 (_Jv_MarkObj): Unconditionally mark vtable. Mark interface
10263 2004-09-13 Tom Tromey <tromey@redhat.com>
10265 * mauve-libgcj: List some classes we don't have.
10267 2004-09-10 Andrew Haley <aph@redhat.com>
10269 * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
10270 * java/lang/natClass.cc (initializeClass): Check itable.
10271 (_Jv_getInterfaceMethod): New.
10272 (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
10273 Check that an interface method isn't called with invokevirtual.
10275 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
10276 super_meth is virtual.
10278 2004-09-01 Tom Tromey <tromey@redhat.com>
10280 * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
10281 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
10282 _Jv_CheckAccessNoInit.
10283 * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
10284 * prims.cc (_Jv_CheckAccessNoInit): New method.
10286 * java/lang/reflect/natMethod.cc (invoke): Check access against
10287 declaring class, not object's class.
10288 * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
10290 (_Jv_LayoutVTableMethods): Perform checks of accessibility of
10292 * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
10295 2004-08-30 Andrew Haley <aph@redhat.com>
10297 * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
10298 ClassNotFoundException.
10299 Throw NoClassDefFoundError.
10301 * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
10302 to klass->verify() from here ...
10303 (_Jv_PrepareCompiledClass): ...and put it here.
10305 2004-08-27 Andrew Haley <aph@redhat.com>
10307 * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
10309 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
10310 (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
10312 2004-08-27 Tom Tromey <tromey@redhat.com>
10314 * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
10316 * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
10317 (_Jv_IsAssignableFromSlow): New function.
10318 Include VerifyError.h.
10319 * include/jvm.h (_Jv_CheckAssignment): Declare.
10321 2004-08-18 Andrew Haley <aph@redhat.com>
10323 * java/lang/VMCompiler.java (loadSharedLibrary): Add className
10324 argument. Pass it to findClass instead of fileName.
10325 (compileClass): Pass class name to loadSharedLibrary.
10327 2004-06-22 Andrew Haley <aph@redhat.com>
10329 * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
10331 2004-06-15 Andrew Haley <aph@redhat.com>
10333 * java/lang/natSystem.cc (getenv0): Don't assume environment
10334 variable is Latin 1 coded.
10336 2004-06-07 Andrew Haley <aph@redhat.com>
10338 * java/lang/System.java: (getenv0): New method.
10339 (getenv): Add security check. Do the right thing.
10340 * java/lang/natSystem.cc (getenv0): New method.
10342 2004-04-19 Andrew Haley <aph@redhat.com>
10344 * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
10347 * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
10348 is returned as an int in the range 0 to 255.
10350 2004-08-13 Tom Tromey <tromey@redhat.com>
10352 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
10353 class if it is interpreted.
10355 2004-08-12 Tom Tromey <tromey@redhat.com>
10357 * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
10358 * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
10359 (Class::getSuperclass): Updated.
10360 (Class::getInterfaces): Likewise.
10361 (Class::size): Updated.
10362 (_Jv_LayoutClass): Updated declaration.
10363 * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
10364 Synchronize on class.
10365 (_Jv_LayoutClass): Changed interface.
10366 (initializeClass): Updated.
10367 (_Jv_LinkSymbolTable): Likewise.
10369 * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
10371 * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
10372 _Jv_isBinaryCompatible.
10373 * java/lang/natClass.cc (initializeClass): Use
10374 _Jv_isBinaryCompatible.
10375 (_Jv_LinkSymbolTable): Likewise.
10376 * include/jvm.h (_Jv_isBinaryCompatible): New function.
10378 2004-08-11 Tom Tromey <tromey@redhat.com>
10380 * gcj/javaprims.h: Regenerated.
10381 * java/lang/natClassLoader.cc (getClassLoader0): Removed.
10382 (_registerClass): Likewise.
10383 * Makefile.in: Rebuilt.
10384 * Makefile.am (core_java_source_files): Added VMCompiler.
10385 * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
10386 * java/lang/VMCompiler.java: New file.
10387 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
10389 (copyFile): Don't use fully-qualified name.
10391 * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
10392 (defineClass): Use VMCompiler.
10393 * java/lang/ClassLoader.java (defineClass): Removed jit
10394 compilation code and `verbose' code.
10395 (getClassLoader0): Removed.
10396 (_registerClass): Likewise.
10397 (SharedLibHelpers): Removed.
10399 2004-08-10 Tom Tromey <tromey@redhat.com>
10401 * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
10402 URL)): New constructor.
10403 (SoURLLoader): Likewise.
10404 (JarURLLoader): Create SoURLLoader with override URL.
10406 2004-08-10 Mark Wielaard <mark@klomp.org>
10408 * Makefile.in: Rebuilt.
10409 * Makefile.am (interpret.lo): New rule.
10411 2004-08-05 Andrew Haley <aph@redhat.com>
10413 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
10414 aside for "GCJLIBS" in directory where jarfiles are loaded.
10415 (JarURLLoader.getClass): New method.
10416 (JarURLLoader.toString): New method.
10417 (FileResource.toString): New method.
10418 * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
10419 Remove "Duplicate class registration: " bug.
10420 (_registerClass): New method.
10421 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
10422 (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
10424 (_Jv_LayoutClass): Use getSuperclass() rather than directly
10425 accessing the field.
10426 * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
10427 (defineClass): Call gcj to JIT-compile a class.
10428 (_registerClass): New method.
10429 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
10430 library name can refer to more than one loaded library, so use a
10431 Set of SharedLibHelpers.
10432 If a shared library is already loaded, take a copy.
10433 (copyFile): New function.
10435 * testsuite/libjava.compile/compile.exp: Force
10436 -findirect-dispatch.
10438 * java/security/BasicPermission.java: Remove bogus checks.
10440 * java/lang/System.java (getenv0): New method.
10441 * java/lang/natSystem.cc (getenv0): New method.
10443 2004-05-24 Andrew Haley <aph@redhat.com>
10445 * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
10447 2004-04-20 Bryce McKinlay <mckinlay@redhat.com>
10449 * Merged with HEAD as of 20040514. Diff against
10450 gcj-abi-2-merge-20040514.
10452 2004-04-16 Andrew Haley <aph@redhat.com>
10454 * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
10456 (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
10457 (_Jv_PrepareCompiledClass): If we throw an exception during
10458 preparation, restore state.
10459 (ClassLoader::getClassLoader0): New method.
10461 * java/lang/natClass.cc (get_alignment_from_class): Moved here
10463 (ALIGNOF): Use offsetof, not __alignof__.
10464 (_Jv_ResolveClassRef): Resolve a reference to a class in a
10466 (getInterfaces): Emit debug output if interface hasn't been
10468 (initializeClass): Call _Jv_LayoutClass.
10469 (_Jv_LinkSymbolTable): Add debugging output.
10470 (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
10472 (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
10473 (_Jv_LinkSymbolTable): Pass the real class loader to
10475 (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
10477 (_Jv_LinkSymbolTable): Assert if we find a static field reference
10478 to an interpreted class.
10479 (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
10481 (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
10484 * java/lang/VMSecurityManager.java: Check for the system class
10485 loader as well as loader != null.
10487 * java/lang/SecurityManager.java (checkPermission): Remove
10489 (checkRead): Likewise.
10490 (checkConnect): Likewise.
10492 * java/lang/ClassLoader.java (loadClass): Include all class
10493 loaders in stack trace string.
10494 Look for class in "gcjlib.so" in the same directory.
10495 (getSystemClassLoader) Use getClassLoader0.
10496 (getClassLoader0): New native method.
10498 * java/lang/Class.h (getSuperclass): New method.
10499 (getInterface): New method.
10500 (size): Lay out class if needed.
10501 (firstMethodIndex): New method.
10502 (Jv_ResolveClassRef): New declaration.
10503 (_Jv_LinkSymbolTable): New declaration.
10505 * java/io/ObjectOutputStream.java: Add DEBUG statements
10507 (dumpElementln): New method.
10508 (depth): New field.
10509 * java/io/ObjectInputStream.java (MyIOException): new, for
10511 Everywhere: use MyIOException rather than IOException.
10512 Indent debugging output to make nesting visible.
10513 (currentClassLoader): Make native
10514 (callersClassLoader): New field.
10515 (depth): New field.
10516 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
10519 (readObject): ENDBLOCKDATA is generated if the class has a write
10520 method, not if it has a read method.
10522 * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
10524 * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
10525 getContextClassLoader form the current thread after our own class
10528 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
10530 (toString): New method.
10532 * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
10535 * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
10536 a constant pool entry, resolve it now.
10537 (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
10539 Move get_alignment_from_class to natClass.cc.
10541 * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
10542 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
10544 * defineclass.cc (checkExtends): Don't access superclass field
10547 * Makefile.in: regenerate.
10549 * gnu/gcj/util/natDebug.cc: New
10550 * gnu/gcj/util/Debug.java: New.
10552 * Makefile.am (java/io/ObjectInputStream.lo): Use
10553 -fno-optimize-sibling-calls.
10555 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
10556 _Jv_LookupInterfaceMethodIdx to calculate the address of a method
10558 * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
10560 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
10562 * configure: Regenerate for libtool change.
10564 2004-11-24 Michael Koch <konqueror@gmx.de>
10566 * gnu/java/security/PolicyFile.java: New file.
10567 * Makefile.am: Added gnu/java/security/PolicyFile.java.
10568 * Makefile.in: Regenerated.
10570 2004-11-24 Michael Koch <konqueror@gmx.de>
10572 * java/lang/Character.java, scripts/unicode-blocks.pl:
10573 Reorder "final static" to "static final".
10575 2004-11-24 Michael Koch <konqueror@gmx.de>
10577 * java/util/ResourceBundle.java: Reformatted.
10578 (tryBundle): Fixed javadoc.
10580 2004-11-24 Jeroen Frijters <jeroen@frijters.net>
10582 * java/text/MessageFormat.java
10583 (formatInternal): Made private.
10585 2004-11-24 Michael Koch <konqueror@gmx.de>
10587 * java/nio/DirectByteBufferImpl.java
10588 (ReadWrite.ReadWrite): New constructor.
10589 (DirectByteBufferImpl): Likewise.
10590 * jni.cc (_Jv_JNI_NewDirectByteBuffer):
10591 Use DirectByteBufferImpl.ReadWrite.
10593 Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
10594 * Makefile.in: Rgenerated.
10596 2004-11-24 Jeroen Frijters <address@bogus.example.com>
10598 * java/nio/DirectByteBufferImpl.java
10599 (ReadOnly): New inner subclass.
10600 (ReadWrite): New inner subclass.
10601 (owner): Made final and private.
10602 (address): Made final.
10603 (DirectByteBufferImpl(int)): New constructor.
10604 (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
10605 (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
10606 (allocate): Modified to instantiate ReadWrite subclass.
10607 (finalize): Fixed to only free the buffer, if we own it.
10608 (put): Removed read-only check.
10609 (slice, duplicate): Modified to instantiate appropriate subclass.
10610 (isReadOnly): Removed.
10611 * java/nio/MappedByteBufferImpl.java
10612 (slice, duplicate): Modified to instantiate appropriate
10613 DirectByteBufferImpl subclass.
10615 2004-11-24 Michael Koch <konqueror@gmx.de>
10617 * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
10618 * java/nio/DirectByteBufferImpl.java:
10619 Moved native methods to java.nio.VMDirectByteBuffer class.
10620 * java/nio/MappedByteBufferImpl.java:
10621 Use native methods from java.nio.VMDirectByteBuffer class.
10622 * java/nio/VMDirectByteBuffer.java: New file,
10623 * java/nio/natDirectByteBufferImpl.cc:
10624 Moved all methods into java.nio.VMDirectByteBuffer class.
10625 * java/nio/channels/spi/AbstractSelectableChannel.java
10626 (register): Only re-use valid keys.
10627 * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
10628 * Makefile.in: Regenerated.
10630 2004-11-24 Michael Koch <konqueror@gmx.de>
10632 * java/nio/DirectByteBufferImpl.java,
10633 java/nio/MappedByteBufferImpl.java:
10636 2004-11-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10638 * testsuite/lib/libjava.exp,
10639 testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
10641 2004-11-23 Richard Sandiford <rsandifo@redhat.com>
10643 * configure.host: Enable the interpreter for mips*-*-linux*.
10645 2004-11-23 Michael Koch <konqueror@gmx.de>
10647 * java/lang/String.java (rehash): Removed.
10648 * java/lang/natString.cc (rehash): Made static.
10649 (_Jv_NewStringUtf8Const): Use static rehash method.
10651 2004-11-23 Michael Koch <konqueror@gmx.de>
10653 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
10654 include/Makefile.in, testsuite/Makefile.in: Regenerated.
10656 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
10659 * configure.ac (threading): Accept 'posix95'.
10660 * configure: Regenerate.
10662 2004-11-22 Michael Koch <konqueror@gmx.de>
10664 * gnu/java/nio/SocketChannelImpl.java
10665 (read): Made check for blocking un-ambiguous.
10666 Removed wrong check for data array length.
10668 2004-11-21 Michael Koch <konqueror@gmx.de>
10670 * gnu/java/nio/SocketChannelImpl.java
10671 (read): Only return 0 when no bytes for reading available in
10673 * java/nio/channels/SocketChannel.java:
10674 Added some missing @return tags.
10676 2004-11-21 Michael Koch <konqueror@gmx.de>
10678 * java/beans/PropertyChangeSupport.java
10679 (propertyChangeSupportSerializedDataVersion): Made static.
10680 * java/beans/VetoableChangeSupport.java
10681 (propertyChangeSupportSerializedDataVersion): Likewise.
10683 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
10685 * java/net/URLStreamHandler.java
10686 (parseURL): Fixed file path canonicalisation.
10688 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
10690 * java/net/URLStreamHandler.java
10691 (parseURL): Fixed file path canonicalisation.
10693 2004-11-18 Michael Koch <konqueror@gmx.de>
10695 * java/net/URLClassLoader.java: Whitespace cleanup.
10697 2004-11-18 Robert Schuster <address@bogus.example.com>
10699 Complete 1.4 support
10700 * java/beans/PropertyDescriptor.java:
10701 (setReadMethod): New method
10702 (setWriteMethod): New method
10703 (equals): Implemented (1.4)
10704 (checkMethods): operates on arguments now (private)
10707 2004-11-18 Mattias Rehnberg <Mattias.Rehnberg@home.se>
10709 * java/net/Inet6Address.java (getHostAddress): Fix textual
10710 representation of IPv6 address with embedded zeroes
10711 to conform to RFC 2373.
10713 2004-11-18 Jeroen Frijters <address@bogus.example.com>
10715 * java/lang/StackTraceElement.java: Made final.
10716 * java/nio/channels/Channels.java: Added private constructor.
10717 * java/rmi/Naming.java: Added private constructor.
10718 * java/rmi/registry/LocateRegistry.java: Added private constructor.
10719 * java/rmi/server/RMIClassLoader.java: Added private constructor.
10720 * java/security/KeyPairGeneratorSpi.java
10721 (clone): Made protected and simplified implementation.
10722 * java/text/DateFormat.java
10723 (allFields): Made package accessible.
10724 * java/text/DecimalFormat.java
10725 (formatInternal): Made private.
10726 * java/text/Format.java
10727 (formatInternal): Made private.
10728 * java/util/logging/Handler.java: Made constructor protected.
10729 * java/util/regex/Matcher.java: Made final.
10730 * java/util/regex/Pattern.java: Made final.
10731 * javax/crypto/CipherInputStream.java
10732 (mark): Corrected mark parameter type (from long to int).
10733 * javax/crypto/ExemptionMechanism.java
10735 * javax/crypto/Mac.java
10736 (getMacLength): Made final.
10737 (clone): Made final.
10738 * javax/imageio/ImageIO.java: Added private constructor.
10739 * javax/imageio/stream/ImageInputStreamImpl.java
10740 (checkClosed): Made final.
10741 * javax/net/ssl/SSLPermission.java: Made final.
10742 * javax/print/DocFlavor.java
10743 (hostEncoding): Added work-around to prevent the field from being
10744 a compile time constant.
10745 * javax/print/attribute/AttributeSetUtilities.java: Added private
10747 (UnmodifiableDocAttributeSet): Made private.
10748 (UnmodifiablePrintJobAttributeSet): Made private.
10749 (UnmodifiablePrintRequestAttributeSet): Made private.
10750 (UnmodifiablePrintServiceAttributeSet): Made private.
10751 (SynchronizedAttributeSet): Made private.
10752 (SynchronizedDocAttributeSet): Made private.
10753 (SynchronizedPrintJobAttributeSet): Made private.
10754 (SynchronizedPrintRequestAttributeSet): Made private.
10755 (SynchronizedPrintServiceAttributeSet): Made private.
10756 * javax/security/auth/PrivateCredentialPermission.java: Made final.
10758 2004-11-18 Craig Black <craig.black@aonix.com>
10760 * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
10762 2004-11-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
10764 * Makefile.am: Correct friend function declaration.
10765 * Makefile.in: Regenerated.
10766 * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
10767 scope to function names. Declare functions directly.
10768 * libjava/java/lang/Class.h
10769 (java::lang::Class): Correct friend class declaration.
10770 (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
10772 * libjava/java/lang/Class.h
10773 (java::lang::Object): Correct friend class declaration.
10775 2004-11-17 David Daney <ddaney@avtrex.com>
10777 * java/io/BufferedInputStream.java (skip): Return zero on EOF.
10779 2004-11-17 Michael Koch <konqueror@gmx.de>
10781 * java/net/Socket.java (getPort): Return 0 in error case.
10783 2004-11-17 Michael Koch <konqueror@gmx.de>
10785 * java/nio/DirectByteBufferImpl.java
10786 (owner): Updated comment.
10787 (allocate): New method.
10789 2004-11-17 Michael Koch <konqueror@gmx.de>
10791 * java/net/URL.java (URL): Handle case when argument is null.
10793 2004-11-17 Michael Koch <konqueror@gmx.de>
10795 * java/beans/Beans.java,
10796 java/beans/PropertyChangeEvent.java,
10797 java/beans/PropertyEditorSupport.java:
10800 2004-11-17 Michael Koch <konqueror@gmx.de>
10802 * java/util/Timer.java (DEFAULT_SIZE): Made static.
10804 2004-11-17 Michael Koch <konqueror@gmx.de>
10806 * java/net/InetAddress.java (getCanonicalHostName):
10807 Support IPv6 addresses.
10809 2004-11-16 Michael Koch <konqueror@gmx.de>
10811 * java/lang/Object.java: Added javadocs all over (merged from GNU
10814 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
10816 * java/security/Security.java (Security): Silence the warning about no
10817 providers found in the no debug case.
10819 2004-11-16 Michael Koch <konqueror@gmx.de>
10821 * java/net/InetAddress.java
10822 (toString): Merged from GNU classpath.
10824 2004-11-16 Michael Koch <konqueror@gmx.de>
10826 * java/awt/geom/doc-files/Area-1.png,
10827 java/awt/geom/doc-files/Ellipse-1.png,
10828 java/awt/geom/doc-files/GeneralPath-1.png:
10831 2004-11-16 Michael Koch <konqueror@gmx.de>
10833 * java/util/Currency.java (cache): Fix modifier order.
10835 2004-11-16 Michael Koch <konqueror@gmx.de>
10837 * java/io/BufferedReader.java,
10838 java/io/FileInputStream.java,
10839 java/io/FileOutputStream.java,
10840 java/io/FileWriter.java,
10841 java/io/OutputStreamWriter.java,
10842 java/io/PipedInputStream.java,
10843 java/io/PipedOutputStream.java,
10844 java/io/PipedReader.java,
10845 java/io/PipedWriter.java,
10846 java/io/PrintStream.java,
10847 java/io/PushbackInputStream.java,
10848 java/io/RandomAccessFile.java,
10849 java/io/Reader.java,
10850 java/io/StreamTokenizer.java,
10851 java/io/StringReader.java,
10852 java/net/NetworkInterface.java,
10853 java/net/URLClassLoader.java,
10854 java/nio/ByteOrder.java,
10855 java/nio/channels/Channel.java:
10856 Fixed javadocs all over.
10858 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
10860 * Makefile.am: Add imported files.
10861 * Makefile.in: Regenerate.
10863 2004-10-24 Casey Marshall <csm@gnu.org>
10865 * javax/security/auth/login/LoginContext.java: Implemented.
10866 * javax/security/auth/login/Configuration.java (getConfig): New method.
10867 * javax/security/auth/spi/LoginModule.java,
10868 * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
10870 2004-11-15 Andreas Tobler <a.tobler@schweiz.ch>
10872 Import/Merge the X.509 certificate code from Classpath.
10874 * Makefile.am: Add imported files.
10875 * Makefile.in: Regenerate.
10877 2004-11-07 Casey Marshall <csm@gnu.org>
10879 * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
10880 priviliged action. Add new algorithms.
10881 * gnu/java/security/provider/X509CertificateFactory.java
10882 (engineGenerateCertificate): Chain exceptions.
10883 (engineGenerateCertificates): Likewise.
10884 (engineGenerateCRL): Likewise.
10885 (engineGenerateCRLs): Likewise.
10886 (engineGenerateCertPath): New methods.
10887 (generateCert): Throw exception if 'inStream' is null.
10888 (generateCRL): Likewise.
10889 * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
10890 version from GNU Crypto CVS.
10891 * gnu/java/security/x509/X509CRL.java: Likewise.
10892 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
10893 * gnu/java/security/x509/X509Certificate.java: Likewise.
10894 * java/security/cert/TrustAnchor.java: Call 'toString' and not
10896 * gnu/java/security/provider/CollectionCertStoreImpl.java,
10897 * gnu/java/security/provider/EncodedKeyFactory.java,
10898 * gnu/java/security/provider/GnuDHPublicKey.java,
10899 * gnu/java/security/provider/GnuRSAPrivateKey.java,
10900 * gnu/java/security/provider/GnuRSAPublicKey.java,
10901 * gnu/java/security/provider/MD2withRSA.java,
10902 * gnu/java/security/provider/MD4withRSA.java,
10903 * gnu/java/security/provider/MD5withRSA.java,
10904 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
10905 * gnu/java/security/provider/RSA.java,
10906 * gnu/java/security/provider/RSAKeyFactory.java,
10907 * gnu/java/security/provider/SHA1withRSA.java,
10908 * gnu/java/security/x509/GnuPKIExtension.java,
10909 * gnu/java/security/x509/PolicyNodeImpl.java,
10910 * gnu/java/security/x509/Util.java,
10911 * gnu/java/security/x509/X509CRLSelectorImpl.java,
10912 * gnu/java/security/x509/X509CertPath.java,
10913 * gnu/java/security/x509/X509CertSelectorImpl.java,
10914 * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
10915 * gnu/java/security/x509/ext/BasicConstraints.java,
10916 * gnu/java/security/x509/ext/CRLNumber.java,
10917 * gnu/java/security/x509/ext/CertificatePolicies.java,
10918 * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
10919 * gnu/java/security/x509/ext/Extension.java,
10920 * gnu/java/security/x509/ext/GeneralNames.java,
10921 * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
10922 * gnu/java/security/x509/ext/KeyUsage.java,
10923 * gnu/java/security/x509/ext/PolicyConstraint.java,
10924 * gnu/java/security/x509/ext/PolicyMappings.java,
10925 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
10926 * gnu/java/security/x509/ext/ReasonCode.java,
10927 * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
10928 * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
10930 2004-11-07 Casey Marshall <csm@gnu.org>
10932 * gnu/java/security/x509/X509CRL.java:
10933 Missed import statements in previous checkin.
10935 2004-11-07 Casey Marshall <csm@gnu.org>
10937 * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
10938 to 'X509CertificateImpl' from previous checkin.
10940 2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
10943 * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
10945 2004-11-11 Casey Marshall <csm@gnu.org>
10947 * gnu/java/nio/FileLock.java (isValid): locks are valid if the
10949 * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
10950 'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
10952 2004-11-11 Robert Schuster <thebohemian@gmx.net>
10955 * gnu/java/beans/IntrospectionIncubator.java:
10956 (addMethod): Corrected classification of normal and property methods.
10957 (capitalize): Added documentation.
10958 (DoubleKey): [class] Added documentation.
10960 2004-11-09 Tom Tromey <tromey@redhat.com>
10962 * include/jni.h: Added FIXME.
10964 2004-11-08 Tom Tromey <tromey@redhat.com>
10966 * java/util/GregorianCalendar.java: Removed unused imports.
10967 * java/util/Vector.java: Removed unused import.
10969 2004-11-07 Michael Koch <konqueror@gmx.de>
10971 * java/lang/Process.java:
10974 2004-11-07 Jeroen Frijters <jeroen@frijters.net>
10976 * java/util/zip/ZipEntry.java
10977 (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
10979 2004-11-07 Robert Schuster <theBohemian@gmx.net>
10982 * gnu/java/beans/IntrospectionIncubator.java:
10983 (addMethod): static methods are discarded now, too.
10985 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
10987 * java/util/GregorianCalendar.java
10988 Added/amended documentation.
10990 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
10992 * java/util/Collections.java
10993 Added documentation.
10994 * java/util/SortedMap.java
10995 Clarified some method examples.
10996 * java/util/SortedSet.java
10997 Clarified some method examples.
10999 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
11001 * java/util/Currency.java
11002 Documented variables and methods more fully.
11003 Caches the currency instances, so that a request
11004 for a locale, l, only ever returns the same
11005 instance (i.e. successive calls to getInstance(l)
11006 are reference equivalent (==)).
11008 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
11010 * java/util/Date.java
11011 Added missing documentation.
11013 2004-11-06 Michael Koch <konqueror@gmx.de>
11015 * java/util/zip/CheckedInputStream.java,
11016 java/util/zip/InflaterInputStream.java,
11017 java/util/zip/ZipFile.java,
11018 java/util/zip/ZipInputStream.java:
11021 2004-11-06 Tom Tromey <tromey@redhat.com>
11023 * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
11025 (connections): Likewise.
11026 (scavenger): Likewise.
11027 * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
11029 * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
11032 * gnu/classpath/ServiceFactory.java (log): Now package-private.
11034 2004-11-06 Tom Tromey <tromey@redhat.com>
11036 * javax/naming/directory/BasicAttributes.java (attributes): Now
11038 * javax/imageio/spi/ServiceRegistry.java (categories): Now
11041 2004-11-06 Tom Tromey <tromey@redhat.com>
11043 * java/net/URLClassLoader.java (URLClassLoader): Now
11045 * java/nio/charset/CoderResult.java (CoderResult): Now
11048 (Cache): Likewise. Don't synchronize on `this'.
11049 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
11051 * java/util/TimeZone.java (timezones): Now package-private.
11053 2004-11-06 Tom Tromey <tromey@redhat.com>
11055 * java/security/Permissions.java (perms): Now package-private.
11056 * java/security/UnresolvedPermission.java (permissions): Now
11059 2004-11-06 Tom Tromey <tromey@redhat.com>
11061 * java/io/FilePermission.java: Reindented.
11063 2004-11-06 Tom Tromey <tromey@redhat.com>
11065 * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
11067 (setBlockDataMode): Likewise.
11069 2004-11-06 Tom Tromey <tromey@redhat.com>
11071 * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
11073 (Encoder): Likewise.
11074 * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
11075 (Encoder): Likewise.
11076 * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
11078 (Encoder): Likewise.
11080 2004-11-06 Mark Wielaard <mark@klomp.org>
11082 * Makefile.am: Add new javax.imageio files.
11083 * Makefile.in: Regenerated.
11085 2004-11-06 Michael Koch <konqueror@gmx.de>
11087 * javax/imageio/event/IIOReadProgressListener.java,
11088 javax/imageio/event/IIOReadUpdateListener.java,
11089 javax/imageio/event/IIOReadWarningListener.java,
11090 javax/imageio/event/IIOWriteProgressListener.java,
11091 javax/imageio/event/IIOWriteWarningListener.java,
11092 javax/imageio/metadata/IIOMetadataFormat.java,
11093 javax/imageio/stream/FileCacheImageInputStream.java,
11094 javax/imageio/stream/FileCacheImageOutputStream.java,
11095 javax/imageio/stream/ImageInputStreamImpl.java:
11097 * javax/imageio/metadata/package.html: New file.
11099 2004-11-06 Michael Koch <konqueror@gmx.de>
11101 * javax/imageio/spi/ImageReaderSpi.java
11102 (isOwnReader): New method.
11103 * javax/imageio/spi/ImageWriterSpi.java
11104 (isOwnWriter): Likewise.
11106 2004-11-06 Michael Koch <konqueror@gmx.de>
11108 * javax/imageio/ImageWriter.java
11109 (convertImageMetadata): New abstract method.
11110 (convertStreamMetadata): Likewise.
11112 * javax/imageio/stream/FileCacheImageInputStream.java
11113 (close): Fixed setting of stream to null.
11114 (checkStreamClosed): Throws IOException.
11116 2004-11-06 Michael Koch <konqueror@gmx.de>
11118 * javax/imageio/stream/FileCacheImageInputStream.java,
11119 javax/imageio/stream/FileCacheImageOutputStream.java,
11120 javax/imageio/stream/FileImageInputStream.java,
11121 javax/imageio/stream/FileImageOutputStream.java,
11122 javax/imageio/stream/MemoryCacheImageInputStream.java,
11123 javax/imageio/stream/MemoryCacheImageOutputStream.java:
11126 2004-11-06 Michael Koch <konqueror@gmx.de>
11128 * javax/imageio/metadata/IIOInvalidTreeException.java,
11129 javax/imageio/metadata/IIOMetadataFormatImpl.java,
11130 javax/imageio/metadata/IIOMetadataNode.java:
11133 2004-11-06 Michael Koch <konqueror@gmx.de>
11135 * javax/imageio/stream/ImageInputStreamImpl.java,
11136 javax/imageio/stream/ImageOutputStreamImpl.java:
11139 2004-11-06 Michael Koch <konqueror@gmx.de>
11141 * javax/imageio/ImageIO.java:
11142 Added much new methods.
11144 2004-11-06 Michael Koch <konqueror@gmx.de>
11146 * javax/imageio/ImageReader.java,
11147 javax/imageio/ImageWriter.java,
11148 javax/imageio/spi/ImageWriterSpi.java:
11149 Add SOME new methods.
11151 2004-11-06 Michael Koch <konqueror@gmx.de>
11153 * javax/imageio/IIOParam.java,
11154 javax/imageio/ImageReadParam.java,
11155 javax/imageio/ImageReader.java,
11156 javax/imageio/ImageWriter.java:
11157 Mostly implemented.
11158 * javax/imageio/spi/ImageReaderSpi.java,
11159 javax/imageio/spi/ImageWriterSpi.java:
11162 2004-11-06 Michael Koch <konqueror@gmx.de>
11164 * javax/imageio/ImageWriteParam.java,
11165 javax/imageio/metadata/IIOMetadataFormat.java:
11168 2004-11-06 Michael Koch <konqueror@gmx.de>
11170 * javax/imageio/ImageTypeSpecifier.java:
11171 Mostly implemented.
11173 2004-11-06 Michael Koch <konqueror@gmx.de>
11175 * javax/imageio/metadata/IIOMetadata.java:
11176 Mostly implemented.
11178 2004-11-06 Michael Koch <konqueror@gmx.de>
11180 * javax/imageio/IIOImage.java,
11181 javax/imageio/ImageReadParam.java,
11182 javax/imageio/metadata/IIOMetadataController.java,
11183 javax/imageio/metadata/IIOMetadataFormat.java:
11185 * javax/imageio/stream/ImageOutputStream.java:
11188 2004-11-06 Michael Koch <konqueror@gmx.de>
11190 * javax/imageio/IIOParam.java,
11191 javax/imageio/IIOParamController.java,
11192 javax/imageio/ImageTypeSpecifier.java,
11193 javax/imageio/ImageWriteParam.java,
11194 javax/imageio/metadata/IIOMetadata.java:
11196 * javax/imageio/ImageTranscoder.java:
11199 2004-11-06 Michael Koch <konqueror@gmx.de>
11201 * javax/imageio/spi/ImageInputStreamSpi.java,
11202 javax/imageio/spi/ImageOutputStreamSpi.java:
11203 Reworked import startments.
11204 * javax/imageio/spi/ServiceRegistry.java:
11205 Reworked import startments. Fixed XHTML in javadocs.
11206 (ServiceRegistry): Added @param tag to javadoc.
11207 * javax/imageio/stream/ImageInputStream.java
11208 (mark): Doesn't throws IOException;
11210 2004-11-06 Michael Koch <konqueror@gmx.de>
11212 * javax/imageio/ImageIO.java:
11215 2004-11-06 Michael Koch <konqueror@gmx.de>
11217 * javax/imageio/spi/IIORegistry.java
11218 (static): Don't register ImageReaderSpi.class and
11219 ImageWriterSpi.class yet.
11221 2004-11-06 Michael Koch <konqueror@gmx.de>
11223 * javax/imageio/spi/IIORegistry.java:
11226 2004-11-06 Noa Resare <noa@resare.com>
11228 * java/net/Socket.java (getPort): Return 0 instead of -1 on
11229 unconnected sockets.
11231 2004-11-06 Michael Koch <konqueror@gmx.de>
11233 * java/lang/StringBuffer.java,
11234 java/lang/Throwable.java,
11235 java/security/spec/DSAParameterSpec.java,
11236 java/util/zip/ZipEntry.java,
11237 java/util/zip/ZipFile.java,
11238 java/util/zip/ZipInputStream.java,
11239 java/util/zip/ZipOutputStream.java:
11240 Removed redundant and reordered modifiers.
11242 2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
11244 * java/io/Vector.java
11245 (writeObject): New function to serialized output thread safe.
11247 * java/io/ObjectOutputStream.java
11248 (writeObject): Move the assignment of the class handle to after
11249 the assignment of class descriptor handle.
11251 2004-11-06 Robert Schuster <thebohemian@gmx.net>
11253 Fixes documentation and indentation
11254 * java/beans/PropertyEditorSupport.java:
11255 reworked initial API doc
11256 (value): changed name from val
11258 2004-11-06 Robert Schuster <thebohemian@gmx.net>
11261 * java/beans/PropertyEditorSupport.java
11262 (PropertyEditorSupport()): Changed modifier to public
11263 (PropertyEditorSupport(Object): Changed modifier to public
11264 (setSource): New method
11265 (getSource): New method
11267 2004-11-06 Robert Schuster <thebohemian@gmx.net>
11270 * java/beans/PropertyEditorSupport.java
11271 (setValue): Fire property change event
11273 2004-11-03 Tom Tromey <tromey@redhat.com>
11275 * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
11276 * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
11277 returns jobjectArray.
11278 (_Jv_JNIEnv::NewObjectArray): Likewise.
11280 2004-11-01 Tom Tromey <tromey@redhat.com>
11282 * verify.cc (state::check_no_uninitialized_objects): Removed.
11283 (push_jump): Updated.
11284 (push_exception_jump): Likewise.
11285 (handle_ret_insn): Likewise.
11286 (handle_jsr_insn): Likewise.
11288 2004-10-30 Mark Wielaard <mark@klomp.org>
11291 * java/lang/Runtime.java (static): Call init().
11292 (Runtime): Remove call to init().
11293 (init): Make static.
11295 2004-10-28 David Daney <ddaney@avtrex.com>
11297 * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
11298 * Makefile.am: Build it.
11299 * Makefile.in: Regenerate.
11301 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
11304 * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
11306 * Makefile.in: Regenerate.
11307 * configure: Regenerate.
11308 * configure.ac (CLASSPATH_SEPARATOR): Define.
11309 * gcj/Makefile.in: Regenerate.
11310 * include/Makefile.in: Regenerate.
11311 * testsuite/Makefile.in: Regenerate.
11312 * testsuite/lib/libjava.exp (libjava_arguments): Fix
11313 CLASSPATH separator handling for Windows.
11315 2004-10-26 Michael Koch <konqueror@gmx.de>
11317 * gnu/java/net/protocol/http/Connection.java
11318 (getOutputStream): Implicitely switch to POST method.
11320 2004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
11322 * libjava/java/lang/Class.h
11323 (java::lang::Class): Correct friend class declaration.
11325 2004-10-25 Geoffrey Keating <geoffk@apple.com>
11327 * Makefile.am (DARWIN_CRT_SRC): New.
11328 (libgcj_la_SOURCES): Use it.
11329 * configure.ac: Define USING_DARWIN_CRT when on Darwin.
11330 * darwin.cc: New file.
11331 * include/jvm.h (_Jv_RegisterClasses): Constify.
11332 (_Jv_RegisterClasses_Counted): New prototype.
11333 * java/lang/Class.h: Include stddef.h.
11334 (_Jv_RegisterClasses): Constify.
11335 (_Jv_RegisterClasses_Counted): New prototype.
11336 (Object): Make '_Jv_RegisterClasses_Counted' a friend.
11337 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
11338 (_Jv_RegisterClasses_Counted): New function.
11339 * configure: Regenerate.
11340 * Makefile.in: Regenerate.
11341 * gcj/Makefile.in: Regenerate.
11342 * include/Makefile.in: Regenerate.
11343 * testsuite/Makefile.in: Regenerate.
11345 2004-10-25 Tom Tromey <tromey@redhat.com>
11347 * java/util/ResourceBundle.java (tryBundle): Use
11348 Class.isAssignableFrom rather than catching ClassCastException.
11350 2004-10-25 Tom Tromey <tromey@redhat.com>
11352 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
11354 * gnu/java/text/SentenceBreakIterator.java
11355 (SentenceBreakIterator): Don't initialize `iter'.
11356 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
11358 * gnu/java/text/CharacterBreakIterator.java
11359 (CharacterBreakIterator): Don't initialize `iter'.
11360 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
11362 * java/text/BreakIterator.java: Updated documentation.
11364 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
11367 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
11369 2004-10-23 Michael Koch <konqueror@gmx.de>
11371 * javax/print/DocFlavor.java,
11372 javax/print/attribute/standard/JobStateReason.java,
11373 javax/print/attribute/standard/MultipleDocumentHandling.java:
11374 Added missing constants.
11376 2004-10-22 Tom Tromey <tromey@redhat.com>
11378 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
11381 2004-10-22 Michael Koch <konqueror@gmx.de>
11384 * gnu/java/net/protocol/http/Connection.java
11385 (sendRequest): Handle case when url.getFile() returns an empty string.
11387 2004-10-22 Michael Koch <konqueror@gmx.de>
11389 * java/lang/Math.java,
11390 java/lang/StackTraceElement.java,
11391 java/nio/Buffer.java,
11392 java/nio/ByteBuffer.java,
11393 java/nio/CharBuffer.java,
11394 java/nio/DoubleBuffer.java,
11395 java/nio/FloatBuffer.java,
11396 java/nio/IntBuffer.java,
11397 java/nio/LongBuffer.java,
11398 java/nio/ShortBuffer.java,
11399 java/nio/charset/Charset.java,
11400 java/rmi/server/RMIClassLoader.java,
11401 java/rmi/server/RMISocketFactory.java,
11402 java/security/Policy.java,
11403 java/text/ChoiceFormat.java,
11404 java/text/CollationElementIterator.java,
11405 java/text/DateFormat.java,
11406 java/text/DecimalFormat.java,
11407 java/text/DecimalFormatSymbols.java,
11408 java/text/MessageFormat.java,
11409 java/text/NumberFormat.java,
11410 java/text/RuleBasedCollator.java,
11411 java/text/SimpleDateFormat.java,
11412 java/util/BitSet.java,
11413 java/util/Calendar.java,
11414 java/util/Collections.java,
11415 java/util/IdentityHashMap.java,
11416 java/util/Locale.java,
11417 java/util/TreeMap.java,
11418 java/util/logging/LogRecord.java,
11419 java/util/logging/XMLFormatter.java,
11420 java/util/prefs/AbstractPreferences.java,
11421 java/util/prefs/Preferences.java,
11422 javax/crypto/interfaces/DHPrivateKey.java,
11423 javax/crypto/interfaces/DHPublicKey.java,
11424 javax/crypto/interfaces/PBEKey.java,
11425 javax/net/ssl/HandshakeCompletedEvent.java,
11426 javax/security/auth/Subject.java:
11427 Removed redundant and reordered modifiers.
11429 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
11431 * gnu/java/net/natPlainSocketImplPosix.cc
11432 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
11433 with 'int *' argument instead of 'long *'.
11435 2004-10-21 Michael Koch <konqueror@gmx.de>
11437 * java/net/NetworkInterface.java,
11438 java/text/Format.java,
11439 javax/security/auth/x500/X500Principal.java,
11440 javax/security/auth/x500/X500PrivateCredential.java,
11441 javax/security/cert/X509CertBridge.java,
11442 javax/security/sasl/Sasl.java,
11443 javax/sql/XAConnection.java:
11446 2004-10-21 Michael Koch <konqueror@gmx.de>
11448 * javax/net/ssl/HandshakeCompletedEvent.java,
11449 javax/net/ssl/KeyManagerFactory.java,
11450 javax/net/ssl/SSLContext.java,
11451 javax/net/ssl/SSLServerSocketFactory.java,
11452 javax/net/ssl/SSLSession.java,
11453 javax/net/ssl/SSLSocketFactory.java,
11454 javax/net/ssl/TrustManagerFactory.java:
11457 2004-10-21 Michael Koch <konqueror@gmx.de>
11459 * javax/naming/directory/BasicAttribute.java,
11460 javax/naming/directory/BasicAttributes.java,
11461 javax/naming/directory/InitialDirContext.java,
11462 javax/naming/event/NamingEvent.java,
11463 javax/naming/ldap/ControlFactory.java,
11464 javax/naming/ldap/ExtendedRequest.java,
11465 javax/naming/ldap/InitialLdapContext.java,
11466 javax/naming/ldap/LdapReferralException.java,
11467 javax/naming/spi/DirObjectFactory.java,
11468 javax/naming/spi/DirStateFactory.java,
11469 javax/naming/spi/DirectoryManager.java,
11470 javax/naming/spi/InitialContextFactory.java,
11471 javax/naming/spi/InitialContextFactoryBuilder.java,
11472 javax/naming/spi/NamingManager.java,
11473 javax/naming/spi/ObjectFactory.java,
11474 javax/naming/spi/ObjectFactoryBuilder.java,
11475 javax/naming/spi/StateFactory.java:
11478 2004-10-21 Michael Koch <konqueror@gmx.de>
11480 * javax/crypto/Cipher.java,
11481 javax/crypto/EncryptedPrivateKeyInfo.java,
11482 javax/crypto/ExemptionMechanism.java,
11483 javax/crypto/KeyAgreement.java,
11484 javax/crypto/KeyGenerator.java,
11485 javax/crypto/Mac.java,
11486 javax/crypto/SecretKeyFactory.java,
11487 javax/crypto/SecretKeyFactorySpi.java,
11488 javax/crypto/spec/SecretKeySpec.java:
11491 2004-10-21 Michael Koch <konqueror@gmx.de>
11493 * java/security/AlgorithmParameterGenerator.java,
11494 java/security/AlgorithmParameters.java,
11495 java/security/AlgorithmParametersSpi.java,
11496 java/security/AllPermission.java,
11497 java/security/BasicPermission.java,
11498 java/security/Certificate.java,
11499 java/security/CodeSource.java,
11500 java/security/DigestInputStream.java,
11501 java/security/DigestOutputStream.java,
11502 java/security/GuardedObject.java,
11503 java/security/KeyFactory.java,
11504 java/security/KeyFactorySpi.java,
11505 java/security/KeyPairGenerator.java,
11506 java/security/KeyStore.java,
11507 java/security/KeyStoreSpi.java,
11508 java/security/Permissions.java,
11509 java/security/Security.java,
11510 java/security/Signature.java,
11511 java/security/UnresolvedPermission.java,
11512 java/security/cert/CertPathBuilder.java,
11513 java/security/cert/CertPathValidator.java,
11514 java/security/cert/CertStore.java,
11515 java/security/cert/Certificate.java,
11516 java/security/cert/CertificateFactory.java,
11517 java/security/cert/PolicyQualifierInfo.java,
11518 java/security/cert/TrustAnchor.java,
11519 java/security/cert/X509CRL.java,
11520 java/security/cert/X509CRLSelector.java,
11521 java/security/cert/X509CertSelector.java:
11524 2004-10-21 Michael Koch <konqueror@gmx.de>
11526 * java/rmi/MarshalledObject.java,
11527 java/rmi/Naming.java,
11528 java/rmi/activation/Activatable.java,
11529 java/rmi/activation/ActivationGroup.java,
11530 java/rmi/activation/ActivationGroupDesc.java,
11531 java/rmi/activation/ActivationInstantiator.java,
11532 java/rmi/activation/ActivationMonitor.java,
11533 java/rmi/activation/ActivationSystem.java,
11534 java/rmi/activation/Activator.java,
11535 java/rmi/registry/LocateRegistry.java,
11536 java/rmi/registry/Registry.java,
11537 java/rmi/server/LogStream.java,
11538 java/rmi/server/ObjID.java,
11539 java/rmi/server/RMIClientSocketFactory.java,
11540 java/rmi/server/RMIServerSocketFactory.java,
11541 java/rmi/server/RMISocketFactory.java,
11542 java/rmi/server/RemoteCall.java,
11543 java/rmi/server/RemoteServer.java,
11544 java/rmi/server/ServerRef.java,
11545 java/rmi/server/UID.java,
11546 java/rmi/server/UnicastRemoteObject.java:
11549 2004-10-21 Tom Tromey <tromey@redhat.com>
11551 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
11552 exception if we hit EOF of `in'.
11553 (read): Handle case where inflating returns -1.
11555 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
11557 * gnu/java/nio/channels/natFileChannelPosix.cc
11558 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
11559 argument instead of 'long *'.
11561 2004-10-21 Tom Tromey <tromey@redhat.com>
11563 * java/util/ResourceBundle.java (tryBundle): Also ignore
11564 ClassCastException.
11566 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
11568 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
11569 for all sh*-*-linux* targets.
11570 * configure: Regenerate.
11571 * include/sh-signal.h: New file.
11573 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
11575 * java/lang/ieeefp.h: Add m32r support.
11577 2004-10-20 Andreas Schwab <schwab@suse.de>
11579 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
11581 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
11584 2004-10-20 Michael Koch <konqueror@gmx.de>
11586 * javax/print/attribute/standard/ColorSupported.java,
11587 javax/print/attribute/standard/Compression.java,
11588 javax/print/attribute/standard/Copies.java,
11589 javax/print/attribute/standard/CopiesSupported.java,
11590 javax/print/attribute/standard/DateTimeAtCompleted.java,
11591 javax/print/attribute/standard/DateTimeAtCreation.java,
11592 javax/print/attribute/standard/DateTimeAtProcessing.java,
11593 javax/print/attribute/standard/DocumentName.java,
11594 javax/print/attribute/standard/Fidelity.java,
11595 javax/print/attribute/standard/Finishings.java,
11596 javax/print/attribute/standard/JobHoldUntil.java,
11597 javax/print/attribute/standard/JobImpressions.java,
11598 javax/print/attribute/standard/JobImpressionsCompleted.java,
11599 javax/print/attribute/standard/JobImpressionsSupported.java,
11600 javax/print/attribute/standard/JobKOctets.java,
11601 javax/print/attribute/standard/JobKOctetsProcessed.java,
11602 javax/print/attribute/standard/JobKOctetsSupported.java,
11603 javax/print/attribute/standard/JobMediaSheets.java,
11604 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11605 javax/print/attribute/standard/JobMediaSheetsSupported.java,
11606 javax/print/attribute/standard/JobMessageFromOperator.java,
11607 javax/print/attribute/standard/JobName.java,
11608 javax/print/attribute/standard/JobOriginatingUserName.java,
11609 javax/print/attribute/standard/JobPriority.java,
11610 javax/print/attribute/standard/JobPrioritySupported.java,
11611 javax/print/attribute/standard/JobSheets.java,
11612 javax/print/attribute/standard/JobState.java,
11613 javax/print/attribute/standard/JobStateReason.java,
11614 javax/print/attribute/standard/JobStateReasons.java,
11615 javax/print/attribute/standard/Media.java,
11616 javax/print/attribute/standard/MultipleDocumentHandling.java,
11617 javax/print/attribute/standard/NumberOfDocuments.java,
11618 javax/print/attribute/standard/NumberOfInterveningJobs.java,
11619 javax/print/attribute/standard/NumberUp.java,
11620 javax/print/attribute/standard/NumberUpSupported.java,
11621 javax/print/attribute/standard/OrientationRequested.java,
11622 javax/print/attribute/standard/OutputDeviceAssigned.java,
11623 javax/print/attribute/standard/PDLOverrideSupported.java,
11624 javax/print/attribute/standard/PageRanges.java,
11625 javax/print/attribute/standard/PagesPerMinute.java,
11626 javax/print/attribute/standard/PagesPerMinuteColor.java,
11627 javax/print/attribute/standard/PrintQuality.java,
11628 javax/print/attribute/standard/PrinterInfo.java,
11629 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
11630 javax/print/attribute/standard/PrinterLocation.java,
11631 javax/print/attribute/standard/PrinterMakeAndModel.java,
11632 javax/print/attribute/standard/PrinterMessageFromOperator.java,
11633 javax/print/attribute/standard/PrinterMoreInfo.java,
11634 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
11635 javax/print/attribute/standard/PrinterName.java,
11636 javax/print/attribute/standard/PrinterStateReason.java,
11637 javax/print/attribute/standard/PrinterStateReasons.java,
11638 javax/print/attribute/standard/PrinterURI.java,
11639 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
11640 javax/print/attribute/standard/RequestingUserName.java:
11641 Reorganized imports and removed redundant final modifiers.
11643 2004-10-20 Michael Koch <konqueror@gmx.de>
11645 * javax/security/sasl/SaslClient.java,
11646 javax/security/sasl/SaslClientFactory.java,
11647 javax/security/sasl/SaslException.java,
11648 javax/security/sasl/SaslServer.java,
11649 javax/security/sasl/SaslServerFactory.java:
11652 2004-10-20 Michael Koch <konqueror@gmx.de>
11654 * javax/security/auth/login/NullConfiguration.java,
11655 javax/security/auth/x500/X500Principal.java,
11656 javax/security/cert/X509Certificate.java,
11657 javax/security/sasl/AuthenticationException.java,
11658 javax/security/sasl/AuthorizeCallback.java,
11659 javax/security/sasl/RealmCallback.java,
11660 javax/security/sasl/RealmChoiceCallback.java,
11661 javax/security/sasl/Sasl.java,
11662 javax/security/sasl/SaslClient.java,
11663 javax/security/sasl/SaslClientFactory.java,
11664 javax/security/sasl/SaslException.java,
11665 javax/security/sasl/SaslServer.java,
11666 javax/security/sasl/SaslServerFactory.java:
11667 Cleaned up import statements and copyright notices.
11669 2004-10-20 Michael Koch <konqueror@gmx.de>
11671 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
11673 2004-10-20 Michael Koch <konqueror@gmx.de>
11675 * java/sql/Timestamp.java,
11676 java/text/AttributedCharacterIterator.java,
11677 java/text/AttributedString.java,
11678 java/util/zip/CheckedOutputStream.java,
11679 java/util/zip/DeflaterOutputStream.java,
11680 java/util/zip/ZipFile.java,
11681 javax/crypto/Cipher.java,
11682 javax/crypto/ExemptionMechanismException.java,
11683 javax/crypto/SecretKey.java,
11684 javax/crypto/SecretKeyFactory.java,
11685 javax/naming/directory/ModificationItem.java,
11686 javax/naming/directory/SearchControls.java,
11687 javax/naming/event/NamingListener.java,
11688 javax/naming/ldap/Control.java,
11689 javax/naming/ldap/ExtendedResponse.java,
11690 javax/net/ssl/SSLSocketFactory.java:
11691 Reorganized imports and fixed copyright headers.
11693 2004-10-20 Michael Koch <konqueror@gmx.de>
11695 * java/util/logging/ConsoleHandler.java,
11696 java/util/logging/ErrorManager.java,
11697 java/util/logging/FileHandler.java,
11698 java/util/logging/Filter.java,
11699 java/util/logging/Formatter.java,
11700 java/util/logging/Handler.java,
11701 java/util/logging/Level.java,
11702 java/util/logging/LogManager.java,
11703 java/util/logging/LogRecord.java,
11704 java/util/logging/Logger.java,
11705 java/util/logging/LoggingPermission.java,
11706 java/util/logging/MemoryHandler.java,
11707 java/util/logging/SimpleFormatter.java,
11708 java/util/logging/SocketHandler.java,
11709 java/util/logging/StreamHandler.java,
11710 java/util/logging/XMLFormatter.java:
11711 Standardized copyrigth header.
11713 2004-10-20 Michael Koch <konqueror@gmx.de>
11715 * java/security/AlgorithmParameterGenerator.java,
11716 java/security/AlgorithmParameters.java,
11717 java/security/DigestInputStream.java,
11718 java/security/Identity.java,
11719 java/security/KeyFactory.java,
11720 java/security/KeyPairGenerator.java,
11721 java/security/KeyStore.java,
11722 java/security/MessageDigest.java,
11723 java/security/MessageDigestSpi.java,
11724 java/security/Policy.java,
11725 java/security/SecureRandom.java,
11726 java/security/Security.java,
11727 java/security/Signature.java,
11728 java/security/SignatureSpi.java,
11729 java/security/cert/CertPathBuilder.java,
11730 java/security/cert/CertPathValidator.java,
11731 java/security/cert/CertStore.java,
11732 java/security/cert/Certificate.java,
11733 java/security/cert/CertificateFactory.java,
11734 java/security/cert/PolicyQualifierInfo.java,
11735 java/security/cert/TrustAnchor.java,
11736 java/security/cert/X509CRL.java,
11737 java/security/cert/X509CRLEntry.java,
11738 java/security/cert/X509Certificate.java,
11739 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
11740 Import statements reorganized, some little formatting issues,
11741 used java-style array declarations, added comments in empty catch
11744 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
11746 * java/security/Security.java
11747 (static): Use AccessController.doPrivileged to get system property.
11749 2004-10-18 Sven de Marothy <sven@physto.se>
11751 * java/nio/ByteBufferHelper.java
11752 (putDouble): Use Double.toRawLongBits instead.
11754 2004-10-18 Mark Wielaard <mark@klomp.org>
11755 Andrew Haley <aph@redhat.com>
11757 * testsuite/libjava.lang/ExtraClassLoader.java: New.
11759 2004-10-18 Andrew Haley <aph@redhat.com>
11762 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
11763 and correct logic used to find interpreter.
11765 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
11767 * java/util/logging/LogManager.java
11768 (findAncestor): Fixed IndexOutOfBoundsException.
11770 2004-10-18 Michael Koch <konqueror@gmx.de>
11772 * java/io/BufferedInputStream.java: Fixed @author tag.
11773 (read): Simplified expression.
11774 (read): Merged javadoc a bit more.
11775 (read): Renamed 'remain' to 'totalBytesRead'.
11776 * java/io/DataInputStream.java,
11777 java/io/DataOutputStream.java,
11778 java/io/ObjectInputStream.java,
11779 java/io/ObjectOutputStream.java:
11780 Reworked modifier order.
11782 2004-10-18 Michael Koch <konqueror@gmx.de>
11784 * java/net/Inet4Address.java: Merged file header and javadocs.
11785 * java/net/Inet6Address.java: Likewise.
11786 * java/net/InetAddress.java
11787 (getCanonicalHostName): Create Inet4Address object instead of
11788 InetAddress and add comment regarding IPv6.
11789 (toString): Simplified.
11791 2004-10-18 Michael Koch <konqueror@gmx.de>
11793 * gnu/java/net/protocol/http/Connection.java,
11794 java/nio/MappedByteBufferImpl.java,
11795 java/text/RuleBasedCollator.java,
11796 java/util/ResourceBundle.java:
11797 Reworked import statements.
11799 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
11801 * java/security/IdentityScope.java
11802 (systemScope): Removed useless initializer.
11803 * java/security/Policy.java
11804 (currentPolicy): Likewise.
11806 2004-10-18 Michael Koch <konqueror@gmx.de>
11808 * java/lang/System.java: Revert accidential change.
11810 2004-10-18 Michael Koch <konqueror@gmx.de>
11812 * java/lang/Math.java,
11813 java/lang/Package.java,
11814 java/lang/Runtime.java,
11815 java/lang/StrictMath.java,
11816 java/lang/System.java,
11817 java/lang/Thread.java,
11818 java/lang/ThreadLocal.java,
11819 java/lang/Void.java:
11820 Reworked import statements, HTML in javadocs and modifier orders.
11822 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
11824 * java/util/Timer.java
11825 (nr): Removed useless initializer.
11826 * java/util/logging/LogRecord.java
11827 (lastSeqNum): Likewise.
11828 * javax/naming/spi/NamingManager.java
11829 (icfb, ofb): Likewise.
11831 2004-10-18 Michael Koch <konqueror@gmx.de>
11833 * gnu/java/net/PlainDatagramSocketImpl.java:
11834 Reworked import statements.
11835 * gnu/java/security/provider/DSAParameters.java:
11836 Fixed copyrigth years.
11837 * java/net/JarURLConnection.java:
11838 Fixed HTML in @author tags.
11841 2004-10-18 Michael Koch <konqueror@gmx.de>
11843 * java/rmi/activation/ActivationSystem.java
11844 (SYSTEM_PORT): Initialize with correct port number.
11846 2004-10-18 Michael Koch <konqueror@gmx.de>
11848 * java/lang/reflect/Proxy.java: Improved javadocs.
11850 2004-10-18 Michael Koch <konqueror@gmx.de>
11852 * java/lang/reflect/AccessibleObject.java
11853 (checkPermission): Removed redundant final modifier.
11854 (secureSetAccessible): Likewise.
11855 * java/lang/reflect/Proxy.java:
11856 Reworked import statements.
11857 (generate): Removed redundant final modifier.
11858 * java/lang/reflect/ReflectPermission.java:
11859 Reorder package declaration and import statement.
11861 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
11863 * java/lang/reflect/Proxy.java
11864 (count): Removed useless initializer.
11866 2004-10-17 Michael Koch <konqueror@gmx.de>
11868 * java/net/BindException.java,
11869 java/net/ConnectException.java,
11870 java/net/ContentHandler.java,
11871 java/net/ContentHandlerFactory.java,
11872 java/net/DatagramPacket.java,
11873 java/net/DatagramSocket.java,
11874 java/net/DatagramSocketImpl.java,
11875 java/net/DatagramSocketImplFactory.java,
11876 java/net/FileNameMap.java,
11877 java/net/HttpURLConnection.java,
11878 java/net/MalformedURLException.java,
11879 java/net/MulticastSocket.java,
11880 java/net/NetworkInterface.java,
11881 java/net/NoRouteToHostException.java,
11882 java/net/PasswordAuthentication.java,
11883 java/net/PortUnreachableException.java,
11884 java/net/ProtocolException.java,
11885 java/net/ServerSocket.java,
11886 java/net/Socket.java,
11887 java/net/SocketException.java,
11888 java/net/SocketImpl.java,
11889 java/net/SocketImplFactory.java,
11890 java/net/SocketOptions.java,
11891 java/net/SocketPermission.java,
11892 java/net/SocketTimeoutException.java,
11894 java/net/URISyntaxException.java,
11896 java/net/URLDecoder.java,
11897 java/net/URLEncoder.java,
11898 java/net/URLStreamHandler.java,
11899 java/net/URLStreamHandlerFactory.java,
11900 java/net/UnknownHostException.java,
11901 java/net/UnknownServiceException.java:
11902 Big import statement and @author tag cleanup.
11904 2004-10-17 Michael Koch <konqueror@gmx.de>
11906 * gnu/java/security/OID.java,
11907 gnu/java/security/provider/DSAParameters.java,
11908 gnu/java/security/provider/DSASignature.java,
11909 gnu/java/security/x509/X500DistinguishedName.java,
11910 gnu/java/security/x509/X509CRL.java:
11911 Import statements cleaned up.
11913 2004-10-16 Michael Koch <konqueror@gmx.de>
11915 * gnu/java/nio/NIODatagramSocket.java,
11916 gnu/java/nio/ServerSocketChannelImpl.java:
11917 Reorganized import statements.
11919 2004-10-16 Michael Koch <konqueror@gmx.de>
11921 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
11922 gnu/java/rmi/rmic/RMIC.java,
11923 gnu/java/rmi/server/RMIHashes.java,
11924 gnu/java/rmi/server/RMIObjectInputStream.java,
11925 gnu/java/rmi/server/RMIObjectOutputStream.java,
11926 gnu/java/rmi/server/UnicastConnection.java,
11927 gnu/java/rmi/server/UnicastConnectionManager.java,
11928 gnu/java/rmi/server/UnicastRemoteCall.java,
11929 gnu/java/rmi/server/UnicastServer.java,
11930 gnu/java/rmi/server/UnicastServerRef.java,
11931 java/rmi/MarshalledObject.java,
11932 java/rmi/Naming.java,
11933 java/rmi/RMISecurityManager.java,
11934 java/rmi/Remote.java,
11935 java/rmi/activation/Activatable.java,
11936 java/rmi/activation/ActivationDesc.java,
11937 java/rmi/activation/ActivationGroup.java,
11938 java/rmi/activation/ActivationGroupDesc.java,
11939 java/rmi/activation/ActivationGroupID.java,
11940 java/rmi/activation/ActivationID.java,
11941 java/rmi/activation/ActivationInstantiator.java,
11942 java/rmi/activation/ActivationMonitor.java,
11943 java/rmi/activation/ActivationSystem.java,
11944 java/rmi/activation/Activator.java,
11945 java/rmi/dgc/DGC.java,
11946 java/rmi/dgc/Lease.java,
11947 java/rmi/dgc/VMID.java,
11948 java/rmi/registry/LocateRegistry.java,
11949 java/rmi/registry/Registry.java,
11950 java/rmi/registry/RegistryHandler.java,
11951 java/rmi/server/LoaderHandler.java,
11952 java/rmi/server/LogStream.java,
11953 java/rmi/server/ObjID.java,
11954 java/rmi/server/Operation.java,
11955 java/rmi/server/RMIClassLoader.java,
11956 java/rmi/server/RMIClassLoaderSpi.java,
11957 java/rmi/server/RMIClientSocketFactory.java,
11958 java/rmi/server/RMIFailureHandler.java,
11959 java/rmi/server/RMIServerSocketFactory.java,
11960 java/rmi/server/RMISocketFactory.java,
11961 java/rmi/server/RemoteCall.java,
11962 java/rmi/server/RemoteObject.java,
11963 java/rmi/server/RemoteRef.java,
11964 java/rmi/server/RemoteServer.java,
11965 java/rmi/server/RemoteStub.java,
11966 java/rmi/server/ServerRef.java,
11967 java/rmi/server/Skeleton.java,
11968 java/rmi/server/SkeletonMismatchException.java,
11969 java/rmi/server/UID.java,
11970 java/rmi/server/UnicastRemoteObject.java,
11971 java/rmi/server/Unreferenced.java:
11972 File headers and import statements cleaned up.
11974 2004-10-16 Michael Koch <konqueror@gmx.de>
11976 * libjava/gnu/java/nio/charset/UTF_16.java,
11977 libjava/gnu/java/nio/charset/UTF_16BE.java,
11978 libjava/gnu/java/nio/charset/UTF_16LE.java,
11979 libjava/java/nio/ByteOrder.java,
11980 libjava/java/nio/MappedByteBuffer.java,
11981 libjava/java/nio/channels/Channels.java,
11982 libjava/java/nio/channels/spi/SelectorProvider.java,
11983 libjava/java/nio/charset/Charset.java:
11986 2004-10-16 Michael Koch <konqueror@gmx.de>
11988 * gnu/java/nio/charset/UTF_16Encoder.java
11989 (UTF_16Encoder): Fixed maxBytesPerChar handling.
11991 2004-10-16 Michael Koch <konqueror@gmx.de>
11993 * java/math/BigDecimal.java, java/math/BigInteger.java:
11994 Reorganized import statements, removed redundant and
11995 reorganized modifiers.
11997 2004-10-16 Michael Koch <konqueror@gmx.de>
11999 * gnu/java/beans/ExplicitBeanInfo.java:
12000 Explicitely import java.awt.Image.
12001 (getIcon): Fixed off-by-one error.
12003 2004-10-15 Andrew Haley <aph@redhat.com>
12005 * Makefile.am (nat_files, xlib_nat_files): New.
12006 * Makefile.in: Regenerate.
12008 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
12010 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
12011 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
12013 2004-10-13 Andrew Haley <aph@redhat.com>
12015 * interpret.cc (_Jv_InterpMethod::run): Initialize
12016 _Jv_StartOfInterpreter.
12017 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
12018 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
12019 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
12020 _Unwind_FindEnclosingFunction to discover whether PC is within the
12023 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
12026 * testsuite/libjava.lang/md5test.java: New file.
12027 * testsuite/libjava.lang/md5test.out: Likewise.
12028 * testsuite/libjava.lang/shatest.java: Likewise.
12029 * testsuite/libjava.lang/shatest.out: Likewise.
12031 2004-10-11 Richard Henderson <rth@redhat.com>
12033 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
12034 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
12036 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
12038 * java/util/Calendar.java (set): Invalidate DST_OFFSET
12039 field as a DST boundary may have been crossed.
12040 * java/util/GregorianCalendar.java (add): Throw
12041 IllegalArgumentException on attempt to add to DST_OFFSET or
12042 ZONE_OFFSET fields. Update javadoc.
12044 2004-10-09 Michael Koch <konqueror@gmx.de>
12046 * java/io/CharArrayWriter.java
12047 (resize): Removed redundant 'final' modifier.
12048 * java/io/DataInputStream.java
12049 (readFully): Throw IndexOutOfBoundsException of len < 0.
12050 * java/io/FileDescriptor.java,
12051 java/io/FileInputStream.java,
12052 java/io/FileOutputStream.java,
12053 java/io/ObjectOutputStream.java,
12054 java/io/ObjectStreamClass.java,
12055 java/io/PipedInputStream.java,
12056 java/io/RandomAccessFile.java:
12057 Reorganized import statements.
12059 2004-10-09 Michael Koch <konqueror@gmx.de>
12061 * gnu/java/rmi/rmic/RMIC.java,
12062 gnu/java/rmi/server/RMIHashes.java,
12063 gnu/java/rmi/server/RMIObjectInputStream.java,
12064 gnu/java/rmi/server/UnicastConnection.java,
12065 gnu/java/rmi/server/UnicastConnectionManager.java,
12066 gnu/java/rmi/server/UnicastRemoteCall.java,
12067 gnu/java/rmi/server/UnicastServerRef.java:
12068 Reworked import statements and fixed file headers.
12070 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
12072 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
12074 * configure: Rebuilt.
12076 2004-09-30 Tom Tromey <tromey@redhat.com>
12078 * java/text/MessageFormat.java (Field): Constructor now
12081 2004-09-30 Tom Tromey <tromey@redhat.com>
12083 * javax/crypto/MacSpi.java: Fixed typo.
12085 2004-09-30 Michael Koch <konqueror@gmx.de>
12087 * java/net/InetAddress.java: Reformatted.
12088 (loopback): Initialize with Inet4Address object.
12089 (static): Initialize ANY_IF with Inet4Address object.
12090 (InetAddress): Removed unused package-private constructor.
12092 2004-09-30 Michael Koch <konqueror@gmx.de>
12094 * java/beans/Beans.java,
12095 java/beans/EventHandler.java,
12096 java/beans/EventSetDescriptor.java,
12097 java/beans/Introspector.java,
12098 java/beans/PropertyEditorManager.java,
12099 java/beans/beancontext/BeanContext.java,
12100 java/beans/beancontext/BeanContextChild.java,
12101 java/beans/beancontext/BeanContextChildSupport.java,
12102 java/beans/beancontext/BeanContextMembershipEvent.java:
12103 Reordered import statements and removed redundant modifiers.
12105 2004-09-29 Tom Tromey <tromey@redhat.com>
12108 * Makefile.in: Rebuilt.
12109 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
12111 (all_property_files): New macro.
12113 * Makefile.in: Rebuilt.
12114 * Makefile.am (ordinary_java_source_files): Re-sorted.
12115 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
12117 2004-09-28 Tom Tromey <tromey@redhat.com>
12119 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
12122 * Makefile.am (libgcj.la): Restored.
12123 * Makefile.in: Rebuilt.
12125 2004-09-28 Michael Koch <konqueror@gmx.de>
12127 * java/net/URLConnection.java: Reformatted.
12128 * java/net/URLClassLoader.java: Reformatted.
12129 (getContent): Reordered return of content.
12130 (getContentHandler): Don't check for null explicitely.
12132 2004-09-27 Michael Koch <konqueror@gmx.de>
12134 * java/io/BufferedInputStream.java
12135 (BufferedInputStream): Added Jeroen Frijters to authors.
12136 (count): Don't explicitely initialize with default value.
12138 (marklimit): Likewise.
12139 (read): Changed boolean expression to match GNU classpath' version.
12140 (reset): Add proper message to exception.
12141 (skip): Check for closed stream.
12142 (refill): Likewise.
12144 2004-09-26 Per Bothner <per@bothner.com>
12146 * prims.cc (unblock_signal): Annotate signum with __unused__ to
12147 avoid warnings in the non-POSIX_VERSION case.
12148 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
12149 so place it inside an #if block.
12150 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
12151 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
12152 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
12153 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
12155 2004-09-26 Per Bothner <per@bothner.com>
12157 * prims.cc (process_gcj_properties): Optimization.
12159 2004-09-26 Per Bothner <per@bothner.com>
12161 * java/util/Collections.java (sort): Copy from array in forwards
12162 order, rather than reverse order which may be much less efficient.
12164 2004-09-26 Mark Wielaard <mark@klomp.org>
12166 * java/lang/System.java (properties): Make package private.
12167 * java/lang/Throwable.java (StaticData.nl): Initialize through
12168 directly accessing System.properties.getProperty().
12170 * java/lang/Throwable.java (nl): Remove static field.
12171 (StaticData): New private static inner class.
12172 (stackTraceStringBuffer): Use StaticData.nl.
12174 2004-09-26 Casey Marshall <csm@gnu.org>
12176 * java/security/ProtectionDomain.java
12177 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
12180 * java/security/SecureClassLoader.java
12181 (defineClass): make protection domain dynamically bound.
12182 (getPermissions): call `getCurrentPolicy' to avoid permission
12185 2004-09-25 Mark Wielaard <mark@klomp.org>
12187 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
12188 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
12189 * Makefile.in: Regenerated.
12191 * gcj/javaprims.h: Regenerated.
12193 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
12194 (getDefaultTimeZone): Make package private. Check that GMToffset
12195 contains at least one digit.
12196 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
12198 * util/VMTimeZone.java: New file with above methods.
12200 * java/util/natTimeZone.cc: Removed (renamed).
12201 * java/util/natVMTimeZone.cc: Added (renamed).
12203 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
12205 * java/util/TimeZone.java
12206 (getDefaultTimeZone): Fixed test to distinguish between hours and
12207 minutes in specified timezone.
12209 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
12211 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
12212 handling of default package. (generate): Removed confused comments
12213 and code about making Method and Field accessible.
12215 2004-09-25 Tom Tromey <tromey@redhat.com>
12218 * testsuite/libjava.compile/pr17500.java: New file.
12220 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
12221 Mark Wielaard <mark@klomp.org>
12223 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
12224 * gnu/regexp/RETokenLookAhead.java: New file.
12226 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
12227 * Makefile.in: Regenerated.
12229 2004-09-25 Michael Koch <konqueror@gmx.de>
12231 * java/io/ObjectStreamField.java:
12232 Removed unused import statement.
12234 2004-09-24 Tom Tromey <tromey@redhat.com>
12237 * testsuite/libjava.compile/pr15656.xfail: New file.
12238 * testsuite/libjava.compile/pr15656.java: new file.
12241 * testsuite/libjava.lang/pr16789.out: New file.
12242 * testsuite/libjava.lang/pr16789.java: New file.
12244 2004-09-24 Andrew Haley <aph@redhat.com>
12247 * testsuite/libjava.compile/AssertBug.java: New file.
12249 2004-09-24 Casey Marshall <csm@gnu.org>
12251 * java/util/PropertyPermissionCollection.java
12252 (implies): avoid infinite loop.
12254 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
12256 * javax/security/auth/PrivateCredentialPermission.java
12257 (PrivateCredentialPermission): added serialization UID
12260 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
12262 * gnu/java/rmi/server/UnicastServer.java
12263 (incomingMessageCall): Added code to handle Errors.
12264 * gnu/java/rmi/server/UnicastServerRef.java
12265 (incomingMessageCall): Added code to handle Errors.
12268 2004-09-24 Tom Tromey <tromey@redhat.com>
12270 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
12271 (definedPackages): Likewise.
12273 2004-09-24 Michael Koch <konqueror@gmx.de>
12275 * java/io/ObjectInputStream.java:
12276 Re-ordered imports.
12278 2004-09-24 Casey Marshall <csm@gnu.org>
12280 * java/io/ObjectInputStream.java (callReadMethod): re-throw
12281 `ClassNotFoundException'.
12283 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
12285 * java/io/ObjectInputStream.java (readObject): Delegate instantation
12286 of Externalizable classes to ObjectStreamClass.
12287 * java/io/ObjectStreamClass.java (newInstance): New method to
12288 instantiate Externalizable (while ignoring the accessibility of
12289 the constructor). (constructor): New field to cache the constructor.
12291 2004-09-24 Mark Wielaard <mark@klomp.org>
12293 * java/net/URL.java (systemClassLoader): New static field.
12294 (getURLStreamHandler): Always use system/application classloader
12295 for finding URLStreamhandler. Remove unecessary instanceof checks.
12297 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
12299 * java/net/URL.java
12300 (set): This method now matches the behaviour of the JDK.
12301 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
12303 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
12305 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
12307 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
12309 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
12310 Don't set authority if host isn't specified.
12312 2004-09-24 Michael Koch <konqueror@gmx.de>
12314 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
12315 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
12316 * gnu/java/nio/VMPipe.java,
12317 gnu/java/nio/VMSelector.java:
12319 * gnu/java/nio/natPipeImplEcos.cc,
12320 gnu/java/nio/natPipeImplPosix.cc,
12321 gnu/java/nio/natPipeImplWin32.cc:
12323 * gnu/java/nio/natSelectorImplEcos.cc,
12324 gnu/java/nio/natSelectorImplPosix.cc,
12325 gnu/java/nio/natSelectorImplWin32.cc:
12326 Ported to VMSelector.
12327 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
12328 gnu/java/nio/VMSelector.java.
12329 * Makefile.in: Regenerated.
12331 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
12333 * java/lang/StackTraceElement.java
12334 (className): Renamed field to declaringClass to be compatible
12335 with Sun serialization format.
12337 2004-09-23 Michael Koch <konqueror@gmx.de>
12339 * java/applet/AppletContext.java,
12340 java/applet/Applet.java,
12341 java/applet/AppletStub.java,
12342 java/applet/AudioClip.java:
12343 Jalopied and checkstyle clean.
12345 * javax/swing/JCheckBox.java: Reformated.
12346 (JCheckBox): Fixed all constructors.
12347 (isBorderPaintedFlat): New method.
12348 (setBorderPaintedFlat): New method.
12349 * javax/swing/JEditorPane.java
12350 (createEditorKitForContentType): Made public.
12351 (scrollToReference): Likewise.
12352 * javax/swing/JTextArea.java
12353 (setLineWrap): Fire property change.
12354 * javax/swing/JToggleButton.java
12355 (JToggleButton): New constructor.
12356 (JToggleButton): Simplified.
12357 * javax/swing/text/AttributeSet.java
12358 (FontAttribute): Renamed from FontCharacterAttribute.
12359 * javax/swing/text/JTextComponent.java
12360 (KeyBinBinding): Added javadoc.
12361 (JTextComponent): Likewise.
12362 (getAccessibleContext): Fixed javadoc.
12363 * javax/swing/text/View.java
12364 (View): Added javadoc.
12365 * javax/swing/text/TabableView.java: New file.
12366 * Makefile.am: Added javax/swing/text/TabableView.java.
12367 * Makefile.in: Regenerated.
12368 2004-09-23 Mark Wielaard <mark@klomp.org>
12370 * java/util/Collections.java
12371 (binarySearch(List, Object, Comparator)): Explicitly
12372 reverse direction in list iterator.
12373 (rotate): Just return when list is empty.
12375 2004-09-23 Tom Tromey <tromey@redhat.com>
12378 * testsuite/libjava.compile/pr17329.java: New file.
12381 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
12384 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
12386 * Makefile.am: Run aclocal with -I ../config
12387 * acinclude.m4: Delete macros picked up from ../config and tidy.
12388 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
12389 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
12390 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
12392 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
12394 * aclocal.m4: Regenerate with aclocal 1.9.2.
12395 * configure: Regenerate.
12396 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
12397 * include/Makefile.in, testsuite/Makefile.in: Likewise.
12399 2004-09-22 David Daney <ddaney@avtrex.com>
12402 * java/net/URL.java (URL): Copy userInfo from context.
12403 (getUserInfo): Return cached userInfo if present.
12405 2004-09-22 Tom Tromey <tromey@redhat.com>
12408 * mauve-libgcj: Enable java.lang.Character tests.
12410 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
12412 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
12414 (lib_org_ietf_jgss_la_LIBADD): Likewise.
12415 * Makefile.in: Regenerated.
12417 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
12419 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
12420 * configure: Regenerate.
12421 * include/config.h.in: Likewise.
12422 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
12423 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
12424 macro to gtkpeer.h.
12425 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
12426 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
12427 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
12429 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
12432 2004-09-22 Tom Tromey <tromey@redhat.com>
12435 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
12436 when comparing CRCs.
12437 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
12439 (read()): New overload.
12441 2004-09-21 Tom Tromey <tromey@redhat.com>
12443 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
12446 2004-09-21 Michael Koch <konqueror@gmx.de>
12448 * java/net/Socket.java
12449 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
12451 2004-09-21 Casey Marshall <csm@gnu.org>
12453 * javax/crypto/MacSpi.java (clone): Provide meaningful
12456 2004-09-21 Tom Tromey <tromey@redhat.com>
12459 * Makefile.in: Rebuilt.
12460 * Makefile.am (MOSTLYCLEANFILES): Removed.
12461 (mostlyclean-local): Remove header files.
12463 2004-09-21 Casey Marshall <csm@gnu.org>
12465 * java/security/cert/X509CRLSelector.java:
12466 (match): remove unreachable try-catch clauses.
12467 Reported by: Dalibor Topic <robilad@kaffe.org>
12469 2004-09-21 Mark Wielaard <mark@klomp.org>
12471 * java/util/TreeMap.java (root): Don't initialize.
12472 (TreeMap(Comparator)): Call fabricateTree(0).
12473 (fabricateTree): Initialize root and size when count is 0.
12475 2004-09-21 Sven de Marothy <sven@physto.se>
12477 * java/nio/ByteBuffer.java (hashCode): Implemented.
12478 * java/nio/CharBuffer.java: Likewise.
12479 * java/nio/DoubleBuffer.java: Likewise.
12480 * java/nio/FloatBuffer.java: Likewise.
12481 * java/nio/LongBuffer.java: Likewise.
12482 * java/nio/IntBuffer.java: Likewise.
12483 * java/nio/ShortBuffer.java: Likewise.
12485 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
12487 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
12489 2004-09-21 Michael Koch <konqueror@gmx.de>
12491 * javax/net/ssl/SSLServerSocket.java:
12492 Removed comment about "Do not edit this file, it's generated.".
12494 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
12496 Import the big Crypto/Jessie/Security merge from Classpath.
12498 * Makefile.am: Add imported files.
12499 * Makefile.in: Regenerate.
12501 2004-08-14 Casey Marshall <csm@gnu.org>
12503 The Big Crypto Merge of 2004.
12505 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
12508 Files imported from GNU Crypto.
12509 * javax/crypto/BadPaddingException.java
12510 * javax/crypto/Cipher.java
12511 * javax/crypto/CipherInputStream.java
12512 * javax/crypto/CipherOutputStream.java
12513 * javax/crypto/CipherSpi.java
12514 * javax/crypto/EncryptedPrivateKeyInfo.java
12515 * javax/crypto/ExemptionMechanism.java
12516 * javax/crypto/ExemptionMechanismException.java
12517 * javax/crypto/ExemptionMechanismSpi.java
12518 * javax/crypto/IllegalBlockSizeException.java
12519 * javax/crypto/KeyAgreement.java
12520 * javax/crypto/KeyAgreementSpi.java
12521 * javax/crypto/KeyGenerator.java
12522 * javax/crypto/KeyGeneratorSpi.java
12523 * javax/crypto/Mac.java
12524 * javax/crypto/MacSpi.java
12525 * javax/crypto/Makefile.am
12526 * javax/crypto/NoSuchPaddingException.java
12527 * javax/crypto/NullCipher.java
12528 * javax/crypto/NullCipherImpl.java
12529 * javax/crypto/SealedObject.java
12530 * javax/crypto/SecretKey.java
12531 * javax/crypto/SecretKeyFactory.java
12532 * javax/crypto/SecretKeyFactorySpi.java
12533 * javax/crypto/ShortBufferException.java
12534 * javax/crypto/interfaces/DHKey.java
12535 * javax/crypto/interfaces/DHPrivateKey.java
12536 * javax/crypto/interfaces/DHPublicKey.java
12537 * javax/crypto/interfaces/PBEKey.java
12538 * javax/crypto/spec/DESKeySpec.java
12539 * javax/crypto/spec/DESedeKeySpec.java
12540 * javax/crypto/spec/DHGenParameterSpec.java
12541 * javax/crypto/spec/DHParameterSpec.java
12542 * javax/crypto/spec/DHPrivateKeySpec.java
12543 * javax/crypto/spec/DHPublicKeySpec.java
12544 * javax/crypto/spec/IvParameterSpec.java
12545 * javax/crypto/spec/PBEKeySpec.java
12546 * javax/crypto/spec/PBEParameterSpec.java
12547 * javax/crypto/spec/RC2ParameterSpec.java
12548 * javax/crypto/spec/RC5ParameterSpec.java
12549 * javax/crypto/spec/SecretKeySpec.java
12550 * javax/security/auth/AuthPermission.java
12551 * javax/security/auth/DestroyFailedException.java
12552 * javax/security/auth/Destroyable.java
12553 * javax/security/auth/Policy.java
12554 * javax/security/auth/PrivateCredentialPermission.java
12555 * javax/security/auth/RefreshFailedException.java
12556 * javax/security/auth/Refreshable.java
12557 * javax/security/auth/Subject.java
12558 * javax/security/auth/SubjectDomainCombiner.java
12559 * javax/security/auth/callback/Callback.java
12560 * javax/security/auth/callback/CallbackHandler.java
12561 * javax/security/auth/callback/ChoiceCallback.java
12562 * javax/security/auth/callback/ConfirmationCallback.java
12563 * javax/security/auth/callback/LanguageCallback.java
12564 * javax/security/auth/callback/NameCallback.java
12565 * javax/security/auth/callback/PasswordCallback.java
12566 * javax/security/auth/callback/TextInputCallback.java
12567 * javax/security/auth/callback/TextOutputCallback.java
12568 * javax/security/auth/callback/UnsupportedCallbackException.java
12569 * javax/security/auth/login/AccountExpiredException.java
12570 * javax/security/auth/login/AppConfigurationEntry.java
12571 * javax/security/auth/login/Configuration.java
12572 * javax/security/auth/login/CredentialExpiredException.java
12573 * javax/security/auth/login/FailedLoginException.java
12574 * javax/security/auth/login/LoginContext.java
12575 * javax/security/auth/login/LoginException.java
12576 * javax/security/auth/login/NullConfiguration.java
12577 * javax/security/auth/x500/X500PrivateCredential.java
12578 * javax/security/sasl/AuthenticationException.java
12579 * javax/security/sasl/AuthorizeCallback.java
12580 * javax/security/sasl/RealmCallback.java
12581 * javax/security/sasl/RealmChoiceCallback.java
12582 * javax/security/sasl/Sasl.java
12583 * javax/security/sasl/SaslClient.java
12584 * javax/security/sasl/SaslClientFactory.java
12585 * javax/security/sasl/SaslException.java
12586 * javax/security/sasl/SaslServer.java
12587 * javax/security/sasl/SaslServerFactory.java
12588 * org/ietf/jgss/ChannelBinding.java
12589 * org/ietf/jgss/GSSContext.java
12590 * org/ietf/jgss/GSSCredential.java
12591 * org/ietf/jgss/GSSException.java
12592 * org/ietf/jgss/GSSManager.java
12593 * org/ietf/jgss/GSSName.java
12594 * org/ietf/jgss/MessageProp.java
12595 * org/ietf/jgss/Oid.java
12596 * org/ietf/jgss/MessagesBundle.properties
12598 Files imported from Jessie <http://www.nongnu.org/jessie/>
12599 * javax/net/ServerSocketFactory.java
12600 * javax/net/SocketFactory.java
12601 * javax/net/VanillaServerSocketFactory.java
12602 * javax/net/VanillaSocketFactory.java
12603 * javax/net/ssl/HandshakeCompletedEvent.java
12604 * javax/net/ssl/HandshakeCompletedListener.java
12605 * javax/net/ssl/HostnameVerifier.java
12606 * javax/net/ssl/HttpsURLConnection.java
12607 * javax/net/ssl/KeyManager.java
12608 * javax/net/ssl/KeyManagerFactory.java
12609 * javax/net/ssl/KeyManagerFactorySpi.java
12610 * javax/net/ssl/ManagerFactoryParameters.java
12611 * javax/net/ssl/SSLContext.java
12612 * javax/net/ssl/SSLContextSpi.java
12613 * javax/net/ssl/SSLException.java
12614 * javax/net/ssl/SSLHandshakeException.java
12615 * javax/net/ssl/SSLKeyException.java
12616 * javax/net/ssl/SSLPeerUnverifiedException.java
12617 * javax/net/ssl/SSLPermission.java
12618 * javax/net/ssl/SSLProtocolException.java
12619 * javax/net/ssl/SSLServerSocket.java
12620 * javax/net/ssl/SSLServerSocketFactory.java
12621 * javax/net/ssl/SSLSession.java
12622 * javax/net/ssl/SSLSessionBindingEvent.java
12623 * javax/net/ssl/SSLSessionBindingListener.java
12624 * javax/net/ssl/SSLSessionContext.java
12625 * javax/net/ssl/SSLSocket.java
12626 * javax/net/ssl/SSLSocketFactory.java
12627 * javax/net/ssl/TrivialHostnameVerifier.java
12628 * javax/net/ssl/TrustManager.java
12629 * javax/net/ssl/TrustManagerFactory.java
12630 * javax/net/ssl/TrustManagerFactorySpi.java
12631 * javax/net/ssl/X509KeyManager.java
12632 * javax/net/ssl/X509TrustManager.java
12633 * javax/security/cert/Certificate.java
12634 * javax/security/cert/CertificateEncodingException.java
12635 * javax/security/cert/CertificateException.java
12636 * javax/security/cert/CertificateExpiredException.java
12637 * javax/security/cert/CertificateNotYetValidException.java
12638 * javax/security/cert/CertificateParsingException.java
12639 * javax/security/cert/X509CertBridge.java
12640 * javax/security/cert/X509Certificate.java
12642 2004-08-20 Casey Marshall <csm@gnu.org>
12644 * java/security/cert/X509CRLSelector.java: New file.
12645 * java/security/cert/X509CertSelector.java: New file.
12647 2004-09-15 Michael Koch <konqueror@gmx.de>
12649 * gnu/java/net/protocol/file/Handler.java
12650 (openConnection): Don't throw exception if host part for file: URI is
12651 present. setURL() keeps file: protocol if ftp: protocol is not
12654 2004-09-14 Richard Henderson <rth@redhat.com>
12656 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
12657 value of sigsuspend.
12659 2004-09-12 Tom Tromey <tromey@redhat.com>
12661 * javax/naming/CompoundName.java (CompoundName): Don't check for
12662 separator in "flat" case.
12664 2004-09-12 Michael Koch <konqueror@gmx.de>
12666 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
12667 AM_CONFIG_HEADER by AC_CONFIG_FILES.
12668 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
12671 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
12674 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
12675 handle in newly-allocated _Jv_Thread_t.
12676 (_Jv_ThreadDestroyData): Close thread handle.
12677 (_Jv_ThreadStart): Remove obsolete comment.
12678 Store handle of newly-created thread in _Jv_Thread_t.
12679 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
12680 before including <windows.h>
12681 #define _Jv_HaveCondDestroy
12683 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
12685 * java/lang/natThread.cc (finalize_native): Destroy
12686 join conditional variable and mutex if these destroy
12687 operations are supported.
12689 2004-09-10 Dalibor Topic <robilad@kaffe.org>
12691 * gnu/java/net/protocol/file/Connection.java (permission): New field.
12692 (DEFAULT_PERMISSION): New constant.
12693 (Connection): Create a FilePermission with permission to read file.
12695 2004-09-10 Michael Koch <konqueror@gmx.de>
12697 * gnu/java/net/protocol/file/Connection.java
12698 (getLastModified): Moved around.
12699 (getPermission): Return stored permission.
12701 2004-09-10 Michael Koch <konqueror@gmx.de>
12703 * Makefile.in: Regenerate.
12705 2004-09-10 Michael Koch <konqueror@gmx.de>
12707 * Makefile.am: Reverted accidently commited stuff.
12708 * configure: Regenerated.
12710 2004-09-10 Michael Koch <konqueror@gmx.de>
12712 * gnu/java/net/protocol/file/Connection.java
12713 (lineSeparator): Made non-final.
12715 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
12716 instead of StringBufferInputStream.
12718 2004-09-10 Michael Koch <konqueror@gmx.de>
12720 * gnu/java/net/protocol/file/Connection.java
12721 (connect): Handle file is a directory case.
12723 2004-09-10 Michael Koch <konqueror@gmx.de>
12726 (xlib_includes): Removed.
12727 (AM_CPPFLAGS): Renamed from INCLUDES.
12728 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
12729 * Makefile.in: Regenerate.
12731 2004-09-09 Michael Koch <konqueror@gmx.de>
12733 * java/security/ProtectionDomain.java,
12734 * java/util/PropertyPermissionCollection.java:
12735 Fixed javadocs all over.
12737 2004-09-09 Sven de Marothy <sven@physto.se>
12739 Patch from David Gilbert <david.gilbert@object-refinery.com>
12740 * java/lang/Comparable.java: Fixed documentation errors.
12741 * java/util/Arrays.java: Likewise.
12743 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12745 * java/net/Inet4Address.java
12746 (Inet4Address): Added comment to serialization UID.
12747 * java/text/Format.java
12748 (Format): Added comment to serialization UID.
12750 2004-09-09 Michael Koch <konqueror@gmx.de>
12752 * java/lang/System.java
12753 (err): Fixed javadoci to point to setErr() and not setOut().
12755 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
12757 (normalizePath): Added special case for windows systems.
12759 2004-09-09 Michael Koch <konqueror@gmx.de>
12761 * java/io/File.java
12762 (dupSeparator): Made private.
12763 (File(URI)): New constructor.
12764 (getParentFile): Fixed javadoc.
12765 (createTempFile): Reformated.
12766 (setReadOnly): Added comment.
12767 (deleteOnExit): Merged javadoc with classpath version.
12769 2004-09-09 Michael Koch <konqueror@gmx.de>
12771 * Makefile.am: Don't try to include deps.mk.
12772 * Makefile.in: Regenerated.
12774 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
12776 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
12778 * configure: Rebuilt.
12780 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
12782 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
12783 Changed pfn from static local to local.
12785 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
12786 H.J. Lu <hongjiu.lu@intel.com>
12789 * Makefile.am (GCJCOMPILE): Remove definition.
12790 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
12791 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
12792 * Makefile.in: Rebuilt.
12794 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
12796 * configure.ac (enable-gc-debug): Update help for new syntax.
12797 * configure: Regenerate.
12799 2004-09-03 David Daney <ddaney@avtrex.com>
12801 * include/mips-signal.h: Update copyright.
12803 2004-09-03 David Daney <ddaney@avtrex.com>
12805 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
12806 * include/mips-signal.h: Added HANDLE_FPE support.
12808 2004-08-31 Michael Koch <konqueror@gmx.de>
12810 * javax/swing/plaf/basic/BasicTextAreaUI.java
12811 (create): New method.
12812 * javax/swing/text/DefaultHighlighter.java
12813 (DefaultHighlightPainter.debugRect): Removed.
12814 * javax/swing/text/StyleContext.java
12815 (DEFAULT_STYLE): New field.
12817 2004-08-31 Michael Koch <konqueror@gmx.de>
12819 * javax/swing/plaf/basic/BasicLookAndFeel.java
12820 (initComponentDefaults): Add keybindings for selection.backward and
12821 selection-forward for text components.
12822 * javax/swing/plaf/basic/BasicTextUI.java
12823 (paintSafely): Paint highlight only when something is actually
12825 * javax/swing/text/DefaultCaret.java
12826 (handleHighlight): New method.
12827 (setSelectionVisible): Don't do anything when nothing changes.
12829 (moveDot): Reimplemented. Handle highlight.
12830 (setDot): Set mark too. Handle highlight.
12831 (getSelectionPainter): New method.
12832 * javax/swing/text/DefaultEditorKit.java
12833 (defaultActions): Added new actions for text selection.
12834 * javax/swing/text/DefaultHighlighter.java
12835 (DefaultHighlightPainter): New inner class.
12836 (DefaultPainter): New field.
12837 (paint): Implemented.
12838 * javax/swing/text/PlainView.java
12839 (paint): Don't draw background here again.
12840 * javax/swing/text/Utilities.java
12841 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
12842 (drawTabbedText): Likewise.
12844 2004-08-31 Graydon Hoare <graydon@redhat.com>
12846 * javax/swing/JComponent.java
12847 (resetKeyboardActions): Add null checks.
12849 2004-08-31 Graydon Hoare <graydon@redhat.com>
12851 * javax/swing/DefaultButtonModel.java:
12852 Skip group notification when no group is set.
12854 2004-08-31 Graydon Hoare <graydon@redhat.com>
12856 * javax/swing/JColorChooser.java:
12857 Make a couple inner classes static, for jikes.
12859 2004-08-31 Michael Koch <konqueror@gmx.de>
12861 * javax/swing/plaf/basic/BasicTextUI.java
12862 (RottView.modelToView): New method.
12863 (UpdateHandler): Renamed from EventHandler.
12864 (updateHandler): Renamed from eventHandler.
12865 (modelToView): Implemented.
12866 * javax/swing/text/AbstractDocument.java
12867 (BranchElement.getElement): Return null for non-existing indeces.
12868 (BranchElement.getElementIndex): Return 0 in some corner cases.
12869 * javax/swing/text/FieldView.java
12870 (modelToView): New method.
12871 * javax/swing/text/PlainView.java
12872 (modelToView): Made public.
12874 2004-08-31 Kim Ho <kho@redhat.com>
12876 * Makefile.am: New files.
12877 * Makefile.in: Regenerate.
12878 * gcj/Makefile.in: Regenerate.
12879 * include/Makefile.in: Regenerate.
12880 * java/awt/Color.java: Fix documentation.
12881 (RGBtoHSB): Use floats for conversions.
12882 * javax/swing/ButtonGroup.java: Run Jalopy.
12883 (setSelected): Reimplement.
12884 * javax/swing/DefaultButtonModel.java: Run Jalopy.
12885 (changeState): Let ButtonGroup know that the button
12887 * javax/swing/JColorChooser.java: Implement.
12888 * javax/swing/JLabel.java: Run Jalopy.
12889 * javax/swing/JSpinner.java: Run Jalopy.
12890 (setValue): New method.
12891 * javax/swing/JTabbedPane.java: Run Jalopy.
12892 (removeTabAt): Call correct remove method.
12893 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
12894 (getPreviousValue): Compare minimum value.
12895 * javax/swing/Timer.java: Run Jalopy.
12896 (run): Comment out println.
12897 * javax/swing/ToolTipManager.java:
12898 (mouseMoved): Get new tooltip text for location.
12899 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
12900 Jalopy and Javadoc.
12901 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
12903 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
12905 (setSelectedColor): Fire ChangeEvent.
12906 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
12907 New file. Implement.
12908 * javax/swing/colorchooser/DefaultPreviewPanel.java:
12910 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
12912 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
12914 * javax/swing/plaf/basic/BasicArrowButton.java:
12915 (getArrow): Fix size of upward pointing button.
12916 * javax/swing/plaf/basic/BasicColorChooserUI.java:
12918 * javax/swing/plaf/basic/BasicSliderUI.java:
12919 (getWidthOfWidestLabel): Use preferred dimensions.
12920 (getHeightOfTallestLabel): Ditto.
12921 * javax/swing/plaf/basic/BasicSpinnerUI.java:
12923 (mousePressed): Disable changes to spinner if it is not enabled.
12924 * testsuite/Makefile.in: Regenerate.
12927 2004-08-31 Michael Koch <konqueror@gmx.de>
12929 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
12930 javax/swing/plaf/basic/BasicTableUI.java:
12931 Added copyright notice.
12933 2004-08-31 Olga Rodimina <rodimina@redhat.com>
12935 * Makefile.am: Added new files.
12936 * Makefile.in: Regenerate.
12937 * javax/swing/ComboBoxEditor.java: Added javadocs.
12938 * javax/swing/ComboBoxModel.java: Likewise.
12939 * javax/swing/DefaultComboBoxModel.java: Implemented.
12940 * javax/swing/DefaultListCellRenderer.java: Added javadocs
12941 and ran through jalopy to fix formatting style.
12942 (getListCellRendererComponent): Use appropriate border
12943 if renderer has focus and use noFocusBorder when it doesn't.
12944 * javax/swing/JComboBox.java: Implemented.
12945 * javax/swing/JList.java:
12946 (locationToIndex): New Method. Implemented.
12947 (indexToLocation): New Method.
12948 * javax/swing/JPopupMenu.java:
12949 (visible): New field.
12950 (isVisible): Changed to use new field above.
12951 (setVisible): Likewise.
12952 * javax/swing/MutableComboBoxModel.java: Added javadocs.
12953 * javax/swing/plaf/basic/BasicArrowButton.java:
12954 (shadow): Changed default color to Color.gray.
12955 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
12956 UI delegate for JComboBox.
12957 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
12958 Popup menu containing list of JComboBox's items.
12959 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
12960 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
12961 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
12962 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
12963 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
12964 (popupMenuWillBecomeVisible): Set selected path to the first
12965 element only if it is of type MenuElement. Also fix formatting
12967 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
12968 methods signatures.
12970 2004-08-31 Michael Koch <konqueror@gmx.de>
12972 * javax/swing/text/AbstractDocument.java
12973 (createBranchElement): Use new constructor of BranchElement.
12974 (createLeafElement): Renamed arguments.
12975 (getRootElements): Implemented.
12976 (BranchElement.start): Removed.
12977 (BranchElement.end): Likewise.
12978 (BranchElement.BranchElement): Fixed arguments.
12979 (BranchElement.getEndOffset): Reimplemented.
12980 (BranchElement.getStartOffset): Likewis.
12981 * javax/swing/text/DefaultCaret.java
12982 (paint): Draw simple vertical line as caret instead of a rectangle.
12983 * javax/swing/text/JTextComponent.java
12984 (setText): Use doc directly.
12985 * javax/swing/text/PlainView.java
12986 (nextTabStop): Implemented.
12987 * javax/swing/text/Utilities.java
12988 (drawTabbedText): nextTabStop() returns an absolute x position.
12989 (getTabbedTextWidth): Likewise.
12991 2004-08-31 Graydon Hoare <graydon@redhat.com>
12993 * java/awt/Component.java
12994 (isFocusTraversable): Predicate on isLightweight()
12995 (setFocusable): Set isFocusTraversableOverridden.
12996 (requestFocus): Predicate peer dispatch on !isLightweight()
12997 (requestFocusInWindow): Likewise.
12998 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
12999 * java/awt/Container.java
13000 (dispatchEventImpl): Predicate on event mask.
13001 (LightweightDispatcher): Remove focus machinery.
13002 * java/awt/DefaultFocusTraversalPolicy.java
13003 (accept): Expand predicate to include isFocusable().
13004 * java/awt/DefaultKeyboardFocusManager.java:
13005 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
13006 * java/awt/KeyboardFocusManager.java
13007 (redispatchEvent): Synchronize on event to prevent feedback.
13008 * javax/swing/AbstractButton.java
13009 (ButtonFocusListener): Remove class.
13010 (init): Set focusPainted, focusable.
13011 * javax/swing/ActionMap.java (get): Check parent for null.
13012 * javax/swing/InputMap.java (get): Likewise.
13013 * javax/swing/JComponent.java
13014 (inputMap_whenFocused): New InputMap.
13015 (inputMap_whenAncestorOfFocused): Likewise.
13016 (inputMap_whenInFocusedWindow): Likewise.
13017 (getActionForKeyStroke): Rewrite.
13018 (getConditionForKeystroke): Likewise.
13019 (ActionListenerProxy): New private class.
13020 (setInputMap): Implement.
13021 (getInputMap): Likewise.
13022 (setActionMap): Likewise.
13023 (getActionMap): Likewise.
13024 (processComponentKeyEvent): New empty method.
13025 (processKeyEvent): Implement.
13026 (processKeyBinding): Likewise.
13027 (resetKeyboardActions): Rewrite.
13028 * javax/swing/KeyStroke.java: Rewrite.
13029 * javax/swing/SwingUtilities.java
13030 (notifyAction): Implement.
13031 (replaceUIActionMap): Likewise.
13032 (replaceUIInputMap): Likewise.
13033 * javax/swing/plaf/basic/BasicButtonListener.java
13034 (focusGained): Implement.
13035 (focusLost): Repaint if focusPainted().
13036 (installKeyboardActions): Install pressed / released actions.
13037 (uninstallKeyboardActions): Implement.
13038 * javax/swing/plaf/basic/BasicButtonUI.java
13039 (focusColor): New field.
13040 (installDefaults): Load focus color, install input map.
13041 (installKeyboardActions): Implement.
13042 (uninstallKeyboardActions): Likewise.
13043 (paintFocus): Rewrite.
13044 * javax/swing/plaf/basic/BasicLookAndFeel.java
13045 (Button.focus): New default, midPurple.
13046 * javax/swing/plaf/basic/BasicTextUI.java
13047 (kit): Make static.
13048 (installUI): Get doc from kit, load defaults.
13049 (getKeymapName): Implement.
13050 (createKeymap): Likewise.
13051 (installKeyboardActions): Likewise.
13052 (getInputMap): Likewise.
13053 (getActionMap): Likewise.
13054 (createActionMap): Likewise.
13055 * javax/swing/text/AbstractDocument.java
13056 (getStartPosition): Implement.
13057 (getEndPosition): Likewise.
13058 * javax/swing/text/DefaultEditorKit.java
13059 (CopyAction): New class.
13060 (CutAction): Likewise.
13061 (DefaultKeyTypedAction): Likewise.
13062 (InsertBreakAction): Likewise.
13063 (InsertContentAction): Likewise.
13064 (InsertTabAction): Likewise.
13065 (PasteAction): Likewise.
13066 (defaultActions): New static table.
13067 (createCaret): Implement.
13068 (getActions): Likewise.
13069 * javax/swing/text/JTextComponent.java
13070 (KeymapWrapper): New private class.
13071 (KeymapActionMap): Likewise.
13072 (DefaultKeymap): New class.
13073 (keymaps): New static table.
13074 (keymap): New field.
13075 (getKeymap): Implement.
13076 (removeKeymap): Likewise.
13077 (addKeymap): Likewise.
13078 (setKeymap): Likewise.
13079 (loadKeymap): Likewise.
13080 (getActions): Likewise.
13081 (margin): New field.
13082 (JTextComponent): Build and install default keymap.
13083 * javax/swing/text/TextAction.java
13084 (textAction): Call super properly.
13085 (getTextComponent): Implement.
13086 * javax/swing/text/Utilities.java
13087 (drawTabbedText): Adjust position by ascent.
13089 2004-08-31 David Jee <djee@redhat.com>
13093 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
13094 (setEnabled): Make it a native method.
13095 * java/awt/DefaultKeyboardFocusManager.java
13096 (postProcessKeyEvent): Only post event if the menu item
13098 * java/awt/MenuItem.java:
13099 Private field 'enabled' should be true by default.
13100 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
13101 (setEnabled): New function.
13103 2004-08-31 David Jee <djee@redhat.com>
13107 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
13108 (nativeSetHelpMenu): New native method declaration.
13109 (addHelpMenu): Call nativeSetHelpMenu().
13111 * java/awt/MenuBar.java
13112 (setHelpMenu): Call addNotify() on the new help menu.
13113 (add): Call addNotify() on the new menu.
13114 (addNotify): Set the help menu if one exists.
13115 * java/awt/peer/MenuBarPeer.java
13117 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
13118 (nativeSetHelpMenu): New method.
13120 2004-08-31 Graydon Hoare <graydon@redhat.com>
13122 * Makefile.am: Add new files.
13123 * Makefile.in: Regenerate.
13124 * javax/swing/Box.java: Fix setting of layout in ctor.
13125 * javax/swing/JScrollPane.java: Scroll headers as well.
13126 * javax/swing/JTable.java: Reimplement.
13127 * javax/swing/JViewPort.java: Only add non-null children.
13128 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
13129 * javax/swing/Timer.java: Fix stopping null waker.
13130 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
13131 * javax/swing/plaf/basic/BasicTableUI.java: New file.
13132 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
13133 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
13134 * javax/swing/table/DefaultTableModel.java: Clean up.
13135 * javax/swing/table/JTableHeader.java: Implement.
13137 2004-08-31 Mark Wielaard <mark@klomp.org>
13139 * javax/swing/JSpinner.java (getChangeListeners): Remove double
13142 2004-08-31 Mark Wielaard <mark@klomp.org>
13144 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
13145 Declare variables at top of functions/block.
13146 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
13148 2004-08-31 Mark Wielaard <mark@klomp.org>
13150 * java/lang/Rectangle.java (intersects): Check r.width and r.height
13153 2004-08-31 Michael Koch <konqueror@gmx.de>
13155 * javax/swing/text/PlainView.java
13156 (selectedColor): New field.
13157 (unselectedColor): Likewise.
13159 (updateMetrics): New method.
13160 (lineToRect): Likewise.
13161 (modelToView): Likewise.
13162 (drawSelectedText): Use color from JTextComponent ad draw with
13164 (drawUnselectedText): Likewise.
13165 (paint): Initialize helper fields.
13166 * javax/swing/text/View.java
13167 (getChildAllocation): New method.
13168 (getViewIndex): Likewise.
13169 (getToolTipText): Likewise.
13171 2004-08-31 Michael Koch <konqueror@gmx.de>
13173 * javax/swing/text/Utilities.java
13174 (drawTabbedText): Reimplemented.
13175 (getTabbedTextWidth): Likewise.
13177 2004-08-31 Michael Koch <konqueror@gmx.de>
13179 * javax/swing/plaf/basic/BasicTextUI.java
13180 (installDefaults): Install caret and highlighter.
13181 (modelToView): Use Bias.Forward when calling sibling.
13182 * javax/swing/text/AbstractDocument.java
13183 (ElementEdit): Implements DocumentEvent.ElementChange.
13184 (ElementEdit.ElementEdit): New method.
13185 (ElementEdit.getChildrenAdded): Likewise.
13186 (ElementEdit.getChildrenRemoved): Likewise.
13187 (ElementEdit.getElement): Likewise.
13188 (ElementEdit.getIndex): Likewise.
13189 * javax/swing/text/DefaultCaret.java
13191 (textComponent): Renamed from parent, made private.
13192 (selectionVisible): Renamed from vis_sel, made private.
13193 (blinkRate): Renamed from blink, made private.
13194 (magicCaretPosition): Renamed from magic, made private.
13195 (visible): Renamed from vis, made private.
13196 (dot): Made private.
13198 (deinstall): Remove as MouseMotionListener.
13199 (install): Initialize textComponent first. Add as MouseMotionListener.
13200 (paint): Reimplemented.
13201 * javax/swing/text/JTextComponent.java
13202 (setCaret): Deinstall old caret, install new one and fire property
13203 change after setting property.
13204 (setHighlighter): Deinstall old highlighter, install new one and fire
13205 property change after setting property.
13206 (setCaretColor): Fire property change after setting property.
13207 (setDisabledTextColor): Likewise.
13208 (setSelectedTextColor): Likewise.
13209 (setSelectionColor): Likewise.
13210 (modelToView): New method.
13212 2004-08-31 Michael Koch <konqueror@gmx.de>
13214 * javax/swing/text/AbstractDocument.java
13215 (getText): Simplified.
13216 * javax/swing/text/Segment.java
13217 (current): New field.
13218 (current): Reimplemented.
13220 (getIndex): Likewise.
13223 (previous): Likewise.
13224 (setIndex): Likewise.
13226 2004-08-31 Michael Koch <konqueror@gmx.de>
13228 * javax/swing/plaf/basic/BasicButtonUI.java
13229 (defaultTextIconGap): Made protected.
13230 (defaultTextShiftOffset): Likewise.
13231 (textShiftOffset): New field.
13232 (clearTextShiftOffset): New method.
13233 (getTextShiftOffset): Likewise.
13234 (setTextShiftOffset): Likewise.
13236 2004-08-31 Michael Koch <konqueror@gmx.de>
13238 * javax/swing/plaf/basic/BasicTextUI.java
13239 (installUI): Add eventHandler as property listener.
13240 (uninstallUI): remove eventHandler as propert listener.
13241 (installDefaults): Added comment.
13242 (installListeners): Likewise.
13243 (installKeyboardActions): Likewise.
13244 (uninstallDefaults): Likewise.
13245 (uninstallListeners): Likewise.
13246 (uninstallKeyboardActions): Likewise.
13248 2004-08-31 Michael Koch <konqueror@gmx.de>
13250 * javax/swing/text/AbstractDocument.java:
13251 Fixed some typos in comments.
13252 (insertString): Reimplemented.
13253 (remove): Likewise.
13254 (replace): New method.
13255 (children): Dont use fully qualified class name.
13256 (DefaultDocumentEvent.offset): Renamed from off.
13257 (DefaultDocumentEvent.length): Renamed from len.
13258 (DefaultDocumentEvent.type): New field.
13259 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
13260 (DefaultDocumentEvent.getType): Implemented.
13262 2004-08-31 Michael Koch <konqueror@gmx.de>
13264 * javax/swing/plaf/basic/BasicTextUI.java
13265 (RootView.textComponent): Removed.
13266 (RootView.RootView): Don't initialize textComponent.
13267 (RootView.getViewFactory): New method.
13268 (EventHandler): New inner class.
13269 (rootView): Initialize at instance creation.
13270 (eventHandler): New field.
13271 (installUI): Don't create view hierarchy directly,
13272 call modelChanged() instead.
13273 (modelChanged): New method.
13274 * javax/swing/text/JTextComponent.java
13275 (setDocument): Fire property change event.
13277 2004-08-31 Michael Koch <konqueror@gmx.de>
13279 * javax/swing/plaf/basic/BasicTextUI.java
13280 (RootView.paint): Removed debug output.
13281 (paintSafely): Draw highlighter before text.
13282 (paintBackground): Use background color of text component.
13283 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
13286 2004-08-31 Michael Koch <konqueror@gmx.de>
13288 * javax/swing/plaf/basic/BasicToolBarUI.java
13289 (BasicToolBarUI): Fixed arguments for constructor.
13290 (createUI): Fixed creation of object.
13292 2004-08-31 Michael Koch <konqueror@gmx.de>
13294 * javax/swing/DefaultListSelectionModel.java
13295 (fireValueChanged): Renamed from fireSelectionValueChanged,
13298 2004-08-31 Michael Koch <konqueror@gmx.de>
13300 * javax/swing/text/TabSet.java
13301 (TabSet): Implements java.io.Serializable.
13302 * javax/swing/text/TabStop.java
13303 (TabStop): Implements java.io.Serializable.
13304 (TabStop): Made public.
13306 2004-08-31 Michael Koch <konqueror@gmx.de>
13308 * javax/swing/JComponent.java
13309 (setUI): Fire PropertyChange.
13310 * javax/swing/JLabel.java
13311 (text): Renamed from labelText.
13312 (horizontalAlignment): New default vlaue.
13313 (icon): Renamed from activeIcon.
13314 (displayedMnemonic): Renamed from mnemonicKey, added default value.
13315 (displayedMnemonicIndex): Renamed from underlineChar.
13316 (setDisplayedMnemonic): Reimplemented.
13317 * javax/swing/JRadioButton.java
13318 (JRadioButton): New constructors.
13319 * javax/swing/JTextField.java
13320 (JTextField): Throw exception if colums < 0, initialitialz
13321 this.columns directly and initialize document with text conditionally.
13323 2004-08-31 Michael Koch <konqueror@gmx.de>
13325 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
13326 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
13327 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
13328 * javax/swing/text/FieldView.java
13329 (paint): Just call super method for now.
13330 * Makefile.am: Added new files.
13331 * Makefile.in: Regenerated.
13333 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
13335 * javax/swing/AbstractSpinnerModel.java,
13336 javax/swing/JSpinner.java,
13337 javax/swing/SpinnerNumberModel.java,
13338 javax/swing/plaf/basic/BasicSpinnerUI.java:
13340 * javax/swing/plaf/basic/BasicLookAndFeel.java
13341 (initClassDefaults): Added defaults for BasicSpinnerUI.
13343 2004-08-31 Michael Koch <konqueror@gmx.de>
13345 * Makefile.am: Added new files.
13346 * Makefile.in: Regenerated.
13348 2004-08-31 Michael Koch <konqueror@gmx.de>
13350 * javax/swing/TransferHandler.java,
13351 javax/swing/plaf/basic/ComboPopup.java: New files
13352 * Makefile.am: Added javax/swing/TransferHandler.java and
13353 javax/swing/plaf/basic/ComboPopup.java
13354 * Makefile.in: Regenerated.
13356 2004-08-31 Roman Kennke <roman@ontographics.com>
13358 * javax/swing/text/Utilities.java: New file.
13360 2004-08-31 Michael Koch <konqueror@gmx.de>
13362 * Makefile.am: Added javax/swing/text/Utilities.java.
13363 * Makefile.in: Regenerated.
13365 2004-08-31 Graydon Hoare <graydon@redhat.com>
13367 * javax/swing/text/SimpleAttributeSet.java: New file.
13368 * javax/swing/text/StyleConstants.java: New file.
13369 * javax/swing/text/StyleContext.java: New file.
13370 * javax/swing/text/TabSet.java: New file.
13371 * javax/swing/text/TabStop.java: New file.
13372 * javax/swing/text/AbstactDocument.java:
13373 (AbstractElement): Implement attribute support.
13374 * javax/swing/text/AttributeSet.java
13375 (NameAttribute): New static field.
13376 (ResolveAttribute): New static field.
13377 * Makefile.am: Update for new files.
13378 * Makefile.in: Regenerate.
13380 2004-08-31 Craig Black <craig.black@aonix.com>
13382 * gnu/java/awt/peer/gtk/GdkGraphics.java
13383 (drawImage): Add support for scaling pixmaps.
13384 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
13385 (copyAndScalePixmap): New native method.
13387 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
13390 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
13391 type-punning compiler warnings using unions.
13392 (throw): Replace bzero with memset.
13394 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
13395 Thomas Fitzsimmons <fitzsim@redhat.com>
13397 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
13398 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
13399 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
13400 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13401 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
13403 2004-08-31 Mark Wielaard <mark@klomp.org>
13405 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
13406 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
13407 and stdlib.h, not gtkpeer.h.
13408 (*vm): New static variable.
13409 (areaPreparedID): Make static.
13410 (areaUpdatedID): Likewise.
13411 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
13412 (area_prepared): Likewise.
13413 (area_updated): Likewise.
13414 (closed): Likewise.
13415 (initStaticState): Initialize *vm javaVM.
13416 (pumpBytes): Use given env, not global gdk_env.
13418 2004-08-31 Mark Wielaard <mark@klomp.org>
13420 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
13423 2004-08-31 Sven de Marothy <sven@physto.se>
13425 * java/awt/geom/CubicCurve2D.java: Reindent.
13426 (contains): Implemented.
13427 (intersects): Implemented.
13428 * java/awt/geom/QuadCurve2D.java: Likewise.
13429 * java/awt/geom/GeneralPath.java: Reindent and document.
13430 Fully (re)implemented using separate xpoints and ypoints
13432 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
13434 2004-08-31 Michael Koch <konqueror@gmx.de>
13436 * javax/swing/JMenuItem.java
13437 (getMenuDragMouseListeners): New method.
13438 (getMenuKeyListeners): Likewise.
13440 2004-08-31 Michael Koch <konqueror@gmx.de>
13442 * javax/swing/AbstractButton.java
13443 (model): Made protected.
13444 (actionListener): Likewise.
13445 (changeListener): Likewise.
13446 (itemListener): Likewise.
13447 (multiClickThreshhold): New field.
13448 (getActionListeners): New method.
13449 (getChangeListeners): Likewise.
13450 (getItemListeners): Likewise.
13451 (fireItemStateChanged): Simplified implementation.
13452 (fireActionPerformed): Likewise.
13453 (fireStateChanged): Likewise.
13454 (getMultiClickThreshhold): New method.
13455 (setMultiClickThreshhold): Likewise.
13457 2004-08-31 Tom Tromey <tromey@redhat.com>
13459 * java/awt/image/Kernel.java (clone): Use super.clone().
13461 2004-08-31 David Jee <djee@redhat.com>
13464 * gnu/java/awt/peer/gtk/GtkFramePeer.java
13465 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
13466 (nativeSetIconImageFromData): New native method declaration.
13467 (setIconImage): Handle images not produced from GdkPixbufDecoder.
13468 * gnu/java/awt/peer/gtk/GtkImage.java
13469 (getPixelCache): New method.
13470 (getColorModel): New method.
13471 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13472 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
13473 (free_pixbuf_data): New helper function.
13474 (nativeSetIconImageFromData): New function.
13476 2004-08-31 Graydon Hoare <graydon@redhat.com>
13479 * javax/swing/JLayeredPane.java
13480 (setLayer): Permit changing layer after addition.
13481 (setPosition): Permit over-length positions.
13482 (layerToRange): Compare intValue()s.
13483 * javax/swing/Box.java (createHorizontalBox): Implement.
13484 (createRigidArea): Likewise.
13485 (createVerticalBox): Likewise.
13487 2004-08-31 Kim Ho <kho@redhat.com>
13489 * java/awt/Component.java:
13490 (processMouseEvent): Consume event after
13491 listeners process it.
13492 (processMouseMotionEvent): ditto.
13493 (processMouseWheelEvent): ditto.
13494 * java/awt/Container.java:
13495 (acquireComponentForMouseEvent):
13496 Do not dispatch to events that have been
13497 removed from the Container.
13498 (handleEvent): Consume the MouseEvents.
13499 * javax/swing/RepaintManager.java:
13500 (paintDirtyRegions): Do not add to list of
13501 damaged areas if the component has no root.
13503 2004-08-31 Michael Koch <konqueror@gmx.de>
13505 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
13507 2004-08-31 Mark Wielaard <mark@klomp.org>
13509 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
13510 null when a MissingResourceException is thrown. Should never happen.
13512 2004-08-31 Mark Wielaard <mark@klomp.org>
13514 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
13515 when argument is null.
13517 2004-08-31 Mark Wielaard <mark@klomp.org>
13519 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13520 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
13521 Define hid at start of function.
13522 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
13525 2004-08-31 Mark Wielaard <mark@klomp.org>
13527 * gnu/java/awt/EmbeddedWindow.java: Reindent.
13528 * javax/swing/JButton.java: Reindent.
13529 * javax/swing/JCheckBox.java: Reindent.
13531 2004-08-31 Mark Wielaard <mark@klomp.org>
13533 * Makefile.am (gtk_c_source_files): Added
13534 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
13535 (gtk_awt_peer_sources): Added
13536 gnu/java/awt/peer/gtk/GThreadMutex.java and
13537 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
13538 * Makefile.in: Regenerated.
13540 2004-08-31 Archie Cobbs <archie@dellroad.org>
13542 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
13544 2004-08-31 Steven Augart <augart@watson.ibm.com>
13546 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
13547 Added jfieldID, jmethodID.
13549 2004-08-31 Mark Wielaard <mark@klomp.org>
13551 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
13552 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
13553 gdk_env before calling any gdk or gtk function.
13555 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
13556 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
13557 (run): Set gtkInitCalled.
13559 2004-08-31 Steven Augart <augart@watson.ibm.com>
13561 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
13562 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
13564 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
13565 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
13566 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
13568 (init_glib_threads): New function.
13570 2004-08-31 Mark Wielaard <mark@klomp.org>
13572 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
13573 PRIORITY when not already defined in header file.
13575 2004-08-31 Mark Wielaard <mark@klomp.org>
13577 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
13578 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
13580 2004-08-31 Steven Augart <augart@watson.ibm.com>
13582 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
13583 Implemented missing functions for GTK2.
13584 Added error handling.
13585 Renamed static functions out of the g_ namespace.
13586 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
13587 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
13588 Rewrote global-reference code.
13589 Eliminated cascading errors.
13590 (mutex_trylock_jni_impl) Fully implemented.
13591 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
13593 (setup_cache) New function.
13594 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
13595 bug where they were not unlocking the GMutex associated with the
13596 condition variable during the wait on that condition variable.
13598 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
13599 native/jni/gtk-peer/gthread-jni.c,
13600 native/jni/gtk-peer/gthread-jni.h
13601 (g_thread_jni_functions): Renamed to ...
13602 (portable_native_sync_jni_functions): this name.
13603 (gdk_vm): Renamed to...
13604 (the_vm): this name.
13606 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
13607 (gdk_vm): Removed duplicate definition.
13608 (gtkInit): Removed stray message to stdout.
13609 (gtkInit): Use g_malloc and g_free instead of malloc and free.
13610 (gtkInit): Fix a const assignment bug.
13611 (gtkInit): Simplified code.
13613 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
13614 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
13615 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
13616 gnu/java/awt/peer/gtk/GThreadMutex.java:
13619 2004-08-31 Mark Wielaard <mark@klomp.org>
13621 * javax/swing/Box.java: Put FIXME comment above class declaration.
13622 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
13623 * javax/swing/JCheckBox.java: Likewise.
13624 * javax/swing/JDialog.java: Likewise.
13625 * javax/swing/JRadioButton.java: Likewise.
13626 * javax/swing/JToggleButton.java: Likewise.
13627 * javax/swing/UIManager.java: Likewise.
13628 * javax/swing/border/TitledBorder.java: Likewise.
13629 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
13630 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
13631 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
13632 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
13633 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
13634 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
13635 * javax/swing/text/JTextComponent.java: Likewise.
13637 2004-08-31 David Jee <djee@redhat.com>
13640 * gnu/java/awt/peer/gtk/GtkFramePeer.java
13641 (setIconImage): Add a FIXME for unhandled cases.
13643 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
13646 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
13647 getModifiers. Replace old button masks with new ones.
13648 * gnu/awt/xlib/XEventLoop.java: Likewise.
13649 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
13650 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
13651 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
13652 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
13653 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
13654 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
13655 * java/awt/Component.java: Replace old modifier masks with new
13657 * java/awt/Container.java: Call getModifiersEx, not
13659 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
13660 old modifier masks.
13661 * javax/swing/JMenuItem.java: Replace old button masks with new
13663 * javax/swing/KeyStroke.java: Call getModifiersEx, not
13665 * javax/swing/SwingUtilities.java: Likewise.
13666 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
13667 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
13668 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
13669 mask macros with new ones.
13670 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
13671 macros with new ones representing new masks.
13673 2004-08-31 Craig Black <craig.black@aonix.com>
13675 * gnu/java/awt/peer/gtk/GdkGraphics.java
13676 (drawRoundRect): Implemented.
13677 (fillRoundRect): Implemented.
13678 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13679 (drawRoundRect): Reimplemented to match GdkGraphics.
13680 (fillRoundRect): Reimplemented to match GdkGraphics.
13682 2004-08-31 Mark Wielaard <mark@klomp.org>
13684 * Makefile.in: Regenerated.
13686 2004-08-31 Michael Koch <konqueror@gmx.de>
13688 * gnu/java/awt/EmbeddedWindow.java
13689 (addNotify): Use AccessController to allow execution of privileged
13692 2004-08-31 Michael Koch <konqueror@gmx.de>
13694 * gnu/java/awt/EmbeddedWindow.java
13696 (addNotify): Set peer via reflection.
13697 (setWindowPeer): Removed.
13698 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
13699 * Makefile.am (nat_source_files):
13700 Removed gnu/java/awt/natEmbeddedWindow.cc.
13702 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
13704 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
13705 and gnu/java/security/action/SetAccessibleAction.java.
13707 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
13709 * gnu/java/security/action/GetPropertyAction.java (setParameters):
13710 Renamed from 'setName'. New 2-argument form with default value.
13711 (run): Pass default 'value' parameter to System.getProperty().
13712 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
13715 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
13717 * gnu/java/security/action/GetPropertyAction.java: New class.
13718 * gnu/java/security/action/SetAccessibleAction.java: New class.
13720 2004-08-31 David Jee <djee@redhat.com>
13722 * gnu/java/awt/peer/gtk/GtkFramePeer.java
13723 (setIconImage): Check if image is null.
13725 2004-08-31 David Jee <djee@redhat.com>
13727 * gnu/java/awt/peer/gtk/GtkFramePeer.java
13728 (create): Set the icon image.
13729 (nativeSetIconImage): New native method declaration.
13730 (setIconImage): Implement.
13731 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13732 (nativeSetIconImage): New function.
13734 2004-08-31 Dalibor Topic <robilad@kaffe.org>
13736 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
13737 (filenameFilterCallback): Declare local variable accepted before use.
13739 2004-08-31 Dalibor Topic <robilad@kaffe.org>
13741 * gnu/java/awt/ComponentDataBlitOp.java:
13742 Cleaned up imports.
13744 2004-08-31 Tom Tromey <tromey@redhat.com>
13746 * gnu/java/awt/peer/GLightweightPeer.java,
13747 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
13748 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
13749 javax/swing/JScrollPane.java: Removed
13752 2004-08-31 David Jee <djee@redhat.com>
13754 * java/awt/DefaultKeyboardFocusManager.java
13755 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
13756 event. Fix shift modifier checking.
13757 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
13758 (accel_attach): Remove.
13759 (setupAccelGroup): Remove calls to accel_attach.
13761 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
13763 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
13764 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
13766 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
13768 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
13769 * Makefile.in: Regenerate.
13770 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
13771 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
13772 (create(String)): New method.
13773 (create): Call new create method.
13774 (getArgs): Remove method.
13775 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
13776 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13777 (nativeCreate): Rename to create.
13778 (gtkSetLabel): Rename to gtkButtonSetLabel.
13779 (gtkToggleButtonSetActive): New method.
13780 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
13781 (setState): Replace set call with gtkToggleButtonSetActive.
13782 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
13783 (getArgs): Remove method.
13784 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
13785 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13786 (gtkWidgetSetSensitive): New method.
13787 (gtkWidgetSetParent): Likewise.
13788 (GtkComponentPeer): Call setParent, setComponentBounds and
13789 setVisibleAndEnabled.
13790 (setParent): New method.
13791 (setComponentBounds): New method.
13792 (setVisibleAndEnabled): New method.
13793 (setEnabled): Call gtkWidgetSetSensitive.
13794 (getArgs): Remove method.
13795 Remove all set methods.
13796 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
13797 gtkWindowSetModal, setTitle and setResizable.
13798 (getArgs): Remove method.
13799 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
13800 (setComponentBounds): New method.
13801 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
13802 Replace set call with gtkWindowSetResizable.
13803 (getArgs): Remove method.
13804 (create): Call setTitle and setResizable.
13805 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
13806 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13807 (gtkWindowSetTitle): New method.
13808 (gtkWindowSetResizable): New method.
13809 (gtkWindowSetModal): New method.
13810 (setParent): New method.
13811 (setVisibleAndEnabled): New method.
13812 (getArgs): Remove method.
13813 (setTitle): Call gtkWindowSetTitle.
13814 (setResizable): Call gtkWindowSetResizable.
13815 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
13816 and off locking instrumentation.
13818 2004-08-31 Kim Ho <kho@redhat.com>
13820 * Makefile.am: Add new file.
13821 * Makefile.in: Regenerate.
13822 * gcj/Makefile.in: Regenerate
13823 * include/Makefile.in:
13824 * java/awt/Container.java:
13825 (acquireComponentForMouseEvent): Respect
13826 the event mask when looking for candidate.
13827 * javax/swing/JComponent.java:
13828 Remove toolTip field.
13829 (createToolTip): Create a tooltip on demand.
13830 (setToolTipText): Register with the ToolTipManager.
13831 (getToolTipText(MouseEvent)): Return getToolTipText().
13832 * javax/swing/JToolTip.java: Implement.
13833 * javax/swing/Timer.java: Jalopy.
13834 (restart): Call stop, then start.
13835 (stop): Interrupt the timer rather than wait for
13836 the timer to come to a stop naturally.
13837 * javax/swing/ToolTipManager.java: Implement.
13838 * javax/swing/plaf/basic/BasicLookAndFeel.java:
13839 Change ToolTip.background color.
13840 * javax/swing/plaf/basic/BasicToolTipUI.java:
13842 * testsuite/Makefile.in: Regenerate
13844 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
13846 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
13847 constructor param comments.
13849 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
13851 * java/awt/Component.java: Document AWT 1.0 event handler
13854 2004-08-31 Roman Kennke <roman@ontographics.com>
13856 * javax/swing/Box.java:
13857 (createGlue): Implemented
13858 (createHorizontalGlue): Implemented
13859 (createHorizontalStrut): Implemented
13860 (createVerticalGlue): Implemented
13861 (createVerticalStrut): Implemented
13863 2004-08-31 David Jee <djee@redhat.com>
13865 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
13866 (GtkChoicePeer): Do not automatically select first item.
13867 (getHistory): Remove.
13868 (nativeGetSelected): New method.
13869 (nativeRemoveAll): New method.
13870 (add): Use nativeGetSelected() instead of getHistory().
13871 (remove): Likewise.
13872 (removeAll): Call nativeRemoveAll().
13873 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
13874 (create): Migrate to GtkComboBox.
13875 (append): Likewise.
13876 (nativeAdd): Likewise.
13877 (nativeRemove): Likewise.
13878 (select): Likewise.
13879 (nativeRemoveAll): New method.
13880 (nativeGetSelected): New method.
13881 (selection_changed): New method.
13882 (getHistory): Remove.
13883 (item_activate): Remove.
13884 (item_removed): Remove.
13885 (connect_choice_item_selectable_hook): Remove.
13887 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
13889 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
13890 variable in setEditable call.
13892 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
13893 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
13894 (gtkWidgetSetBackground): New method.
13895 (gtkWidgetSetForeground): Likewise.
13896 (create): Set peer's editable state based on awtComponent's.
13898 * java/awt/Button.java (Button()): Use empty string rather than
13899 null in no-label constructor.
13901 2004-08-31 Roman Kennke <roman@ontographics.com>
13903 * javax/swing/BoxLayout.java: Reimplement.
13905 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
13907 * gnu/java/awt/peer/gtk/GdkGraphics.java,
13908 gnu_java_awt_peer_gtk_GdkGraphics.c
13909 (initState(GtkComponentPeer)): Don't return array of colour
13911 (GdkGraphics(int,int)): Set default font to size 12.
13912 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
13913 component's foreground colour.
13914 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
13915 gnu_java_awt_peer_gtk_GdkGraphics2D.c
13916 (initState(GtkComponentPeer)): Don't return array of colour
13918 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
13919 colours to component's colours.
13920 (current_colors_of_widget): Remove function.
13921 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
13922 Return a new graphics object.
13923 * java/awt/Font.java (toString): Fix format.
13924 * java/awt/Graphics.java (toString): Likewise.
13926 2004-08-31 Craig Black <craig.black@aonix.com>
13928 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
13929 (addTearOff): New function.
13930 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
13932 (init): Call addTearOff() when menu.isTearOff().
13934 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
13936 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
13937 Default implementation.
13938 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
13939 Implement using GdkPixbufDecoder.
13941 2004-08-31 David Jee <djee@redhat.com>
13943 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
13944 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
13945 setting the size of GtkFileDialogPeers.
13946 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13947 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
13948 use their default sizes rather than their natural requisitions.
13950 2004-08-31 Michael Koch <konqueror@gmx.de>
13952 * javax/swing/JFormattedTextField.java
13953 (JFormattedTextField): Implemented.
13954 * javax/swing/text/DefaultEditorKit.java
13955 (BeepAction): New inner class.
13956 * javax/swing/text/Segment.java
13957 (partialReturn): New field.
13958 (setPartialReturn): New method.
13959 (isPartialReturn): Likewise.
13960 * javax/swing/text/View.java
13961 (createFragment): Fixed typo.
13962 (getStartOffset): New method.
13963 (getEndOffset): Likewise.
13965 2004-08-31 Michael Koch <konqueror@gmx.de>
13967 * javax/swing/table/DefaultTableColumnModel.java
13968 (serialVersionUID): Made private.
13969 (listenerList): Initialize.
13970 (changeEvent): Initialize.
13971 * javax/swing/table/JTableHeader.java
13972 (JTableHeader): New constructors.
13973 (createDefaultColumnModel): New method.
13974 * javax/swing/table/TableColumn.java
13975 (setHeaderRenderer): Simplified code.
13976 (setCellRenderer): Likewise.
13977 (setWidth): Likewise.
13979 2004-08-31 Tom Tromey <tromey@redhat.com>
13981 * java/text/AttributedString.java (AttributedString): Use
13982 ArrayList to build array of attribute ranges. Don't use
13983 `attribs' before it is set.
13985 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
13987 * HACKING: Remove reference to special automake. No longer needed.
13989 2004-08-30 Tom Tromey <tromey@redhat.com>
13991 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
13992 return result from `add'.
13994 2004-08-30 Tom Tromey <tromey@redhat.com>
13996 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
13998 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
14000 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
14002 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
14004 * java/io/File.java File(String,String): Fixed handling of empty
14007 2004-08-30 Casey Marshall <csm@gnu.org>
14009 Author e-mail updated for all files.
14010 * gnu/java/security/OID.java (equals): Test if the aurgment is an
14012 (compareTo): Use `equals'.
14013 * gnu/java/security/der/BitString.java (equals): Test if the
14014 argument is an instance of BitString.
14015 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
14016 class final. Made fields private.
14017 (<init>): New constructor.
14018 (skip): New method.
14019 (makeString): Made static; don't use NIO.
14020 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
14021 * gnu/java/security/der/DERWriter.java: Fixed imports.
14022 (writeString): Don't use NIO.
14023 (toIso88591, toUtf16Be, toUtf8): New methods.
14024 * gnu/java/security/der/DERValue.java: Formatting changes only.
14025 * gnu/java/security/der/DER.java: Likewise.
14027 2004-08-30 Tom Tromey <tromey@redhat.com>
14029 * java/nio/CharBuffer.java (put): Fix typo.
14030 * java/nio/DoubleBuffer.java (put): Fix typo.
14031 * java/nio/FloatBuffer.java (put): Fix typo.
14032 * java/nio/IntBuffer.java (put): Fix typo.
14033 * java/nio/LongBuffer.java (put): Fix typo.
14034 * java/nio/ShortBuffer.java (put): Fix typo.
14036 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
14038 * java/nio/ByteBuffer.java (put): Fix typo.
14040 2004-08-30 Casey Marshall <csm@gnu.org>
14042 * java/security/DummyKeyPairGenerator.java (clone): Removed
14043 useless instanceof check.
14044 * java/security/DummyMessageDigest.java (clone): Likewise.
14045 * java/security/DummySignature.java (clone): Likewise.
14046 * java/security/MessageDigest.java (clone): Remove useless
14048 * java/security/MessageDigestSpi.java (clone): Likewise.
14049 * java/security/Signature.java (clone): Provide meaningful
14051 * java/security/SignatureSpi.java (clone): Likewise.
14053 2004-08-29 Mark Wielaard <mark@klomp.org>
14055 * java/util/Arrays.java
14056 (sort(byte[], int, int)): Check fromIndex < 0.
14057 (sort(char[], int, int)): Likewise.
14058 (sort(short[], int, int)): Likewise.
14059 (sort(int[], int, int)): Likewise.
14060 (sort(long[], int, int)): Likewise.
14061 (sort(float[], int, int)): Likewise.
14062 (sort(double[], int, int)): Likewise.
14063 (sort(Object[], int, int, Comparator)): Likewise.
14064 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
14065 (qsort(char[], int, int)): Likewise.
14066 (qsort(short[], int, int)): Likewise.
14067 (qsort(int[], int, int)): Likewise.
14068 (qsort(long[], int, int)): Likewise.
14069 (qsort(float[], int, int)): Likewise.
14070 (qsort(double[], int, int)): Likewise.
14072 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
14074 * java/util/AbstractCollection.java, java/util/AbstractList.java,
14075 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
14076 java/util/ArrayList.java, java/util/Arrays.java,
14077 java/util/BitSet.java, java/util/Calendar.java,
14078 java/util/Collection.java, java/util/ListIterator.java,
14079 java/util/Map.java, java/util/SortedSet.java:
14080 Added additional exceptions to documentation, along
14081 with some additions and corrections.
14083 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
14085 * configure.ac: Handle --enable-gc-debug.
14086 * configure: Regenerate.
14087 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
14088 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
14089 Rearrange include file order.
14090 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
14091 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
14092 (disable_gc_mutex): Delete along with all references.
14093 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
14094 adjust for debug header size.
14095 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
14097 (_Jv_AllocArray): Declare min_heap_addr only if needed.
14098 (gcj_describe_type_fn): New.
14099 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
14100 Register gcj_describe_type_fn.
14101 * include/boehm-gc.h:
14102 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
14103 Don't define, but declare, for debug case.
14104 * java/lang/natObject.cc:
14105 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
14107 2004-08-26 Mark Wielaard <mark@klomp.org>
14109 Fixes PR libgcj/17002:
14110 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
14111 a TimeZoneId string and then try to convert that to a TimeZone with
14112 getDefaultSystemTimeZone(String).
14113 (timezones0): Changed type from Hashtable to HashMap.
14114 (timezones): Create HashMap, not Hashtable.
14115 (getDefaultTimeZone): New method, rewritten from CNI version.
14116 (readTimeZoneFile): New method.
14117 (readtzFile): Likewise.
14118 (skipFully): Likewise.
14119 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
14120 getDefaultTimeZoneId and rewritten.
14121 (getDefaultTimeZoneId): Rewritten in java.
14123 2004-08-25 David Daney <daney@avtrex.com>
14125 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
14126 * Makefile.in: Regenerated.
14128 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
14130 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
14131 only if jvmpi is enabled.
14132 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
14133 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
14134 (_Jv_AllocString): Likewise.
14135 (_Jv_AllocPtrFreeObject): Likewise.
14137 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
14139 * defineclass.cc: Include <stdio.h>.
14140 * java/lang/natClassLoader.cc: Include <stdio.h>.
14142 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
14143 Michael Koch <konqueror@gmx.de>
14145 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
14146 * Makefile.in: Regenerated.
14148 2004-08-20 Michael Koch <konqueror@gmx.de>
14150 * configure.ac: Replaced all AC_TRY_COMPILE macros with
14151 AC_COMPILE_IFELSE macros.
14153 2004-08-20 Michael Koch <konqueror@gmx.de>
14155 * configure.in: Renamed to configure.ac.
14156 * configure.ac: New file.
14157 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
14158 include/config.h.in, testsuite/Makefile.in: Regenerated.
14160 2004-08-20 Michael Koch <konqueror@gmx.de>
14162 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
14163 * aclocal.m4, configure: Regenerated.
14165 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
14166 Michael Koch <konqueror@gmx.de>
14168 * configure.in, Makefile.am: Ported to automake 1.9.
14169 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
14170 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
14173 2004-08-19 Tom Tromey <tromey@redhat.com>
14175 * java/net/DatagramSocket.java: Fixed typo.
14177 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
14180 * java/net/URI.java (string): New field. Make all other fields
14182 (readObject): Implemented.
14183 (writeObject): Implemented.
14184 (URI): Set 'string'.
14186 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
14189 * java/util/logging/Handler.java (isLoggable): Accept record if its
14190 log level equals the threshold level. From Robin Green.
14192 2004-08-18 David Daney <ddaney@avtrex.com>
14194 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
14195 instead of sigwait.
14197 2004-08-17 Michael Koch <konqueror@gmx.de>
14199 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
14200 * Makefile.in: Regenerated.
14202 2004-08-16 Tom Tromey <tromey@redhat.com>
14205 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
14207 2004-08-16 Michael Koch <konqueror@gmx.de>
14210 (math_c_files): Renamed from c_files.
14211 (math_c_source_files): Renamed from c_source_files.
14214 include/Makefile.in,
14215 testsuite/Makefile.in: Regenerated.
14217 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
14219 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
14220 to avoid autoconf warning.
14221 * configure: Rebuilt.
14223 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
14225 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
14226 localhostAddress to loopbackAddress.
14227 * java/net/natInetAddressWin32.cc (lookup): Likewise.
14229 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
14231 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
14232 boehm-gc's include dirs.
14233 * configure: Rebuilt.
14234 * include/boehm-gc.h: Include gc_config.h.
14236 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
14238 * java/net/InetAddress.java (loopbackAddress): Renamed from
14240 (getByName): Return loopback address for null hostname, without
14241 security check. Use lookup(), not getAllByName.
14242 (getAllByName): Return loopback address for null hostname, without
14244 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
14247 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
14250 Reported by Robin Green.
14251 * defineclass.cc (handleField): Don't throw exception on unrecognised
14252 modifier. Add FIXME comments for spec compliance.
14253 (handleMethod): Likewise.
14255 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
14258 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
14259 (Almost everywhere): add LOG calls, fix, add comments.
14260 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
14261 Add explicit check for LOCKED bit in slow case (PR 16662).
14262 (_Jv_MonitorExit): Add casts in debug-only code.
14263 Always release LOCKED bit before throwing exception.
14264 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
14265 isn't. Handle easy cases without lock acquisition.
14266 (Object::wait): Use NotifyAll for lock inflation.
14268 2004-08-12 David Daney <ddaney@avtrex.com>
14270 * testsuite/libjava.lang/Process_1.java: New test.
14271 * testsuite/libjava.lang/Process_2.java: New test.
14272 * testsuite/libjava.lang/Process_3.java: New test.
14273 * testsuite/libjava.lang/Process_4.java: New test.
14274 * testsuite/libjava.lang/Process_5.java: New test.
14275 * testsuite/libjava.lang/Process_6.java: New test.
14276 * testsuite/libjava.lang/Process_1.out: Expected result.
14277 * testsuite/libjava.lang/Process_2.out: Expected result.
14278 * testsuite/libjava.lang/Process_3.out: Expected result.
14279 * testsuite/libjava.lang/Process_4.out: Expected result.
14280 * testsuite/libjava.lang/Process_5.out: Expected result.
14281 * testsuite/libjava.lang/Process_6.out: Expected result.
14283 2004-08-12 David Daney <ddaney@avtrex.com>
14286 * java/lang/PosixProcess.java: Rewrote.
14287 * java/lang/natPosixProcess.cc: Rewrote.
14288 * java/lang/Runtime.java (execInternal): Declare throws IOException.
14289 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
14290 * posix-threads.cc (block_sigchld) New function.
14291 (_Jv_ThreadRegister) Use it.
14292 (_Jv_ThreadStart) Use it.
14293 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
14294 * Makefile.am: ... to specify extra native headers.
14295 * configure: Regenerated.
14296 * include/config.h: Regenerated.
14297 * Makefile.in: Regenerated.
14298 * gcj/Makefile.in: Regenerated.
14299 * include/Makefile.in: Regenerated.
14300 * testsuite/Makefile.in: Regenerated.
14302 2004-08-12 Diego Novillo <dnovillo@redhat.com>
14304 PR tree-optimization/16867
14305 * testsuite/libjava.lang/PR16867.java: New test.
14307 2004-08-09 Per Bothner <per@bothner.com>
14309 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
14310 with private fields and access methods.
14311 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
14312 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
14313 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
14314 ( _Jv_makeUtf8Const): Rewrite using new constructors.
14315 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
14316 * defineclass.cc: Use new _Utf8Const access/convenience methods.
14317 * jni.cc: Likewise.
14318 * resolve.cc: Likewise.
14319 * gcj/field.h: Likewise.
14320 * include/jvm.h: Likewise.
14321 * java/lang/Class.h: Likewise.
14322 * java/lang/natClass.cc: Likwise.
14323 * java/lang/natClassLoader.cc: Likewise
14324 * java/lang/reflect/natMethod.cc: Likewise
14325 * verify.cc: Likewise.
14326 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
14327 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
14329 2004-08-10 Andrew Haley <aph@redhat.com>
14331 * testsuite/libjava.lang/err14.java: New file.
14332 * testsuite/libjava.lang/err14.out: New file.
14334 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
14336 * Makefile.am: Fix missing rename from x_nat_headers to
14338 * Makefile.in: Regenerated.
14340 2004-08-04 Andrew Haley <aph@redhat.com>
14342 * java/security/BasicPermission.java: Don't check wildcards.
14344 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
14345 Michael Koch <konqueror@gmx.de>
14347 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
14348 * configure.in: Replaced all usages of AC_LINK_FILES by
14351 configure: Regenerated.
14353 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
14354 Michael Koch <konqueror@gmx.de>
14356 * acconfig.h: Removed.
14357 * Makefile.am: Rename variables for xlib peer to include xlib and
14358 gtk_c_headers to gtk_jni_headers.
14359 * Makefile.in: Regenerated.
14361 2004-08-04 Andrew Haley <aph@redhat.com>
14363 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
14366 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
14368 * configure.in: Eliminate uses of changequote (mostly by quoting []).
14369 Replace most top level 'dnl' comments with '#' comments, conforming
14370 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
14372 * configure: Rebuilt.
14374 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
14376 * acinclude.m4: Include no-executables.m4.
14377 * aclocal.m4: Rebuild.
14378 * configure.in: Convert to the autoconf 2.59 version of
14379 of the no-executables hack, and also of the nonstandard CXX
14380 hack and the multilibbed CC and CXX hack. Change prerequisite
14382 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
14383 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
14384 testsuite/Makefile.in: Regenerate.
14386 2004-08-03 Tom Tromey <tromey@redhat.com>
14388 * jni.cc: Reindented.
14390 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
14392 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
14394 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
14396 * testsuite/libjava.compile/PR16701.java: New test.
14398 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
14400 * java/util/Collection.java, java/util/List.java,
14401 java/util/Map.java, java/util/Set.java,
14402 java/util/SortedMap.java, java/util/SortedSet.java:
14403 Added additional exceptions to documentation.
14405 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
14408 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
14409 * configure. Regenerate.
14410 * include/win32.h: Explicitly include winsock2.h
14411 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
14414 2004-07-30 Michael Koch <konqueror@gmx.de>
14416 * java/util/zip/GZIPInputStream.java
14417 (GZIPInputStream): Increase buffer size to 4k.
14418 * java/util/zip/GZIPOutputStream.java
14419 (GZIPOutputStream): Likewise.
14420 * java/util/zip/Inflater.java
14421 (setInput): Merged formating with GNU classpath.
14422 * java/util/zip/InflaterInputStream.java
14423 (InflaterInputStream): Increase buffer size to 4k.
14424 (fill): Throw exception if stream ends early.
14425 (read): Merged endless-loop with GNU classpath.
14426 (skip): Increase buffer size to 2k.
14428 2004-07-30 Michael Koch <konqueror@gmx.de>
14430 * gnu/java/awt/EmbeddedWindow.java
14431 (addNotify): Use AccessController to allow execution of privileged
14434 2004-07-29 Michael Koch <konqueror@gmx.de>
14436 * gnu/java/lang/MainThread.java:
14437 Explicitely import used classes.
14438 (args): Make it type String[].
14440 2004-07-29 Dalibor Topic <robilad@kaffe.org>
14442 * gnu/java/awt/ComponentDataBlitOp.java,
14443 gnu/java/beans/ExplicitBeanInfo.java,
14444 gnu/java/beans/IntrospectionIncubator.java,
14445 gnu/java/beans/editors/ColorEditor.java,
14446 gnu/java/beans/editors/FontEditor.java,
14447 gnu/java/beans/editors/NativeBooleanEditor.java,
14448 gnu/java/beans/editors/NativeByteEditor.java,
14449 gnu/java/beans/editors/NativeDoubleEditor.java,
14450 gnu/java/beans/editors/NativeFloatEditor.java,
14451 gnu/java/beans/editors/NativeIntEditor.java,
14452 gnu/java/beans/editors/NativeLongEditor.java,
14453 gnu/java/beans/editors/NativeShortEditor.java,
14454 gnu/java/beans/editors/StringEditor.java,
14455 gnu/java/io/ClassLoaderObjectInputStream.java,
14456 gnu/java/io/decode/Decoder.java,
14457 gnu/java/io/encode/Encoder.java,
14458 gnu/java/lang/ClassHelper.java,
14459 gnu/java/locale/Calendar.java,
14460 gnu/java/locale/Calendar_de.java,
14461 gnu/java/locale/Calendar_en.java,
14462 gnu/java/locale/Calendar_nl.java,
14463 gnu/java/locale/LocaleInformation_de.java,
14464 gnu/java/locale/LocaleInformation_en.java,
14465 gnu/java/locale/LocaleInformation_nl.java:
14466 Cleaned up imports.
14468 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
14470 * README: Remove obsolete info. Update bug URL.
14472 * NEWS: Updated with news up to GCC 3.4 release.
14474 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
14476 * gnu/java/security/action/GetPropertyAction.java (setParameters):
14477 Renamed from 'setName'. New 2-argument form with default value.
14478 (run): Pass default 'value' parameter to System.getProperty().
14479 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
14481 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
14484 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
14486 * configure.in: Check for minimum GTK version 2.4 requirement.
14487 * configure: Rebuilt.
14489 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
14491 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
14492 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
14494 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
14496 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
14497 address. Reduce sleep times. Synchronize with target threads before
14498 attempting to interrupt them. Don't try to calibrate yeild count,
14499 instead, always loop for a fixed time.
14500 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
14501 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
14502 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
14503 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
14504 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
14505 * testsuite/libjava.lang/pr179.java: Likewise.
14506 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
14507 time. Remove upper bounds check on sleep time.
14509 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
14511 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
14512 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
14514 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
14516 * java/io/File.java (toURI): Throw RuntimeException, not
14518 * java/lang/Runtime.java (exit): Qualify static sleep() call with
14519 class name, not instance.
14521 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
14523 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
14524 and gnu/java/security/action/SetAccessibleAction.java.
14525 * Makefile.in: Rebuilt.
14527 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
14529 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
14530 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
14532 (DECLARE_PRIM_TYPE): Don't declare array vtables.
14533 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
14534 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
14536 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
14538 * Makefile.am: Replace jar, rmic and rmiregistry references with
14539 gjar, grmic and grmiregistry.
14540 * configure.in: Likewise.
14541 * Makefile.in: Regenerate.
14542 * configure: Likewise.
14543 * gcj/Makefile.in: Likewise.
14544 * include/Makefile.in: Likewise.
14545 * testsuite/Makefile.in: Likewise.
14547 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
14549 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
14550 for privileged getProperty calls.
14551 * java/io/ObjectOutputStream.java (getField): No longer static. Use
14552 SetAccessibleAction instead of anonymous class for doPrivileged call.
14553 (getMethod): Likewise.
14554 (setAccessible): New field. PrivilegedAction object to use when
14555 calling setAccessible.
14556 * java/io/ObjectStreamClass.java (calculateOffsets): Use
14557 SetAccessibleAction instead of anonymous class for diPrivileged call.
14558 (setFields): Likewise.
14559 (getClassUID): Likewise.
14560 (findMethod): Likewise.
14561 * gnu/java/security/action/GetPropertyAction.java: New class.
14562 * gnu/java/security/action/SetAccessibleAction.java: New class.
14564 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
14566 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
14568 * testsuite/libjava.lang/Serialization.java: New test.
14569 * testsuite/libjava.lang/Serialization.out: New.
14571 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
14573 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
14574 missed in last commit.
14576 2004-07-23 Mark Wielaard <mark@klomp.org>
14578 * java/lang/System.java (static): Set http.agent system property when
14580 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
14581 from system property inside AccessController.doPrivileged() call.
14582 (proxyPort): Made package private.
14583 (proxyInUse): Likewise.
14584 (proxyHost): Likewise.
14585 (userAgent): Likewise.
14587 2004-07-23 Mark Wielaard <mark@klomp.org>
14589 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
14592 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
14594 * Makefile.am (ordinary_java_source_files): Add
14595 DefaultContentHandlerFactory.java.
14596 * Makefile.in: Rebuilt.
14597 * java/net/URLConnection.java (defaultFactory): New field.
14599 (getContentHandler): Renamed from 'setContentHandler'. Try
14600 defaultFactory after user-set factory, if any. Search for content
14601 handler implementations in gnu.java.net.content, not gnu.gcj.content.
14602 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
14604 (getLastModified): Implemented.
14605 (getPermission): Create file permission here, instead of in
14607 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
14609 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
14611 (getLastModified): Implemented.
14612 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
14613 Default implementation.
14614 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
14615 Implement using GdkPixbufDecoder.
14617 2004-07-21 Michael Koch <konqueror@gmx.de>
14619 * javax/swing/JTextArea.java
14620 (setLineWrap): Fire property change event after new value is set.
14621 (setTabSize): Likewise.
14623 2004-07-21 Michael Koch <konqueror@gmx.de>
14625 * javax/swing/JTable.java
14626 (autoCreateColumnsFromModel): New field.
14627 (autoResizeMode): Likewise.
14628 (cellEditor): Likewise.
14629 (cellSelectionEnabled): Likewise.
14630 (columnModel): Likewise.
14631 (dataModel): Likewise.
14632 (defaultEditorsByColumnClass): Likewise.
14633 (defaultRenderersByColumnClass): Likewise.
14634 (editingColumn): Likewise.
14635 (editingRow): Likewise.
14636 (gridColor): Likewise.
14637 (preferredViewportSize): Likewise.
14638 (rowHeight): Likewise.
14639 (rowMargin): Likewise.
14640 (rowSelectionAllowed): Likewise.
14641 (selectionBackground): Likewise.
14642 (selectionForeground): Likewise.
14643 (selectionModel): Likewise.
14644 (showHorizontalLines): Likewise.
14645 (showVerticalLines): Likewise.
14646 (tableHeader): Likewise.
14647 (JTable): Implemented.
14648 (getColumnModel): Likewise.
14649 (getSelectedRow): Likewise.
14650 (getSelectionModel): Likewise.
14651 (setModel): Likewise.
14652 (setSelectionModel): Likewise.
14653 (createScrollPaneForTable): New method.
14654 (createDefaultDataModel): Likewise.
14655 (createDefaultListSelectionModel): Likewise.
14656 (getModel): Likewise.
14657 (getTableHeader): Likewise.
14658 (setTableHeader): Likewise.
14659 (getColumnSelectionAllowed): Likewise.
14660 (setColumnSelectionAllowed): Likewise.
14661 (getRowSelectionAllowed): Likewise.
14662 (setRowSelectionAllowed): Likewise.
14663 (getAutoResizeMode): Likewise.
14664 (setAutoResizeMode): Likewise.
14665 (getColumnCount): Likewise.
14666 (getRowCount): Likewise.
14667 (getCellRenderer): Likewise.
14668 * javax/swing/JTree.java
14669 (cellRenderer): New field.
14670 (editable): Likewise.
14671 (rootVisible): Likewise.
14672 (showsRootHandles): Likewise.
14673 (getModel): New method.
14674 (setModel): Likewise.
14675 (isEditable): Likewise.
14676 (setEditable): Likewise.
14677 (isRootVisbile): Likewise.
14678 (setRootVisible): Likewise.
14679 (getShowsRootHandles): Likewise.
14680 (setShowRootHandles): Likewise.
14681 (getCellRenderer): Likewise.
14682 (setCellRenderer): Likewise.
14684 2004-07-21 Michael Koch <konqueror@gmx.de>
14686 * javax/swing/JFormattedTextField.java
14687 (setDocument): Implemented.
14688 * javax/swing/JRootPane.java:
14690 * javax/swing/JTable.java
14691 (getDefaultRenderer): New method.
14692 * javax/swing/JTextField.java
14693 (setFont): Likewise.
14694 (getPreferredSize): Likewise.
14695 * javax/swing/JToggleButton.java
14696 (getAccessibleContext): Fix javadoc.
14697 * javax/swing/JTree.java:
14699 * javax/swing/JViewport.java:
14702 2004-07-21 David Jee <djee@redhat.com>
14704 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
14705 Collect all native method declaration at the top.
14706 (create): Set the filename filter if necessary.
14707 (setDirectory): Call nativeSetDirectory().
14708 (setFilenameFilter): Implement.
14709 (filenameFilterCallback): New method.
14710 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
14711 (create): Configure dialog to show hidden files.
14712 (filenameFilterCallback): New function.
14713 (nativeSetFilenameFilter): New function.
14714 (nativeSetDirectory): New function.
14716 2004-07-21 Kim Ho <kho@redhat.com>
14718 * javax/swing/plaf/basic/BasicSliderUI.java:
14720 (paintTrack): Fill the track before painting
14723 2004-07-21 Graydon Hoare <graydon@redhat.com>
14725 patch from Roman Kennke <roman@ontographics.com>
14726 * javax/swing/Spring.java: New file.
14727 * javax/swing/SpringLayout.java: New file.
14728 * Makefile.am: Add new files.
14729 * Makefile.in: Regenerate.
14731 2004-07-21 Graydon Hoare <graydon@redhat.com>
14733 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
14734 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
14735 * javax/swing/ScrollPaneLayout.java: Likewise.
14737 2004-07-21 Kim Ho <kho@redhat.com>
14739 * javax/swing/DefaultDesktopManager.java:
14740 (findMinimum): Removed.
14741 (resizeFrame): Trust the UI to pass valid
14743 * javax/swing/JOptionPane.java:
14744 Implemented showInternalXXXDialog methods.
14745 (startModal): New method.
14746 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
14747 (BorderListener::mouseDragged): Verify that the new
14748 bounds are valid before passing them to the DesktopManager.
14749 (preferredLayoutSize): Delegate
14751 (minimumLayoutSize): Ditto.
14752 (getSize): New method.
14753 (GlassPaneDispatcher): Reimplemented by copying
14754 a stripped down LightweightDispatcher from Container.
14755 (getMinimumSize): Call minimumLayoutSize.
14756 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
14758 (mousePressed): Add ability to properly close
14760 * javax/swing/plaf/basic/BasicToolBarUI.java:
14761 (DragWindow): Set owner for DragWindow.
14763 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
14765 * java/awt/image/ShortLookupTable.java: New file.
14766 * java/awt/image/ByteLookupTable.java: New file.
14767 * Makefile.am: Added new files.
14768 * Makefile.in: Regenerated.
14770 2004-07-21 David Jee <djee@redhat.com>
14772 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
14773 (create(GtkContainerPeer)): New native method.
14774 (create()): Call native create(), passing in the parent frame
14775 as the paramter. Natively set the current file and directory.
14776 (setFile): Construct an absolute filename before passing it to
14778 (nativeGetDirectory): New method.
14779 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
14780 (window_closed): Removed.
14781 (ok_clicked): Likewise.
14782 (cancel_clicked): Likewise.
14783 (handle_response): New method.
14784 (create): Use GtkFileChooserDialog.
14785 (connectSignals): Connect to handle_response.
14786 (nativeGetDirectory): New method.
14787 (nativeSetFile): Use GtkFileChooserDialog.
14789 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
14791 * java/awt/image/LookupTable.java: New file.
14792 * Makefile.am: Added new file.
14793 * Makefile.in: Regenerated.
14795 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
14797 * java/awt/image/Kernel.java: New file.
14798 * Makefile.am: Added new file.
14799 * Makefile.in: Regenerated.
14801 2004-07-21 Olga Rodimina <rodimina@redhat.com>
14803 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
14804 * javax/swing/JMenu.java: Likewise.
14805 * javax/swing/JMenuBar.java: Likewise.
14806 (MARGIN_CHANGED_PROPERTY): New property.
14807 (setMargin): Implemented.
14808 * javax/swing/JMenuItem.java: Fixed javadocs.
14809 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
14810 (LABEL_CHANGED_PROPERTY): New property.
14811 (add): changed to use createActionComponent.
14812 (createActionComponent): Implemented.
14813 (setLabel): Fire PropertyChangeEvent if label property
14815 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
14816 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
14817 (ContainerHandler): Repaint if margin property has changed.
14818 * javax/swing/plaf/basic/BasicMenuItemUI.java:
14819 (installUI): Call installComponents().
14820 (uninstallUI): Call uinstallComponents().
14821 * javax/swing/plaf/basic/BasicMenuUI.java:
14823 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
14826 2004-07-21 Kim Ho <kho@redhat.com>
14828 * javax/swing/plaf/basic/BasicToolBarUI.java:
14829 (DragWindow): Use the right constructor.
14831 2004-07-21 Kim Ho <kho@redhat.com>
14833 * javax/swing/JToolBar.java:
14834 (layoutContainer): Use getComponents.
14835 * javax/swing/plaf/basic/BasicToolBarUI.java:
14836 (DragWindow): Don't use SwingUtilities'
14838 (ToolBarDialog): ditto.
14840 2004-07-21 Kim Ho <kho@redhat.com>
14842 * javax/swing/JRootPane.java:
14844 (layoutContainer): Set the glasspane's size to
14845 be the same as the content pane.
14846 (createGlassPane): Set opaque property to false.
14848 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
14850 * java/awt/Component.java (requestFocus()): Don't handle Panels
14852 (requestFocus(boolean)): Likewise.
14853 (requestFocusInWindow(boolean)): Likewise.
14854 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
14855 Set GTK_CAN_FOCUS flag.
14857 2004-07-21 Kim Ho <kho@redhat.com>
14859 * Makefile.am: Added new file.
14860 * Makefile.in: Regenerated.
14861 * gcj/Makefile.in: Regenerated.
14862 * include/Makefile.in: Regenerated.
14863 * javax/swing/AbstractButton.java:
14864 Add rollOverEnabled property.
14865 (setRolloverEnabled): Use new property.
14866 (isRolloverEnabled): Use new property.
14867 * javax/swing/JTabbedPane.java:
14868 (setComponent): Remove useless JTabbedPane.this.
14869 * javax/swing/JToolBar.java: Finish implementation.
14870 * javax/swing/plaf/basic/BasicArrowButton.java:
14871 (paint): Moved border painting to a border.
14872 * javax/swing/plaf/basic/BasicLookAndFeel.java:
14873 Change JToolBar look and feel defaults.
14874 * javax/swing/plaf/basic/BasicOptionPaneUI.java
14875 (actionPerformed): Return Integer index instead of name.
14876 (addButtonComponents): Check to see if component is
14878 (createMessageArea): Don't use components that are not
14880 (getIconForType): Use temporary icons.
14881 * javax/swing/plaf/basic/BasicSliderUI.java:
14882 (mousePressed): Do not return if it's on thumb.
14883 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
14884 (paintMinorTickForVertSlider): ditto.
14885 (paintMajorTickForHorizSlider): ditto.
14886 (paintMajorTickForVertSlider): ditto.
14887 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
14888 Add a border around the SplitPaneDivider.
14889 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
14891 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
14892 New file. Implemented.
14893 * javax/swing/plaf/basic/BasicToolBarUI.java:
14895 * testsuite/Makefile.in: Regenerated.
14897 2004-07-21 Graydon Hoare <graydon@redhat.com>
14899 * javax/swing/Timer.java (run): Queue events each time cycle.
14901 2004-07-21 David Jee <djee@redhat.com>
14903 * gnu/java/awt/peer/gtk/GtkImagePainter.java
14904 (imageComplete): Call image.imageComplete().
14905 * java/awt/image/MemoryImageSource.java:
14906 Reimplement consumers as a Vector instead of a Hashtable. This is
14907 because enumeration on a Hashtable is not thread-safe.
14908 (addConsumer): Adapt to Vector consumers.
14909 (isConsumer): Adapt to Vector consumers.
14910 (removeConsumer): Adapt to Vector consumers.
14911 (startProduction): Adapt to Vector consumers. Call imageComplete()
14912 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
14913 (newPixels): Adapt to Vector consumers.
14914 (sendPicture): Set the color model of the image consumer.
14915 (newPixels(IIII)): Adapt to Vector consumers.
14916 (newPixels(IIIIB)): Adapt to Vector consumers.
14918 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
14920 * java/awt/Component.java (deliverEvent): Implement.
14921 (postEvent): Implement.
14922 (handleEvent): Implement.
14923 (translateEvent): New method.
14924 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
14925 * java/awt/Container.java (deliverEvent): Implement.
14926 * java/awt/Event.java (paramString): Fix formatting.
14927 * java/awt/Font.java (toString): Likewise.
14928 * java/awt/Window.java (postEvent): Implement.
14930 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
14932 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
14933 Set window's focus owner upon receiving a FOCUS_LOST event.
14934 * java/awt/Window.java (Window()): Refocus the previously
14935 focused component within the window when the window regains the
14937 (setFocusOwner): New method.
14938 * java/awt/Component.java (requestFocus): Add FIXME.
14940 * libgcj.pc.in: Remove library flags.
14942 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
14944 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
14945 MOUSE_PRESSED event.
14946 * java/awt/Component.java (requestFocus()): Handle Panel
14947 specially. Post FOCUS_LOST event on opposite component.
14948 (requestFocus(boolean)): Likewise.
14949 (requestFocusInWindow(boolean)): Likewise.
14950 (paramString): Reorder dimension fields.
14951 * java/awt/Container.java (paramString): Fix string format.
14952 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
14953 Handle FOCUS_LOST events. Don't handle Windows specially. Only
14954 process key events if the focus owner is non-null.
14955 (dispatchKeyEvent): Likewise.
14956 * java/awt/Frame.java (paramString): Fix formatting.
14957 (generateName): New method.
14958 (getUniqueLong): Likewise.
14959 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
14960 the temporary focus owner is null. If so, return the permanent
14962 * java/awt/Panel.java (generateName): New method.
14963 (getUniqueLong): Likewise.
14964 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
14965 signal handling to make callbacks more specific.
14967 2004-07-21 Michael Koch <konqueror@gmx.de>
14969 * javax/swing/text/Position.java
14970 (Bias): Implemented.
14972 2004-07-21 Michael Koch <konqueror@gmx.de>
14974 * javax/swing/LookAndFeel.java
14975 (provideErrorFeedback): New method.
14977 2004-07-21 Michael Koch <konqueror@gmx.de>
14979 * javax/swing/JTextArea.java
14980 (tabSize): New field.
14981 (getTabSize): New method.
14982 (setTabSize): Likewise.
14984 2004-07-21 Michael Koch <konqueror@gmx.de>
14986 * javax/swing/ActionMap.java:
14987 Fixed javadocs all over.
14988 (serialVersionUID): Made private.
14989 (parent): Don't explicitely initialize with default value.
14991 (keys): Reimplemented.
14992 (allKeys): Likewise.
14993 (convertSet): Removed.
14994 * javax/swing/ComponentInputMap.java:
14995 Fixed javadocs all over.
14996 (ComponentInputMap): Implemented.
14999 (remove): Likewise.
15000 (SetParent): Likewise.
15001 (getComponent): Likewise.
15002 * javax/swing/InputMap.java:
15003 Fixed javadocs all over.
15004 (serialVersionUID): Made private.
15005 (parent): Don't explicitely initialize with default value.
15007 (keys): Reimplemented.
15008 (allKeys): Likewise.
15009 (convertSet): Removed.
15011 2004-07-21 Michael Koch <konqueror@gmx.de>
15013 * javax/swing/ActionMap.java,
15014 javax/swing/ComponentInputMap.java,
15015 javax/swing/InputMap.java,
15016 javax/swing/table/DefaultTableColumnModel.java,
15017 javax/swing/table/TableColumn.java,
15018 javax/swing/table/TableColumnModel.java,
15019 javax/swing/table/TableModel.java,
15020 javax/swing/text/AbstractDocument.java,
15021 javax/swing/text/TextAction.java:
15024 2004-07-21 Graydon Hoare <graydon@redhat.com>
15026 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
15027 Make method non-static.
15028 * javax/swing/AbstractButton.java:
15029 Rename fields to match property names where possible.
15030 (iconTextGap): New property.
15031 * javax/swing/JCheckBox.java: Match AbstractButton changes.
15032 (init) New method, call from after various constructors.
15033 * javax/swing/JComponent.java (revalidate):
15034 Invalidate before queueing repair.
15035 * javax/swing/JList.java (getPreferredScrollableViewportSize):
15036 Reimplement in terms of visibleRowCount property.
15037 * javax/swing/JMenuButton.java: Match AbstractButton changes.
15038 * javax/swing/JScrollPane.java (createScrollListener):
15039 Remove tracing chatter.
15040 * javax/swing/JToggleButton.java: Match AbstractButton changes.
15041 * javax/swing/RepaintManager.java (addInvalidComponent):
15043 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
15045 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
15046 Mimic sun behavior on top left/right positioning.
15047 * javax/swing/ViewportLayout.java (preferredLayoutSize):
15048 Remove mistaken use of preferredScrollableViewportSize here.
15049 (layoutContainer): Use view's preferred size as basis.
15050 * javax/swing/plaf/basic/BasicButtonUI.java:
15051 Set, get, and use textIconGap property.
15052 (paint) Paint text returned from layout (with ellipsis).
15053 * javax/swing/plaf/basic/BasicListUI.java:
15054 Remove tracing chatter, correct various minor calculations.
15055 (getCellBounds): Update layout state before calculating.
15056 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
15057 Use margin default similar to sun's.
15058 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
15059 (createIncreaseIcon): Center icon, minimize margins.
15060 (createDecreaseIcon): Likewise.
15061 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
15063 (installUI): Call it.
15064 (uninstallDefaults): Implement.
15065 (uninstallUI): Call it.
15066 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
15067 Call existing Window constructor.
15068 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
15069 Set clip before painting.
15071 2004-07-21 Olga Rodimina <rodimina@redhat.com>
15073 * javax/swing/JMenuItem.java:
15074 (processMouseEvent): Reimplemented to deal with
15076 (createMenuDragMouseEvent): New private helper method.
15077 Creates MenuDragMouseEvent.
15078 * javax/swing/MenuSelectionManager.java
15079 (componentForPoint): Implemented.
15080 (isComponentPartOfCurrentMenu): Made public.
15081 (processMouseEvent): Reimplemented to deal with
15083 (setSelectedPath): Corrected small mistake that caused
15084 path to be set incorrectly.
15085 (getPath): If given component is JMenu then also add this
15086 menu's popup menu to the selected path.
15087 * javax/swing/plaf/basic/BasicMenuItemUI.java:
15089 (getPreferredSize): Call getPreferredMenuItemSize().
15090 (getPreferredItemSize): Moved code from getPreferredSize to here.
15091 (installListeners): Install MouseMotionListeners.
15092 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
15093 if mouse wasn't released in the bounds of this menu item.
15094 (MenuDragMouseHandler): Implemented.
15095 * javax/swing/plaf/basic/BasicMenuUI.java:
15096 (installListeners): Install MouseMotionListener and
15097 MenuDrageMouseListener.
15098 (MenuDragMouseHandler): Implemented.
15099 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
15100 (uninstallListeners): Implemented.
15102 2004-07-21 Michael Koch <konqueror@gmx.de>
15104 * javax/swing/JCheckBox.java: Reformated.
15105 (JCheckBox): Fixed all constructors.
15106 (isBorderPaintedFlat): New method.
15107 (setBorderPaintedFlat): New method.
15108 * javax/swing/JEditorPane.java
15109 (createEditorKitForContentType): Made public.
15110 (scrollToReference): Likewise.
15111 * javax/swing/JTextArea.java
15112 (setLineWrap): Fire property change.
15113 * javax/swing/JToggleButton.java
15114 (JToggleButton): New constructor.
15115 (JToggleButton): Simplified.
15116 * javax/swing/text/AttributeSet.java
15117 (FontAttribute): Renamed from FontCharacterAttribute.
15118 * javax/swing/text/JTextComponent.java
15119 (KeyBinBinding): Added javadoc.
15120 (JTextComponent): Likewise.
15121 (getAccessibleContext): Fixed javadoc.
15122 * javax/swing/text/View.java
15123 (View): Added javadoc.
15124 * javax/swing/text/TabableView.java: New file.
15125 * Makefile.am: Added javax/swing/text/TabableView.java.
15126 * Makefile.in: Regenerated.
15128 2004-07-21 Graydon Hoare <graydon@redhat.com>
15130 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
15131 * gnu/java/awt/peer/gtk/GtkToolkit.java
15132 (GtkErrorImage): New helper class.
15133 (bufferedImageOrError): New helper method.
15134 (createImage): Use it.
15136 2004-07-21 David Jee <djee@redhat.com>
15138 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
15139 (setCaretPosition): Scroll the text view so the new caret position
15140 is visible on screen.
15142 2004-07-21 David Jee <djee@redhat.com>
15144 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
15145 (setBounds): Do not validate awtComponent here.
15146 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
15147 (getPreferredSize): New method.
15148 * java/awt/ScrollPane.java
15149 (ScrollPane): Set default size to 100x100.
15150 (addNotify): If child is not a Panel, wrap it with a new Panel.
15151 (paramString): Implement.
15153 2004-07-21 Olga Rodimina <rodimina@redhat.com>
15155 * javax/swing/JMenu.java:
15156 (setSelected): Display popup menu only if this menu
15157 is showing on the screen.
15158 * javax/swing/JPopupMenu.java:
15159 (processMouseEvent): Added comment.
15160 (processKeyEvent): Likewise.
15161 * javax/swing/MenuSelectionManager.java:
15162 (clearSelectedPath): Only fireStateChanged() after
15163 selected path was changed, not before.
15164 (setSelectedPath): Likewise.
15165 * javax/swing/plaf/basic/BasicMenuItemUI.java:
15166 (paintMenuItem): Corrected position of menu item's
15168 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
15169 (installUI): Correct setDefaultLightWeightPopupEnabled call.
15170 (popupMenuCanceled): Reimplemented.
15171 (popupMenuWillBecomeVisible): Select first menu item by default
15172 when displaying free floating popup menus.
15173 (TopWindowListener): Reimplemented.
15175 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
15177 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
15178 Panel from being painted twice when it is first shown.
15180 2004-07-21 Olga Rodimina <rodimina@redhat.com>
15182 * java/awt/Window.java: Reverted changes from my
15183 previous patch for creating window without an owner.
15184 * javax/swing/SwingUtilities.java:
15185 (SwingUtilities.OwnerFrame): made static.
15186 (OwnerFrame.setVisible): New method. Overridden with
15187 empty implementation.
15188 (OwnerFrame.isShowing): New method. Ovverridden
15189 to return always true.
15191 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
15193 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
15194 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15195 (GtkComponentPeer): Remove temporary try/catch block.
15196 (setVisible): Call show and hide.
15197 (show): Make native.
15199 (getArgs): Don't add "visible" argument.
15200 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15201 (property_notify_predicate): Return Bool instead of int.
15202 (find_layout): New function.
15203 (connectJObject): Call find_layout.
15204 (connectSignals): Likewise.
15205 (moveLayout): Likewise.
15206 (gtkLayoutSetVisible): Likewise.
15208 2004-07-21 Mark Wielaard <mark@klomp.org>
15210 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
15211 on notifier object before calling notifyAll().
15213 2004-07-21 Olga Rodimina <rodimina@redhat.com>
15215 * java/awt/Window.java: Changed constructors to use new
15216 method that is described below. Constructors call this
15217 methods only if newly created window should have an owner.
15218 (setWindowOwner): New method. Implementation for
15219 this method is moved from this(owner,configuration).
15220 * javax/swing/JWindow.java:
15221 (JWindow): Reimplement to use SwingUtilities.ownerFrame
15223 * javax/swing/SwingUtilities.java:
15224 (ownerFrame): Change type of this field to OwnerFrame.
15225 (getOwnerFrame): Changed to return object of type OwnerFrame.
15226 (SwingUtilities.OwnerFrame): New class. Represents owner
15227 of a Window that is not provided with one.
15229 2004-07-21 Olga Rodimina <rodimina@redhat.com>
15231 * javax/swing/AbstractButton.java:
15232 (configurePropertiesFromAction): Set action command
15233 to button's text by default if action command is not
15234 explicitely specified.
15235 * javax/swing/JMenu.java: Remove unnecessary listener
15236 and methods relevant to it.
15237 (setSelected): Reimplemented.
15238 (menuSelectionChanged): Moved most part of implementation to
15239 setSelected() and call it instead.
15240 * javax/swing/JMenuItem.java:
15241 (init): Comment out statement that sets paint_border to false.
15242 (configurePropertiesFromAction): Do not set accelerator
15244 (menuSelectionChanged): Change selected index in the selection
15245 model of menu item's parent.
15246 * javax/swing/JPopupMenu.java:
15247 (remove): Set constraints.fill field to GridBagConstraints.BOTH
15248 instead of GridBagConstraints.HORIZONTAL.
15249 (insert): Likewise.
15250 (createActionChangeListener): Implemented.
15251 (setVisible): Correct location of HeavyWeightMenu and
15252 don't firePopupMenuCanceled().
15253 (menuSelectionChanged): Implemented.
15254 (ActionChangeListener): New Listener. Implemented.
15255 * javax/swing/plaf/basic/BasicMenuBarUI.java:
15256 (BasicMenuBarUI.ContainerHandler): Implemented.
15257 * javax/swing/plaf/basic/BasicMenuItemUI.java:
15258 (paintMenuItem): Uncommented out code that paints
15259 icon, now that icons are working properly.
15260 (PropertyChangeListener): Implemented.
15261 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
15263 (topWindowListener): New field.
15264 (Constructor): initialize topWindowListener.
15265 (BasicPopupMenuUI.TopWindowListener): Implemented.
15266 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
15267 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
15270 2004-07-21 Michael Koch <konqueror@gmx.de>
15272 * javax/swing/plaf/basic/BasicButtonUI.java
15273 (paintFocus): Fixed method signature.
15274 (paintButtonPressed): Likewise.
15275 (paintButtonNormal): Likewise.
15276 (paintText): New method.
15277 * javax/swing/plaf/basic/BasicLabelUI.java
15278 (paint): Re-indented.
15279 * javax/swing/plaf/basic/BasicTextUI.java
15280 (installUI): Set parent textComponent to opaque.
15281 * javax/swing/text/DefaultHighlighter.java
15282 (checkPositions): New helper method.
15283 (addHighlight): Throws BadLocationException, check positions.
15284 (changeHighlight): Likewise.
15285 * javax/swing/text/EditorKit.java
15286 (EditorKit): Implements Serializable.
15287 * javax/swing/text/JTextComponent.java
15288 (getUI): Added javadoc.
15290 (upadteUI): Added javadoc, don't revalidate and repaint.
15292 2004-07-21 David Jee <djee@redhat.com>
15294 * java/awt/GridBagLayout.java
15295 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
15296 * javax/swing/AbstractButton.java
15297 (setText): Reindent.
15298 * javax/swing/RepaintManager.java
15299 (addInvalidComponent): Find the first ancestor that isValidateRoot().
15301 2004-07-21 Michael Koch <konqueror@gmx.de>
15303 * javax/swing/JFormattedTextField.java
15304 (value): New field.
15305 (JFormattedTextField): Implemented.
15306 (getValue): Likewise.
15307 (setValue): Likewise.
15308 * javax/swing/LookAndFeel.java
15309 (getSupportsWindowDecorations): New method.
15310 * javax/swing/UIDefaults.java:
15311 Use java.beans.PropertyChangeSupport instead of doing all ourself.
15312 (addPropertyChangeListener): Made public.
15313 (addResourceBundle): Likewise.
15314 (removeResourceBundle): Likewise.
15315 (setDefaultLocale): Likewise.
15316 * javax/swing/plaf/basic/BasicRootPaneUI.java
15317 (BasicRootPaneUI): Implements PropertyChangeListener.
15318 (propertyChange): New method.
15319 * javax/swing/plaf/basic/BasicTextUI.java
15320 (BasicHighlighter): New inner class.
15321 (createHighlighter): New method.
15322 * javax/swing/plaf/basic/BasicToolBarUI.java
15323 (DragWindow): Extends java.awt.Window.
15324 * javax/swing/text/JTextComponent.java
15325 (getDocument): Removed debug output.
15326 * javax/swing/plaf/basic/BasicTextFieldUI.java,
15327 javax/swing/text/DefaultHighlighter.java,
15328 javax/swing/text/FieldView.java,
15329 javax/swing/text/PlainView.java: New files.
15330 * Makefile.am: Added new files.
15331 * Makefile.in: Regenerated.
15333 2004-07-21 Michael Koch <konqueror@gmx.de>
15335 * javax/swing/JEditorPane.java
15336 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
15337 (createEditorKitForContentType): Likewise.
15338 * javax/swing/text/DefaultEditorKit.java
15339 (serialVersionUID): Added constant field.
15340 (EndOfLineStringPropery): Fixed typo.
15341 (DefaultEditorKit): New constructor.
15342 * javax/swing/text/Segment.java:
15343 Import java.text.CharacterIterator.
15344 * javax/swing/text/CharacterIterator.java,
15345 javax/swing/text/PlainEditorKit.java: Removed.
15346 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
15347 javax/swing/text/PlainEditorKit.java.
15348 * Makefile.in: Regenerated.
15350 2004-07-21 Michael Koch <konqueror@gmx.de>
15352 * javax/swing/JButton.java,
15353 javax/swing/text/DefaultEditorKit.java,
15354 javax/swing/text/EditorKit.java,
15355 javax/swing/text/Segment.java,
15356 javax/swing/text/StyledEditorKit.java:
15359 2004-07-21 Michael Koch <konqueror@gmx.de>
15361 * javax/swing/ImageIcon.java
15363 (description): Renamed from descr.
15364 (ImageIcon): Added missing constructors.
15365 (setParent): Removed.
15366 (setImageObserver): New method.
15367 (getImageObserver): New method.
15368 (paintIcon): Handle observer = null.
15369 * javax/swing/JButton.java
15370 (removeNotify): Fixed javadoc.
15371 (updateUI): Simplified.
15372 * javax/swing/JRootPane.java
15373 (serialVersionUID): New constant field.
15374 * javax/swing/UIManager.java:
15375 Fixed javadocs all over.
15376 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
15377 * javax/swing/text/AbstractDocument.java
15378 (createPosition): Throws BadLocationException.
15379 (getText): Likewise.
15380 (remove): Likewise.
15381 * javax/swing/text/ComponentView.java
15382 (modelToView): Likewise.
15383 * javax/swing/text/DefaultEditorKit.java:
15384 Made all public methods public.
15385 (read): Throws BadLocationException and IOException.
15387 * javax/swing/text/EditorKit.java:
15388 Made all public methods public.
15389 (serialVersionUID): New constant field.
15390 (clone): New method.
15391 (read): Throws BadLocationException and IOException.
15393 * javax/swing/text/Segment.java
15394 (array): Made public.
15396 (offset): Likewise.
15397 (Segment): New constructors.
15398 (clone): Reimplemented.
15399 * javax/swing/text/StyledEditorKit.java
15400 (serialVersionUID): New constant field.
15402 2004-07-21 Graydon Hoare <graydon@redhat.com>
15404 * java/awt/image/BufferedImage.java
15405 (getSource): Implement.
15406 * javax/swing/ImageIcon.java
15407 (ImageIcon): Implement ctor.
15408 * javax/swing/ScrollPaneLayout.java
15409 (preferredLayoutSize): Be more careful about nulls.
15411 2004-07-21 Michael Koch <konqueror@gmx.de>
15413 * javax/swing/text/AttributeSet.java
15414 (CharacterAttribute): New interface
15415 (ColorAttribute): Likewise.
15416 (FontCharacterAttribute): Likewise.
15417 (ParagraphAttribute): Likewise.
15418 * javax/swing/text/DefaultCaret.java
15419 (moveCaret): New method.
15420 (positionCaret): Likewise.
15421 (repaint): Made protected.
15422 * javax/swing/text/JTextComponent.java
15423 (KeyBinding): Made it static.
15424 * javax/swing/text/View.java
15425 (getContainer): Honor parent == null.
15427 2004-07-21 Michael Koch <konqueror@gmx.de>
15429 * javax/swing/text/AbstractDocument.java:
15432 2004-07-21 Michael Koch <konqueror@gmx.de>
15434 * javax/swing/plaf/basic/BasicRootPaneUI.java:
15435 Import javax.swing.UIManager explicitely.
15436 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15437 (ScrollingButton): Made it static.
15439 2004-07-21 Michael Koch <konqueror@gmx.de>
15441 * javax/swing/UIDefaults.java
15442 (ActiveValue): Made public.
15443 (LazyValue): Likewise.
15444 * javax/swing/plaf/basic/BasicTextUI.java
15445 (RootView): Reintroduced.
15447 (rootView): New field.
15448 (installUI): Create document if needed, initialize rootView.
15449 (uninstallUI): Hanle rootView.
15451 (getRootView): Likewise.
15452 (setView): Likewise.
15453 * javax/swing/text/DefaultCaret.java:
15454 Renamed all "evt" variables to "event".
15456 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
15458 * libgcj.spec.in: Add -l-java-util-logging.
15460 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
15462 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
15463 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
15464 gtk-xft-dpi can no calculate the right value.
15465 (dpi_changed_cb): Mark *pspec as unsused.
15467 2004-07-21 David Jee <djee@redhat.com>
15469 * java/awt/Component.java
15470 (move): Delegate to setBounds().
15471 (resize): Likewise.
15472 (reshape): Fix so it repaints parent and self only when necessary.
15474 2004-07-21 David Jee <djee@redhat.com>
15476 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
15477 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15478 (GtkComponentPeer): Revert previous patch from 2004-06-22.
15479 (setVisible): Likewise.
15482 (getArgs): Likewise.
15483 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15484 (property_notify_predicate): Likewise.
15485 (find_layout): Likewise.
15486 (connectJObject): Likewise.
15487 (connectSignals): Likewise.
15488 (moveLayout): Likewise.
15489 (gtkLayoutSetVisible): Likewise.
15491 2004-07-21 Graydon Hoare <graydon@redhat.com>
15494 (jv_convert_LDADD):
15497 (rmiregistry_LDADD): Add lib-java-util-logging.la
15498 * Makefile.in: Regenerate.
15500 2004-07-21 Michael Koch <konqueror@gmx.de>
15502 * javax/swing/text/AbstractDocument.java
15503 (replace): Dont use protected method of java.util.Vector directly.
15505 2004-07-21 Michael Koch <konqueror@gmx.de>
15507 * javax/swing/plaf/basic/BasicTextUI.java
15508 (installUI): Call specialized install methods.
15509 (installDefaults): New method.
15510 (installListeners): Likewise.
15511 (installKeyboardActions): Likewise.
15512 (uninstallUI): Likewise.
15513 (uninstallDefaults): New method.
15514 (uninstallListeners): Likewise.
15515 (uninstallKeyboardActions): Likewise.
15516 (getPropertyPrefix): New abstract method.
15517 (paint): Made final, just call paintSafely().
15518 (paintSavely): New method.
15519 (paintBackground): Likewise.
15520 (getVisibleEditorRect): Likewise.
15521 * javax/swing/text/LayeredHighlighter.java,
15522 javax/swing/text/TabExpander.java: New files.
15523 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
15524 and javax/swing/text/TabExpander.java.
15525 * Makefile.in: Regenerated.
15527 2004-07-21 Michael Koch <konqueror@gmx.de>
15529 * javax/swing/plaf/basic/BasicTextUI.java
15530 (BasicTextUI): Made abstract.
15531 (BasicCaret): New inner class.
15532 (view): Don't explicitely initialize with "null".
15533 (textComponent): New field.
15534 (textColor): Removed.
15535 (disabledTextColor): Removed.
15536 (normalBackgroundColor): Removed.
15537 (RootView): Removed commented out inner class.
15538 (createUI): Removed.
15539 (createCaret): New method.
15540 (getComponent): Likewise.
15541 (installUI): Initialize textComponent only.
15542 (getPreferredSize): Use installed JTextComponent.
15543 (setView): New method.
15544 (create): Likewise.
15545 * javax/swing/text/JTextComponent.java
15546 (highlighter): New field.
15547 (caretColor): Likewise.
15548 (disabledTextColor): Likewise.
15549 (seletedTextColor): Likewise.
15550 (selectionColor): Likewise.
15551 (setUI): New method.
15552 (getCaretColor): Likewise.
15553 (setCaretColor): Likewise.
15554 (getDisabledColor): Likewise.
15555 (setDisabledColor): Likewise.
15556 (getSelectedTextColor): Likewise.
15557 (setSelectedTextColor): Likewise.
15558 (getSelectionColor): Likewise.
15559 (setSelectionColor): Likewise.
15560 (getHighlighter): Likewise.
15561 (setHighlighter): Likewise.
15562 (replaceSelection): Likewise.
15564 2004-07-21 Michael Koch <konqueror@gmx.de>
15566 * javax/swing/plaf/basic/BasicScrollPaneUI.java
15567 (BasicScrollPaneUI): Implements ScrollPaneConstants.
15568 * javax/swing/plaf/basic/BasicToolBarUI.java
15569 (BasicToolBarUI): Implements SwingConstants.
15571 2004-07-21 Michael Koch <konqueror@gmx.de>
15573 * javax/swing/JPopupMenu.java: Removed CVS tags.
15574 * javax/swing/UIDefaults.java: Reformatted.
15575 * javax/swing/plaf/basic/BasicRootPaneUI.java:
15576 Explicitely import used classes.
15578 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
15580 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
15581 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15582 (GtkComponentPeer): Remove temporary try/catch block.
15583 (setVisible): Call show and hide.
15584 (show): Make native.
15586 (getArgs): Don't add "visible" argument.
15587 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15588 (property_notify_predicate): Return Bool instead of int.
15589 (find_layout): New function.
15590 (connectJObject): Call find_layout.
15591 (connectSignals): Likewise.
15592 (moveLayout): Likewise.
15593 (gtkLayoutSetVisible): Likewise.
15595 2004-07-21 Olga Rodimina <rodimina@redhat.com>
15597 * javax/swing/AbstractButton.java:
15598 (setDisplayedMnemonicIndex): Check if button
15599 text is not null before checking its length.
15600 * javax/swing/JMenuItem.java:
15601 (processMouseEvent): Disarm menu item if mouse has
15603 * javax/swing/plaf/basic/BasicMenuUI.java:
15604 (MouseInputHandler.mouseEntered): Do not raise
15605 popup menu if this menu is already selected.
15606 (MouseInputHandler.mousePressed): Do not fire
15608 (MenuHandler): Implemented.
15610 2004-07-21 Olga Rodimina <rodimina@redhat.com>
15612 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
15613 (getSelectedObjects): Implemented.
15614 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
15615 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
15616 Added javadoc for few methods.
15617 (processMouseEvent): Made public.
15618 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
15619 (processMouseEvent): Likewise.
15621 2004-07-21 Olga Rodimina <rodimina@redhat.com>
15623 * javax/swing/AbstractButton.java:
15624 (init): Set display mnemonic index to -1.
15625 (setMnemonic(char)): Use setMnemonic(int).
15626 (setMnemonic(int)): Set display mnemonic index.
15627 (getDisplayedMnemonicIndex): Change method signature
15628 by removing 'index' parameter.
15629 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15630 Added default for Menu.selectionBackground.
15631 * javax/swing/plaf/basic/BasicMenuItemUI.java:
15632 (paintMenuItem): Change background color of the selected
15634 (paintText): Paint differently when menu item is disabled.
15635 Also paint mnemonic if it appears in the menu item's label.
15636 (paintAccelerator): Paint accelerator differently
15637 if menu item is disabled.
15638 * javax/swing/plaf/basic/BasicMenuUI.java:
15639 (installDefaults): Install defaults for
15640 selectionForeground and selectionBackground.
15641 (uninstallDefaults): Uninstall defauls for
15642 selectionForeground and selectionBackground.
15644 2004-07-21 Michael Koch <konqueror@gmx.de>
15646 * javax/swing/text/AbstractDocument.java
15647 (BranchElement): Implemented.
15648 (LeafElement): Implemented.
15649 * javax/swing/text/DefaultCaret.java:
15650 Import used classes.
15651 (serialVersionUID): New constant.
15652 * javax/swing/text/JTextComponent.java
15653 (AccessibleJTextComponent): Removed dead declaration.
15654 (caretPos): Removed.
15655 (setCaret): New method.
15656 * javax/swing/text/PlainDocument.java
15657 (rootElement): New field.
15658 (PlainDocument): Initialize rootElement.
15659 (createDefaultRoot): New method.
15660 (getDefaultRootElement): Implemented.
15661 * javax/swing/text/View.java: Reformatted.
15662 * javax/swing/text/ViewFactory.java
15663 (create): Added javadoc.
15665 2004-07-21 Michael Koch <konqueror@gmx.de>
15667 * javax/swing/ToolTipManager.java: Reformatted.
15669 2004-07-21 Rodimina Olga <rodimina@redhat.com>
15671 * javax/swing/AbstractButton.java
15672 (changeEvent): New field.
15673 (fireItemStateChanged): Change source of the event
15674 to 'this' before firing it to button listeners.
15675 (fireActionPerformed): Likewise.
15676 (fireStateChanged): Likewise.
15677 (createActionListener): Do not set source
15678 of the event to AbstractButton.
15679 * javax/swing/plaf/basic/BasicMenuBarUI.java:
15680 (ContainerHandler.componentAdded): Removed
15681 print out statement.
15682 (ContainerHandler.componentRemoved): Likewise.
15684 2004-07-21 Michael Koch <konqueror@gmx.de>
15686 * javax/swing/text/Highlighter.java: New file.
15687 * Makefile.am: Added javax/swing/text/Highlighter.java.
15688 * Makefile.in: Regenerated.
15690 2004-07-21 Michael Koch <konqueror@gmx.de>
15692 * javax/swing/ToolTipManager.java
15693 (stillInsideTimerAction): Fixed constructor arguments.
15694 (outsideTimerAction): Likewise.
15695 (insideTimerAction): Likewise.
15697 2004-07-21 Michael Koch <konqueror@gmx.de>
15699 * javax/swing/JButton.java: Reformatted.
15700 * javax/swing/JFormattedTextField.java
15701 (getUIClassID): Implemented.
15702 * javax/swing/JRootPane.java
15703 (serialVersionUID): New constant.
15704 * javax/swing/JTextField.java
15705 (align): New field.
15706 (JTextField): Simplified.
15707 (getUIClassID): New method.
15708 (getActionListeners): Added @since tag.
15709 (setColumns): Invalidate layout and repaint.
15710 (getHorizontalAlignment): New method.
15711 (setHorizontalAlignment): New method.
15712 (selectAll): Removed.
15713 * javax/swing/SwingUtilities.java
15714 (getAncestorOfClass): Removed redundant @see tag.
15715 (isLeftMouseButton): Fixed implementation.
15716 (isMiddleMouseButton): Likewise.
15717 (isRightMouseButton): Likewise.
15718 * javax/swing/text/AbstractDocument.java
15719 (AttributeContext.addAttribute): New method.
15720 (AttributeContext.addAttributes): New method.
15721 (AttributeContext.getEmptySet): New method.
15722 (AttributeContext.reclaim): New method.
15723 (AttributeContext.removeAttribute): New method.
15724 (AttributeContext.removeAttributes): New method.
15725 * javax/swing/text/Document.java
15726 (createPosition): Throws BadLocationException.
15727 (getText): Likewise.
15728 (remove): Likewise.
15729 * javax/swing/text/JTextComponent.java
15730 (getText): Return null if no document is set. Catch
15731 BadLocationException.
15732 (getUI): Return ui.
15733 (updateUI): Simplified.
15735 2004-07-21 Michael Koch <konqueror@gmx.de>
15737 * javax/swing/JButton.java
15738 (removeNotify): Fixed javadoc.
15739 (updateUI): Simplified.
15741 2004-07-21 David Jee <djee@redhat.com>
15743 * gnu/java/awt/image/ImageDecoder.java
15744 (startProduction): Only add consumer if it's not added yet.
15745 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
15746 (GdkPixbufDecoder): Don't call initState() here.
15747 (produce): Call initState() here, to ensure area_prepared and
15748 area_updated signals are properly connected.
15749 * gnu/java/awt/peer/gtk/GtkImage.java
15750 (setColorModel): Use equals() to compare ColorModel objects.
15751 (setPixels): Likewise.
15752 * java/awt/image/ColorModel.java
15753 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
15754 * java/awt/image/RGBImageFilter.java
15755 (setColorModel): Set consumer's color model.
15756 (setPixels): Use equals() to compare ColorModel objects.
15758 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
15760 * java/net/URLConnection.java (position): New field.
15761 (dateFormat1, dateFormat2, dateFormat3): Removed.
15762 (dateFormats): New field.
15763 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
15764 each time instead of re-allocating.
15765 (initializeDateFormats): Initialize 'dateFormats'.
15767 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
15770 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
15773 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
15775 * java/net/Socket.java (getImpl): Now private. Remove comment.
15777 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
15779 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
15780 of chained Writer when calling super-constructor.
15781 * java/io/FilterWriter.java (FilterWriter): Likewise.
15782 * java/io/PrintWriter.java (PrintWriter): Likewise.
15784 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
15786 * prims.cc (process_gcj_properties): Don't increment i within LHS
15789 2004-07-19 Per Bothner <per@bothner.com>
15791 Print -verbose:message on "loading", not initialization.
15792 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
15793 * defineclass.cc (_Jv_ClassReader::parse): Print message if
15794 gcj::verbose_class_flag.
15795 * java/lang/natClass.cc (initializeClass): Don't print message here.
15796 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
15797 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
15798 (_Jv_PrepareCompiledClass): Likewise.
15800 2004-07-18 Matthias Klose <doko@debian.org>
15802 * configure.in: Substitute target_noncanonical.
15803 * configure: Regenerate
15805 2004-07-17 Michael Koch <konqueror@gmx.de>
15807 * java/lang/String.java: Fixed javadocs all over.
15809 2004-07-17 Mark Wielaard <mark@klomp.org>
15811 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
15812 when size is smaller.
15813 * java/io/RandomAccessFile.java (setLength): Use truncate for
15814 shrinking the file and seek plus write for expanding the file.
15816 2004-07-17 Michael Koch <konqueror@gmx.de>
15818 * gnu/java/nio/channels/natFileChannelPosix.cc
15819 (implTruncate): Always save current position. Only reposition file
15820 pointer to where we started if not beyond new lenght. Reposition file
15821 pointer to file length if it points beyond the end of file.
15823 2004-07-17 Mark Wielaard <mark@klomp.org>
15825 * javax/swing/Box.java: Put FIXME comment above class declaration.
15826 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
15827 * javax/swing/JCheckBox.java: Likewise.
15828 * javax/swing/JDialog.java: Likewise.
15829 * javax/swing/JRadioButton.java: Likewise.
15830 * javax/swing/JToggleButton.java: Likewise.
15831 * javax/swing/UIManager.java: Likewise.
15832 * javax/swing/border/TitledBorder.java: Likewise.
15833 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
15834 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
15835 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
15836 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
15837 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
15838 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
15839 * javax/swing/text/JTextComponent.java: Likewise.
15841 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
15843 * java/net/DatagramPacket.java (setAddress): Removed check for
15846 2004-07-17 Michael Koch <konqueror@gmx.de>
15848 * java/net/DatagramSocket.java
15849 (getLocalAddress): Check if socket is bound or not.
15850 * java/net/Socket.java
15851 (getLocalAddrss): Check if socket is bound or not.
15852 (getPort): Return -1 when not connected. Dont check getImpl() for
15854 (setReuseAddress): Check if socket is closed.
15855 (isConnected): Check if getImpl() returns null.
15857 2004-07-17 Mark Wielaard <mark@klomp.org>
15859 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
15860 on notifier object before calling notifyAll().
15862 2004-07-17 Michael Koch <konqueror@gmx.de>
15864 * gnu/java/nio/channels/FileChannelImpl.java
15865 (finalize): Added javadoc.
15867 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
15869 * java/text/CollationElementIterator.java
15870 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
15871 (setText): Use ArrayList instead of Vector.
15873 2004-07-17 Michael Koch <konqueror@gmx.de>
15875 * java/nio/ByteOrder.java
15876 (static): Removed. Not needed.
15877 Thanks to Patrick Reali for noticing.
15878 * java/nio/charset/CharsetDecoder.java
15879 (decode): Fix for classpath bug #9177: Reset state before flipping.
15881 2004-07-17 Michael Koch <konqueror@gmx.de>
15883 * java/security/Security.java: Fixed javadocs all over.
15885 2004-07-17 Michael Koch <konqueror@gmx.de>
15887 * gnu/java/awt/EmbeddedWindow.java
15889 (addNotify): Set peer via reflection.
15890 (setWindowPeer): Removed.
15891 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
15892 * Makefile.am (nat_source_files):
15893 Removed gnu/java/awt/natEmbeddedWindow.cc.
15894 * Makefile.in: Regenerated.
15896 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
15898 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
15900 * configure: Regenerated.
15902 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
15904 * configure.in: Use build_noncanonical rather than build_alias.
15905 * configure: Rebuild.
15907 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
15908 by logic refactoring. Move default definition of NATIVE closer
15909 to first alternate definition.
15910 * configure: Regenerate.
15912 * Makefile.am: Set ZIP and GCJH directly using autoconf.
15913 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
15914 gcj/Makefile.in: Regenerate.
15915 * configure.in: Set ZIP and GCJH. Remove redundant condition
15916 in AM_CONDITIONAL(NATIVE,...)
15917 * configure: Regenerate.
15919 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
15921 * configure.in: Use target_noncanonical rather than
15922 target_alias for forward-compatibility with autoconf 2.59.
15923 * configure: Regenerate.
15924 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
15925 testsuite/Makefile.am: Substitute target_noncanonical.
15926 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
15927 testsuite/Makefile.in: Regenerate.
15929 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
15930 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
15931 * acinclude.m4: Include acx.m4.
15932 * aclocal.m4: Regenerate.
15933 * configure: Regenerate.
15935 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
15938 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
15939 (decimalFormat): New static variable.
15941 (getTime): New. Override Date.getTime().
15942 (toString): Synchronize. Use decimalFormat to format nanos value
15943 correctly. Truncate extra zeros.
15944 (before): Compare getNanos() only if getTime() is equal.
15947 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
15949 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
15950 * configure.in: ...here.
15951 * aclocal.m4: Regenerate.
15952 * configure: Regenerate.
15954 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
15955 * configure: Rebuilt with autoconf 2.13.
15956 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
15957 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
15959 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
15962 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
15963 large file support.
15964 * Makefile.in: Rebuilt.
15965 * testsuite/libjava.lang/LargeFile.java: New test case.
15966 * testsuite/libjava.lang/LargeFile.out: New file.
15968 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
15970 * java/beans/EventHandler.java: Remove debugging statements.
15972 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
15974 * java/beans/EventHandler.java: New file.
15975 * Makefile.am (awt_java_source_files): Add EventHandler.java.
15976 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
15977 testsuite/Makefile.in: Regenerate.
15979 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
15981 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
15982 flag to the gcj_setup.
15983 (gcj_jacks_run): Check tclsh version and launch jacks directly with
15985 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
15986 deprecation flag change. 58 XFAILS removed.
15988 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
15990 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
15991 -fno-use-divide-subroutine.
15992 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
15993 (HANDLE_FPE): Define.
15994 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
15995 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
15996 (HANDLE_DIVIDE_OVERFLOW): Define.
15998 2004-07-14 Michael Koch <konqueror@gmx.de>
15999 Matthias Klose <doko@debian.org>
16001 * java/awt/im/InputContext.java: Initialize in, line.
16003 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
16005 * interpret.cc (run): Correctly access libffi return values of
16006 integral smaller-than-int type; these are implicitly promoted.
16008 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
16011 * interpret.cc (compile_mutex): New.
16012 (_Jv_InitInterpreter): New. Initialize compile_mutex.
16013 (run): Lock compile_mutex before calling compile() if compilation is
16015 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
16016 * include/java-interp.h (_Jv_InitInterpreter): Declare.
16018 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
16021 * include/jvm.h (_Jv_value): New union type.
16022 * gcj/field.h (_Jv_Field): Add new _addr union field variants
16023 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
16026 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
16028 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
16029 * gnu/awt/xlib/XOffScreenImage.java
16030 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
16031 constructor argument. Add constructor using ImageProducer.
16032 (getSource): Implement.
16033 (imageComplete): New method.
16034 (setColorModel): New method.
16035 (setDimensions): New method.
16036 (setHints): New method.
16037 (setPixels): New method.
16038 (setProperties): New method.
16039 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
16040 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
16042 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
16045 * prims.cc (_Jv_CreateJavaVM): Fix comment.
16046 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
16047 (finalizerReady): Now native.
16049 (runFinalizers): Removed.
16050 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
16051 a primitive lock, and don't hold it while running the finalizers.
16052 (runFinalizers): Implement. Don't aquire any Java lock.
16053 (finalizerReady): Use lock primitives to signal finalizer thread.
16055 2004-07-11 Mark Wielaard <mark@klomp.org>
16057 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
16058 * java/net/URLStreamHandler.java (parseURL): When url file part
16059 doesn't contain a '/' just ignore context.
16061 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
16063 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
16064 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
16065 (MAKE_THROW_FRAME): Do not modify PSW address.
16066 (INIT_SEGV): Install SIGINFO-style signal handler.
16067 (INIT_FPE): Likewise.
16069 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
16071 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
16072 status. 21 xfail's removed, 1 added.
16074 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
16076 * gcj/javaprims.h: Regenerate CNI namespace definitions.
16078 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
16080 * java/text/MessageFormat.java
16081 (formatInternal): Append "{n}" if argument n is unavailable.
16082 (format(Object, StringBuffer, FieldPosition)): This
16083 should be equivalent to format(Object[],
16084 StringBuffer, FieldPosition).
16086 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
16088 * java.util.Calendar.java (cache): New private static field. Cached
16089 mappings of locales->calendar classes.
16090 (ctorArgTypes): New private static field. Singleton argument for
16091 calendar class constructor lookup.
16092 (getInstance): Cache Locale->Calendar class mappings using HashMap.
16093 Optimize by bypassing reflection instantiation for the
16094 GregorianCalendar case.
16096 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
16098 * java/util/Calendar.java: Use getSystemClassLoader as argument for
16099 ResourceBundle.getBundle() calls.
16100 * java/util/GregorianCalendar.java: Likewise.
16101 * java/util/Currency.java: Likewise.
16102 * java/text/BreakIterator.java: Likewise.
16103 * java/text/Collator.java: Likewise.
16104 * java/text/DateFormat.java: Likewise.
16105 * java/text/DateFormatSymbols.java: Likewise.
16106 * java/text/DecimalFormatSymbols.java: Likewise.
16107 * java/text/NumberFormat.java: Likewise.
16108 * java/awt/Window.java: Likewise.
16110 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
16112 * java/util/ResourceBundle.java (bundleCache): Renamed from
16113 resourceBundleCache. Update comments.
16114 (getObject): Don't catch MissingResourceException.
16115 (getBundle(String)): Remove 'final'. Use system classloader if
16116 getCallingClassLoader returned null.
16117 (getBundle(String, Locale)): Likewise.
16118 (BundleKey): New private class. HashMap key for bundle cache lookup.
16119 (lookupKey): New. Singleton instance of BundleKey.
16120 (nullEntry): New. Cache entry to represent failed lookups.
16121 (getBundle(String, Locale, ClassLoader)): Re-written to use new
16122 caching strategy, no-allocation lookup, and new tryBundle methods.
16123 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
16124 name using given classloader.
16125 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
16126 baseName for given Locale and attempt to load bundle.
16128 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
16130 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
16131 illegal protected method calls.
16133 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
16135 Fix or remove some bogus test cases.
16136 * testsuite/libjava.compile/pr10459_2.java: Removed.
16137 * testsuite/libjava.compile/pr10459.java: Test using its own method,
16138 not Object.clone().
16139 * testsuite/libjava.compile/inner_data.java: Test against its own
16142 2004-07-09 Michael Koch <konqueror@gmx.de>
16144 * scripts/unicode-muncher.pl: Updated to version 2.1
16145 from GNU classpath. Added some clarifications on where to find the
16146 needed files from www.unicode.org.
16147 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
16148 gnu/gcj/convert/UnicodeData-3.0.0.txt:
16149 Removed, these can directly be downloaded from www.unicode.org if
16151 * gnu/java/lang/CharData.java: Regenerated.
16152 * include/java-chartables.h: Regenerated.
16153 * Makefile.am (ordinary_java_source_files):
16154 Removed gnu/java/lang/CharData.java.
16155 * Makefile.in: Regenerated.
16157 2004-07-09 Michael Koch <konqueror@gmx.de>
16159 * java/security/AccessControlContext.java,
16160 java/security/SecureClassLoader.java:
16163 2004-07-09 Michael Koch <konqueror@gmx.de>
16165 * java/io/ObjectInputStream.java (readFields): Use long datatype
16166 when shifting byte values more then 24 bits left.
16168 2004-07-09 Michael Koch <konqueror@gmx.de>
16170 * java/util/zip/DeflaterOutputStream.java,
16171 java/util/zip/GZIPInputStream.java,
16172 java/util/zip/GZIPOutputStream.java,
16173 java/util/zip/InflaterInputStream.java:
16174 Reformatted. Added javadocs. Reordered all stuff.
16175 Renamed variables to be more clear.
16177 2004-07-09 Michael Koch <konqueror@gmx.de>
16179 * javax/imageio/IIOException.java,
16180 javax/imageio/event/IIOReadProgressListener.java,
16181 javax/imageio/event/IIOReadUpdateListener.java,
16182 javax/imageio/event/IIOReadWarningListener.java,
16183 javax/imageio/event/IIOWriteProgressListener.java,
16184 javax/imageio/event/IIOWriteWarningListener.java:
16186 * Makefile.am: Added new files.
16187 * Makefile.in: Regenerated.
16189 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
16191 * java/text/RuleBasedCollator.java
16192 (mergeRules): Use ArrayList instead of Vector.
16193 (subParseString): likewise.
16194 (parseString): likewise.
16195 (buildCollationVector): likewise.
16196 (getCollationKey): likewise.
16198 2004-07-09 Dalibor Topic <robilad@kaffe.org>
16200 * java/text/DateFormat.java (parse):
16201 Improved javadoc. Improved exception message.
16203 2004-07-09 Mark Wielaard <mark@klomp.org>
16205 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
16206 interrupted() method to clear interupt flag of our Thread.
16208 2004-07-09 Dalibor Topic <robilad@kaffe.org>
16210 * java/nio/Buffer.java,
16211 java/nio/ByteBuffer.java,
16212 java/nio/ByteBufferHelper.java,
16213 java/nio/ByteBufferImpl.java,
16214 java/nio/CharBuffer.java,
16215 java/nio/CharBufferImpl.java,
16216 java/nio/CharViewBufferImpl.java,
16217 java/nio/DirectByteBufferImpl.java,
16218 java/nio/DoubleBuffer.java,
16219 java/nio/DoubleBufferImpl.java,
16220 java/nio/DoubleViewBufferImpl.java,
16221 java/nio/FloatBuffer.java,
16222 java/nio/FloatBufferImpl.java,
16223 java/nio/FloatViewBufferImpl.java,
16224 java/nio/IntBuffer.java,
16225 java/nio/IntBufferImpl.java,
16226 java/nio/IntViewBufferImpl.java,
16227 java/nio/LongBuffer.java,
16228 java/nio/LongBufferImpl.java,
16229 java/nio/LongViewBufferImpl.java,
16230 java/nio/MappedByteBufferImpl.java,
16231 java/nio/ShortBuffer.java,
16232 java/nio/ShortBufferImpl.java,
16233 java/nio/ShortViewBufferImpl.java:
16234 Fixed javadocs all over. Improved input error
16237 * java/nio/Buffer.java
16238 (checkForUnderflow, checkForOverflow, checkIndex,
16239 checkIfReadOnly, checkArraySize): New helper methods
16240 for error checking.
16242 * java/nio/ByteBufferHelper.java
16243 (checkRemainingForRead, checkRemainingForWrite,
16244 checkAvailableForRead, checkAvailableForWrite): Removed
16245 no longer needed methods.
16247 2004-07-09 Michael Koch <konqueror@gmx.de>
16249 * gnu/regexp/CharIndexedInputStream.java:
16250 Reordered imports to match classpath.
16252 2004-07-09 Michael Koch <konqueror@gmx.de>
16254 * gnu/java/awt/EmbeddedWindow.java:
16255 Load native library for setWindowPeer method.
16257 2004-07-08 Randolph Chung <tausq@debian.org>
16259 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
16260 * configure: Regenerate.
16261 * configure.host: Set can_unwind_signal for hppa*-linux.
16262 * include/pa-signal.h: New file.
16264 2004-07-07 Per Bothner <per@bothner.com>
16266 * Makefile.am: Add rules to build libgij from just gij.cc.
16268 * include/jvm.h (namespace jcj): Declare verbose_class_flag
16269 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
16270 (initializeClass): If verbose_class_flag, print message.
16271 * gij.cc (main): Handle -verbose:class flag.
16273 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
16275 * configure.host: Enable hash synchronization on Darwin.
16276 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
16277 ';', since this is a comment on Darwin.
16278 (compare_and_swap_release): Likewise.
16280 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
16282 * java/net/URLStreamHandler.java (parseURL): Canonicalize
16283 file portion of URL in addition to spec for file: protocol.
16285 2004-07-05 Anthony Green <green@redhat.com>
16287 * java/io/File.java (toURI): Merge from Classpath.
16289 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
16291 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
16292 before passing to URL constructor. Rethrow any MalformedURLException
16293 as a RuntimeException. Catch MalformedURLException specifically, not
16296 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
16298 * java/util/Locale.java (readObject): Intern strings read from object
16301 2004-07-04 Michael Koch <konqueror@gmx.de>
16303 * gnu/gcj/runtime/FirstThread.java,
16304 gnu/gcj/runtime/natFirstThread.cc: Removed.
16305 * gnu/java/lang/MainThread.java,
16306 gnu/java/lang/natMainThread.cc: New files.
16307 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
16308 * Makefile.am: Added new files and removed deleted ones.
16309 * Makefile.in: Regenerated.
16311 2004-07-03 Mark Wielaard <mark@klomp.org>
16312 Anthony Green <green@redhat.com>
16314 * java/net/URL.java (getFile): Clarify return value doc.
16315 (getPath): Return null if file is empty - not empty String.
16316 (set): Convert protocol to lower case before doing anything.
16317 Only change the protocol handler if it's different.
16319 2004-07-03 Anthony Green <green@redhat.com>
16321 * java/net/URL.java (URL): Convert protocol to lower case before
16322 doing anything, so we getURLStreamHandler() with the proper value.
16324 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
16326 * java/util/Locale.java (hashcode): Made transient.
16327 (hashCode): No longer synchronized.
16328 (equals): Remove comment.
16329 (writeObject): No longer synchronized. Implement using writeObject
16330 calls instead of tweaking hashCode field. Update doc.
16331 (readObject): Implement using readObject calls.
16333 2004-06-26 Geoffrey Keating <geoffk@apple.com>
16334 Andreas Tobler <a.tobler@schweiz.ch>
16336 * configure.host (powerpc-*-darwin*): New case, define
16338 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
16339 * configure: Regenerate.
16340 * include/darwin-signal.h: New.
16342 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
16344 * java/beans/Statement.java (doExecute): Fix formatting.
16346 2004-06-29 Per Bothner <per@bothner.com>
16348 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
16349 etc etc): Remove needless parenthesis, which causes __stdcall__
16350 attribute on MinGW to get ignored.
16352 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
16354 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
16356 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
16358 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
16360 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
16362 * java/beans/Expression.java: New file.
16363 * java/beans/Statement.java: New file.
16364 * Makefile.am: Added new files.
16365 * Makefile.in: Re-generate.
16367 2004-06-27 Mark Wielaard <mark@klomp.org>
16369 * java/io/FilePermission.java (usingPerms): Removed.
16370 (actionsString): Made final.
16371 (cachePerms): Renamed to checkPerms.
16372 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
16374 (FilePermission): Check arguments, call checkPerms().
16375 (equals): Remove cachePerms() call.
16376 (implies): Likewise.
16378 2004-06-27 Mark Wielaard <mark@klomp.org>
16380 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
16382 (sendRequest): Use new field in user-agent http agent.
16384 2004-06-27 Mark Wielaard <mark@klomp.org>
16386 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
16387 when argument is null.
16389 2004-06-26 Mark Wielaard <mark@klomp.org>
16391 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
16392 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
16394 (cancel_clicked): Likewise.
16396 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
16398 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
16399 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
16400 can not calculate the right value.
16401 (dpi_changed_cb): Likewise. Mark *pspec as unused.
16403 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
16405 * testsuite/libjava.jacks/jacks.xfail: Remove
16406 15.9.1-qualified-concrete-20.
16408 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
16410 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
16411 encoding name to iconv.
16412 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
16414 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
16417 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
16418 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
16419 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
16421 2004-06-21 Andrew Haley <aph@redhat.com>
16423 * java/io/ObjectOutputStream.java: Add DEBUG statements
16425 (dumpElementln): New method.
16426 (depth): New field.
16427 * java/io/ObjectInputStream.java
16428 (currentClassLoader): Make native.
16429 (callersClassLoader): New field.
16430 (depth): New field.
16431 (readObject): ENDBLOCKDATA is generated if the class has a write
16432 method, not if it has a read method.
16433 (readObject): Save and restore this.currentObject and
16434 this.currentObjectStreamClass around calls to callReadMethod().
16435 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
16438 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
16440 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
16443 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
16445 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
16446 if desired, before the default class loader is initialised.
16447 Call INIT_SEGV only if HANDLE_SEGV is defined.
16449 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
16451 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
16452 directory only if it actually exists.
16454 2004-06-18 Graydon Hoare <graydon@redhat.com>
16456 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
16457 Fix up non-ansi comments.
16459 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
16461 * javax/swing/text/AbstractDocument.java: Adding missing import
16462 for javax.swing.event.EventListenerList.
16463 * javax/swing/text/DefaultCaret.java: Likewise.
16465 2004-06-17 Michael Koch <konqueror@gmx.de>
16467 * javax/swing/JToolBar.java
16469 (JToolBar): Use Component.setName(String) instead of doing it all
16471 * javax/swing/Timer.java
16472 (queueEvent): Added missing modifier.
16474 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
16476 * Makefile.am: Added new file.
16477 * Makefile.in: Re-generate.
16478 * javax/swing/JMenu.java:
16479 (insertSeparator): Implemented.
16480 * javax/swing/JPopupMenu.java:
16481 (JPopupMenu.Separator): Implemented.
16482 * javax/swing/MenuSelectionManager.java:
16483 (processMouseEvent): Use java.awt.Component
16484 for event source instead of javax.swing.JComponent.
16485 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
16486 New File. Implemented.
16488 2004-06-16 David Jee <djee@redhat.com>
16490 * java/awt/GridBagLayout.java
16491 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
16492 Make sure pos_x and pos_y are never negative.
16494 2004-04-16 Andrew Overholt <overholt@redhat.com>
16496 * Makefile.am: Add new file.
16497 * Makefile.in: Re-generate.
16498 * javax/swing/JToolBar.java
16499 Partially implemented.
16500 * javax/swing/plaf/basic/BasicToolBarUI.java
16501 New file. Partially implemented.
16503 2004-06-16 Graydon Hoare <graydon@redhat.com>
16505 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
16506 (setComposite): Accept AlphaComposite arguments.
16507 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
16508 (createBufferedImage): Add new overloads.
16509 * gnu/java/awt/peer/gtk/GtkToolkit.java
16510 (createImage): Use GdkPixbufDecoder.createBufferedImage
16511 when useGraphics2D() is true.
16512 (getImage): Delegate to createImage.
16513 * javax/swing/JList.java
16514 (isSelectionEmpty):
16515 (getFirstVisibleIndex):
16516 (getLastVisibleIndex):
16517 (setSelectedValue):
16518 (ensureIndexIsVisible): New methods.
16519 * javax/swing/Timer.java: Reimplement.
16521 2004-06-16 Michael Koch <konqueror@gmx.de>
16523 * javax/swing/text/AbstractDocument.java
16524 (AbstracElement): Made public, implements java.io.Serializable.
16525 (AttributeContext): Made public.
16526 (BranchElement): Likewise.
16527 (Content): Likewise.
16528 (DefaultDocumentEvent): Made public, extends
16529 javax.swing.undo.CompoundEdit.
16530 (ElementEdit): Made public, extends
16531 javax.swing.undo.AbstractUndoableEdit.
16532 (LeafElement): Made public.
16533 (LeafElement.LeafElement): Made public.
16535 2004-06-16 Michael Koch <konqueror@gmx.de>
16537 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
16538 methods (that were obviously never be intended to get included hi this
16539 class. Added some methods too.
16541 2004-06-16 Michael Koch <konqueror@gmx.de>
16543 * javax/swing/text/PlainDocument.java
16544 (serialVersionUID): New constant.
16545 (lineLimitAttribute): Likewise.
16546 (tabSizeAttribute): Likewise.
16547 (tabSize): New field.
16548 (PlainDocument): Made public.
16549 (PlainDocument): New constructor.
16551 2004-06-16 Michael Koch <konqueror@gmx.de>
16553 * javax/swing/text/AbstractDocument.java
16554 (insertString): Throws BadLocationException.
16555 * javax/swing/text/Document.java
16556 (insertString): Likewise.
16557 * javax/swing/text/JTextComponent.java:
16558 Javadocs and comments cleaned up.
16560 2004-06-16 Michael Koch <konqueror@gmx.de>
16562 * javax/swing/event/UndoableEditListener.java: Reformatted.
16563 * javax/swing/text/AbstractDocument.java
16564 (AbstractDocument): Implements java.io.Serializable.
16565 (doc_list): Removed.
16566 (undo_list): Removed.
16567 (AbstractElement.serialVerionUID): New field.
16568 (BranchElement.serialVerionUID): Likewise.
16569 (DefaultDocumentEvent.serialVerionUID): Likewise.
16570 (ElementEdit.serialVerionUID): Likewise.
16571 (LeafElement.serialVerionUID): Likewise.
16572 (serialVerionUID): Likewise.
16573 (BAD_LOCATION): New constant.
16574 (BidiElementName): Likewise.
16575 (ContentElementName): Likewise.
16576 (ParagraphElementName): Likewise.
16577 (SectionElementName): Likewise.
16578 (ElementNameAttribute): Likewise.
16579 (AbstractDocument): Made protected.
16580 (AbstractDocument): New construtor.
16581 (listenerList): New field.
16582 (fireChangedUpdate): Implemented.
16583 (fireInsertUpdate): Likewise.
16584 (fireRemoveUpdate): Likewise.
16585 (fireUndoableEditUpdate): Likewise.
16586 (getListeners): Likewise.
16587 (addDocumentListener): Likewise.
16588 (removeDocumentListener): Likewise.
16589 (addUndoableEditListener): Likewise.
16590 (removeUndoableEditListener): Likewise.
16591 (getDocumentListeners): New method.
16592 (getUndoableEditListeners): Likewise.
16593 (getAsynchronousLoadPriority): Made public.
16594 (getBidiRootElement): Likewise.
16595 (setAsynchronousLoadPriority): Likewise.
16596 (setDocumentProperties): Likewise.
16597 * javax/swing/text/BadLocationException.java
16598 (serialVerionUID): New field.
16599 * javax/swing/text/DefaultCaret.java
16600 (changeEvent): New field.
16601 (listenerList): Likewise.
16602 (changes): Removed.
16603 (addChangeListener): Reimplemented.
16604 (removeChangeListener): Likewise.
16605 (getListeners): New method.
16606 (getChangeListeners): Likwise.
16607 (getComponent): Likewise.
16608 * javax/swing/text/GapContent.java
16609 (GapContent): Implements java.io.Serializable.
16610 (serialVerionUID): New field.
16612 2004-06-16 Michael Koch <konqueror@gmx.de>
16614 * javax/swing/JTree.java
16615 (treeModel): New field.
16616 (JTree): New constructors, one existing one made public.
16617 (createTreeModel): New method.
16618 (addTreeExpansionListener): Likewise.
16619 (removeTreeExpansionListener): Likewise.
16620 (getTreeExpansionListeners): Likewise.
16621 (fireTreeCollapsed): Likewise.
16622 (fireTreeExpanded): Likewise.
16623 (addTreeSelectionListener): Likewise.
16624 (removeTreeSelectionListener): Likewise.
16625 (getTreeSelectionListeners): Likewise.
16626 (fireValueChanged): Likewise.
16627 (addTreeWillExpandListener): Likewise.
16628 (removeTreeWillExpandListener): Likewise.
16629 (getTreeWillExpandListeners): Likewise.
16630 (fireTreeWillCollapse): Likewise.
16631 (fireTreeWillExpand): Likewise.
16633 2004-06-16 Michael Koch <konqueror@gmx.de>
16635 * javax/swing/JTree.java: Reformatted.
16637 2004-06-16 Michael Koch <konqueror@gmx.de>
16639 * javax/swing/JTextArea.java: New file.
16640 * javax/swing/JTextField.java
16641 (actions): Removed.
16642 (notifyAction): New constant.
16643 (columns): New field.
16644 (JTextField): New constructors.
16645 (createDefaultModel): New method.
16646 (addActionListener): Reimplmemented.
16647 (removeActionListener): Reimplemented.
16648 (getActionListeners): New method.
16649 (fireActionPerformed): New method.
16650 (getColumns): New method.
16651 (setColumne): New method.
16652 * javax/swing/text/JTextComponent.java
16653 (AccessibleJTextComponent.serialVersionUID): New field.
16654 (serialVersionUID): Likewise.
16655 (DEFAULT_KEYMAP): Likewise.
16656 (FOCUS_ACCELERATOR_KEY): Likewise.
16657 (doc): Made private.
16658 (icon_gap): Likewise.
16661 (JTextComponent): Some constructors removed.
16662 (getScrollableTracksViewportHeight): New method.
16663 (getScrollableTracksViewportWidth): Likewise.
16664 * Makefile.am: Added javax/swing/JTextArea.java.
16665 * Makefile.in: Regenerated.
16667 2004-06-15 Graydon Hoare <graydon@redhat.com>
16669 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
16670 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
16671 * javax/swing/JViewport.java
16672 (getExtentSize): Return size rather than preferred size.
16673 (toViewCoordinates): New methods.
16674 (getViewSize): Return size rather than preferred size.
16675 (setViewSize): Note view size as set.
16676 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
16677 * javax/swing/plaf/basic/BasicScrollBarUI.java
16678 (getPreferredSize): Don't redo layout.
16679 * javax/swing/plaf/basic/BasicViewportUI.java
16680 (paint): Translate image properly and eat exceptions.
16682 2004-06-15 Kim Ho <kho@redhat.com>
16684 * javax/swing/JTabbedPane.java
16685 (setComponent): Remove old component and
16687 (setSelectedIndex): Don't operate on the
16688 components if they're null. Don't set index
16689 on the model if the index is the same.
16690 (insertTab): Don't add or hide the component
16691 if it's null. Repaint the container.
16692 * javax/swing/plaf/basic/BasicLookAndFeel.java
16693 Change colors for TabbedPane.
16694 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16695 (mousePressed): Re-layout and paint the component.
16696 (layoutContainer): Don't set location on the view.
16697 (ScrollingViewport::paint): Remove.
16699 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
16701 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
16702 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
16704 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
16705 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
16706 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
16708 (drawLine): Call gdk_flush before leaving GDK critical region.
16709 (fillRect): Likewise.
16710 (drawRect): Likewise.
16711 (copyArea): Likewise.
16712 (copyPixmap): Likewise.
16713 (clearRect): Likewise.
16714 (drawArc): Likewise.
16715 (drawPolyline): Likewise.
16716 (drawPolygon): Likewise.
16717 (fillPolygon): Likewise.
16718 (fillArc): Likewise.
16719 (drawOval): Likewise.
16720 (fillOval): Likewise.
16722 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
16724 (GdkFontMetrics): Add style argument to initState call.
16725 (stringWidth(String,int,int,String)): Add style parameter.
16726 (stringWidth(String)): Add style argument to stringWidth call.
16727 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
16728 (initState): Set pango font style and weight based on AWT style
16729 parameter. Pass default GTK language to
16730 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
16731 simply dividing by PANGO_SCALE.
16732 (stringWidth): Set pango font style and weight based on AWT style
16735 * java/awt/Button.java (next_button_number): New field.
16736 (paramString): Change output.
16737 (generateName): New method.
16738 (getUniqueLong): New method.
16740 2004-06-14 Kim Ho <kho@redhat.com>
16742 * javax/swing/JTabbedPane.java:
16743 (setComponentAt): Set the component, not
16744 the enabled status.
16745 * javax/swing/plaf/basic/BasicDesktopIconUI.java
16746 (actionPerformed): Let deiconize catch exception.
16748 2004-06-14 Olga Rodimina <rodimina@redhat.com>
16750 * javax/swing/JPopupMenu.java:
16751 (setVisible): Corrected location of a
16752 heavyweight popup menu.
16754 2004-06-14 Olga Rodimina <rodimina@redhat.com>
16756 * javax/swing/MenuSelectionManager.java:
16757 Ran through jalopy to fix formatting style.
16759 2004-06-14 Olga Rodimina <rodimina@redhat.com>
16761 * javax/swing/JLayeredPane.java:
16762 (remove): Revalidate and repaint layered pane after
16763 the component was removed.
16764 javax/swing/JMenu.java:
16765 (setVisible): Display popup menu at the user location,
16766 if one was set by the user.
16767 (setMenuLocation): Reimplemented. Fixed javadoc.
16768 * javax/swing/JMenuBar.java: Added javadoc.
16769 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
16770 (MODEL_CHANGED_PROPERTY): New Property.
16771 (isSelected): Implemented.
16772 (setBorderPainted): Fire PropertyChangeEvent
16773 if paintBorder property changes.
16774 (setSelected): Implemented.
16775 (setSelectionModel): Implemented.
16776 * javax/swing/JPopupMenu.java: Added Javadoc
16777 (pack): Implemented.
16778 (setVisible): Reimplemented.
16779 (show): Fixed location.
16780 (JPopupMenu.LigthWeightPopup): Reimplemented to use
16781 Container instead of JPanel.
16782 * javax/swing/MenuSelectionManager.java: Added Javadocs.
16783 (clearSelectedPath): Reimplemented to clear selectedPath
16785 (processMouseEvent): Reimplemented.
16786 (setSelectedPath): Fire stateChange event indicating that
16787 selected menu path has changed.
16788 (getPath): Change to use ArrayList instead of Vector.
16789 * javax/swing/plaf/basic/BasicMenuBarUI.java:
16790 (installUI): call installKeyboardActions().
16791 (uninstallUI): call uninstallKeyboardActions().
16793 2004-06-13 Michael Koch <konqueror@gmx.de>
16795 * javax/swing/text/DefaultCaret.java,
16796 javax/swing/text/BadLocationException.java:
16799 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
16801 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
16802 DEFAULT_COLS): New variables.
16803 (create): Don't allow 0 rows or 0 columns. Instead, set the
16804 values to DEFAULT_ROWS or DEFAULT_COLS.
16805 (getMinimumSize): Likewise.
16806 (getPreferredSize): Likewise.
16807 (minimumSize): Likewise.
16808 (preferredSize): Likewise.
16809 (create): Set peer's editable state.
16810 * java/awt/TextArea.java (TextArea()): Set rows and columns to
16811 zero. Update javadocs.
16812 (TextArea(String)): Likewise.
16813 (TextArea(int,int)): Fix javadocs.
16814 (TextArea(String,int,int,int)): Only throw exception if one of
16815 rows or columns is zero. Fix javadocs.
16817 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
16819 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
16820 addition to Components.
16822 * java/awt/MenuItem.java (dispatchEventImpl): If the event
16823 wasn't consumed by normal processing, send it to the parent
16826 * gnu/java/awt/peer/gtk/GtkImagePainter.java
16827 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
16830 2004-06-11 David Jee <djee@redhat.com>
16832 * java/awt/MediaTracker.java
16833 (addImage(Image,int)): Call imageUpdate() to udpate image status.
16834 (addImage(Image,int,int,int)): Likewise.
16836 2004-06-11 Michael Koch <konqueror@gmx.de>
16838 * javax/swing/text/AbstractDocument.java,
16839 javax/swing/text/Document.java,
16840 javax/swing/text/GapContent.java,
16841 javax/swing/text/JTextComponent.java,
16842 javax/swing/text/PlainDocument.java:
16845 2004-06-11 Michael Koch <konqueror@gmx.de>
16847 * javax/swing/JRootPane.java
16848 (AccessibleJRootPane.serialVersionUID): New field.
16849 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
16850 (AccessibleJRootPane.getAccessibleRole): New method.
16851 (RootLayout): Implements Serializable.
16852 (RootLayout.serialVersionUID): New field.
16853 (RootLayout.RootLayout): New constructor.
16854 (setJMenuBar): Made public.
16855 (getJMenuBar): Likewise.
16856 (JRootPane): Likewise.
16857 (createContentPane): Likewise.
16858 (createGlassPane): Likewise.
16859 (createLayeredPane): Likewise.
16861 2004-06-11 Michael Koch <konqueror@gmx.de>
16863 * javax/swing/SwingUtilities.java
16864 (isLeftMouseButton): Fixed javadoc.
16865 (isMiddleMouseButton): Likewise.
16866 (isRightMouseButton): Likewise.
16868 2004-06-11 Michael Koch <konqueror@gmx.de>
16870 * javax/swing/JScrollPane.java
16871 (serialVersionUID): New field.
16872 (columnHeader): Made protected.
16873 (rowHeader): Likewise.
16874 (lowerLeft): Likewise.
16875 (lowerRight): Likewise.
16876 (upperLeft): Likewise.
16877 (upperRight): Likewise.
16878 (horizontalScrollBar): Likewise.
16879 (horizontalScrollBarPolicy): Likewise.
16880 (verticalScrollBar): Likewise.
16881 (verticalScrollBarPolicy): Likewise.
16882 (viewport): Likewise.
16884 2004-06-11 Michael Koch <konqueror@gmx.de>
16886 * javax/swing/LookAndFeel.java: Fixed javadocs.
16888 2004-06-11 Michael Koch <konqueror@gmx.de>
16890 * javax/swing/JEditorPane.java: Fixed javadocs.
16891 (JEditorPane): Removed redundant call to to this().
16892 (fireHyperlinkUpdate): Implemented.
16894 2004-06-10 Olga Rodimina <rodimina@redhat.com>
16896 * javax/swing/JMenu.java: Fixed file name
16897 in the file comment.
16899 2004-06-10 Olga Rodimina <rodimina@redhat.com>
16901 * javax/swing/JMenu.java: Added javadoc.
16902 (JMenu): Added MenuChangeListener to listen to
16903 ChangeEvents occuring in menu's model.
16904 (insert): Throw IllegalArgumentException if
16905 index is less than 0
16906 (setSelected): Reimplement.
16907 (setPopupMenuVisible): Call menu's model isEnabled()
16908 (setDelay): Throw IllegalArgumentException if
16909 given amount of delay is less than 0.
16910 (createActionComponent): Implemented.
16911 (createActionChangeListener): Implemented.
16912 (addSeparator): Implemented.
16913 (getItem): Throw IllegalArgumentException if index is
16915 (getItemCount): Implemented.
16916 (fireMenuSelected): Changed to use menuEvent.
16917 (fireMenuDeselected): Likewise.
16918 (fireMenuCanceled): Likewise.
16919 (setAccelerator): Changed to throw an error if this
16921 (doClick): Implemented.
16922 (JMenu.ActionChangedListener): New inner class to handle
16923 PropertyChangeEvents occuring in the actions associated with menu.
16924 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
16925 (BasicMenuUI): Added PropertyChangeListener to the menu.
16926 (createChangeListener): Implemented.
16927 (createMenuDragMouseListener): Likewise.
16928 (createMenuKeyListener): Likewise.
16929 (createPropertyChangeListener): Likewise.
16930 (uninstallListeners): Likewise.
16931 (BasicMenuUI.MouseInputHandler): Reimplemented.
16932 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
16933 (BasicMenuUI.ChangeHandler): Likewise.
16934 (BasicMenuUI.MenuDragMouseHandler): Likewise.
16935 (BasicMenuUI.MenuKeyHandler): Likewise.
16937 2004-06-10 David Jee <djee@redhat.com>
16939 * java/awt/MediaTracker.java
16940 (imageUpdate): Only do notifyAll() if the image is complete.
16942 2004-06-10 Olga Rodimina <rodimina@redhat.com>
16944 * javax/swing/JApplet.java:
16945 (getJMenuBar): Made public.
16946 (setJMenuBar): Likewise.
16947 * javax/swing/JFrame.java:
16948 (getJMenuBar): Made public.
16949 (setJMenuBar): Likewise.
16950 * javax/swing/JWindow.java:
16951 (getJMenuBar): Removed.
16952 (setJMenuBar): Removed.
16954 2004-06-10 Michael Koch <konqueror@gmx.de>
16956 * javax/swing/JEditorPane.java
16957 (createEditorKitForContentType): Fixed visibility.
16958 (fireHyperlinkUpdate): Likewise.
16959 (getContentType): Likewise.
16960 (getEditorKit): Likewise.
16961 (getEditorKitForContentType): Likewise.
16962 (getPage): Likewise.
16964 (registerEditorKitForContentTyoe): Likewise.
16965 (replaceSelection): Likewise.
16966 (setContentType): Likewise.
16967 (setEditorKit): Likewise.
16968 (setPage): Likewise.
16970 2004-06-10 Michael Koch <konqueror@gmx.de>
16972 * javax/swing/Timer.java
16973 (Timer): New constructor.
16974 * javax/swing/plaf/basic/BasicProgressBarUI.java
16975 (animationTimer): Don't initialize at construction.
16976 (startAnimationTimer): Added since tag.
16977 (stopAnimationTimer): Likewise.
16978 (installUI): Use new Timer constructor.
16979 * javax/swing/plaf/basic/BasicScrollBarUI.java
16980 (installUI): Likewise.
16981 * javax/swing/plaf/basic/BasicSliderUI.java
16982 (installUI): Likewise.
16984 2004-06-10 Michael Koch <konqueror@gmx.de>
16986 * javax/swing/ButtonGroup.java
16987 (serialVersionUID): Made private.
16988 (buttons): Renamed from v, added javadoc.
16989 (sel): Added javadoc.
16990 (ButtonGroup): Likewise.
16992 (remove): Likewise.
16993 (getElements): Likewise.
16994 (getSelection): Likewise.
16995 (setSelected): Likewise.
16996 (isSelected): Likewise.
16997 (getButtonCount): Likewise.
16999 2004-06-10 Michael Koch <konqueror@gmx.de>
17001 * javax/swing/ButtonGroup.java,
17002 javax/swing/ImageIcon.java,
17003 javax/swing/JEditorPane.java,
17004 javax/swing/JRootPane.java,
17005 javax/swing/JTextField.java,
17006 javax/swing/LookAndFeel.java,
17007 javax/swing/plaf/basic/BasicTextUI.java:
17010 2004-06-10 Michael Koch <konqueror@gmx.de>
17012 * javax/swing/text/Style.java: Added javadocs.
17014 2004-06-10 Michael Koch <konqueror@gmx.de>
17016 * javax/swing/JComponent.java
17017 (fireVetoableChange): Removed redundant cast.
17018 * javax/swing/JLabel.java
17019 (getDisabledIcon): Save icon for next call.
17021 2004-06-10 Michael Koch <konqueror@gmx.de>
17023 * javax/swing/KeyStroke.java
17024 (getKeyStroke(char,boolean)): Marked deprecated.
17026 2004-06-10 Michael Koch <konqueror@gmx.de>
17028 * javax/swing/DefaultCellEditor.java,
17029 javax/swing/GrayFilter.java,
17030 javax/swing/event/DocumentEvent.java,
17031 javax/swing/text/JTextComponent.java,
17032 javax/swing/text/MutableAttributeSet.java:
17035 2004-06-10 Michael Koch <konqueror@gmx.de>
17037 * javax/swing/plaf/BorderUIResource.java:
17038 Added serialVersionUID all over.
17040 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
17042 * javax/swing/undo/UndoManager.java: Re-written from scratch.
17044 2004-06-10 Michael Koch <konqueror@gmx.de>
17046 * javax/swing/table/DefaultTableCellRenderer.java
17047 (noFocusBorder): Initialize directly.
17049 2004-06-10 Michael Koch <konqueror@gmx.de>
17051 * javax/swing/plaf/basic/BasicArrowButton.java
17052 (setDirection): Use method argument.
17054 2004-06-10 Michael Koch <konqueror@gmx.de>
17056 * javax/swing/plaf/BorderUIResource.java,
17057 javax/swing/plaf/ComponentUI.java,
17058 javax/swing/undo/CompoundEdit.java,
17059 javax/swing/undo/StateEdit.java:
17060 Fixed javadocs all over.
17062 2004-06-10 Michael Koch <konqueror@gmx.de>
17064 * javax/swing/DefaultButtonModel.java
17065 (ARMED): Made public final, fixed value.
17066 (ENABLED): Likewise.
17067 (PRESSED): Likewise.
17068 (ROLLOVER): Likewise.
17069 (SELECTED): Likewise.
17070 (stateMask): Initialize directly.
17071 (listenerList): Likewise.
17072 (mnemonic): Likewise.
17073 (fireStateChanged): Removed argument, use changeEvent as event.
17074 All places where this method is called are fixed too.
17075 (getActionCommant): Fixed javadoc.
17076 (setGroup): Fixed javadoc.
17077 (getGroup): New method.
17079 2004-06-09 Olga Rodimina <rodimina@redhat.com>
17081 * javax/swing/AbstractButton.java
17082 (AbstractButton): Use init() to initialize the button.
17083 (init): New Method. Initializes AbstractButton.
17084 * javax/swing/JMenuItem.java: Documented.
17085 (JMenuItem): Reimplemented.
17086 (init): Implemented.
17087 (setEnabled): Changed to call super.setEnabled()
17088 (processMouseEvent): Reimplemented.
17089 (fireMenuKeyPressed): Implemented.
17090 (fireMenuKeyReleased): Implemented.
17091 (fireMenuKeyTyped): Implemented.
17092 (menuSelectionChanged): disarm the model if the menu item was
17094 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
17095 (getPath): Change to use ArrayList instead of Vector.
17096 (getPreferredSize): Renamed variable.
17097 (paintMenuItem): Paint margin area of menu item.
17098 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
17099 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
17100 menu item's bounds before clearing the selection.
17102 2004-06-09 David Jee <djee@redhat.com>
17104 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
17105 (GtkTextComponentPeer): Set caret position to 0.
17106 * java/awt/TextComponent.java
17107 (setText): Set caret position to 0.
17108 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17109 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
17110 Handle GtkScrolledWindow separately. Fix signal handler blocking.
17111 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
17113 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
17114 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
17117 2004-06-09 Kim Ho <kho@redhat.com>
17119 * Makefile.am: New files
17120 * Makefile.in: Regenerated
17121 * java/awt/Container.java
17122 (getComponentAt): Removed.
17123 * javax/swing/AbstractAction.java
17124 (ENABLED_PROPERTY): New property.
17125 (putValue): Fire PropertyChangeEvents.
17126 (setEnabled): ditto.
17127 (firePropertyChange): Javadoc and implement
17128 convenience method.
17129 * javax/swing/AbstractButton.java
17130 (setAction): Don't create PropertyChangeListener
17131 if new Action is null.
17132 (setIcon): Don't set icon till after comparing
17134 (configurePropertiesFromAction): Check mnemonic
17135 key before calling intValue().
17136 (createActionPropertyChangeListener): Check
17137 properties rather than bulk change.
17138 * javax/swing/DefaultDesktopManager.java:
17140 * javax/swing/DesktopManager.java:
17141 Jalopy and javadoc.
17142 * javax/swing/JComponent.java
17143 (fireVetoableChange): Implement.
17144 (paintImmediately): Use root component.
17145 * javax/swing/JDesktopPane.java: Implement
17146 * javax/swing/JInternalFrame.java: Implement
17147 * javax/swing/JLabel.java
17148 (getDisabledIcon): Return grayscaled icon if
17149 no disabled icon specified.
17150 * javax/swing/JMenuBar.java
17151 (getComponentAtIndex): Use getComponent
17152 * javax/swing/JOptionPane.java
17153 (getDesktopPaneForComponent): Use SwingUtilities'
17155 (getFrameForComponent): ditto.
17156 * javax/swing/JSplitPane.java
17157 (remove): Use getComponent.
17158 * javax/swing/SwingUtilities.java
17159 (convertPoint): Implement.
17160 * javax/swing/plaf/basic/BasicButtonUI.java
17161 (paintButtonNormal): Check opaqueness before
17162 filling background.
17163 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
17165 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
17167 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
17169 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
17171 * javax/swing/plaf/basic/BasicLookAndFeel.java:
17172 Change InternalFrame and Desktop colors.
17174 2004-06-09 David Jee <djee@redhat.com>
17176 * java/awt/Container.java
17177 (remove): Do not set component to invisible.
17179 2004-06-09 Michael Koch <konqueror@gmx.de>
17181 * javax/swing/tree/DefaultMutableTreeNode.java
17182 (getLeafCount): Renamed enum to e.
17184 2004-06-09 Michael Koch <konqueror@gmx.de>
17186 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
17187 (positionForMouseEvent): Removed redundant semicolon.
17188 (continueDrag): Use method arguments.
17190 2004-06-09 Michael Koch <konqueror@gmx.de>
17192 * javax/swing/border/TitledBorder.java,
17193 javax/swing/filechooser/FileSystemView.java,
17194 javax/swing/plaf/basic/BasicButtonListener.java,
17195 javax/swing/plaf/basic/BasicGraphicsUtils.java,
17196 javax/swing/plaf/basic/BasicLabelUI.java,
17197 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
17198 javax/swing/plaf/basic/BasicScrollBarUI.java,
17199 javax/swing/plaf/basic/BasicScrollPaneUI.java,
17200 javax/swing/plaf/basic/BasicSliderUI.java,
17201 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
17202 javax/swing/plaf/basic/BasicToggleButtonUI.java,
17203 javax/swing/table/JTableHeader.java,
17204 javax/swing/text/AbstractDocument.java,
17205 javax/swing/text/DefaultCaret.java,
17206 javax/swing/text/StyledEditorKit.java,
17207 javax/swing/tree/DefaultTreeCellEditor.java:
17208 Reworked import statements.
17210 2004-06-08 Graydon Hoare <graydon@redhat.com>
17212 * javax/swing/Box.java: Temporarily comment out code
17213 broken due to visibility bug.
17215 2004-06-09 Michael Koch <konqueror@gmx.de>
17217 * javax/swing/ImageIcon.java
17218 (ImageIcon): Added missing constructor.
17220 2004-06-08 Michael Koch <konqueror@gmx.de>
17222 * javax/swing/JToggleButton.java
17223 (JToggleButton): New constructor.
17224 (getAccessibleContext): Moved documentation into javadoc.
17225 (getUIClassID): Likewise.
17227 2004-06-08 Michael Koch <konqueror@gmx.de>
17229 * javax/swing/AbstractButton.java
17230 (getDisabledIcon): Create disabled icon if none exists yet.
17232 2004-06-08 Michael Koch <konqueror@gmx.de>
17234 * javax/swing/plaf/basic/BasicLookAndFeel.java
17235 (initClassDefaults): Added FormattedTextFieldUI.
17236 (loadResourceBundle): Renamed enum to e.
17238 2004-06-08 Michael Koch <konqueror@gmx.de>
17240 * javax/swing/plaf/basic/BasicButtonUI.java
17241 (paintIcon): Simplified.
17242 (paintText): Paint disabled button correctly.
17244 2004-06-08 Michael Koch <konqueror@gmx.de>
17246 * javax/swing/JComponent.java
17247 (createToolTip): Use official JToolTip API.
17249 2004-06-08 Michael Koch <konqueror@gmx.de>
17251 * javax/swing/JToolTip.java
17252 (JToolTip): No arguments in API.
17253 (setTipText): New method.
17255 2004-06-08 Michael Koch <konqueror@gmx.de>
17257 * javax/swing/SwingUtilities.java
17258 (isLeftMouseButton): New method.
17259 (isMiddleMouseButton): New method.
17260 (isRightMouseButton): New method.
17262 2004-06-08 Michael Koch <konqueror@gmx.de>
17264 * javax/swing/AbstractButton.java,
17265 javax/swing/CellRendererPane.java,
17266 javax/swing/JCheckBoxMenuItem.java,
17267 javax/swing/JColorChooser.java,
17268 javax/swing/JComboBox.java,
17269 javax/swing/JComponent.java,
17270 javax/swing/JDesktopPane.java,
17271 javax/swing/JFileChooser.java,
17272 javax/swing/JMenu.java,
17273 javax/swing/JMenuItem.java,
17274 javax/swing/JOptionPane.java,
17275 javax/swing/JPasswordField.java,
17276 javax/swing/JPopupMenu.java,
17277 javax/swing/JProgressBar.java,
17278 javax/swing/JRadioButtonMenuItem.java,
17279 javax/swing/JScrollBar.java,
17280 javax/swing/JSeparator.java,
17281 javax/swing/JSlider.java,
17282 javax/swing/JSplitPane.java,
17283 javax/swing/JTabbedPane.java,
17284 javax/swing/JTextField.java,
17285 javax/swing/JToolBar.java,
17286 javax/swing/text/JTextComponent.java:
17287 Fixed all constructors of accessibility classes.
17289 2004-06-08 Michael Koch <konqueror@gmx.de>
17291 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
17294 2004-06-08 Michael Koch <konqueror@gmx.de>
17296 * javax/swing/Box.java
17297 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
17298 (AccessibleBoxFiller.serialVersionUID): New member variable.
17299 * javax/swing/DefaultButtonModel.java
17300 (stateMask): Made protected.
17301 (listenerList): Likewise.
17302 (changeEvent): Likewise.
17304 (mnemonic): Likewise.
17305 (actionCommand): Likewise.
17306 (getListeners): New method.
17307 (getActionListeners): New method.
17308 (getItemListeners): New method.
17309 (getChangeListeners): New method.
17310 (fireItemStateChanged): Simplified.
17311 (fireActionPerformed): Simplified.
17312 (fireStateChanged): Simplified.
17313 * javax/swing/JFrame.java
17314 (JFrame): Implements WindowContants.
17315 (HIDE_ON_CLOSE): Removed.
17316 (EXIT_ON_CLOSE): Removed.
17317 (DISPOSE_ON_CLOSE): Removed.
17318 (DO_NOTHING_ON_CLOSE): Removed.
17319 (processWindowEvent): Exit with code 0.
17320 (setDefaultCloseOperation): Do security check before setting value.
17321 * javax/swing/JOptionPane.java
17322 (message): Initialize only in constructor.
17323 * javax/swing/JToolTip.java: Removed unused imports.
17324 * javax/swing/JViewport.java
17325 (serialVersionUID): New member variable.
17326 (SIMPLE_SCROLL_MODE): Made final, fixed value.
17327 (BLIT_SCROLL_MODE): Likewise.
17328 (BACKINGSTORE_SCROLL_MODE): Likewise.
17329 (scrollUnderway): Made protected.
17330 (isViewSizeSet): Likewise.
17331 * javax/swing/ListModel.java: Fixed javadoc.
17332 * javax/swing/Popup.java: Likewise.
17333 * javax/swing/RepaintManager.java
17334 (paintDirtyRegions): Don't use internal classes of
17335 java.util.AbstractMap.
17336 * javax/swing/ScrollPaneConstants.java: Reindented.
17337 * javax/swing/ScrollPaneLayout.java
17338 (viewport): Made protected.
17339 (verticalScrollBar): Made protected, renamed to vsb.
17340 (horizontalScrollBar): Made protected, renamed to hsb.
17341 (rowHeader): Made protected, renamed to rowHead.
17342 (columnHeader): Made protected, renamed to colHead.
17343 (lowerLeft): Made protected.
17344 (lowerRight): Made protected.
17345 (upperLeft): Made protected.
17346 (upperRight): Made protected.
17347 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
17348 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
17350 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
17352 * java/awt/MediaTracker.java (imageUpdate): Only set status to
17353 LOADING if flags has SOMEBITS set.
17355 2004-06-07 Michael Koch <konqueror@gmx.de>
17357 * javax/swing/AbstractButton.java: Reorganized imports.
17358 * javax/swing/ActionMap.java: Likewise.
17359 * javax/swing/DefaultButtonModel.java: Likewise.
17360 * javax/swing/DefaultListModel.java: Likewise.
17361 * javax/swing/ImageIcon.java: Likewise.
17362 (serialVersionUID): New member variable.
17363 * javax/swing/JComboBox.java: Reorganized imports.
17364 * javax/swing/JComponent.java: Likewise.
17365 (ui): Made protected.
17366 (listenerList): Made protected.
17367 (TOOL_TIP_TEXT_KEY): New constant.
17368 (scrollRectToVisible): Removed redundant null check.
17369 * javax/swing/JFrame.java: Reorganized imports.
17370 * javax/swing/JInternalFrame.java: Reorganized imports.
17371 * javax/swing/JProgressBar.java: Likewise.
17372 * javax/swing/JRootPane.java: Likewise.
17373 * javax/swing/JScrollBar.java: Likewise.
17374 * javax/swing/JSeparator.java: Likewise.
17375 * javax/swing/JSlider.java: Likewise.
17376 * javax/swing/JTabbedPane.java: Likewise.
17377 * javax/swing/JTextField.java: Likewise.
17378 * javax/swing/JToolBar.java: Likewise.
17379 * javax/swing/JTree.java: Likewise.
17380 * javax/swing/JViewport.java: Likewise.
17381 * javax/swing/JWindow.java: Likewise.
17382 * javax/swing/KeyStroke.java: Likewise.
17383 * javax/swing/LookAndFeel.java: Likewise.
17384 * javax/swing/MenuSelectionManager.java: Likewise.
17385 * javax/swing/SwingUtilities.java: Likewise.
17386 * javax/swing/Timer.java: Likewise.
17387 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
17388 * javax/swing/JList.java
17389 (HORIZONTAL_WRAP): Made final, fixed value.
17390 (VERTICAL): Likewise.
17391 (VERTICAL_WRAP): Likewise.
17393 2004-06-07 Michael Koch <konqueror@gmx.de>
17395 * javax/swing/AbstractButton.java
17396 (serialVersionUID): New member variable.
17397 (AccessibleAbstractButton.serialVersionUID): Likewise.
17398 (AbstractButton): Made public.
17399 * javax/swing/Box.java
17400 (AccessibleBox.serialVersionUID): New member variable.
17401 (Filler.serialVersionUID): Likewise.
17402 * javax/swing/DefaultListSelectionModel.java
17403 (serialVersionUID): Likewise.
17404 * javax/swing/JApplet.java
17405 (serialVersionUID): Likewise.
17406 * javax/swing/JCheckBox.java
17407 (serialVersionUID): Likewise.
17408 * javax/swing/JCheckBoxMenuItem.java
17409 (serialVersionUID): Likewise.
17410 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
17411 * javax/swing/JColorChooser.java
17412 (serialVersionUID): Likewise.
17413 (AccessibleJColorChooser.serialVersionUID): Likewise.
17414 * javax/swing/JComponent.java
17415 (serialVersionUID): Made private.
17416 (AccessibleJComponent.serialVersionUID): New member variable.
17417 * javax/swing/JDesktopPane.java
17418 (serialVersionUID): Likewise.
17419 * javax/swing/JDialog.java
17420 (serialVersionUID): Likewise.
17421 * javax/swing/JFormattedTextField.java
17422 (serialVersionUID): Fixed value.
17423 * javax/swing/JFrame.java
17424 (serialVersionUID): New member variable.
17425 (getDefaultCloseOpertation): Made public.
17426 * javax/swing/JLayeredPane.java
17427 (serialVersionUID): Likewise.
17428 (LAYER_PROPERTY): Made final, fixed value.
17429 (JLayeredPane): Made public.
17430 * javax/swing/JMenu.java
17431 (AccessibleJMenu.serialVersionUID): New member variable.
17432 (WinListener.serialVersionUID): Likewise.
17433 * javax/swing/JMenuBar.java
17434 (serialVersionUID): Likewise.
17435 (getComponentAtIndex): Added @deprecated tag.
17436 * javax/swing/JMenuItem.java
17437 (serialVersionUID): New member variable.
17438 (AccessibleJMenuItem.serialVersionUID): Likewise.
17439 * javax/swing/JOptionPane.java
17440 (serialVersionUID): Likewise.
17441 (AccessibleJOptionPane.serialVersionUID): Likewise.
17442 * javax/swing/JPopupMenu.java
17443 (serialVersionUID): Likewise.
17444 (AccessibleJPopupMenu.serialVersionUID): Likewise.
17445 (getPopupMenuListeners): New method.
17446 (getComponentAtIndex): Added @deprecated tag.
17447 * javax/swing/JProgressBar.java
17448 (serialVersionUID): New member variable.
17449 (AccessibleJProgressBar.serialVersionUID): Likewise.
17450 * javax/swing/JRadioButton.java
17451 (serialVersionUID): Likewise.
17452 * javax/swing/JRadioButtonMenuItem.java
17453 (serialVersionUID): Likewise.
17454 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
17455 * javax/swing/JScrollBar.java
17456 (serialVersionUID): Likewise.
17457 (AccessibleJScrollBar.serialVersionUID): Likewise.
17458 * javax/swing/JSeparator.java
17459 (serialVersionUID): Likewise.
17460 (AccessibleJSeparator.serialVersionUID): Likewise.
17461 * javax/swing/JSlider.java: Fixed javadocs.
17462 (AccessibleJSlider.serialVersionUID): New member variable.
17463 * javax/swing/JSplitPane.java: Added copyright statement.
17464 (serialVersionUID): New member variable.
17465 (AccessibleJSplitPane.serialVersionUID): Likewise.
17466 * javax/swing/JTabbedPane.java
17467 (serialVersionUID): Likewise.
17468 (AccessibleJTabbedPane.serialVersionUID): Likewise.
17469 (ModelListener.serialVersionUID): Likewise.
17470 (ModelListener.ModelListener): New constructor.
17471 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
17472 (WRAP_TAB_LAYOUT): Likewise.
17473 * javax/swing/JTable.java
17474 (serialVersionUID): New member variable.
17475 * javax/swing/JToggleButton.java
17476 (serialVersionUID): Likewise.
17477 (ToggleButtonModel): Made static.
17478 (ToggleButtonModel.serialVersionUID): New member variable.
17479 * javax/swing/JToolTip.java
17480 (serialVersionUID): Likewise.
17481 * javax/swing/JTree.java
17482 (serialVersionUID): Likewise.
17483 * javax/swing/JWindow.java
17484 (serialVersionUID): Likewise.
17485 * javax/swing/Timer.java
17486 (serialVersionUID): Likewise.
17488 2004-06-06 Michael Koch <konqueror@gmx.de>
17490 * javax/swing/SwingConstants.java
17491 (NEXT): New constant.
17492 (PREVIOUS): Likewise.
17493 * javax/swing/UIManager.java
17494 (LookAndFeel): Made public.
17495 (LookAndFeel.getClassName): Likewise.
17496 (LookAndFeel.getName): Likewise.
17498 2004-06-02 Olga Rodimina <rodimina@redhat.com>
17500 * javax/swing/JCheckBoxMenuItem.java:
17502 * javax/swing/JMenu.java: Likewise.
17503 * javax/swing/JMenuBar.java: Likewise.
17504 * javax/swing/JMenuItem.java: Likewise.
17505 * javax/swing/JPopupMenu.java: Likewise.
17506 * javax/swing/JRadioButtonMenuItem.java: Likewise.
17507 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
17508 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
17509 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
17510 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
17511 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
17512 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
17514 2004-05-31 Olga Rodimina <rodimina@redhat.com>
17516 * javax/swing/plaf/basic/BasicMenuUI.java:
17517 (MouseEntered): Do not call getPath() from MenuSelectionManager.
17518 Call getPath() from super class instead.
17520 2004-05-31 David Jee <djee@redhat.com>
17522 * java/awt/Container.java
17523 (remove): Set component visibility to false after removing it.
17525 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
17527 * java/awt/Component.java (getForeground): Return SystemColor if
17529 (getBackground): Likewise.
17531 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
17532 (item_highlighted): New function.
17533 (connectSignals): Set item_highlighted as list's select
17536 * java/applet/Applet.java: Revert changes from 2004-04-29,
17537 2004-03-15 and 2004-03-14.
17539 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
17540 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
17543 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
17544 "Dialog" as the default font.
17545 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
17547 * java/awt/Component.java (getFont): Return "Dialog" font by
17549 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
17550 Multiply size argument to pango_font_description_set_size by the
17551 DPI conversion factor rather than by PANGO_SCALE.
17552 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
17553 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
17554 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
17555 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
17556 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
17557 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
17558 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
17559 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
17560 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
17561 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
17562 Divide baseline y coordinate by DPI conversion factor rather
17563 than by PANGO_SCALE.
17564 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
17565 (area_prepared): Fix typo.
17566 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
17567 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
17568 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
17569 (dpi_conversion_factor): New global variable.
17570 (init_dpi_conversion_factor): New function to calculate and
17571 track DPI conversion factor.
17572 (dpi_changed_cb): New callback.
17573 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
17575 2004-05-27 David Jee <djee@redhat.com>
17577 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17578 (getGraphics): Return a new GdkGraphics instance.
17579 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
17580 (getGraphics): Call super.getGraphics().
17582 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
17584 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17585 (setNativeBounds): Clamp width and height values to >= 0.
17587 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17588 (find_fg_color_widget): Handle GtkOptionMenu specially.
17590 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
17591 (pre_event_handler): Only post configure events to visible
17594 2004-05-26 David Jee <djee@redhat.com>
17596 * java/awt/BorderLayout.java
17597 (layoutContainer): Fix size calculations.
17599 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
17601 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
17602 (window_wm_protocols_filter): Remove function.
17603 (create): Remove filter that removes WM_TAKE_FOCUS client
17606 2004-06-17 Anthony Green <green@redhat.com>
17608 * java/util/zip/ZipFile.java (getInputStream): Return null if
17611 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
17612 directory contents to the class path.
17614 2004-06-15 Andrew Haley <aph@redhat.com>
17616 * java/lang/natSystem.cc (getenv0): Don't assume environment
17617 variable is Latin 1 coded.
17619 2004-06-14 Andreas Jaeger <aj@suse.de>
17621 * configure.in: Support --enable-version-specific-runtime-libs.
17622 * configure: Regenerated.
17624 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
17626 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
17627 to pass ClassLoader argument.
17628 * java/util/GregorianCalendar.java: Likewise.
17629 * java/util/Currency.java: Likewise.
17630 * java/text/BreakIterator.java: Likewise.
17631 * java/text/Collator.java: Likewise.
17632 * java/text/DateFormat.java: Likewise.
17633 * java/text/DateFormatSymbols.java: Likewise.
17634 * java/text/DecimalFormatSymbols.java: Likewise.
17635 * java/text/NumberFormat.java: Likewise.
17636 * java/awt/Window.java: Likewise.
17638 2004-06-14 Andrew Haley <aph@redhat.com>
17640 * java/lang/System.java: (getenv0): New method.
17641 (getenv): Add security check. Do the right thing.
17642 * java/lang/natSystem.cc (getenv0): New method.
17644 2004-06-12 Mark Wielaard <mark@klomp.org>
17646 * javax/swing/RepaintManager.java
17647 (paintDirtyRegions): Use entrySet(), not values().
17649 2004-06-10 Mark Wielaard <mark@klomp.org>
17651 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
17654 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
17656 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
17657 when we already know the answer.
17658 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
17659 (setStartRule,setEndRule): Don't take abs of day number.
17660 (getOffset): Clarify docs. Add argument checks.
17661 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
17662 (equals,hasSameRules,toString,readObject): Use startTimeMode and
17665 2004-06-10 Tom Tromey <tromey@redhat.com>
17667 * interpret.cc (run): Handle wide fload.
17669 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
17671 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
17673 2004-06-05 Michael Koch <konqueror@gmx.de>
17675 * javax/swing/SwingConstants.java
17676 (NEXT): New constant.
17677 (PREVIOUS): Likewise.
17679 2004-06-05 Michael Koch <konqueror@gmx.de>
17681 * javax/swing/UIManager.java
17682 (LookAndFeel): Made public.
17683 (LookAndFeel.getName): Likewise.
17684 (LookAndFeel.getClassName): Likewise.
17686 2004-06-03 Michael Koch <konqueror@gmx.de>
17688 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17689 (requestFocus): Revert last changes.
17690 (gtkRequestFocus): Removed.
17691 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17692 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
17694 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
17695 Reverted last patch.
17696 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
17697 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
17698 Reverted comment change.
17700 2004-06-02 Olga Rodimina <rodimina@redhat.com>
17702 * javax/swing/JCheckBoxMenuItem.java:
17704 * javax/swing/JMenu.java: Likewise.
17705 * javax/swing/JMenuBar.java: Likewise.
17706 * javax/swing/JMenuItem.java: Likewise.
17707 * javax/swing/JPopupMenu.java: Likewise.
17708 * javax/swing/JRadioButtonMenuItem.java: Likewise.
17709 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
17710 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
17711 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
17712 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
17713 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
17714 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
17716 2004-06-01 Tom Tromey <tromey@redhat.com>
17718 * java/io/ObjectStreamField.java: Cleaned up imports.
17720 2004-06-01 Michael Koch <konqueror@gmx.de>
17722 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
17724 2004-06-01 Mark Wielaard <mark@klomp.org>
17726 * java/io/Writer.java (Writer(Object)): Fixed API doc.
17728 2004-06-01 Michael Koch <konqueror@gmx.de>
17730 * java/security/Security.java
17731 (insertProviderAt): Use equals() instead of ==.
17732 (removeProvicer): Likewise.
17733 (getProvider): Likewise.
17734 * java/security/Signature.java
17735 (sign): Don't set state to UNINITIALIZED.
17736 (verify): Likewise.
17738 2004-06-01 Mark Wielaard <mark@klomp.org>
17740 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
17741 Implement by calling gtkRequestFocus.
17742 (gtkRequestFocus): New native method.
17743 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17744 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
17746 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
17748 (filter_expose_event_handler):
17750 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
17751 (menu_pos): Mark static.
17753 2004-06-01 Michael Koch <konqueror@gmx.de>
17755 * java/text/CollationElementIterator.java,
17756 java/text/CollationKey.java,
17757 java/text/RuleBasedCollator.java: New versions from GNU classpath.
17758 * testsuite/libjava.mauve/xfails: Removed all
17759 java.text.CollationElementIterator tests.
17761 2004-06-01 Michael Koch <konqueror@gmx.de>
17763 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
17765 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
17766 Java 1.5 keyword usage.
17768 2004-05-31 Olga Rodimina <rodimina@redhat.com>
17770 * javax/swing/plaf/basic/BasicMenuUI.java:
17771 (MouseEntered): Do not call getPath() from MenuSelectionManager.
17772 Call getPath() from super class instead.
17774 2004-05-31 Michael Koch <konqueror@gmx.de>
17776 * java/io/SequenceInputStream.java:
17777 Rename enum to e because enum is a keyword in Java 1.5.
17779 2004-05-31 Michael Koch <konqueror@gmx.de>
17781 * gnu/java/rmi/rmic/CompilerProcess.java:
17782 Fixed javadoc to by XHTML compliant.
17784 2004-05-30 Mark Wielaard <mark@klomp.org>
17786 * java/awt/Toolkit.java (loadSystemColors): Implement.
17788 2004-05-30 Michael Koch <konqueror@gmx.de>
17790 * java/lang/System.java: Reordered imports.
17792 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
17794 * java/text/DecimalFormat.java
17795 (parse): Fixed parsing of decimal strings. Number of maximum
17796 digits to be read should now work.
17797 * java/text/SimpleDateFormat.java
17798 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
17799 formatter. This fixes DateFormatTest.
17801 2004-05-30 Michael Koch <konqueror@gmx.de>
17803 * java/nio/Buffer.java
17804 (limit): Fixed off by one error.
17805 * java/nio/CharBuffer.java
17806 (wrap): Fixed arguments, added javadocs.
17808 2004-05-30 Michael Koch <konqueror@gmx.de>
17810 * gnu/java/beans/BeanInfoEmbryo.java,
17811 java/awt/im/InputContext.java,
17812 javax/swing/tree/DefaultMutableTreeNode.java:
17813 Rename enum to e because enum is a keyword in Java 1.5.
17815 2004-05-30 Michael Koch <konqueror@gmx.de>
17817 * gnu/java/math/MPN.java,
17818 java/awt/geom/Arc2D.java:
17819 Fixed javadocs all over.
17821 2004-05-30 Michael Koch <konqueror@gmx.de>
17823 * java/awt/DefaultKeyboardFocusManager.java
17824 (dispatchEvent): Call method to get key event dispatchers.
17825 (dispatchKeyEvent): Call method to get key event post processors.
17826 * javax/swing/JComponent.java
17827 (listenerList): Made protected.
17828 * javax/swing/JOptionPane.java
17829 (message): Don't initialize.
17830 (JOptionPane): Set message text.
17831 * javax/swing/JPopupMenu.java
17832 (show): Fixed typo in argument name.
17833 * javax/swing/RepaintManager.java
17834 (paintDirtyRegions): Use public API of java.util.Map.
17835 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
17836 (positionForMouseEvent): Removed redundant ';'.
17837 (continueDrag): Use method arguments.
17839 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
17841 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
17844 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
17846 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
17848 * gnu/gcj/RawDataManaged.java: New file.
17849 * java/lang/Thread.java (data): Declare as RawDataManaged.
17850 * java/lang/natThread.cc (init_native): Cast natThread data to
17851 RawDataManaged, not jobject.
17852 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
17853 * Makefile.in: Rebuilt.
17855 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
17857 * java/util/SimpleTimeZone.java: Reverting my last change until I
17858 can fix it properly.
17860 2004-05-27 Michael Koch <konqueror@gmx.de>
17862 * javax/swing/JPopupMenu.java
17863 (isVisible): Do not use visible directly.
17864 (setVisible): Likewise.
17865 * javax/swing/JWindow.java
17866 (JWindow): call accessible constructor.
17867 * javax/swing/RepaintManager.java
17868 (paintDirtyRegions): Use public methods to obtain iterator.
17870 2004-05-25 David Jee <djee@redhat.com>
17872 * java/awt/Container.java
17873 (remove): Set component's parent to null only after we removed the
17874 component from its parent's layout manager.
17876 2004-05-25 David Jee <djee@redhat.com>
17878 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17879 (GtkComponentPeer): Set bounds regardless of whether awtComponent
17881 * gnu/java/awt/peer/gtk/GtkListPeer.java
17882 (getSize): Change native method declaration.
17883 (minimumSize): Pass visible row count into getSize().
17884 (preferredSize): Likewise.
17885 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
17886 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
17887 natural size. Use visible row count to determine the final height
17890 2004-05-21 Graydon Hoare <graydon@redhat.com>
17892 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
17893 (setClip): Minor correction to order of operations.
17895 * javax/swing/JScrollPane.java: Extend sketchy implementation.
17896 * javax/swing/ScrollPaneLayout.java: Likewise.
17897 * javax/swing/JViewPort.java: Likewise.
17898 * javax/swing/ViewportLayout.java: Likewise.
17900 * javax/swing/JComponent.java: Rewrite.
17901 * javax/swing/RepaintManager.java: Likewise.
17903 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
17904 * javax/swing/JList.java
17905 (setSelectedIndices):
17906 (getSelectedIndices):
17907 (getSelectedValues): New functions.
17908 (getPreferredScrollableViewportSize): Return preferred size.
17909 (getScrollableUnitIncrement):
17910 (getScrollableBlockIncrement): Initial implementations.
17911 * javax/swing/JRootPane.java: Clean up slightly.
17916 (isValidateRoot): Add overrides from JComponent.
17917 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
17918 * javax/swing/UIManager.java (getDimension): Return the dimension.
17920 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
17921 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
17922 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
17923 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
17924 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
17925 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
17926 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
17927 * javax/swing/plaf/basic/BasicRootPaneUI.java:
17928 Likewise, and set background.
17929 * javax/swing/plaf/basic/BasicListUI.java:
17930 Likewise, and improve a bit.
17931 * javax/swing/plaf/basic/BasicScrollBarUI.java:
17932 Likewise, and adjust calculations.
17933 * javax/swing/plaf/basic/BasicViewportUI.java:
17934 Likewise, and improve a bit.
17935 * javax/swing/plaf/basic/BasicLookAndFeel.java
17936 (Button.margin): Shrink.
17938 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
17939 Hack to set horizontal always, workaround pango.
17941 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
17942 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
17943 Synchronize more often, check cairo status after ops,
17944 handle changes to cairo pattern API, check for disposal.
17946 2004-05-21 Olga Rodimina <rodimina@redhat.com>
17948 * javax/swing/plaf/basic/BasicMenuItemUI.java:
17949 (BasicMenuItemUI): Create propertyChangeListener.
17950 (getPath):Implemented.
17951 (installListeners): Add propertyChangeListener to menuItem.
17952 (uninstallListeners): Remove propertyChangeListener from menuItem.
17953 (update): Implemented.
17954 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
17955 (mouseEntered): Take insets of popup menu into account when
17956 calculating position of popup menu.
17958 2004-05-18 Olga Rodimina <rodimina@redhat.com>
17960 * Makefile.am: Added new file.
17961 * Makefile.in: Regenerate.
17962 * javax/swing/JMenuBar.java:
17963 Started implementation.
17964 * javax/swing/JPopupMenu.java:
17965 (setVisible): Fixed location of lightweight/mediumweight
17967 (show): Fixed location of PopupMenu.
17968 * javax/swing/plaf/basic/BasicMenuBarUI.java:
17969 New file. UI Delegate for JMenuBar.
17970 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
17971 (mouseEntered): Corrected position of the submenu.
17973 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
17975 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
17976 to _gtk_accel_group_attach.
17977 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
17980 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
17981 package access. Don't override setFont.
17982 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
17983 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
17984 gtkWidgetRequestFocus package access.
17985 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
17987 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
17988 Give gtkWidgetRequestFocus package access.
17989 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
17990 gtkWidgetRequestFocus package access. Don't override setFont.
17991 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
17993 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
17994 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
17996 (gtkSetFont): Likewise.
17997 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
17999 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
18000 (gtkSetFont): Whitespace fix.
18002 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18003 (gtkWidgetSetUsize): Remove method.
18005 2004-05-18 David Jee <djee@redhat.com>
18007 * java/awt/image/MemoryImageSource.java
18008 (newPixels(int,int,int,int,boolean)): Set only the specified
18009 rectangle of pixels.
18010 (newPixels(byte[],ColorModel,int,int)): Implement.
18011 (newPixels(int[],ColorModel,int,int)): Implement.
18013 2004-05-18 Olga Rodimina <rodimina@redhat.com>
18015 * Makefile.am: Added new file.
18016 * Makefile.in: Regenerate.
18017 * javax/swing/JMenu.java: Started
18019 * javax/swing/JPopupMenu.java:
18020 (insert): If specified index is -1, then
18021 add component at the end.
18022 (isPopupTrigger): Reimplemented.
18023 (JPopupMenu.LightWeightPopup): setBounds
18024 of the lightWeightPopup before adding it
18025 to the layeredPane.
18026 (javax/swing/plaf/basic/BasicIconFactory.java):
18027 (getMenuArrowIcon): Implemented.
18028 * javax/swing/plaf/basic/BasicMenuItemUI.java:
18029 (getPreferredSize): Add size of the arrow icon
18030 if this menu item is instance of JMenu.
18031 (paintMenuItem): Paint arrow icon if this
18032 menu item is a submenu.
18033 * javax/swing/plaf/basic/BasicMenuUI.java:
18034 New File. UI Delegate for JMenu.
18036 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
18038 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
18039 Post KEY_TYPED events.
18040 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
18041 (generates_key_typed_event): Remove function.
18043 2004-05-17 Olga Rodimina <rodimina@redhat.com>
18045 * javax/swing/JRootPane.java
18046 (JRootPane.RootLayout): Reimplemented to
18047 set bounds of contentPane and menuBar.
18048 (setJMenuBar): Add menu bar to the layered pane.
18049 (createLayeredPane): Set layout of layeredPane
18051 * javax/swing/JLayeredPane.java:
18052 (addImpl): Calculate index of the component in the
18053 layeredPane according to the specified position within
18056 2004-05-17 David Jee <djee@redhat.com>
18058 * gnu/java/awt/peer/gtk/GtkImagePainter.java
18059 (setPixels): Change color model to the default model after
18061 * java/awt/image/MemoryImageSource.java
18062 (newPixels): Set only the specified rectangle of pixels.
18064 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
18066 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
18067 -l-java-beans -l-javax-accessibility -l-javax-swing.
18069 * java/awt/AWTEvent.java (toString): Print source's name rather
18070 than the source itself.
18072 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
18074 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
18076 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
18077 (gdk_color_to_java_color): New function.
18078 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
18080 2004-05-12 David Jee <djee@redhat.com>
18082 * java/awt/image/RGBImageFilter.java:
18083 Initialize origmodel as null.
18084 (makeColor): Fix pixel component order.
18085 (filterRGBPixels): Fix pixel iteration.
18086 (setPixels): Add extra checks for index color model. Convert pixels
18087 to default color model if necessary.
18088 (convertColorModelToDefault): New override method for byte pixels.
18089 (convertColorModelToDefault): For int pixels, fix pixel iteration.
18090 (makeColorbyDefaultCM): New override method for byte pixels.
18091 (makeColorbyDefaultCM): For int pixel, add color model as argument.
18092 (makeColor): Fix pixel component order.
18094 2004-05-11 Kim Ho <kho@redhat.com>
18096 * javax/swing/Box.java:
18097 Comment out more parts of Box.Filler.
18099 2004-05-11 Kim Ho <kho@redhat.com>
18101 * javax/swing/Box.java:
18102 Remove reference to AccessibleAWTComponent so
18105 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
18107 * gnu/java/awt/peer/gtk/GtkListPeer.java,
18108 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
18109 implementation of list peer to use GtkTreeView instead of
18110 deprecated GtkCList.
18112 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
18114 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18115 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
18116 (handleEvent): Remove keyChar argument to
18117 gtkWidgetDispatchKeyEvent calls.
18118 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
18120 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
18121 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
18122 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
18125 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
18127 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18128 (gtkWidgetRequestFocus): Mark protected.
18129 (GtkComponentPeer): Only set the peer's bounds if its component
18131 * java/awt/Component.java (static): Set the default keyboard
18133 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
18134 requestFocusInWindow(temporary)): Don't request focus if the
18135 component is not showing. Get tree lock before traversing
18136 component hierarchy.
18137 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
18138 Only set the global focus owner if it is not a Window.
18139 (processKeyEvent): Consume keystrokes associated with the focus
18140 traversal keystroke.
18141 (focusPreviousComponent, focusNextComponent, upFocusCycle,
18142 downFocusCycle): Call requestFocusInWindow instead of
18144 * java/awt/EventDispatchThread.java (run): Move setting of
18145 default keyboard focus manager to Component.java.
18146 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18147 (awt_keycode_to_keysym): New function.
18148 (gtkWidgetDispatchKeyEvent): Finish implementation.
18149 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
18150 (pre_event_handler): Add FIXME comment.
18152 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
18153 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
18154 (gtkWidgetRequestFocus): New method.
18155 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
18156 disable Tab and Shift-Tab keystrokes.
18157 (addNotify, appendText, insertText, replaceText): Simplify peer
18159 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
18160 (connectSignals): Remove connections to "commit" signals.
18161 Remove C++-style comments.
18163 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
18164 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
18165 (handleEvent): Activate GTK button when the space bar key is
18167 (gtkActivate): New method.
18169 2004-05-06 David Jee <djee@redhat.com>
18171 * java/awt/image/CropImageFilter.java
18172 (setPixels): Implement for byte array pixels.
18173 * java/awt/image/ReplicateScaleFilter.java
18174 (setPixels): Implement for byte array pixels.
18175 (replicatePixels): Overload for byte array pixels.
18177 2004-05-06 Kim Ho <kho@redhat.com>
18179 * javax/swing/Box.java:
18180 (getAccessibleContext): Return an instance of the
18183 2004-05-05 David Jee <djee@redhat.com>
18185 * gnu/java/awt/peer/gtk/GdkGraphics.java
18186 (drawImage): When component is null, use SystemColor.window as
18187 the default bgcolor.
18188 * gnu/java/awt/peer/gtk/GtkImage.java
18189 (setPixels): We can avoid iterating through the pixel rows only
18191 * java/awt/Image.java
18192 (getScaledInstance): Partially implement.
18193 * java/awt/image/CropImageFilter.java
18194 (setProperties): Fix "filter" property.
18195 (setPixels): Implement.
18196 * java/awt/image/ReplicateScaleFilter.java
18197 (setDimensions): Use scaled dimensions.
18198 (setPixels): Implement.
18199 (replicatePixels): New method.
18201 2004-05-05 David Jee <djee@redhat.com>
18203 * gnu/java/awt/peer/gtk/GtkImagePainter.java
18204 (convertPixels): If either pixels or model is null, return null.
18205 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
18206 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
18207 is null, do nothing and return.
18209 2004-05-03 Kim Ho <kho@redhat.com>
18211 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
18212 (getGraphics): Like GtkFramePeer, the Graphics
18213 object needs to be translate to account for
18214 window decorations.
18215 (postMouseEvent): New method. Account for
18217 (postExposeEvent): ditto.
18218 * javax/swing/Box.java: Stubbed.
18219 * javax/swing/JDialog.java: Ran through jalopy
18220 to fix indentation.
18221 (JDialog): Call SwingUtilities' getOwnerFrame
18223 (setLayout): Check isRootPaneCheckingEnabled
18224 * javax/swing/JOptionPane.java: Re-implemented.
18225 * javax/swing/SwingUtilities.java:
18226 (getOwnerFrame): Static method to grab a default
18227 owner frame for Dialogs that don't specify owners.
18228 * javax/swing/event/SwingPropertyChangeSupport.java:
18229 (firePropertyChange): Fix early exit condition.
18230 * javax/swing/plaf/basic/BasicLabelUI.java:
18231 (paint): Avoid painting text if it is null
18233 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
18236 2004-05-03 Olga Rodimina <rodimina@redhat.com>
18238 * Makefile.am: Added new file.
18239 * Makefile.in: Regenerate.
18240 * javax/swing/JPopupMenu.java:
18241 Started implementation.
18242 * javax/swing/JWindow.java
18243 (JWindow): call super() if parent for window
18245 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
18246 New File. UI Delegate for JPopupMenu.
18248 2004-04-30 Olga Rodimina <rodimina@redhat.com>
18250 * javax/swing/JApplet.java: Indicated that JApplet
18251 implements RootPaneContainer and made method of this
18253 * javax/swing/JFrame.java: Ditto.
18254 * javax/swing/JWindow.java: Ditto.
18256 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
18258 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
18259 (nativeSetBounds): Call gdk_window_move in addition to
18262 * java/applet/Applet.java (preferredSize): Call parent's
18263 preferredSize if the applet stub is null.
18264 (minimumSize): Likewise for parent's minimumSize.
18266 2004-04-27 Olga Rodimina <rodimina@redhat.com>
18268 * javax/swing/JMenuItem.java
18269 (createActionPropertyChangeListener): Implemented.
18270 (processMouseEvent): Ditto.
18271 (fireMenuDragMouseEntered): Ditto.
18272 (fireMenuDragMouseExited): Ditto.
18273 (fireMenuDragMouseDragged): Ditto.
18274 (fireMenuDragMouseReleased): Ditto.
18275 (menuSelectionChanged): Ditto.
18276 (getSubElements): Ditto.
18277 (getComponent): Ditto.
18278 (addMenuDragMouseListener): Ditto.
18279 (removeMenuDragMouseListener):Ditto.
18280 (addMenuKeyListener): Ditto.
18281 (removeMenuKeyListener): Ditto.
18282 * javax/swing/plaf/basic/BasicMenuItemUI.java
18283 (doClick): Imlemented.
18284 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
18285 Don't handle mouse events here. Pass them to
18286 MenuSelectionManager.
18288 2004-04-26 Olga Rodimina <rodimina@redhat.com>
18289 Used correct version of jalopy configuration
18290 file to fix style in the files below.
18292 2004-04-26 Olga Rodimina <rodimina@redhat.com>
18294 * javax/swing/JCheckBoxMenuItem.java:
18295 Fixed style and removed unnecessary comments.
18296 * javax/swing/JMenuItem.java: Ditto.
18297 * javax/swing/JRadioButtonMenuItem.java: Ditto.
18298 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
18299 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
18300 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
18302 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
18304 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
18307 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
18309 * java/awt/ContainerOrderFocusTraversalPolicy.java
18310 (getComponentAfter): Start from current component and work up
18311 the component hierarchy until an acceptable component is found.
18312 Synchronize on tree lock.
18313 (getComponentBefore): Likewise.
18315 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
18317 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
18318 focus-related debugging messages.
18319 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
18320 * java/awt/EventDispatchThread.java: Likewise.
18321 * java/awt/KeyboardFocusManager.java: Likewise.
18322 * java/awt/Window.java: Likewise.
18323 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
18324 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
18326 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
18327 new C++-style comments to C-style comments.
18328 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
18330 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18331 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18332 (handleEvent): Dispatch key press and key release events to
18334 (requestFocus): Post a FOCUS_GAINED event to the event queue.
18335 (gtkWidgetRequestFocus): New method.
18336 (gtkWidgetDispatchKeyEvent): Likewise.
18337 * java/awt/Component.java (requestFocus, requestFocus(boolean),
18338 requestFocusInWindow, requestFocusInWindow(boolean),
18339 getFocusCycleRootAncestor, nextFocus, transferFocus,
18340 transferFocusBackward, transferFocusUpCycle, hasFocus,
18341 isFocusOwner): Implement and document focus-handling methods.
18342 (setFocusTraversalKeys): Inherit focus traversal keys when
18343 keystrokes argument is null. Fix focus-handling documentation
18345 * java/awt/Container.java (setFocusTraversalKeys,
18346 getFocusTraversalKeys, areFocusTraversalKeysSet,
18347 isFocusCycleRoot, setFocusTraversalPolicy,
18348 getFocusTraversalPolicy, isFocusTraversalPolicySet,
18349 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
18350 Implement and document focus-handling methods.
18351 (transferFocusBackward): Remove method.
18352 (readObject, writeObject): Implement and document serialization
18354 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
18356 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
18358 * java/awt/DefaultKeyboardFocusManager.java: Implement and
18359 partially document.
18360 * java/awt/EventDispatchThread.java (run): Set default keyboard
18361 focus manager. Attempt to dispatch each event to the keyboard
18362 focus manager before normal dispatch.
18363 * java/awt/KeyboardFocusManager.java: Implement and partially
18365 * java/awt/Window.java (Window): Set focusCycleRoot to true.
18366 (show): Focus initial component when window is shown for the
18368 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
18369 (pre_event_handler): Replace complex key press and key release
18370 logic with simple callbacks into GtkComponentPeer.
18371 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
18373 2004-04-21 Olga Rodimina <rodimina@redhat.com>
18375 * javax/swing/MenuSelectionManager.java
18376 (componentForPoint): Added new method.
18377 (defaultManager): New Method. Implemented.
18378 (getSelectedPath): Ditto.
18379 (isComponentPartOfCurrentMenu): Ditto.
18380 (processKeyEvent): Added new method.
18381 (processMouseEvent): New Method. Implemented.
18382 (setSelectedPath): Ditto.
18385 2004-04-19 Kim Ho <kho@redhat.com>
18387 * java/awt/Container.java:
18388 (remove): Set the component's parent to null.
18389 (getComponentAt): Implement.
18390 * javax/swing/JComponent.java:
18391 (JComponent): Initialize defaultLocale
18392 (getDefaultLocale): Implement.
18393 (setDefaultLocale): ditto.
18394 * javax/swing/JSlider.java:
18395 (JSlider): Fix calculation of value.
18396 * javax/swing/JSplitPane.java: Implement.
18397 * javax/swing/plaf/basic/BasicLookAndFeel.java:
18398 Change SplitPane's default divider size.
18399 * javax/swing/plaf/basic/BasicScrollBarUI.java:
18400 (paint): Remove unused code.
18401 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
18402 Added comments and ran through jalopy.
18403 (setBasicSplitPaneUI): Get reference to hidden divider
18404 and set up one touch buttons if necessary.
18405 (setBorder): Fire propertyChangeEvent only if
18406 borders are different.
18407 (getPreferredSize): Defer to layout manager.
18408 (propertyChange): Implement.
18409 (oneTouchExpandableChanged): ditto.
18410 (createLeftOneTouchButton): Use BasicArrowButton.
18411 (createRightOneTouchButton): ditto.
18412 (moveDividerTo): New method. Moves the divider
18413 to a set location based on the last divider location.
18414 (BasicSplitPaneDivider::MouseHandler): Implement.
18415 (BasicSplitPaneDivider::OneTouchButton): Removed.
18416 (BasicSplitPaneDivider::DragController): Implement.
18417 (BasicSplitPaneDivider::VerticalDragController):
18419 (BasicSplitPaneDivider::DividerLayout): ditto.
18420 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
18421 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
18422 (calculateLayoutInfo): Don't show component if it's
18424 (paintTab): Fix title paint logic.
18426 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
18429 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
18430 (setStartRule,setEndRule): Don't take abs of day number.
18431 (getOffset): Clarify docs. Add argument checks.
18432 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
18433 (equals,hasSameRules,toString,readObject): Use startTimeMode and
18435 * testsuite/libjava.mauve/xfails
18436 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
18438 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
18440 Layout interfaces during preparation, not initialization.
18441 * java/lang/natClass.cc (initializeClass): Move
18442 _Jv_LayoutInterfaceMethods call...
18443 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
18445 2004-05-19 Anthony Green <green@localhost.localdomain>
18447 * Makefile.am (awt_java_source_files): Remove javax.rmi and
18448 gnu.javax.rmi code.
18449 * Makefile.in: Rebuilt.
18450 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
18451 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
18452 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
18453 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
18454 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
18455 gnu/javax/rmi/CORBA/DelegateFactory.java,
18456 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
18457 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
18458 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
18459 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
18460 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
18461 gnu/javax/rmi/PortableServer.java: Remove files.
18463 2004-05-19 Anthony Green <green@redhat.com>
18465 * Makefile.am: Define JAVA_EXT_DIRS.
18466 * Makefile.in: Rebuilt.
18467 * java/lang/natRuntime.cc (insertSystemProperties): Set
18468 java.ext.dirs property.
18470 2004-05-16 Mark Wielaard <mark@klomp.org>
18472 * java/io/Writer.java (Writer(Object)): Check for null lock object.
18474 2004-05-15 Mark Wielaard <mark@klomp.org>
18476 * doc/cni.sgml: Removed, merged into gcj.texi.
18478 2004-05-15 Mark Wielaard <mark@klomp.org>
18480 * Makefile.am (ordinary_java_source_files): Add new javax.print
18482 * Makefile.in: Regenerated.
18484 2004-05-15 Michael Koch <konqueror@gmx.de>
18486 * javax/print/attribute/standard/DateTimeAtCompleted.java,
18487 javax/print/attribute/standard/DateTimeAtCreation.java,
18488 javax/print/attribute/standard/DateTimeAtProcessing.java,
18489 javax/print/attribute/standard/DocumentName.java,
18490 javax/print/attribute/standard/JobHoldUntil.java,
18491 javax/print/attribute/standard/JobImpressionsCompleted.java,
18492 javax/print/attribute/standard/JobMessageFromOperator.java,
18493 javax/print/attribute/standard/JobName.java,
18494 javax/print/attribute/standard/JobOriginatingUserName.java,
18495 javax/print/attribute/standard/JobPriority.java,
18496 javax/print/attribute/standard/JobPrioritySupported.java,
18497 javax/print/attribute/standard/NumberOfInterveningJobs.java,
18498 javax/print/attribute/standard/OutputDeviceAssigned.java,
18499 javax/print/attribute/standard/PrinterInfo.java,
18500 javax/print/attribute/standard/PrinterLocation.java,
18501 javax/print/attribute/standard/PrinterMakeAndModel.java,
18502 javax/print/attribute/standard/PrinterMessageFromOperator.java,
18503 javax/print/attribute/standard/PrinterName.java,
18504 javax/print/attribute/standard/QueuedJobCount.java,
18505 javax/print/attribute/standard/RequestingUserName.java:
18506 Fixed javadocs all over.
18508 2004-05-15 Michael Koch <konqueror@gmx.de>
18510 * javax/print/DocFlavor.java,
18511 javax/print/attribute/standard/ColorSupported.java,
18512 javax/print/attribute/standard/Compression.java,
18513 javax/print/attribute/standard/CopiesSupported.java,
18514 javax/print/attribute/standard/Fidelity.java,
18515 javax/print/attribute/standard/Finishings.java,
18516 javax/print/attribute/standard/JobImpressionsSupported.java,
18517 javax/print/attribute/standard/JobKOctetsSupported.java,
18518 javax/print/attribute/standard/JobMediaSheetsSupported.java,
18519 javax/print/attribute/standard/JobSheets.java,
18520 javax/print/attribute/standard/JobState.java,
18521 javax/print/attribute/standard/JobStateReason.java,
18522 javax/print/attribute/standard/JobStateReasons.java,
18523 javax/print/attribute/standard/Media.java,
18524 javax/print/attribute/standard/MediaSizeName.java,
18525 javax/print/attribute/standard/MultipleDocumentHandling.java,
18526 javax/print/attribute/standard/NumberUpSupported.java,
18527 javax/print/attribute/standard/OrientationRequested.java,
18528 javax/print/attribute/standard/PDLOverrideSupported.java,
18529 javax/print/attribute/standard/PageRanges.java,
18530 javax/print/attribute/standard/PresentationDirection.java,
18531 javax/print/attribute/standard/PrintQuality.java,
18532 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
18533 javax/print/attribute/standard/PrinterMoreInfo.java,
18534 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
18535 javax/print/attribute/standard/PrinterResolution.java,
18536 javax/print/attribute/standard/PrinterState.java,
18537 javax/print/attribute/standard/PrinterStateReason.java,
18538 javax/print/attribute/standard/PrinterStateReasons.java,
18539 javax/print/attribute/standard/PrinterURI.java,
18540 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
18541 javax/print/attribute/standard/Severity.java,
18542 javax/print/attribute/standard/SheetCollate.java,
18543 javax/print/attribute/standard/Sides.java:
18544 Added serialVersionUID and removed final keyword where it doenst
18547 2004-05-15 Michael Koch <konqueror@gmx.de>
18549 * javax/print/PrintServiceLookup.java: New file.
18551 2004-05-15 Michael Koch <konqueror@gmx.de>
18553 * javax/print/DocFlavor.java:
18554 Implemented all flavor classes.
18556 2004-05-15 Michael Koch <konqueror@gmx.de>
18558 * javax/print/attribute/standard/ColorSupported.java,
18559 javax/print/attribute/standard/Compression.java,
18560 javax/print/attribute/standard/CopiesSupported.java,
18561 javax/print/attribute/standard/Fidelity.java,
18562 javax/print/attribute/standard/Finishings.java,
18563 javax/print/attribute/standard/JobImpressionsSupported.java,
18564 javax/print/attribute/standard/JobKOctetsSupported.java,
18565 javax/print/attribute/standard/JobMediaSheetsSupported.java,
18566 javax/print/attribute/standard/JobSheets.java,
18567 javax/print/attribute/standard/JobState.java,
18568 javax/print/attribute/standard/JobStateReason.java,
18569 javax/print/attribute/standard/JobStateReasons.java,
18570 javax/print/attribute/standard/Media.java,
18571 javax/print/attribute/standard/MediaSizeName.java,
18572 javax/print/attribute/standard/MultipleDocumentHandling.java,
18573 javax/print/attribute/standard/NumberUpSupported.java,
18574 javax/print/attribute/standard/OrientationRequested.java,
18575 javax/print/attribute/standard/PDLOverrideSupported.java,
18576 javax/print/attribute/standard/PageRanges.java,
18577 javax/print/attribute/standard/PresentationDirection.java,
18578 javax/print/attribute/standard/PrintQuality.java,
18579 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
18580 javax/print/attribute/standard/PrinterMoreInfo.java,
18581 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
18582 javax/print/attribute/standard/PrinterResolution.java,
18583 javax/print/attribute/standard/PrinterState.java,
18584 javax/print/attribute/standard/PrinterStateReason.java,
18585 javax/print/attribute/standard/PrinterStateReasons.java,
18586 javax/print/attribute/standard/PrinterURI.java,
18587 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
18588 javax/print/attribute/standard/Severity.java,
18589 javax/print/attribute/standard/SheetCollate.java,
18590 javax/print/attribute/standard/Sides.java: New files.
18592 2004-05-15 Michael Koch <konqueror@gmx.de>
18594 * javax/print/Doc.java
18595 (getPrintData): Throws IOException.
18596 (getReaderForText): Likewise.
18597 (getStreamForBytes): Likewise.
18598 * javax/print/DocFlavor.java:
18599 Fixed filename in copyright.
18600 (serialVersionUID): New field.
18601 * javax/print/ServiceUIFactory.java:
18602 Made all constants final.
18603 * javax/print/AttributeException.java
18604 javax/print/MultiDoc.java
18605 javax/print/MultiDocPrintJob.java
18606 javax/print/MultiDocPrintService.java
18607 javax/print/StreamPrintService.java
18608 javax/print/URIException.java: New files.
18609 * javax/print/Makefile.am
18610 (EXTRA_DIST): Added all new files.
18612 2004-05-15 Michael Koch <konqueror@gmx.de>
18614 * javax/print/attribute/standard/Copies.java,
18615 javax/print/attribute/standard/DateTimeAtCompleted.java,
18616 javax/print/attribute/standard/DateTimeAtCreation.java,
18617 javax/print/attribute/standard/DateTimeAtProcessing.java,
18618 javax/print/attribute/standard/DocumentName.java,
18619 javax/print/attribute/standard/JobHoldUntil.java,
18620 javax/print/attribute/standard/JobImpressions.java,
18621 javax/print/attribute/standard/JobImpressionsCompleted.java,
18622 javax/print/attribute/standard/JobKOctets.java,
18623 javax/print/attribute/standard/JobKOctetsProcessed.java,
18624 javax/print/attribute/standard/JobMediaSheets.java,
18625 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
18626 javax/print/attribute/standard/JobMessageFromOperator.java,
18627 javax/print/attribute/standard/JobName.java,
18628 javax/print/attribute/standard/JobOriginatingUserName.java,
18629 javax/print/attribute/standard/JobPriority.java,
18630 javax/print/attribute/standard/JobPrioritySupported.java,
18631 javax/print/attribute/standard/NumberOfDocuments.java,
18632 javax/print/attribute/standard/NumberOfInterveningJobs.java,
18633 javax/print/attribute/standard/NumberUp.java,
18634 javax/print/attribute/standard/OutputDeviceAssigned.java,
18635 javax/print/attribute/standard/PagesPerMinute.java,
18636 javax/print/attribute/standard/PagesPerMinuteColor.java:
18637 Fixed @return tag all over.
18639 2004-05-15 Michael Koch <konqueror@gmx.de>
18641 * javax/print/attribute/AttributeSetUtilities.java
18642 (verifyCategoryForValue): Fixed typo in javadoc.
18643 * javax/print/attribute/HashAttributeSet.java
18644 (containsKey): Fixed @return tag.
18645 (comtainsValue): Likewise.
18646 (equals): Likewise.
18647 * javax/print/attribute/IntegerSyntax.java
18648 (equals): Likewise.
18649 * javax/print/attribute/ResolutionSyntax.java
18650 (equals): Likewise.
18651 (getCrossFeedResolution): Removed unused code.
18652 (getFeedResolution): Likewise.
18653 * javax/print/attribute/SetOfIntegerSyntax.java
18654 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
18655 (equals): Fixed @return tag.
18656 * javax/print/attribute/TextSyntax.java
18657 (TextSyntax): Take locale into account.
18658 (hashCode): Better implementation.
18660 2004-05-15 Michael Koch <konqueror@gmx.de>
18662 * javax/print/CancelablePrintJob.java,
18663 javax/print/Doc.java,
18664 javax/print/DocFlavor.java,
18665 javax/print/DocPrintJob.java,
18666 javax/print/FlavorException.java,
18667 javax/print/PrintException.java,
18668 javax/print/PrintService.java,
18669 javax/print/ServiceUIFactory.java: New files.
18671 2004-05-15 Mark Wielaard <mark@klomp.org>
18673 * gnu/regexp/CharIndexedReader.java: Removed.
18674 * gnu/regexp/REFilterReader.java: Likewise.
18675 * gnu/regexp/RETokenLookAhead.java: Likewise.
18676 * Makefile.am (ordinary_java_source_files): Remove above classes.
18677 * Makefile.in: Regenerated.
18679 2004-05-14 Tom Tromey <tromey@redhat.com>
18681 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
18682 not `XGraphicsConfiguration.XOffScreenImage'.
18684 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
18686 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
18688 2004-05-14 Steven Augart <augart@watson.ibm.com>
18690 * include/jni.h (_Jv_func): Removed.
18691 (struct JNINativeInterface): Use `void *' for reserved slots.
18692 (struct JNIInvokeInterface): Likewise.
18694 2004-05-11 Michael Koch <konqueror@gmx.de>
18696 * gnu/java/net/natPlainSocketImplPosix.cc
18697 (read): Fixed typo in expression.
18699 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
18701 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
18702 ld_library_additions. Adjust all calls to libjava_invoke to match
18705 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
18706 path to cxxflagslist.
18707 Pass path of libstdc++ to libjava_invoke.
18709 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
18710 libjava_invoke arguments.
18712 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
18714 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
18717 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
18719 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
18720 main binary against the JNI shared library.
18722 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
18724 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
18725 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
18726 (SimpleTimeZone): Tweak docs. Add new variation.
18727 (setStartRule,setEndRule): Add new variations. Use
18728 startTimeMode and endTimeMode.
18730 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
18732 * java/util/Calendar.java (getActualMinimum,
18733 getActualMaximum): Remove abstract. Implement.
18735 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
18737 Run the jni tests using the interpreter.
18738 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
18739 options_cxx to shared lib compile command.
18740 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
18741 they are used to link the shared lib, not the main binary.
18742 Use libjava_invoke to run gij.
18744 2004-05-06 Michael Koch <konqueror@gmx.de>
18746 * java/util/logging/Level.java
18747 (parse): Use == instead of String.equals().
18749 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
18751 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
18752 verify_field_signature and verify_method_signature, not
18753 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
18754 (_Jv_ClassReader::handleField): Likewise.
18755 (_Jv_ClassReader::handleMethod): Likewise.
18757 2004-05-06 Michael Koch <konqueror@gmx.de>
18759 * javax/swing/table/TableColumn.java:
18762 2004-05-06 Michael Koch <konqueror@gmx.de>
18764 * javax/imageio/spi/ImageReaderWriterSpi.java
18765 (ImageReaderWriterSpi): Made it public.
18766 * javax/imageio/stream/ImageInputStream.java:
18769 2004-05-06 Michael Koch <konqueror@gmx.de>
18771 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
18772 Removed empty line.
18774 2004-05-06 Michael Koch <konqueror@gmx.de>
18776 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
18777 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
18779 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
18780 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
18781 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
18782 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
18783 their own source file.
18784 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
18785 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
18786 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
18787 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
18788 (create): Define variable on top of function.
18789 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
18790 (menu_pos): Prototyped.
18791 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
18792 (setTitle): Removed.
18793 * jni/gtk-peer/gthread-jni.c
18794 (gdk_threads_wake): Removed.
18795 * Makefile.am (gtk_c_source_files): Added new files
18796 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
18797 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
18798 * Makefile.in: Regenerated.
18800 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
18802 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
18805 2004-05-05 Mark Wielaard <mark@klomp.org>
18807 * javax/swing/AbstractButton.java: Replace special HTML entities with
18809 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
18810 * javax/swing/DefaultButtonModel.java: Likewise.
18811 * javax/swing/DefaultListModel.java: Likewise.
18812 * javax/swing/JList.java: Likewise.
18813 * javax/swing/JSlider.java: Likewise.
18814 * javax/swing/ListModel.java: Likewise.
18815 * javax/swing/Popup.java: Likewise.
18816 * javax/swing/SwingUtilities.java: Likewise.
18818 2004-05-05 Michael Koch <konqueror@gmx.de>
18820 * javax/swing/AbstractButton.java,
18821 javax/swing/ActionMap.java,
18822 javax/swing/DefaultButtonModel.java,
18823 javax/swing/DefaultListModel.java,
18824 javax/swing/ImageIcon.java,
18825 javax/swing/JComboBox.java,
18826 javax/swing/JComponent.java,
18827 javax/swing/JFrame.java,
18828 javax/swing/JInternalFrame.java,
18829 javax/swing/JMenuBar.java,
18830 javax/swing/JMenuItem.java,
18831 javax/swing/JOptionPane.java,
18832 javax/swing/JProgressBar.java,
18833 javax/swing/JRootPane.java,
18834 javax/swing/JScrollBar.java,
18835 javax/swing/JScrollPane.java,
18836 javax/swing/JSeparator.java,
18837 javax/swing/JSlider.java,
18838 javax/swing/JTabbedPane.java,
18839 javax/swing/JTable.java,
18840 javax/swing/JTextField.java,
18841 javax/swing/JToolBar.java,
18842 javax/swing/JToolTip.java,
18843 javax/swing/JTree.java,
18844 javax/swing/JViewport.java,
18845 javax/swing/JWindow.java,
18846 javax/swing/KeyStroke.java,
18847 javax/swing/LookAndFeel.java,
18848 javax/swing/SwingUtilities.java,
18849 javax/swing/Timer.java,
18850 javax/swing/ToolTipManager.java,
18851 javax/swing/UIDefaults.java,
18852 javax/swing/border/TitledBorder.java,
18853 javax/swing/filechooser/FileSystemView.java,
18854 javax/swing/plaf/basic/BasicButtonListener.java,
18855 javax/swing/plaf/basic/BasicButtonUI.java,
18856 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
18857 javax/swing/plaf/basic/BasicGraphicsUtils.java,
18858 javax/swing/plaf/basic/BasicLabelUI.java,
18859 javax/swing/plaf/basic/BasicMenuItemUI.java,
18860 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
18861 javax/swing/plaf/basic/BasicRootPaneUI.java,
18862 javax/swing/plaf/basic/BasicScrollBarUI.java,
18863 javax/swing/plaf/basic/BasicScrollPaneUI.java,
18864 javax/swing/plaf/basic/BasicSliderUI.java,
18865 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
18866 javax/swing/plaf/basic/BasicToggleButtonUI.java,
18867 javax/swing/table/JTableHeader.java,
18868 javax/swing/text/AbstractDocument.java,
18869 javax/swing/text/DefaultCaret.java,
18870 javax/swing/text/StyledEditorKit.java,
18871 javax/swing/tree/DefaultTreeCellEditor.java:
18872 Cleaned up imports.
18874 2004-05-05 Michael Koch <konqueror@gmx.de>
18876 * java/util/prefs/AbstractPreferences.java
18877 (AbstractPreferences): Added parenthesis for clarity.
18878 Closes classpath bug #7940.
18880 2004-05-05 Tom Tromey <tromey@redhat.com>
18882 * javax/naming/CompoundName.java (endsWith): Look at correct
18883 element of source name.
18885 2004-05-05 Mark Wielaard <mark@klomp.org>
18887 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
18888 * java/util/HashMap.java (rehash): Add entry at start of bucket.
18890 2004-05-05 Tom Tromey <tromey@redhat.com>
18892 * java/io/BufferedReader.java (skip): Removed unused
18895 2004-05-05 Michael Koch <konqueror@gmx.de>
18897 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
18899 2004-05-05 Dalibor Topic <robilad@kaffe.org>
18901 * java/text/AttributedString.java,
18902 java/text/AttributedStringIterator.java,
18903 java/text/Collator.java,
18904 java/text/DecimalFormatSymbols.java,
18905 java/text/NumberFormat.java,
18906 java/text/RuleBasedCollator.java:
18907 Cleaned up imports.
18909 2004-05-05 Tom Tromey <tromey@redhat.com>
18911 * java/text/Format.java: Cleaned up imports.
18912 * java/text/DecimalFormat.java: Cleaned up imports.
18913 * java/security/SecureRandom.java: Cleaned up imports.
18914 (SecureRandom): Removed unused variable.
18915 * java/security/UnresolvedPermission.java: Cleaned up imports.
18916 * java/util/Date.java (parse): Removed unused variable.
18917 * java/util/ResourceBundle.java: Cleaned up imports.
18918 (getBundle): Removed unused variable.
18919 (tryBundle): Likewise.
18920 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
18922 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
18924 * java/text/SimpleDateFormat.java:
18925 (formatWithAttribute): New method. It implements
18926 the formatting process with attributes.
18927 (format): Use formatWithAttribute.
18928 (formatToCharacterIterator): New method. Use
18929 formatWithAttribute.
18931 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
18933 * java/text/MessageFormat.java:
18934 (class Field): New class.
18935 (formatToCharacterIterator): New method.
18936 (format): Use formatInternal now.
18937 (formatInternal): New method. String formatter should
18938 be done here (with attributes). Attributes merging supported.
18939 (parse): More documentation.
18940 (getFormatsByArgumentIndex): New method.
18941 (setFormatByArgumentIndex): New method.
18942 (setFormatsByArgumentIndex): New method.
18944 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
18946 * java/text/DecimalFormat.java
18947 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
18948 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
18949 (parse): Fixed handling of exponentiation notation and grouping.
18951 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
18953 * java/text/DecimalFormat.java
18954 (scanFix): Build attribute array. Fixed error reporting.
18955 (applyPatternWithSymbols): Store attributes for the prefix and
18957 (formatInternal): New method. Changed the way the string is
18958 computed. Implemented attributes. Cleant up rounding in
18959 exponential notation.
18960 (format): Use formatInternal.
18961 (formatToCharacterIterator): New method.
18962 (exponentRound, negativePrefixRanges, positivePrefixRanges,
18963 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
18964 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
18967 2004-05-04 Dalibor Topic <robilad@kaffe.org>
18969 * java/security/interfaces/DSAKeyPairGenerator.java,
18970 java/security/interfaces/DSAPrivateKey.java,
18971 java/security/interfaces/DSAPublicKey.java,
18972 java/security/interfaces/RSAPrivateKey.java,
18973 java/security/interfaces/RSAPublicKey.java:
18974 Cleaned up imports.
18976 2004-05-04 Michael Koch <konqueror@gmx.de>
18978 * java/nio/ByteBuffer.java,
18979 java/nio/CharBuffer.java,
18980 java/nio/DoubleBuffer.java,
18981 java/nio/FloatBuffer.java,
18982 java/nio/IntBuffer.java,
18983 java/nio/LongBuffer.java,
18984 java/nio/ShortBuffer.java:
18985 (compareTo): Fixed bogus implementation in all buffer classes.
18987 2004-05-04 Ingo Proetel <proetel@aicas.com>
18989 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
18990 32 bit pixels not 8 bit pixels.
18991 (isCompatibleRaster): Added javadoc comment.
18993 2004-05-04 Ingo Proetel <proetel@aicas.com>
18995 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
18998 2004-05-04 Ingo Proetel <proetel@aicas.com>
19000 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
19001 (getColorModel): Return the actual color model.
19002 (getRaster): Implemented.
19003 (ColorRaster): New inner class.
19004 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
19006 * java/awt/Color.java (<init>): Make exception more verbose.
19007 (createContext): Use ColorModel when creating a PaintContext.
19009 2004-05-04 Michael Koch <konqueror@gmx.de>
19011 * gnu/java/text/CharacterBreakIterator.java
19012 (previous): Removed unused variable.
19014 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
19016 * gnu/java/text/FormatBuffer.java,
19017 gnu/java/text/AttributedFormatBuffer.java,
19018 gnu/java/text/StringFormatBuffer.java: New classes to implement
19019 attributed iterators in java.text.
19020 * gnu/java/text/FormatCharacterIterator.java: Moved
19021 from java/text as it is an internal class.
19022 * java/text/FormatCharacterIterator.java: Removed.
19023 * java/text/Format.java:
19024 Import gnu.java.text.FormatCharacterIterator.
19025 * Makefile.am (java_source_files): Added new files.
19026 * Makefile.in: Regenerated.
19029 2004-05-04 Mark Wielaard <mark@klomp.org>
19031 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
19033 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
19035 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
19036 * Makefile.in: Rebuilt.
19038 2004-05-03 Mark Wielaard <mark@klomp.org>
19040 * gnu/java/security/der/DERReader.java: Call static methods staticly.
19041 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
19042 * java/net/URL.java
19043 (set(String, String, int, String, String, String, String, String)):
19044 Assign this.file to path or path + "?" + query.
19045 * java/util/Arrays.java: Call static methods staticly.
19046 * java/util/zip/ZipEntry.java: Likewise.
19047 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
19048 dir to this.direction.
19049 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
19050 Assign static field only once.
19051 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
19053 2004-05-03 Mark Wielaard <mark@klomp.org>
19055 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
19056 unused variables hScrollbarHeight and vScrollbarWidth.
19057 (preferredSize): Likewise.
19058 * gnu/java/security/provider/DSAParameters.java (engineToString):
19059 Removed unused call to System.getProperty("line.seperator");
19060 * java/security/Security.java (loadProviders): Return result.
19062 2004-05-03 Tom Tromey <tromey@redhat.com>
19064 * java/net/URLStreamHandler.java (toExternalForm): Removed
19066 unused constructor.
19067 * java/math/BigDecimal.java (divide): Removed unused variable.
19068 * java/lang/Throwable.java: Cleaned up imports.
19069 * java/lang/ClassLoader.java: Cleaned up imports.
19070 * java/io/FilePermission.java (implies): Removed unused
19072 * java/awt/TextComponent.java: Removed unused import.
19073 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
19074 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
19075 * gnu/java/text/WordBreakIterator.java: Removed unused import.
19076 * gnu/java/text/SentenceBreakIterator.java: Removed unused
19078 * gnu/java/text/LineBreakIterator.java: Removed unused import.
19079 * gnu/java/text/CharacterBreakIterator.java: Removed
19081 * gnu/java/security/provider/DSAKeyPairGenerator.java:
19082 Cleaned up imports.
19083 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
19084 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
19086 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
19087 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
19088 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
19089 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
19090 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
19091 (lookupProviders): Removed unused variable.
19092 (loadNextServiceProvider): Likewise.
19093 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
19095 2004-05-03 Michael Koch <konqueror@gmx.de>
19097 Fixes PR libgcj/14695:
19098 * java/net/NetworkInterface.java
19099 (getByName): Return null when no interface was found.
19101 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
19102 Tom Tromey <tromey@redhat.com>
19104 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
19105 additional option "-Wmissing-prototypes" for compiling C sources.
19106 Print actual filename for pass/fail rather than $name.c.
19107 * testsuite/libjava.jni/PR15133.java: New testcase file.
19108 * testsuite/libjava.jni/PR15133.c: Likewise.
19109 * testsuite/libjava.jni/PR15133.out: Likewise.
19111 2004-04-30 Roger Sayle <roger@eyesopen.com>
19113 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
19116 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
19118 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
19119 limit the maximum heap size to avoid unnecessary thrashing.
19121 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
19123 * java/text/CollationElementIterator.java (reset): Reset
19124 lookahead variables.
19126 2004-04-23 Mark Wielaard <mark@klomp.org>
19128 * jni/classpath/jcl.c: Changed C++ comments into C comments.
19130 2004-04-23 Dalibor Topic <robilad@kaffe.org>
19132 * java/sql/DriverManager.java:
19133 Cleaned up imports.
19135 2004-04-23 Michael Koch <konqueror@gmx.de>
19137 * java/net/URL.java
19138 (hashcode): Don't initialize with default value explicitely.
19139 (getContent): Removed redundant "final" keyword.
19140 (openStream): Likewise.
19141 (getURLStreamHandler): Fixed coding style.
19142 * java/net/URLConnection.java
19143 (defaultAllowUserInteraction): Don't initialize with default value
19145 (connected): Likewise.
19146 (doOutput): Likewise.
19147 (ifModifiedSince): Likewise.
19148 (dateformats_initialized): Likewise.
19149 (setURLStreamHander): Use StreamTokenizer where it belongs to.
19151 2004-04-23 Michael Koch <konqueror@gmx.de>
19153 * gnu/java/nio/channels/FileChannelImpl.java
19154 (SET, CUR): Unused, removed.
19155 (read): Implement here directly.
19156 (implRead): Removed.
19157 (write): Implement here directly.
19158 (implWrite): Removed.
19160 2004-04-23 Dalibor Topic <robilad@kaffe.org>
19162 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
19163 javax/rmi/CORBA/Stub.java,
19164 javax/rmi/CORBA/Util.java,
19165 javax/rmi/CORBA/ValueHandler.java,
19166 javax/rmi/CORBA/ValueHandler.java,
19167 javax/rmi/PortableRemoteObject.java:
19168 Cleaned up imports.
19170 2004-04-23 Dalibor Topic <robilad@kaffe.org>
19172 * java/util/jar/JarFile.java,
19173 java/util/jar/JarInputStream.java,
19174 java/util/jar/JarOutputStream.java,
19175 java/util/jar/Manifest.java:
19176 Cleaned up imports.
19178 2004-04-23 Dalibor Topic <robilad@kaffe.org>
19180 * java/util/ArrayList.java,
19181 java/util/Calendar.java,
19182 java/util/Currency.java,
19183 java/util/HashMap.java,
19184 java/util/HashSet.java,
19185 java/util/Hashtable.java,
19186 java/util/LinkedList.java,
19187 java/util/Properties.java,
19188 java/util/PropertyPermission.java,
19189 java/util/TimeZone.java,
19190 java/util/TreeMap.java,
19191 java/util/TreeSet.java,
19192 java/util/Vector.java,
19193 java/util/WeakHashMap.java:
19194 Cleaned up imports.
19196 2004-04-23 Dalibor Topic <robilad@kaffe.org>
19198 * java/util/logging/FileHandler.java,
19199 java/util/logging/Formatter.java,
19200 java/util/logging/Handler.java,
19201 java/util/logging/Logger.java,
19202 java/util/logging/SimpleFormatter.java,
19203 java/util/logging/XMLFormatter.java:
19204 Cleaned up imports.
19206 2004-04-22 Mark Wielaard <mark@klomp.org>
19208 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
19209 -Wno-long-long flags variable.
19210 (gtk_c_files): Use PEDANTIC_CFLAGS.
19211 * Makefile.in: Regenerated.
19213 2004-04-22 Mark Wielaard <mark@klomp.org>
19215 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
19216 Changed C++ comments into C comments.
19217 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
19220 2004-04-22 Michael Koch <konqueror@gmx.de>
19222 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
19223 Merged copyright year with GNU classpath.
19225 2004-04-22 Dalibor Topic <robilad@kaffe.org>
19227 * javax/security/auth/x500/X500Principal.java:
19228 Cleaned up imports.
19230 2004-04-22 Dalibor Topic <robilad@kaffe.org>
19232 * javax/swing/JSlider.java:
19233 Fixed HTML tags in comments.
19235 2004-04-22 Dalibor Topic <robilad@kaffe.org>
19237 * javax/accessibility/AccessibleText.java:
19238 Cleaned up imports.
19240 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
19242 * java/net/URLStreamHandler.java
19243 (parseURL): Convert the file path to using '/' instead of native
19246 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
19248 * java/net/URL.java
19249 (userInfo): New field.
19250 (URL): Set authority to the right value.
19251 (setURL): Fixed authority and file initialization.
19252 * java/net/URLStreamHandler.java
19253 (parseURL): Take care of the query tag. Build authority.
19254 (toExternalForm): Fixed URL building using authority.
19256 2004-04-22 Michael Koch <konqueror@gmx.de>
19258 * java/net/Socket.java
19259 (impl): Made package-private.
19260 * java/net/ServerSocket.java
19261 (implAccept): Access Socket.impl field directly.
19263 2004-04-22 Dalibor Topic <robilad@kaffe.org>
19265 * java/util/prefs/Preferences.java,
19266 java/util/prefs/InvalidPreferencesFormatException.java,
19267 java/util/prefs/BackingStoreException.java,
19268 java/util/prefs/AbstractPreferences.java:
19269 Cleaned up imports.
19271 2004-04-22 Dalibor Topic <robilad@kaffe.org>
19273 * java/util/regex/Matcher.java,
19274 java/util/regex/Pattern.java:
19275 Cleaned up imports.
19277 2004-04-22 Michael Koch <konqueror@gmx.de>
19279 * java/nio/charset/IllegalCharsetNameException.java
19280 (charsetName): Made private.
19281 (IllegalCharsetNameException): Added @param tag to javadoc.
19282 (getCharsetName): Added @return tag to javadoc.
19283 * java/nio/charset/MalformedInputException.java
19284 (MalformedInputException): Added @param tag to javadoc.
19285 (getInputLength): Revised method description, added @return tag.
19286 (getMessage): Added @return tag.
19288 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
19290 * java/awt/Font.java (deriveFont): Implement missing variants.
19291 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
19294 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
19296 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
19297 Set method->index values for interface methods to their itable index.
19298 (initializeClass): Call _Jv_LayoutInterfaceMethods.
19300 2004-04-21 Michael Koch <konqueror@gmx.de>
19302 * java/nio/DirectByteBufferImpl.java
19303 (shiftDown): Made static, give address as argument and
19304 provide a convenience method that overwrites shiftDown in
19305 ByteBufferImpl and calls the native shiftDown.
19306 * java/nio/MappedByteBufferImpl.java
19307 (): Use optimized method in DirectByteBufferImpl.
19308 * java/nio/natDirectByteBufferImpl.cc
19309 (shiftDown): Changed method signature. Removed usage of array_offset.
19311 2004-04-21 Michael Koch <konqueror@gmx.de>
19313 * gnu/java/net/natPlainSocketImplPosix.cc
19314 (SocketInputStream::read): Make sure returned data is a byte value.
19316 2004-04-21 Michael Koch <konqueror@gmx.de>
19318 * gnu/classpath/ServiceFactory.java,
19319 gnu/classpath/ServiceProviderLoadingAction.java,
19320 javax/imageio/ImageReader.java,
19321 javax/imageio/ImageTranscoder.java,
19322 javax/imageio/ImageWriter.java,
19323 javax/imageio/package.html,
19324 javax/imageio/spi/IIOServiceProvider.java,
19325 javax/imageio/spi/ImageInputStreamSpi.java,
19326 javax/imageio/spi/ImageOutputStreamSpi.java,
19327 javax/imageio/spi/ImageReaderWriterSpi.java,
19328 javax/imageio/spi/ImageTranscoderSpi.java,
19329 javax/imageio/spi/RegisterableService.java,
19330 javax/imageio/spi/ServiceRegistry.java,
19331 javax/imageio/spi/package.html,
19332 javax/imageio/stream/IIOByteBuffer.java,
19333 javax/imageio/stream/ImageInputStream.java,
19334 javax/imageio/stream/ImageOutputStream.java,
19335 javax/imageio/stream/package.html:
19338 (ordinary_java_source_files): Added
19339 gnu/classpath/ServiceFactory.java and
19340 gnu/classpath/ServiceProviderLoadingAction.java.
19341 (javax_source_files): Added
19342 javax/imageio/ImageReader.java,
19343 javax/imageio/ImageTranscoder.java,
19344 javax/imageio/ImageWriter.java,
19345 javax/imageio/spi/IIOServiceProvider.java,
19346 javax/imageio/spi/ImageInputStreamSpi.java,
19347 javax/imageio/spi/ImageOutputStreamSpi.java,
19348 javax/imageio/spi/ImageReaderWriterSpi.java,
19349 javax/imageio/spi/ImageTranscoderSpi.java,
19350 javax/imageio/spi/RegisterableService.java,
19351 javax/imageio/spi/ServiceRegistry.java,
19352 javax/imageio/stream/IIOByteBuffer.java,
19353 javax/imageio/stream/ImageInputStream.java and
19354 javax/imageio/stream/ImageOutputStream.java.
19355 * Makefile.in: Regenerated.
19357 2004-04-21 Michael Koch <konqueror@gmx.de>
19359 * java/util/Properties.java
19360 (load): Fix wrongly merged fix.
19362 2004-04-21 Mark Wielaard <mark@klomp.org>
19364 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
19365 malloc and free buf.
19367 2004-04-21 Dalibor Topic <robilad@kaffe.org>
19369 * javax/naming/AuthenticationException.java,
19370 javax/naming/AuthenticationNotSupportedException.java,
19371 javax/naming/CannotProceedException.java,
19372 javax/naming/CommunicationException.java,
19373 javax/naming/CompoundName.java,
19374 javax/naming/ConfigurationException.java,
19375 javax/naming/ContextNotEmptyException.java,
19376 javax/naming/InitialContext.java,
19377 javax/naming/InsufficientResourcesException.java,
19378 javax/naming/InterruptedNamingException.java,
19379 javax/naming/LimitExceededException.java,
19380 javax/naming/LinkException.java,
19381 javax/naming/LinkLoopException.java,
19382 javax/naming/LinkRef.java,
19383 javax/naming/MalformedLinkException.java,
19384 javax/naming/Name.java,
19385 javax/naming/NameAlreadyBoundException.java,
19386 javax/naming/NameNotFoundException.java,
19387 javax/naming/NamingSecurityException.java,
19388 javax/naming/NoInitialContextException.java,
19389 javax/naming/NoPermissionException.java,
19390 javax/naming/NotContextException.java,
19391 javax/naming/PartialResultException.java,
19392 javax/naming/ReferralException.java,
19393 javax/naming/ServiceUnavailableException.java,
19394 javax/naming/SizeLimitExceededException.java,
19395 javax/naming/TimeLimitExceededException.java,
19396 javax/naming/directory/Attribute.java,
19397 javax/naming/directory/Attributes.java,
19398 javax/naming/directory/SearchResult.java,
19399 javax/naming/event/NamingExceptionEvent.java,
19400 javax/naming/spi/ResolveResult.java:
19401 Cleaned up imports.
19403 2004-04-21 Mark Wielaard <mark@klomp.org>
19405 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
19406 Changed C++ comments into C comments. Removed commented out code.
19407 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
19409 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
19411 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
19413 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
19415 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
19417 * native/jni/gtk-peer/gthread-jni.c:
19420 2004-04-21 Mark Wielaard <mark@klomp.org>
19422 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
19423 static fields defined in interface.
19424 * javax/awt/JDialog.java: Likewise.
19425 (JDialog): Make constructors public.
19426 (getDefaultCloseOperation): Make public.
19427 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
19428 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
19429 * javax/swing/JViewport.java (JViewport): Make constructor public.
19431 2004-04-21 Michael Koch <konqueror@gmx.de>
19433 * java/util/Map.java
19434 (Entry): Removed redundant "static" modifier.
19435 * java/text/AttributedCharacterIterator.java:
19436 Updated copyright year.
19438 2004-04-20 Michael Koch <konqueror@gmx.de>
19440 * javax/naming/directory/SearchControls.java:
19441 Don't explicitely extend java.lang.Object.
19442 * javax/naming/spi/DirStateFactory.java:
19443 Merged copyright year with GNU classpath.
19445 2004-04-20 Michael Koch <konqueror@gmx.de>
19447 * java/nio/channels/Channels.java:
19448 Merged coding style with GNU classpath.
19450 2004-04-20 Michael Koch <konqueror@gmx.de>
19452 * java/net/ServerSocket.java
19453 Merged coding style from GNU classpath.
19455 2004-04-20 Michael Koch <konqueror@gmx.de>
19457 * java/io/BufferedWriter.java:
19458 Reordered variables to be at top of the class.
19459 (localFlush): Removed redundant final keyword.
19461 2004-04-20 Ingo Proetel <proetel@aicas.com>
19463 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
19465 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
19467 * java/text/DecimalFormat.java (scanFix): Removed suffix check
19468 for percent and permill check.
19470 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
19472 * java/text/FieldPosition.java
19473 (FieldPosition) Constructor now behaves as it should according
19474 to the java documentation.
19476 2004-04-20 Mark Wielaard <mark@klomp.org>
19478 * java/util/Properties.java: Use the word umlaut, not ä in api
19481 2004-04-20 Michael Koch <konqueror@gmx.de>
19483 * java/nio/Buffer.java,
19484 java/nio/channels/AlreadyConnectedException.java,
19485 java/nio/channels/AsynchronousCloseException.java,
19486 java/nio/channels/ByteChannel.java,
19487 java/nio/channels/CancelledKeyException.java,
19488 java/nio/channels/Channel.java,
19489 java/nio/channels/Channels.java,
19490 java/nio/channels/ClosedByInterruptException.java,
19491 java/nio/channels/ClosedChannelException.java,
19492 java/nio/channels/ClosedSelectorException.java,
19493 java/nio/channels/ConnectionPendingException.java,
19494 java/nio/channels/DatagramChannel.java,
19495 java/nio/channels/FileChannel.java,
19496 java/nio/channels/FileLock.java,
19497 java/nio/channels/FileLockInterruptionException.java,
19498 java/nio/channels/GatheringByteChannel.java,
19499 java/nio/channels/IllegalBlockingModeException.java,
19500 java/nio/channels/IllegalSelectorException.java,
19501 java/nio/channels/InterruptibleChannel.java,
19502 java/nio/channels/NoConnectionPendingException.java,
19503 java/nio/channels/NonReadableChannelException.java,
19504 java/nio/channels/NonWritableChannelException.java,
19505 java/nio/channels/NotYetBoundException.java,
19506 java/nio/channels/NotYetConnectedException.java,
19507 java/nio/channels/OverlappingFileLockException.java,
19508 java/nio/channels/Pipe.java,
19509 java/nio/channels/ReadableByteChannel.java,
19510 java/nio/channels/ScatteringByteChannel.java,
19511 java/nio/channels/SelectableChannel.java,
19512 java/nio/channels/SelectionKey.java,
19513 java/nio/channels/Selector.java,
19514 java/nio/channels/ServerSocketChannel.java,
19515 java/nio/channels/SocketChannel.java,
19516 java/nio/channels/UnresolvedAddressException.java,
19517 java/nio/channels/UnsupportedAddressTypeException.java,
19518 java/nio/channels/WritableByteChannel.java,
19519 java/nio/channels/spi/AbstractInterruptibleChannel.java,
19520 java/nio/channels/spi/AbstractSelectableChannel.java,
19521 java/nio/channels/spi/AbstractSelectionKey.java,
19522 java/nio/channels/spi/AbstractSelector.java,
19523 java/nio/channels/spi/SelectorProvider.java,
19524 java/nio/charset/spi/CharsetProvider.java:
19525 Fixed javadocs and jalopied all over java.nio.
19527 2004-04-20 Michael Koch <konqueror@gmx.de>
19529 * java/nio/ByteBufferImpl.java,
19530 java/nio/CharBufferImpl.java,
19531 java/nio/DirectByteBufferImpl.java,
19532 java/nio/DoubleBufferImpl.java,
19533 java/nio/DoubleViewBufferImpl.java,
19534 java/nio/FloatBufferImpl.java,
19535 java/nio/FloatViewBufferImpl.java,
19536 java/nio/IntBufferImpl.java,
19537 java/nio/IntViewBufferImpl.java,
19538 java/nio/LongBufferImpl.java,
19539 java/nio/LongViewBufferImpl.java,
19540 java/nio/MappedByteBufferImpl.java,
19541 java/nio/ShortBufferImpl.java,
19542 java/nio/ShortViewBufferImpl.java:
19543 Made sure all classes are final and removed final keyword from all
19546 2004-04-20 Michael Koch <konqueror@gmx.de>
19548 * java/rmi/MarshalledObject.java,
19549 java/rmi/Naming.java,
19550 java/rmi/RemoteException.java,
19551 java/rmi/activation/ActivationException.java,
19552 java/rmi/server/ServerCloneException.java,
19553 java/security/AccessController.java,
19554 java/security/AlgorithmParameterGenerator.java,
19555 java/security/AlgorithmParameters.java,
19556 java/security/CodeSource.java,
19557 java/security/Identity.java,
19558 java/security/IdentityScope.java,
19559 java/security/KeyPairGenerator.java,
19560 java/security/KeyStore.java,
19561 java/security/Security.java,
19562 java/security/Signature.java,
19563 java/security/SignatureSpi.java,
19564 java/security/SignedObject.java,
19565 java/security/spec/DSAParameterSpec.java,
19566 java/security/spec/DSAPrivateKeySpec.java,
19567 java/security/spec/DSAPublicKeySpec.java,
19568 java/sql/Array.java,
19569 java/sql/DatabaseMetaData.java,
19570 java/sql/ResultSet.java,
19571 java/text/ChoiceFormat.java,
19572 java/text/CollationElementIterator.java,
19573 java/text/CollationKey.java,
19574 java/text/Collator.java,
19575 java/text/DateFormat.java,
19576 java/text/DateFormatSymbols.java,
19577 java/text/DecimalFormatSymbols.java,
19578 java/text/Format.java,
19579 java/text/ParsePosition.java,
19580 java/text/RuleBasedCollator.java,
19581 java/text/SimpleDateFormat.java,
19582 java/text/StringCharacterIterator.java,
19583 java/util/Collections.java,
19584 java/util/PropertyResourceBundle.java,
19585 java/util/ResourceBundle.java,
19586 java/util/StringTokenizer.java,
19587 java/util/jar/Attributes.java,
19588 java/util/logging/ConsoleHandler.java,
19589 java/util/logging/LogManager.java,
19590 java/util/logging/MemoryHandler.java,
19591 java/util/logging/SocketHandler.java,
19592 javax/naming/NamingException.java:
19593 Fixed javadoc, coding style and argument names all over.
19595 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
19597 * java/io/FileDescriptor.java: (FileDescriptor) Added public
19598 constructor. (valid) Added null check.
19600 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
19602 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
19603 * java/io/FileOutputStream.java
19604 (FileOutputStream) Reorganized constructors. Constructors now
19605 check whether the given path is directory.
19607 2004-04-20 Michael Koch <konqueror@gmx.de>
19609 * java/net/Authenticator.java,
19610 java/net/BindException.java,
19611 java/net/ConnectException.java,
19612 java/net/ContentHandler.java,
19613 java/net/ContentHandlerFactory.java,
19614 java/net/DatagramPacket.java,
19615 java/net/DatagramSocket.java,
19616 java/net/DatagramSocketImpl.java,
19617 java/net/DatagramSocketImplFactory.java,
19618 java/net/FileNameMap.java,
19619 java/net/HttpURLConnection.java,
19620 java/net/Inet4Address.java,
19621 java/net/Inet6Address.java,
19622 java/net/InetAddress.java,
19623 java/net/InetSocketAddress.java,
19624 java/net/JarURLConnection.java,
19625 java/net/MalformedURLException.java,
19626 java/net/MulticastSocket.java,
19627 java/net/NetPermission.java,
19628 java/net/NetworkInterface.java,
19629 java/net/NoRouteToHostException.java,
19630 java/net/PasswordAuthentication.java,
19631 java/net/PortUnreachableException.java,
19632 java/net/ProtocolException.java,
19633 java/net/ServerSocket.java,
19634 java/net/Socket.java,
19635 java/net/SocketAddress.java,
19636 java/net/SocketException.java,
19637 java/net/SocketImpl.java,
19638 java/net/SocketImplFactory.java,
19639 java/net/SocketOptions.java,
19640 java/net/SocketPermission.java,
19641 java/net/SocketTimeoutException.java,
19643 java/net/URISyntaxException.java,
19645 java/net/URLClassLoader.java,
19646 java/net/URLConnection.java,
19647 java/net/URLDecoder.java,
19648 java/net/URLEncoder.java,
19649 java/net/URLStreamHandler.java,
19650 java/net/URLStreamHandlerFactory.java,
19651 java/net/UnknownHostException.java,
19652 java/net/UnknownServiceException.java:
19653 Fixed javadocs, coding style and argument names all over.
19655 2004-04-20 Michael Koch <konqueror@gmx.de>
19657 * java/lang/Byte.java,
19658 java/lang/CharSequence.java,
19659 java/lang/ClassLoader.java,
19660 java/lang/Compiler.java,
19661 java/lang/Double.java,
19662 java/lang/Float.java,
19663 java/lang/Integer.java,
19664 java/lang/Long.java,
19665 java/lang/Math.java,
19666 java/lang/Number.java,
19667 java/lang/Package.java,
19668 java/lang/Runtime.java,
19669 java/lang/RuntimePermission.java,
19670 java/lang/SecurityManager.java,
19671 java/lang/Short.java,
19672 java/lang/StringBuffer.java,
19673 java/lang/System.java,
19674 java/lang/ThreadGroup.java,
19675 java/lang/Throwable.java,
19676 java/lang/reflect/InvocationHandler.java,
19677 java/lang/reflect/Proxy.java:
19678 Fixed javadocs, coding style and argument names all over.
19680 2004-04-20 Michael Koch <konqueror@gmx.de>
19682 * java/io/BufferedWriter.java,
19683 java/io/ByteArrayInputStream.java,
19684 java/io/CharArrayWriter.java,
19685 java/io/DataInput.java,
19686 java/io/DataInputStream.java,
19688 java/io/FilterInputStream.java,
19689 java/io/InputStream.java,
19690 java/io/InputStreamReader.java,
19691 java/io/ObjectInputStream.java,
19692 java/io/ObjectStreamClass.java,
19693 java/io/PipedInputStream.java,
19694 java/io/PipedReader.java,
19695 java/io/PushbackInputStream.java,
19696 java/io/PushbackReader.java,
19697 java/io/RandomAccessFile.java,
19698 java/io/SerializablePermission.java,
19699 java/io/StreamTokenizer.java,
19700 java/io/StringWriter.java,
19701 java/io/WriteAbortedException.java,
19702 java/io/Writer.java:
19703 Fixed javadocs all over, rename arguments to match javadocs,
19704 fixed coding style.
19706 2004-04-20 Ingo Proetel <proetel@aicas.com>
19708 * java/awt/FontMetrics.java:
19709 (charsWidth): fixed accumulation of total_width
19710 (getWidth): simple default implementation
19711 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
19712 in Rectangle constructor.
19713 * java/awt/image/Raster.java (toString): Added method.
19714 * java/awt/image/SampleModel.java (<init>): Added error cause
19715 information to thrown exception.
19716 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
19718 (setDataElements): New method.
19719 (setPixels): New method.
19720 (toString): New method.
19722 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
19724 * java/awt/image/ComponentColorModel.java
19725 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
19726 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
19727 Mauve tests on this method. Improved documentation.
19729 2004-04-20 Michael Koch <konqueror@gmx.de>
19731 * javax/swing/JLayeredPane.java,
19732 javax/swing/plaf/BorderUIResource.java,
19733 javax/swing/plaf/ComponentUI.java,
19734 javax/swing/undo/CompoundEdit.java,
19735 javax/swing/undo/StateEdit.java:
19736 Fixed HTML tags in javadocs all over.
19738 2004-04-20 Michael Koch <konqueror@gmx.de>
19740 * javax/print/attribute/EnumSyntax.java
19741 (getOffset): Made protected.
19742 * javax/print/attribute/HashAttributeSet.java
19743 (HashAttributeSet): Likewise.
19744 * javax/print/attribute/ResolutionSyntax.java
19745 (getFeedResolution): Fixed typo in exception name.
19746 (getCrossFeedResolution): Likewise.
19747 * javax/print/attribute/SetOfIntegerSyntax.java
19748 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
19749 * javax/print/attribute/TextSyntax.java
19750 (TextSyntax): Handle locale correctly.
19751 (hashCode): Calc better hashcode value.
19752 (equals): Fixed @return tag.
19753 (toString): New method.
19755 2004-04-20 Michael Koch <konqueror@gmx.de>
19757 * gnu/java/nio/FileLockImpl.java
19758 (static): Removed, not needed anymore.
19759 * gnu/java/nio/channels/FileChannelImpl.java
19760 (FileChannelImpl): Made final.
19761 (mode): Made private.
19762 (READ, WRITE, APPEND): Made public.
19763 (EXCL, SYNC, DSYNC): Likewise.
19764 (static): Load native JNI library, when needed.
19765 (length): Unused, removed.
19766 (available): Made public.
19767 (implPosition): Throws IOException.
19769 (implTruncate): Likewise.
19770 (unlock): Likewise.
19773 2004-04-20 Michael Koch <konqueror@gmx.de>
19775 * java/awt/AWTPermission.java,
19776 java/awt/Component.java,
19777 java/awt/ComponentOrientation.java,,
19778 java/awt/Dialog.java,
19779 java/awt/FontMetrics.java,
19780 java/awt/Graphics.java,
19781 java/awt/datatransfer/DataFlavor.java,
19782 java/beans/Introspector.java,
19783 java/beans/PropertyEditor.java,
19784 java/beans/PropertyEditorManager.java,
19785 java/beans/beancontext/BeanContextServiceProvider.java:
19786 Fixed HTML tags in javadocs all over.
19788 2004-04-20 Mark Wielaard <mark@klomp.org>
19790 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
19791 MissingResourceException is thrown.
19792 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
19793 null when a MissingResourceException is thrown. Should never happen.
19795 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
19797 * java/awt/image/DataBufferShort.java,
19798 java/awt/image/DataBufferFloat.java,
19799 java/awt/image/DataBufferDouble.java,
19800 java/awt/image/PixelInterleavedSampleModel.java: New files.
19801 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
19802 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
19804 2004-04-20 Michael Koch <konqueror@gmx.de>
19806 * Makefile.am (java_source_files): Added
19807 java/awt/image/DataBufferDouble.java,
19808 java/awt/image/DataBufferFloat.java,
19809 java/awt/image/DataBufferShort.java and
19810 java/awt/image/PixelInterleavedSampleModel.java.
19811 * Makefile.in: Regenerated.
19813 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
19815 * gcj/cni.h (JvAllocObject): Remove these obsolete,
19816 undocumented CNI calls.
19817 * include/java-interp.h (_Jv_InterpClass): No longer
19818 extends java.lang.Class.
19819 * java/lang/Class.h (Class): Add new field `aux_info'.
19820 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
19821 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
19822 Use Class->aux_info instead.
19823 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
19824 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
19825 Use Class->aux_info instead.
19826 * java/io/natObjectInputStream.cc (allocateObject): Use
19828 * java/lang/natClass.cc (newInstance): Likewise.
19829 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
19830 * java/lang/natObject.cc (clone): Likewise.
19831 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
19832 * java/lang/natVMClassLoader.cc (defineClass): Don't use
19833 JvAllocObject. Allocate klass->aux_info here for interpreted
19836 2004-04-17 Mark Wielaard <mark@klomp.org>
19838 * javax/swing/JToggleButton.java (ToggleButtonModel):
19839 Make public static inner class.
19840 * javax/swing/JTabbedPane.java (setComponentAt):
19841 Call Page.setComponent().
19842 (SCROLL_TAB_LAYOUT): Make public, value is 1.
19843 (WRAP_TAB_LAYOUT): Make public, value is 0.
19844 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
19845 Make private static inner class.
19847 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
19849 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
19850 arguments to match new signature. Remove FIXME comments.
19852 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
19854 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
19856 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
19859 2004-04-02 Olga Rodimina <rodimina@redhat.com>
19861 * Makefile.am: Added new file.
19862 * Makefile.in: Regenerate.
19863 * javax/swing/ImageIcon.java:
19864 (ImageIcon(file)): set description of the icon
19866 * javax/swing/JCheckBoxMenuItem.java:
19867 Mostly Implemented. Work in progress.
19868 * javax/swing/JRadioButtonMenuItem.java:
19869 Reimplement constructors to use JToggleButtonModel.
19870 * javax/swing/plaf/basic/BasicIconFactory.java:
19871 (getCheckBoxMenuItemIcon): return check box
19873 * javax/swing/plaf/basic/BasicMenuItemUI.java:
19874 paint menu item selected only when it is armed and
19877 2004-04-02 David Jee <djee@redhat.com>
19879 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
19880 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
19881 * java/awt/Component.java
19882 (add): Set the parent of the popup as this component.
19883 * java/awt/PopupMenu.java
19884 (addNotify): Create popup menu when peer is null.
19885 (show): Call addNotify() if peer is null.
19886 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
19887 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
19888 argument for gtk_menu_popup() as zero. This causes the popup menu to
19889 respond to any mouse button.
19891 2004-03-31 Olga Rodimina <rodimina@redhat.com>
19893 * Makefile.am: Added new file.
19894 * Makefile.in: Regenerate.
19895 * javax/swing/JRadioButtonMenuItem.java:
19897 * javax/swing/plaf/basic/BasicIconFactory.java:
19898 (getRadioButtonMenuItemIcon): Return
19900 * javax/swing/plaf/basic/BasicMenuItemUI.java:
19901 (getPreferredSize): Add size of checkIcon if it
19903 (installDefaults): Don't initialize checkIcon.
19904 It's value will be set in subclasses.
19905 (uninstallDefaults): remove uninstallation of
19907 (paint): Moved code to paintMenuItem().
19908 (paintMenuItem): Implemented.
19909 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
19910 UI delegate for JRadioButtonMenuItem.
19912 2004-03-29 Olga Rodimina <rodimina@redhat.com>
19914 * javax/swing/plaf/basic/BasicMenuItemUI.java:
19915 Corrected position of the accelerator.
19917 2004-03-29 Olga Rodimina <rodimina@redhat.com>
19919 * Makefile.am: Added new file.
19920 * Makefile.in: Regenerate.
19921 * javax/swing/JMenuItem.java: Partly
19922 implemented. Work in progress
19923 * javax/swing/plaf/basic/BasicLookAndFeel.java:
19924 Changed default value of acceleratorDelimiter.
19925 * javax/swing/plaf/basic/BasicMenuItemUI.java:
19926 New class. Partly implemented.
19928 2004-03-26 Mark Wielaard <mark@klomp.org>
19930 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
19931 (item_activate): Declare label before use.
19932 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
19933 (gtkSetFont): Removed unused variable label.
19934 (addExposeFilter): Declare variables before use.
19935 (removeExposeFilter): Likewise.
19936 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
19937 (ok_clicked): Declare str_fileName before use.
19939 2004-03-26 David Jee <djee@redhat.com>
19941 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
19942 (addSeparator): Remove.
19943 * java/awt/Menu.java
19944 (separator): Remove static final MenuItem field.
19945 (separatorLabel): New static final String field.
19946 (addSeparator): Do not use peer method; use add(MenuItem) instead.
19947 Use separatorLabel to denote that it is a separator.
19948 (insertSeparator): Create a new MenuItem with separatorLabel, instead
19949 of reusing the static separator instance, because a MenuItem instance
19950 can't be added more than once without being cloned.
19951 * java/awt/peer/MenuPeer.java
19952 (addSeparator): Remove from interface.
19954 2004-03-26 David Jee <djee@redhat.com>
19956 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
19957 (connectSignals): New native method declaration.
19958 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
19959 * java/awt/MenuItem.java
19960 (getActionCommand): Return the label if the action command is not set.
19961 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
19962 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
19963 gtk_menu_shell_append().
19964 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
19965 (item_activate): Fix argument type.
19966 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
19968 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
19970 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
19971 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
19972 given. Add the menu widget's top-level GtkWindow to the global window
19973 group, so it can grab the pointer.
19974 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
19975 gtk_menu_shell_append().
19977 2004-03-23 Graydon Hoare <graydon@redhat.com>
19979 * java/text/AttributedString.java
19980 (addAttribute): Fix off-by-one.
19981 (getIterator): Likewise.
19982 * java/text/AttributedStringIterator.java
19983 (getRunLimit): Correct logic.
19984 (getRunStart): Likewise.
19985 (getAttribute): Fix inequality.
19986 (getAttributes): Likewise.
19987 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
19989 2004-03-23 Kim Ho <kho@redhat.com>
19991 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
19992 (calculateSizes): Return real width and height.
19994 2004-03-23 Kim Ho <kho@redhat.com>
19996 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
19997 (calculateTabRects): Set the selectedRun before
19998 trying to rotate tabs.
20000 2004-03-23 Kim Ho <kho@redhat.com>
20002 * Makefile.am: New file
20003 * Makefile.in: Regenerate
20004 * java/awt/Graphics.java: (drawRect):
20005 Draw to the correct point.
20006 * javax/swing/DefaultSingleSelectionModel.java
20007 (isSelected): Return true if the selected index
20009 * javax/swing/JLabel.java: Do not change mnemonic
20010 index if text is null.
20011 * javax/swing/JProgressBar.java: Use JComponent's
20013 * javax/swing/JScrollBar.java: Ditto.
20014 * javax/swing/JSlider.java: Ditto.
20015 * javax/swing/JTabbedPane.java: Reimplement.
20016 * javax/swing/plaf/basic/BasicLookAndFeel.java:
20017 Add defaults for TabbedPane.
20018 * javax/swing/plaf/basic/BasicArrowButton.java:
20020 * javax/swing/plaf/basic/BasicProgressBarUI.java:
20021 (paintDeterminate): Don't paint String if it's
20023 (paintIndeterminate): ditto.
20024 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
20027 2004-03-19 Michael Koch <konqueror@gmx.de>
20029 * java/awt/image/AffineTransformOp.java
20030 (AffineTransformOp): Made public.
20031 * javax/swing/JComponent.java
20032 (listenerList): Made protected.
20033 (accessibleContext): Likewise.
20034 * javax/swing/JList.java
20035 (valueChanged): Dont use internal fields of ListSelectionEvent.
20036 * javax/swing/JViewport.java
20037 (getView): Dont use internal fields of Component.
20038 (addImpl): Likewise.
20039 * javax/swing/Timer.java
20040 (isRunning): Made public.
20043 * javax/swing/UIDefaults.java
20044 (getInt): Made public.
20045 * javax/swing/plaf/basic/BasicListUI.java
20046 (mousePressed): Dont use internal fields of MouseEvent.
20047 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
20048 * javax/swing/plaf/basic/BasicScrollBarUI.java
20049 (arrowIcon): Made static.
20050 * javax/swing/plaf/basic/BasicViewportUI.java
20051 (stateChanged): Dont use internal field on ChangeEvent.
20052 * javax/swing/text/JTextComponent.java
20053 (getUI): Call UIManager.getUI().
20054 (updateUI): Use getUI().
20056 2004-03-19 Graydon Hoare <graydon@redhat.com>
20058 * javax/swing/JComponent.java: Turn off double buffer by default.
20059 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
20060 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
20061 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
20062 Use cairo to copy areas.
20063 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
20064 Initialize and set clip region.
20066 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
20068 * java/applet/Applet.java (preferredSize): Override deprecated
20069 variant of getPreferredSize.
20070 (minimumSize): Override deprecated variant of getMinimumSize.
20072 2004-03-15 Olga Rodimina <rodimina@redhat.com>
20074 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
20075 (drawImage(img,xform,bgcolor,obs)): New Method.
20076 Helper function that every drawImage method will
20078 (drawRaster): Added new parameter, bgcolor. All
20079 transparent pixels are changed to bgcolor before
20081 (drawRenderedImage): Fixed to use changed drawRaster().
20082 (drawImage(image,xform,obs): Fixed to use new helper function
20083 (drawImage(image,op,x,y)): Ditto.
20084 (drawImage (img,x,y,observer)): Ditto.
20085 ((PainterThread) bgcolor): New Field.
20086 ((PainterThread) (setPixels)): Changed all transparent pixels
20088 (drawImage(img,x,y,width,height,bgcolor,observer)):
20089 Fixed FIXME - all the transparent pixels are
20090 changed to the specified bgcolor.
20091 (drawImage(img, x, y, width, height, observer): Changed to
20092 use function above.
20093 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
20094 Fixed FIXME- changed all transparent pixels to bgcolor.
20095 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
20096 Changed to use function above.
20098 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
20100 * java/applet/Applet.java (dimensions): New field.
20101 (getDimensions): New method.
20102 (getPreferredSize): Call getDimensions.
20103 (getMinimumSize): Likewise.
20105 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
20107 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
20108 * jni/classpath/jnilink.c: Likewise.
20110 * java/applet/Applet.java (getPreferredSize): New method.
20111 (getMinimumSize): New method.
20113 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
20115 * prims.cc (_Jv_AllocObject): Remove `size' argument.
20116 (_Jv_AllocObjectNoFinalizer): Likewise.
20117 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
20118 (_Jv_AllocPtrFreeObject): Likewise.
20119 (_Jv_AllocString): Moved from natString.cc. Call collector interface
20120 directly even in the JVMPI case.
20121 * gcj/cni.h (JvAllocObject): Remove `size' argument from
20122 _Jv_AllocObject calls.
20123 * gcj/javaprims.h: Update prototypes.
20124 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
20125 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
20126 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
20128 2004-04-14 Andrew Haley <aph@redhat.com>
20129 Bryce McKinlay <mckinlay@redhat.com>
20131 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
20132 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
20133 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
20135 * testsuite/libjava.lang/InvokeInterface.java: New file.
20136 * testsuite/libjava.lang/InvokeInterface.out: New file.
20138 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
20140 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
20142 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
20143 StackTraceElement directly.
20144 (newElement): New native helper method to create StackTraceElement
20145 bypassing Java access control.
20146 (createStackTraceElement): Use newElement() instead of directly
20147 calling StackTraceElement's constructor.
20148 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
20150 2004-04-01 Michael Koch <konqueror@gmx.de>
20152 * java/lang/SecurityManager.java
20153 (checkAwtEventQueueAccess): Implemented.
20155 2004-04-01 Gary Benson <gbenson@redhat.com>
20157 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
20158 (_Jv_SearchMethodInClass): Likewise.
20160 2004-03-26 Peter Moon <peterm@miraculum.com>
20162 * java/text/NumberFormat.java: Fix spelling of setCurrency
20165 2004-03-21 Anthony Green <green@redhat.com>
20167 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
20168 recursion when searching for the system ClassLoader.
20170 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
20172 * java/net/ServerSocket.java
20173 (accept): Close the socket when error occured.
20175 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
20177 * java/net/URI.java (parseURI): Added unquoting.
20178 (unquote): New method.
20179 (quoteAuthority): Implemented.
20180 (quote(String,String)): New method.
20181 (quotePath): Implemented.
20182 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
20183 (getSchemeSpecificPart): Removed FIXME comment.
20184 (getRawAuthority): Return new rawAuthority field.
20185 (getAuthority): Removed FIXME comment.
20186 (getRawUserInfo): Return new rawUserInfo field.
20187 (getUserInfo): Removed FIXME comment.
20188 (getRawPath): Return new rawPath field.
20189 (getPath): Removed FIXME comment.
20190 (getRawQuery): Return new rawQuery field.
20191 (getQuery): Removed FIXME comment.
20192 (getRawFragment): Return new rawFragment field.
20193 (getFragment): Removed FIXME comment.
20195 2004-03-20 Michael Koch <konqueror@gmx.de>
20197 * java/net/URLConnection.java: Merged copyright year with classpath.
20199 2004-03-20 Norbert Frese <postfach@nfrese.net>
20201 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
20202 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
20203 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
20205 (getObjectInputStream): Return object reference, throw IOException if null.
20206 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
20207 (getObjectOutputStream): Return object reference, throw IOException if null.
20208 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
20209 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
20210 (UnicastConnectionManager): Throw RemoteException if port is not available.
20211 (getInstance): Throw RemoteException.
20212 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
20213 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
20214 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
20215 Collect Exceptions which are returned by a rmi-call and fix void returns.
20216 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
20217 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
20218 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
20219 (dispatch): Answer ping messages which are sent by other java implementions.
20220 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
20221 for every rmi-message and fix void return problems.
20222 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
20223 (UnicastServerRef): Throw RemoteException.
20224 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
20225 In some situations it is necessary to export a subclass of the class which has the _Stub.
20226 For instance when the class with has the _Stub is abstract.
20227 (findStubSkelClass): New method which looks for the class which has the _Stub.
20228 (getClientHost): Implementated.
20229 * gcc/libjava/java/rmi/server/RemoteServer.java
20230 (getClientHost): Implementated.
20231 * gcc/libjava/Makefile.am (rmi_java_source_files):
20232 Added gnu/java/rmi/server/RMIIncomingThread.java.
20233 * Makefile.in: Regenerated.
20235 2004-03-20 Michael Koch <konqueror@gmx.de>
20237 * java/net/InetAddress.java
20238 (getLocalHostname): Added javadoc.
20240 2004-03-19 Per Bothner <per@bothner.com>
20242 * configure.in: FILE variable overrides FLATFORM when linking
20243 natFileChannelXXX.cc.
20245 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
20246 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
20248 2004-03-19 Per Bothner <per@bothner.com>
20250 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
20251 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
20252 * Makefile.am: Update accordingly.
20253 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
20254 as aliases for UnicodeLittle and UnicodeBig.
20256 2004-03-20 Mark Wielaard <mark@klomp.org>
20258 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
20259 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
20260 Don't access ws when it is null.
20261 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
20264 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
20266 * java/lang/ThreadGroup.java (list): Changed print to println.
20268 2004-03-19 Mark Wielaard <mark@klomp.org>
20270 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
20273 2004-02-10 Randolph Chung <tausq@debian.org>
20275 * configure.in: Build java for hppa target.
20276 * configure: Regenerate.
20277 * libjava/configure.host (hppa-*): Add target.
20278 * libjava/sysdeps/pa/lock.h: New file.
20280 2004-03-19 Mark Wielaard <mark@klomp.org>
20282 Reported by Stephen Crawley
20283 * java/io/FilePermission.java (implies): Use String.length() -1 to
20284 access last char of String.
20286 2004-03-19 Michael Koch <konqueror@gmx.de>
20288 * java/awt/image/AffineTransformOp.java
20289 (AffineTransformOp): Made public.
20290 * javax/swing/JComponent.java
20291 (listenerList): Made protected.
20292 (accessibleContext): Likewise.
20293 * javax/swing/JList.java
20294 (valueChanged): Dont use internal fields of ListSelectionEvent.
20295 * javax/swing/JViewport.java
20296 (getView): Dont use internal fields of Component.
20297 (addImpl): Likewise.
20298 * javax/swing/Timer.java
20299 (isRunning): Made public.
20302 * javax/swing/UIDefaults.java
20303 (getInt): Made public.
20304 * javax/swing/plaf/basic/BasicListUI.java
20305 (mousePressed): Dont use internal fields of MouseEvent.
20306 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
20307 * javax/swing/plaf/basic/BasicScrollBarUI.java
20308 (arrowIcon): Made static.
20309 * javax/swing/plaf/basic/BasicViewportUI.java
20310 (stateChanged): Dont use internal field on ChangeEvent.
20311 * javax/swing/text/JTextComponent.java
20312 (getUI): Call UIManager.getUI().
20313 (updateUI): Use getUI().
20315 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
20317 * verify.cc: Undef PC.
20319 2004-03-18 Michael Koch <konqueror@gmx.de>
20321 * java/nio/channels/spi/AbstractSelectableChannel.java
20322 (keys): Initialize at declaration.
20323 (locate): keys cant be null.
20325 (addSelectionKey): New method.
20326 (removeSelectionKey): New method.
20327 * java/nio/channels/spi/AbstractSelectionKey.java
20328 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
20329 * java/nio/channels/spi/AbstractSelector.java
20330 (provider): Javadoc added.
20331 (cancelledKeys): Javadoc added.
20332 (cancelKey): Javadoc added, add key to cancelledKeys.
20333 (deregister): Implemented.
20335 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
20337 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
20338 MAP_FAILED to void *.
20340 2004-03-12 Graydon Hoare <graydon@redhat.com>
20342 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
20343 * javax/swing/JComponent.java (paint): Use persistent double buffer.
20344 * javax/swing/JList.java (ListListener): Revalidate on changes.
20345 * javax/swing/JScrollPane.java: Reimplement.
20346 * javax/swing/JViewport.java: Reimplement.
20347 * javax/swing/ScrollPaneLayout.java: Reimplement.
20348 * javax/swing/ViewportLayout.java: Tidy up.
20349 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
20350 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
20351 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
20352 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
20353 backing store only.
20355 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
20357 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20358 (window_wm_protocols_filter): New function.
20359 (window_focus_in_cb): Remove function.
20360 (window_focus_out_cb): Likewise.
20361 (window_focus_or_active_state_change_cb): New function.
20362 (create): Add filter that removes WM_TAKE_FOCUS client messages.
20363 (connectSignals): Don't attach handlers to focus-in-event or
20364 focus-out-event signals. Handle notify signal.
20366 2004-03-11 David Jee <djee@redhat.com>
20368 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
20369 (gtkSetLabel): New native method declaration.
20370 (setLabel): Use gtkSetLabel.
20371 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
20372 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
20374 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
20376 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
20377 black when color argument is null.
20379 2004-03-10 Kim Ho <kho@redhat.com>
20381 * java/awt/Container.java: Remove check
20384 2004-03-10 Kim Ho <kho@redhat.com>
20386 * java/awt/Container.java: (visitChild):
20387 Remove candidate clip. Use the component
20389 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
20390 (handleEvent): Use the PaintEvent's clip.
20392 2004-03-10 Kim Ho <kho@redhat.com>
20394 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
20395 (handleEvent): Don't set the clip for the
20398 2004-03-09 Graydon Hoare <graydon@redhat.com>
20400 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
20401 Fix double <-> fixed macros, reset font transform.
20402 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
20405 2004-03-09Â Kim Ho <kho@redhat.com>
20407 * java/awt/Container.java: (visitChild): Move
20408 the x and y coordinate of the component rectangle
20409 to correct position.
20410 (handleEvent): Forward drag events to the pressed
20412 * javax/swing/plaf/basic/BasicScrollBarUI.java:
20414 (ArrowButtonListener::mousePressed): Stop the
20416 (mouseDragged): Implement.
20417 (TrackListener::mousePressed): Only react if
20418 the press doesn't occur on the thumb, otherwise
20419 just set the offset.
20420 (TrackListener::mouseReleased): Unset the isAdjusting
20422 (createIncreaseIcon): Switch icon.
20423 (createDecreaseIcon): Switch icon.
20424 (calculatePreferredSize): Use width.
20425 (getThumbBounds): Use the top as the lower value.
20426 (layoutVScrollBar): Switch the button locations.
20427 (paintIncreaseHighlight): Paint correct side of thumb.
20428 (paintDecreaseHighlight): ditto.
20429 (valueForYPosition): Use top as the lower value.
20430 * javax/swing/plaf/basic/BasicSliderUI.java:
20432 (mouseDragged): Implement.
20433 (mousePressed): Only react when the thumb isn't
20434 pressed, otherwise just set offset.
20435 (mouseReleased): Handle a release of the thumb.
20436 (scrollDueToClickInTrack): Stop the timer first.
20437 * javax/swing/JProgressBar.java:
20438 (setString): Fix change condition.
20439 * javax/swing/JSeparator.java:
20442 2004-03-08 David Jee <djee@redhat.com>
20444 * java/awt/image/AffineTransformOp.java:
20445 (filter): Use Graphics2D interface instead of directly using the
20446 GdkGraphics2D peer.
20448 2004-03-05 David Jee <djee@redhat.com>
20450 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
20451 (handleEvent): Action events are generated upon MOUSE_RELEASED.
20452 * java/awt/Container.java
20453 (acquireComponentForMouseEvent): Fixed.
20454 (handleEvent): Fixed.
20455 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
20456 (state_to_awt_mods_with_button_states): New method.
20457 (pre_event_handler): Fixed mouse event generation.
20459 2004-03-05 Olga Rodimina <rodimina@redhat.com>
20461 gnu/java/awt/peer/gtk/GdkGraphics2D.java
20462 (GdkGraphics2D (BufferedImage)): Initialize
20463 pixmap associated with specified BufferedImage.
20464 (setPaint): Changed implementation of Texture
20465 Paint to use AffineTransformOp.
20466 * java/awt/image/AffineTransformOp.java
20467 (createCompatibleDestRaster): Throw RasterFormatException
20468 if resulting width or height of raster is 0.
20470 2004-03-04 Olga Rodimina <rodimina@redhat.com>
20472 * java/awt/image/AffineTransformOp.java:
20473 Removed unnecessary field interpolationType.
20474 Formatted some of the lines to be consistent with
20476 (AffineTransformOp): Create new RenderingHints
20477 containing specified interpolation type.
20478 (createCompatibleDestImage): Implemented.
20479 (createCompatibleDestRaster): Implemented.
20480 (filter): Implemented.
20481 (getBounds2D(BufferedImage)): Implemented.
20482 (getBounds2D(Raster)): Implemented.
20483 (getInterpolationType): Get interpolation value from
20486 2004-03-04 David Jee <djee@redhat.com>
20488 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
20489 (setFont): Check if child peers are null.
20491 2004-03-04 Graydon Hoare <graydon@redhat.com>
20493 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
20494 .libs in -L option.
20495 (libjava_arguments): Add new libraries to argument list.
20497 2004-03-02 Olga Rodimina <rodimina@redhat.com>
20499 * Makefile.am: Added java/awt/image/AffineTransformOp.java
20500 * Makefile.in: Re-generated.
20501 * java/awt/image/AffineTransformOp.java: New Class.
20503 2004-03-01 Olga Rodimina <rodimina@redhat.com>
20505 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
20506 (setPaint): Interpret correctly TexturePaint's
20508 (drawImage): Fixed scale factors of the affine
20511 2004-02-27 David Jee <djee@redhat.com>
20513 * gnu/java/awt/peer/gtk/GdkGraphics.java
20514 (GdkGraphics(Component)): Inherit font from component.
20515 (drawString): Use font style.
20516 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
20517 (gtkSetFont): New native method declaration.
20518 (setFont): New method.
20519 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
20520 (gtkSetFont): New native method declaration.
20521 (setFont): Call new native method gtkSetFont.
20522 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
20523 (setFont): For all child components who do not their fonts set,
20524 set their peers' fonts with this container's font.
20525 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
20526 Move all native method declarations to the top for readability.
20527 (gtkSetFont): New native method declaration.
20528 (setFont): New method.
20529 * java/awt/Component.java
20530 (setFont): Invalidate after setting the font.
20531 * java/awt/Container.java
20532 (invalidateTree): New method.
20533 (setFont): Invalidate the container tree after setting the font.
20534 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
20535 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
20536 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
20537 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
20538 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
20539 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
20540 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
20541 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
20543 2004-02-27 Olga Rodimina <rodimina@redhat.com>
20545 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
20546 (updateBufferedImage): New helper function.
20547 Updates BufferedImage in memory if it was changed.
20548 (draw): changed to update BufferedImage in memory after
20549 this drawing operation
20551 (draw3DRect): Ditto.
20552 (fill3DRect): Ditto.
20553 (clearRect): Ditto.
20554 (drawRaster): Ditto.
20555 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
20556 no affine transformation.
20557 (drawGlyphVector): Ditto.
20559 2004-02-26 Olga Rodimina <rodimina@redhat.com>
20561 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
20562 (isBufferedImageGraphics): New Helper function.
20563 Returns true if this graphics2d can be used to draw
20564 into buffered image and false otherwise.
20565 (updateImagePixels): New Helper function.
20566 Updates pixels in the BufferedImage.
20567 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
20568 (getImagePixels): New function. Returns pixels
20569 of the buffered image associated with
20572 2004-02-26 David Jee <djee@redhat.com>
20574 * java/awt/BorderLayout.java
20575 (layoutContainer): Fix width and height calculations to ensure
20576 that they're non-negative.
20577 * java/awt/Component.java
20578 (setBackground): If c is null, inherit from closest ancestor whose
20579 background color is set.
20581 2004-02-26 Kim Ho <kho@redhat.com>
20583 * Makefile.am: Add new files.
20584 * Makefile.in: Re-generate.
20585 * javax/swing/JProgressBar.java:
20586 (JProgressBar(int, int int)): Throw
20587 IllegalArgumentException if orientation is
20589 (JProgressBar(BoundedRangeModel)): Create
20590 ChangeListener and register it. UpdateUI.
20591 (getChangeListeners): Implement.
20592 (setModel): Reset ChangeListener.
20593 * javax/swing/JScrollBar.java: Implement.
20594 * javax/swing/JSeparator.java: Implement.
20595 * javax/swing/JSlider.java:
20596 (JSlider(int, int, int, int)): Throw
20597 IllegalArgumentException if orientation
20599 (getChangeListeners): Fix method name.
20600 * javax/swing/SwingUtilities.java:
20601 (layoutCompoundLabel): If there is no text,
20602 set the text rectangle dimensions to 0.
20603 * javax/swing/plaf/basic/BasicButtonUI.java:
20604 (paint): If there is no text, don't paint it.
20605 * javax/swing/plaf/basic/BasicScrollBarUI.java:
20607 * javax/swing/plaf/basic/BasicSeparatorUI.java:
20609 * javax/swing/plaf/basic/BasicSliderUI.java:
20610 (propertyChange): If the model changes, change
20611 the listeners accordingly.
20613 2004-02-25 Graydon Hoare <graydon@redhat.com>
20615 * javax/swing/AbstractButton.java: Add "final" qualifiers.
20616 * javax/swing/JList.java: Reimplement.
20617 * javax/swing/DefaultListSelectionModel.java: Reimplement.
20618 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
20619 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
20620 * javax/swing/ListModel.java: Javadoc.
20621 * javax/swing/ListSelectionModel.java: Add missing methods.
20622 * javax/swing/AbstractListModel.java: Javadoc and corrections.
20623 * javax/swing/DefaultListModel.java: Javadoc and corrections.
20624 * javax/swing/ListModel.java: Javadoc and corrections.
20625 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
20627 2004-02-25 David Jee <djee@redhat.com>
20629 * gnu/java/awt/peer/gtk/GtkFontPeer.java
20630 (GtkFontPeer): Change default size to 12.
20631 * gnu/java/awt/peer/gtk/GtkToolkit.java
20632 (getFontPeer): Change default size to 12.
20633 (getClasspathFontPeer): Likewise. Set default name to "Default".
20634 * java/awt/Font.java
20635 (Font(Map)): Call Font(String,Map).
20636 (Font(String,Map)): If attrs is null, initialize it as an empty
20637 HashMap, which will ensure that the Font will get default attributes.
20639 2004-02-25 David Jee <djee@redhat.com>
20641 * gnu/java/awt/peer/gtk/GtkFontPeer.java
20642 (GtkFontPeer(String,int)): Call the new constructor with size 1.
20643 (GtkFontPeer(String,int,int)): New constructor with size attribute.
20644 * gnu/java/awt/peer/gtk/GtkToolkit.java
20645 (getFontPeer(String,int)): Call the new overload method with size 1.
20646 (getFontPeer(String,int,int)): New method. Overloaded with size
20648 (getClasspathFontPeer): Set the size of the font.
20650 2004-02-24 Olga Rodimina <rodimina@redhat.com>
20652 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
20653 (bimage): New field.
20654 (GdkGraphics2D): New Constructor. Constructs Graphics
20655 object that can be used to draw into the Buffered Image.
20656 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
20657 (GdkGraphicsEnvironment): Fixed to include public
20659 (createGraphics): Implemented.
20660 * gnu/java/awt/peer/gtk/GtkToolkit.java
20661 (getLocalGraphicsEnvironment): Implemented.
20662 * java/awt/GraphicsEnvironment.java:
20663 (getLocalGraphicsEnvironment): Implemented.
20664 * java/awt/image/BufferedImage.java:
20665 (createGraphics): Implemented.
20667 2004-02-24 David Jee <djee@redhat.com>
20669 * java/awt/Component.java
20670 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
20671 * java/awt/Container.java
20672 (addNotifyContainerChildren): Fix event enabling.
20674 2004-02-23 Olga Rodimina <rodimina@redhat.com>
20676 * Makefile.am: Added
20677 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
20678 * Makefile.in: Re-generated.
20679 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
20682 2004-02-19 Kim Ho <kho@redhat.com>
20684 * Makefile.am: Add BasicProgressBarUI
20685 * Makefile.in: Regenerate.
20686 * javax/swing/JProgressBar.java:
20688 * javax/swing/plaf/basic/BasicLookAndFeel.java
20689 Add constants for JProgressBar.
20690 * javax/swing/plaf/basic/BasicProgressBarUI.java
20692 * javax/swing/plaf/basic/BasicSliderUI.java
20694 (calculateGeometry): New method
20695 (paint): Remove unnecessary size calculations.
20697 2004-02-18 Olga Rodimina <rodimina@redhat.com>
20699 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
20700 (drawRaster): Fixed small error that caused
20701 imageToUser transformation to be set incorrectly.
20702 (toString): Implemented.
20704 2004-02-18 David Jee <djee@redhat.com>
20706 * java/awt/CardLayout.java
20707 (addLayoutComponent): Show the first component added as the default.
20708 (removeLayoutComponent): After removing, show the next component.
20709 (gotoComponent): If there is only one component, show it and return.
20711 2004-02-18 Kim Ho <kho@redhat.com>
20713 * javax/swing/JSlider.java: Re-order
20715 * javax/swing/JLabel.java: Re-order
20717 * javax/swing/JComponent.java:
20718 (addPropertyChangeListener):
20720 (removePropertyChangeListener):
20722 (firePropertyChangeEvent):
20725 2004-02-17 David Jee <djee@redhat.com>
20727 * java/awt/Component.java
20728 (show): Dispatch ComponentEvent via system event queue.
20731 (resize): Likewise.
20732 (reshape): Likewise.
20733 * java/awt/Window.java
20734 (setBoundsCallback): Likewise.
20736 2004-02-17 David Jee <djee@redhat.com>
20738 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
20739 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
20740 Use gtk_widget_set_size_request() instead of the deprecated
20741 gtk_widget_set_usize().
20743 2004-02-17 Kim Ho <kho@redhat.com>
20745 * javax/swing/JSlider.java: Fix comments and
20746 make property strings constants.
20747 (createStandardLabels): Use the labels
20748 preferred size as bounds.
20749 * javax/swing/plaf/basic/BasicSliderUI.java
20751 (ScrollHandler::actionPerformed): Don't
20752 calculate the timer stop value. Let the
20753 MouseListeners find the stop location.
20754 (getPreferredHorizontalSize): Re-implement.
20755 (getPreferredVerticalSize): ditto.
20756 (getMinimumHorizontalSize): ditto.
20757 (getMinimumVerticalSize): ditto.
20758 (getPreferredSize): ditto.
20759 (getMinimumSize): ditto.
20760 (getMaximumSize): ditto.
20761 (paintTicks): Use doubles to find the
20763 (paintHorizontalLabel):Â Use preferredSize
20764 as initial width and height.
20765 (paintVerticalLabel): ditto.
20767 2004-02-17 Kim Ho <kho@redhat.com>
20769 * javax/swing/JLabel.java: Changed
20770 property strings to constants.
20771 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
20773 (setText): Change mnemonic index if
20775 (setDisplayedMnemonicIndex): Fire property
20777 (getDisplayedMnemonicIndex): Remove check
20778 against short text.
20780 2004-02-17 Olga Rodimina <rodimina@redhat.com>
20782 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
20783 (drawImage(img,xform,obs)): Invert xform before
20784 passing the xform to cairo.
20785 (drawImage(img,x,y,bgcolor,obs)): Implemented.
20786 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
20788 (drawImage (img,x,y,w,h,obs)): Implemented.
20789 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
20790 bgcolor,obs)): Partly implemented.
20791 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
20793 * java/awt/image/BufferedImage.java:
20794 (copyData): if dest is null, create raster with same
20795 dimensions as the current image.
20797 2004-02-16 Graydon Hoare <graydon@redhat.com>
20799 * javax/swing/plaf/basic/BasicLabelUI.java
20800 (getPreferredSize): Use layoutCL.
20801 * javax/swing/plaf/basic/BasicGraphicsUtils.java
20802 (getPreferredButtonSize): Start with empty view rect, layout using
20803 component's preferred alignment.
20804 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
20807 2004-02-16 David Jee <djee@redhat.com>
20809 * java/awt/Component.java
20810 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
20811 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
20812 (move): Erase old bounds and repaint new bounds. Dispatch
20813 COMPONENT_MOVED ComponentEvent.
20814 (resize): Erase old bounds and repaint new bounds. Dispatch
20815 COMPONENT_RESIZED ComponentEvent.
20816 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
20818 * java/awt/Window.java
20819 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
20822 2004-02-16 Olga Rodimina <rodimina@redhat.com>
20824 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
20825 (setRenderingHint): Added implementation of
20826 Interpolation rendering hints.
20827 (setRenderingHints): Ditto.
20828 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
20829 (drawPixels): fixed to allow user to choose type
20830 of filtering that should be used when displaying images.
20831 (cairoSurfaceSetFilter): New method. Sets filter type for
20832 interpolation of pixel values.
20834 2004-02-16 David Jee <djee@redhat.com>
20836 * java/awt/GridBagLayout.java
20837 (calcCellSizes): Rows or columns with zero sizes should still be
20838 considered for extra space distribution.
20840 2004-02-16 Kim Ho <kho@redhat.com>
20842 * javax/swing/JLabel.java: Re-implement.
20843 * javax/swing/plaf/basic/BasicLabelUI.java
20845 * javax/swing/plaf/basic/BasicLookAndFeel.java:
20848 2004-02-16 Kim Ho <kho@redhat.com>
20850 * javax/swing/JSlider.java: Fix indentation and comments.
20851 (setModel): Remove null check to conform with Sun's.
20852 (setOrientation): Throw exception if not
20853 HORIZONTAL or VERTICAL.
20854 (getInverted): Use private variable instead of
20855 ComponentOrientation.
20856 (setInverted): ditto.
20857 * javax/swing/plaf/basic/BasicSliderUI.java:
20858 Fix indentation and comments.
20859 (propertyChange): Remove check for inverted slider, handle
20861 (getMinimumSize): Return preferred size.
20862 (getMaximumSize): ditto.
20863 (calculateFocusRect): Don't relocate rectangle.
20864 (drawInverted): Return XOR of the slider's inversion and
20865 the component's orientation.
20866 (paint): Update leftToRightCache
20868 2004-02-13 David Jee <djee@redhat.com>
20870 * java/awt/GridBagLayout.java
20871 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
20872 code to helper methods.
20873 (sortBySpan): New helper method.
20874 (distributeSizeAndWeight): Likewise.
20875 (calcCellWeights): Likewise.
20876 (calcCellSizes): Add comments.
20878 2004-02-13 David Jee <djee@redhat.com>
20880 * java/awt/Component.java
20881 (show): Only do something if component is invisible at the moment.
20882 (hide): Only do something if component is visible at the moment.
20883 (reshape): If lightweight, erase old bounds and repaint new bounds.
20885 2004-02-13 Kim Ho <kho@redhat.com>
20887 * Makefile.am: Updated for new file.
20888 * Makefile.in: Regenerated.
20889 * javax/swing/JSlider.java: Reimplement.
20890 * javax/swing/SwingUtilities.java
20891 (layoutCompoundLabel): Use icon height
20893 (paintComponent): Implement.
20894 * javax/swing/plaf/basic/BasicLookAndFeel.java:
20895 Add JSlider defaults.
20896 * javax/swing/plaf/basic/BasicSliderUI.java:
20897 Implement. New file.
20899 2004-03-17 Michael Koch <konqueror@gmx.de>
20901 * gnu/java/net/PlainDatagramSocketImpl.java
20902 (RECEIVE_LOCK): New member field.
20903 (SEND_LOCK): New member field.
20904 (send0): New method.
20905 (send): Synchronize on SEND_LOCK.
20906 (receive0): New method.
20907 (receive): Synchronize on RECEIVE_LOCK.
20908 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
20909 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
20910 gnu/java/net/natPlainDatagramSocketImplWin32.cc
20911 (send0): Renamed from send.
20912 (receive0): Renamed from receive.
20913 2004-03-17 Michael Koch <konqueror@gmx.de>
20915 * gnu/java/net/natPlainSocketImplPosix.cc
20916 (write): Just call write(jbyteArray, offset, len).
20917 (read): Just call read(jbyteArray, offset, len).
20919 2004-03-16 Michael Koch <konqueror@gmx.de>
20921 * javax/swing/JTabbedPane.java
20922 (serialVersionUID): New field.
20924 2004-03-16 Norbert Frese <postfach@nfrese.net>
20926 * java/net/InetAddress.java
20927 (getByName): Handle hostname == "" case.
20929 2004-03-16 Dalibor Topic <robilad@kaffe.org>
20931 Reported by: Adam Heath <doogie@debian.org>
20932 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
20935 2004-03-15 Michael Koch <konqueror@gmx.de>
20937 * java/util/Locale.java: Reverting my last patch
20938 and add a comment why the original version was okay.
20940 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
20942 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
20943 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
20944 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
20945 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
20947 2004-03-12 Michael Koch <konqueror@gmx.de>
20949 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
20951 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
20953 * java/net/URI.java (toURL): Implemented.
20955 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
20957 * java/net/URI.java
20958 (URI_REGEXP) updated to contain scheme specific part.
20959 (SCHEME_SPEC_PART_GROUP) new constant.
20960 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
20961 updated to make room for SCHEME_SPEC_PART_GROUP.
20962 (parseURI) parse scheme specific part.
20963 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
20964 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
20965 getQuery, getFragment) implemented.
20967 2004-03-12 Dalibor Topic <robilad@kaffe.org>
20969 * libraries/javalib/java/net/URI.java
20970 partially implemented using java.util.regex.
20971 (URI_REGEXP) new constant. Used to parse URIs.
20972 (SCHEME_GROUP) new constant representing index of scheme group
20974 (AUTHORITY_GROUP) new constant representing index of authority
20975 group in parsed URI.
20976 (PATH_GROUP) new constant representing index of path group in
20978 (QUERY_GROUP) new constant representing index of query group in
20980 (FRAGMENT_GROUP) new constant representing index of fragment
20981 group in parsed URI.
20982 (getURIGroup) new static utility method.
20983 (parseURI) implemented.
20984 (quote) stub for new static utility method.
20985 (quoteAuthority) stub for new static utility method.
20986 (quoteHost) stub for new static utility method.
20987 (quotePath) stub for new static utility method.
20988 (quoteUserInfo) stub for new static utility method.
20990 (create) don't throw URISyntaxException. Implemented.
20991 (toString) implemented.
20993 2004-03-12 Michael Koch <konqueror@gmx.de>
20995 * java/net/HttpURLConnection.java
20996 (getResponseCode): Fix another typo in javadoc.
20998 2004-03-11 Michael Koch <konqueror@gmx.de>
21000 * java/util/logging/Level.java
21001 (parse): Use String.equals() instead of ==.
21003 2004-03-11 Michael Koch <konqueror@gmx.de>
21005 * gnu/java/net/protocol/jar/Connection.java
21006 (getContentLength): New method.
21008 2004-03-11 Michael Koch <konqueror@gmx.de>
21010 * gnu/java/net/PlainSocketImpl.java:
21011 Reformated to merge better with classpath's version.
21013 2004-03-11 Michael Koch <konqueror@gmx.de>
21015 * java/util/Locale.java
21016 (getISO3Language): Use String.equals() instead of ==.
21017 (getISO3Country): Likewise.
21019 2004-03-11 Dalibor Topic <robilad@kaffe.org>
21021 * java/text/AttributedString.java
21022 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
21023 Use HashMap instead of Hashtable since value can be null, and
21024 you can not store a null value in a Hashtable.
21026 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
21028 * java/text/AttributedStringIterator.java
21029 (getAllAttributesKey): Return only keys concerned
21030 by the current iterator.
21031 (getAttributes): Use strict inequality for
21034 2004-03-11 Michael Koch <konqueror@gmx.de>
21036 * java/net/HttpURLConnection.java:
21037 Fixed typo in javadoc.
21039 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
21041 * java/io/BufferedInputStream.java (marktarget): New field for max
21043 (CHUNKSIZE): New constant for incremental mark buffer allocation.
21044 (mark): Use new fields.
21046 (read(byte[],int,int)): Likewise.
21048 (refill): Likewise.
21050 2004-03-11 Mark Wielaard <mark@klomp.org>
21052 * java/beans/BeanDescriptor.java (BeanDescriptor):
21053 Set the FeatureDescriptor programmatic name.
21055 2004-03-11 Michael Koch <konqueror@gmx.de>
21057 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
21058 This file was was just copied form java/io/natFileDescriptorEcos.cc
21059 and never changed to compile correctly.
21061 2004-03-11 Michael Koch <konqueror@gmx.de>
21063 * gnu/java/nio/PipeImpl.java
21064 (SourceChannelImpl): Made final.
21065 (read): Implemented.
21066 (SinkChannelImpl): Made final.
21067 (write): Implemented.
21069 2004-03-11 Michael Koch <konqueror@gmx.de>
21071 * gnu/java/net/PlainDatagramSocketImpl.java:
21072 Reformated to match classpath's version more.
21074 2004-03-11 Michael Koch <konqueror@gmx.de>
21076 * gnu/java/awt/peer/ClasspathFontPeer.java:
21077 Fixed javadoc to be correct xhtml.
21078 * gnu/java/awt/peer/gtk/GtkArgList.java
21079 (add): Use Boolean.valueOf() instead of new Boolean().
21081 2004-03-09 Michael Koch <konqueror@gmx.de>
21083 * java/lang/Thread.java
21084 (runnable): Moved around.
21085 (daemon): Renamed from daemon_flag.
21086 (contextClassLoader): Renamed from context_class_loader.
21087 (Thread): Reordered constructors.
21088 (activeCount): Use group directly.
21089 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
21090 (holdsLock): Reworked javadoc.
21091 (setDaemon): Reworked.
21092 * java/lang/natThread.cc
21093 (destroy): Removed.
21095 2004-03-08 Anthony Green <green@redhat.com>
21097 * Makefile.am: Build property resource files into libgcj.
21098 * Makefile.in: Rebuilt.
21099 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
21100 java/util/regex/PatternSyntaxException.java,
21101 gnu/regexp/CharIndexed.java,
21102 gnu/regexp/CharIndexedCharArray.java,
21103 gnu/regexp/CharIndexedInputStream.java,
21104 gnu/regexp/CharIndexedReader.java,
21105 gnu/regexp/CharIndexedString.java,
21106 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
21107 gnu/regexp/REException.java,
21108 gnu/regexp/REFilterInputStream.java,
21109 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
21110 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
21111 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
21112 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
21113 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
21114 gnu/regexp/RETokenLookAhead.java,
21115 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
21116 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
21117 gnu/regexp/RETokenStart.java,
21118 gnu/regexp/RETokenWordBoundary.java,
21119 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
21121 2004-03-03 Per Bothner <per@bothner.com>
21123 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
21124 Optimize when argument is a FileChannelImpl.
21125 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
21126 New native methods.
21127 * java/nio/channels/natChannels.cc: New file for new native methods.
21128 * Makefile.am: Update accordingly.
21130 2004-03-02 Jan Hubicka <jh@suse.cz>
21132 * configure.host: Pass -fno-omit-frame-pointer for i386.
21133 * configure.in: Likewise.
21134 * configure: Regenerate.
21136 2004-03-01 Per Bothner <per@bothner.com>
21138 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
21140 2004-02-29 Per Bothner <per@bothner.com>
21142 * java/nio/channels/FileChannelImpl.java: Moved to package
21143 gnu/java/nio/channels, since we need to refer to it from java.io.
21144 * java/nio/channels/natFileChannelImpl.cc: Removed file.
21145 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
21146 from java/nio/channels. Don't depend on FileDescriptor.
21147 (in, out, err): New static fields.
21149 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
21150 from FileDescriptor.
21151 (by): Removed MappedByteBuffer field.
21152 (map): New working implementation.
21153 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
21154 some code "ported" from natFileDescriptoPosix.cc.
21155 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
21156 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
21157 * java/io/FileDescriptor.java: Implement on top of FileChannel.
21158 Remove native methods.
21159 * Makefile.am, configure.in: Updated accordingly.
21161 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
21162 (ch): New FileChannelImpl field. Update constructor to match.
21163 (releaseImpl): Remove native method. Instead ...
21164 (release): Call unlock on channel.
21165 * gnu/java/nio/natFileLockImpl.cc: Removed file.
21167 * java/io/natFileDescriptorEcos.cc: Remove file.
21168 * java/io/natFileDescriptorPosix.cc: Remove file.
21169 * java/io/natFileDescriptorWin32.cc: Remove file.
21170 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
21171 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
21172 (<init>(FileChannelImpl)): New package-private constructor.
21173 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
21174 (available, close, read, skip): Implement using FileChannelImpl.
21175 (getFD): Allocate FileDescriptor if needed.
21176 (getChannel): Is now trivial.
21177 * java/io/FileOutputStream.java: Corresponding changes.
21178 * java/io/RandomAccessFile.java: Corresponding changes.
21180 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
21181 unmapImpl): New dummy methods, to be overridden by subclass.
21182 (finalize, isLoaded, load, force): New methods.
21183 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
21184 Now works, at least for read mapping.
21186 * java/lang/natPosixProcess.cc (startProcess): Implement standard
21187 streams using FileChannelImpl, not FileDescriptor.
21188 * java/lang/natWin32Process.cc (startProcess): Likewise.
21190 2004-02-28 Michael Koch <konqueror@gmx.de>
21192 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
21195 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
21197 * java/io/ObjectInputStream.java
21198 (readClassDescriptor): Keep elements of the mapping non null.
21199 (checkTypeConsistency): New method.
21200 (readFields): Fixed main loop and base logic. Small reindentation.
21201 * java/io/ObjectStreamField.java
21202 (lookupField): New method to update the field reference.
21203 (checkFieldType): New method.
21204 * java/io/ObjectStreamClass.java
21205 (setClass, setFields): Call lookupField when building the field
21206 database. Check the real field type.
21208 2004-02-28 Michael Koch <konqueror@gmx.de>
21210 * java/nio/ByteOrder.java
21211 (nativeOrder): Use equals() to compare strings.
21213 2004-02-26 Michael Koch <konqueror@gmx.de>
21215 * gnu/java/nio/FileLockImpl.java
21216 (finalize): Made protected.
21217 * java/nio/channels/FileChannel.java
21218 (MapMode.READ_ONLY): Made final.
21219 (MapMode.READ_WRITE): Made final.
21220 (MapMode.PRIVATE): Made final.
21221 * java/nio/channels/SocketChannel.java
21222 (open): Simplified code.
21223 * java/nio/channels/spi/AbstractSelectableChannel.java
21224 (registered): Unused, removed.
21225 (keyFor): Check channel is open, only locate key
21226 and not add a new one.
21227 (register): Don't delete attachments.
21229 2004-02-26 Michael Koch <konqueror@gmx.de>
21231 * gnu/java/awt/ComponentDataBlitOp.java
21232 (INSTANCE): Made final.
21233 * gnu/java/awt/image/ImageDecoder.java:
21235 (cm): Unused, removed.
21237 2004-02-26 Michael Koch <konqueror@gmx.de>
21239 * gnu/java/nio/DatagramChannelImpl.java
21240 (send): Check if target address is resolved.
21242 2004-02-26 Michael Koch <konqueror@gmx.de>
21244 * Makefile.am: Generate and install headers for inner classes in
21245 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
21246 * Makefile.in: Regenerated.
21248 2004-02-24 Anthony Green <green@redhat.com>
21250 * java/lang/StringBuffer.java: No need to NULL out remainder of
21251 buffer since ensureCapacity_unsynchronized will have done this for
21254 2004-02-20 Michael Koch <konqueror@gmx.de>
21256 * gnu/java/net/protocol/jar/Handler.java
21257 (): Removed unneeded check for file != null. java.net.URL.getFile()
21258 returns an empty string but never null.
21260 2004-02-20 Michael Koch <konqueror@gmx.de>
21262 * gnu/gcj/convert/Convert.java
21263 (main): Use equals() to compare strings.
21265 2004-02-20 Michael Koch <konqueror@gmx.de>
21267 * javax/swing/AbstractButton.java: Made several constants final.
21268 (getRolloverSelectedIcon): Made public.
21269 (getSelectedIcon): Made public.
21271 2004-02-16 Per Bothner <per@bothner.com>
21273 * java/nio/CharBufferImpl.java: Inline super constructor.
21274 * java/nio/DoubleBufferImpl.java: Likewise.
21275 * java/nio/FloatBufferImpl.java: Likewise.
21276 * java/nio/IntBufferImpl.java: Likewise.
21277 * java/nio/LongBufferImpl.java: Likewise.
21278 * java/nio/ShortBufferImpl.java: Likewise.
21279 * java/nio/CharBuffer.java: Remove unused constructor.
21280 * java/nio/DoubleBuffer.java: Likewise.
21281 * java/nio/FloatBuffer.java: Likewise.
21282 * java/nio/IntBuffer.java: Likewise.
21283 * java/nio/LongBuffer.java: Likewise.
21284 * java/nio/ShortBuffer.java: Likewise.
21285 * java/nio/CharViewBufferImpl.java: New convenience constructor.
21286 Fix buggy call to super constructor.
21287 * java/nio/DoubleViewBufferImpl.java: Likewise.
21288 * java/nio/FloatViewBufferImpl.java: Likewise.
21289 * java/nio/IntViewBufferImpl.java: Likewise.
21290 * java/nio/LongViewBufferImpl.java: Likewise.
21291 * java/nio/ShortViewBufferImpl.java: Likewise.
21293 * java/nio/ByteBuffer.java (endian): Make non-private so other
21294 java.nio classes can inherit it.
21295 (<init>): Don't bother clearing array_offset.
21296 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
21297 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
21298 Remove redundant test.
21300 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
21301 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
21302 Use new XxxViewBufferImpl constructors.
21303 * java/nio/MappedByteBufferImpl.java: Likewise.
21304 * java/nio/DirectByteBufferImpl.java: Likewise.
21306 * java/nio/ByteBufferImpl.java: Remove one constructor.
21307 Inline super in remaining constructor.
21308 * java/nio/ByteBuffer.java: Remove unused constructor.
21310 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
21312 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
21313 * java/nio/DirectByteBufferImpl.java (owner): New field.
21314 (offset): Remove unused field.
21315 (<init>): Modify one and add another constructor. Change callers.
21316 (allocateDirect): Removed - not used.
21317 (getImpl, putImpl): Make static and pass address explicitly,
21318 to make them useful for MappedByteBufferImpl.
21319 (get, put): Check for underflow. Modify for new getImpl.
21320 (getImpl): New native method where target is array.
21321 (get(byte[],int,int)): Use the above.
21322 (adjustAddress): New static native method.
21323 (slice, duplicate, asReadOnly): New implementations.
21324 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
21325 adjustAddress): New or updated native methods.
21327 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
21329 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
21330 overflow of fieldmapping.
21332 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
21334 * javax/swing/undo/UndoManager.java: Re-written from scratch.
21336 2004-02-14 Per Bothner <per@bothner.com>
21338 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
21339 Set closed before calling implCloseChannel, as in the spec.
21341 2004-02-09 Graydon Hoare <graydon@redhat.com>
21343 * javax/swing/ToggleButtonModel.java: Remove dead class.
21344 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
21345 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
21346 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
21347 * Makefile.am: Update for new and removed files.
21348 * Makefile.in: Regenerate.
21350 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
21351 * javax/swing/AbstractButton.java
21352 (AbstractButton): Initialize fields correctly in ctor.
21353 * javax/swing/JCheckbox.java
21354 (JCheckBox): Override painting flags.
21355 * javax/swing/DefaultButtonModel.java: Conform to sun.
21356 * javax/swing/JComponent.java (paint): Fill with background color
21358 (processComponentKeyEvent)
21359 (processFocusEvent)
21361 (processMouseMotionEvent): Remove event-consuming empty methods.
21362 (getUIClassID): Return "ComponentUI" not "JComponent"
21363 * javax/swing/JFrame.java: Remove some debugging chatter.
21364 (JFrame): Subscribe to window events.
21365 * javax/swing/JRadioButton.java
21366 (JRadioButton): Override painting flags.
21367 * javax/swing/JRootPane.java
21368 (JRootPane): Set background from UIDefaults.
21369 * javax/swing/JToggleButton.java
21370 (ToggleButtonModel): New inner class.
21371 (JToggleButton): Override layout alighment.
21372 * javax/swing/SwingUtilities.java:
21373 (getLocalBounds): Return width and height, not x and y.
21374 (calculateInnerArea): Use local bounds, not bounds.
21375 (layoutCompoundLabel): Provide overridden form.
21376 (layoutCompoundLabel): Correct bugs.
21377 * javax/swing/UIDefaults.java: Correct comment.
21378 * javax/swing/plaf/basic/BasicButtonUI.java:
21379 Move most logic into defaults, external listener.
21380 (paintIcon): Implement icon painting.
21381 (paint): Fix state painting to conform to changes in model.
21382 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
21383 Remove most dead/wrong methods.
21384 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
21385 * javax/swing/plaf/basic/BasicIconFactory.java:
21386 (DummyIcon): New class.
21387 (getMenuItemCheckIcon)
21388 (getMenuItemArrowIcon)
21390 (getCheckBoxMenuItemIcon)
21391 (getRadioButtonMenuItemIcon)
21392 (createEmptyFrameIcon): Return DummyIcons, not null.
21393 (getCheckBoxIcon): Implement an icon that looks like sun's.
21394 (getRadioButtonIcon): Implement an icon that looks like sun's.
21395 * javax/swing/plaf/basic/BasicLookAndFeel.java
21396 (initComponentDefaults): Fix impossible values, add some missing.
21397 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
21398 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
21399 Remove most dead/wrong methods.
21401 (getDefaultIcon): New method.
21402 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
21403 Remove most dead/wrong methods.
21404 * javax/swing/plaf/metal/MetalLookAndFeel.java
21405 (getDefaults): Return super.getDefaults(), not BasicDefaults.
21406 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
21407 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
21408 Implement "clearing" as drawing, when on pixmap drawables.
21410 * javax/swing/JButton.java (getUIClassID):
21411 * javax/swing/JCheckBox.java (getUIClassID):
21412 * javax/swing/JEditorPane.java (getUIClassID):
21413 * javax/swing/JLabel.java (getUIClassID):
21414 * javax/swing/JList.java (getUIClassID):
21415 * javax/swing/JOptionPane.java (getUIClassID):
21416 * javax/swing/JPanel.java (getUIClassID):
21417 * javax/swing/JPasswordField.java (uiClassID):
21418 * javax/swing/JRadioButton.java (getUIClassID):
21419 * javax/swing/JRootPane.java (getUIClassID):
21420 * javax/swing/JScrollPane.java (getUIClassID):
21421 * javax/swing/JTabbedPane.java (getUIClassID):
21422 * javax/swing/JToggleButton.java (getUIClassID):
21423 * javax/swing/JTree.java (getUIClassID):
21424 * javax/swing/JViewport.java (getUIClassID):
21425 * javax/swing/text/JTextComponent.java (getUIClassID):
21426 Return "fooUI" not "Jfoo"
21428 2004-02-11 Michael Koch <konqueror@gmx.de>
21430 * java/net/DatagramSocket.java
21431 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
21433 (setBroadcast): Likewise.
21434 * java/net/MulticastSocket.java
21435 (setLoopbackMode): Likewise.
21436 * java/net/ServerSocket.java
21437 (setReuseAddress): Likewise.
21438 * java/net/Socket.java
21439 (setTcpNoDelay): Likewise.
21440 (setSoLinger): Likewise.
21441 (setOOBInline): Likewise.
21442 (setKeepAlive): Likewise.
21443 (setReuseAddress): Likewise.
21444 * java/net/URLConnection.java
21445 (setContentHandler): Replace == with equals().
21446 * java/net/URLStreamHandler.java
21447 (hostSEquals): Fix checking host addresses.
21448 (toExternalForm): Dont check protocol for null. We know already its
21451 2004-02-10 David Jee <djee@redhat.com>
21453 * java/awt/BorderLayout.java
21454 (calcCompSize): Invisible components get zero dimensions.
21455 * java/awt/Button.java
21456 (setLabel): Set actionCommand.
21457 * java/awt/Component.java
21458 (show): Invalidate component and parent container.
21461 2004-02-10 David Jee <djee@redhat.com>
21463 * java/awt/GridBagLayout.java
21464 (GridBagLayout): New private field, internalcomptable.
21465 (lookupInternalConstraints): New method.
21466 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
21467 (GetLayoutInfo): Reimplement.
21468 (calcCellSizes): Ignore rows/columns with size 0.
21470 2004-02-10 Michael Koch <konqueror@gmx.de>
21472 * gnu/java/awt/EmbeddedWindow.java
21473 (setHandle): Use java.awt.Component.getPeer() instead of
21474 java.awt.Component.peer directly.
21476 2004-02-10 David Jee <djee@redhat.com>
21478 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
21479 (gtkSetLabel): New native method definition.
21480 (setLabel): Use gtkSetLabel.
21481 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
21482 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
21484 2004-02-10 Alan Modra <amodra@bigpond.net.au>
21486 * include/powerpc-signal.h: Revert 2004-01-21 change.
21487 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
21488 from syscall for ppc32 versions.
21490 2004-02-08 Per Bothner <per@bothner.com>
21492 * java/nio/ByteBuffer.java (shiftDown): New helper method.
21493 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
21494 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
21495 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
21496 Pass ByteOrder parameter to most methods, since the underlying
21497 ByteBuffer's order isn't always what we should use.
21498 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
21499 * java/nio/DirectByteBufferImpl.java: Likewise.
21500 Use ByteBufferHelper methods.
21501 * java/nio/MappedByteBufferImpl.java: Likewise.
21502 (compact): Use shiftDown.
21503 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
21504 (get, put): Use ByteBufferHelper.
21505 (compact): Use new shiftDown method.
21506 (duplicate(boolean)): New helper method.
21507 (duplicate, asReadOnlyBuffer): Use it.
21508 (order): Return endian field.
21509 * java/nio/DoubleViewBufferImpl.java: Likewise.
21510 * java/nio/FloatViewBufferImpl.java: Likewise.
21511 * java/nio/IntViewBufferImpl.java: Likewise.
21512 * java/nio/LongViewBufferImpl.java: Likewise.
21513 * java/nio/ShortViewBufferImpl.java: Likewise.
21514 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
21515 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
21516 (compact): Re-implement using shiftDown.
21518 2004-02-08 Andreas Jaeger <aj@suse.de>
21520 * include/x86_64-signal.h: Fix typo.
21522 2004-02-08 Diego Novillo <dnovillo@redhat.com>
21524 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
21525 qualifier to _regs.
21526 (HANDLE_DIVIDE_OVERFLOW): Likewise.
21528 2004-02-06 Michael Koch <konqueror@gmx.de>
21530 * java/io/ObjectInputStream.java
21531 (currentClassLoader): Reverted to old version of this method.
21533 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
21535 * java/io/ObjectInputStream.java: Made all calls
21536 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
21537 use cached info from ObjectStreamClass. (readClassDescriptor):
21538 Cache more information in ObjectStreamClass. (processResolution,
21539 readFields): Use cached info from ObjectStreamClass.
21540 (newObject): Throw exception instead of returning null for failure.
21541 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
21542 setCharField, setDoubleField, setFloatField, setIntField,
21543 setLongField, setShortField, setObjectField, readObjectParams):
21544 Removed. (dumpElement, dumpElementln): Removed dump flag condition
21546 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
21547 (setClass): Added call to cacheMethods() (findMethod): New method.
21548 (cacheMethods): New method. (ObjectStreamClass): Added call to
21549 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
21550 AccessController.doPrivileged to invoke setAccessible.
21551 (readObjectMethod, readResolveMethod, realClassIsSerializable,
21552 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
21554 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
21555 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
21556 isPrimitive): Made safe for cases where type == null.
21557 (setBooleanField, setByteField, setCharField, setShortField,
21558 setIntField, setLongField, setFloatField, setDoubleField,
21559 setObjectField): New methods.
21561 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
21563 * java/awt/Component.java (getFont): Return a default font
21566 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
21567 (Scrollbar (int, int, int, int, int)): Make default page
21569 (setValues): Only call peer.setValues if one of the values has
21571 (generateName): New method.
21572 (getUniqueLong): New method.
21573 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
21574 (range_scrollbar): Remove structure.
21575 (post_adjustment_event): Remove function.
21576 (post_change_event): Accept jobject argument.
21577 (create): Cast jints to gdoubles. Round scrollbar values to the
21578 nearest integer. Clamp min, max and value settings.
21579 (connectJObject): Connect hook to widget->window.
21580 (connectSignals): Remove range_scrollbar structure variables.
21581 Remove "move-slider" connection. Pass global peer reference to
21582 "value-changed" callback.
21583 (setLineIncrement): Cast jint value to gdouble.
21584 (setPageIncrement): Likewise.
21585 (setValues): Likewise. Clamp min, max and value settings.
21587 2004-02-05 Michael Koch <konqueror@gmx.de>
21589 * javax/swing/AbstractCellEditor.java
21590 (getCellEditorValue): Removed.
21591 * javax/swing/Box.java: Reformated.
21592 (serialVersionUID): New field.
21593 * javax/swing/ButtonGroup.java:
21594 Removed some weird whitespace.
21595 * javax/swing/CellEditor.java: Reformated.
21596 * javax/swing/CellRendererPane.java
21597 (serialVersionUID): New field.
21598 (AccessibleCellRendererPaneserialVersionUID): New field.
21599 * javax/swing/DefaultListModel.java
21600 (serialVersionUID): New field.
21601 * javax/swing/JEditorPane.java
21602 (serialVersionUID): New field.
21603 (setPage): Throws IOException.
21604 (addHyperlinkListener): Implemented.
21605 (removeHyperlinkListener): Implemented.
21606 (getHyperlinkListener): New method.
21607 * javax/swing/JFileChooser.java
21608 (serialVersionUID): New field.
21609 (AccessibleJFileChooser.serialVersionUID): New field.
21610 (addActionListener): Implemented.
21611 (removeActionListener): Implemented.
21612 (getActionListeners): New method.
21613 * javax/swing/JFormattedTextField.java
21614 (serialVersionUID): New field.
21615 (AbstractFormatter.serialVersionUID): New field.
21616 (clone): Throws CloneNotSupportedException
21617 (setEditValid): Add missing argument.
21618 (stringToValue): Throws ParseExcpetion.
21619 (valueToString): Throws ParseException.
21620 (commitEdit): Throws ParseException.
21621 * javax/swing/JLabel.java
21622 (serialVersionUID): New field.
21623 * javax/swing/JList.java
21624 (serialVersionUID): New field.
21625 (addListSelectionListener): Reformated.
21626 (removeListSelectionListener): Reformated.
21627 (getListSelectionListeners): New method.
21628 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
21630 (serialVersionUID): New field.
21631 * javax/swing/table/AbstractTableModel.java
21632 (getValueAt): Removed.
21633 (getColumnCount): Removed.
21634 (getRowCount): Removed.
21636 2004-02-05 Michael Koch <konqueror@gmx.de>
21638 * java/awt/datatransfer/DataFlavor.java
21639 (imageFlavor): Javadoc added.
21640 (javaJVMLocalObjectType): Fixed.
21642 2004-02-05 Michael Koch <konqueror@gmx.de>
21644 * java/lang/Thread.java
21645 (Thread): Reordered.
21646 (setContextClassLoader): Fixed javadoc comment.
21647 (setPriority): Reordered.
21648 (yield): Reordered.
21649 (initialize_native): Reordered.
21650 (gen_name): Reordered.
21652 2004-02-05 Michael Koch <konqueror@gmx.de>
21654 * java/lang/Thread.java: Reordered fields, reformated much code,
21655 no functional changes, some variables renamed, javadoc comments
21658 2004-02-05 Michael Koch <konqueror@gmx.de>
21660 * java/util/zip/Deflater.java,
21661 java/util/zip/DeflaterOutputStream.java,
21662 java/util/zip/GZIPInputStream.java:
21663 Reformated and javadoc comments merged from classpath.
21665 2004-02-05 Michael Koch <konqueror@gmx.de>
21667 * gnu/java/nio/NIOServerSocket.java
21668 (impl): Unused, removed.
21669 * gnu/java/nio/SocketChannelImpl.java
21670 (finnishConnect): Don't throw NoConnectionPendingException if not
21671 connected or no connection pending.
21673 2004-02-02 Graydon Hoare <graydon@redhat.com>
21675 * javax/swing/SwingUtilities.java: Many new functions.
21676 * java/awt/Container.java (LightweightDispatcher): Reimplement.
21677 * javax/swing/basic/BasicGraphicsUtils.java
21678 (getPreferredButtonSize): Start layout from top-left corner.
21680 2004-02-04 Olga Rodimina <rodimina@redhat.com>
21682 * java/awt/geom/AffineTransform.java:
21683 Corrected comments on the field definitions for
21685 (shear): Fixed few errors that caused shear
21686 transformation to be performed incorrectly.
21687 (createInverse): Fixed to return correct
21688 inverse of the given matrix.
21690 2004-02-03 Tom Tromey <tromey@redhat.com>
21692 * java/lang/natPosixProcess.cc (startProcess): Handle case where
21693 PATH or LD_LIBRARY_PATH is not set in parent environment.
21695 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
21697 * gnu/java/awt/peer/gtk/GtkListPeer.java,
21698 java/awt/BorderLayout.java, java/awt/CardLayout.java,
21699 java/awt/CheckboxGroup.java, java/awt/Choice.java,
21700 java/awt/Component.java, java/awt/Container.java,
21701 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
21702 java/awt/LayoutManager2.java, java/awt/List.java,
21703 java/awt/Menu.java, java/awt/MenuBar.java,
21704 java/awt/MenuItem.java, java/awt/Polygon.java,
21705 java/awt/Rectangle.java, java/awt/ScrollPane.java,
21706 java/awt/Scrollbar.java, java/awt/TextArea.java,
21707 java/awt/TextField.java,
21708 java/awt/image/renderable/RenderContext.java,
21709 javax/swing/JApplet.java: Fix handling of alias methods, where a
21710 method has been deprecated in favour of a new one with the same
21711 funtion but a different name. Put the method implementation in
21712 the deprecated method and have the new method call the
21713 deprecated one. Make all other code call the new method.
21715 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
21717 * gnu/java/nio/DatagramChannelImpl.java
21718 (inChannelOperation): New field.
21719 (isInChannelOperation): New accessor.
21720 (setInChannelOperation): New modifier.
21721 (receive): Use capacity() - position() of destination
21722 buffer instead of remaining(). Set and reset our "in
21723 channel operation indicator" before and after delegating
21724 the receive to our datagram socket. Removed testing code.
21725 Update destination buffer's current position if it is
21726 backed by a byte array (hasArray() is true).
21727 (send): Set and reset our "in channel operation indicator"
21728 before and after delegating the send to our datagram socket.
21729 Removed testing code. Update source buffer's current position
21730 if it is backed by a byte array (hasArray() is true).
21731 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
21732 Use capacity() - position() of destination buffer instead
21734 * java/net/DatagramSocket.java (receive): Don't throw an
21735 IllegalBlockingModeException if we have a non-blocking
21736 channel which initiated this operation.
21739 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
21741 * configure.in: Add pkgconfig check for glib and gthread.
21742 * configure: Regenerate.
21744 2004-02-01 Michael Koch <konqueror@gmx.de>
21746 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
21748 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
21749 * verify.cc (debug_print): Mark 'fmt' unused.
21751 2004-01-30 Michael Koch <konqueror@gmx.de>
21753 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
21754 * configure: Regenerated.
21755 * glib-2.0.m4: Removed.
21756 * gtk-2.0.m4: Removed.
21757 * libart.m4: Removed.
21758 * pkg.m4: New file.
21760 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
21762 * gnu/java/net/PlainSocketImpl.java
21763 (inChannelOperation): New field.
21764 (isInChannelOperation): New accessor.
21765 (setInChannelOperation): New modifier.
21766 * gnu/java/nio/ServerSocketChannelImpl.java
21767 (accept): Set and reset our server socket's PlainSocketImpl's
21768 "in channel operation" indicator before and after delegating
21769 the accept to our server socket.
21770 * gnu/java/nio/SocketChannelImpl.java
21771 (connect): Set and reset our socket's PlainSocketImpl's "in channel
21772 operation" indicator before and after delegating the operation to
21776 * java/net/ServerSocket.java (implAccept): Don't throw an
21777 IllegalBlockingModeException if we have a non-blocking
21778 channel which initiated this accept operation.
21779 * java/net/Socket.java (connect): Don't throw an
21780 IllegalBlockingModeException if we have a non-blocking
21781 channel which initiated this connect operation.
21782 * java/nio/channels/spi/AbstractSelectableChannel.java
21783 (configureBlocking): Only call implConfigureBlocking() if
21784 the desired blocking mode is different from our current one.
21786 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
21788 * java/io/BufferedReader.java (sbuf): New field.
21789 (readLine): Use String.valueOf instead of new String() as per
21790 Per Bothner's suggestion. Use instance sbuf field instead of a
21791 local StringBuffer instance.
21792 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
21793 caller's buffer to refill().
21794 (read(void)): Pass our internal work buffer to refill if our
21795 input queue is empty.
21796 (refill): Changed return type to int. Use the specified buffer
21797 instead of our work buffer as per Bryce McKinlay's suggestion.
21798 Return the number of characters read or -1 for EOF.
21800 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
21802 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
21804 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
21806 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
21807 * Makefile.in: Re-generated.
21808 * gnu/awt/xlib/XFontPeer.java: New file.
21809 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
21810 (setClip): Commented out debug printout.
21811 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
21812 (getFontPeer): Return XFontPeer.
21813 (getLocalGraphicsEnvironment): New method.
21814 (getClasspathFontPeer): New method.
21815 (createFont): New method.
21817 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
21819 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
21822 2004-01-29 Kim Ho <kho@redhat.com>
21824 * gnu/java/awt/peer/gtk/GtkFramePeer.java
21825 (gtkLayoutSetVisible): New method
21826 (setMenuBar): Hide layout before setting MenuBar
21827 and reshow it after.
21828 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
21829 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
21831 2004-01-28 Michael Koch <konqueror@gmx.de>
21833 * gnu/java/lang/ClassHelper.java
21834 (getPackagePortion): Removed.
21836 2004-01-28 Michael Koch <konqueror@gmx.de>
21838 * javax/swing/JComponent.java
21839 (listenerList): Initalize globally.
21840 (ancestor_list): Removed.
21841 (veto_list): Removed.
21842 (change_list): Removed.
21843 (get_veto_list): Removed.
21844 (get_change_list): Removed.
21845 (get_ancestor_list): Removed.
21846 (removeAncestorListener): Reimplemented.
21847 (removePropertyChangeListener): Likewise.
21848 (removeVetoableChangeListener): Likewise.
21849 (addAncestorListener): Likewise.
21850 (addPropertyChangeListener): Likewise.
21851 (addVetoableChangeListener): Likewise.
21852 (getListeners): New method.
21853 (getAncestorListeners): Likewise.
21854 (getVetoableChangeListeners): Likewise.
21855 (fireVetoableChange): Throws PropertyVetoException.
21856 * javax/swing/JEditorPane.java
21857 (JEditorPane): Throws IOException.
21859 2004-01-28 David Jee <djee@redhat.com>
21861 * gnu/java/awt/peer/gtk/GtkFramePeer.java
21862 (create): Set the default foreground color to
21863 java.awt.SystemColor.windowText.
21865 2004-01-27 Michael Koch <konqueror@gmx.de>
21867 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
21868 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
21869 Reindented to merge with classpath.
21871 2004-01-27 David Jee <djee@redhat.com>
21873 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
21874 (addExposeFilter): Handle GtkFramePeer separately.
21875 (removeExposeFilter): Likewise.
21877 2004-01-27 Michael Koch <konqueror@gmx.de>
21879 * gnu/java/net/protocol/http/Connection.java
21880 (getOutputStream): Fixed typo.
21882 2004-01-27 Michael Koch <konqueror@gmx.de>
21884 * java/lang/Class.java
21885 (getConstructor): Removed SecurityException from throws clause.
21886 (_getConstructors): Likewise.
21887 (getConstructors): Likewise.
21888 (getDeclaredConstructor): Likewise.
21889 (getDeclaredClasses): Likewise.
21890 (getDeclaredConstructors): Likewise.
21891 (getDeclaredField): Likewise.
21892 (getDeclaredMethod): Likewise.
21893 (getDeclaredMethods): Likewise.
21894 (getField): Likewise.
21895 (getMethod): Likewise.
21896 (getMethods): Likewise.
21898 2004-01-27 Kim Ho <kho@redhat.com>
21900 * gnu/java/awt/peer/gtk/GtkFramePeer.java
21901 (removeMenuBarPeer): Remove MenuBarPeer argument.
21902 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
21903 (dispose): Call native method.
21904 * java/awt/Frame.java (setMenuBar): Create and remove
21905 MenuBar peers only if the Frame has a peer.
21906 (addNotify): Create the MenuBar peer if one exists.
21907 (removeNotify): Remove MenuBar peer if one exists.
21908 * java/awt/Menu.java: Fix imports.
21909 (addNotify): Don't use full class name.
21910 (removeNotify): Call removeNotify on all children.
21911 * java/awt/MenuBar.java (removeNotify): Call
21912 removeNotify on all children.
21913 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
21914 (removeMenuBarPeer): Remove MenuBarPeer argument.
21915 Iterate through children to find the Frame's MenuBar.
21916 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
21918 (dispose): Remove references to the MenuComponent.
21920 2004-01-27 Michael Koch <konqueror@gmx.de>
21922 * javax/swing/AbstractCellEditor.java: Reformated.
21923 * javax/swing/DefaultListSelectionModel.java
21924 (listenerList): Made protected.
21925 (addListSelectionListener): Javadoc added.
21926 (removeListSelectionListener): Likewise.
21927 (getListeners): Likewise.
21928 (getListSelectionListeners): Likewise.
21929 * javax/swing/JComboBox.java: Merged copyright year.
21930 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
21932 2004-01-26 Andrew Haley <aph@redhat.com>
21934 * javax/swing/table/JTableHeader.java: Extend JComponent
21936 2004-01-26 Kim Ho <kho@redhat.com>
21938 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
21941 2004-01-26 Kim Ho <kho@redhat.com>
21943 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
21945 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
21946 height and let the Layout Managers readjust anything that
21948 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
21949 (moveLayout): New method. Shift everything in the Gtk
21950 layout in the Y direction by an offset.
21952 2004-01-26 David Jee <djee@redhat.com>
21954 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
21955 (handleEvent): Implemented. Handles PaintEvents.
21956 (paint): Implemented. Use GTK native methods to queue updates
21957 for this heavyweight peer.
21958 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
21959 (handleEvent): Removed.
21960 * java/awt/Component.java
21961 (paint): Implemented. Explictly paint the heavyweight peer.
21962 (update): Clear the background for heavyweight components.
21963 (paintAll): No need to call peer.paint() anymore.
21964 (processEvent): Don't process PaintEvents here. It's now done in
21965 the peer's handleEvent().
21966 (processPaintEvent): Removed.
21967 * java/awt/Container.java
21968 (paint): No need to call super.paint(). Visit heavyweight
21970 (update): Don't clear the background here. It's done in
21971 Component.update().
21972 (visitChildren): Added check to not recurse into Containers.
21973 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
21974 (filter_expose_event_handler): New method. Filter unwanted
21975 expose events while painting heavyweight peers.
21976 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
21977 New method. Connect filter and block pre_event_handler.
21978 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
21979 New method. Disconnect filter and unblock pre_event_handler.
21980 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
21981 New method. Invalidate and update given area.
21982 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
21983 (pre_event_handler): Add checks for unwanted expose events.
21985 2004-01-26 David Jee <djee@redhat.com>
21987 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
21988 (find_bg_color_widget): For GtkButton, return its child.
21990 2004-01-26 Kim Ho <kho@redhat.com>
21992 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
21994 (setMenuBar): Grab MenuBar height and change insets.
21995 (setBounds): Account for MenuBar height.
21996 (postInsetsChangedEvent): Ditto.
21997 (postSizeAllocateEvent): Remove.
21998 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
21999 (menubar_resize_cb): Remove
22000 (setMenuBarPeer): Remove callback.
22001 (getMenuBarHeight): Use size requisition instead of
22004 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
22006 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
22007 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
22009 (setColumns): Remove FIXME -- peer will retrieve number of
22010 columns by calling getColumns.
22011 (setRows): Likewise for number of rows.
22012 (next_text_number): New field.
22013 (paramString): Fix param string.
22014 (generateName): New method.
22015 (getUniqueLong): New method.
22017 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
22019 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
22020 image observer of image loading status.
22021 (getImage (String)): Start image production.
22022 (getImage (URL)): Likewise.
22024 2004-01-25 Michael Koch <konqueror@gmx.de>
22026 * java/lang/Class.java: Imports reworked, reformated.
22027 (Class): Javadoc added.
22028 (forName): Likewise.
22029 (getClasses): Likewise.
22030 (getClassLoader): Likewise.
22031 (getComponentType): Likewise.
22032 (getConstructor): Likewise.
22033 (getConstructors): Likewise.
22034 (getDeclaredConstructor): Likewise.
22035 (getDeclaredClasses): Likewise.
22036 (getDeclaredConstructors): Likewise.
22037 (getDeclaredField): Likewise.
22038 (getDeclaredMethod): Likewise.
22039 (getDeclaredMethods): Likewise.
22040 (getDeclaringClass): Likewise.
22041 (getField): Likewise.
22042 (getInterfaces): Likewise.
22043 (getMethod): Likewise.
22044 (getMethods): Likewise.
22045 (getModifiers): Likewise.
22046 (getName): Likewise.
22047 (getResource): Likewise.
22048 (getResourceAsStream): Likewise.
22049 (getSigners): Likewise.
22050 (setSigners): Likewise.
22051 (getSuperclass): Likewise.
22052 (isArray): Likewise.
22053 (isAssignableFrom): Likewise.
22054 (isInstance): Likewise.
22055 (isInterface): Likewise.
22056 (isPrimitive): Likewise.
22057 (newInstance): Likewise.
22058 (getProtectionDomain): Likewise.
22059 (toString): Likewise.
22061 (initializeClass): Likewise.
22062 (finalize): Likewise.
22064 2004-01-24 Michael Koch <konqueror@gmx.de>
22066 * gnu/java/net/protocol/jar/Connection.java
22067 (hdrHash): Removed.
22069 (gotHeaders): Removed.
22070 (getHeaderField): Removed.
22071 (getHeaderFields): Removed.
22072 (getHeaderFieldKey): Removed.
22074 (getField): Removed.
22075 (getHeaders): Removed.
22077 2004-01-24 Michael Koch <konqueror@gmx.de>
22079 * Makefile.am: Added library version to gtk peer lib.
22080 * Makefile.in: Regenerated.
22082 2004-01-24 Michael Koch <konqueror@gmx.de>
22084 * java/util/zip/InflaterInputStream.java: Merged class documentation
22087 2004-01-21 Jakub Jelinek <jakub@redhat.com>
22089 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
22090 header. For __powerpc64__ provide the default-signal.h definitions
22092 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
22093 instead of the dummy definitions.
22094 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
22095 (powerpc64*-*): Remove with_libffi_default.
22096 Only add -mminimal-toc for 64-bit compilations.
22097 * configure.in: Use powerpc-signal.h on powerpc64 as well.
22098 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
22099 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
22100 * configure: Rebuilt.
22102 2004-01-23 Michael Koch <konqueror@gmx.de>
22104 * gnu/java/nio/FileLockImpl.java: Compile fixes.
22106 2004-01-23 Michael Koch <konqueror@gmx.de>
22108 * java/lang/VMClassLoader.java: Reworked imports.
22110 2004-01-23 Michael Koch <konqueror@gmx.de>
22112 * javax/swing/AbstractAction.java: Reformated.
22114 2004-01-23 Michael Koch <konqueror@gmx.de>
22116 * java/text/CollationElementIterator.java:
22117 (setText): New method.
22119 2004-01-23 Michael Koch <konqueror@gmx.de>
22121 * gnu/java/nio/FileLockImpl.java:
22122 Fixed filename in copyright.
22123 (released): Removed.
22124 (finalize): New method.
22125 * gnu/java/nio/natFileLockImpl.cc
22126 (releaseImpl): Implemented.
22127 * java/nio/channels/FileChannelImpl.java:
22129 (lock): Implemented.
22130 (lockImpl): New method.
22131 (tryLock): Implemented.
22132 (tryLockImpl): New method.
22133 * java/nio/channels/natFileChannelImpl.cc
22134 (lockImpl): New method.
22135 (tryLockImpl): New method.
22137 2004-01-23 Michael Koch <konqueror@gmx.de>
22139 * java/io/FileDescriptor.java
22140 (lock): New method.
22141 (tryLock): New method.
22142 (unlock): New method.
22143 * java/io/natFileDescriptorEcos.cc
22144 (lock): New method.
22145 (tryLock): New method.
22146 (unlock): New method.
22147 * java/io/natFileDescriptorPosix.cc
22148 (lock): New method.
22149 (tryLock): New method.
22150 (unlock): New method.
22151 * java/io/natFileDescriptorWin32.cc
22152 (lock): New method.
22153 (tryLock): New method.
22154 (unlock): New method.
22156 2004-01-23 Michael Koch <konqueror@gmx.de>
22158 * java/io/FileDescriptor.java
22159 (sync): Moved around, added javadoc.
22164 (setLength): Likewise.
22166 (getLength): Likewise.
22167 (getFilePointer): Likewise.
22169 (available): Likewise.
22170 (finalize): Likewise.
22172 2004-01-23 Michael Koch <konqueror@gmx.de>
22174 * javax/swing/AbstractAction.java: Reformated.
22175 (getPropertyChangeListeners): New method.
22176 * javax/swing/AbstractCellEditor.java: Reformated.
22177 (getCellEditorListeners): New method.
22178 * javax/swing/DefaultListSelectionModel.java
22179 (listenerList): New field.
22180 (listeners): Removed.
22181 (get_listeners): Removed.
22182 (addListSelectionListener): Rewritten.
22183 (removeListSelectionListener): Rewritten.
22184 (getListSelectionListeners): New method.
22185 (getListeners): New method.
22186 * javax/swing/JComboBox.java: Imports reworked.
22187 (addActionListener): Implemented.
22188 (removeActionListener): Implemented.
22189 (addItemListener): Implemented.
22190 (removeItemListener): Implemented.
22191 (addPopupMenuListener): Implemented.
22192 (removePopupMenuListener): Implemented.
22193 (getActionListeners): New method.
22194 (getItemListeners): New method.
22195 (getPopupMenuListeners): New method.
22197 2004-01-23 Michael Koch <konqueror@gmx.de>
22199 * gnu/java/net/protocol/http/Connection.java
22200 (connect): Don't initialize bufferedOutputStream if not needed.
22201 (sendRequest): Set property for content length if content is present.
22202 Write content only if present.
22203 (getOutputStream): Check if already connected, dont connect,
22204 initalize bufferedOutputStream if needed.
22206 2004-01-23 Michael Koch <konqueror@gmx.de>
22208 * java/io/FileDescriptor.java
22209 (in, out, err): Added javadoc.
22210 (static): Merged loading code.
22211 (fd, position): Moved around.
22213 2004-01-23 Michael Koch <konqueror@gmx.de>
22215 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
22218 2004-01-23 Michael Koch <konqueror@gmx.de>
22220 * java/lang/Class.java,
22221 java/lang/Object.java,
22222 java/lang/Thread.java: Merged copyright with classpath.
22224 2004-01-23 Michael Koch <konqueror@gmx.de>
22226 * java/io/FileDescriptor.java: Merged copyright with classpath to
22227 start merging this class.
22229 2004-01-22 Tom Tromey <tromey@redhat.com>
22232 * testsuite/libjava.lang/pr13107_2.xfail: New file.
22233 * testsuite/libjava.lang/pr13107_3.xfail: New file.
22234 * testsuite/libjava.lang/pr13107_3.java: New file.
22235 * testsuite/libjava.lang/pr13107_3.out: New file.
22236 * testsuite/libjava.lang/pr13107_2.java: New file.
22237 * testsuite/libjava.lang/pr13107_2.out: New file.
22238 * testsuite/libjava.lang/pr13107.java: New file.
22239 * testsuite/libjava.lang/pr13107.out: New file.
22240 * verify.cc (jsr_ptrs): Removed.
22241 (entry_points): Likewise.
22242 (struct subr_info): Likewise.
22243 (struct subr_entry_info): Likewise.
22244 (type_val::unused_by_subroutine_type): Likewise.
22245 (type::merge): Don't handle unused_by_subroutine_type.
22246 (type::print): Likewise.
22247 (state::flags): Removed.
22248 (state::subroutine): Likewise.
22249 (state::seen_subrs): Likewise.
22250 (state::NO_STACK): Likewise.
22251 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
22252 (state): Updated all methods.
22253 (state::clean_subrs): Removed.
22254 (state::state): Removed `ret_semantics' flag.
22255 (state::copy): Likewise.
22256 (state::add_subr): Removed.
22257 (state::enter_subroutine): Likewise.
22258 (type::set_return_address): New method.
22259 (handle_jsr_insn): Set return address on the type. Always
22260 invalidate PC after call.
22261 (check_nonrecursive_call): Removed.
22262 (~_Jv_BytecodeVerifier): Updated.
22263 (branch_prepass): Removed special handling of jsr.
22264 (note_branch_target): Likewise.
22265 (get_subroutine): Removed.
22266 (state::merge): Don't merge subroutines and don't handle
22267 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
22268 (state::note_variable): Removed.
22269 (state::is_unmerged_ret_state): Likewise.
22270 (state::print): Updated.
22271 (set_variable): Likewise.
22272 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
22273 and jsr_semantics arguments. Updated for new reverification
22275 (pop_jump): Rewrote.
22276 (construct_primitive_array_type): Updated.
22277 (state::next): Removed.
22278 (INVALID_STATE): New define.
22279 (state::INVALID): Removed.
22280 (state::NO_NEXT): New value.
22281 (state::pc, state::next): New fields.
22282 (state::get_pc): New method.
22283 (next_verify_pc): Removed.
22284 (next_verify_state): New field.
22285 (verify_instructions_0): Always check for falling off end.
22286 (linked): New type.
22287 (linked_utf8): Removed.
22288 (states): Changed type.
22289 (type::state_mergeable_p): New method.
22290 (state::state_mergeable_p): Likewise.
22291 (handle_ret_insn): Removed most code.
22292 (state::reverify): New method.
22293 (add_new_state): Likewise.
22294 (state::set_pc): Likewise.
22296 2004-01-22 Jeff Sturm <jsturm@one-point.com>
22299 * testsuite/libjava.compile/PR13733.java: New file.
22300 * testsuite/libjava.compile/PR13733.xfail: New file.
22302 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
22303 Michael Koch <konqueror@gmx.de>
22305 * javax/swing/table/DefaultTableCellRenderer.java
22306 (DefaultTableCellRenderer): Added javadoc for the class and for
22307 the constructor, Border instance, create an EmptyBorder.
22308 (UIResource): Removed the comment at the end of the class
22309 (setForeground): New method.
22310 (setBackground): New method.
22311 (updateUI): New method.
22312 (getTableCellRendererComponent): Rewritten with the help of
22313 dvholten and Stephane Meslin-Weber.
22314 (validate): New method.
22315 (repaint): New method.
22316 (firePropertyChange): New method.
22317 (setValue): New method.
22319 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
22321 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
22322 (connectJObject): Replace printf calls with g_assert statements.
22323 Move property-notify-event signal connection to ...
22324 (connectSignals): Connect property-notify-event signal. Iterate
22325 through the vbox's children to find layout.
22327 2004-01-22 Graydon Hoare <graydon@redhat.com>
22329 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
22330 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
22331 Predicate static initialization on GtkToolkit.useGraphics2D().
22332 * java/awt/Component.java (processPaintEvent): Consume event.
22333 * javax/swing/AbstractButton.java: Reimplement, document.
22334 * javax/swing/DefaultButtonModel.java: Reimplement, document.
22335 * javax/swing/JComponent.java (paint): Use double buffer.
22336 (listenerList): Enable member.
22337 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
22338 * javax/swing/JToggleButton.java
22339 (JToggleButton): Modify model constructor.
22340 * javax/swing/SwingUtilities.java
22341 (layoutCompoundLabel): Adjust arithmetic.
22342 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
22343 * javax/swing/plaf/basic/BasicGraphicsUtils.java
22344 (getPreferredButtonSize): Include margins in calculation.
22345 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
22346 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
22347 Receive up events from subordinate layout component.
22349 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
22351 * java/awt/Component.java (show): Set visible to true before
22354 2004-01-21 Kim Ho <kho@redhat.com>
22356 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
22358 (removeMenuBarPeer): Make package private.
22359 (setMenuBarPeer): Make package private.
22360 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
22361 (menubar_resize_cb): Mark attributes unused.
22362 (getMenuBarHeight): ditto.
22364 2004-01-21 David Jee <djee@redhat.com>
22366 * java/awt/Container.java
22367 (LightweightDispatcher.handleEvent): Add an extra check to avoid
22368 dispatching MOUSE_ENTERED event twice. Translate the point for
22369 the mouse event target before dispatching the event.
22371 2004-01-20 Jakub Jelinek <jakub@redhat.com>
22373 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
22374 lib_org_w3c_dom_la_LDFLAGS): New.
22375 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
22376 * Makefile.in: Rebuilt.
22378 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
22380 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
22381 Calculate proper offsets for heavyweight components packed in
22382 lightweight containers.
22384 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
22385 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
22386 (native create): Add width parameter.
22387 (create): Calculate text entry width based on current font's
22388 metrics and number of columns. Set TextField's font if not
22389 already set. Call native create.
22390 (gtkEntryGetBorderWidth): New native method.
22391 (gtkEntryGetSize): Remove method.
22392 (getMinimumSize): Call minimumSize.
22393 (getPreferredSize): Call preferredSize.
22394 (minimumSize): Calculate minimum size based on backing
22395 GtkEntry's borders, font metrics and number of columns.
22396 (preferredSize): Likewise for preferred size.
22397 (get_border_width): New static function.
22399 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
22400 Override GtkWindowPeer's setResizable method to account for menu
22401 bar height when setting the frame's size.
22403 2004-01-19 Matthias Klose <doko@debian.org>
22405 * libtool-version: Increased `current' to 6.
22407 2004-01-19 Kim Ho <kho@redhat.com>
22409 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
22410 (connectJObject): Iterate through the vbox's children to find layout.
22412 2004-01-19 Fernando Nasser <fnasser@redhat.com>
22414 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
22415 isDispatchThread method to replace wrong test condition.
22417 2004-01-19 Fernando Nasser <fnasser@redhat.com>
22419 * java/awt/EventQueue.java (pop): Prevent racing condition to add
22420 events to the queue out of order by acquiring locks in the proper
22421 order and not by releasing one before acquiring the other.
22423 2004-01-19 Fernando Nasser <fnasser@redhat.com>
22425 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
22426 visible so that dialog can be reused.
22428 2004-01-19 Fernando Nasser <fnasser@redhat.com>
22430 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
22431 events may be handled by any queue in the stack.
22433 2004-01-19 Kim Ho <kho@redhat.com>
22435 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
22436 MenuBarPeer parameter.
22437 (removeMenuBarPeer): New native method.
22438 (setMenuBar): Call remove if menu bar is null. Adjust insets
22440 (postSizeAllocateEvent): New method. Called when menu bar size is
22441 allocated. Adjust insets and redo layout.
22442 (GtkFramePeer): Set menu bar during frame creation.
22443 (postConfigureEvent): Adjust position and size to accomodate
22445 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
22446 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
22447 (addNotify): Create the peer if it doesn't exist and call addNotify
22448 for the menu's items.
22449 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
22450 * java/awt/MenuItem.java (addNotify): Create the peer if it
22452 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
22453 (removeMenuBarPeer): New method. Remove menu bar on the current
22455 (setMenuBarPeer): Add the menu bar to the current frame and the
22456 callback for size-allocate events on the menu bar.
22457 (getMenuBarHeight): Add menu bar parameter.
22458 (menubar_resize_cb): New callback method for postSizeAllocate events.
22460 Also: Fix indentation on last ChangeLog entry.
22462 2004-01-16 Kim Ho <kho@redhat.com>
22464 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
22465 (gtkWidgetGetDimensions): Remove.
22466 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
22467 (gtkWidgetGetDimensions): Remove.
22469 2004-01-16 Tom Tromey <tromey@redhat.com>
22471 * java/awt/Container.java: Typo and indentation fixes.
22473 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
22474 * java/lang/natVMClassLoader.cc: ...here. New file.
22475 * Makefile.in: Rebuilt.
22476 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
22478 2004-01-16 Fernando Nasser <fnasser@redhat.com>
22480 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
22481 Discard GDK_ENTER_NOTIFY related to ungrabs.
22483 2004-01-16 Fernando Nasser <fnasser@redhat.com>
22485 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
22486 is called for an intermediate queue.
22488 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
22490 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
22491 (window_property_changed_cb): Set id_set.
22493 2004-01-16 Kim Ho <kho@redhat.com>
22495 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
22496 it is a FileDialog and has dimensions of 0 by 0, then the initial
22497 size is set to size request plus insets.
22498 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
22499 (gtkWidgetGetDimensions): Override method.
22500 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
22501 (gtkWidgetGetDimensions): Override method. Returns size request plus
22504 2004-01-16 Andrew Haley <aph@redhat.com>
22506 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
22507 * sysdep/i386/locks.h: Likewise.
22509 2004-01-16 Fernando Nasser <fnasser@redhat.com>
22511 * java/awt/EventDispatchThread.java (run): Stop running when
22513 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
22514 Reset the queue after transferring its contents.
22515 (push): Start a new dispatch thread if none is running.
22517 2004-01-16 Olga Rodimina <rodimina@redhat.com>
22519 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
22520 (doPolygon): set fill rule of polygon to
22521 WIND_EVEN_ODD by default.
22523 2004-01-15 Olga Rodimina <rodimina@redhat.com>
22525 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
22526 Implemented rendering hints related methods.
22527 (getDefaultHints): New helper method. Returns
22528 default rendering hints.
22529 (walkPath): changed to normalize path if
22530 the KEY_STROKE_CONTROL key is in "normalize" mode.
22531 (draw3DRect): changed coordinates of rectangle by +0.5
22532 if in "normalize" mode.
22534 2004-01-15 Tom Tromey <tromey@redhat.com>
22536 * Makefile.in: Rebuilt.
22537 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
22538 (%.lo: %.java) Filter out StackTrace.lo.
22540 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
22542 * configure.in: Add in AC_PREREQ(2.13)
22543 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
22546 2004-01-14 Nathan Bryant <nbryant@optonline.net>
22547 Tom Tromey <tromey@redhat.com>
22550 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
22551 array to superclass.
22552 (init): Changed interface; add URLs here.
22553 (initialize): New static method.
22554 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
22555 (_Jv_RunMain): ... not here.
22557 2004-01-14 Michael Koch <konqueror@gmx.de>
22559 * java/text/MessageFormat.java:
22560 Added descriptions to exceptions.
22561 This fixes PR libgcj/2429.
22563 2004-01-13 Fernando Nasser <fnasser@redhat.com>
22565 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
22566 (push): Make sure push is performed at the top of the thread stack.
22568 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
22570 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
22571 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
22572 (native create): Add width and height parameters. Set text
22573 view's size request according to new parameters.
22574 (create): Calculate text view size based on current font's
22575 metrics and number of rows and columns. Set TextArea's font if
22576 not already set. Call native create.
22577 (getMinimumSize): Call minimumSize.
22578 (getPreferredSize): Call preferredSize.
22579 (getHScrollbarHeight): New method.
22580 (getVScrollbarWidth): New method.
22581 (minimumSize): Calculate minimum size based on scrollbar
22582 visibility, scrollbar sizes, font metrics and number of rows and
22584 (preferredSize): Likewise for preferred size.
22585 (gtkTextGetSize): Remove method.
22587 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
22589 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
22590 (initializeInsets): Remove method.
22591 (GtkComponentPeer): Initialize insets field. Remove call to
22593 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
22595 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
22597 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
22598 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
22599 (latestInsets): Remove field.
22600 (native create): Add insets parameter. Call
22601 window_get_frame_extents. Set the window's default size and
22602 size request based on its frame extents.
22603 (create): Initialize insets.
22604 (postInsetsChangedEvent): New method.
22605 (postConfigureEvent): Remove parameters top, left, bottom,
22606 right. Remove insets-related logic.
22607 (connectJObject): Handle property-notify-event.
22608 (window_get_frame_extents, request_frame_extents,
22609 property_notify_predicate, window_property_changed_cb): New
22611 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
22612 (pre_event_handler): Remove insets-related logic for configure
22614 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
22615 Update postConfigureEvent signature.
22617 2004-01-13 Fernando Nasser <fnasser@redhat.com>
22619 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
22620 to handle Window "Closing" events.
22622 2004-01-13 David Jee <djee@redhat.com>
22624 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
22625 (setBackground): New method. Children with no explicitly-set
22626 background will be repainted with the parent container's new
22629 2004-01-13 David Jee <djee@redhat.com>
22631 * Makefile.am: Add BitwiseXORComposite.java.
22632 * Makefile.in: Regenerated.
22633 * gcj/Makefile.in: Regenerated.
22634 * include/Makefile.in: Regenerated.
22635 * testsuite/Makefile.in: Regenerated.
22637 2004-01-12 Fernando Nasser <fnasser@redhat.com>
22639 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
22640 not show modal dialogs twice and so that it allows showing a modal
22641 dialog from another modal dialog.
22643 2004-01-12 Fernando Nasser <fnasser@redhat.com>
22645 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
22646 and run secondary dispatch thread to process event queue while this
22649 2004-01-12 Graydon Hoare <graydon@redhat.com>
22651 * gnu/java/awt/gtk/GdkGraphics2D.java
22652 (static): Check GtkToolkit before initializing static state.
22653 (Graphics2D): Don't construct transform with 0.5 unit offset.
22655 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
22657 * gnu/java/awt/BitwiseXORComposite.java: Add.
22658 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
22659 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
22660 (BitwiseXORComposite): Remove inner class.
22662 2004-01-11 Michael Koch <konqueror@gmx.de>
22664 * gnu/java/lang/reflect/TypeSignature.java
22665 (getEncodingOfClass): Documentation fixed.
22666 (getClassForEncoding): Give class loader to Class.forName().
22667 Documentation fixed.
22669 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
22671 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
22673 2004-01-11 Michael Koch <konqueror@gmx.de>
22675 * javax/swing/undo/StateEditable.java
22676 (RCSID): Removed redundant modifiers.
22678 2004-01-10 Michael Koch <konqueror@gmx.de>
22680 * javax/print/attribute/EnumSyntax.java
22681 (getStringTable): Made protected.
22682 (getEnumValueTable): Likewise.
22683 * javax/print/attribute/standard/JobKOctetsProcessed.java
22684 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
22685 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
22686 (JobMediaSheetsCompleted): Made class final.
22687 * javax/print/attribute/standard/OutputDeviceAssigned.java
22688 (getName): Fixed typo.
22689 * javax/print/attribute/standard/RequestingUserName.java
22690 (serialVersionUID): Fixed value.
22692 2004-01-10 Michael Koch <konqueror@gmx.de>
22694 * javax/swing/plaf/basic/BasicButtonUI.java,
22695 javax/swing/plaf/basic/BasicCheckBoxUI.java,
22696 javax/swing/plaf/basic/BasicListUI.java,
22697 javax/swing/plaf/basic/BasicOptionPaneUI.java,
22698 javax/swing/plaf/basic/BasicPanelUI.java,
22699 javax/swing/plaf/basic/BasicRadioButtonUI.java,
22700 javax/swing/plaf/basic/BasicScrollPaneUI.java,
22701 javax/swing/plaf/basic/BasicToggleButtonUI.java,
22702 javax/swing/plaf/basic/BasicViewportUI.java:
22703 Fixed import statements.
22705 2004-01-10 Michael Koch <konqueror@gmx.de>
22707 * gnu/java/awt/image/ImageDecoder.java
22708 (produce): Made public.
22709 * gnu/java/awt/peer/GLightweightPeer.java,
22710 gnu/java/awt/peer/gtk/GtkToolkit.java:
22713 2004-01-10 Michael Koch <konqueror@gmx.de>
22715 * javax/swing/JRadioButtonMenuItem.java,
22716 javax/swing/JSeparator.java,
22717 javax/swing/JSplitPane.java,
22718 javax/swing/JTextPane.java,
22719 javax/swing/JToolBar.java,
22720 javax/swing/ListCellRenderer.java,
22721 javax/swing/ListModel.java,
22722 javax/swing/MenuElement.java,
22723 javax/swing/OverlayLayout.java,
22724 javax/swing/ProgressMonitor.java,
22725 javax/swing/ProgressMonitorInputStream.java,
22726 javax/swing/Renderer.java,
22727 javax/swing/RootPaneContainer.java,
22728 javax/swing/Scrollable.java,
22729 javax/swing/SingleSelectionModel.java,
22730 javax/swing/ToolTipManager.java,
22731 javax/swing/ViewportLayout.java,
22732 javax/swing/event/DocumentEvent.java,
22733 javax/swing/event/SwingPropertyChangeSupport.java,
22734 javax/swing/event/TreeSelectionEvent.java,
22735 javax/swing/event/UndoableEditEvent.java,
22736 javax/swing/text/AbstractDocument.java,
22737 javax/swing/text/AttributeSet.java,
22738 javax/swing/text/Caret.java,
22739 javax/swing/text/ComponentView.java,
22740 javax/swing/text/DefaultCaret.java,
22741 javax/swing/text/DefaultEditorKit.java,
22742 javax/swing/text/Document.java,
22743 javax/swing/text/EditorKit.java,
22744 javax/swing/text/GapContent.java,
22745 javax/swing/text/Keymap.java,
22746 javax/swing/text/MutableAttributeSet.java,
22747 javax/swing/text/PlainEditorKit.java,
22748 javax/swing/text/Segment.java,
22749 javax/swing/text/Style.java,
22750 javax/swing/text/StyledDocument.java,
22751 javax/swing/text/StyledEditorKit.java,
22752 javax/swing/text/TextAction.java,
22753 javax/swing/text/View.java: Fixed import statements.
22755 2004-01-08 Graydon Hoare <graydon@redhat.com>
22757 * javax/swing/JLayeredPane.java: Rewrite to accomodate
22758 djee@redhat.com's recent inverse ordering of Container elements.
22760 2004-01-09 Michael Koch <konqueror@gmx.de>
22762 * gnu/java/lang/ArrayHelper.java
22763 (equalsArray): Removed.
22765 2004-01-09 Andrew Haley <aph@redhat.com>
22767 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
22768 a Utf8Const field before looking at its class.
22770 2004-01-09 Michael Koch <konqueror@gmx.de>
22772 * javax/print/attribute/standard/DocumentName.java,
22773 javax/print/attribute/standard/JobHoldUntil.java,
22774 javax/print/attribute/standard/JobMessageFromOperator.java,
22775 javax/print/attribute/standard/JobName.java,
22776 javax/print/attribute/standard/JobOriginatingUserName.java,
22777 javax/print/attribute/standard/OutputDeviceAssigned.java,
22778 javax/print/attribute/standard/PrinterInfo.java,
22779 javax/print/attribute/standard/PrinterLocation.java,
22780 javax/print/attribute/standard/PrinterMakeAndModel.java,
22781 javax/print/attribute/standard/PrinterMessageFromOperator.java,
22782 javax/print/attribute/standard/PrinterName.java,
22783 javax/print/attribute/standard/RequestingUserName.java: New files.
22784 * Makefile.am (javax_source_files): Added new files.
22785 * Makefile.in: Regenerated.
22787 2004-01-09 Michael Koch <konqueror@gmx.de>
22789 * javax/swing/AbstractAction.java,
22790 javax/swing/AbstractSet.java,
22791 javax/swing/Action.java,
22792 javax/swing/ActionMap.java,
22793 javax/swing/BoundedRangeModel.java,
22794 javax/swing/ButtonModel.java,
22795 javax/swing/CellEditor.java,
22796 javax/swing/CellRendererPane.java,
22797 javax/swing/ComboBoxEditor.java,
22798 javax/swing/DebugGraphics.java,
22799 javax/swing/DefaultCellEditor.java,
22800 javax/swing/DefaultCellRenderer.java,
22801 javax/swing/DefaultComboBoxModel.java,
22802 javax/swing/DefaultDesktopManager.java,
22803 javax/swing/DefaultFocusManager.java,
22804 javax/swing/DefaultListCellRenderer.java,
22805 javax/swing/Icon.java,
22806 javax/swing/JButton.java,
22807 javax/swing/JCheckBoxMenuItem.java,
22808 javax/swing/JDesktopPane.java,
22809 javax/swing/JEditorPane.java,
22810 javax/swing/JMenu.java,
22811 javax/swing/JPanel.java,
22812 javax/swing/JPasswordField.java,
22813 javax/swing/JPopupMenu.java,
22814 javax/swing/JProgressBar.java: Reworked imports.
22816 2004-01-09 Michael Koch <konqueror@gmx.de>
22818 * java/awt/geom/PathIterator.java
22819 (WIND_EVEN_ODD): Removed redundant modifiers.
22820 (WIND_NON_ZERO): Likewise.
22821 (SEG_MOVETO): Likewise.
22822 (SEG_LINETO): Likewise.
22823 (SEG_QUADTO): Likewise.
22824 (SEG_CUBICTO): Likewise.
22825 (SEG_CLOSE): Likewise.
22826 * java/awt/image/SinglePixelPackedSampleModel.java:
22827 Removed redundant semicolon.
22828 * java/io/ObjectInputStream.java
22829 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
22830 * java/util/logging/Filter.java
22831 (isLoggable): Removed redundant modifier.
22832 * java/util/logging/LogManager.java:
22833 Removed redundant semicolon.
22834 * java/util/logging/XMLFormatter.java
22835 (format): Removed unused variable "key".
22837 2004-01-08 Fernando Nasser <fnasser@redhat.com>
22839 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
22840 New name for the former setFile native method.
22841 (setFile): New method.
22842 (setDirectory): Implemented.
22843 (connectSignals): New native method.
22844 (setFilenameFilter): Improve comment.
22845 (getGraphics): Comment.
22846 (gtkHideFileDialog): New method.
22847 (gtkDisposeFileDialog): New method.
22848 (gtkSetFilename): New method.
22849 * java/awt/Dialog.java (show): Block on modal dialogs, but only
22850 for FileDialog for now.
22851 (hide): New method.
22852 (dispose): New method.
22853 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
22854 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
22855 deprecated creation functions. Make dialog modal. Add it to the
22857 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
22859 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
22861 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
22863 (window_closed): New function.
22864 (ok_clicked): New function.
22865 (cancel_clicked): New function.
22867 2004-01-08 Michael Koch <konqueror@gmx.de>
22869 * javax/swing/JLayeredPane.java: Revert changes to standard
22870 boilerplate, reworked imports.
22872 2004-01-07 Tom Tromey <tromey@redhat.com>
22875 * verify.cc (state::merge): Copy changed locals out of subroutine
22877 (state::FLAG_CHANGED): New const.
22878 (state::FLAG_UNUSED): Likewise.
22879 (state::local_changed): Removed. Updated all users.
22880 (state::flags): New field.
22881 (state::merge): Added jsr_semantics argument, more logic.
22882 (push_jump_merge): Added jsr_semantics argument.
22883 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
22884 merging through the jsr instruction.
22886 2004-01-07 Tom Tromey <tromey@redhat.com>
22888 * scripts/MakeDefaultMimeTypes.java: Use \n, not
22891 2004-01-07 Graydon Hoare <graydon@redhat.com>
22893 * java/awt/Container.java (LightweightDispatcher): Implement.
22894 (visitChild): Reuse graphics object.
22895 (dispatchEventImpl): Optionally dispatch to lightweight.
22896 (addNotifyContainerChildren): Build LightweightDispatcher.
22898 2004-01-07 David Jee <djee@redhat.com>
22900 * java/awt/Container.java
22901 (update): Clear only the clipped region, instead of clearing the
22903 (visitChildren): Visit children in descending order.
22905 2004-01-07 Michael Koch <konqueror@gmx.de>
22907 * java/lang/reflect/Array.java: Merged documentation with classpath.
22909 2004-01-07 Michael Koch <konqueror@gmx.de>
22911 * java/text/CollationElementIterator.java
22912 (textIndex): Renamed from index.
22913 * java/text/CollationKey.java
22914 (collator): New member.
22915 (CollationKey): New argument for parent collator.
22916 (equals): Check for same collator, source string and key array.
22917 * java/text/RuleBasedCollator.java:
22919 (RuleBasedCollator): Don't re-initialize frenchAccents with default
22921 (getCollationElementIterator): Rewritten.
22922 (getCollationKey): Added new argument to CollationKey constructor.
22924 2004-01-07 Michael Koch <konqueror@gmx.de>
22926 * gnu/java/nio/DatagramChannelImpl.java
22927 (blocking): Removed.
22928 (DatagramChannelImpl): Call configureBlocking().
22929 (implConfigureBlocking): Dont initialize blocking.
22930 * gnu/java/nio/ServerSocketChannelImpl.java
22931 (blocking): Removed.
22932 (ServerSocketChannelImpl): Call configureBlocking().
22933 (implConfigureBlocking): Dont initialize blocking.
22934 * gnu/java/nio/SocketChannelImpl.java
22935 (blocking): Removed.
22936 (SocketChannelImpl): Call configureBlocking().
22937 (implConfigureBlocking): Dont initialize blocking.
22938 (connect): Use isBlocking().
22939 * java/nio/channels/spi/AbstractSelectableChannel.java
22940 (configureBlocking): Use blockingLock() instead of LOCK.
22941 Set blocking after successfully called implConfigureBlocking().
22942 (register): Use blockingLock() instead of LOCK.
22944 2004-01-07 Michael Koch <konqueror@gmx.de>
22946 * java/net/ServerSocket.java (isBound): Fixed documentation.
22948 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
22950 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
22951 (changeEvent): Create event object on demand.
22952 (DefaultBoundedRangeModel, toString, setValue, setExtent,
22953 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
22954 fireStateChanged): Re-written.
22955 * javax/swing/event/EventListenerList.java: Reformatted, document
22957 (toString): Implemented.
22958 (getListeners): Re-written.
22959 (remove): Re-written.
22961 (NO_LISTENERS): New singleton field.
22962 (listenerList): Declare as transient; document.
22963 (serialVersionUID): Document.
22964 (getListenerCount(Class)): More efficient implementation,
22965 also accepts null argument. Improve Javadoc.
22966 (getListenerCount()): Remove unnecessary cast; docfix.
22967 * javax/swing/undo/UndoableEditSupport.java:
22968 Re-format, document.
22969 (UndoableEditSupport): Set realSource field. Improve documentation.
22970 (_postEdit): Iterate over cloned listener vector.
22971 (toString): Don't emit realSource.
22972 (beginUpdate, endUpdate): Support nested updates.
22973 (postEdit): Use compound edit if present.
22975 2004-01-06 Graydon Hoare <graydon@redhat.com>
22977 * java/awt/Container.java (swapComponents): Add forgotten
22978 function, required for JLayeredPane change.
22980 2004-01-06 Michael Koch <konqueror@gmx.de>
22982 * java/text/CollationElementIterator.java: Reformated.
22983 (CollationElementIterator): Changed order of arguments.
22984 * java/text/RuleBasedCollator.java
22985 (RuleBasedCollator): Merged class documentation.
22986 (CollationElement): Added documentation.
22987 (compare): Reformated, renamed arguments.
22988 (equals): Likewise.
22989 (getCollationElementIterator): Likewise.
22990 (getCollationKey): Likewise.
22992 2004-01-06 Graydon Hoare <graydon@redhat.com>
22994 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
22996 2004-01-06 Michael Koch <konqueror@gmx.de>
22998 * gnu/java/net/protocol/file/Connection.java:
22999 Reformated copyright.
23000 (hdrHash): Removed.
23002 (gotHeaders): Removed.
23003 (getHeaderField): Removed.
23004 (getHeaderField): Removed.
23005 (getHeaderFieldKey): Removed.
23007 (getField): Removed.
23008 (getHeaders): Removed.
23010 2004-01-06 Michael Koch <konqueror@gmx.de>
23012 * javax/print/attribute/standard/DateTimeAtCompleted.java,
23013 javax/print/attribute/standard/DateTimeAtCreation.java,
23014 javax/print/attribute/standard/DateTimeAtProcessing.java,
23015 javax/print/attribute/standard/JobImpressionsCompleted.java,
23016 javax/print/attribute/standard/JobKOctets.java,
23017 javax/print/attribute/standard/JobKOctetsProcessed.java,
23018 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
23019 javax/print/attribute/standard/JobPrioritySupported.java: New files.
23020 * Makefile.am (javax_source_files): Added new files.
23021 * Makefile.in: Regenerated.
23023 2004-01-06 Michael Koch <konqueror@gmx.de>
23025 * java/net/URLConnection.java
23026 (contentHandler): Removed.
23028 (getHeaderFields): Return an empty map instead of null.
23029 (getContent): Connect if needed, renamed "cType" to "type" and
23030 "contentHandler" to "ch" and made it a local variable.
23031 (getPermission): Don't use package in class name.
23032 (setDefaultRequestProperty): Fixed typo in documentation.
23033 (initializeDateFormats): Made locale a local variable.
23035 2004-01-06 Michael Koch <konqueror@gmx.de>
23037 * java/lang/Package.java
23038 (getPackage): Get the current class loader directly.
23039 * java/lang/SecurityManager.java
23040 (currentLoadedClass): Dont iterate over class contexts.
23041 (classLoaderDepth): Don't check class loaders if everything is allowed.
23043 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
23045 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
23046 (pre_event_handler): Set all insets to 0 when a Configure event
23047 is received for a GtkPlug.
23048 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
23049 Make handle long, not int.
23050 (EmbeddedWindow()): New constructor.
23051 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
23053 (setHandle): New method.
23054 (getHandle): Return long, not int.
23055 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
23057 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
23058 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
23059 (create(long)): Take long parameter, not int. Cast gtk_plug_new
23060 argument to GdkNativeWindow.
23061 (construct): New method.
23062 (embed): New method.
23064 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
23065 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
23066 (create(int, int)): New method.
23067 (create): Call new create method.
23068 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
23070 (childResized): Remove native implementation. Implement in
23072 (getHScrollbarHeight, getVScrollbarWidth): Call
23073 gtk_widget_size_request to get scrollbar dimensions.
23074 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
23075 call getVScrollbarWidth and getHScrollbarHeight when vertical
23076 and horizontal scrollbars respectively are needed.
23077 (doLayout): Enlarge child if it is smaller than the viewport.
23079 2004-01-05 Fernando Nasser <fnasser@redhat.com>
23081 * java/awt/Dialog.java (constructor): Accept null title as per spec.
23082 * java/awt/FileDialog.java (constructor): Throw exception on invalid
23083 argument as per spec.
23085 2004-01-05 Fernando Nasser <fnasser@redhat.com>
23087 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
23089 (remove): Ditto. Also, Check for valid argument.
23090 (removeAll): Use peer interface method.
23091 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
23092 native add function.
23093 (nativeRemove): New name for native remove function.
23094 (getHistory): New native function.
23095 (constructor): Generate ItemEvent.
23096 (add): Ditto, if selection is changed.
23097 (remove): Ditto, ditto.
23098 (removeAll): Add implementation.
23099 (handleEvent): Remove. Dead code.
23100 (choicePostItemEvent): Add comment.
23101 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
23102 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
23103 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
23104 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
23105 comments and fix condition to change selection.
23106 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
23107 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
23108 remove all capability.
23109 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
23110 (item_activate): Add cast to remove compiler warning.
23112 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
23114 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
23115 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
23116 (getPreferredSize): Call preferredSize.
23117 (preferredSize): Call gtkWidgetGetPreferredDimensions.
23118 (getMinimumSize): Call minimumSize.
23119 (minimumSize): Call gtkWidgetGetPreferredDimensions.
23120 (gtkWidgetGetDimensions): Return the peer widget's current size
23122 (gtkWidgetGetPreferredDimensions): Return the peer widget's
23123 natural size request.
23125 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
23127 Thanks to Brian Gough <bjg@network-theory.com>
23128 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
23129 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
23131 2004-01-04 Matthias Klose <doko@debian.org>
23133 * aclocal.m4: Rebuilt using "aclocal -I .".
23134 * configure: Rebuilt.
23136 2004-01-03 Per Bothner <per@bothner.com>
23138 * java/util/Date.java (parse): Fix a number of problems.
23139 (skipParens): Remove no-longer-needed method.