1 2005-05-15 Tom Tromey <tromey@redhat.com>
3 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
5 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
8 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
9 interrupt status flag if _Jv_CondWait is interrupted.
11 2005-05-13 Tom Tromey <tromey@redhat.com>
13 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
16 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
18 * include/jvm.h (gcj::verifyClasses): Declare.
19 * link.cc (gcj::verbose_class_flag): Moved.
20 * prims.cc (gcj::verifyClasses): Define here.
21 (gcj::verbose_class_flag): Move definition here.
22 (_Jv_Linker::wait_for_state): Don't call verify_class
23 if gcj::verifyClasses is not set.
24 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
26 2005-05-12 Aaron Luchko <aluchko@redhat.com>
28 * gij.cc (main): Recognize '-verify', '-noverify', and
31 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
33 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
35 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
37 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
40 2005-05-11 Tom Tromey <tromey@redhat.com>
42 * external/w3c_dom/Makefile.in: Rebuilt.
43 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
45 * external/sax/Makefile.in: Rebuilt.
46 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
48 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
50 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
51 Call _Jv_CopyClassesToSystemLoader.
52 * java/lang/natClassLoader.cc (system_class_list): New global.
53 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
55 (_Jv_CopyClassesToSystemLoader): New function.
56 (SYSTEM_LOADER_INITIALIZED): New define.
57 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
58 (_Jv_CheckABIVersion): Use it.
59 (_Jv_ClassForBootstrapLoader): New function.
60 * Makefile.in: Rebuilt.
61 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
63 2005-05-10 Tom Tromey <tromey@redhat.com>
65 * gcj/javaprims.h: Updated.
66 * java/lang/String.java (String(StringBuilder)): New constructor.
67 * java/lang/natStringBuilder.cc: New file.
68 * java/lang/StringBuilder.java: New file.
69 * Makefile.in: Rebuilt.
70 * Makefile.am (core_java_source_files): Added StringBuilder.java.
71 (nat_source_files): Added natStringBuilder.cc.
73 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
76 * testsuite/libjava.jacks/jacks.xfail: Adjust.
78 2005-05-09 Mike Stump <mrs@apple.com>
80 * configure: Regenerate.
82 2005-05-09 David Daney <ddaney@avtrex.com>
84 * java/util/BitSet.java (get(int, int)): Fix breakage when
85 requested set doesn't start on a multiple of 64.
87 2005-05-07 Matthias Klose <doko@debian.org>
89 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
91 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
93 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
94 * Makefile.in: Regenerate.
95 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
96 (createCompatibleVolatileImage(int,int)): Implement.
97 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
99 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
101 (createVolatileImage): Implement.
102 (createBuffers): Likewise.
103 (getBackBuffer): Likewise.
105 (destroyBuffers): Likewise.
106 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
107 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
108 (CanvasFlipBufferStrategy): Likewise.
109 (createBufferStrategy(int)): New method.
110 (createBufferStrategy(int,BufferCapabilities)): Likewise.
111 * java/awt/Component.java (BltBufferStrategy): Implement and
113 (FlipBufferStrategy): Likewise.
114 * java/awt/Window.java (WindowBltBufferStrategy): New class.
115 (WindowFlipBufferStrategy): Likewise.
116 (createBufferStrategy(int)): New method.
117 (createBufferStrategy(int,BufferCapabilities)): Likewise.
118 (getBufferStrategy): Likewise.
119 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
120 front to frontCaps and back to backCaps.
122 2005-05-06 Michael Koch <konqueror@gmx.de>
124 * java/awt/BufferCapabilities.java
125 (BufferCapabilities): Merged javadoc.
127 2005-05-06 Michael Koch <konqueror@gmx.de>
129 * java/util/Locale.java
130 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
131 (getLocale): New methods. Use it everywhere where instances of Locales
133 (getDisplayLanguage): Merged javadoc.
134 (getDisplayCountry): Likewise.
135 (getDisplayVariant): Likewise.
137 2005-05-06 Archie Cobbs <archie@dellroad.org>
139 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
140 use DeleteLocalRef() to avoid exhausting local native references.
142 2005-05-06 Mark Wielaard <mark@klomp.org>
144 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
145 (window_delete_cb): Don't use C++ style comments.
147 2005-05-06 Robert Schuster <thebohemian@gmx.net>
149 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
152 2005-05-06 Robert Schuster <thebohemian@gmx.net>
154 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
155 (window_delete_cb): Made the function return TRUE.
157 2005-05-06 Roman Kennke <roman@kennke.org>
159 * javax/swing/text/PlainView.java
160 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
162 * javax/swing/text/Utilities.java
163 (drawTabbedText): Initilialize local variable pos correctly.
165 2005-05-06 Roman Kennke <roman@kennke.org>
167 * javax/swing/text/AbstractDocument.java
168 (LeafElement): Made start and end package private fields for
169 effective reindexing.
170 * javax/swing/text/PlainDocument.java
171 (constructor): The field rootElement is always BranchElement,
172 so we handle it as such.
173 (removeUpdate): Rewritten reindexing for removeUpdate so that
174 the actual removal is taken into account.
176 2005-05-06 Roman Kennke <roman@kennke.org>
178 * javax/swing/text/GapContent.java:
179 Removed debugging output stuff, which I accidentally left in.
181 2005-05-06 Roman Kennke <roman@kennke.org>
183 * javax/swing/text/GapContent.java:
184 Implemented a real GapContent. Only the public methods have
185 been implemented so far and still no UndoableEdit support.
187 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
189 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
192 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
194 * java/awt/image/BufferStrategy.java: Document.
196 * java/awt/BufferCapabilities.java: Document.
198 2005-05-04 Tom Tromey <tromey@redhat.com>
200 * java/nio/channels/FileLock.java (toString): Entirely avoid
203 2005-05-04 Andrew Overholt <overholt@redhat.com>
205 * java/nio/channels/FileLock.java (toString): Re-implement using
208 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
210 * java/awt/ImageCapabilities.java: Document.
212 * java/awt/image/VolatileImage.java: Unindent copyright header.
214 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
216 * java/awt/image/VolatileImage.java: Document.
218 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
220 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
221 (init_glib_threads): Check if threading system is already
224 2005-05-03 Andrew Overholt <overholt@redhat.com>
227 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
228 could not be acquired.
229 * java/nio/channels/FileLock.java (toString): Re-implement to be
230 in line with other implementations.
232 2005-05-03 Tom Tromey <tromey@redhat.com>
234 * java/lang/VMSecurityManager.java (currentClassLoader): Use
235 'systemClasssLoader' directly.
237 2005-05-03 Tom Tromey <tromey@redhat.com>
239 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
240 call VMClassLoader.getSystemClassLoader.
242 2005-04-29 Michael Koch <konqueror@gmx.de>
244 * java/net/NetworkInterface.java
246 (NetworkInterface(String,InetAddress)): Made package-private.
247 (NetworkInterface(String,InetAddress[])): New constructor.
248 (getRealNetworkInterfaces): Removed.
249 (getByName): Use VMNetworkInterface.getInterfaces().
250 (getByInetAddress): Likewise.
251 (getNetworkInterfaces): Likewise.
252 * java/net/VMNetworkInterface.java,
253 java/net/natVMNetworkInterfaceNoNet.cc,
254 java/net/natVMNetworkInterfacePosix.c,c
255 java/net/natVMNetworkInterfaceWin32.cc: New files.
256 * java/net/natNetworkInterfaceNoNet.cc,
257 java/net/natNetworkInterfacePosix.cc,
258 java/net/natNetworkInterfaceWin32.cc: Removed.
261 * configure, Makefile.in: Regenerated.
263 2005-04-29 Andrew Haley <aph@redhat.com>
265 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
267 2005-04-29 Dalibor Topic <robilad@kaffe.org>
269 * java/nio/channels/FileChannelImpl.java
270 (FileChannelImpl(String, int)): Removed.
271 (FileChannelImpl(File, int)): Added. Check if opened file is a
273 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
274 Call FileChannelImpl(File, int).
275 * java/io/FileOutputStream.java (FileInputStream): Call
276 FileChannelImpl(File, int).
277 * java/io/RandomAccessFile.java (RandomAccessFile):
278 Call FileChannelImpl(File, int). Switched constructors around.
280 2005-04-27 Andrew Haley <aph@redhat.com>
283 * prims.cc (_Jv_ResolvePoolEntry): New function.
284 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
285 * link.cc (_Jv_Linker::find_field): New arg: found_class.
286 (resolve_pool_entry): Initialize the class in which a field is
288 (link_symbol_table): Pass new arg to found_class.
290 2005-04-29 Michael Koch <konqueror@gmx.de>
292 * java/nio/charset/Charset.java
293 (provider): Reformatted.
295 2005-04-29 Michael Koch <konqueror@gmx.de>
297 * gnu/java/net/protocol/http/HTTPConnection.java:
298 (userAgent): Initialize from system properties.
299 (initUserAgent): Removed.
301 2005-04-29 Mark Wielaard <mark@klomp.org>
303 * java/util/ResourceBundle.java (getObject): Clarify
304 MissingResourceException detailed message.
305 (tryBundle(String,ClassLoader)): Likewise.
307 2005-04-29 Robert Schuster <thebohemian@gmx.net>
309 * java/beans/FeatureDescriptor.java:
310 (getShortDescription): Implemented fallback mechanism and fixed
311 documentation (fixes bug #12637).
312 (getDisplayName): Dito.
314 2005-04-29 Robert Schuster <thebohemian@gmx.net>
316 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
317 will now be set correctly.
318 (flushCaches): Now flushes all cached intermediate data.
320 2005-04-28 Michael Koch <konqueror@gmx.de>
322 * java/net/InetAddress.java
323 (aton): Fixed javadoc.
326 2005-04-28 Tom Tromey <tromey@redhat.com>
328 * javax/swing/Timer.java
329 (drainEvents, queueEvent): Now package-private.
331 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
333 * javax/swing/Timer.java
334 (constructor): Assigning initialDelay.
336 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
338 * javax/swing/Timer.java
339 (Waker.run): firing the first action event.
341 2005-04-28 Michael Koch <konqueror@gmx.de>
343 * javax/swing/Timer.java: Reordered all fields and methods,
346 2005-04-28 Michael Koch <konqueror@gmx.de>
348 * javax/swing/Timer.java: Javadocs merged
351 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
353 * gnu/java/net/protocol/file/Connection.java
354 (StaticData): New inner class to contain statics.
355 (connect, getHeaderField): Modified to use StaticData.
357 2005-04-28 Michael Koch <konqueror@gmx.de>
359 * gnu/java/net/protocol/file/Connection.java
360 (lineSeparator): Initialize with SystemProperties.getProperty().
362 2005-04-27 Chris Burdess <dog@gnu.org>
364 * gnu/java/net/protocol/file/Connection.java: Return correct content
365 length for directory listing.
366 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
367 #11285: return valid URLs for directories.i
369 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
371 * Makefile.am (ordinary_java_source_files): Add
372 gnu/java/net/protocol/https/Handler.java.
373 * Makefile.in: Regenerate.
374 * java/net/URL.java: Remove org.metastatic.jessie from default
375 protocol search path.
377 2005-04-27 Chris Burdess <dog@gnu.org>
379 * gnu/java/net/protocol/https/Handler.java: New file.
381 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
383 * javax/imageio/spi/IIORegistry.java (IIORegistry):
384 Don't assume that awt Toolkit is always ClasspathToolkit.
386 2005-04-27 Chris Burdess <dog@gnu.org>
388 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
389 absolute and relative paths in Location header.
391 2005-04-27 Chris Burdess <dog@gnu.org>
393 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
394 FileNotFoundException and implement getErrorStream on 404.
396 2005-04-27 Sven de Marothy <sven@physto.se>
398 * java/util/TimeZone.java,
399 (getDefaultDisplayName): Fix previous fix.
401 2005-04-27 Sven de Marothy <sven@physto.se>
403 * java/util/TimeZone.java,
404 (getDefaultDisplayName): Don't print zero offsets.
406 2005-04-27 Roman Kennke <roman@kennke.org>
408 * javax/swing/plaf/basic/BasicScrollBarUI
409 (getThumbBounds): Do not make thumb smaller than
411 * javax/swing/plaf/metal/MetalLookAndFeel
412 (initComponentDefaults): Added color defaults for ScrollBar.
413 * javax/swing/plaf/metal/MetalScrollBarUI
415 (getMinimumThumbSize): Added.
417 2005-04-27 Roman Kennke <roman@kennke.org>
419 * javax/swing/plaf/metal/MetalLookAndFeel
420 (initComponentDefaults): Added some default colors.
422 2005-04-27 Roman Kennke <roman@kennke.org>
424 * javax/swing/plaf/basic/BasicScrollBarUI.java
425 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
426 to 'ScrollBar.thumbShadow'. The formes does not exist.
427 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
429 2005-04-27 Roman Kennke <roman@kennke.org>
431 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
432 * javax/swing/BoxLayout.java: Likewise.
433 * javax/swing/UIManager.java: Likewise.
434 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
435 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
436 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
437 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
438 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
439 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
440 * javax/swing/text/Document.java: Likewise.
441 * javax/swing/text/GapContent.java: Likewise.
442 * javax/swing/text/SimpleAttributeSet.java: Likewise.
443 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
445 2005-04-27 Roman Kennke <roman@kennke.org>
447 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
448 (getPropertyPrefix): Added.
450 2005-04-27 Roman Kennke <roman@kennke.org>
452 * javax/swing/plaf/basic/BasicButtonUI.java
453 (getPropertyPrefix): Added.
454 (installDefaults): Use getPropertyPrefix instead of hard-coded
457 2005-04-27 Roman Kennke <roman@kennke.org>
459 * javax/swing/JToggleButton.java
460 (JToggleButton): Removed horizontalAlignment setting, this
461 was wrong. Added setting of an actionCommand, ToggleButtons
462 have "" as default actionCommand.
464 2005-04-27 Michael Koch <konqueror@gmx.de>
466 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
467 to work around CNI limitation.
469 2005-04-27 Sven de Marothy <sven@physto.se>
471 * java/nio/charset/Charset.java:
472 (defaultCharset()): New method.
473 Status updated to 1.5
475 2005-04-27 Sven de Marothy <sven@physto.se>
477 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
479 2005-04-27 Sven de Marothy <sven@physto.se>
481 * java/nio/charset/Charset.java: Reset cached de/encoders.
483 2005-04-27 Robert Schuster <thebohemian@gmx.net>
485 * java/nio/charset/Charset.java (forName): Throws
486 IllegalArgumentException when argument is null
487 and added documentation.
489 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
491 * java/nio/charset/Charset.java (providers):
492 New method to make an array of CharsetProviders defined in
493 META-INF/services/java.nio.charset.spi.CharsetProvider.
494 (charsetForName, availableCharsets): Use the
495 new method providers().
497 2005-04-26 Michael Koch <konqueror@gmx.de>
499 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
500 Fixed typos in javadocs.
501 (isSiteLocalAddress): Fixed handling of byte values.
502 (isMCLinkLocal): Likewise.
503 * java/net/Inet4Address.java
504 (isMulticastAddress): Call super method.
505 (isLoopbackAddress): Likewise.
506 (isAnyLocalAddress): Likewise.
507 (isLinkLocalAddress): Likewise.
508 (isSiteLocalAddress): Likewise.
509 (isMCGlobal): Likewise.
510 (isMCNodeLocal): Likewise.
511 (isMCLinkLocal): Likewise.
512 (isMCSiteLocal): Likewise.
513 (isMCOrgLocal): Likewise.
514 (getHostAddress): Likewise.
516 2005-04-26 Sven de Marothy <sven@physto.se>
518 * java/net/InetAddress.java
519 (toString): Don't print empty hostnames.
521 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
524 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
525 'false' to native lock().
526 (lock): Pass 'true' to native lock().
528 2005-04-26 Michael Koch <konqueror@gmx.de>
530 * java/net/InetAddress.java:
531 Fixed typos in javadocs.
533 2005-04-26 Andrew Haley <aph@redhat.com>
536 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
539 2005-04-26 Tom Tromey <tromey@redhat.com>
541 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
542 gnu): Now package-private.
543 * javax/swing/text/html/parser/DocumentParser.java (parser,
544 callBack, gnu): Now package-private.
545 * javax/swing/text/StringContent.java (content, setOffset,
546 checkLocation): Now package-private.
547 * javax/swing/text/JTextComponent.java (doc): Now
549 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
550 lastGoodOrientation, origParent, borders, cachedBounds,
551 cachedOrientation, DragWindow): Now package-private.
552 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
553 decrButton, viewport, panel, currentScrollLocation, layoutManager,
554 tabAreaRect, contentRect, createIncreaseButton,
555 createDecreaseButton, findPointForIndex): Now package-private.
556 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
557 (currentDividerLocation, moveDividerTo): Now package-private.
558 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
560 * javax/swing/plaf/basic/BasicScrollBarUI.java
561 (calculatePreferredSize, valueForYPosition, valueForXPosition):
563 * javax/swing/plaf/basic/BasicPopupMenuUI.java
564 (topWindowListener): Now package-private.
565 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
566 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
567 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
569 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
571 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
573 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
575 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
576 borderInsets): Now package-private.
577 (arrowButtonWidth): Likewise. Now a constant.
578 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
579 makeTabs, updatePreviewPanel): Now package-private.
580 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
581 darkShadow, highlight): Now package-private.
582 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
583 (addColorToQueue): Now package-private.
584 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
585 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
586 GSpinner, BSpinner): Now package-private.
587 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
588 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
589 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
590 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
591 updateTrack): Now package-private.
592 * javax/swing/TransferHandler.java (clipboard): Now
594 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
596 * javax/swing/Timer.java (drainEvents, queueEvent): Now
598 * javax/swing/RepaintManager.java (globalManager): Now
600 * javax/swing/JFormattedTextField.java (editValid): Now
602 * javax/swing/JColorChooser.java (makeModal): Now
604 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
605 index, path): Now package-private.
606 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
607 lineQuadIntersect, lineCubicIntersect, linesIntersect,
608 pointEquals): Now package-private.
609 * java/awt/geom/Arc2D.java (type): Now package-private.
610 * java/awt/Window.java (windowFocusOwner): Now package-private.
611 * java/awt/TextComponent.java (editable, selectionStart,
612 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
614 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
616 * java/awt/MenuComponent.java (focusListener): Now
618 * java/awt/Frame.java (state): Now package-private.
619 * java/awt/Choice.java (pItems): Now package-private.
620 * java/awt/Checkbox.java (state): Now package-private.
621 * java/awt/Button.java (actionCommand, label): Now
623 * gnu/javax/swing/text/html/parser/support/Parser.java
624 (attributes, _handleEndTag_remaining, _handleStartTag): Now
626 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
628 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
629 clip, transform, font, comp): Now package-private.
631 2005-04-26 Tom Tromey <tromey@redhat.com>
633 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
636 2005-04-26 Mark Wielaard <mark@klomp.org>
638 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
639 to MalformedURLException.
641 2005-04-26 Michael Koch <konqueror@gmx.de>
643 * java/security/AccessControlContext.java:
645 (protectedDomains): Renamed from 'protectionDomain'.
646 * java/security/AccessController.java:
649 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
651 * gnu/java/security/action/GetSecurityPropertyAction.java
652 (GetSecurityPropertyAction): Implement PrivilegedAction instead
653 of extending GetPropertyAction.
656 (setParamters): New methods.
657 (GetSecurityPropertyAction): Use new setParameters methods.
659 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
661 * java/security/Security.java,
662 java/security/cert/X509CRLSelector.java,
663 java/security/cert/X509CertSelector.java:
664 Modified to use SystemProperties.
666 2005-04-26 Michael Koch <konqueror@gmx.de>
668 * java/lang/System.java
669 (setSecurityManager): Fixed comment.
670 (getSecurityManager): Removed obsolete comment.
672 2005-04-25 Tom Tromey <tromey@redhat.com>
674 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
676 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
678 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
679 (connectSignals): Realize the window widget after connecting
682 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
684 * java/awt/GraphicsEnvironment.java
685 (localGraphicsEnvironment): New field.
686 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
688 (isHeadless): Added support for java.awt.headless property.
689 (isHeadlessInstance): Call headless().
691 2005-04-25 Roman Kennke <roman@kennke.org>
693 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
694 (getDisplayMode): Added. Returns the current display mode.
695 (isFullScreenSupported): Added.
696 * java/awt/GraphicsDevice.java
697 (setFullScreenWindow): Implemented a primitive fullscreen mode.
698 This resizes and relocates the fullscreen window so that it uses
699 the whole screen. This is not a fully accelerated fullscreen
702 2005-04-25 Michael Koch <konqueror@gmx.de>
704 * java/lang/Runtime.java,
705 java/lang/SecurityManager.java,
706 java/lang/System.java,
707 java/lang/ThreadGroup.java:
708 Replaced java.lang.Runtime.securityManager by
709 java.lang.SecurityManager.current (as used in GNU classpath).
711 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
713 * java/awt/Transparency.java
714 (getTransparency): fixed API docs.
716 2005-04-25 Archie Cobbs <archie@dellroad.org>
718 * java/lang/Throwable.java: simplify initializing cause in constructor
720 2005-04-25 Michael Koch <konqueror@gmx.de>
722 * gnu/classpath/SystemProperties.java: New file.
723 * gnu/classpath/natSystemProperties.cc: New file.
724 * java/lang/Runtime.java
725 (defaultProperties): Removed.
727 (): Made thrown exceptions more verbose.
728 (insertSystemProperties): Removed.
729 * java/lang/System.java
731 (properties): Likewise.
732 (setSecurityManager): Reordered modifiers.
733 (getenv): Improved javadoc.
735 (isWordsBigEndian): Removed.
736 * java/lang/natRuntime.cc
737 (_Jv_SetDLLSearchPath): Likewise.
738 (file_encoding): Likewise.
739 (default_file_encoding): Likewise.
740 (getpwuid_adaptor): Likewise.
741 (insertSystemProperties): Likewise.
742 * java/lang/natSystem.cc
743 (isWordsBigEndian): Likewise.
745 (ordinary_java_source_files):
746 Added gnu/classpath/SystemProperties.java.
747 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
748 * Makefile.in: Regenerated.
750 2005-04-25 Roman Kennke <roman@kennke.org>
752 * javax/swing/plaf/basic/BasicScrollBarUI.java
753 (initDefaults): Initialize thumb*Color fields correctly.
755 2005-04-25 Roman Kennke <roman@kennke.org>
757 * javax/swing/text/GapContent.java:
760 2005-04-25 Roman Kennke <roman@kennke.org>
762 * javax/swing/plaf/metal/MetalBorders.java:
763 Added inner class ScrollPaneBorder.
764 * javax/swing/plaf/metal/MetalLookAndFeel.java
765 (initComponentDefaults): Added default for "ScrollPane.border"
766 to use the new ScrollPaneBorder.
768 2005-04-25 Roman Kennke <roman@kennke.org>
770 * javax/swing/text/AbstractDocument.java:
771 Added FIXME comments. This class still has to be
772 implemented thread-safe.
774 2005-04-25 Roman Kennke <roman@kennke.org>
776 * javax/swing/tree/DefaultTreeSelectionModel.java
777 (DefaultTreeSelectionModel): Initialize listenerList here.
779 2005-04-25 Roman Kennke <roman@kennke.org>
781 * javax/swing/plaf/metal/MetalTextFieldUI.java
782 (createUI): Return one instance per Component instead of a
785 2005-04-25 Roman Kennke <roman@kennke.org>
787 * javax/swing/text/Document.java:
788 Added API documentation comments.
790 2005-04-25 Roman Kennke <roman@kennke.org>
792 * javax/swing/text/AbstractDocument.java
793 (getDocumentProperties): Implemented.
794 (setDocumentProperties): Implemented.
795 (getProperty): Implemented.
796 (putProperty): Implemented.
798 2005-04-25 Roman Kennke <roman@kennke.org>
800 * javax/swing/BoxLayout
801 (preferredLayoutSize): Fixed computation so that it correctly
802 adds the top and bottom insets of the container.
804 2005-04-25 Roman Kennke <roman@kennke.org>
806 * javax/swing/plaf/basic/BasicMenuItemUI.java
807 (paintText): Make use of the 'selectionForeground' UI default
810 2005-04-25 Roman Kennke <roman@kennke.org>
812 * javax/swing/plaf/basic/BasicLookAndFeel.java
813 (initSystemColorDefaults): Modified colors to match the
814 BasicLookAndFeel in the reference implementation.
815 (initComponentDefaults): Likewise.
817 2005-04-25 Tom Tromey <tromey@redhat.com>
819 * include/jni.h (_Jv_va_list): Removed.
820 Moved configuration code...
821 * include/jni_md.h: ... here. New file.
822 * include/Makefile.in: Rebuilt.
823 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
825 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
827 * java/io/FileInputStream.java (FileInputStream(File)),
828 java/io/FileOutputStream.java (FileOutputStream(File)):
829 Removed unnecessary File.isDirectory() check.
831 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
833 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
834 gij if get_multilibs fails.
836 2005-04-22 Anthony Green <green@redhat.com>
838 * jni.cc (natrehash): Don't bother clearing memory again.
839 * interpret.cc (do_allocate_static_fields): Ditto.
840 * java/lang/natString.cc (rehash): Ditto.
842 2005-04-22 Roman Kennke <roman@kennke.org>
844 * javax/swing/plaf/basic/BasicLookAndFeel.java
845 (initComponentDefaults): Changed Button.border to be
846 BasicBorders.getButtonBorder as it should be.
848 2005-04-22 Roman Kennke <roman@kennke.org>
850 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
851 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
852 should according to a mauve testcase, instead of the preferred
855 2005-04-22 Roman Kennke <roman@kennke.org>
857 * javax/swing/JMenu.java
858 (add): add(Component) now calls PopupMenu.insert(..) instead of
859 PopupMenu.add(..). add(..) is not implemented for Component,
860 so JComponent.add(..) is called instead, adding the component
863 2005-04-22 Roman Kennke <roman@kennke.org>
865 * javax/swing/plaf/basic/BasicButtonListener.java
866 (mousePressed): replaced query to getModifiersEx with getModifiers.
867 This method relied on faulty behaviour in getModifierEx.
868 (mouseReleased): replaced query to getModifiersEx with getModifiers.
869 This method relied on faulty behaviour in getModifierEx.
871 2005-04-22 Roman Kennke <roman@kennke.org>
873 * javax/swing/plaf/metal/MetalLookAndFeel.java
874 (getDefaults): Call addCustomEntriesToTable on the theme.
876 2005-04-22 Roman Kennke <roman@kennke.org>
878 * javax/swing/tree/DefaultTreeSelectionModel.java
879 (constructor): Added implementation.
880 (getRowMapper): Added implementation.
881 (setSelectionMode): Added implementation.
882 (getSelectionMode): Added implementation.
883 (getSelectionPath): Added implementation.
884 (getSelectionPaths): Added implementation.
885 (getSelectionCount): Added implementation.
886 (isSelectionEmpty): Added implementation.
887 (getSelectionRows): Added implementation.
888 (getMinSelectionRow): Added implementation.
889 (getMaxSelectionRow): Added implementation.
890 (getLeadSelectionRow): Added implementation.
891 (getLeadSelectionPath): Added implementation.
893 2005-04-22 Casey Marshall <csm@gnu.org>
895 * gnu/java/security/der/DERValue.java
896 (getValueAs): new method.
897 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
898 (<init>): read both dates with 'DERValue.getValueAs', with
899 'GENERALIZED_TIME' as the argument.
901 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
903 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
904 be null, check for that case and don't deference it.
906 2005-04-22 Sven de Marothy <sven@physto.se>
908 * java/util/logging/LogManager.java: Reformatted.
909 (readConfiguration): If a logger for a key is not found, create one.
911 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
913 * java/rmi/Naming.java:
914 Added class documentation.
915 (lookup(String)): Call parseURL and getName.
916 (bind(String,java.rmi.Remote)): Likewise.
917 (unbind(String)): Likewise.
918 (rebind(String, java.rmi.Remote)): Likewise.
919 (list(String)): Call parseURL.
920 (parseURL(String)): New method to handle parsing and defaults.
921 (getName(java.net.URL)): New method to handle finding the service name.
923 2005-04-21 Tom Tromey <tromey@redhat.com>
925 * java/lang/natClass.cc (initializeClass): Link class.
927 2005-04-21 Tom Tromey <tromey@redhat.com>
929 * java/lang/AssertionError.java: Typo fix.
931 2005-04-21 Tom Tromey <tromey@redhat.com>
933 * java/lang/VMClassLoader.java (transformException): Removed.
934 (resolveClass): No longer native. Now does nothing.
935 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
937 2005-04-21 Anthony Green <green@redhat.com>
940 * testsuite/libjava.special/special.exp,
941 testsuite/libjava.special/pr21115I.java,
942 testsuite/libjava.special/pr21115.java,
943 testsuite/libjava.special/pr21115.out: New files.
945 2005-04-21 Chris Burdess <dog@gnu.org>
947 * gnu/java/net/CRLFInputStream.java: Rewrite to return
948 CRLF-delimited chunks.
950 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
953 Added class documentation.
954 (parseURI(String)): Only handle scheme-specific parts
955 if URI is not opaque. Allow for parts that can't be null.
956 (toString()): Output the scheme-specific part whole, rather
957 than as its possibly non-existent components.
959 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
961 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
962 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
963 Adjusted to match new regexp.
965 2005-04-20 Michael Koch <konqueror@gmx.de>
967 * gnu/java/net/protocol/file/Connection.java,
968 gnu/java/net/protocol/jar/Connection.java:
969 Reorganized import statements. Fixed @author tags.
971 2005-04-20 Chris Burdess <dog@gnu.org>
973 * java/io/DataOutputStream.java (writeUTF): Use block write for
976 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
978 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
979 (readLine): Changed newline handling.
981 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
983 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
984 ColorModel,byte[],int,int): Fixed byte to int conversion.
986 2005-04-20 Michael Koch <konqueror@gmx.de>
988 * java/io/FilePermission.java
989 (serialVersionUID): Made private.
990 (ALL_FILES): New constant.
991 (implies): Handle '<<ALL FILES>>' case.
993 2005-04-20 Sven de Marothy <sven@physto.se>
995 * gnu/java/awt/peer/gtk/GdkGraphics.java:
996 (drawImage): Don't notify the image observer for offscreen images.
997 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
998 (setPixels): Don't notify the image observer.
1000 2005-04-20 Sven de Marothy <sven@physto.se>
1002 * java/nio/ByteBufferImpl.java:
1003 (putChar): Inlined for speed.
1004 (put, get): Bulk methods can use arraycopy.
1005 * java/nio/CharBufferImpl.java:
1006 (put, get): Bulk methods can use arraycopy.
1008 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1010 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1012 * java/nio/CharBufferImpl.java
1013 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1014 (get(), put(char)): Inlined checks and field updates. Fixed to
1015 take array_offset into account.
1016 (get(int), put(int, char)): Fixed to take array_offset into account.
1018 2005-04-20 Sven de Marothy <sven@physto.se>
1020 * java/text/SimpleDateFormat.java:
1021 (formatWithAttribute): Pad year before truncating digits.
1023 2005-04-20 Michael Koch <konqueror@gmx.de>
1025 * gnu/java/net/PlainDatagramSocketImpl.java:
1026 Merged copyright header.
1027 * gnu/java/net/PlainSocketImpl.java:
1028 Reorganized import statements. Fixed @author tags.
1030 2005-04-20 Michael Koch <konqueror@gmx.de>
1032 * gnu/java/lang/ClassHelper.java,
1033 gnu/java/lang/reflect/TypeSignature.java:
1036 2005-04-20 Michael Koch <konqueror@gmx.de>
1038 * gnu/java/beans/IntrospectionIncubator.java:
1039 Fixed HTML tags in javadocs.
1041 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1043 * gnu/java/beans/IntrospectionIncubator.java
1044 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1045 set(), is(), add() and remove() with properties or events.
1047 2005-04-20 Michael Koch <konqueror@gmx.de>
1049 * gnu/java/awt/image/XBMDecoder.java:
1050 Fixed modifier order.
1052 2005-04-20 Roman Kennke <roman@kennke.org>
1054 * javax/swing/plaf/basic/BasicButtonUI.java
1055 (paint): This should not care about margin and insets
1056 at the same time, as insets already include the margin
1058 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1059 (getPreferredButtonSize): Likewise.
1060 * javax/swing/plaf/metal/MetalBorders.java
1061 (getBorderInsets): Likewise.
1063 2005-04-20 Roman Kennke <roman@kennke.org>
1065 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1066 (createMessageArea): The JPanel that holds the message area
1067 doesn't need to override getPreferredSize. This prevents some
1068 message components from rendering nicely.
1070 2005-04-20 Roman Kennke <roman@kennke.org>
1072 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1073 (createUI): Do not share instances between components.
1074 * javax/swing/plaf/metal/MetalSliderUI.java
1075 (createUI): Do not share instances between components.
1077 2005-04-20 Roman Kennke <roman@kennke.org>
1079 * javax/swing/plaf/metal/MetalBorders:
1080 (PopupMenuBorder): Added.
1081 * javax/swing/plaf/metal/MetalLookAndFeel
1082 (initComponentDefaults): Added PopupMenuBorder.
1084 2005-04-20 Roman Kennke <roman@kennke.org>
1086 * javax/swing/tree/DefaultTreeSelectionModel.java:
1087 Added API documentation all over the class.
1089 2005-04-20 Roman Kennke <roman@kennke.org>
1091 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1092 (installDefaults): Link managed JScrollPane in instance field.
1093 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1095 2005-04-20 Roman Kennke <roman@kennke.org>
1097 * javax/swing/plaf/basic/BasicScrollBarUI.java
1098 (PropertyChangeHandler.propertyChange): Add default
1099 to switch statement to avoid errors with unusual values
1101 (installComponents): Likewise.
1103 2005-04-20 Roman Kennke <roman@kennke.org>
1105 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1106 (createUI): Instances cannot be shared among JScrollPanes.
1108 2005-04-20 Roman Kennke <roman@kennke.org>
1110 * javax/swing/plaf/metal/MetalLookAndFeel.java
1111 (initComponentDefaults): Added defaults for Menu, MenuBar
1114 2005-04-20 Roman Kennke <roman@kennke.org>
1116 * javax/swing/plaf/basic/BasicScrollBarUI.java
1117 (installUI): Install listeners after everything all, otherwise
1118 we get strange NPEs in some situations, especially with
1120 (createIncreaseButton): Orientation is expected to be
1121 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1122 HORIZONTAL or VERTICAL.
1123 (createDecreaseButton): Orientation is expected to be
1124 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1125 HORIZONTAL or VERTICAL.
1126 (installComponents): Orientation for buttons is expected to be
1127 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1128 HORIZONTAL or VERTICAL.
1130 2005-04-20 Roman Kennke <roman@kennke.org>
1132 * javax/swing/JToolBar.java
1133 (addImpl): Adjust added AbstractButtons to look and feel like
1135 * javax/swing/plaf/metal/MetalBorders.java:
1136 Adjusted insets of ButtonBorder.
1137 (RolloverMarginBorder): Added class for toolbar buttons.
1138 (getButtonBorder): Adjusted factory method to return a shared
1139 instance of button border.
1140 (getToolbarButtonBorder): Added factory method to return a shared
1141 instance of toolbar button border.
1142 (getMarginBorder): Added factory method to return a shared
1143 instance of margin border.
1144 * javax/swing/plaf/metal/MetalButtonUI.java
1145 (installDefauls): If button is child of a JToolBar then set
1146 special border on this button.
1148 2005-04-20 Michael Koch <konqueror@gmx.de>
1150 * java/net/URLConnection.java
1151 (getContent): Fixed javadoc comment.
1153 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1155 * java/net/URL.java:
1156 (toURI()): Implemented.
1158 2005-04-19 Michael Koch <konqueror@gmx.de>
1160 * java/net/InetAddress.java
1161 (InetAddress): Fixed javadoc comment.
1163 (lookup): Added javadoc.
1164 (getFamily): Likewise.
1165 * java/net/ServerSocket.java
1166 (getChannel): Improved javadoc comment.
1168 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1170 * gnu/xml/dom/html2/DomHTMLParser.java:
1171 Changed 'enum' references to become 'enumeration'.
1173 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1175 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1177 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1179 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1180 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1181 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1182 (validateParameters(TagElement,htmlAttributeSet)):
1183 Replaced 'enum' with 'enumeration'.
1184 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1187 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1189 * javax/swing/text/html/parser/Entity.java (getType): New method.
1190 * javax/swing/text/html/parser/DocumentParser.java:
1191 Inherit from javax.swing.text.html.parser.Parser.
1193 2005-04-19 Chris Burdess <dog@gnu.org>
1195 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1196 check for HTML/XHTML namespace.
1198 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1200 * javax/swing/text/html/parser/Parser.java,
1201 javax/swing/text/html/parser/Entity.java:
1202 Inheriting from DTDConstants.
1203 * javax/swing/text/html/parser/AttributeList.java
1204 (getValues): Changed return type.
1205 * javax/swing/text/html/parser/DocumentParser
1206 (parse): Adding the callback parameter that receives
1209 2005-04-19 Chris Burdess <dog@gnu.org>
1211 * gnu/xml/dom/DomImpl.java,
1212 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1213 gnu/xml/dom/html2/DomHTMLDocument.java,
1214 gnu/xml/dom/html2/DomHTMLElement.java,
1215 gnu/xml/dom/html2/DomHTMLFormElement.java,
1216 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1217 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1218 gnu/xml/dom/html2/DomHTMLImpl.java,
1219 gnu/xml/dom/html2/DomHTMLInputElement.java,
1220 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1221 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1222 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1223 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1224 gnu/xml/dom/html2/DomHTMLTableElement.java,
1225 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1226 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1227 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1228 UI events, and tree utility functions.
1230 2005-04-19 Michael Koch <konqueror@gmx.de>
1232 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1233 gnu/javax/swing/text/html/parser/gnuDTD.java,
1234 gnu/javax/swing/text/html/parser/models/node.java:
1235 Reworked import statements.
1237 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1239 * javax/swing/text/html/HTMLDocument.java: New file.
1241 2005-04-19 Michael Koch <konqueror@gmx.de>
1243 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1245 * javax/swing/text/html/parser/AttributeList.java:
1246 Fixed order of modifiers.
1247 (AttributeList): Made final.
1248 * javax/swing/text/html/parser/ContentModel.java:
1249 Fixed html characters in javadocs.
1250 * javax/swing/text/html/parser/DTD.java
1251 (DTD): Don't implement java.io.Serializable directly.
1252 (getElement): Simplified.
1253 * javax/swing/text/html/parser/DTDConstants.java:
1255 * javax/swing/text/html/parser/Element.java:
1256 Fixed order of modifiers.
1257 * javax/swing/text/html/parser/Parser.java:
1258 Reformatted. Don't use fully-qualified class names.
1259 * javax/swing/text/html/parser/ParserDelegator.java:
1260 Fixed order of modifiers.
1261 * javax/swing/text/rtf/RTFParser.java:
1262 Re-ordered import statements.
1263 * javax/swing/text/rtf/RTFScanner.java:
1264 Removed unused import statement.
1266 2005-04-19 Chris Burdess <dog@gnu.org>
1268 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1269 gnu/xml/dom/html2/DomHTMLCollection.java,
1270 gnu/xml/dom/html2/DomHTMLDocument.java,
1271 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1273 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1274 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1275 gnu/xml/dom/html2/DomHTMLDivElement.java,
1276 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1277 gnu/xml/dom/html2/DomHTMLFontElement.java,
1278 gnu/xml/dom/html2/DomHTMLFormElement.java,
1279 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1280 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1281 gnu/xml/dom/html2/DomHTMLHRElement.java,
1282 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1283 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1284 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1285 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1286 gnu/xml/dom/html2/DomHTMLImageElement.java,
1287 gnu/xml/dom/html2/DomHTMLInputElement.java,
1288 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1289 gnu/xml/dom/html2/DomHTMLLIElement.java,
1290 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1291 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1292 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1293 gnu/xml/dom/html2/DomHTMLMapElement.java,
1294 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1295 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1296 gnu/xml/dom/html2/DomHTMLModElement.java,
1297 gnu/xml/dom/html2/DomHTMLOListElement.java,
1298 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1299 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1300 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1301 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1302 gnu/xml/dom/html2/DomHTMLParamElement.java,
1303 gnu/xml/dom/html2/DomHTMLPreElement.java,
1304 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1305 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1306 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1307 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1308 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1309 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1310 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1311 gnu/xml/dom/html2/DomHTMLTableElement.java,
1312 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1313 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1314 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1315 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1316 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1318 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1320 * javax/swing/text/ChangedCharSetException.java,
1321 javax/swing/text/html/HTMLEditorKit.java,
1322 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1323 javax/swing/text/html/parser/AttributeList.java,
1324 javax/swing/text/html/parser/ContentModel.java,
1325 javax/swing/text/html/parser/DocumentParser.java,
1326 javax/swing/text/html/parser/DTD.java,
1327 javax/swing/text/html/parser/DTDConstants.java,
1328 javax/swing/text/html/parser/Element.java,
1329 javax/swing/text/html/parser/Entity.java,
1330 javax/swing/text/html/parser/Parser.java,
1331 javax/swing/text/html/parser/TagElement.java,
1332 gnu/javax/swing/text/html/package.html,
1333 gnu/javax/swing/text/html/parser/gnuDTD.java,
1334 gnu/javax/swing/text/html/parser/HTML_401F.java,
1335 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1336 gnu/javax/swing/text/html/parser/htmlValidator.java,
1337 gnu/javax/swing/text/html/parser/package.html,
1338 gnu/javax/swing/text/html/parser/models/list.java,
1339 gnu/javax/swing/text/html/parser/models/node.java,
1340 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1341 gnu/javax/swing/text/html/parser/models/package.html,
1342 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1343 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1344 gnu/javax/swing/text/html/parser/models/transformer.java,
1345 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1346 gnu/javax/swing/text/html/parser/support/package.html,
1347 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1348 gnu/javax/swing/text/html/parser/support/Parser.java,
1349 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1350 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1351 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1352 gnu/javax/swing/text/html/parser/support/low/Location.java,
1353 gnu/javax/swing/text/html/parser/support/low/node.java,
1354 gnu/javax/swing/text/html/parser/support/low/package.html,
1355 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1356 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1357 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1358 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1360 * javax/swing/text/html/HTML.java,
1361 javax/swing/text/html/parser/ParserDelegator.java:
1362 New files (replacing).
1363 * javax/swing/text/html/package.html,
1364 javax/swing/text/html/parser/package.html: Documenting the
1367 2005-04-19 Chris Burdess <dog@gnu.org>
1369 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1370 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1371 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1372 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1373 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1374 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1375 gnu/xml/dom/html2/DomHTMLBRElement.java,
1376 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1377 gnu/xml/dom/html2/DomHTMLCollection.java,
1378 gnu/xml/dom/html2/DomHTMLDocument.java,
1379 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1381 2005-04-19 Michael Koch <konqueror@gmx.de>
1383 * Makefile.am: Added new files.
1384 * Makefile.in: Regenerated.
1386 2005-04-19 Roman Kennke <roman@kennke.org>
1388 * javax/swing/text/JTextComponent.java
1389 (JTextComponent): Added repaintListener which issues repaint
1390 requests when the underlying document changes.
1391 (setDocument): Adds repaintListener to document when the
1392 document is changed.
1393 * javax/swing/text/DefaultEditorKit.java:
1394 Removed repaint calls on JTextComponent. This is now handled
1395 through a DocumentListener in JTextComponent that repaints
1396 the component when needed.
1398 2005-04-19 Roman Kennke <roman@kennke.org>
1401 * javax/swing/text/StyleContext.java
1402 (NamedStyle.setResolveParent): Added null
1405 2005-04-19 Michael Koch <konqueror@gmx.de>
1407 * java/rmi/server/RemoteObject.java:
1408 Removed unused import statement.
1410 2005-04-19 Michael Koch <konqueror@gmx.de>
1412 * java/net/URL.java: Formatting cleanups.
1414 2005-04-19 Michael Koch <konqueror@gmx.de>
1416 * java/awt/FontMetrics.java: Reformatted.
1417 (getFontRenderContext): Handle case when java.awt.Graphics context is
1420 2005-04-19 Michael Koch <konqueror@gmx.de>
1422 * java/awt/FontMetrics.java
1423 (getStringBounds): New methods.
1426 2005-04-19 Michael Koch <konqueror@gmx.de>
1428 * gnu/java/security/x509/X509Certificate.java
1429 (parse): Handle val == null case.
1431 2005-04-19 Roman Kennke <roman@kennke.org>
1433 * javax/swing/plaf/metal/MetalLookAndFeel.java
1434 (initComponentDefaults): Added defaults for Menu, MenuBar
1437 2005-04-19 Roman Kennke <roman@kennke.org>
1439 * javax/swing/plaf/metal/MetalLookAndFeel.java
1440 (initComponentDefaults): Added Label.font.
1441 (initSystemColorDefaults): Added this method and adjusted the
1442 general control color.
1444 2005-04-19 Roman Kennke <roman@kennke.org>
1446 * javax/swing/plaf/metal/MetalBorders.java:
1448 * javax/swing/plaf/metal/MetalButtonUI.java:
1449 (installDefaults): Install button font.
1450 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1451 (initComponentDefaults): Added button border, font and margin.
1452 Changed components background color to the Metal current themes
1455 2005-04-19 Roman Kennke <roman@kennke.org>
1457 * javax/swing/plaf/metal/MetalLookAndFeel.java
1458 (initComponentDefaults): Added to set Metal specific component
1461 2005-04-19 Mark Wielaard <mark@klomp.org>
1463 * javax/swing/plaf/metal/MetalLookAndFeel.java
1464 (initClassDefaults): Call super.initClassDefaults().
1466 2005-04-19 Roman Kennke <roman@kennke.org>
1468 * javax/swing/plaf/metal/MetalLookAndFeel.java
1469 (initClassDefaults): Added to include the *UI classes.
1471 2005-04-19 Roman Kennke <roman@kennke.org>
1473 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1475 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1477 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1479 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1481 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1483 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1485 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1487 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1489 * javax/swing/plaf/metal/MetalSliderUI.java:
1491 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1493 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1495 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1497 2005-04-19 Roman Kennke <roman@kennke.org>
1499 * javax/swing/plaf/metal/MetalButtonUI.java:
1500 Added skeleton class.
1501 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1502 Added skeleton class.
1503 * javax/swing/plaf/metal/MetalLabelUI.java:
1504 Added skeleton class.
1505 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1506 Added skeleton class.
1507 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1508 Added skeleton class.
1509 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1510 Added skeleton class.
1512 2005-04-19 Roman Kennke <roman@kennke.org>
1514 * javax/swing/UIDefaults.java:
1515 Added API documentation for all methods.
1517 2005-04-19 Roman Kennke <roman@kennke.org>
1519 * javax/swing/UIDefaults.java
1520 (put): Now uses new checkAndPut method instead of checking
1522 (putDefaults): Fixed so that it accepts null-values and
1523 treats them like remove(key).
1524 (checkAndPut): Added. This checks for null-values and calls
1527 2005-04-19 Michael Koch <konqueror@gmx.de>
1529 * Makefile.am: Added new files.
1530 * Makefile.in: Regenerated.
1532 2005-04-19 Mark Wielaard <mark@klomp.org>
1534 * java/lang/natRuntime.cc (insertSystemProperties): Set
1535 java.class.path to CLASSPATH only when not empty. Fall back to
1536 default path "." when java.class.path is empty.
1538 2005-04-19 Michael Koch <konqueror@gmx.de>
1540 * javax/swing/text/rtf/ControlWordToken.java,
1541 javax/swing/text/rtf/RTFEditorKit.java,
1542 javax/swing/text/rtf/RTFParseException.java,
1543 javax/swing/text/rtf/RTFParser.java,
1544 javax/swing/text/rtf/RTFScanner.java,
1545 javax/swing/text/rtf/TextToken.java,
1546 javax/swing/text/rtf/Token.java: New files.
1547 * Makefile.am: Added new files.
1548 * Makefile.in: Regenerated.
1550 2005-04-19 Michael Koch <konqueror@gmx.de>
1552 * java/awt/geom/QuadCurve2D.java:
1553 Fixed Brian Gough's name for real.
1555 2005-04-19 Roman Kennke <roman@kennke.org>
1557 * javax/swing/UIManager.java:
1558 Make the UIManager respect the swing.defaultlaf system
1561 2005-04-19 Tom Tromey <tromey@redhat.com>
1563 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1566 2005-04-19 Roman Kennke <roman@kennke.org>
1568 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1569 Fixed tabs to spaces.
1571 2005-04-19 Roman Kennke <roman@kennke.org>
1573 * javax/swing/plaf/basic/BasicMenuUI.java
1574 (getMaximumSize): Now returns preferredSize because JMenu should
1575 never be bigger than that.
1576 * javax/swing/JRootPane
1577 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1579 2005-04-19 Roman Kennke <roman@kennke.org>
1581 * javax/swing/JRootPane.java:
1582 Fixed various tabs to be spaces.
1583 (RootLayout.layoutContainer): Made menubar left aligned.
1585 2005-04-19 Roman Kennke <roman@ontographics.com>
1587 * javax/swing/JList.java
1588 (getPreferredScrollableViewportSize):
1589 The previous implementation was merely guessing the size,
1590 now it respects layoutOrientation, visibleRowCount
1592 (getScrollableTracksViewportHeight):
1593 Reimplemented so that layoutOrientation, visibleRowCount
1594 and preferred size are respected.
1595 (getScrollableTracksViewportWidth):
1596 Reimplemented so that layoutOrientation, visibleRowCount
1597 and preferred size are respected.
1598 * javax/swing/plaf/basic/BasicListUI.java
1600 Improved calculation of preferredSize when JList is
1601 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1603 The previous implementation assumed a layoutOrientation of
1604 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1605 JList.VERTICAL_WRAP.
1607 2005-04-19 Roman Kennke <roman@ontographics.com>
1609 * javax/swing/plaf/basic/BasicListUI.java
1610 (paintCell): use CellRendererPane for painting the cells.
1612 2005-04-19 Roman Kennke <roman@ontographics.com>
1614 * javax/swing/plaf/basic/BasicListUI:
1615 fixed modifiers of several fields, methods and inner
1616 classes to match the 'spec'.
1617 (getMaximumSize): removed. It's not in the spec and the
1618 implementations was superfluous.
1620 2005-04-19 Roman Kennke <roman@ontographics.com>
1622 * javax/swing/plaf/basic/BasicListUI:
1623 make BasicListUI capable of wrapping lists
1624 (layoutOrientation property of javax.swing.JList)
1626 2005-04-19 Roman Kennke <roman@ontographics.com>
1628 * javax/swing/plaf/basic/BasicListUI
1629 (updateLayoutState,paint): make BasicListUI aware of the
1630 width of the rendered JList.
1632 2005-04-19 Roman Kennke <roman@kennke.org>
1634 * javax/swing/ImageIcon.java
1635 Added API documentation.
1637 2005-04-19 Roman Kennke <roman@kennke.org>
1639 * javax/swing/text/ImageIcon.java
1640 (ImageIcon): Use setImage instead of direct assignment.
1641 (setImage): Call loadImage to make sure that the image is loaded.
1642 (loadImage): Waits for the image to complete loading.
1643 (getImageLoadStatus): Added. Returns the load status of the
1646 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1648 * javax/swing/JTextArea.java (replaceRange):
1649 Fixing doc.remove(start, length) misinterpretation.
1651 2005-04-19 Roman Kennke <roman@ontographics.com>
1653 * javax/swing/CellRendererPane.java:
1654 implemented all methods of this class.
1655 reformatted all wrong formatted code.
1657 2005-04-19 Roman Kennke <roman@kennke.org>
1659 * javax/swing/BoxLayout.java:
1660 (layoutContainer): Made this layout manager respect the
1661 minimum, maximum and preferred size more correctly.
1663 2005-04-19 Roman Kennke <roman@ontographics.com>
1665 * javax/swing/BoxLayout.java:
1666 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
1667 layoutContainer): Make these methods and thereby the
1668 BoxLayout respect the insets (like borders) of the
1669 component that is laid out.
1671 2005-04-19 Roman Kennke <roman@kennke.org>
1673 * javax/swing/JComponent.java:
1674 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
1675 Untabified the file.
1677 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1679 * javax/swing/JComboBox.java (constructors): selecting the
1680 first item if the box was constructed from the provided
1681 non - empty array or vector.
1683 2005-04-19 Michael Koch <konqueror@gmx.de>
1685 * gnu/java/awt/peer/gtk/GdkGraphics.java
1686 (getClipBounds): Handle clip being null.
1687 (setClip): Likewise.
1688 * java/beans/beancontext/BeanContextSupport.java
1692 (removeAll): Likewise.
1693 (retainAll): Likewise.
1695 2005-04-19 Michael Koch <konqueror@gmx.de>
1697 * java/beans/beancontext/BeanContextServicesSupport.java
1698 (BeanContextServicesSupport): Reimplemented.
1699 (addBeanContextServicesListener): Implemented.
1700 (initialize): Likewise.
1701 (removeBeanContextServicesListener): Likewise.
1702 * java/beans/beancontext/BeanContextSupport.java
1704 (addBeanContextMembershipListener): Likewise.
1705 (getLocale): Likewise.
1706 (initialize): Likewise.
1707 (iterator): Likewise.
1709 (toArray): Likewise.
1711 2005-04-19 Roman Kennke <roman@kennke.org>
1713 * java/awt/MediaTracker.java:
1714 Reindented tabs to spaces.
1716 2005-04-19 Roman Kennke <roman@kennke.org>
1718 * java/awt/MediaTracker.java
1719 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
1720 confused the media tracker and lead to lockups. The LOADING
1721 bit is handled on other places.
1722 (addImage): Removed the 'start image tracking' stuff. This
1723 is not necessary and could confuse the media tracker.
1724 (checkAll): Improved the check for image status so that
1725 images that already complete images are detected. Also now
1726 are really all images checked and if necessary loaded. Before
1727 the method bailed out after the first incomplete image.
1728 (statusAll): Detect images that are complete after the
1729 call to Component.prepareImage(..).
1730 (checkID): The same as in checkAll.
1731 (statusID): The same as in statusAll.
1733 2005-04-19 Roman Kennke <roman@kennke.org>
1735 * java/awt/MediaTracker.java
1736 (addImage): Synchronized list access.
1737 (waitForAll): Fixed comparison of time (changed < to >).
1738 (waitForID): Fixed comparison of time (changed < to >).
1739 (removeImage): Synchronized list access.
1741 2005-04-19 Roman Kennke <roman@kennke.org>
1743 * java/awt/MediaTracker.java
1744 Added API documentation.
1746 2005-04-19 Roman Kennke <roman@kennke.org>
1748 * java/awt/MediaTracker.java
1749 (MediaEntry.imageUpdate): Fixed flags. The different flags
1750 must not be ORed together.
1751 (checkAll): Modified to handle different meaning of the flags.
1752 (waitForAll): Fixed so that it waits maximum the
1753 specified amount of milliseconds.
1754 (statusAll): Modified to handle different meaning of the flags.
1755 (waitForID): Fixed so that it waits maximum the
1756 specified amount of milliseconds.
1758 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
1760 * java/awt/Font.java (decode): Handle null argument and allow
1763 2005-04-19 Robert Schuster <thebohemian@gmx.net>
1765 * java/beans/EventHandler.java: Reworked documentation.
1766 (invoke): Fixed behavior to match spec.
1768 2005-04-19 Michael Koch <konqueror@gmx.de>
1770 * java/awt/print/PrinterJob.java
1771 (pageDialog): New method.
1772 (printDialog): Implemented.
1774 2005-04-19 Michael Koch <konqueror@gmx.de>
1776 * java/awt/image/ConvolveOp.java:
1777 Removed comment added by eclipse.
1779 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
1781 * java/awt/image/IndexColorModel.java
1782 (getRGB): Check if pixel is negative.
1784 2005-04-19 Michael Koch <konqueror@gmx.de>
1786 * java/awt/image/RasterOp.java:
1787 Fixed wrong formatting.
1789 2005-04-18 Roman Kennke <roman@kennke.org>
1791 * java/awt/Compmonent.java
1792 (setComponentOrientation): Made this property firing a
1793 PropertyChangeEvent.
1795 2005-04-18 Roman Kennke <roman@kennke.org>
1797 * java/awt/BorderLayout.java
1798 (calcSize): Check for overflow when component sizes are added.
1800 2005-04-18 Robert Schuster <thebohemian@gmx.net>
1802 * java/awt/AWTEvent.java (toString): Added case
1803 for source not being an AWT component.
1805 2005-04-18 Chris Burdess <dog@gnu.org>
1807 * gnu/java/net/BASE64.java: Truncate encoded byte array.
1809 2005-04-18 Michael Koch <konqueror@gmx.de>
1811 gnu/java/awt/EmbeddedWindowSupport.java,
1812 gnu/java/net/HeaderFieldHelper.java,
1813 gnu/java/net/URLParseError.java,
1814 gnu/java/net/protocol/file/Handler.java,
1815 gnu/java/net/protocol/jar/Handler.java:
1816 Fixed usage of @author tag.
1818 2005-04-18 Michael Koch <konqueror@gmx.de>
1820 * gnu/xml/aelfred2/XmlParser.java:
1821 Reverted my typo fix.
1823 2005-04-18 Michael Koch <konqueror@gmx.de>
1825 * java/awt/geom/CubicCurve2D.java,
1826 java/awt/geom/QuadCurve2D.java:
1827 Fixed mentioning of Brian Gouph.
1829 2005-04-18 Michael Koch <konqueror@gmx.de>
1831 * gnu/java/awt/Buffers.java,
1832 gnu/java/awt/image/ImageDecoder.java,
1833 gnu/java/awt/image/XBMDecoder.java,
1834 gnu/java/awt/peer/ClasspathFontPeer.java,
1835 gnu/java/net/CRLFInputStream.java,
1836 gnu/java/net/EmptyX509TrustManager.java,
1837 gnu/java/net/LineInputStream.java,
1838 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
1839 gnu/java/net/protocol/ftp/BlockInputStream.java,
1840 gnu/java/net/protocol/ftp/CompressedInputStream.java,
1841 gnu/java/net/protocol/ftp/DTP.java,
1842 gnu/java/net/protocol/ftp/DTPInputStream.java,
1843 gnu/java/net/protocol/ftp/FTPConnection.java,
1844 gnu/java/net/protocol/ftp/FTPURLConnection.java,
1845 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
1846 gnu/java/net/protocol/ftp/StreamInputStream.java,
1847 gnu/java/net/protocol/http/ChunkedInputStream.java,
1848 gnu/java/net/protocol/http/HTTPConnection.java,
1849 gnu/java/net/protocol/http/HTTPURLConnection.java,
1850 gnu/java/net/protocol/http/Headers.java,
1851 gnu/java/net/protocol/http/Request.java,
1852 gnu/java/nio/ChannelInputStream.java,
1853 gnu/java/nio/ChannelOutputStream.java,
1854 gnu/java/nio/InputStreamChannel.java,
1855 gnu/java/nio/OutputStreamChannel.java,
1856 gnu/java/nio/SelectorProviderImpl.java,
1857 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
1858 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
1859 gnu/java/rmi/dgc/DGCImpl.java,
1860 gnu/java/rmi/registry/RegistryImpl.java,
1861 gnu/java/rmi/server/ProtocolConstants.java,
1862 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
1863 gnu/java/rmi/server/RMIIncomingThread.java,
1864 gnu/java/rmi/server/RMIObjectInputStream.java,
1865 gnu/java/rmi/server/RMIObjectOutputStream.java,
1866 gnu/java/rmi/server/RMIVoidValue.java,
1867 gnu/java/rmi/server/UnicastConnectionManager.java,
1868 gnu/java/rmi/server/UnicastRef.java,
1869 gnu/java/rmi/server/UnicastRemoteCall.java,
1870 gnu/java/rmi/server/UnicastRemoteStub.java,
1871 gnu/java/rmi/server/UnicastServerRef.java,
1872 gnu/java/security/OID.java,
1873 gnu/java/security/der/DERReader.java,
1874 gnu/java/security/provider/CollectionCertStoreImpl.java,
1875 gnu/java/security/provider/DSAParameterGenerator.java,
1876 gnu/java/security/provider/DefaultPolicy.java,
1877 gnu/java/security/provider/EncodedKeyFactory.java,
1878 gnu/java/security/provider/GnuDHPublicKey.java,
1879 gnu/java/security/provider/GnuDSAPrivateKey.java,
1880 gnu/java/security/provider/GnuDSAPublicKey.java,
1881 gnu/java/security/provider/GnuRSAPrivateKey.java,
1882 gnu/java/security/provider/GnuRSAPublicKey.java,
1883 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
1884 gnu/java/security/provider/RSA.java,
1885 gnu/java/security/provider/SHA1PRNG.java,
1886 gnu/java/security/provider/SHA1withRSA.java,
1887 gnu/java/security/provider/X509CertificateFactory.java,
1888 gnu/java/security/x509/GnuPKIExtension.java,
1889 gnu/java/security/x509/X500DistinguishedName.java,
1890 gnu/java/security/x509/X509CRL.java,
1891 gnu/java/security/x509/X509CRLEntry.java,
1892 gnu/java/security/x509/X509CertPath.java,
1893 gnu/java/security/x509/X509CertSelectorImpl.java,
1894 gnu/java/security/x509/X509Certificate.java,
1895 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
1896 gnu/java/security/x509/ext/BasicConstraints.java,
1897 gnu/java/security/x509/ext/CRLNumber.java,
1898 gnu/java/security/x509/ext/CertificatePolicies.java,
1899 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
1900 gnu/java/security/x509/ext/Extension.java,
1901 gnu/java/security/x509/ext/GeneralNames.java,
1902 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
1903 gnu/java/security/x509/ext/KeyUsage.java,
1904 gnu/java/security/x509/ext/PolicyConstraint.java,
1905 gnu/java/security/x509/ext/PolicyMappings.java,
1906 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
1907 gnu/java/security/x509/ext/ReasonCode.java,
1908 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
1909 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
1910 Reorganized import statements.
1912 2005-04-18 Michael Koch <konqueror@gmx.de>
1914 * gnu/java/awt/color/CieXyzConverter.java,
1915 gnu/java/awt/color/ClutProfileConverter.java,
1916 gnu/java/awt/color/ColorLookUpTable.java,
1917 gnu/java/awt/color/ColorSpaceConverter.java,
1918 gnu/java/awt/color/GrayProfileConverter.java,
1919 gnu/java/awt/color/GrayScaleConverter.java,
1920 gnu/java/awt/color/LinearRGBConverter.java,
1921 gnu/java/awt/color/ProfileHeader.java,
1922 gnu/java/awt/color/PyccConverter.java,
1923 gnu/java/awt/color/RgbProfileConverter.java,
1924 gnu/java/awt/color/SrgbConverter.java,
1925 gnu/java/awt/color/TagEntry.java,
1926 gnu/java/awt/color/ToneReproductionCurve.java:
1927 Standardized file headers.
1929 2005-04-16 Tom Tromey <tromey@redhat.com>
1931 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
1932 'ANY' package-private.
1934 2005-04-15 Tom Tromey <tromey@redhat.com>
1936 * Makefile.in: Rebuilt.
1937 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
1938 (libgcj0_convenience_la_LIBADD): ... here.
1940 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
1942 * gij.cc (version): Properly quote java version.
1943 (main): Fix typo in comment.
1945 2005-04-13 Mark Wielaard <mark@klomp.org>
1947 * java/lang/natRuntime.cc (insertSystemProperties): Set
1948 java.class.path to CLASSPATH if not already set.
1950 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
1952 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
1954 2005-04-12 Mike Stump <mrs@apple.com>
1956 * configure: Regenerate.
1958 2005-04-12 Aaron Luchko <aluchko@redhat.com>
1961 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
1962 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
1964 2005-04-12 Aaron Luchko <aluchko@redhat.com>
1967 * scripts/TexinfoDoclet.java: Removed.
1968 * Makefile.am (texinfo): Removed.
1969 * Makefile.in: Regenerated.
1971 2005-04-11 Michael Koch <konqueror@gmx.de>
1973 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
1974 Fixed wrong casting.
1976 2005-04-06 Andrew Haley <aph@redhat.com>
1978 * testsuite/libjava.lang/bytearray.java: New file.
1979 * testsuite/libjava.lang/bytearray.out: New file.
1980 * java/lang/ClassLoader.java (loadClassFromSig): Declare
1981 (loadClass): Use it.
1982 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
1984 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
1986 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
1987 gcj-dbtool dependency
1988 * Makefile.in: Regenerated
1990 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
1992 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
1993 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
1995 2005-04-05 Andrew Haley <aph@redhat.com>
1997 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
1998 (Tokenizer): New class.
1999 (getFiles): New method.
2000 (main): Add "-" argument.
2002 Read list of files from stdin when merging map databases.
2003 (usage): Add "-" argument.
2007 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2010 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2011 * Makefile.in: Regenerate.
2012 * configure.ac: Add --with-java-home option.
2013 * configure: Regenerate.
2014 * external/Makefile.in: Regenerate.
2015 * external/sax/Makefile.in: Regenerate.
2016 * external/w3c_dom/Makefile.in: Regenerate.
2017 * gcj/Makefile.in: Regenerate.
2018 * include/Makefile.in: Regenerate.
2019 * testsuite/Makefile.in: Regenerate.
2020 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2023 2005-04-05 Tom Tromey <tromey@redhat.com>
2025 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2026 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2027 Rewrote to use _Jv_FindClassFromSignature.
2028 * verify.cc (resolve): throw NoClassDefFoundError.
2029 * link.cc (resolve_field): Throw NoClassDefFoundError.
2030 (find_field): Likewise.
2031 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2032 Handle error cases. Added 'endp' argument.
2033 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2035 2005-04-05 Tom Tromey <tromey@redhat.com>
2037 * Makefile.in: Rebuilt.
2038 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2039 gtk_awt_peer_sources.
2040 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2041 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2042 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2043 (gtk-awt-peer.lo): New target.
2045 2005-04-04 Steve Pribyl <steve@netfuel.com>
2048 * configure.ac: Fix fastjar definition for cross builds.
2049 * configure: Rebuilt.
2051 2005-04-04 Tom Tromey <tromey@redhat.com>
2053 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2054 it was already found.
2056 2005-04-04 Tom Tromey <tromey@redhat.com>
2058 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2059 org.metastatic.jessie.
2061 2005-04-02 Anthony Green <green@redhat.com>
2064 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2066 2005-04-02 Mark Wielaard <mark@klomp.org>
2068 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2069 Attributes and attribute order doesn't matter.
2070 (BasicAttributesEnumeration.where): Initialize to zero.
2071 (BasicAttributesEnumeration.nextElement): Update and compare where
2072 appropriately (zero based).
2074 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2076 PR libgcj/20090, PR libgcj/20526
2077 * gij.cc (nonstandard_opts_help): New function.
2078 (add_option): New function.
2079 (main): Support java options. Set java.class.path. Don't set
2081 * prims.cc (parse_x_arg): New function.
2082 (parse_init_args): Call parse_x_arg for -X and _ options, when
2083 ignoreUnrecognized is true.
2084 (new _Jv_RunMain): New vm_args variant.
2085 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2086 (_Jv_Jar_Class_Path): Remove variable.
2087 * include/java-props.h: Likewise.
2088 * include/cni.h (JvRealloc): New function.
2089 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2090 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2091 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2093 * configure.ac (JV_VERSION): Define.
2094 (JV_API_VERSION): Likewise.
2095 * configure: Regenerate.
2096 * include/config.h.in: Regenerate.
2098 2005-04-01 Mark Anderson <mark@panonet.net>
2100 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2101 -Infinity as parameters.
2103 2005-04-01 Michael Koch <konqueror@gmx.de>
2105 * java/io/PipedInputStream.java
2106 (read): Make sure a positive byte value is returned. Revised javadoc.
2107 Thanks to Olafur Bragason for reporting these bugs.
2109 2005-04-01 Tom Tromey <tromey@redhat.com>
2111 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2112 Updated for name change.
2113 (nativeFindClass): New method.
2114 (loadClass): Use nativeFindClass.
2115 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2117 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2118 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2120 (initialize): New method.
2121 (nativeFindClass): Declare.
2122 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2123 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2124 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2126 (definePackageForNative): Removed.
2127 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2128 Moved to VMClassLoader.java.
2129 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2130 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2131 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2132 removed VMClassLoader.java.
2133 (nat_source_files): Removed natVMClassLoader.cc.
2135 2005-04-01 Tom Tromey <tromey@redhat.com>
2137 * Makefile.in: Rebuilt.
2138 * Makefile.am (db_pathtail): Use $(gcc_version), not
2141 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2143 * java/util/Timer.java
2144 (run): Stop the queue if a task throws an exception.
2146 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2148 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2150 2005-03-29 Ian Lance Taylor <ian@airs.com>
2152 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2153 * external/sax/Makefile.in: Rebuild.
2154 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2156 * external/w3c_dom/Makefile.in: Rebuild.
2158 2005-03-29 Tom Tromey <tromey@redhat.com>
2160 * java/lang/natRuntime.cc (insertSystemProperties): Set
2161 gnu.gcj.runtime.endorsed.dirs.
2162 * Makefile.in: Rebuilt.
2163 * Makefile.am (ordinary_java_source_files): Added
2164 HelperClassLoader.java.
2165 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2166 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2168 (init): Use addDirectoriesFromProperty.
2169 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2170 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2171 gnu.gcj.runtime.endorsed.dirs.
2172 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2174 2005-03-26 Chris Burdess <dog@gnu.org>
2176 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2179 2005-03-13 Michael Koch <konqueror@gmx.de>
2181 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2183 2005-03-11 Chris Burdess <dog@gnu.org>
2185 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2188 2005-02-27 Chris Burdess <dog@gnu.org>
2190 * gnu/xml/aelfred2/JAXPFactory.java,
2191 gnu/xml/aelfred2/SAXDriver.java,
2192 gnu/xml/aelfred2/XmlParser.java,
2193 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2194 formatting conventions. Replaced arrays of Object with struct-like
2195 classes for easier maintainability. Made SAXDriver.stringInterning
2196 package private to allow access from XmlParser inside the loop without
2197 a method call overhead.
2199 2005-03-11 Chris Burdess <dog@gnu.org>
2201 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2204 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2206 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2207 settings to sub Makefiles.
2208 (GCJH, ZIP): Prefix with top_builddir.
2209 * configure: Rebuild.
2210 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2211 * external/w3c_dom/Makefile.in: Rebuild.
2212 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2213 * external/sax/Makefile.in: Rebuild.
2215 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2217 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2218 libsocket to the libraries to link for Solaris.
2220 2005-03-28 Per Bothner <per@bothner.com>
2222 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2223 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2225 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2227 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2228 to fix a ONESTEP fallout.
2229 * Makefile.in: Regenerate.
2231 2005-03-25 Mike Stump <mrs@apple.com>
2233 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2234 paths like we do for the compiler, as we use it in external/sax
2235 and it doesn't get MULTIBUILDTOP right when multilibing.
2237 2005-03-24 Anthony Green <green@redhat.com>
2239 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2241 (usage): Add [LIBDIR] to help output.
2242 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2243 * Makefile.am (AM_CXXFLAGS): Define
2244 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2245 (db_pathtail): New macro.
2247 2005-03-24 Tom Tromey <tromey@redhat.com>
2249 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2250 add sax and w3c libraries.
2251 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2253 * external/w3c_dom/Makefile.in: Rebuilt.
2254 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2256 (libw3c_gcj_la_LDFLAGS): New variable.
2257 (noinst_LTLIBRARIES): Renamed.
2258 * external/sax/Makefile.in: Rebuilt.
2259 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2261 (libsax_gcj_la_LDFLAGS): New variable.
2262 (noinst_LTLIBRARIES): Renamed.
2264 2005-03-23 Tom Tromey <tromey@redhat.com>
2266 * Makefile.in: Rebuilt.
2267 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2268 (libgcj0_convenience_la_SOURCES): Don't include
2269 gnu_xml_source_files.
2270 (libgcj0_convenience_la_LIBADD): New variable.
2271 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2272 (all_java_source_files): javax_imageio_source_files,
2273 javax_xml_source_files, and gnu_java_beans_source_files.
2274 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2275 (gnu-xml.lo): New target.
2276 (javax-imageio.lo): Likewise.
2277 (javax-xml.lo): Likewise.
2278 (gnu-java-beans.lo): Likewise.
2279 (gnu_java_beans_source_files): New variable.
2280 (javax_imageio_source_files): Likewise.
2281 (javax_xml_source_files): Likewise.
2282 (javax_source_files): Moved files to other variable.
2283 (awt_java_source_files): Likewise.
2284 (ordinary_java_source_files): Added BootClassLoader.java.
2285 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2286 not system class loader.
2287 (initBootLoader): New method.
2288 (loadClass): Search bootLoader.
2289 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2290 boot loader, not system class loader.
2291 (_Jv_UnregisterInitiatingLoader): Likewise.
2292 (_Jv_FindClass): Likewise. Ensure entries in
2293 bootstrap_class_list are unique.
2294 * java/lang/natClass.cc (getClassLoader): Don't special case
2295 system class loader.
2296 * java/lang/VMClassLoader.java (bootLoader): New field.
2297 (getResource): Use bootLoader.
2298 (getResources): Likewise.
2299 (initBootLoader): Declare.
2300 * gnu/gcj/runtime/BootClassLoader.java: New file.
2301 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2302 (EMPTY_ENUMERATION): Now package-private.
2303 * external/w3c_com/Makefile.in: Rebuilt.
2304 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2305 (w3c.jar): New target.
2306 (classes.stamp): Updated.
2307 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2308 Changed name of library.
2309 (libw3c_gcj_la_SOURCES): New variable.
2310 (libw3c_gcj_la_GCJFLAGS): Likewise.
2311 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2312 * external/sax/Makefile.in: Rebuilt.
2313 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2314 (sax.jar): New target.
2315 (classes.stamp): Updated.
2316 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2317 Changed name of library.
2318 (libsax_gcj_la_SOURCES): New variable.
2319 (libsax_gcj_la_GCJFLAGS): Likewise.
2320 (source_files): Renamed from libsax_convenience_la_SOURCES.
2321 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2323 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2325 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2327 2005-03-23 Sven de Marothy <sven@physto.se>
2329 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2331 * java/util/Calendar.java
2332 (set): Use starting day of week when one is needed if none is given.
2333 * java/text/SimpleDateFormat.java
2334 (parse): Handle 1-12 and 1-24 timestamps correctly.
2335 * java/util/GregorianCalendar.java
2336 (computeTime, computeFields): HOUR should be in 0-11 format.
2337 (nonLeniencyCheck): Adjust leniency checking to that fact.
2338 (getLinearDay): Should be private.
2340 2005-03-23 Tom Tromey <tromey@redhat.com>
2342 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2343 (_Jv_CheckABIVersion): Use it.
2345 2005-03-22 Mike Stump <mrs@apple.com>
2347 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2349 * include/posix.h: .dylib is used on all Apple MACH platforms.
2350 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2352 2005-03-22 Tom Tromey <tromey@redhat.com>
2354 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2356 2005-03-21 Tom Tromey <tromey@redhat.com>
2358 * java/lang/VMCompiler.java (static block): Also catch
2359 BufferUnderflowException.
2361 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2363 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2364 set tool_include_dir. In all substitutions, leave $(gcc_version)
2365 to be expanded by the Makefile.
2366 * aclocal.m4, configure: Regenerate.
2367 * Makefile.am: Set gcc_version. Replace all uses of
2368 @gcc_version@ with $(gcc_version).
2369 * external/Makefile.am, external/sax/Makefile.am
2370 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2371 * testsuite/Makefile.am: Set gcc_version.
2372 * include/Makefile.am: Set gcc_version and tool_include_dir.
2373 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2374 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2375 * testsuite/Makefile.in: Regenerate.
2377 2005-03-17 Andrew Haley <aph@redhat.com>
2379 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2381 Pass klass to _Jv_StackTrace::GetClassContext().
2382 * java/lang/ClassLoader.java (getParent): Pass class to
2383 VMSecurityManager.getClassContext()
2384 (getSystemClassLoader): Likewise.
2385 * java/lang/Package.java (getPackage): Likewise.
2386 (getPackages): Likewise.
2387 * java/lang/SecurityManager.java (getClassContext): Likewise.
2388 (currentClassLoader): Likewise.
2389 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2390 (currentClassLoader) Add new arg: caller.
2391 Pass caller to VMSecurityManager.getClassContext.
2393 * stacktrace.cc (GetClassContext): Correct calculation of
2396 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2397 im->source_file_name.
2399 2005-03-16 Andrew Haley <aph@redhat.com>
2401 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2403 2005-03-16 Tom Tromey <tromey@redhat.com>
2405 * link.cc (ensure_class_linked): Removed #ifdef.
2406 (print_class_loaded): Likewise.
2407 (wait_for_state): Likewise.
2408 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2409 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2410 * include/java-interp.h: ... here.
2412 2005-03-16 Tom Tromey <tromey@redhat.com>
2414 * gnu/java/lang/MainThread.java (run): Load main class using
2415 system class loader.
2417 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2419 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2420 lgcc_s to the libraries to link for Darwin.
2422 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2424 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2425 interpreter-specific code with #ifdef INTERPRETER.
2426 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2427 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2428 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2429 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2430 #ifdef INTERPRETER. Also protect declarations that use it.
2431 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2432 #ifdef INTERPRETER block.
2434 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2437 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2438 * Makefile.in: Rebuilt.
2440 2005-03-15 David Daney <ddaney@avtrex.com>
2442 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2445 2005-03-15 David Daney <ddaney@avtrex.com>
2447 * java/io/BufferedInputStream.java (available): Use 'in' instead
2448 of 'super' for underlying stream access.
2450 (read(byte[], int, int)): Ditto.
2452 (skip): Call skip on underlying stream when possible.
2454 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2456 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2457 SJLJ_EXCEPTIONS is defined.
2459 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2461 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2464 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2466 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2468 (libjava_arguments): Likewise.
2470 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2471 (gcj_jni_test_one): Likewise.
2472 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2473 Add flags to keep the Darwin linker quiet.
2474 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2475 Add -liconv for Darwin.
2477 2005-03-11 Tom Tromey <tromey@redhat.com>
2479 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2480 (_Jv_CheckABIVersion): Use it.
2482 2005-03-11 Tom Tromey <tromey@redhat.com>
2484 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2485 (usage): Document '-p'.
2486 * Makefile.in: Rebuilt.
2487 * Makefile.am (dbexecdir): New variable.
2488 (db_name): Likewise.
2489 (dbexec_DATA): Likewise.
2490 ($(db_name)): New target.
2491 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2492 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2495 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2497 * exception.cc: Remove stray MethodRef.h include.
2498 * java/lang/natClass.cc: Likewise.
2499 * gnu/gcj/runtime/MethodRef.java: Removed.
2500 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2501 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2502 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2503 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2504 * Makefile.in: Rebuilt.
2506 2005-03-10 Tom Tromey <tromey@redhat.com>
2508 * Makefile.in: Rebuilt.
2509 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2511 2005-03-10 Chris Burdess <dog@bluezoo.org>
2513 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2514 not currently parsing the DTD.
2516 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2518 New Stack Trace infrastructure.
2519 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2520 (gnu/gcj/runtime/StackTrace.java): Removed.
2521 (ordinary_java_source_files): Remove obsolete files.
2522 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2523 * configure.host (fallback_backtrace_h): Set backtrace header
2524 for mingw and cygwin targets.
2525 * configure.ac: Make symlink for fallback backtrace headers.
2526 * Makefile.in, configure: Rebuilt.
2527 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2528 Read 'LineNumberTable' attribute.
2529 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2531 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2533 * exception.cc: Remove unused include.
2534 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2535 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2536 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2537 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2538 table to direct threaded instruction values.
2539 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2540 (_Jv_InterpMethod::run): No longer member function. All
2541 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2542 is made or where an instruction could throw.
2543 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2545 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2546 (catch_fpe): Likewise.
2547 * stacktrace.cc: New file. Stack trace code now here.
2548 * gnu/gcj/runtime/MethodRef.java:
2549 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2550 calls addr2line to look up PC addresses in a given binary or shared
2552 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2553 gnu/gcj/runtime/natStackTrace.cc: Removed.
2554 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2555 this function name is specially recognised by the stack trace code
2556 and shouldn't be changed.
2557 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2558 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2559 (_Jv_InterpMethod::run): Update declaration.
2560 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2562 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2563 * include/java-stack.h: New file. Declarations for stack tracing.
2564 * include/jvm.h (_Jv_Frame_info): Removed.
2565 * java/lang/Class.h: Update friend declarations.
2566 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2568 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2569 (getStackTrace): Now native.
2570 (data): New RawDataManaged field.
2571 * java/lang/natClass.cc: Update includes.
2572 (forName): Use _Jv_StackTrace::GetCallingClass for
2573 calling-classloader check.
2574 (getClassLoader): Likewise.
2575 * java/lang/natRuntime.cc: Update includes.
2576 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2577 * java/lang/natVMSecurityManager.cc: Update includes.
2578 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2579 * java/lang/natVMThrowable.cc: New file. Native methods for
2581 * java/lang/reflect/natArray.cc: Update includes.
2582 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2583 accessibility check.
2584 * java/lang/reflect/natConstructor.cc: Update includes.
2585 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2586 accessibility check.
2587 * java/lang/reflect/natField.cc: Update includes.
2588 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2589 accessibility check.
2590 * java/lang/reflect/natMethod.cc: Update includes.
2591 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2592 accessibility check.
2593 * java/util/natResourceBundle.cc: Update includes.
2594 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2595 * java/util/logging/natLogger.cc: Update includes. Use
2596 _Jv_StackTrace::GetCallerInfo to get call-site info.
2597 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2599 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2602 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
2604 * testsuite/libjava.compile/PR20312.java: New file.
2605 * testsuite/libjava.compile/PR20312.xfail: Likewise.
2606 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2608 2005-03-09 Andrew Haley <aph@redhat.com>
2610 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2612 (smallTransferTo): New.
2613 (transferFrom): Loop around smallTransferFrom, copying pageSize
2615 (transferTo): Likewise.
2617 2005-03-09 David Daney <ddaney@avtrex.com>
2620 Merge BufferedInputStream from GNU Classpath.
2621 * java/io/BufferedInputStream.java (marktarget): Field removed.
2622 (CHUNKSIZE): Field removed.
2623 (bufferSize): New field.
2624 (BufferedInputStream): Initialize fields.
2625 (close): Invalidate mark and buffer indexes.
2627 (read()): Move mark handling code to refill.
2628 (read(byte[], int, int)): Ditto.
2629 (skip): Ditto and simplify EOF testing.
2630 (refill): Rewritten.
2631 * java/io/InputStreamReader.java (refill): Removed mark and reset
2632 of internal BufferedInputStream.
2634 2005-03-09 Tom Tromey <tromey@redhat.com>
2636 * java/lang/natVMClassLoader.cc (defineClass): Reference
2637 'systemClassLoader' field directly.
2638 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2640 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2641 Reference 'systemClassLoader' field directly.
2642 (_Jv_UnregisterInitiatingLoader): Likewise.
2643 (_Jv_FindClass): Likewise.
2645 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
2647 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
2649 * java/lang/mprec.h: Remove commented headers. Fix comment to match
2650 the file in GNU Classpath style.
2652 2005-03-09 Tom Tromey <tromey@redhat.com>
2654 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
2655 (toString): Synchronize.
2657 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
2659 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
2660 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
2662 2005-03-07 Tom Tromey <tromey@redhat.com>
2664 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
2665 (usage): Document '-f'.
2667 2005-03-07 Tom Tromey <tromey@redhat.com>
2669 * java/lang/VMCompiler.java (md5Digest): New field.
2670 (compileClass): Clone md5Digest instead of looking up a new one.
2672 2005-03-07 Tom Tromey <tromey@redhat.com>
2675 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
2676 * link.cc (find_field_helper): Added 'type' argument.
2677 (find_field): Updated.
2679 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
2680 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
2681 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
2682 throw UnsupportedOperationException, fixed comments.
2683 (setFont, setForeground): Fixed comments.
2684 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
2685 return type to boolean.
2686 (getNextEvent): Fixed javadocs.
2687 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
2688 (nativeQueueEmpty): Removed unused code.
2689 (iterateNativeQueue): Removed outer loop.
2691 2005-03-06 Roger Sayle <roger@eyesopen.com>
2694 * Makefile.am (libgcj0_convenience.la): Revert last change.
2695 * Makefile.in: Regenerate.
2697 2005-03-05 Anthony Green <green@redhat.com>
2699 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
2700 classpath_jawt_lock, classpath_jawt_unlock): New functions.
2701 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
2702 (_Jv_GetDrawingSurface): Set visualID.
2703 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
2704 (JAWT_GetAWT): Set Lock and Unlock.
2705 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
2707 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
2708 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
2709 JAWT_LOCK_SURFACE_CHANGED): New macros.
2710 (struct _JAWT): Add Lock and Unlock.
2712 2005-03-05 Roger Sayle <roger@eyesopen.com>
2713 Alexandre Oliva <aoliva@redhat.com>
2714 Kelley Cook <kcook@gcc.gnu.org>
2717 * Makefile.am (libgcj0_convenience.la): New rule to create a file
2718 of the object files to link to avoid exceeding the command line
2719 length limits on some platforms.
2720 (clean-local): Clean up objectlist files.
2721 * Makefile.in: Regenerate.
2723 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
2725 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
2726 spec_case. Initialize pointer mlo.
2728 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
2731 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
2733 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
2736 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
2737 uninitialized variable z.
2739 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
2740 possible unused variables.
2742 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
2744 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
2746 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
2749 * testsuite/libjava.jni/jni.exp
2750 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
2752 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
2754 2005-02-23 David Daney <ddaney@avtrex.com>
2756 * configure.host: Don't use -mxgot for MIPS builds.
2758 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
2761 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2762 (COMPPATH): Removed.
2763 (ZIP, GCJH): Replace it with ../$(host_subdir).
2764 (built_gcc_dir): Add $(host_subdir).
2765 * configure: Regenerate.
2766 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2767 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
2768 external/w3c_dom/Makefile.in: Regenerate.
2770 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
2772 * java/awt/font/TextAttribute.java: changed names to lower case;
2773 (readResolve): implemented.
2774 Added doc comments all over.
2776 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2779 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
2780 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
2781 value. Move argument parsing code to prims.cc.
2782 * prims.cc (no_properties): Remove.
2783 (_Jv_Compiler_Properties): Initialize to NULL.
2784 (_Jv_Properties_Count): Initialize to 0.
2785 (parse_verbose_args): New function.
2786 (parse_init_args): New function.
2787 (_Jv_CreateJavaVM): Call parse_init_args.
2788 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
2789 * gcj/cni.h (JvVMOption): New struct.
2790 (JvVMInitArgs): Likewise.
2791 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
2793 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
2794 (_Jv_VMInitArgs): Likewise.
2795 * include/java-props.h (_Jv_Properties_Count): Declare.
2796 * java/lang/natRuntime.cc (insertSystemProperties): Use
2797 _Jv_Properties_Count in for loop exit condition.
2798 * testsuite/libjava.jni/jni.exp
2799 (gcj_invocation_compile_c_to_binary): New procedure.
2800 (gcj_invocation_test_one): Likewise.
2801 (gcj_jni_run): Run JNI invocation API tests.
2802 * testsuite/libjava.jni/invocation/PR16923.c,
2803 testsuite/libjava.jni/invocation/PR16923.java,
2804 testsuite/libjava.jni/invocation/PR16923.out: New test.
2806 2005-02-23 Michael Koch <konqueror@gmx.de>
2808 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
2809 * Makefile.in: Regenerated.
2811 2005-02-23 Robert Schuster <thebohemian@gmx.net>
2813 * gnu/java/nio/ChannelReader: Fixed comments.
2815 2005-02-23 Robert Schuster <thebohemian@gmx.net>
2817 * java/nio/channels/Channels: Added FIXMEs about
2818 stub method implementation.
2819 (newReader): Implemented.
2820 * gnu/java/nio/ChannelReader: New class.
2822 2005-02-23 Michael Koch <konqueror@gmx.de>
2824 * java/text/SimpleDateFormat.java:
2825 Removed unused import.
2827 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2830 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
2831 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
2832 * Makefile.in: Regenerate.
2833 * configure.ac: Check for libXtst.
2834 * configure: Regenerate.
2836 2005-02-22 Mark Wielaard <address@bogus.example.com>
2838 * java/security/AlgorithmParameterGenerator.java (getInstance):
2839 Mention provider when throwing NoSuchProviderException.
2840 * java/security/AlgorithmParameters.java (getInstance): Likewise.
2841 * java/security/KeyFactory.java (getInstance): Likewise.
2842 * java/security/KeyStore.java (getInstance): Likewise.
2843 * java/security/SecureRandom.java (getInstance): Likewise.
2844 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
2846 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
2848 * java/lang/reflect/Proxy.java,
2850 java/security/SecureRandom.java,
2851 java/util/Timer.java,
2852 java/util/prefs/AbstractPreferences.java:
2853 Don't catch java.lang.ThreadDeath.
2855 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
2857 * java/awt/font/TransformAttribute.java,
2858 (TransformAttribute(AffineTransform)): throw
2859 IllegalArgumentException for null transform.
2860 (getTransform): return a copy of transform.
2861 Added doc comments to all.
2863 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
2865 * java/io/Externalizable.java,
2866 java/io/Serializable.java
2867 (serialVersionUID): Removed.
2868 * java/rmi/server/RemoteObject.java,
2869 java/rmi/server/UID.java
2870 (serialVersionUID): Made private.
2871 * java/rmi/server/RemoteRef.java,
2872 java/rmi/server/ServerRef.java
2873 (serialVersionUID): Set proper value.
2874 * java/security/interfaces/DSAPrivateKey.java,
2875 java/security/interfaces/DSAPublicKey.java,
2876 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2877 java/security/interfaces/RSAPrivateCrtKey.java,
2878 java/security/interfaces/RSAPrivateKey.java,
2879 java/security/interfaces/RSAPublicKey.java,
2880 javax/crypto/SecretKey.java
2881 (serialVersionUID): Added.
2883 2005-02-22 Tom Tromey <tromey@redhat.com>
2885 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
2887 2005-02-22 Tom Tromey <tromey@redhat.com>
2890 * verify.cc (type::EITHER): New constant.
2891 (check_field_constant): Use it.
2892 (type::compatible): Handle it.
2894 2005-02-22 Michael Koch <konqueror@gmx.de>
2896 * gnu/java/security/PolicyFile.java,
2897 gnu/java/security/pkcs/PKCS7SignedData.java,
2898 gnu/java/security/pkcs/SignerInfo.java:
2899 Fixed copyright header.
2901 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
2903 * java/beans/PropertyDescriptor.java
2904 (PropertyDescriptor,setReadMethod): Set propertyType.
2906 2005-02-22 Michael Koch <konqueror@gmx.de>
2908 * java/nio/DirectByteBufferImpl.java
2909 (owner): Fixed formatting of javadoc.
2910 * java/text/DateFormat.java
2911 (getAvailableLocales): Fixed formatting.
2912 * java/text/SimpleDateFormat.java:
2913 Fixed formatting and import statement order.
2914 * java/util/Calendar.java
2915 (Calendar): Fixed javadoc to be HTML compliant.
2916 * java/util/SimpleTimeZone.java:
2919 2005-02-22 Roman Kennke <roman@ontographics.com>
2921 * javax/swing/plaf/basic/BasicLookAndFeel.java
2922 (initComponentDefaults): Fixed Button left and right margin.
2924 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2926 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
2930 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2931 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2932 (getWidth): New method.
2933 (getHeight): Likewise.
2934 (create): Remove width, height and insets parameters. Move size
2936 (realize_cb): ... here. New function.
2937 (connectSignals): Connect realize_cb.
2938 (request_frame_extents): Remove FIXME. Move
2939 postInsetsChangedEvent lookup ...
2940 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
2941 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
2942 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
2944 (windowGetWidthID): Likewise.
2945 (windowGetHeightID): Likewise.
2947 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2950 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2951 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
2953 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
2955 Merge serialization from GNU Classpath.
2956 * gcj/method.h: Add missing #includes.
2957 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
2958 primitive class IDs on the stream here...
2959 (resolveClass): ...not here.
2960 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
2962 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
2963 setLongNative, setIntNative, setShortNative, setCharNative,
2964 setByteNative, setBooleanNative, setObjectNative): New native methods.
2965 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
2966 setLongNative, setIntNative, setShortNative, setCharNative,
2967 setByteNative, setBooleanNative, setObjectNative): Implement them.
2968 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
2969 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
2970 the constructor here.
2971 (callConstructor): Removed.
2972 (getCallersClassLoader): Removed.
2973 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
2974 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
2975 to control whether setting final field values is permitted. Call
2976 getAddr() with checkFinal parameter instead of setAddr().
2977 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
2978 only if not done already.
2979 (getAddr): Add checkFinal parameter. Do the final field check only if
2983 2005-02-21 Mark Wielaard <mark@klomp.org>
2986 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
2989 2005-02-21 Mark Wielaard <mark@klomp.org>
2992 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
2993 without a super class and us ObjectStreamClass.lookupForClassObject().
2994 (resolveClass): Check for primitive types.
2995 (lookupClass): Return null when argument is null.
2997 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
2999 * java/io/ObjectInputStream.java
3000 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3002 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3004 * java/io/ObjectOutputStream.java
3005 (writeObject, callWriteMethod): Replaced reflection with accessing
3006 cached info in ObjectStreamClass.
3007 (getMethod): Removed.
3008 * java/io/ObjectStreamClass.java
3009 (findMethod): Added check to make sure the method found has the
3011 (cacheMethods): Added writeReplace and writeObject methods.
3012 (setFlags): Look at new writeObjectMethod field instead of doing
3014 (writeReplaceMethod): New field.
3015 (writeObjectMethod): New field.
3017 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3018 Jeroen Frijters <jeroen@frijters.net>
3020 * java/io/ObjectInputStream.java
3021 (newObject): Changed prototype. Get a constructor reflect object
3023 (callConstructor): Removed.
3024 (allocateObject): Changed prototype.
3025 (readClassDescriptor): Build the constructor reflection directly.
3026 (readObject): Invoke newObject using the new prototype.
3028 * java/io/ObjectStreamClass.java
3029 (firstNonSerializableParent): Removed.
3030 (firstNonSerializableParentConstructor): Added.
3032 2005-02-21 Mark Wielaard <mark@klomp.org>
3034 * gnu/java/locale/LocaleInformation_en.java: Extend
3035 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3037 2005-02-21 Mark Wielaard <mark@klomp.org>
3039 * java/text/SimpleDateFormat.java
3040 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3041 NullPointerException when formatData is null.
3043 2005-02-21 Mark Wielaard <mark@klomp.org>
3045 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3046 taking dstSavings into account.
3048 2005-02-21 Sven de Marothy <sven@physto.se>
3050 * java/text/SimpleDateFormat.java,
3051 (parse): Set correct DST_OFFSET to the correct value.
3053 2005-02-21 Mark Wielaard <mark@klomp.org>
3055 * java/util/SimpleTimeZone.java (checkRule): Throw
3056 IllegalArgumentException when month out of range.
3058 2005-02-21 Sven de Marothy <sven@physto.se>
3060 * java/util/GregorianCalendar.java,
3061 (add): Don't set fields directly anymore. Use set()
3063 2005-02-21 Mark Wielaard <mark@klomp.org>
3065 * java/text/SimpleDateFormat.java (CompiledField.toString):
3066 Use StringBuffer, not StringBuilder.
3067 (toString): Likewise.
3069 2005-02-21 Sven de Marothy <sven@physto.se>
3071 * java/util/Calendar.java
3072 (clear): Dates should clear to local time.
3073 * java/util/GregorianCalendar.java
3074 (computeTime): Fix priority problem with DAY_OF_WEEK,
3075 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3077 2005-02-21 Sven de Marothy <sven@physto.se>
3079 * java/util/Calendar.java
3080 (Calendar): Constructor should clear fields.
3082 2005-02-21 Sven de Marothy <sven@physto.se>
3084 * java/text/SimpleDateFormat.java
3085 (parse): Tweak handling of 2-year dates
3086 * java/util/Calendar.java
3087 (clear): Clear fields to correct value.
3088 * java/util/GregorianCalendar.java
3089 (computeTime): Correct handling of time zones.
3090 Correct field minimum values.
3092 2005-02-21 Sven de Marothy <sven@physto.se>
3094 * java/util/Calendar.java
3095 (set) Invalidate all fields on first call to set().
3097 2005-02-21 Sven de Marothy <sven@physto.se>
3099 * java/util/GregorianCalendar.java
3100 (computeTime): Fixed handling of time zones.
3102 2005-02-21 Sven de Marothy <sven@physto.se>
3104 * java/util/Calendar.java
3105 (clear): Set values to Epoch instead of zero.
3106 (set): Set isSet to the relevant field pattern instead of just
3108 * java/util/GregorianCalendar.java
3109 (getBundle): Removed.
3110 (getDayOfYear): Removed.
3111 (getFirstDayOfMonth): New private method.
3112 (nonLeniencyCheck): New private method.
3113 (computeTime): Correct handling of insufficient data.
3115 2005-02-21 Sven de Marothy <sven@physto.se>
3117 * java/util/Calendar.java: Invalidate ERA field on setting
3119 * java/util/SimpleTimeZone.java:
3120 (getDaysInMonth): Reimplemented.
3121 * java/util/GregorianCalendar.java:
3122 (getLinearTime): Removed.
3123 (isLeapYear(int,boolean)): Removed.
3124 (before(), after()): Removed.
3125 (computeTime): Reimplemented.
3127 2005-02-21 Sven de Marothy <sven@physto.se>
3129 * java/util/Calendar.java: Reformatted.
3130 * java/util/GregorianCalendar.java: Reformatted.
3131 * java/util/SimpleTimeZone.java: Reformatted.
3133 2005-02-21 Sven de Marothy <sven@physto.se>
3135 * java/util/GregorianCalendar.java
3136 (GregorianCalendar): Update fields in the constructor
3138 2005-02-21 Noa Resare <noa@resare.com>
3140 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3141 (set(int,int)): Set and use new field.
3142 (set(int,int,int)): Check new field.
3144 2005-02-21 Noa Resare <address@hidden>
3146 * java/util/Calendar.java(set):
3147 Fix for DST related regression.
3149 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3151 * java/util/Calendar.java
3152 (setTimeInMillis): Added call to clear, removed computeFields call.
3153 * java/util/Date.java
3154 (Date(int,int,int,int,int,int)): Removed workaround for
3155 GregorianCalendar bug.
3156 * java/util/GregorianCalendar.java
3157 (GregorianCalendar): Chained all constructors to a (new)
3159 (computeTime): Fixed support for lenient month treatment.
3160 (getLinearDay): Return long instead of int.
3161 (calculateDay): Added fields argument and changed day argument
3164 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3166 * java/text/SimpleDateFormat.java
3167 Lots of documentation updates.
3168 (readObject(java.io.ObjectInputStream)): Wraps
3169 IllegalArgumentException as specified.
3170 (compileFormat(String)): Uses standardChars
3171 rather than the local pattern characters.
3172 Throws IllegalArgumentException rather than
3174 (toString()): Extended to include all variables
3176 (translateLocalizedPattern(String, String, String)):
3177 Renamed to better define the use of this method.
3179 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3181 * java/text/DateFormat.java:
3182 Documented pattern character offset constants and
3184 (Field): Added new static fields for new pattern chars.
3185 * java/text/SimpleDateFormat.java:
3186 (CompiledField): Changed name of FieldSizePair class
3187 to CompiledField after adding the character as an
3188 attribute. Changed fields to private and added
3189 accessors to give encapsulation.
3190 (CompiledField.CompiledField(int,int,char)): Extended
3191 with character field.
3192 (CompiledField.getField()): New accessor method.
3193 (CompiledField.getSize()): New acceessor method.
3194 (CompiledField.getCharacter()): New accessor method.
3195 (CompiledField.toString()): Added primarily for debugging.
3196 (standardChars): Now uses extended 24 character sequence.
3197 (compileFormat(String)): Changed to use CompiledField.
3198 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3199 java.text.FieldPosition)): Changed to use CompiledField.
3200 New handler for RFC 822 timezones added.
3202 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3204 * java/text/SimpleDateFormat.java:
3205 (parse(String, java.text.ParsePosition)):
3206 Changed 'E' and 'M' cases to use both
3207 short and long names. Extended 'z'
3208 case to also handle 'Z', and deal
3209 with simple GMT offsets such as +0100.
3210 (computeOffset(String)): New private method,
3211 which converts a GMT offset specification,
3212 such as GMT-0500 to a numeric offset in
3214 * java/util/TimeZone.java:
3215 (timezones()): Added "CEST", the daylight
3216 savings time version of "CET", or Central
3219 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3221 * java/text/SimpleDateFormat.java:
3222 (parse): Set the DST offset to 0 when parsing
3223 GMT offset timezones.
3225 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3227 * java/text/SimpleDateFormat.java:
3228 (parse): Use offset to set ZONE_OFFSET
3229 rather than the DST_OFFSET, so that
3230 GMT offset timezones change the right
3233 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3235 * java/text/SimpleDateFormat.java:
3236 (getDateFormatSymbols()): return a copy
3237 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3238 throw exception on null input
3239 (clone()): implemented to clone
3242 2005-02-21 Sven de Marothy <sven@physto.se>
3244 * java/text/SimpleDateFormat.java
3245 (parse): comparison should be case-insensitive, ignore null
3248 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3250 * gnu/java/beans/IntrospectionIncubator.java
3251 (addMethod) Reverts the patch that ntroduced a regression (see bug
3252 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3254 2005-02-21 Michael Koch <konqueror@gmx.de>
3256 * java/awt/Checkbox.java
3257 (next_checkbox_number): New static variable.
3258 (generateName): New method.
3259 (getUniqueLong): Likewise.
3260 * java/awt/Window.java
3261 (next_window_number): New static variable.
3262 (generateName): New method.
3263 (getUniqueLong): Likewise.
3265 2005-02-21 Mark Wielaard <mark@klomp.org>
3267 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3270 2005-02-21 Andrew Haley <aph@redhat.com>
3272 * Makefile.in: Rebuilt.
3273 * Makefile.am (nat_source_files): Added natLogger.cc.
3274 * java/util/logging/natLogger.cc: New file.
3275 * java/util/logging/Logger.java (getCallerStackFrame): Now
3278 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3280 * Makefile.am (all_property_files): Remove left over.
3281 (classes.stamp): Add stamp for the ONESTEP build, also known as
3282 --enable-libgcj-multifile.
3283 * Makefile.in: Regenerated.
3285 2005-02-21 Michael Koch <konqueror@gmx.de>
3287 * java/awt/Button.java,
3288 java/awt/Container.java,
3290 java/awt/Frame.java,
3291 java/text/CollationElementIterator.java,
3292 java/text/RuleBasedCollator.java,
3293 java/util/PropertyPermission.java:
3294 Fixed formatting issues all over.
3296 2005-02-21 Mark Wielaard <mark@klomp.org>
3298 * java/io/FileDescriptor.java (sync): Add real exception to
3299 SyncFailedException.
3301 2005-02-21 Michael Koch <konqueror@gmx.de>
3303 * java/io/InputStreamReader.java:
3306 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3309 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3311 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3313 * libraries/javalib/gnu/regexp/RE.java,
3314 libraries/javalib/java/io/ObjectInputStream.java,
3315 libraries/javalib/java/security/AllPermission.java,
3316 libraries/javalib/java/security/BasicPermission.java,
3317 libraries/javalib/java/security/Permissions.java,
3318 libraries/javalib/java/text/MessageFormat.java:
3319 Made 'inner' classes real public static inner classes,
3320 and made them final where possible, or removed them
3323 2005-02-20 Michael Koch <konqueror@gmx.de>
3325 * gnu/java/text/FormatCharacterIterator.java:
3326 Removed redundant modifiers.
3328 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3330 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3333 2005-02-19 Michael Koch <konqueror@gmx.de>
3335 * Makefile.am: Added new files in gnu/java/beans and
3336 java/beans/XMLDecoder.java.
3337 * Makefile.in: Regenerated.
3339 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3341 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3342 assignment behavior by using java.lang.reflect.Array.set()
3345 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3347 * gnu/java/beans/EmptyBeanInfo.java,
3348 gnu/java/beans/info/ComponentBeanInfo.java:
3349 Removed unused files.
3351 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3353 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3354 of AppletStub for java.beans.Beans.instantiate.
3355 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3357 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3358 to be conformant with Javadoc guidelines.
3359 (instantiate): Added two more overloaded variants, reworked user
3360 documentation, fixed exception behavior, fixed behavior when
3363 2005-02-19 Mark Wielaard <mark@klomp.org>
3365 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3367 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3369 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3371 * gnu/java/beans/decoder/AbstractContext.java,
3372 gnu/java/beans/decoder/AbstractCreatableContext.java,
3373 gnu/java/beans/decoder/AbstractElementHandler.java,
3374 gnu/java/beans/decoder/AbstractObjectContext.java,
3375 gnu/java/beans/decoder/ArrayContext.java,
3376 gnu/java/beans/decoder/ArrayHandler.java,
3377 gnu/java/beans/decoder/AssemblyException.java,
3378 gnu/java/beans/decoder/BooleanHandler.java,
3379 gnu/java/beans/decoder/ByteHandler.java,
3380 gnu/java/beans/decoder/CharHandler.java,
3381 gnu/java/beans/decoder/ClassHandler.java,
3382 gnu/java/beans/decoder/ConstructorContext.java,
3383 gnu/java/beans/decoder/Context.java,
3384 gnu/java/beans/decoder/DecoderContext.java,
3385 gnu/java/beans/decoder/DefaultExceptionListener.java,
3386 gnu/java/beans/decoder/DoubleHandler.java,
3387 gnu/java/beans/decoder/DummyContext.java,
3388 gnu/java/beans/decoder/DummyHandler.java,
3389 gnu/java/beans/decoder/ElementHandler.java,
3390 gnu/java/beans/decoder/FloatHandler.java,
3391 gnu/java/beans/decoder/GrowableArrayContext.java,
3392 gnu/java/beans/decoder/IndexContext.java,
3393 gnu/java/beans/decoder/IntHandler.java,
3394 gnu/java/beans/decoder/JavaHandler.java,
3395 gnu/java/beans/decoder/LongHandler.java,
3396 gnu/java/beans/decoder/MethodContext.java,
3397 gnu/java/beans/decoder/MethodFinder.java,
3398 gnu/java/beans/decoder/NullHandler.java,
3399 gnu/java/beans/decoder/ObjectContext.java,
3400 gnu/java/beans/decoder/ObjectHandler.java,
3401 gnu/java/beans/decoder/PersistenceParser.java,
3402 gnu/java/beans/decoder/PropertyContext.java,
3403 gnu/java/beans/decoder/ShortHandler.java,
3404 gnu/java/beans/decoder/SimpleHandler.java,
3405 gnu/java/beans/decoder/StaticMethodContext.java,
3406 gnu/java/beans/decoder/StringHandler.java,
3407 gnu/java/beans/decoder/VoidHandler.java: New class
3408 implementing java.beans.XMLDecoder decoding functionality.
3409 * java/beans/XMLDecoder.java: New class.
3411 2005-02-19 Michael Koch <konqueror@gmx.de>
3413 * javax/swing/JTextField.java
3414 (notfiyAction): Added javadoc.
3416 2005-02-19 Sven de Marothy <sven@physto.se>
3418 * javax/swing/SpinnerDateModel.java: Implemented.
3420 2005-02-19 Michael Koch <konqueror@gmx.de>
3422 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3423 * Makefile.in: Regenerated.
3425 2005-02-19 Michael Koch <konqueror@gmx.de>
3427 * gnu/java/nio/SelectorImpl.java:
3428 Reworked import statements.
3429 (register): Removed unused code.
3430 * java/nio/channels/Channels.java: Reformatted.
3431 * java/nio/charset/Charset.java: Likewise.
3432 * java/rmi/server/RemoteObject.java
3433 (serialVersionUID): Made private.
3434 * java/rmi/server/UID.java
3435 (serialVersionUID): Likewise.
3437 2005-02-19 Michael Koch <konqueror@gmx.de>
3439 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3440 gnu/java/net/protocol/ftp/BlockInputStream.java,
3441 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3442 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3443 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3444 gnu/java/net/protocol/ftp/DTPInputStream.java,
3445 gnu/java/net/protocol/ftp/DTP.java,
3446 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3447 gnu/java/net/protocol/ftp/FTPConnection.java,
3448 gnu/java/net/protocol/ftp/FTPException.java,
3449 gnu/java/net/protocol/ftp/FTPResponse.java,
3450 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3451 gnu/java/net/protocol/ftp/Handler.java,
3452 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3453 gnu/java/net/protocol/ftp/StreamInputStream.java,
3454 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3455 gnu/java/net/CRLFInputStream.java,
3456 gnu/java/net/CRLFOutputStream.java,
3457 gnu/java/net/GetLocalHostAction.java,
3458 gnu/java/net/protocol/ftp/package.html: New files.
3459 * Makefile.am: Added new files.
3460 * Makefile.in: Regenerated.
3462 2005-02-18 Tom Tromey <tromey@redhat.com>
3464 * link.cc (make_vtable): Remove abstract method check.
3465 (append_partial_itable): Likewise.
3468 * verify.cc (type::equals): Fixed test.
3469 * testsuite/libjava.lang/PR20056.out: New file.
3470 * testsuite/libjava.lang/PR20056.java: New file.
3472 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3474 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3475 not the HashEntry. Reported by Jean-Marie White.
3477 2005-02-18 Tom Tromey <tromey@redhat.com>
3480 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3481 * link.cc (has_field_p): New function.
3482 * verify.cc (check_field_constant): Added 'putfield' argument.
3483 (verify_instructions_0): Updated.
3484 (type::equals): New method.
3486 2005-02-18 Anthony Green <green@redhat.com>
3488 * NEWS: Draft of libgcj NEWS for 4.0.
3490 2005-02-18 Anthony Green <green@redhat.com>
3492 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3493 architecture names to "i386" for compatibility reasons. Win32
3496 2005-02-18 Anthony Green <green@redhat.com>
3498 * gij.cc (version): Change year for '--version' to 2005.
3499 * gnu/gcj/convert/Convert.java: Ditto.
3500 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3501 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3503 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3504 recent copyright year in `--version' output.
3506 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3508 * java/nio/charset/Charset.java (forName): Throws
3509 IllegalArgumentException when argument is null
3510 and added documentation.
3512 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3514 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3515 Move the position of the source buffer forward.
3517 2005-02-17 Tom Tromey <tromey@redhat.com>
3519 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3520 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3521 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3522 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3523 Changed type of second argument. Rewrote.
3524 (make_vtable): Use it.
3525 (append_partial_itable): Updated.
3526 (layout_vtable_methods): Updated.
3528 2005-02-17 Michael Koch <konqueror@gmx.de>
3530 * gnu/java/net/PlainSocketImpl.java
3531 (shutdownInput): Added javadoc.
3532 (shutdownOutput): Likewise.
3534 2005-02-17 Michael Koch <konqueror@gmx.de>
3536 * javax/print/attribute/standard/Chromaticity.java,
3537 javax/print/attribute/standard/Destination.java,
3538 javax/print/attribute/standard/MediaPrintableArea.java,
3539 javax/print/attribute/standard/MediaSize.java: New files.
3540 * Makefile.am: Added new files.
3541 * Makefile.in: Regenerated.
3543 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3544 Michael Koch <konqueror@gmx.de>
3546 * gnu/java/net/protocol/http/Cookie.java,
3547 gnu/java/net/protocol/http/HTTPConnection.java,
3548 gnu/java/net/protocol/http/HTTPDateFormat.java,
3549 gnu/java/net/protocol/http/Request.java,
3550 gnu/java/nio/PipeImpl.java,
3551 gnu/java/rmi/dgc/DGCImpl.java,
3552 gnu/java/rmi/server/ConnectionRunnerPool.java,
3553 gnu/java/rmi/server/UnicastConnectionManager.java,
3554 gnu/java/security/der/DERWriter.java,
3555 gnu/java/security/pkcs/SignerInfo.java,
3556 gnu/java/security/provider/EncodedKeyFactory.java,
3557 gnu/java/security/provider/GnuDHPublicKey.java,
3558 gnu/java/security/provider/GnuDSAPrivateKey.java,
3559 gnu/java/security/provider/GnuDSAPublicKey.java,
3560 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3561 gnu/java/security/x509/X500DistinguishedName.java,
3562 gnu/java/security/x509/X509CRL.java,
3563 gnu/java/security/x509/X509CRLEntry.java,
3564 gnu/java/security/x509/X509Certificate.java,
3565 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3566 gnu/java/security/x509/ext/CertificatePolicies.java,
3567 gnu/java/security/x509/ext/PolicyConstraint.java,
3568 gnu/xml/dom/Consumer.java,
3569 gnu/xml/dom/DomCharacterData.java,
3570 gnu/xml/dom/DomDocument.java,
3571 gnu/xml/dom/DomDocumentBuilder.java,
3572 gnu/xml/dom/DomIterator.java,
3573 gnu/xml/dom/DomNode.java,
3574 gnu/xml/dom/DomXPathExpression.java,
3575 gnu/xml/dom/DomXPathResult.java,
3576 gnu/xml/dom/JAXPFactory.java,
3577 gnu/xml/pipeline/CallFilter.java,
3578 gnu/xml/pipeline/DomConsumer.java,
3579 gnu/xml/pipeline/LinkFilter.java,
3580 gnu/xml/pipeline/NSFilter.java,
3581 gnu/xml/pipeline/TeeConsumer.java,
3582 gnu/xml/pipeline/ValidationConsumer.java,
3583 gnu/xml/pipeline/WellFormednessFilter.java,
3584 gnu/xml/pipeline/XIncludeFilter.java,
3585 gnu/xml/pipeline/XsltFilter.java,
3586 gnu/xml/transform/ApplyImportsNode.java,
3587 gnu/xml/transform/Bindings.java,
3588 gnu/xml/transform/DocumentFunction.java,
3589 gnu/xml/transform/FormatNumberFunction.java,
3590 gnu/xml/transform/NodeNumberNode.java,
3591 gnu/xml/transform/NumberNode.java,
3592 gnu/xml/transform/Stylesheet.java,
3593 gnu/xml/transform/SystemPropertyFunction.java,
3594 gnu/xml/transform/Template.java,
3595 gnu/xml/transform/TemplatesImpl.java,
3596 gnu/xml/transform/TransformerImpl.java,
3597 gnu/xml/transform/ValueOfNode.java,
3598 gnu/xml/transform/XSLURIResolver.java,
3599 gnu/xml/util/DoParse.java,
3600 gnu/xml/util/Resolver.java,
3601 gnu/xml/xpath/Expr.java,
3602 gnu/xml/xpath/FunctionCall.java,
3603 gnu/xml/xpath/RelationalExpr.java,
3604 gnu/xml/xpath/Selector.java,
3605 gnu/xml/xpath/XPathParser.java:
3606 Reworked import statements, fixed modifier order and some little
3609 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3611 * java/nio/ByteBufferImpl.java (compact):
3612 Set position and limit even if no bytes were moved.
3614 2005-02-17 Michael Koch <konqueror@gmx.de>
3616 * java/nio/CharViewBufferImpl.java (compact): Likewise.
3617 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3618 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3619 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3620 * java/nio/IntViewBufferImpl.java (compact): Likewise.
3621 * java/nio/LongViewBufferImpl.java (compact): Likewise.
3622 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3623 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3624 * java/nio/FloatBufferImpl.java (compact): Set position.
3625 * java/nio/CharBufferImpl.java (compact): Likewise.
3626 * java/nio/DoubleBufferImpl.java (compact): Likewise.
3627 * java/nio/IntBufferImpl.java (compact): Likewise.
3628 * java/nio/LongBufferImpl.java (compact): Likewise.
3629 * java/nio/ShortBufferImpl.java (compact): Likewise.
3631 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
3633 * java/nio/ByteBufferImpl.java,
3634 java/nio/CharBufferImpl.java,
3635 java/nio/DirectByteBufferImpl.java,
3636 java/nio/DoubleBufferImpl.java,
3637 java/nio/FloatBufferImpl.java,
3638 java/nio/IntBufferImpl.java,
3639 java/nio/LongBufferImpl.java,
3640 java/nio/MappedByteBufferImpl.java,
3641 java/nio/ShortBufferImpl.java
3642 (compact): Added explicit read-only check and invalidate mark.
3644 2005-02-17 Michael Koch <konqueror@gmx.de>
3646 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3647 gnu/java/awt/peer/gtk/GdkFontPeer.java,
3648 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3649 gnu/java/awt/peer/gtk/GdkGraphics.java,
3650 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3651 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
3652 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3653 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3654 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
3655 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
3656 gnu/java/awt/peer/gtk/GdkTextLayout.java,
3657 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3658 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3659 gnu/java/awt/peer/gtk/GtkClipboard.java,
3660 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3661 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3662 gnu/java/awt/peer/gtk/GtkFontPeer.java,
3663 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3664 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3665 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3666 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3667 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3668 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3669 gnu/java/awt/peer/gtk/GtkToolkit.java,
3670 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3671 java/applet/Applet.java,
3672 java/awt/AWTError.java,
3673 java/awt/AWTEvent.java,
3674 java/awt/AWTEventMulticaster.java,
3675 java/awt/AWTException.java,
3676 java/awt/AWTKeyStroke.java,
3677 java/awt/AWTPermission.java,
3678 java/awt/ActiveEvent.java,
3679 java/awt/Adjustable.java,
3680 java/awt/AlphaComposite.java,
3681 java/awt/AttributeValue.java,
3682 java/awt/BorderLayout.java,
3683 java/awt/BufferCapabilities.java,
3684 java/awt/Button.java,
3685 java/awt/Canvas.java,
3686 java/awt/CheckboxGroup.java,
3687 java/awt/CheckboxMenuItem.java,
3688 java/awt/Color.java,
3689 java/awt/ColorPaintContext.java,
3690 java/awt/Component.java,
3691 java/awt/ComponentOrientation.java,
3692 java/awt/Composite.java,
3693 java/awt/CompositeContext.java,
3694 java/awt/Container.java,
3695 java/awt/ContainerOrderFocusTraversalPolicy.java,
3696 java/awt/DefaultFocusTraversalPolicy.java,
3697 java/awt/Dialog.java,
3698 java/awt/Dimension.java,
3699 java/awt/DisplayMode.java,
3700 java/awt/EventQueue.java,
3701 java/awt/FileDialog.java,
3702 java/awt/FontFormatException.java,
3703 java/awt/Graphics.java,
3704 java/awt/Graphics2D.java,
3705 java/awt/GraphicsConfigTemplate.java,
3706 java/awt/GraphicsConfiguration.java,
3707 java/awt/GraphicsDevice.java,
3708 java/awt/GridBagLayout.java,
3709 java/awt/GridBagLayoutInfo.java,
3710 java/awt/GridLayout.java,
3711 java/awt/HeadlessException.java,
3712 java/awt/IllegalComponentStateException.java,
3713 java/awt/Image.java,
3714 java/awt/Insets.java,
3715 java/awt/ItemSelectable.java,
3716 java/awt/JobAttributes.java,
3717 java/awt/KeyEventDispatcher.java,
3718 java/awt/KeyEventPostProcessor.java,
3719 java/awt/KeyboardFocusManager.java,
3720 java/awt/Label.java,
3721 java/awt/LayoutManager.java,
3722 java/awt/MenuBar.java,
3723 java/awt/MenuComponent.java,
3724 java/awt/MenuContainer.java,
3725 java/awt/PageAttributes.java,
3726 java/awt/Paint.java,
3727 java/awt/PaintContext.java,
3728 java/awt/Panel.java,
3729 java/awt/Point.java,
3730 java/awt/Polygon.java,
3731 java/awt/PrintGraphics.java,
3732 java/awt/PrintJob.java,
3733 java/awt/Rectangle.java,
3734 java/awt/RenderingHints.java,
3735 java/awt/Shape.java,
3736 java/awt/Stroke.java,
3737 java/awt/SystemColor.java,
3738 java/awt/Toolkit.java,
3739 java/awt/Transparency.java,
3740 java/awt/Window.java,
3741 java/awt/color/CMMException.java,
3742 java/awt/color/ColorSpace.java,
3743 java/awt/color/ICC_ColorSpace.java,
3744 java/awt/color/ICC_Profile.java,
3745 java/awt/color/ProfileDataException.java,
3746 java/awt/datatransfer/FlavorTable.java,
3747 java/awt/datatransfer/MimeTypeParseException.java,
3748 java/awt/datatransfer/Transferable.java,
3749 java/awt/datatransfer/UnsupportedFlavorException.java,
3750 java/awt/dnd/Autoscroll.java,
3751 java/awt/dnd/DnDConstants.java,
3752 java/awt/dnd/DragGestureListener.java,
3753 java/awt/dnd/DragSourceAdapter.java,
3754 java/awt/dnd/DragSourceDropEvent.java,
3755 java/awt/dnd/DragSourceListener.java,
3756 java/awt/dnd/DragSourceMotionListener.java,
3757 java/awt/dnd/DropTargetAdapter.java,
3758 java/awt/dnd/DropTargetContext.java,
3759 java/awt/dnd/DropTargetListener.java,
3760 java/awt/dnd/InvalidDnDOperationException.java,
3761 java/awt/dnd/MouseDragGestureRecognizer.java,
3762 java/awt/dnd/peer/DropTargetContextPeer.java,
3763 java/awt/event/AWTEventListener.java,
3764 java/awt/event/AWTEventListenerProxy.java,
3765 java/awt/event/ActionEvent.java,
3766 java/awt/event/AdjustmentEvent.java,
3767 java/awt/event/AdjustmentListener.java,
3768 java/awt/event/ComponentAdapter.java,
3769 java/awt/event/ComponentEvent.java,
3770 java/awt/event/ComponentListener.java,
3771 java/awt/event/ContainerAdapter.java,
3772 java/awt/event/ContainerEvent.java,
3773 java/awt/event/ContainerListener.java,
3774 java/awt/event/FocusAdapter.java,
3775 java/awt/event/FocusEvent.java,
3776 java/awt/event/FocusListener.java,
3777 java/awt/event/InputEvent.java,
3778 java/awt/event/InputMethodEvent.java,
3779 java/awt/event/InputMethodListener.java,
3780 java/awt/event/InvocationEvent.java,
3781 java/awt/event/ItemEvent.java,
3782 java/awt/event/ItemListener.java,
3783 java/awt/event/KeyAdapter.java,
3784 java/awt/event/KeyEvent.java,
3785 java/awt/event/KeyListener.java,
3786 java/awt/event/MouseAdapter.java,
3787 java/awt/event/MouseEvent.java,
3788 java/awt/event/MouseListener.java,
3789 java/awt/event/MouseMotionAdapter.java,
3790 java/awt/event/MouseMotionListener.java,
3791 java/awt/event/MouseWheelEvent.java,
3792 java/awt/event/MouseWheelListener.java,
3793 java/awt/event/PaintEvent.java,
3794 java/awt/event/TextEvent.java,
3795 java/awt/event/TextListener.java,
3796 java/awt/event/WindowAdapter.java,
3797 java/awt/event/WindowEvent.java,
3798 java/awt/event/WindowFocusListener.java,
3799 java/awt/event/WindowListener.java,
3800 java/awt/event/WindowStateListener.java,
3801 java/awt/font/TextHitInfo.java,
3802 java/awt/geom/CubicCurve2D.java,
3803 java/awt/geom/Dimension2D.java,
3804 java/awt/geom/Ellipse2D.java,
3805 java/awt/geom/IllegalPathStateException.java,
3806 java/awt/geom/Line2D.java,
3807 java/awt/geom/NoninvertibleTransformException.java,
3808 java/awt/geom/PathIterator.java,
3809 java/awt/geom/Point2D.java,
3810 java/awt/geom/QuadCurve2D.java,
3811 java/awt/geom/RectangularShape.java,
3812 java/awt/geom/RoundRectangle2D.java,
3813 java/awt/im/InputContext.java,
3814 java/awt/im/InputMethodHighlight.java,
3815 java/awt/im/InputMethodRequests.java,
3816 java/awt/im/InputSubset.java,
3817 java/awt/im/spi/InputMethod.java,
3818 java/awt/im/spi/InputMethodDescriptor.java,
3819 java/awt/image/BandCombineOp.java,
3820 java/awt/image/BandedSampleModel.java,
3821 java/awt/image/ByteLookupTable.java,
3822 java/awt/image/ComponentSampleModel.java,
3823 java/awt/image/DataBuffer.java,
3824 java/awt/image/DataBufferByte.java,
3825 java/awt/image/DataBufferDouble.java,
3826 java/awt/image/DataBufferFloat.java,
3827 java/awt/image/DataBufferInt.java,
3828 java/awt/image/DataBufferShort.java,
3829 java/awt/image/DataBufferUShort.java,
3830 java/awt/image/ImagingOpException.java,
3831 java/awt/image/Kernel.java,
3832 java/awt/image/LookupTable.java,
3833 java/awt/image/MultiPixelPackedSampleModel.java,
3834 java/awt/image/PackedColorModel.java,
3835 java/awt/image/PixelInterleavedSampleModel.java,
3836 java/awt/image/RGBImageFilter.java,
3837 java/awt/image/Raster.java,
3838 java/awt/image/RasterFormatException.java,
3839 java/awt/image/SampleModel.java,
3840 java/awt/image/ShortLookupTable.java,
3841 java/awt/image/SinglePixelPackedSampleModel.java,
3842 java/awt/image/WritableRaster.java,
3843 java/awt/print/PrinterAbortException.java,
3844 java/awt/print/PrinterException.java,
3845 java/awt/print/PrinterIOException.java,
3846 java/beans/AppletInitializer.java,
3847 java/beans/ExceptionListener.java,
3848 java/beans/PropertyChangeEvent.java,
3849 java/beans/PropertyChangeListenerProxy.java,
3850 java/beans/PropertyChangeSupport.java,
3851 java/beans/PropertyDescriptor.java,
3852 java/beans/VetoableChangeListenerProxy.java,
3853 java/beans/VetoableChangeSupport.java,
3854 java/io/BufferedReader.java,
3855 java/io/ByteArrayInputStream.java,
3856 java/io/ByteArrayOutputStream.java,
3857 java/io/CharArrayReader.java,
3858 java/io/CharArrayWriter.java,
3859 java/io/CharConversionException.java,
3860 java/io/DataInput.java,
3861 java/io/DataInputStream.java,
3862 java/io/DataOutput.java,
3863 java/io/DataOutputStream.java,
3864 java/io/EOFException.java,
3865 java/io/FileInputStream.java,
3866 java/io/FileNotFoundException.java,
3867 java/io/FileOutputStream.java,
3868 java/io/FilenameFilter.java,
3869 java/io/FilterInputStream.java,
3870 java/io/FilterOutputStream.java,
3871 java/io/FilterReader.java,
3872 java/io/FilterWriter.java,
3873 java/io/IOException.java,
3874 java/io/InputStream.java,
3875 java/io/InterruptedIOException.java,
3876 java/io/LineNumberInputStream.java,
3877 java/io/LineNumberReader.java,
3878 java/io/ObjectInputStream.java,
3879 java/io/ObjectStreamException.java,
3880 java/io/OptionalDataException.java,
3881 java/io/OutputStream.java,
3882 java/io/OutputStreamWriter.java,
3883 java/io/PrintStream.java,
3884 java/io/PrintWriter.java,
3885 java/io/PushbackInputStream.java,
3886 java/io/PushbackReader.java,
3887 java/io/RandomAccessFile.java,
3888 java/io/Reader.java,
3889 java/io/SequenceInputStream.java,
3890 java/io/Serializable.java,
3891 java/io/StreamCorruptedException.java,
3892 java/io/StreamTokenizer.java,
3893 java/io/StringBufferInputStream.java,
3894 java/io/StringWriter.java,
3895 java/io/SyncFailedException.java,
3896 java/io/UTFDataFormatException.java,
3897 java/io/UnsupportedEncodingException.java,
3898 java/io/WriteAbortedException.java,
3899 java/io/Writer.java,
3900 java/lang/AbstractMethodError.java,
3901 java/lang/ArithmeticException.java,
3902 java/lang/ArrayIndexOutOfBoundsException.java,
3903 java/lang/ArrayStoreException.java,
3904 java/lang/AssertionError.java,
3905 java/lang/Boolean.java,
3906 java/lang/Byte.java,
3907 java/lang/Class.java,
3908 java/lang/ClassCastException.java,
3909 java/lang/ClassCircularityError.java,
3910 java/lang/ClassLoader.java,
3911 java/lang/ClassNotFoundException.java,
3912 java/lang/CloneNotSupportedException.java,
3913 java/lang/Cloneable.java,
3914 java/lang/Comparable.java,
3915 java/lang/Compiler.java,
3916 java/lang/Double.java,
3917 java/lang/Error.java,
3918 java/lang/Exception.java,
3919 java/lang/ExceptionInInitializerError.java,
3920 java/lang/Float.java,
3921 java/lang/IllegalAccessError.java,
3922 java/lang/IllegalAccessException.java,
3923 java/lang/IllegalArgumentException.java,
3924 java/lang/IllegalMonitorStateException.java,
3925 java/lang/IllegalStateException.java,
3926 java/lang/IllegalThreadStateException.java,
3927 java/lang/IncompatibleClassChangeError.java,
3928 java/lang/IndexOutOfBoundsException.java,
3929 java/lang/InheritableThreadLocal.java,
3930 java/lang/InstantiationError.java,
3931 java/lang/InstantiationException.java,
3932 java/lang/Integer.java,
3933 java/lang/InternalError.java,
3934 java/lang/InterruptedException.java,
3935 java/lang/LinkageError.java,
3936 java/lang/Long.java,
3937 java/lang/NegativeArraySizeException.java,
3938 java/lang/NoClassDefFoundError.java,
3939 java/lang/NoSuchFieldError.java,
3940 java/lang/NoSuchFieldException.java,
3941 java/lang/NoSuchMethodError.java,
3942 java/lang/NoSuchMethodException.java,
3943 java/lang/NullPointerException.java,
3944 java/lang/Number.java,
3945 java/lang/NumberFormatException.java,
3946 java/lang/OutOfMemoryError.java,
3947 java/lang/Process.java,
3948 java/lang/Runnable.java,
3949 java/lang/Runtime.java,
3950 java/lang/RuntimeException.java,
3951 java/lang/RuntimePermission.java,
3952 java/lang/SecurityException.java,
3953 java/lang/SecurityManager.java,
3954 java/lang/Short.java,
3955 java/lang/StackOverflowError.java,
3956 java/lang/StackTraceElement.java,
3957 java/lang/StringBuffer.java,
3958 java/lang/StringIndexOutOfBoundsException.java,
3959 java/lang/ThreadDeath.java,
3960 java/lang/ThreadGroup.java,
3961 java/lang/Throwable.java,
3962 java/lang/UnsatisfiedLinkError.java,
3963 java/lang/UnsupportedOperationException.java,
3964 java/lang/VerifyError.java,
3965 java/lang/VirtualMachineError.java,
3966 java/lang/reflect/AccessibleObject.java,
3967 java/lang/reflect/Array.java,
3968 java/lang/reflect/InvocationTargetException.java,
3969 java/lang/reflect/Member.java,
3970 java/lang/reflect/Modifier.java,
3971 java/lang/reflect/Proxy.java,
3972 java/lang/reflect/ReflectPermission.java,
3973 java/lang/reflect/UndeclaredThrowableException.java,
3974 java/math/BigInteger.java,
3975 java/net/NetworkInterface.java,
3976 java/nio/ByteBufferHelper.java,
3977 java/nio/ByteBufferImpl.java,
3978 java/nio/DirectByteBufferImpl.java,
3979 java/nio/DoubleBufferImpl.java,
3980 java/nio/FloatBufferImpl.java,
3981 java/nio/IntBufferImpl.java,
3982 java/nio/LongBufferImpl.java,
3983 java/nio/ShortBufferImpl.java,
3984 java/nio/channels/Channel.java,
3985 java/nio/channels/IllegalBlockingModeException.java,
3986 java/nio/charset/spi/CharsetProvider.java,
3987 java/security/AccessControlException.java,
3988 java/security/BasicPermission.java,
3989 java/security/DigestException.java,
3990 java/security/DigestInputStream.java,
3991 java/security/DigestOutputStream.java,
3992 java/security/GeneralSecurityException.java,
3993 java/security/Guard.java,
3994 java/security/GuardedObject.java,
3995 java/security/InvalidAlgorithmParameterException.java,
3996 java/security/InvalidKeyException.java,
3997 java/security/InvalidParameterException.java,
3998 java/security/Key.java,
3999 java/security/KeyException.java,
4000 java/security/KeyManagementException.java,
4001 java/security/KeyStoreException.java,
4002 java/security/MessageDigestSpi.java,
4003 java/security/NoSuchAlgorithmException.java,
4004 java/security/NoSuchProviderException.java,
4005 java/security/Permission.java,
4006 java/security/PermissionCollection.java,
4007 java/security/Permissions.java,
4008 java/security/Principal.java,
4009 java/security/PrivateKey.java,
4010 java/security/PrivilegedActionException.java,
4011 java/security/ProviderException.java,
4012 java/security/PublicKey.java,
4013 java/security/SecureRandom.java,
4014 java/security/SecureRandomSpi.java,
4015 java/security/SignatureException.java,
4016 java/security/SignatureSpi.java,
4017 java/security/SignedObject.java,
4018 java/security/Signer.java,
4019 java/security/UnrecoverableKeyException.java,
4020 java/security/UnresolvedPermission.java,
4021 java/security/acl/AclNotFoundException.java,
4022 java/security/acl/LastOwnerException.java,
4023 java/security/acl/NotOwnerException.java,
4024 java/security/cert/CertPath.java,
4025 java/security/cert/CertPathBuilderException.java,
4026 java/security/cert/CertPathValidatorException.java,
4027 java/security/cert/CertStoreException.java,
4028 java/text/BreakIterator.java,
4029 java/text/ChoiceFormat.java,
4030 java/text/CollationElementIterator.java,
4031 java/text/CollationKey.java,
4032 java/text/Collator.java,
4033 java/text/DateFormat.java,
4034 java/text/DateFormatSymbols.java,
4035 java/text/DecimalFormat.java,
4036 java/text/DecimalFormatSymbols.java,
4037 java/text/FieldPosition.java,
4038 java/text/Format.java,
4039 java/text/NumberFormat.java,
4040 java/text/ParseException.java,
4041 java/text/ParsePosition.java,
4042 java/text/StringCharacterIterator.java,
4043 java/util/AbstractCollection.java,
4044 java/util/AbstractList.java,
4045 java/util/AbstractMap.java,
4046 java/util/AbstractSequentialList.java,
4047 java/util/AbstractSet.java,
4048 java/util/ArrayList.java,
4049 java/util/Arrays.java,
4050 java/util/BitSet.java,
4051 java/util/Collection.java,
4052 java/util/Collections.java,
4053 java/util/Comparator.java,
4054 java/util/ConcurrentModificationException.java,
4055 java/util/Currency.java,
4056 java/util/Date.java,
4057 java/util/EmptyStackException.java,
4058 java/util/Enumeration.java,
4059 java/util/EventListener.java,
4060 java/util/EventListenerProxy.java,
4061 java/util/EventObject.java,
4062 java/util/HashMap.java,
4063 java/util/HashSet.java,
4064 java/util/Hashtable.java,
4065 java/util/IdentityHashMap.java,
4066 java/util/Iterator.java,
4067 java/util/LinkedHashSet.java,
4068 java/util/LinkedList.java,
4069 java/util/List.java,
4070 java/util/ListIterator.java,
4071 java/util/ListResourceBundle.java,
4073 java/util/MissingResourceException.java,
4074 java/util/NoSuchElementException.java,
4075 java/util/Observable.java,
4076 java/util/Observer.java,
4077 java/util/Properties.java,
4078 java/util/PropertyPermissionCollection.java,
4079 java/util/RandomAccess.java,
4081 java/util/SortedMap.java,
4082 java/util/SortedSet.java,
4083 java/util/Stack.java,
4084 java/util/StringTokenizer.java,
4085 java/util/TooManyListenersException.java,
4086 java/util/TreeMap.java,
4087 java/util/TreeSet.java,
4088 java/util/Vector.java,
4089 java/util/logging/FileHandler.java,
4090 java/util/logging/Level.java,
4091 java/util/prefs/BackingStoreException.java,
4092 java/util/prefs/InvalidPreferencesFormatException.java,
4093 java/util/prefs/Preferences.java,
4094 javax/accessibility/Accessible.java,
4095 javax/accessibility/AccessibleAction.java,
4096 javax/accessibility/AccessibleBundle.java,
4097 javax/accessibility/AccessibleComponent.java,
4098 javax/accessibility/AccessibleContext.java,
4099 javax/accessibility/AccessibleEditableText.java,
4100 javax/accessibility/AccessibleExtendedComponent.java,
4101 javax/accessibility/AccessibleExtendedTable.java,
4102 javax/accessibility/AccessibleHyperlink.java,
4103 javax/accessibility/AccessibleHypertext.java,
4104 javax/accessibility/AccessibleIcon.java,
4105 javax/accessibility/AccessibleKeyBinding.java,
4106 javax/accessibility/AccessibleRelation.java,
4107 javax/accessibility/AccessibleRelationSet.java,
4108 javax/accessibility/AccessibleResourceBundle.java,
4109 javax/accessibility/AccessibleRole.java,
4110 javax/accessibility/AccessibleSelection.java,
4111 javax/accessibility/AccessibleState.java,
4112 javax/accessibility/AccessibleStateSet.java,
4113 javax/accessibility/AccessibleTable.java,
4114 javax/accessibility/AccessibleTableModelChange.java,
4115 javax/accessibility/AccessibleText.java,
4116 javax/accessibility/AccessibleValue.java,
4117 javax/imageio/IIOException.java,
4118 javax/imageio/ImageIO.java,
4119 javax/imageio/spi/IIOServiceProvider.java,
4120 javax/imageio/spi/ImageInputStreamSpi.java,
4121 javax/imageio/spi/ImageOutputStreamSpi.java,
4122 javax/imageio/spi/ImageReaderWriterSpi.java,
4123 javax/imageio/spi/ImageTranscoderSpi.java,
4124 javax/imageio/spi/RegisterableService.java,
4125 javax/imageio/spi/ServiceRegistry.java,
4126 javax/imageio/stream/IIOByteBuffer.java,
4127 javax/imageio/stream/ImageInputStream.java,
4128 javax/imageio/stream/ImageOutputStream.java,
4129 javax/naming/Binding.java,
4130 javax/naming/CannotProceedException.java,
4131 javax/naming/CompositeName.java,
4132 javax/naming/CompoundName.java,
4133 javax/naming/LinkException.java,
4134 javax/naming/LinkRef.java,
4135 javax/naming/NameClassPair.java,
4136 javax/naming/Reference.java,
4137 javax/naming/ReferralException.java,
4138 javax/naming/directory/Attribute.java,
4139 javax/naming/directory/AttributeModificationException.java,
4140 javax/naming/directory/Attributes.java,
4141 javax/naming/directory/DirContext.java,
4142 javax/naming/directory/ModificationItem.java,
4143 javax/naming/directory/SearchControls.java,
4144 javax/naming/directory/SearchResult.java,
4145 javax/naming/event/EventContext.java,
4146 javax/naming/event/EventDirContext.java,
4147 javax/naming/event/NamespaceChangeListener.java,
4148 javax/naming/event/NamingExceptionEvent.java,
4149 javax/naming/event/NamingListener.java,
4150 javax/naming/event/ObjectChangeListener.java,
4151 javax/naming/ldap/Control.java,
4152 javax/naming/ldap/ExtendedResponse.java,
4153 javax/naming/ldap/HasControls.java,
4154 javax/naming/ldap/LdapContext.java,
4155 javax/naming/ldap/UnsolicitedNotification.java,
4156 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4157 javax/naming/ldap/UnsolicitedNotificationListener.java,
4158 javax/naming/spi/DirectoryManager.java,
4159 javax/naming/spi/ResolveResult.java,
4160 javax/naming/spi/Resolver.java,
4161 javax/security/auth/callback/Callback.java,
4162 javax/security/auth/callback/CallbackHandler.java,
4163 javax/security/auth/callback/ChoiceCallback.java,
4164 javax/security/auth/callback/ConfirmationCallback.java,
4165 javax/security/auth/callback/LanguageCallback.java,
4166 javax/security/auth/callback/NameCallback.java,
4167 javax/security/auth/callback/PasswordCallback.java,
4168 javax/security/auth/callback/TextInputCallback.java,
4169 javax/security/auth/callback/TextOutputCallback.java,
4170 javax/security/auth/callback/UnsupportedCallbackException.java,
4171 javax/security/sasl/Sasl.java,
4172 javax/security/sasl/SaslServerFactory.java,
4173 javax/swing/DefaultBoundedRangeModel.java,
4174 javax/swing/JComponent.java,
4175 javax/swing/JList.java,
4176 javax/swing/JProgressBar.java,
4177 javax/swing/JRadioButton.java,
4178 javax/swing/JTextArea.java,
4179 javax/swing/JTextField.java,
4180 javax/swing/JToggleButton.java,
4181 javax/swing/JTree.java,
4182 javax/swing/SpinnerListModel.java,
4183 javax/swing/event/EventListenerList.java,
4184 javax/swing/text/JTextComponent.java,
4185 javax/swing/text/StringContent.java,
4186 javax/swing/text/Utilities.java,
4187 javax/swing/undo/UndoManager.java,
4188 javax/swing/undo/UndoableEditSupport.java,
4189 javax/transaction/HeuristicCommitException.java,
4190 javax/transaction/HeuristicMixedException.java,
4191 javax/transaction/HeuristicRollbackException.java,
4192 javax/transaction/InvalidTransactionException.java,
4193 javax/transaction/NotSupportedException.java,
4194 javax/transaction/RollbackException.java,
4195 javax/transaction/Status.java,
4196 javax/transaction/Synchronization.java,
4197 javax/transaction/SystemException.java,
4198 javax/transaction/Transaction.java,
4199 javax/transaction/TransactionManager.java,
4200 javax/transaction/TransactionRequiredException.java,
4201 javax/transaction/TransactionRolledbackException.java,
4202 javax/transaction/UserTransaction.java,
4203 javax/transaction/xa/XAException.java,
4204 javax/transaction/xa/XAResource.java,
4205 javax/transaction/xa/Xid.java,
4206 javax/xml/XMLConstants.java,
4207 javax/xml/datatype/DatatypeConfigurationException.java,
4208 javax/xml/datatype/DatatypeConstants.java,
4209 javax/xml/datatype/DatatypeFactory.java,
4210 javax/xml/datatype/Duration.java,
4211 javax/xml/datatype/XMLGregorianCalendar.java,
4212 javax/xml/namespace/NamespaceContext.java,
4213 javax/xml/namespace/QName.java,
4214 javax/xml/parsers/DocumentBuilder.java,
4215 javax/xml/parsers/DocumentBuilderFactory.java,
4216 javax/xml/parsers/FactoryConfigurationError.java,
4217 javax/xml/parsers/ParserConfigurationException.java,
4218 javax/xml/parsers/SAXParser.java,
4219 javax/xml/parsers/SAXParserFactory.java,
4220 javax/xml/transform/ErrorListener.java,
4221 javax/xml/transform/OutputKeys.java,
4222 javax/xml/transform/Result.java,
4223 javax/xml/transform/Source.java,
4224 javax/xml/transform/SourceLocator.java,
4225 javax/xml/transform/Templates.java,
4226 javax/xml/transform/Transformer.java,
4227 javax/xml/transform/TransformerConfigurationException.java,
4228 javax/xml/transform/TransformerException.java,
4229 javax/xml/transform/TransformerFactory.java,
4230 javax/xml/transform/TransformerFactoryConfigurationError.java,
4231 javax/xml/transform/URIResolver.java,
4232 javax/xml/transform/dom/DOMLocator.java,
4233 javax/xml/transform/dom/DOMResult.java,
4234 javax/xml/transform/dom/DOMSource.java,
4235 javax/xml/transform/sax/SAXResult.java,
4236 javax/xml/transform/sax/SAXSource.java,
4237 javax/xml/transform/sax/SAXTransformerFactory.java,
4238 javax/xml/transform/sax/TemplatesHandler.java,
4239 javax/xml/transform/sax/TransformerHandler.java,
4240 javax/xml/transform/stream/StreamResult.java,
4241 javax/xml/transform/stream/StreamSource.java,
4242 javax/xml/validation/Schema.java,
4243 javax/xml/validation/SchemaFactory.java,
4244 javax/xml/validation/TypeInfoProvider.java,
4245 javax/xml/validation/Validator.java,
4246 javax/xml/validation/ValidatorHandler.java,
4247 javax/xml/xpath/XPathConstants.java,
4248 javax/xml/xpath/XPathException.java,
4249 javax/xml/xpath/XPathExpression.java,
4250 javax/xml/xpath/XPathExpressionException.java,
4251 javax/xml/xpath/XPathFactory.java,
4252 javax/xml/xpath/XPathFactoryConfigurationException.java,
4253 javax/xml/xpath/XPathFunction.java,
4254 javax/xml/xpath/XPathFunctionException.java,
4255 javax/xml/xpath/XPathFunctionResolver.java:
4256 Fixed usage of @author tag, reworked import statements,
4257 removed CVS tags, changed the modifier order and fixed
4258 HTML usage in javadocs.
4260 2005-02-16 Julian Scheid <julian@sektor37.de>
4262 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4264 (encodeLoop): Likewise.
4266 2005-02-16 Mark Wielaard <mark@klomp.org>
4268 * Makefile.am (ordinary_java_source_files): Add new files
4269 gnu/java/security/ber/BER.java,
4270 gnu/java/security/ber/BEREncodingException.java,
4271 gnu/java/security/ber/BERReader.java,
4272 gnu/java/security/ber/BERValue.java,
4273 gnu/java/security/pkcs/PKCS7SignedData.java and
4274 gnu/java/security/pkcs/SignerInfo.java.
4275 * Makefile.in: Regenerated.
4277 2005-02-16 Casey Marshall <csm@gnu.org>
4279 * gnu/java/security/provider/GnuDSAPrivateKey.java
4280 (encodedKey): new field.
4281 (getFormat): return "PKCS#8".
4282 (getEncoded): implemented.
4283 (toString): check for 'null' values.
4284 * gnu/java/security/provider/GnuDSAPublicKey.java
4285 (encodedKey): new field.
4286 (getFormat): return "X.509".
4287 (getEncoded): implemented.
4288 (toString): check for 'null' values.
4290 2005-02-16 Michael Koch <konqueror@gmx.de>
4292 * java/util/jar/JarFile.java: Imports reworked.
4294 2005-02-16 Mark Wielaard <mark@klomp.org>
4296 * java/util/jar/JarFile.java (verify): Make package private.
4297 (signaturesRead): Likewise.
4298 (verified): Likewise.
4299 (entryCerts): Likewise.
4302 (entries): Construct new JarEnumeration with reference to this.
4303 (JarEnumeration): Make static.
4304 (JarEnumeration.jarfile): New field.
4305 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4306 Compare verified value to Boolean.TRUE or Boolean.False only
4307 when verify is true.
4308 (getEntry): Make synchronized. Compare value of verified to
4310 (getInputStream): Construct EntryInputStream with reference to this.
4311 (getManifest): Make synchronized.
4312 (EntryInputStream): Make static.
4313 (EntryInputStream.jarfile): New field.
4314 (EntryInputStream.EntryInputStream): Check if manifest exists,
4315 before getting attributes.
4316 (eof): Synchronize on jarfile.
4318 2005-02-16 Casey Marshall <csm@gnu.org>
4320 * java/util/jar/JarFile.java (verify): return if the jar is signed
4321 with an unsupported algorithm.
4323 2005-02-16 Mark Wielaard <mark@klomp.org>
4325 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4326 InputStream as argument.
4327 (getInputStream): Construct a new EntryInputStream with the result of
4328 super.getInputStream(entry).
4330 2005-02-16 Casey Marshall <csm@gnu.org>
4332 Signed JAR file support.
4333 * java/net/URLClassLoader.java
4334 (JarURLResource.getCertificates): re-read jar entry to ensure
4335 certificates are picked up.
4336 (findClass): fill in class `signers' field, too.
4337 * java/util/jar/JarFile.java (META_INF): new constant.
4338 (PKCS7_DSA_SUFFIX): new constant.
4339 (PKCS7_RSA_SUFFIX): new constant.
4340 (DIGEST_KEY_SUFFIX): new constant.
4341 (SF_SUFFIX): new constant.
4342 (MD2_OID): new constant.
4343 (MD4_OID): new constant.
4344 (MD5_OID): new constant.
4345 (SHA1_OID): new constant.
4346 (DSA_ENCRYPTION_OID): new constant.
4347 (RSA_ENCRYPTION_OID): new constant.
4348 (signaturesRead): new field.
4349 (verified): new field.
4350 (entryCerts): new field.
4351 (DEBUG): new constant.
4352 (debug): new method.
4353 (JarEnumeration.nextElement): fill in entry certificates, read
4354 signatures if they haven't been read.
4355 (getEntry): likewise.
4356 (getInputStream): verify stream if it hasn't been verified yet.
4357 (readSignatures): new method.
4358 (verify): new method.
4359 (verifyHashes): new method.
4360 (readManifestEntry): new method.
4361 (EntryInputStream): new class.
4362 * gnu/java/io/Base64InputStream.java (decode): new class
4364 * gnu/java/security/der/DERReader.java don't make class
4366 (in): made protected.
4368 (readLength): likewise.
4369 * gnu/java/security/ber/BER.java,
4370 * gnu/java/security/ber/BEREncodingException.java,
4371 * gnu/java/security/ber/BERReader.java,
4372 * gnu/java/security/ber/BERValue.java,
4373 * gnu/java/security/pkcs/PKCS7SignedData.java,
4374 * gnu/java/security/pkcs/SignerInfo.java:
4377 2005-02-16 Tom Tromey <tromey@redhat.com>
4379 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4380 copied file on exit.
4382 2005-02-15 Mark Wielaard <mark@klomp.org>
4384 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4386 2005-02-15 Michael Koch <konqueror@gmx.de>
4388 * gnu/java/awt/peer/gtk/GtkArg.java,
4389 gnu/java/awt/peer/gtk/GtkArgList.java:
4392 2005-02-15 Craig Black <craig.black@aonix.com>
4394 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4395 (postMenuActionEvent): Implement to notify ItemListeners.
4396 * java/awt/CheckboxMenuItem.java
4397 (dispatchEventImpl): Update state on ItemEvent.
4398 * java/awt/MenuItem.java
4399 (processActionEvent): Retarget event source.
4401 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4403 * gnu/java/awt/color/ClutProfileConverter.java,
4404 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4405 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4406 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4407 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4408 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4409 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4410 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4411 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4412 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4413 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4414 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4415 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4416 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4417 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4418 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4419 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4420 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4421 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4422 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4423 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4424 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4425 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4426 gnu/java/awt/peer/gtk/GtkToolkit.java,
4427 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4428 javax/swing/JPopupMenu.java,
4429 javax/swing/JSpinner.java,
4430 javax/swing/SortingFocusTraversalPolicy.java,
4431 javax/swing/SwingUtilities.java,
4432 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4433 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4434 javax/swing/tree/DefaultMutableTreeNode.java:
4435 Removed unused imports and expanded starred
4438 2005-02-15 Mark Wielaard <mark@klomp.org>
4440 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4441 IllegalArgumentException when the given String is null.
4443 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4444 when given keystoke sequence cannot be parsed.
4446 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4447 if one is installed. Only install the given menubar is not null.
4449 * javax/swing/JViewport.java (getViewSize): Return an empty
4450 Dimension when the view isn't set or preferred component size when
4453 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4454 empty Dimension when there is no view set.
4455 (minimumLayoutSize): Likewise.
4456 (layoutContainer): Don't try to layout when there is no view.
4458 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4461 * include/jawt.h: Likewise.
4462 * include/jawt_md.h: Likewise.
4463 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4465 * jni/classpath/classpath_jawt.h: Likewise.
4466 * jni/gtk-peer/gtk_jawt.c: Likewise.
4467 * Makefile.am: Build libjawt.so.
4469 2005-02-15 Michael Koch <konqueror@gmx.de>
4471 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4472 Merged file header with classpath CVS head.
4473 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4474 Merged code formatting with classpath CVS head.
4475 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4477 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4478 Handle special JNI strings with 2 '\0' at the end.
4479 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4480 Merged file header with classpath CVS head.
4481 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4482 Merged code formatting with classpath CVS head.
4484 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4486 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4487 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4488 (handle_response): Use GTK_RESPONSE_ACCEPT.
4490 2005-02-15 Graydon Hoare <graydon@redhat.com>
4492 * Makefile.am: Fix library build breakage.
4493 * Makefile.in: Regenerate.
4495 2005-02-15 Michael Koch <konqueror@gmx.de>
4497 * javax/swing/JTabbedPane.java
4498 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4500 2005-02-15 Michael Koch <konqueror@gmx.de>
4502 * javax/swing/tree/DefaultMutableTreeNode.java:
4503 Reworked Javadocs all over.
4504 (getPathToRoot): Fixed direction of result array initialization.
4506 2005-02-15 Michael Koch <konqueror@gmx.de>
4508 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4509 Fix includes for cairo 0.3.0 snappshot.
4510 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4511 Merged file header from classpath CVS HEAD.
4513 2005-02-15 Craig Black <craig.black@aonix.com>
4515 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4516 (copyState): Pass a JNI global reference to signal handler.
4517 (realize_cb): Use and free JNI global reference.
4518 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4519 (create): Pass a JNI global reference to signal handler.
4520 (selection_changed): Match declaration.
4521 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4522 (dispose): Do not remove entries from state tables until after widget is
4525 2005-02-15 Michael Koch <konqueror@gmx.de>
4527 * java/awt/Container.javai (paramString):
4528 If layoutMgr is null just return result of super.paramString().
4529 * java/awt/Scrollbar.java: Reformatted.
4530 * java/awt/im/InputContext.java (static):
4531 Removed redundant initializations.
4533 2005-02-15 Michael Koch <konqueror@gmx.de>
4535 * javax/swing/ImageIcon.java,
4536 javax/swing/UIManager.java,
4537 javax/swing/text/EditorKit.java,
4538 javax/swing/text/Segment.java:
4539 More whitespace cleanups.
4541 2005-02-15 Michael Koch <konqueror@gmx.de>
4543 * gnu/java/awt/EmbeddedWindow.java,
4544 gnu/java/awt/image/ImageDecoder.java,
4545 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4546 java/awt/DefaultKeyboardFocusManager.java,
4547 java/awt/Frame.java,
4548 java/awt/image/RGBImageFilter.java,
4549 javax/swing/AbstractButton.java,
4550 javax/swing/ActionMap.java,
4551 javax/swing/ComponentInputMap.java,
4552 javax/swing/DefaultDesktopManager.java,
4553 javax/swing/ImageIcon.java,
4554 javax/swing/InputMap.java,
4555 javax/swing/JButton.java,
4556 javax/swing/JCheckBox.java,
4557 javax/swing/JCheckBoxMenuItem.java,
4558 javax/swing/JEditorPane.java,
4559 javax/swing/JMenu.java,
4560 javax/swing/JMenuItem.java,
4561 javax/swing/JOptionPane.java,
4562 javax/swing/JRootPane.java,
4563 javax/swing/JTable.java,
4564 javax/swing/MenuSelectionManager.java,
4565 javax/swing/RepaintManager.java,
4566 javax/swing/ScrollPaneLayout.java,
4567 javax/swing/SortingFocusTraversalPolicy.java,
4568 javax/swing/UIManager.java,
4569 javax/swing/ViewportLayout.java,
4570 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4571 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4572 javax/swing/plaf/basic/BasicLabelUI.java,
4573 javax/swing/plaf/basic/BasicListUI.java,
4574 javax/swing/plaf/basic/BasicMenuItemUI.java,
4575 javax/swing/plaf/basic/BasicMenuUI.java,
4576 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4577 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4578 javax/swing/plaf/basic/BasicRootPaneUI.java,
4579 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4580 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4581 javax/swing/plaf/basic/BasicTextUI.java,
4582 javax/swing/table/TableColumnModel.java,
4583 javax/swing/text/AbstractDocument.java,
4584 javax/swing/text/EditorKit.java,
4585 javax/swing/text/Position.java,
4586 javax/swing/text/Segment.java,
4587 javax/swing/text/StyledEditorKit.java,
4588 javax/swing/text/ViewFactory.java:
4589 Cleanup whitespace differences to classpath CVS HEAD.
4591 2005-02-15 Graydon Hoare <graydon@redhat.com>
4593 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4594 (finalize): Call finish from here.
4595 (produce): Not from here.
4596 * Makefile.am (gtk_c_source_files):
4597 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4598 * Makefile.in: Regenerate.
4599 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4601 (cairoDrawGdkTextLayout):
4603 (getPeerTextMetrics):
4604 (getPeerFontMetrics): Remove.
4605 (setFont): Don't call cairoSetFont.
4606 (cairoDrawGlyphVector): Accept font peer argument.
4607 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4608 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4609 (ensure_metrics_cairo):
4610 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4611 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4612 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4613 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4615 (metrics_surface): Remove.
4616 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4617 Pass and install font peer.
4619 2005-02-15 Graydon Hoare <graydon@redhat.com>
4621 * Makefile.am: Create "split library" structure.
4622 * Makefile.in: Regenerate.
4624 2005-02-15 Graydon Hoare <graydon@redhat.com>
4626 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4627 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4628 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4629 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4630 Release GDK lock during upcalls.
4632 2005-02-15 Graydon Hoare <graydon@redhat.com>
4634 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
4635 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
4636 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4637 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
4638 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
4639 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
4640 * gnu/java/awt/peer/gtk/GdkFontPeer.java
4643 (getTextMetrics): New native methods.
4644 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
4645 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
4646 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
4647 * Makefile.in: Regenerate.
4649 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4651 * javax/swing/SwingUtilities.java:
4652 (getAccessibleAt(java.awt.Component, java.awt.Point)):
4653 Implemented and documented.
4654 (getAccessibleChild(java.awt.Component, int)): Likewise.
4655 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
4656 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
4657 (getAccessibleStateSet(java.awt.Component)): Likewise.
4659 2005-02-15 Michael Koch <konqueror@gmx.de>
4661 * javax/swing/SwingUtilities.java
4662 (getFontMetrics): Removed.
4664 2005-02-15 Michael Koch <konqueror@gmx.de>
4666 * java/awt/Container.java
4667 (paramString): Implemented.
4668 * javax/swing/AbstractButton.java
4669 (paramString): Implemented.
4670 * javax/swing/JComponent.java
4671 (paramString): Implemented.
4672 * javax/swing/JMenu.java
4673 (paramString): Implemented.
4674 * javax/swing/JMenuBar.java
4675 (paramString): Implemented.
4676 * javax/swing/JMenuItem.java
4677 (paramString): Implemented.
4678 * javax/swing/JPopupMenu.java
4679 (paramString): Implemented.
4681 2005-02-15 Michael Koch <konqueror@gmx.de>
4683 * javax/swing/JMenu.java
4684 (uiClassID): Removed.
4685 (JMenu): Set invoker on popup menu.
4686 (getUIClassID): Return id directly.
4687 (getItemCount): Simply return getMenuComponentCount().
4689 (isTopLevelMenu): Simplified.
4690 * javax/swing/JMenuItem.java
4691 (uiClassID): Removed.
4692 (getUIClassID): Return id directly.
4693 * javax/swing/JPopupMenu.java
4694 (uiClassID): Removed.
4695 (JPopupMenu): Always initialize correctly.
4696 (getSubElements): Only return components implementing MenuElement
4698 (HeavyWeightPopup.hide): Removed.
4700 2005-02-15 Michael Koch <konqueror@gmx.de>
4702 * java/awt/image/ReplicateScaleFilter.java
4703 (replicatePixels): Made private.
4704 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
4705 (DefaultRGBChooserPanel): Made package private.
4706 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
4707 (RecentSwatchPanel): Likewise.
4708 * javax/swing/event/MouseInputAdapter.java: Reformatted.
4709 (MouseInputAdapter): Made abstract.
4710 * javax/swing/tree/DefaultMutableTreeNode.java
4712 (growTree): Likewise.
4714 2005-02-15 Michael Koch <konqueror@gmx.de>
4716 * java/awt/dnd/DropTarget.java (addDropTargetListener):
4719 2005-02-15 Michael Koch <konqueror@gmx.de>
4721 * javax/swing/JComponent.java (getComponentGraphics):
4722 Removed accidently commited code.
4724 2005-02-15 Graydon Hoare <graydon@redhat.com>
4726 * java/awt/dnd/DropTarget.java
4727 (addDropTargetListener): Despite documentation, do not throw.
4728 * javax/swing/JComponent.java: Set a default DropTarget.
4730 2005-02-15 Michael Koch <konqueror@gmx.de>
4732 * javax/swing/AbstractAction.java
4733 (ENABLED_PROPERTY): Removed.
4734 (setEnabled): Replaced constant with real string.
4735 * javax/swing/AbstractButton.java
4736 (createActionPropertyChangeListener.propertyChange): Likewise.
4737 * javax/swing/JComboBox.java
4738 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
4739 (EDITABLE_CHANGED_PROPERTY): Removed.
4740 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
4741 (ENABLED_CHANGED_PROPERTY):Likewise.
4742 (RENDERER_CHANGED_PROPERTY):Likewise.
4743 (EDITOR_CHANGED_PROPERTY):Likewise.
4744 (MODEL_CHANGED_PROPERTY):Likewise.
4745 (uiClassID):Likewise.
4746 (getUIClassID): Replaced constant with real string.
4747 (setModel):Likewise.
4748 (setEditable):Likewise.
4749 (setMaximumRowCount):Likewise.
4750 (setRenderer):Likewise.
4751 (setEditor):Likewise.
4752 (setEnabled):Likewise.
4753 * javax/swing/JLabel.java
4754 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
4755 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
4756 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
4757 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
4758 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
4759 (ICON_CHANGED_PROPERTY): Likewise.
4760 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
4761 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
4762 (TEXT_CHANGED_PROPERTY): Likewise.
4763 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
4764 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
4765 (setText): Replaced constant with real string.
4766 (setIcon): Likewise.
4767 (setDisabledIcon): Likewise.
4768 (setDisplayedMnemonic): Likewise.
4769 (setIconTextGap): Likewise.
4770 (setVerticalAlignment): Likewise.
4771 (setHorizontalAlignment): Likewise.
4772 (setVerticalTextPosition): Likewise.
4773 (setHorizontalTextPosition): Likewise.
4774 (setLabelFor): Replaced constant with real string.
4775 Fire property change event after property got changed.
4776 * javax/swing/JList.java
4777 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
4778 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
4779 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
4780 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
4781 (MODEL_PROPERTY_CHANGED): Likewise.
4782 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
4783 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
4784 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
4785 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
4786 (setFixedCellWidth): Reimplemented.
4787 (setFixedCellHeight): Exit if new value is identical.
4788 Replaced constant with real string.
4789 (setSelectionBackground): Likewise.
4790 (setSelectionForeground): Likewise.
4791 (setPrototypeCellValue): Likewise.
4792 (setCellRenderer): Replaced constant with real string.
4793 (setModel): Likewise.
4794 (setSelectionModel): Likewise.
4795 * javax/swing/JMenuBar.java
4796 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
4797 (MODEL_CHANGED_PROPERTY): Likewise.
4798 (MARGIN_CHANGED_PROPERTY): Likewise.
4799 (setBorderPainted): Reimplemented.
4800 (setMargin): Likewise.
4801 (setSelectionModel): Replaced constant with real string.
4802 * javax/swing/JPopupMenu.java
4803 (LABEL_CHANGED_PROPERTY): Removed.
4804 (VISIBLE_CHANGED_PROPERTY): Likewise.
4805 (borderPainted): Likewise.
4806 (setLabel): Replaced constant with real string.
4807 (setVisible): Exit if new value is identical.
4808 Replaced constant with real string.
4809 * javax/swing/JProgressBar.java
4810 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
4811 (ORIENTATION_CHANGED_PROPERTY): Likewise.
4812 (STRING_CHANGED_PROPERTY): Likewise.
4813 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
4814 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
4815 (setOrientation): Replaced constant with real string.
4816 (setStringPainted): Likewise.
4817 (setString): Likewise.
4818 (setBorderPainted): Likewise.
4819 (setIndeterminate): Likewise.
4820 * javax/swing/JScrollBar.java
4821 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
4822 (MODEL_CHANGED_PROPERTY): Likewise.
4823 (ORIENTATION_CHANGED_PROPERTY): Likewise.
4824 (setOrientation): Replaced constant with real string.
4825 (setModel): Likewise.
4826 (setUnitIncrement): Likewise.
4827 (setBlockIncrement): Likewise.
4828 * javax/swing/JScrollPane.java
4829 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
4830 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
4831 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
4832 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
4833 (LAYOUT_CHANGED_PROPERTY): Likewise.
4834 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
4835 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
4836 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
4837 (VIEWPORT_CHANGED_PROPERTY): Likewise.
4838 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
4839 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
4840 (setComponentOrientation): Replaced constant with real string.
4841 (setColumnHeader): Likewise.
4842 (setHorizontalScrollBar): Likewise.
4843 (setHorizontalScrollBarPolicy): Likewise.
4844 (setRowHeader): Likewise.
4845 (setVerticalScrollBar): Likewise.
4846 (setVerticalScrollBarPolicy): Likewise.
4847 (setWheelScrollingEnabled): Likewise.
4848 (setViewport): Likewise.
4849 (setViewportBorder): Likewise.
4850 * javax/swing/JSlider.java
4851 (INVERTED_CHANGED_PROPERTY): Removed.
4852 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
4853 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
4854 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
4855 (MODEL_CHANGED_PROPERTY): Likewise.
4856 (ORIENTATION_CHANGED_PROPERTY): Likewise.
4857 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
4858 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
4859 (setModel): Replaced constant with real string.
4860 (setOrientation): Likewise.
4861 (setLabelTable): Likewise.
4862 (setInverted): Likewise.
4863 (setMajorTickSpacing): Likewise.
4864 (setMinorTickSpacing): Likewise.
4865 (setPaintTicks): Likewise.
4866 (setPaintLabels): Likewise.
4867 * javax/swing/JTabbedPane.java
4868 (MODEL_CHANGED_PROPERTY): Removed.
4869 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
4870 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
4871 (setModel): Replaced constant with real string.
4872 (setTabPlacement): Likewise.
4873 (setTabLayoutPolicy): Likewise.
4874 * javax/swing/JToolBar.java
4875 (ORIENTATION_CHANGED_PROPERTY): Removed.
4876 (FLOATABLE_CHANGED_PROPERTY): Likewise.
4877 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
4878 (MARGIN_CHANGED_PROPERTY): Likewise.
4879 (ROLLOVER_CHANGED_PROPERTY): Likewise.
4880 (setRollover): Replaced constant with real string.
4881 (setMargin): Likewise.
4882 (setBorderPainted): Likewise.
4883 (setFloatable): Likewise.
4884 (setOrientation): Likewise.
4885 * javax/swing/plaf/basic/BasicComboBoxUI.java
4886 (PropertyChangeHandler.propertyChange): Likewise.
4887 * javax/swing/plaf/basic/BasicComboPopup.java
4888 (PropertyChangeHandler.propertyChange): Likewise.
4889 * javax/swing/plaf/basic/BasicMenuBarUI.java
4890 (PropertyChangeHandler.propertyChange): Likewise.
4891 * javax/swing/plaf/basic/BasicProgressBarUI.java
4892 (PropertyChangeHandler.propertyChange): Likewise.
4893 * javax/swing/plaf/basic/BasicScrollBarUI.java
4894 (PropertyChangeHandler.propertyChange): Likewise.
4895 * javax/swing/plaf/basic/BasicSliderUI.java
4896 (PropertyChangeHandler.propertyChange): Likewise.
4897 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4898 (PropertyChangeHandler.propertyChange): Likewise.
4899 * javax/swing/plaf/basic/BasicToolBarUI.java
4900 (PropertyChangeHandler.propertyChange): Likewise.
4902 2005-02-15 Michael Koch <konqueror@gmx.de>
4904 * javax/swing/DefaultButtonModel.java
4905 (changeState): Made private.
4906 * javax/swing/DefaultDesktopManager.java
4907 (setWasIcon): Fixed second argument to be java.lang.Boolean.
4908 * javax/swing/JLayeredPane.java
4909 (layerToRange): Made private.
4910 (incrLayer): Likewise.
4911 (decrLayer): Likewise.
4912 * javax/swing/JTable.java
4913 (dragEnabled): Likewise.
4914 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
4915 * javax/swing/KeyStroke.java
4916 (Keystroke): Made private.
4917 * javax/swing/TransferHandler.java
4918 (COMMAND_COPY): Likewise.
4919 (COMMAND_CUT): Likewise.
4920 (COMMAND_PASTE): Likewise.
4922 2005-02-15 Michael Koch <konqueror@gmx.de>
4924 * javax/swing/JTextField.java
4925 (postActionEvent): Use text in field when actionCommand is null.
4926 (getActionCommand): Removed.
4928 2005-02-15 Michael Koch <konqueror@gmx.de>
4930 * javax/swing/AbstractSet.java: Removed.
4931 * Makefile.am: Removed javax/swing/AbstractSet.java.
4932 * Makefile.in: Regenerated.
4934 2005-02-15 Michael Koch <konqueror@gmx.de>
4936 * java/awt/Window.java
4937 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
4938 * java/awt/dnd/DnDConstants.java
4939 (DnDConstants): New private constructor.
4941 2005-02-15 Michael Koch <konqueror@gmx.de>
4943 * javax/swing/DefaultCellRenderer.java: Removed.
4944 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
4945 * Makefile.in: Regenerated.
4947 2005-02-15 Michael Koch <konqueror@gmx.de>
4949 * javax/swing/AbstractButton.java
4950 (fireItemStateChanged): Made protected.
4951 (fireActionPerformed): Likewise.
4952 (fireStateChanged): Likewise.
4953 * javax/swing/DefaultButtonModel.java
4954 (fireItemStateChanged): Likewise.
4955 (fireActionPerformed): Likewise.
4956 (fireStateChanged): Likewise.
4957 * javax/swing/JApplet.java
4959 (frameInit): Likewise.
4960 (setRootPane): Made protected.
4961 (createRootPane): Likewise.
4962 * javax/swing/JComponent.java
4963 (getClientProperty): Likewise.
4964 (putClientProperty): Likewise.
4965 * javax/swing/JEditorPane.java
4966 (getContentType): Likewise.
4967 (setContentType): Likewise.
4968 * javax/swing/JFrame.java
4969 (setRootPane): Likewise.
4970 (createRootPane): Likewise.
4971 * javax/swing/JInternalFrame.java
4972 (getFocusCycleRootAncestor): Made final. Added @since tag.
4973 (isFocusCycleRoot): Likewise.
4974 (getWarningString): Made final.
4975 * javax/swing/JScrollBar.java
4976 (changeListener): Removed.
4977 (changeEvent): Likewise.
4978 (createChangeListener): Likewise.
4979 (fireStateChanged): Likewise.
4980 (addChangeListener): Likewise.
4981 (removeChangeListener): Likewise.
4982 (getChangeListeners): Likewise.
4983 * javax/swing/JScrollPane.java
4984 (createViewport): Made protected.
4985 * javax/swing/JViewport.java
4986 (addImpl): Likewise.
4987 (setBorder): New method.
4988 * javax/swing/JWindow.java
4989 (setRootPane): Made protected.
4990 (createRootPane): Likewise.
4991 * javax/swing/plaf/basic/BasicButtonUI.java
4992 (installListeners): Likewise.
4993 (uninstallListeners): Likewise.
4994 * javax/swing/plaf/basic/BasicProgressBarUI.java
4995 (incrementAnimationIndex): Likewise.
4996 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4997 (createLayoutManager): Likewise.
4998 * javax/swing/table/DefaultTableCellRenderer.java
4999 (firePropertyChange): Likewise.
5000 * javax/swing/table/JTableHeader.java
5001 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5003 * javax/swing/text/PlainDocument.java
5004 (reindex): Made private.
5005 * javax/swing/text/PlainView.java
5006 (drawLine): Made protected.
5007 (getTabSize): Likewise.
5008 * javax/swing/text/View.java
5010 (preferenceChanged): New method.
5011 (getBreakWeight): Likewise.
5012 (breakView): Likewise.
5013 (getViewIndex): Likewise.
5015 2005-02-15 Michael Koch <konqueror@gmx.de>
5017 * javax/swing/JScrollPane.java
5018 (ScrollBar): Made class protected.
5019 * javax/swing/JSpinner.java
5020 (JSpinner): Added @since tag.
5021 (listenerList): Removed.
5022 * javax/swing/JTable.java
5023 (setValueAt): New method.
5024 (getColumn): Likewise.
5025 * javax/swing/JWindow.java
5026 (rootPaneCheckingEnabled): Renamed from checking.
5028 2005-02-15 Michael Koch <konqueror@gmx.de>
5030 * javax/swing/plaf/basic/BasicTextUI.java
5031 (RootView.modelToView): Made it public and return a java.awt.Shape.
5032 Handle null subview.
5033 (uninstall): Set textComponent to null when its not possible used
5035 * javax/swing/text/View.java
5036 (setParent): Use better argument name.
5037 (getContainer): Get parent via getParent().
5038 (getViewFactory): Likewise.
5039 (getAttributes): Get element via getElement().
5040 (getStartOffset): Likewise.
5041 (getEndOffset): Likewise.
5042 (getResizeWeight): New method.
5043 (getMaximumSpan): Likewise.
5044 (getMinimumSpan): Likewise.
5045 (setSize): Likewise.
5046 (getGraphics): Likewise.
5048 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5050 * java/awt/Checkbox.java:
5051 (AccessibleAWTCheckbox()): Added public constructor
5053 * java/awt/Choice.java:
5054 (AccessibleAWTChoice): Added class documentation.
5055 (AccessibleAWTChoice()): Added public constructor
5057 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5058 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5059 and changed role to COMBO_BOX.
5060 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5061 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5062 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5064 2005-02-15 Graydon Hoare <graydon@redhat.com>
5065 Michael Koch <konqueror@gmx.de>
5067 * javax/swing/LayoutFocusTraversalPolicy.java,
5068 javax/swing/SortingFocusTraversalPolicy.java:
5070 * Makefile.am: Added new classes.
5071 * Makefike.in: Regenerated.
5074 2005-02-15 Michael Koch <konqueror@gmx.de>
5076 * javax/swing/DebugGraphics.java: Mostly implemented.
5078 2005-02-15 Michael Koch <konqueror@gmx.de>
5080 * javax/swing/SwingUtilities.java
5081 (findFocusOwner): New method.
5083 2005-02-15 Michael Koch <konqueror@gmx.de>
5085 * javax/swing/text/DefaultEditorKit.java
5086 (read): Added '\n' after each line.
5087 * javax/swing/text/PlainView.java
5088 (modelToView): Update metrics.
5089 (drawLine): Use offsets from element.
5090 (paint): Update metrics. Draw all lines.
5092 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5094 * java/awt/Checkbox.java:
5095 (AccessibleAWTCheckbox): Added class documentation
5096 * java/awt/Scrollbar.java:
5097 (AccessibleAWTScrollBar): typo corrected and docs added
5098 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5099 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5100 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5101 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5102 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5103 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5104 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5105 (getAccessibleContext()): name of accessible class corrected
5107 2005-02-15 Mark Wielaard <mark@klomp.org>
5109 * java/awt/BasicStroke.java (hashCode): Implement.
5112 2005-02-15 Michael Koch <konqueror@gmx.de>
5114 * java/awt/print/PrinterJob.java
5115 (pageDialog): Throws java.awt.HeadlessException.
5116 (printDialog): Likewise.
5118 2005-02-15 Mark Wielaard <mark@klomp.org>
5120 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5122 2005-02-15 Michael Koch <konqueror@gmx.de>
5124 * javax/swing/JTable.java
5125 (getValueAt): New method.
5126 * javax/swing/table/JTableHeader.java
5127 (columnAtPoint): New method.
5129 2005-02-15 Michael Koch <konqueror@gmx.de>
5131 * javax/swing/JTextField.java
5132 (actions): New field.
5133 (static): Initalize actions field.
5134 (getActions): New method.
5136 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5138 * java/awt/Checkbox.java:
5139 (AccessibleAWTCheckbox): name capitalization corrected
5140 and serialization UID added.
5141 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5143 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5144 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5145 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5146 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5147 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5148 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5149 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5150 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5151 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5152 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5153 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5155 (getAccessibleContext()): name of accessible class corrected
5157 2005-02-15 Sven de Marothy <sven@physto.se>
5159 * java/awt/geom/doc-files/Area-1.png,
5160 java/awt/geom/doc-files/Ellipse-1.png,
5161 java/awt/geom/doc-files/GeneralPath-1.png:
5164 2005-02-15 Graydon Hoare <graydon@redhat.com>
5166 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5167 Use union to avoid type-punning warning.
5169 2005-02-15 Michael Koch <konqueror@gmx.de>
5171 * javax/swing/DefaultListSelectionModel.java
5172 (clone): New method.
5174 2005-02-15 Mark Wielaard <mark@klomp.org>
5176 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5177 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5178 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5179 Correct method signature of gtkSetFilename.
5181 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5183 * javax/swing/text/StringContent.java: New file.
5185 2005-02-15 Michael Koch <konqueror@gmx.de>
5187 * Makefile.am: Added javax/swing/text/StringContent.java.
5188 * Makefile.in: Regenerated.
5190 2005-02-15 Michael Koch <konqueror@gmx.de>
5192 * gnu/java/awt/ClasspathToolkit.java:
5193 Import statements reworked.
5194 (imageCache): Made it of type java.util.HashMap.
5196 2005-02-15 Michael Koch <konqueror@gmx.de>
5198 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5199 Reworked import statements.
5201 2005-02-15 Graydon Hoare <graydon@redhat.com>
5203 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5204 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5205 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5206 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5207 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5208 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5209 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5210 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5211 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5212 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5213 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5214 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5215 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5216 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5217 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5218 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5219 Rewrite uses of extern variable to be function calls.
5220 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5221 function, from extern variable.
5222 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5223 (gdk_env): Remove variable, add new function.
5224 (java_vm): Add new variable.
5225 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5226 java_vm rather than old gdk_env variable.
5228 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5230 * javax/swing/DefaultListModel.java
5231 (add): fire correct event,
5232 (addElement): corrected interval indices in event,
5233 (clear): corrected upper bound for interval, only fire event if
5235 (setSize): fire appropriate event.
5237 2005-02-15 Graydon Hoare <graydon@redhat.com>
5239 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5240 * gnu/awt/xlib/XToolkit.java: Likewise.
5241 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5242 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5243 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5244 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5245 * java/awt/EventQueue.java (getNextEvent):
5246 Adjust event loop to switch to native mode after 100ms.
5247 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5248 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5249 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5250 Wake up event thread.
5251 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5252 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5253 Adjust event loop to switch to java mode after 100ms.
5255 2005-02-15 Graydon Hoare <graydon@redhat.com>
5257 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5258 accidentally removed in last change.
5260 2005-02-15 Michael Koch <konqueror@gmx.de>
5262 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5263 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5265 2005-02-15 Graydon Hoare <graydon@redhat.com>
5267 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5268 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5269 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5270 * jni.cc: Reuse bottom frame between calls, avoid clearing
5271 frame when no local references are made.
5273 2005-02-15 Michael Koch <konqueror@gmx.de>
5275 * javax/swing/UIDefaults.java (UIDefaults):
5276 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5277 Fixed HTML entity and removed a redundant comma.
5279 2005-02-15 Michael Koch <konqueror@gmx.de>
5281 * javax/swing/text/DefaultEditorKit.java
5282 (deinstall): Removed.
5283 (install): Likewise.
5285 2005-02-15 Michael Koch <konqueror@gmx.de>
5287 * javax/swing/UIDefaults.java (put): Handle value of null.
5289 2005-02-15 Michael Koch <konqueror@gmx.de>
5291 * java/awt/Robot.java,
5292 java/awt/Scrollbar.java,
5293 java/awt/print/PrinterJob.java,
5294 javax/swing/JTable.java,
5295 javax/swing/text/AbstractDocument.java:
5296 Reworked import statements.
5298 2005-02-15 Michael Koch <konqueror@gmx.de>
5300 * javax/swing/JEditorPane.java
5301 (read): Implemented.
5303 * javax/swing/text/DefaultEditorKit.java
5304 (page): Renamed from page_url. Made private.
5305 (editorKit): Renamed from kit. Made private.
5307 (JEditorPane): All constructors reimplemented.
5308 (getContentType): Use content type from editor kit.
5309 (getEditorKit): Return editorKit.
5310 (getEditorKitForContentType):Likewise.
5311 (getPage): Return page.
5312 (setContentType): Reimplemented.
5313 (setEditorKit): Likewise.
5314 (setEditorKitForContentType): Removed wrong implementation.
5315 (setPage): Implemented.
5317 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5319 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5320 (nativeSetIconImageFromData): Re-add native implementation.
5322 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5324 * javax/swing/table/DefaultTableModel.java
5325 (DefaultTableModel()): Added Javadocs.
5326 (DefaultTableModel(int, int)): Fixed implementation.
5327 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5328 for negative rowCount.
5329 (DefaultTableModel(Object[], int)): Added Javadocs.
5330 (DefaultTableModel(Vector, Vector)): Likewise.
5331 (DefaultTableModel(Object[][], Object[])): Likewise.
5332 (getDataVector): Likewise.
5333 (setDataVector(Vector, Vector)): Likewise.
5334 (setDataVector(Object[][], Object[])): Likewise.
5335 (newDataAvailable): Likewise.
5336 (newRowsAdded): Likewise.
5337 (rowsRemoved): Likewise.
5338 (setColumnIdentifiers(Vector)): Allow for null argument.
5339 (setColumnIdentifiers(Object[])): Added Javadocs.
5340 (setNumRows): Likewise.
5341 (setRowCount): Adds new rows if necessary, and sends more specific
5343 (setColumnCount): Allow for null columnIdentifiers.
5344 (addColumn(Object)): Added Javadocs.
5345 (addColumn(Object, Vector)): Handle null columnData.
5346 (addColumn(Object, Object[])): Handle columnData with more or less
5347 entries than rows in the table.
5348 (addRow(Vector)): Fire appropriate event.
5349 (addRow(Object[])): Added Javadocs.
5350 (insertRow(int, Vector)): Fire appropriate event.
5351 (insertRow(int, Object[])): Added Javadocs.
5352 (moveRow): Reimplemented.
5353 (removeRow(int)): Fire appropriate event.
5354 (getColumnCount): Allow for null columnIdentifiers.
5355 (getColumnName): Now returns empty string when column index is too
5357 (isCellEditable): Added Javadocs.
5358 (getValueAt): Likewise.
5359 (setValueAt): Fire more specific event.
5360 (convertToVector): Added Javadocs.
5361 * javax/swing/table/TableModel.java
5364 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5366 * libgcj.spec.in (lib): Add -l-javax-imageio.
5368 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5370 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5371 references to event queue q with method call q().
5372 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5373 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5374 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5375 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5376 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5377 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5380 2005-02-15 Graydon Hoare <graydon@redhat.com>
5382 * gnu/java/awt/ClasspathToolkit.java
5383 (registerImageIOSpis): New method.
5384 * gnu/java/awt/image/ImageDecoder.java
5385 (imageDecoder): New constructor using InputStream
5386 (startProduction): Handle existing InputStream.
5387 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5388 (findSimpleIntegerArray): Make public and static.
5389 (updateBufferedImage): Set each pixel, in a loop.
5390 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5391 Implement ImageIO SPI classes.
5392 (createBufferedImage): Rewrite in terms of SPI classes.
5393 * gnu/java/awt/peer/gtk/GtkToolkit.java
5394 (registerImageIOSpis): New method.
5395 * java/lang/reflect/natMethod.cc
5396 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5397 which lets JNI call interface methods properly.
5398 * javax/imageio/ImageIO.java
5399 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5400 (WriterMIMETypeFilter.filter): Likewise.
5401 (ImageReaderIterator): Pass extension argument through to SPI.
5402 (getReadersByFilter): Likewise.
5403 (getWritersByFilter): Likewise.
5404 (getImageReadersByFormatName): Likewise.
5405 (getImageReadersByMIMEType): Likewise.
5406 (getImageReadersBySuffix): Likewise.
5407 (getImageWritersByFormatName): Likewise.
5408 (getImageWritersByMIMEType): Likewise.
5409 (getImageWritersBySuffix): Likewise.
5412 * javax/imageio/ImageReader.java
5413 (progressListeners): Initialize.
5414 (setInput): Implement.
5415 * javax/imageio/ImageWriter.java
5416 (progressListeners): Initialize.
5417 (warningListeners): Likewise.
5418 (warningLocales): Likewise.
5419 (setOutput): Test "isInstance" rather than class equality.
5420 * javax/imageio/spi/IIORegistry.java
5421 (static): Add reader and writer SPIs.
5422 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5423 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5424 (query_formats): New function.
5425 (save_to_stream): Likewise.
5426 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5428 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5430 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5432 (keyPress): Likewise.
5433 (keyRelease): Likewise.
5435 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5437 * javax/swing/JTable.java
5438 (columnAtPoint): New Method. Implemented.
5439 (rowAtPoint): Likewise.
5440 (countSelections): Fixed few small count errors.
5441 (getSelections): Likewise.
5442 (setSelectionMode): Set selection mode for column
5443 selection model in addition to row selection model.
5444 * javax/swing/plaf/basic/BasicTableUI.java:
5445 (getRowForPoint): Removed. Replaced by
5446 JTable.rowAtPoint().
5447 (getColForPoint): Removed. Replaced by
5448 JTable.columnAtPoint().
5449 (updateSelection): Updated to call JTable.columnAtPoint
5450 and JTable.rowAtPoint.
5451 * javax/swing/table/DefaultTableColumnModel.java:
5452 (getSelectedColumns): Implemented.
5453 (getSelectedColumnCount): Implemented.
5455 2005-02-15 Graydon Hoare <graydon@redhat.com>
5458 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5459 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5460 * Makefile.in: Regenerate.
5461 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5462 * gnu/awt/xlib/XFramePeer.java: Likewise.
5463 * gnu/awt/xlib/XToolkit.java: Likewise.
5464 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5465 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5466 * gnu/java/awt/ClasspathToolkit.java
5469 (iterateNativeQueue): New methods.
5470 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5471 * gnu/java/awt/peer/gtk/GtkToolkit.java
5472 (gtkInit): Absorb from defunct GtkMainThread class.
5473 (static): Run gtkInit in static startup block.
5474 (GtkToolkit): Remove construction of GtkMainThread and queue.
5475 (getSystemEventQueueImpl): Construct queue when requested.
5478 (iterateNativeQueue): New methods.
5479 * java/awt/Component.java (removeNotify): Remove race.
5480 * java/awt/EventDispatchThread.java
5481 (EventDispatchThread): Don't start on construction.
5482 (run): Remove isInterrupted check.
5483 * java/awt/EventQueue.java (shutdown): New flag.
5484 (isShutdown): New method checking J2SE shutdown condition.
5485 (setShutdown): New method.
5486 (getNextEvent): Restructure to use ClasspathToolkit.
5487 (postEvent): Activate new thread on posting, wake thread on
5488 post of possible shutdown condition event.
5489 * java/awt/Frame.java
5490 (Frame): Call noteFrame in all constructors.
5491 (fireDummyEvent): New helper method.
5492 (addNotify): Fire a dummy event to wake up queue.
5493 (removeNotify): Fire a dummy event to wake up queue.
5494 (noteFrame): New method.
5495 (weakFrames): New static field.
5496 (getFrames): Implement.
5497 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5499 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5500 Move everything from GtkMainThread into this file
5501 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5502 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5503 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5504 New functions to implement single-threaded queue semantics.
5506 2005-02-15 Michael Koch <konqueror@gmx.de>
5508 * javax/swing/plaf/metal/MetalLookAndFeel.java
5509 (getControlTextFont): New method.
5510 (getMenuTextFont): Likewise.
5511 (getSubTextFont): Likewise.
5512 (getSystemTextFont): Likewise.
5513 (getUserTextFont): Likewise.
5514 (getWindowTitleFont): Likewise.
5516 2005-02-15 Michael Koch <konqueror@gmx.de>
5518 * javax/swing/text/AbstractDocument.java
5519 (documentFilter): New field.
5520 (getDocumentFilter): New method.
5521 (setDocumentFilter): Likewise.
5524 2005-02-15 Michael Koch <konqueror@gmx.de>
5526 * javax/swing/JTree.java
5527 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5529 2005-02-15 Michael Koch <konqueror@gmx.de>
5531 * javax/swing/text/AbstractDocument.java
5532 (AbstractElement.getLength): Fixed off-by-one error.
5533 (AbstractElement.children): Made abstract.
5534 (AbstractElement.getAllowsChildren): Likewise.
5535 (AbstractElement.getElement): Likewise.
5536 (AbstractElement.dumpElement): New private method.
5537 (AbstractElement.dump): New method.
5538 (BranchElememt.getName): Fixed implementation.
5539 (BranchElememt.toString): Likewise.
5540 (BranchElememt.getElement): Fixed arguments.
5541 (LeafElement.getName): Fixed implementation.
5542 (LeafElement.toString): Likewise.
5543 * javax/swing/text/GapContent.java
5544 (GapContent): Put default content into buffer.
5545 * javax/swing/text/PlainDocument.java
5546 (reindex): Use empty attribute sets instead of null.
5547 (createDefaultRoot): Reimplemented.
5548 (insertUpdate): Call super method.
5549 (removeUpdate): Likewise.
5550 (getParagraphElement): Implemented.
5552 2005-02-15 Michael Koch <konqueror@gmx.de>
5554 * gnu/java/awt/ClasspathToolkit.java
5555 (createRobot): Throws java.awt.AWTException.
5556 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5557 Added '__attribute__((unused))' to all unused method arguments.
5559 2005-02-15 Michael Koch <konqueror@gmx.de>
5561 * javax/swing/DefaultBoundedRangeModel.java
5562 (fireValueChanged): Fixed off-by-one error.
5564 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5566 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5567 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5569 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5570 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5571 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5572 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5573 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5574 (getDefaultScreenDevice): Implement.
5575 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5576 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5577 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5578 * java/awt/Robot.java: Implement.
5579 * java/awt/peer/RobotPeer.java: Rename parameters.
5580 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5581 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5582 (awt_keycode_to_keysym): Make non-static.
5583 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5584 AWT_BUTTON3_MASK): Declare constants.
5585 (awt_keycode_to_keysym): Declare.
5587 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5588 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5589 and is non-empty pass its value to "make check".
5590 (test_mauve_sim): Likewise.
5592 2005-02-15 Michael Koch <konqueror@gmx.de>
5594 * javax/imageio/IIOParam.java
5595 (setSourceBands): New method.
5596 (setSourceSubsampling): Likewise.
5597 * javax/imageio/ImageReadParam.java
5598 (setDestination): Likewise.
5599 (setDestinationBands): Likewise.
5600 (setSourceProgressivePasses): Likewise.
5601 * javax/imageio/metadata/IIOInvalidTreeException.java
5602 (serialVersionUID): New static field.
5603 * javax/imageio/metadata/IIOMetadataNode.java
5604 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5605 (parent): Dont initailize with default value explicitely.
5607 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5608 (removeAttributeNode): Likewise.
5609 (removeAttributeNS): Likewise.
5610 (setAttribute): Likewise.
5611 (setAttributeNode): Likewise.
5612 (setAttributeNodeNS): Likewise.
5613 (setAttributeNS): Likewise.
5614 (appendChild): Likewise.
5615 (getNodeValue): Likewise.
5616 (insertBefore): Likewise.
5617 (removeChild): Likewise.
5618 (replaceChild): Likewise.
5619 (setPrefix): Likewise.
5621 2005-02-15 Michael Koch <konqueror@gmx.de>
5623 * javax/swing/LookAndFeel.java
5624 (getDesktopPropertyValue): New method.
5626 2005-02-15 Michael Koch <konqueror@gmx.de>
5628 * javax/swing/JTree.java
5629 (hasChildren): New instance field.
5631 2005-02-15 Michael Koch <konqueror@gmx.de>
5633 * javax/swing/JComponent.java
5634 (getToolTipText): New method.
5635 (getTitledBorderText): Likewise.
5636 (getAccessibleKeyBinding): Likewise.
5637 (getVerifyInputWhenFocusTarget): Likewise.
5638 (setVerifyInputWhenFocusTarget): Likewise.
5639 (verifyInputWhenFocusTarget): New instance field.
5641 2005-02-15 Michael Koch <konqueror@gmx.de>
5643 * javax/swing/DefaultListSelectionModel.java
5644 (fireValueChanged): New method.
5646 2005-02-15 Michael Koch <konqueror@gmx.de>
5648 * javax/swing/DefaultBoundedRangeModel.java:
5649 Fixed javadocs all over.
5650 (fireStateChanged): Simplified.
5651 * javax/swing/BoundedRangeModel.java:
5654 2005-02-15 Michael Koch <konqueror@gmx.de>
5656 * javax/swing/JRootPane.java
5657 (setMenuBar): Added @deprecated tag.
5658 (getMenuBar): Likewise.
5659 * javax/swing/JTable.java
5660 (sizeColumnsToFit): Likewise.
5662 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
5664 * javax/swing/ImageIcon.java (setImage): Implemented.
5666 2005-02-15 Michael Koch <konqueror@gmx.de>
5668 * javax/swing/JTable.java:
5669 Removed unused imports.
5671 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5673 (prepareRenderer): Get column's index in dataModel instead
5674 of column's view index.
5675 (getColumnCount): return count of the columns in ColumnModel,
5677 (removeColumn): Implemented.
5678 (moveColumm): Likewise.
5679 (setRowHeight): throw IllegalArgumentException if height is
5681 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
5682 (DefaultTableColumnModel):Add call to createSelectionModel().
5683 (addColumn): Fire columnAdded event to registered listeners.
5684 (removeColumn): Fire columnRemoved event to registered listeners.
5685 (moveColumn): Fire columnMoved event to registered listeners.
5686 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
5687 (getColumnIndex): Changed parameter name.
5688 (setColumnSelectionAllowed): Likewise.
5689 (fireColumnAdded): Implemented.
5690 (fireColumnRemoved): Likewise.
5691 (fireColumnMoved): Likewise.
5692 (fireColumnMarginChanged): Likewise.
5693 (getListeners): Changed parameter name.
5694 (propertyChange): Implemented.
5695 (valueChanged): Changed parameter name.
5696 (createSelectionModel): Implemented.
5698 2005-02-15 Michael Koch <konqueror@gmx.de>
5700 * gnu/java/awt/peer/gtk/GtkToolkit.java:
5701 Explicitely import used classes.
5702 (getLocalGraphicsEnvironment): Simplify.
5703 * java/awt/Window.java (Window):
5704 Enable code to get the default GraphicsConfiguration.
5706 2005-02-15 Michael Koch <konqueror@gmx.de>
5708 * javax/swing/plaf/metal/DefaultMetalTheme.java
5709 (CONTROL_TEXT_FONT): New static field.
5710 (MENU_TEXT_FONT): Likewise.
5711 (SUB_TEXT_FONT): Likewise.
5712 (SYSTEM_TEXT_FONT): Likewise.
5713 (USER_TEXT_FONT): Likewise.
5714 (WINDOW_TITLE_FONT): Likewise.
5715 (getControlTextFont): New method.
5716 (getMenuTextFont): Likewise.
5717 (getSubTextFont): Likewise.
5718 (getSystemTextFont): Likewise.
5719 (getUserTextFont): Likewise.
5720 (getWindowTitleFont): Likewise.
5721 * javax/swing/plaf/metal/MetalTheme.java
5722 (BLACK): Initialize with Color.BLACK.
5723 (WHITE): Initialize with Color.WHITE.
5724 (getInactiveControlTextColor): Return getControlDisabled().
5725 (getMenuDisabledForeground): Return getSecondary3().
5726 (getControlTextFont): New abstract method.
5727 (getMenuTextFont): Likewise.
5728 (getSubTextFont): Likewise.
5729 (getSystemTextFont): Likewise.
5730 (getUserTextFont): Likewise.
5731 (getWindowTitleFont): Likewise.
5733 2005-02-15 Michael Koch <konqueror@gmx.de>
5735 * javax/swing/JFormattedTextField.java
5736 (getFocusLostBehavior): Fixed typo in method name.
5737 (setFocusLostBehavior): Likewise.
5739 2005-02-15 Michael Koch <konqueror@gmx.de>
5741 * javax/swing/TransferHandler.java:
5742 Reworked import statements.
5744 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5746 * java/awt/Button.java,
5747 java/awt/Canvas.java,
5748 java/awt/Checkbox.java,
5749 java/awt/CheckboxMenuItem.java,
5750 java/awt/Choice.java,
5751 java/awt/Dialog.java,
5752 java/awt/Frame.java,
5753 java/awt/Label.java,
5756 java/awt/MenuBar.java,
5757 java/awt/MenuItem.java,
5758 java/awt/PopupMenu.java,
5759 java/awt/ScrollPane.java,
5760 java/awt/Scrollbar.java,
5761 java/awt/TextArea.java,
5762 java/awt/Window.java (getAccessibleContext): Clean up comments.
5764 * java/awt/Button.java,
5765 java/awt/Checkbox.java,
5766 java/awt/Choice.java,
5768 java/awt/PopupMenu.java,
5769 java/awt/TextArea.java (getAccessibleContext): Only create new
5771 * java/awt/TextComponent.java (getAccessibleContext): Implement.
5773 2005-02-15 Michael Koch <konqueror@gmx.de>
5775 * java/awt/Button.java,
5776 javax/swing/JApplet.java,
5777 javax/swing/JFormattedTextField.java,
5778 javax/swing/JWindow.java,
5779 javax/swing/JTree.java,
5780 javax/swing/plaf/basic/BasicEditorPaneUI.java,
5781 javax/swing/plaf/basic/BasicTextPaneUI.java,
5782 javax/swing/plaf/basic/BasicTreeUI.java:
5783 Reworked import statements.
5785 2005-02-15 Michael Koch <konqueror@gmx.de>
5787 * Makefile.am: Put javax.imageio into its own library and link it
5788 against lib-org-w3c-dom.la to fix bootstrapping.
5789 * Makefile.in: Regenerated.
5791 2005-02-15 Michael Koch <konqueror@gmx.de>
5793 * javax/swing/text/TextAction.java
5794 (getTextComponent): Simplified. Added Javadoc.
5795 (augmentList): Implemented. Added Javadoc.
5796 (getFocusedComponent): Added javadoc.
5798 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5800 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
5801 getAccessibleContext): Implement.
5802 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
5803 getAccessibleContext): Implement.
5805 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5807 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
5809 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
5811 * java/awt/Window.java (getAccessibleContext): Fix comment.
5812 Remove extra import.
5814 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5816 * java/awt/Window.java (AccessibleAWTWindow): Implement.
5817 (isActive, isFocused, getAccessibleContext): Implement.
5819 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5821 * java/awt/MenuItem.java (getAccessibleContext): Implement.
5822 * java/awt/MenuComponent.java (accessibleContext): Make package
5824 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
5825 AccessibleAWTCheckboxMenuItem): Implement.
5827 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5829 * java/awt/List.java: Implement AccessibleAWTList,
5830 AccessibleAWTListChild.
5832 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5834 * java/awt/Choice.java: Add implements declaration for
5837 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5839 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
5842 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5844 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
5845 implemented interface list.
5847 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5849 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
5850 * javax/imageio/metadata/IIOAttr.java: New class.
5851 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
5852 * javax/imageio/metadata/IIONodeList.java: New class.
5853 * Makefile.am: Added new files.
5854 * Makefile.in: Regenerated.
5856 2005-02-15 Michael Koch <konqueror@gmx.de>
5858 * javax/swing/AbstractAction.java,
5859 javax/swing/AbstractCellEditor.java,
5860 javax/swing/AbstractListModel.java,
5861 javax/swing/DefaultBoundedRangeModel.java,
5862 javax/swing/DefaultButtonModel.java,
5863 javax/swing/DefaultCellEditor.java,
5864 javax/swing/DefaultComboBoxModel.java,
5865 javax/swing/DefaultDesktopManager.java,
5866 javax/swing/JMenu.java,
5867 javax/swing/JSlider.java,
5868 javax/swing/KeyStroke.java,
5869 javax/swing/OverlayLayout.java,
5870 javax/swing/ScrollPaneLayout.java,
5871 javax/swing/SizeRequirements.java,
5872 javax/swing/ViewportLayout.java:
5873 Made serialVersionUID private.
5875 2005-02-15 Michael Koch <konqueror@gmx.de>
5877 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
5880 2005-02-15 Michael Koch <konqueror@gmx.de>
5882 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
5884 2005-02-15 Michael Koch <konqueror@gmx.de>
5886 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
5888 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
5890 * java/awt/EventDispatchThread.java,
5891 java/awt/Toolkit.java:
5892 Don't catch java.lang.ThreadDeath.
5894 2005-02-15 Michael Koch <konqueror@gmx.de>
5896 * javax/swing/text/PasswordView.java
5897 (drawEchoCharacter): Added javadoc.
5898 (drawSelectedText): Likewise.
5899 (drawUnselectedText): Likewise.
5901 2005-02-15 Michael Koch <konqueror@gmx.de>
5903 * javax/swing/JRootPane.java
5904 (windowDecorationStyle): New field.
5905 (setMenuBar): New method.
5906 (getMenuBar): Likewise.
5907 (getWindowDecorationStyle): Likewise.
5908 (setWindowDecorationStyle): Likewise.
5910 2005-02-15 Michael Koch <konqueror@gmx.de>
5912 * javax/swing/DefaultListSelectionModel.java
5913 (leadAnchorNotificationEnabled): Made protected.
5915 2005-02-15 Michael Koch <konqueror@gmx.de>
5917 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
5918 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
5919 * Makefile.in: Regenerated.
5922 2005-02-15 Michael Koch <konqueror@gmx.de>
5924 * javax/swing/JFormattedTextField.java: Implemented.
5925 * javax/swing/JWindow.java
5926 (JWindow): New constructors.
5927 (initWindow): Renamed from initFrame.
5928 * javax/swing/UIDefaults.java
5929 (ActiveValue): Made interface static.
5930 (LazyValue): Likewise.
5931 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5932 (TitlePaneLayout.TitlePaneLayout): New constructor.
5933 * javax/swing/plaf/basic/BasicSliderUI.java
5934 (ChangeHandler): Made public.
5935 (FocusHandler): Likewise.
5936 (PropertyChangeHandler): Likewise.
5937 (ScrollListener): Likewise.
5938 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5939 (FocusHandler): Likewise.
5940 (MouseHandler): Likewise.
5941 * javax/swing/plaf/basic/BasicTextPaneUI.java
5942 (BasicTextPaneUI): Extend BasicEditorPaneUI.
5943 * javax/swing/plaf/basic/BasicToolBarUI.java
5944 (BasicToolBarUI): Simplified. Reworked javadoc.
5945 (canDock): Simplified. Make public.
5946 (DockingListener): Made public.
5947 * javax/swing/text/JTextComponent.java
5948 (navigationFilter): New field.
5949 (getNavigationFilter): New method.
5950 (setNavigationFilter): Likewise.
5952 2005-02-15 Michael Koch <konqueror@gmx.de>
5954 * javax/swing/plaf/metal/MetalTheme.java
5955 (getControlTextColor): Return getControlInfo().
5956 (getHighlightedTextColor): Return getControlTextColor().
5958 2005-02-15 Michael Koch <konqueror@gmx.de>
5960 * javax/swing/plaf/basic/BasicButtonListener.java
5961 (BasicButtonListener): New constructor.
5962 * javax/swing/plaf/basic/BasicButtonUI.java
5963 (createButtonListener): Usw new BasicButtonListener constructor.
5965 2005-02-15 Michael Koch <konqueror@gmx.de>
5967 * javax/imageio/event/package.html,
5968 javax/imageio/metadata/package.html: New files.
5970 2005-02-15 Michael Koch <konqueror@gmx.de>
5972 * java/awt/image/MemoryImageSource.java: Reformatted.
5974 2005-02-15 Michael Koch <konqueror@gmx.de>
5976 * javax/swing/tree/TreeCellEditor.java: Refomatted.
5978 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
5980 * java/awt/color/ICC_Profile.java
5981 (finalize): Removed pointless field assignments.
5983 2005-02-15 Michael Koch <konqueror@gmx.de>
5985 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
5986 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
5987 * Makefile.in: Regenerated.
5989 2005-02-15 Michael Koch <konqueror@gmx.de>
5991 * javax/swing/text/DefaultStyledDocument.java: New file.
5992 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
5993 * Makefile.in: Regenerated.
5995 2005-02-15 Michael Koch <konqueror@gmx.de>
5997 * javax/swing/JFileChooser.java
5998 (showDialog): Return CANCEL_OPTION for now.
5999 (showOpenDialog): Likewise.
6000 (showSaveDialog): Likewise.
6002 2005-02-15 Michael Koch <konqueror@gmx.de>
6004 * javax/swing/JApplet.java
6005 (HIDE_ON_CLOSE): Removed.
6006 (EXIT_ON_CLOSE): Likewise.
6007 (DISPOSE_ON_CLOSE): Likewise.
6008 (DO_NOTHING_ON_CLOSE): Likewise.
6009 (close_action): Likewise.
6010 (getDefaultCloseOperation): Likewise.
6011 (setDefaultCloseOperation): Likewise.
6012 (processWindowEvent): Likewise.
6013 (getPreferredSize): Simplified.
6014 * javax/swing/JInternalFrame.java
6015 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6017 * javax/swing/JWindow.java
6018 (HIDE_ON_CLOSE): Removed.
6019 (EXIT_ON_CLOSE): Likewise.
6020 (DISPOSE_ON_CLOSE): Likewise.
6021 (DO_NOTHING_ON_CLOSE): Likewise.
6022 (close_action): Likewise.
6023 (processKeyEvent): Likewise.
6024 (setDefaultCloseOperation): Likewise.
6025 (getPreferredSize): Simplified.
6027 2005-02-15 Michael Koch <konqueror@gmx.de>
6029 * javax/swing/JTextField.java
6030 (getPreferredSize): Re-implemented.
6032 2005-02-15 Michael Koch <konqueror@gmx.de>
6034 * javax/swing/JLabel.java
6035 (setDisplayedMnemonic): Use only upper case characters.
6036 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6037 PropertyChangeEvent after property got set to the new index.
6039 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6041 * javax/swing/JComboBox.java:
6042 (JComboBox): Removed selection of the
6043 first item in the model.
6045 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6047 * javax/swing/JComboBox.java
6048 added support for no item being selected
6049 (JComboBox): select first or nothing depending on element count
6050 (setModel): cleaned up unneeded "this." usage, added more
6051 docs, made exception behavior match that of the JDK
6052 (setLighWeightPopupEnabled): removed unneeded "this." usage
6054 (setMaximumRowCount): dito
6056 (setPrototypeDisplayValue): dito
6057 (getSelectedItem): simplified, added more user doc
6058 (setSelectedIndex): corrected exception behavior, added more user doc
6059 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6060 added performance warning to user doc
6061 (addItem): fixed exception behavior, added user doc
6062 (insertItemAt): dito
6064 (removeItemAt): dito
6065 (removeAll): fixed exception behavior, added user doc, added support
6066 for model not being instance of DefaultComboBoxModel
6067 (getSelectedItemObjects): simplified
6068 (getItemCount): fixed dependency on DefaultComboBoxModel
6069 (getItemAt): fixed dependency on MutableComboBoxModel
6070 * javax/swing/DefaultComboBoxModel.java:
6071 (setSelectedItem): updates selected item only if new
6072 value is null or known (match JDK behavior)
6073 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6074 (paintCurrentValue): renders "" if no item is selected
6076 2005-02-15 Michael Koch <konqueror@gmx.de>
6078 * javax/swing/plaf/metal/MetalTheme.java,
6079 javax/swing/plaf/metal/DefaultMetalTheme.java:
6081 * javax/swing/plaf/metal/MetalLookAndFeel.java
6082 * Makefile.am: Added the new files.
6083 * Makefile.in: Regenerated.
6085 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6087 * javax/swing/JTable.java
6088 (editorComp): New field.
6089 (JTable): Initialize local variables and call updateUI
6090 (selectionBackground): Make protected.
6091 (selectionForeground): Likewise.
6092 (initializeLocalVars): Create default editors and renderers,
6093 initialize editingColumn, editingRow variables.
6094 (createDefaultEditors): New Method.
6095 (createDefaultRenderers): Likewise.
6096 (createDefaultListSelectionModel): Removed
6097 (createDefaultSelectionModel): New Method.
6098 (createDefaultTableHeader): Likewise
6099 (removeColumn): Likewise.
6100 (getEditingColumn): Likewise.
6101 (setEditingColumn): Likewise.
6102 (getEditingRow): Likewise.
6103 (setEditingRow): Likewise.
6104 (getEditorComponent): Likewise.
6105 (isEditing): Likewise.
6106 (setDefaultEditor): Likewise.
6107 (addColumnSelectionInterval): Likewise.
6108 (addRowSelectionInterval): Likewise.
6109 (setColumnSelectionInterval): Likewise.
6110 (setRowSelectionInterval): Likewise.
6111 (removeColumnSelectionInterval): Likewise.
6112 (removeRowSelectionInterval): Likewise.
6113 (isColumnSelected): Likewise.
6114 (isRowSelected): Likewise.
6115 (isCellSelected): Likewise.
6116 (selectAll): Likewise.
6118 2005-02-15 Michael Koch <konqueror@gmx.de>
6120 * javax/swing/JTable.java
6121 (addColumn): New method.
6122 (getColumnClass): Likewise.
6123 (getColumnName): Likewise.
6125 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6127 * javax/swing/TransferHandler.java
6128 (createTransferable): Made protected.
6130 2005-02-15 Michael Koch <konqueror@gmx.de>
6132 * javax/swing/JTable.java,
6133 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6134 javax/swing/plaf/basic/BasicTableUI.java:
6135 Use fixed get/setIntercellSpacing() methods.
6137 2005-02-15 Michael Koch <konqueror@gmx.de>
6139 * javax/swing/JTable.java
6140 (getIntercellSpacing): Fixed typo in method name.
6141 (setIntercellSpacing): Likewise.
6143 2005-02-15 Michael Koch <konqueror@gmx.de>
6145 * javax/swing/text/JTextComponent.java
6146 (focusAccelerator): New variable.
6147 (getFocusAccelerator): New method.
6148 (setFocusAccelerator): Likewise.
6150 2005-02-15 Michael Koch <konqueror@gmx.de>
6152 * javax/swing/JComponent.java
6153 (setTransferHandler): Made public. Fire property change event.
6154 * javax/swing/TransferHandler.java: Implemented.
6155 * javax/swing/text/JTextComponent.java
6156 (DefaultTransferHandler): New inner class.
6157 (defaultTransferHandler): New variable.
6161 (doTransferAction): Likewise.
6163 2005-02-15 Michael Koch <konqueror@gmx.de>
6165 * javax/swing/JTree.java
6166 (collapsePath): New method.
6167 (collapseRow): Likewise.
6168 (expandPath): Likewise.
6169 (expandRow): Likewise.
6170 (checkExpandParents): Likewise.
6171 (doExpandParents): Likewise.
6172 (setExpandedState): Likewise.
6173 (makeVisible): Likewise.
6175 2005-02-15 Michael Koch <konqueror@gmx.de>
6177 * javax/swing/JPasswordField.java: Updated javadocs.
6179 2005-02-15 Michael Koch <konqueror@gmx.de>
6181 * javax/swing/JLayeredPane.java
6182 (getLayer): Fixed return type, made public.
6183 (getPosition): Use new getLayer().
6184 (SetPosition): Likewise.
6185 (getIndexOf): Likewise.
6187 * javax/swing/JInternalFrame.java
6188 (getLayer): Use new JLayeredPane.getLayer().
6191 2005-02-15 Michael Koch <konqueror@gmx.de>
6193 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6194 (setHeaderValue): Simplified. Do nothing when old value == new value.
6196 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6198 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6199 against null clip region.
6200 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6201 gtkWindowSetResizable.
6202 (postConfigureEvent): Only revalidate if frame size has changed.
6203 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6204 Only revalidate if frame size has changed.
6205 * java/awt/Component.java (reshape): Only repaint and post
6206 component events if component is showing.
6207 * java/awt/Container.java (addImpl): Only post container event if
6208 container is showing.
6210 * java/awt/Window.java (setLocationRelativeTo): Implement.
6211 (setBoundsCallback): Only post component events if component is
6213 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6214 Protect against null graphics structure. Flush gdk event queue.
6216 2005-02-15 Michael Koch <konqueror@gmx.de>
6218 * javax/imageio/ImageReader.java,
6219 javax/imageio/ImageTranscoder.java,
6220 javax/imageio/ImageWriter.java,
6221 javax/imageio/spi/ImageInputStreamSpi.java,
6222 javax/imageio/spi/ImageOutputStreamSpi.java,
6223 javax/imageio/spi/ServiceRegistry.java,
6224 javax/imageio/stream/ImageInputStream.java,
6225 javax/imageio/stream/ImageOutputStream.java: Updated.
6226 * javax/imageio/IIOException.java,
6227 javax/imageio/IIOImage.java,
6228 javax/imageio/IIOParam.java,
6229 javax/imageio/IIOParamController.java,
6230 javax/imageio/ImageIO.java,
6231 javax/imageio/ImageReadParam.java,
6232 javax/imageio/ImageTypeSpecifier.java,
6233 javax/imageio/ImageWriteParam.java,
6234 javax/imageio/spi/IIORegistry.java,
6235 javax/imageio/spi/ImageReaderSpi.java,
6236 javax/imageio/spi/ImageWriterSpi.java,
6237 javax/imageio/stream/FileCacheImageInputStream.java,
6238 javax/imageio/stream/FileCacheImageOutputStream.java,
6239 javax/imageio/stream/FileImageInputStream.java,
6240 javax/imageio/stream/FileImageOutputStream.java,
6241 javax/imageio/stream/ImageInputStreamImpl.java,
6242 javax/imageio/stream/ImageOutputStreamImpl.java,
6243 javax/imageio/stream/MemoryCacheImageInputStream.java,
6244 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6245 javax/imageio/event/IIOReadProgressListener.java,
6246 javax/imageio/event/IIOReadUpdateListener.java,
6247 javax/imageio/event/IIOReadWarningListener.java,
6248 javax/imageio/event/IIOWriteProgressListener.java,
6249 javax/imageio/event/IIOWriteWarningListener.java,
6250 javax/imageio/metadata/IIOMetadata.java,
6251 javax/imageio/metadata/IIOMetadataController.java,
6252 javax/imageio/metadata/IIOMetadataFormat.java,
6253 javax/imageio/metadata/IIOInvalidTreeException.java,
6254 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6255 javax/imageio/metadata/IIOMetadataNode.java: New files.
6256 * Makefile.am (javax_source_files): Added new files
6257 * Makefile.in: Regenerated.
6259 2005-02-15 Graydon Hoare <graydon@redhat.com>
6261 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6262 Rework painting into BufferedImages
6263 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6264 Construct BufferedImage with alpha only when alpha is
6265 present in colormodel.
6266 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6267 Rework painting into client-side jint arrays.
6268 * jni/gtk-peer/gtkcairopeer.h:
6271 2005-02-15 Michael Koch <konqueror@gmx.de>
6273 * javax/swing/DefaultListCellRenderer.java
6274 (serialVersionUID): Made private.
6275 (getListCellRendererComponent): Set horizontal alignment.
6276 * javax/swing/JLabel.java
6277 (setVerticalAlignment): Re-implemented.
6278 (setHorizontalAlignment): Do nothing if old value = new value.
6279 * javax/swing/JList.java
6280 (setCellRenderer): Likewise.
6281 (setModel): Re-implemented.
6282 (setSelectionModel): Likewise.
6284 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6286 * java/awt/Component.java,
6287 java/awt/geom/Rectangle2D.java:
6290 2005-02-15 Michael Koch <konqueror@gmx.de>
6292 * javax/swing/AbstractListModel.java
6293 (fireContentsChanged): Simplified.
6294 (fireIntervalAdded): Likewise.
6295 (fireIntervalRemoved): Likewise.
6296 * javax/swing/DefaultSingleSelectionModel.java:
6298 (fireStateChanged): Simplified.
6299 * javax/swing/JPopupMenu.java
6300 (setSelectionModel): Set property.
6302 2005-02-15 Michael Koch <konqueror@gmx.de>
6304 * java/awt/print/Book.java: Reformatted.
6306 2005-02-15 Michael Koch <konqueror@gmx.de>
6308 * java/awt/geom/Area.java
6309 (QuadSegment.curveArea): Remove unused variables.
6310 (CubicSegment.curveArea): Likewise.
6312 2005-02-15 Michael Koch <konqueror@gmx.de>
6314 * javax/swing/JTree.java
6315 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6316 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6317 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6318 (EXPANDED): New constant.
6319 (COLLAPSED): Likewise.
6320 (nodeStates): New field.
6321 (cellEditor): New method.
6322 (cellRenderer): Likewise.
6323 (selectionModel): Likewise.
6324 (treeModel): Likewise.
6325 (scrollPathToVisible): Likewise.
6326 (scrollRowToVisible): Likewise.
6327 (isCollapsed): Likewise.
6328 (isExpanded): Likewise.
6329 (clearToggledPaths): Likewise.
6330 (getDescendantToggledPaths): Likewise.
6331 (hasBeenExpanded): Likewise.
6332 (isVisible): Likewise.
6333 (isPathEditable): Likewise.
6335 2005-02-15 Michael Koch <konqueror@gmx.de>
6337 * javax/swing/JLayeredPane.java: Reformatted.
6339 2005-02-15 Michael Koch <konqueror@gmx.de>
6341 * javax/swing/tree/DefaultMutableTreeNode.java:
6343 * javax/swing/tree/MutableTreeNode.java:
6346 2005-02-15 Michael Koch <konqueror@gmx.de>
6348 * javax/swing/JFormattedTextField.java
6349 (setDocument): Call setDocument of super class. Don't fire property
6352 2005-02-15 Sven de Marothy <sven@physto.se>
6354 * java/awt/image/IndexColorModel.java:
6355 Add FIXME with respect to alpha handling.
6356 (getAlpha): Default to returning opaque pixels.
6357 * java/awt/image/MultiPixelPackedSampleModel.java
6358 (MultiPixelPackedSampleModel): Corrected parameters, order of
6359 bit shifts and masks, stride length off by one.
6361 2005-02-15 Michael Koch <konqueror@gmx.de>
6363 * javax/swing/JList.java, javax/swing/JTree.java:
6364 Added much new methods and fixed much methods setting bound properties.
6366 2005-02-16 Mark Wielaard <mark@klomp.org>
6368 * Makefile.am (gnu_xml_source_files): Removed
6369 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6370 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6371 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6372 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6373 gnu/xml/dom/DomDocumentFragment.java,
6374 gnu/xml/dom/DomProcessingInstruction.java and
6375 gnu/xml/dom/ls/DomLSException.java.
6376 * Makefile.in: Regenerated.
6378 2005-02-16 Tom Tromey <tromey@redhat.com>
6380 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6381 attribute index is out of bounds.
6383 2005-02-16 Chris Burdess <dog@gnu.org>
6385 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6386 isDeclared methods. Improved performance of isSpecified methods.
6388 2005-02-16 Chris Burdess <dog@gnu.org>
6390 Fixes bug libgcj/19864
6391 * gnu/xml/dom/DomAttr.java,
6392 gnu/xml/dom/DomCDATA.java,
6393 gnu/xml/dom/DomCDATASection.java,
6394 gnu/xml/dom/DomCharacterData.java,
6395 gnu/xml/dom/DomDOMException.java,
6396 gnu/xml/dom/DomDoctype.java,
6397 gnu/xml/dom/DomDocument.java,
6398 gnu/xml/dom/DomDocumentConfiguration.java,
6399 gnu/xml/dom/DomDocumentFragment.java,
6400 gnu/xml/dom/DomElement.java,
6401 gnu/xml/dom/DomEx.java,
6402 gnu/xml/dom/DomFragment.java,
6403 gnu/xml/dom/DomImpl.java,
6404 gnu/xml/dom/DomIterator.java,
6405 gnu/xml/dom/DomNamedNodeMap.java,
6406 gnu/xml/dom/DomNode.java,
6407 gnu/xml/dom/DomNsNode.java,
6408 gnu/xml/dom/DomPI.java,
6409 gnu/xml/dom/DomProcessingInstruction.java,
6410 gnu/xml/dom/DomText.java,
6411 gnu/xml/dom/DomLSEx.java,
6412 gnu/xml/dom/DomLSException.java,
6413 gnu/xml/dom/DomLSParser.java,
6414 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6415 implementation class names to conform to Classpath guidelines. Make
6416 DomLSException use JDK 1.4+ exception chaining.
6417 * gnu/xml/util/SAXNullTransformerFactory.java,
6418 gnu/xml/xpath/Predicate.java: Use constants relative to
6419 declaring class or interface.
6421 2005-02-16 Andrew Haley <aph@redhat.com>
6423 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6424 null, create a new AccessControlContext.
6425 * java/security/SecureClassLoader.java (protectionDomainCache):
6427 (defineClass): Create a new protection domain and add it to our
6430 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6431 addStub() to keep track of the stub we've exported.
6432 (unexportObject): Call deleteStub().
6433 * java/rmi/server/RemoteObject.java (stubs): New field.
6434 (addStub): New method.
6435 (deleteStub): New method.
6438 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6439 true to findHelper (tryParents).
6440 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6442 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6443 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6445 If tryParents is false, don't scan parent class loaders.
6447 * java/security/Permissions.java (PermissionsHash.implies):
6448 Iterate over the collection and invoke implies() on each
6451 2005-02-16 Andrew Haley <aph@redhat.com>
6453 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6455 (PersistentByteMap): Set name
6456 Magic number changed to 0x67636a64 ("gcjd").
6457 (init): Force the map to be prime.
6458 (emptyPersistentByteMap): File name was a string, now a File.
6459 (addBytes): Share srings between entries.
6460 (stringTableSize): New method.
6461 (capacity): Scale by load factor.
6462 (force): New method.
6463 (getFile): New method.
6464 (close): New method.
6465 (putAll): New method.
6466 (ByteWrapper): New class.
6467 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6468 (main): Guess the average string size as 32, not 64.
6469 Copy a database before modifying it, so that we can update a
6470 database in a running system.
6471 If a database isn't big enough, resize it.
6472 "-m": new option: merges databases.
6473 "-a": Create a new detabase if it doesn't exist.
6474 (usage): Correct, add new option.
6475 (addJar): Copy a database before modifying it.
6476 (resizeMap): New method.
6478 2005-02-15 David Daney <ddaney@avtrex.com>
6479 Bryce McKinlay <mckinlay@redhat.com>
6481 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6482 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6483 ensure that GC threads inherit the new signal mask.
6484 (block_sigchld): Call JvFail rather than throwing exception if
6485 pthread_sigmask() fails.
6487 2005-02-15 Mark Wielaard <mark@klomp.org>
6489 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6490 file path elements are separated by spaces.
6492 2005-02-15 Mark Wielaard <mark@klomp.org>
6494 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6495 to describe attributes without a constant field value in this class.
6497 2005-02-15 Michael Koch <konqueror@gmx.de>
6499 * java/util/jar/Attributes.java
6500 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6502 2005-02-15 Mark Wielaard <mark@klomp.org>
6504 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6505 space for parsing CLASS_PATH attribute.
6507 2005-02-15 Mark Wielaard <mark@klomp.org>
6509 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6510 aside for "GCJLIBS" in directory where jarfiles are loaded.
6511 (JarURLLoader.getClass): Removed method.
6512 (JarURLLoader.toString): Removed method.
6513 (FileResource.toString): Removed method.
6515 2005-02-15 Mark Wielaard <mark@klomp.org>
6517 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6518 and/or cause before throwing.
6520 2005-02-15 Richard Henderson <rth@redhat.com>
6522 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6523 (libgcj0_convenience_la_SOURCES): ... here.
6524 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6525 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6526 * Makefile.in: Regenerate.
6528 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6531 * include/jawt.h: Likewise.
6532 * include/jawt_md.h: Likewise.
6533 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6535 * include/Makefile.in: Regenerate.
6536 * jni/classpath/classpath_jawt.h: Likewise.
6537 * jni/gtk-peer/gtk_jawt.c: Likewise.
6538 * Makefile.am: Build libjawt.so.
6539 * Makefile.in: Regenerate.
6541 2005-02-14 Tom Tromey <tromey@redhat.com>
6543 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6545 2005-02-14 Tom Tromey <tromey@redhat.com>
6547 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6548 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6550 2005-02-14 Tom Tromey <tromey@redhat.com>
6553 * testsuite/libjava.lang/PR19929.out: New file.
6554 * testsuite/libjava.lang/PR19929.java: New file.
6556 2005-02-14 Anthony Green <green@redhat.com>
6559 * testsuite/libjava.jni/PR18116.c: New file.
6560 * testsuite/libjava.jni/PR18116.java: New file.
6561 * testsuite/libjava.jni/PR18116.out: New file.
6563 2005-02-13 Anthony Green <green@redhat.com>
6566 * jni.cc (nathash_add): Don't strdup the method signature.
6567 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6571 2005-02-12 Mark Wielaard <mark@klomp.org>
6573 Fixes bug libgcj/8170
6574 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6575 ClassNotFoundException.
6576 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6577 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6578 (remove_internal): New field superceding remove_interpreter.
6579 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6580 Remove no-class methods starting with "_Jv_". And Replace null
6581 class or method names with the empty string. Stop at either the
6582 MainThread or a real Thread run() method.
6583 (newElement): Made static.
6584 * java/net/URLClassLoader.java (findClass): Throw
6585 ClassNotFoundExceptions including urls, plus parent using toString().
6586 (thisString): New field.
6587 (toString): New method.
6589 2005-02-10 Tom Tromey <tromey@redhat.com>
6591 * external/sax/Makefile.in: Rebuilt.
6592 * external/sax/Makefile.am (all-local): Removed.
6593 (BUILT_SOURCES): New variable.
6594 (mostlyclean-local): No error if no classes to delete.
6595 * external/w3c_dom/Makefile.in: Rebuilt.
6596 * external/w3c_dom/Makefile.am (all-local): Removed.
6597 (BUILT_SOURCES): New variable.
6598 (mostlyclean-local): No error if no classes to delete.
6600 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
6602 * testsuite/libjava.mauve/xfails: Updated to reflect current state
6603 of mauve and libjava.
6605 2005-02-09 Tom Tromey <tromey@redhat.com>
6607 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6608 jar file with OPEN_DELETE.
6609 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6610 OPEN_DELETE is used.
6612 2005-02-09 Tom Tromey <tromey@redhat.com>
6614 * java/util/zip/InflaterInputStream.java (markSupported):
6616 (mark, reset): Likewise.
6618 2005-02-08 Tom Tromey <tromey@redhat.com>
6620 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
6621 name or port is missing.
6622 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
6623 AUTHORITY_PORT_GROUP): Updated.
6625 2005-02-08 Tom Tromey <tromey@redhat.com>
6627 * configure: Rebuilt.
6628 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
6631 2005-02-07 Tom Tromey <tromey@redhat.com>
6633 * java/lang/natRuntime.cc (insertSystemProperties): Set
6634 sun.boot.class.path earlier.
6636 2005-02-07 Tom Tromey <tromey@redhat.com>
6638 * defineclass.cc (handleClassBegin): Use
6639 _Jv_RegisterInitiatingLoader.
6640 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
6641 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
6642 class. Use _Jv_UnregisterInitiatingLoader.
6643 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
6646 2005-02-07 Mark Wielaard <mark@klomp.org>
6648 Reported by Timo Lindfors <timo.lindfors@iki.fi>
6649 java/util/regex/Matcher.java (lookingAt): Set position when match
6651 (matches): Implemented through lookingAt().
6653 2005-02-07 Mark Wielaard <mark@klomp.org>
6655 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
6656 * java/util/regex/Pattern.java (split(CharSequence,int)):
6657 Fix while empties > 0 loops.
6659 2005-02-07 Robert Schuster <thebohemian@gmx.net>
6661 * gnu/java/nio/charset/ISO_8859_1.java,
6662 gnu/java/nio/charset/US_ASCII.java,
6663 gnu/java/nio/charset/UTF_16.java,
6664 gnu/java/nio/charset/UTF_16_LE.java,
6665 gnu/java/nio/charset/UTF_16_BE.java,
6666 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
6667 and aliases according to
6668 "http://www.iana.org/assignments/character-sets",
6669 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
6670 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
6671 * gnu/java/nio/charset/Provider.java: Made charset lookup
6672 case-insensitive which fixes bug #11740.
6674 2005-02-07 Tom Tromey <tromey@redhat.com>
6677 * Makefile.in: Rebuilt.
6678 * Makefile.am (src.zip): New target.
6679 (install-src.zip): Likewise.
6680 (sourcesdir): New variable.
6682 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
6684 * javax/imageio/metadata/IIOMetadataNode.java:
6686 * javax/imageio/metadata/IIOAttr.java,
6687 javax/imageio/metadata/IIONamedNodeMap.java,
6688 javax/imageio/metadata/IIONodeList.java:
6691 2005-02-06 Graydon Hoare <graydon@redhat.com>
6693 * gnu/java/awt/ClasspathToolkit.java
6694 (registerImageIOSpis): New method.
6695 * javax/imageio/ImageIO.java
6696 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6697 (WriterMIMETypeFilter.filter): Likewise.
6698 (ImageReaderIterator): Pass extension argument through to SPI.
6699 (getReadersByFilter): Likewise.
6700 (getWritersByFilter): Likewise.
6701 (getImageReadersByFormatName): Likewise.
6702 (getImageReadersByMIMEType): Likewise.
6703 (getImageReadersBySuffix): Likewise.
6704 (getImageWritersByFormatName): Likewise.
6705 (getImageWritersByMIMEType): Likewise.
6706 (getImageWritersBySuffix): Likewise.
6709 * javax/imageio/ImageReader.java
6710 (progressListeners): Initialize.
6711 (setInput): Implement.
6712 * javax/imageio/ImageWriter.java
6713 (progressListeners): Initialize.
6714 (warningListeners): Likewise.
6715 (warningLocales): Likewise.
6716 (setOutput): Test "isInstance" rather than class equality.
6717 * javax/imageio/spi/IIORegistry.java
6718 (static): Add reader and writer SPIs.
6719 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6721 2005-02-06 Michael Koch <konqueror@gmx.de>
6723 * javax/imageio/metadata/IIOInvalidTreeException.java
6724 (IIOInvalidTreeException): Reformatted.
6725 * javax/imageio/spi/IIORegistry.java
6726 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
6727 * javax/imageio/stream/MemoryCacheImageInputStream.java:
6728 Reworked import statements.
6730 2005-02-06 Michael Koch <konqueror@gmx.de>
6732 * javax/imageio/stream/FileImageOutputStream.java:
6735 2005-02-06 Michael Koch <konqueror@gmx.de>
6737 * javax/imageio/stream/FileCacheImageInputStream.java,
6738 javax/imageio/stream/FileCacheImageOutputStream.java,
6739 javax/imageio/stream/FileImageInputStream.java,
6740 javax/imageio/stream/ImageInputStreamImpl.java,
6741 javax/imageio/stream/ImageOutputStreamImpl.java,
6742 javax/imageio/stream/MemoryCacheImageInputStream.java,
6743 javax/imageio/stream/MemoryCacheImageOutputStream.java:
6744 Added all missing methods in javax.imageio.stream.
6746 2005-02-02 David Daney <ddaney@avtrex.com>
6748 * java/net/InetAddress.java (InetAddress): Make a private copy of
6750 * java/net/Inet4Address.java (getAddress): Return a copy of the
6752 * java/net/Inet6Address.java (Inet6Address): Use private copy of
6754 (getAddress): Return a copy of the address.
6757 2005-02-02 Tom Tromey <tromey@redhat.com>
6759 * Makefile.in: Rebuilt.
6760 * Makefile.am (classes.stamp): New target, broken out from
6762 ($(all_java_class_files)): Depend on it.
6763 (libgcj-@gcc_version@.jar): Likewise.
6764 (all-recursive): Likewise.
6765 (CLEANFILES): Include classes.stamp.
6767 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
6769 * link.cc: Include <stdio.h>
6771 2005-02-02 Tom Tromey <tromey@redhat.com>
6774 * Makefile.in: Rebuilt.
6775 * Makefile.am (ordinary_java_source_files): Added new class.
6776 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
6777 Use system_instance, not instance.
6778 * gnu/gcj/runtime/SystemClassLoader.java: New file.
6779 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
6781 (system_instance): New field.
6782 (initialize): Initialize the system loader as well.
6783 (VMClassLoader): Default to LIB_CACHE.
6785 2005-02-02 Tom Tromey <tromey@redhat.com>
6787 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
6788 * prims.cc: Fixed comment.
6790 2005-02-01 Tom Tromey <tromey@redhat.com>
6792 * Makefile.in: Rebuilt.
6793 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
6794 (.java.class): Use BOOTCLASSPATH.
6796 2005-02-01 Tom Tromey <tromey@redhat.com>
6798 * external/w3c_dom/Makefile.am: New file.
6799 * external/w3c_dom/Makefile.in: New file.
6800 * external/sax/Makefile.am: New file.
6801 * external/sax/Makefile.in: New file.
6802 * external/Makefile.in: New file.
6803 * external/Makefile.am: New file.
6804 * external/README: New file from Classpath.
6805 * configure, aclocal.m4, Makefile.in: Rebuilt.
6806 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
6807 * Makefile.am (SUBDIRS): Added external.
6808 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
6809 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
6810 (BOOTCLASSPATH): New variable.
6811 (AM_GCJFLAGS): Use it.
6812 (gnu_xml_source_files): New variable.
6813 (libgcj_la_SOURCES): Use it.
6814 (libgcj_la_LDADD): Include new convenience libraries.
6815 (lib_org_ietf_jgss_la_SOURCES): Removed.
6816 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
6817 (lib_org_ietf_jgss_la_LIBADD): Likewise.
6818 (lib_org_w3c_dom_la_SOURCES): Removed.
6819 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
6820 (lib_org_w3c_dom_la_LIBADD): Likewise.
6821 (lib_org_xml_sax_la_SOURCES): Removed.
6822 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
6823 (lib_org_xml_sax_la_LIBADD): Likewise.
6824 (all_java_source_files): Updated.
6825 (property_files): Likewise.
6826 (libgcj-@gcc_version@.jar): Include classes from external/.
6827 (javax_source_files): Updated.
6828 (ordinary_java_source_files): Updated.
6829 * javax/xml/XMLConstants.java,
6830 javax/xml/datatype/DatatypeConfigurationException.java,
6831 javax/xml/datatype/DatatypeConstants.java,
6832 javax/xml/datatype/DatatypeFactory.java,
6833 javax/xml/datatype/Duration.java,
6834 javax/xml/datatype/XMLGregorianCalendar.java,
6835 javax/xml/datatype/package.html,
6836 javax/xml/namespace/NamespaceContext.java,
6837 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
6838 javax/xml/parsers/DocumentBuilder.java,
6839 javax/xml/parsers/DocumentBuilderFactory.java,
6840 javax/xml/parsers/FactoryConfigurationError.java,
6841 javax/xml/parsers/ParserConfigurationException.java,
6842 javax/xml/parsers/SAXParser.java,
6843 javax/xml/parsers/SAXParserFactory.java,
6844 javax/xml/parsers/package.html,
6845 javax/xml/transform/ErrorListener.java,
6846 javax/xml/transform/OutputKeys.java,
6847 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
6848 javax/xml/transform/SourceLocator.java,
6849 javax/xml/transform/Templates.java,
6850 javax/xml/transform/Transformer.java,
6851 javax/xml/transform/TransformerConfigurationException.java,
6852 javax/xml/transform/TransformerException.java,
6853 javax/xml/transform/TransformerFactory.java,
6854 javax/xml/transform/TransformerFactoryConfigurationError.java,
6855 javax/xml/transform/URIResolver.java,
6856 javax/xml/transform/package.html,
6857 javax/xml/transform/dom/DOMLocator.java,
6858 javax/xml/transform/dom/DOMResult.java,
6859 javax/xml/transform/dom/DOMSource.java,
6860 javax/xml/transform/dom/package.html,
6861 javax/xml/transform/sax/SAXResult.java,
6862 javax/xml/transform/sax/SAXSource.java,
6863 javax/xml/transform/sax/SAXTransformerFactory.java,
6864 javax/xml/transform/sax/TemplatesHandler.java,
6865 javax/xml/transform/sax/TransformerHandler.java,
6866 javax/xml/transform/sax/package.html,
6867 javax/xml/transform/stream/StreamResult.java,
6868 javax/xml/transform/stream/StreamSource.java,
6869 javax/xml/transform/stream/package.html,
6870 javax/xml/validation/Schema.java,
6871 javax/xml/validation/SchemaFactory.java,
6872 javax/xml/validation/TypeInfoProvider.java,
6873 javax/xml/validation/Validator.java,
6874 javax/xml/validation/ValidatorHandler.java,
6875 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
6876 javax/xml/xpath/XPathConstants.java,
6877 javax/xml/xpath/XPathException.java,
6878 javax/xml/xpath/XPathExpression.java,
6879 javax/xml/xpath/XPathExpressionException.java,
6880 javax/xml/xpath/XPathFactory.java,
6881 javax/xml/xpath/XPathFactoryConfigurationException.java,
6882 javax/xml/xpath/XPathFunction.java,
6883 javax/xml/xpath/XPathFunctionException.java,
6884 javax/xml/xpath/XPathFunctionResolver.java,
6885 javax/xml/xpath/XPathVariableResolver.java,
6886 javax/xml/xpath/package.html: New files, from GNU JAXP.
6887 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
6888 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
6889 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
6890 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
6891 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
6892 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
6893 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
6894 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
6895 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
6896 org/w3c/dom/ranges/DocumentRange.java,
6897 org/w3c/dom/ranges/Range.java,
6898 org/w3c/dom/ranges/RangeException.java,
6899 org/w3c/dom/traversal/DocumentTraversal.java,
6900 org/w3c/dom/traversal/NodeFilter.java,
6901 org/w3c/dom/traversal/NodeIterator.java,
6902 org/w3c/dom/traversal/TreeWalker.java,
6903 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
6904 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
6905 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
6906 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
6907 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
6908 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
6909 org/xml/sax/SAXNotRecognizedException.java,
6910 org/xml/sax/SAXNotSupportedException.java,
6911 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
6912 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
6913 org/xml/sax/ext/DeclHandler.java,
6914 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
6915 org/xml/sax/helpers/AttributeListImpl.java,
6916 org/xml/sax/helpers/AttributesImpl.java,
6917 org/xml/sax/helpers/DefaultHandler.java,
6918 org/xml/sax/helpers/LocatorImpl.java,
6919 org/xml/sax/helpers/NamespaceSupport.java,
6920 org/xml/sax/helpers/NewInstance.java,
6921 org/xml/sax/helpers/ParserAdapter.java,
6922 org/xml/sax/helpers/ParserFactory.java,
6923 org/xml/sax/helpers/XMLFilterImpl.java,
6924 org/xml/sax/helpers/XMLReaderAdapter.java,
6925 org/xml/sax/helpers/XMLReaderFactory.java,
6926 org/xml/sax/helpers/package.html: Moved to external/.
6927 * external/sax/README,
6928 external/sax/org/xml/sax/AttributeList.java,
6929 external/sax/org/xml/sax/Attributes.java,
6930 external/sax/org/xml/sax/ContentHandler.java,
6931 external/sax/org/xml/sax/DTDHandler.java,
6932 external/sax/org/xml/sax/DocumentHandler.java,
6933 external/sax/org/xml/sax/EntityResolver.java,
6934 external/sax/org/xml/sax/ErrorHandler.java,
6935 external/sax/org/xml/sax/HandlerBase.java,
6936 external/sax/org/xml/sax/InputSource.java,
6937 external/sax/org/xml/sax/Locator.java,
6938 external/sax/org/xml/sax/Parser.java,
6939 external/sax/org/xml/sax/SAXException.java,
6940 external/sax/org/xml/sax/SAXNotRecognizedException.java,
6941 external/sax/org/xml/sax/SAXNotSupportedException.java,
6942 external/sax/org/xml/sax/SAXParseException.java,
6943 external/sax/org/xml/sax/XMLFilter.java,
6944 external/sax/org/xml/sax/XMLReader.java,
6945 external/sax/org/xml/sax/package.html,
6946 external/sax/org/xml/sax/ext/Attributes2.java,
6947 external/sax/org/xml/sax/ext/Attributes2Impl.java,
6948 external/sax/org/xml/sax/ext/DeclHandler.java,
6949 external/sax/org/xml/sax/ext/DefaultHandler2.java,
6950 external/sax/org/xml/sax/ext/EntityResolver2.java,
6951 external/sax/org/xml/sax/ext/LexicalHandler.java,
6952 external/sax/org/xml/sax/ext/Locator2.java,
6953 external/sax/org/xml/sax/ext/Locator2Impl.java,
6954 external/sax/org/xml/sax/ext/package.html,
6955 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
6956 external/sax/org/xml/sax/helpers/AttributesImpl.java,
6957 external/sax/org/xml/sax/helpers/DefaultHandler.java,
6958 external/sax/org/xml/sax/helpers/LocatorImpl.java,
6959 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
6960 external/sax/org/xml/sax/helpers/NewInstance.java,
6961 external/sax/org/xml/sax/helpers/ParserAdapter.java,
6962 external/sax/org/xml/sax/helpers/ParserFactory.java,
6963 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
6964 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
6965 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
6966 external/sax/org/xml/sax/helpers/package.html,
6967 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
6968 external/w3c_dom/org/w3c/dom/Attr.java,
6969 external/w3c_dom/org/w3c/dom/CDATASection.java,
6970 external/w3c_dom/org/w3c/dom/CharacterData.java,
6971 external/w3c_dom/org/w3c/dom/Comment.java,
6972 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
6973 external/w3c_dom/org/w3c/dom/DOMError.java,
6974 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
6975 external/w3c_dom/org/w3c/dom/DOMException.java,
6976 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
6977 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
6978 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
6979 external/w3c_dom/org/w3c/dom/DOMLocator.java,
6980 external/w3c_dom/org/w3c/dom/DOMStringList.java,
6981 external/w3c_dom/org/w3c/dom/Document.java,
6982 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
6983 external/w3c_dom/org/w3c/dom/DocumentType.java,
6984 external/w3c_dom/org/w3c/dom/Element.java,
6985 external/w3c_dom/org/w3c/dom/Entity.java,
6986 external/w3c_dom/org/w3c/dom/EntityReference.java,
6987 external/w3c_dom/org/w3c/dom/NameList.java,
6988 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
6989 external/w3c_dom/org/w3c/dom/Node.java,
6990 external/w3c_dom/org/w3c/dom/NodeList.java,
6991 external/w3c_dom/org/w3c/dom/Notation.java,
6992 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
6993 external/w3c_dom/org/w3c/dom/Text.java,
6994 external/w3c_dom/org/w3c/dom/TypeInfo.java,
6995 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
6996 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
6997 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
6998 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
6999 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7000 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7001 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7002 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7003 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7004 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7005 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7006 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7007 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7008 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7009 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7010 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7011 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7012 external/w3c_dom/org/w3c/dom/css/Counter.java,
7013 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7014 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7015 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7016 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7017 external/w3c_dom/org/w3c/dom/css/Rect.java,
7018 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7019 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7020 external/w3c_dom/org/w3c/dom/events/Event.java,
7021 external/w3c_dom/org/w3c/dom/events/EventException.java,
7022 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7023 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7024 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7025 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7026 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7027 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7028 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7029 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7030 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7031 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7032 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7033 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7034 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7035 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7036 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7037 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7038 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7039 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7040 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7041 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7042 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7043 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7044 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7045 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7046 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7047 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7048 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7049 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7050 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7051 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7052 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7053 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7054 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7055 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7056 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7057 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7058 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7059 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7060 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7061 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7062 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7063 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7064 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7065 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7066 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7067 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7068 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7069 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7070 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7071 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7072 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7073 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7074 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7075 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7076 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7077 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7078 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7079 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7080 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7081 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7082 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7083 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7084 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7085 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7086 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7087 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7088 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7089 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7090 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7091 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7092 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7093 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7094 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7095 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7096 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7097 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7098 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7099 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7100 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7101 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7102 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7103 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7104 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7105 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7106 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7107 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7108 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7109 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7110 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7111 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7112 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7113 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7116 2005-01-31 Anthony Green <green@redhat.com>
7118 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7119 Support IP_MULTICAST_LOOP.
7120 (setOption): Support IP_MULTICAST_LOOP.
7122 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7123 SO_REUSEADDR support.
7124 (getOption): Support SO_REUSEADDR.
7126 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7129 * java/util/Date.java
7130 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7132 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7134 (getTimezoneOffset): Inverted sign.
7136 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7138 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7139 remove other passing tests and add new XFAILs.
7141 2005-01-24 Tom Tromey <tromey@redhat.com>
7143 * java/lang/Class.h (next): Updated documentation. Renamed to
7145 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7146 _Jv_CheckABIVersion.
7147 (_Jv_RegisterClasses_Counted): Likewise.
7148 (_Jv_RegisterClassHookDefault): Fix starting condition of
7149 duplicate-checking loop.
7150 * include/jvm.h (GCJ_VERSION): New define.
7151 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7152 (_Jv_CheckABIVersion): New function.
7154 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7156 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7157 (libgij_la_LDFLAGS): Add.
7158 * Makefile.in: Rebuilt.
7160 2005-01-24 Roger Sayle <roger@eyesopen.com>
7163 * testsuite/libjava.compile/PR19295.java: New test case.
7165 2005-01-19 Tom Tromey <tromey@redhat.com>
7167 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7168 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7169 if 'handler' is valid.
7171 2005-01-17 Tom Tromey <tromey@redhat.com>
7173 * java/text/MessageFormat.java (scanString): Changed how quoting
7175 (scanFormatElement): Likewise.
7177 2004-12-07 Mark Wielaard <mark@klomp.org>
7179 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7181 2005-01-15 Michael Koch <konqueror@gmx.de>
7185 (AUTHORITY_REGEXP): New regexp constant.
7186 (AUTHORITY_USERINFO_GROUP): New constant.
7187 (AUTHORITY_HOST_GROUP): Likewise.
7188 (AUTHORITY_PORT_GROUP): Likewise.
7189 (port): Changed default value to -1.
7190 (parseURI): Parse authority part and initialize host,
7193 2005-01-14 Robin Green <greenrd@greenrd.org>
7195 * java/io/File.java (toURI): Generate a URI which we understand.
7197 2005-01-13 Graydon Hoare <graydon@redhat.com>
7199 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7200 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7201 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7202 * jni.cc: Reuse bottom frame between calls, avoid clearing
7203 frame when no local references are made.
7205 2005-01-13 Michael Koch <konqueror@gmx.de>
7208 * java/lang/Thread.java
7209 (Thread): Call checkAccess().
7210 (stop): Fixed argument name to match javadoc.
7211 * java/lang/natThread.cc
7212 (interrupt): Call checkAccess().
7215 2005-01-11 Michael Koch <konqueror@gmx.de>
7218 * java/net/URL.java (URL): Handle specs like
7219 "/redir?http://domain2.com/index.html" which start with a slash.
7221 2005-01-11 Michael Koch <konqueror@gmx.de>
7223 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7224 * gnu/java/net/BASE64.java,
7225 gnu/java/net/EmptyX509TrustManager.java,
7226 gnu/java/net/LineInputStream.java,
7227 gnu/java/net/protocol/http/Authenticator.java,
7228 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7229 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7230 gnu/java/net/protocol/http/ChunkedInputStream.java,
7231 gnu/java/net/protocol/http/Cookie.java,
7232 gnu/java/net/protocol/http/CookieManager.java,
7233 gnu/java/net/protocol/http/Credentials.java,
7234 gnu/java/net/protocol/http/HTTPConnection.java,
7235 gnu/java/net/protocol/http/HTTPDateFormat.java,
7236 gnu/java/net/protocol/http/HTTPURLConnection.java,
7237 gnu/java/net/protocol/http/Headers.java,
7238 gnu/java/net/protocol/http/Request.java,
7239 gnu/java/net/protocol/http/RequestBodyWriter.java,
7240 gnu/java/net/protocol/http/Response.java,
7241 gnu/java/net/protocol/http/ResponseBodyReader.java,
7242 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7243 gnu/java/net/protocol/http/SimpleCookieManager.java,
7244 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7245 gnu/java/net/protocol/http/event/ConnectionListener.java,
7246 gnu/java/net/protocol/http/event/RequestEvent.java,
7247 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7248 * gnu/java/net/protocol/http/Connection.java: Removed.
7249 * gnu/java/net/protocol/http/Handler.java,
7250 javax/net/ssl/HttpsURLConnection.java: Updated.
7251 * Makefile.am: Added new files and remove old ones.
7252 * Makefile.in: Regenerated.
7254 2005-01-11 Tom Tromey <tromey@redhat.com>
7257 * java/io/BufferedInputStream.java (read): Repeatedly read to
7259 (refill): Change test to see if buffer must be grown.
7261 2005-01-10 Tom Tromey <tromey@redhat.com>
7263 * mauve-libgcj: Exclude some swing tests.
7265 2005-01-10 Tom Tromey <tromey@redhat.com>
7267 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7268 * java/lang/Package.java (getPackages): Use VMClassLoader when
7270 (getPackage): Likewise.
7271 * prims.cc (_Jv_CreateJavaVM): Call
7272 _Jv_RegisterBootstrapPackages.
7273 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7274 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7275 (getPackages): Likewise.
7276 (definedPackages): New field.
7277 (definePackageForNative): New method.
7278 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7279 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7280 * defineclass.cc (handleClassBegin): Use
7281 ClassLoader.findLoadedClass.
7282 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7284 (struct _Jv_LoaderInfo): Removed.
7285 (initiated_classes): Likewise.
7286 (_Jv_UnregisterClass): Don't use initiated_classes.
7287 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7288 (_Jv_FindClass): Register classes found during boostrap.
7289 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7290 (bootstrap_class_list): New global.
7291 (bootstrap_index): Likewise.
7292 (_Jv_RegisterBootstrapPackages): New function.
7293 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7294 definePackageForNative.
7295 (findClass): Updated.
7296 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7299 2005-01-10 Tom Tromey <tromey@redhat.com>
7302 * include/jvm.h (_Jv_Linker::find_field): Declare.
7303 (_Jv_Linker::find_field_helper): Likewise.
7304 * link.cc (find_field_helper): New method.
7305 (find_field): Likewise.
7306 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7308 (link_symbol_table): Use find_field.
7310 2005-01-10 Michael Koch <konqueror@gmx.de>
7313 * java/util/Locale.java (Locale): Don't uppercase variant.
7314 (getISOCountries): Fixed typo in javadoc.
7316 2005-01-10 Michael Koch <konqueror@gmx.de>
7318 * java/util/SimpleTimeZone.java (checkRule):
7319 Throw IllegalArgumentException on invalid month values.
7320 * java/util/TimeZone.java (setID):
7321 Throw NullPointerException if needed.
7323 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7325 * java/util/SimpleTimeZone.java (getOffset):
7326 offset end date with daylight savings
7328 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7330 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7331 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7333 2005-01-09 Michael Koch <konqueror@gmx.de>
7336 * java/net/InetAddress.java (getLocalHost):
7337 Throw UnknownHostException if local hostname cannot be determined.
7339 2005-01-06 Tom Tromey <tromey@redhat.com>
7341 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7343 2005-01-07 Michael Koch <konqueror@gmx.de>
7346 * java/nio/Buffer.java (address): New field.
7347 * java/nio/DirectByteBufferImpl.java (address): Removed.
7348 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7349 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7350 Explicitly initialize Buffer.address if needed.
7351 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7352 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7353 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7354 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7355 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7356 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7357 DirectByteBufferImpl object.
7358 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7359 * testsuite/libjava.jni/directbuffer.c,
7360 testsuite/libjava.jni/directbuffer.java,
7361 testsuite/libjava.jni/directbuffer.out,
7362 testsuite/libjava.jni/bytebuffer.c,
7363 testsuite/libjava.jni/bytebuffer.java,
7364 testsuite/libjava.jni/bytebuffer.out: New files.
7366 2005-01-05 Tom Tromey <tromey@redhat.com>
7368 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7370 (compressedSize): Now 'long'. Default to -1.
7371 (getCompressedSize): Rewrote.
7372 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7373 deflate at all if we need input.
7375 2005-01-05 Tom Tromey <tromey@redhat.com>
7378 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7381 2005-01-05 Tom Tromey <tromey@redhat.com>
7383 * java/lang/natRuntime.cc (insertSystemProperties): Set
7384 java.ext.dirs earlier.
7386 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7388 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7389 sync_info element of the object if needed.
7391 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7393 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7394 a non-zero exit status from 'false'.
7396 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7398 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.