OSDN Git Service

2005-04-28 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2005-04-28  Michael Koch  <konqueror@gmx.de>
2
3         * javax/swing/Timer.java: Reordered all fields and methods,
4         Added more javadocs.
5
6 2005-04-28  Michael Koch  <konqueror@gmx.de>
7
8         * javax/swing/Timer.java: Javadocs merged
9         from GNU classpath.
10
11 2005-04-28  Jeroen Frijters  <jeroen@frijters.net>
12
13         * gnu/java/net/protocol/file/Connection.java
14         (StaticData): New inner class to contain statics.
15         (connect, getHeaderField): Modified to use StaticData.
16
17 2005-04-28  Michael Koch  <konqueror@gmx.de>
18
19         * gnu/java/net/protocol/file/Connection.java
20         (lineSeparator): Initialize with SystemProperties.getProperty().
21
22 2005-04-27  Chris Burdess  <dog@gnu.org>
23
24         * gnu/java/net/protocol/file/Connection.java: Return correct content
25         length for directory listing.
26         * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
27         #11285: return valid URLs for directories.i
28
29 2005-04-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
30
31         * Makefile.am (ordinary_java_source_files): Add
32         gnu/java/net/protocol/https/Handler.java.
33         * Makefile.in: Regenerate.
34         * java/net/URL.java: Remove org.metastatic.jessie from default
35         protocol search path.
36
37 2005-04-27  Chris Burdess  <dog@gnu.org>
38
39         * gnu/java/net/protocol/https/Handler.java: New file.
40
41 2005-04-27  Jeroen Frijters  <jeroen@frijters.net>
42
43         * javax/imageio/spi/IIORegistry.java (IIORegistry):
44         Don't assume that awt Toolkit is always ClasspathToolkit.
45
46 2005-04-27  Chris Burdess  <dog@gnu.org>
47
48         * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
49         absolute and relative paths in Location header.
50
51 2005-04-27  Chris Burdess  <dog@gnu.org>
52
53         * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
54         FileNotFoundException and implement getErrorStream on 404.
55
56 2005-04-27  Sven de Marothy <sven@physto.se>
57
58         * java/util/TimeZone.java,
59         (getDefaultDisplayName): Fix previous fix.
60
61 2005-04-27  Sven de Marothy <sven@physto.se>
62
63         * java/util/TimeZone.java,
64         (getDefaultDisplayName): Don't print zero offsets.
65
66 2005-04-27  Roman Kennke  <roman@kennke.org>
67
68         * javax/swing/plaf/basic/BasicScrollBarUI
69         (getThumbBounds): Do not make thumb smaller than
70         minimumThumbSize.
71         * javax/swing/plaf/metal/MetalLookAndFeel
72         (initComponentDefaults): Added color defaults for ScrollBar.
73         * javax/swing/plaf/metal/MetalScrollBarUI
74         (paintThumb): Added.
75         (getMinimumThumbSize): Added.
76
77 2005-04-27  Roman Kennke  <roman@kennke.org>
78
79         * javax/swing/plaf/metal/MetalLookAndFeel
80         (initComponentDefaults): Added some default colors.
81
82 2005-04-27  Roman Kennke  <roman@kennke.org>
83
84         * javax/swing/plaf/basic/BasicScrollBarUI.java
85         (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
86         to 'ScrollBar.thumbShadow'. The formes does not exist.
87         (paintThumb): Use BasicGraphicsUtils for painting the thumb.
88
89 2005-04-27  Roman Kennke  <roman@kennke.org>
90
91         * java/awt/MediaTracker.java: Added 2005 to copyright statement.
92         * javax/swing/BoxLayout.java: Likewise.
93         * javax/swing/UIManager.java: Likewise.
94         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
95         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
96         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
97         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
98         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
99         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
100         * javax/swing/text/Document.java: Likewise.
101         * javax/swing/text/GapContent.java: Likewise.
102         * javax/swing/text/SimpleAttributeSet.java: Likewise.
103         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
104
105 2005-04-27  Roman Kennke  <roman@kennke.org>
106
107         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
108         (getPropertyPrefix): Added.
109
110 2005-04-27  Roman Kennke  <roman@kennke.org>
111
112         * javax/swing/plaf/basic/BasicButtonUI.java
113         (getPropertyPrefix): Added.
114         (installDefaults): Use getPropertyPrefix instead of hard-coded
115         prefix.
116
117 2005-04-27  Roman Kennke  <roman@kennke.org>
118
119         * javax/swing/JToggleButton.java
120         (JToggleButton): Removed horizontalAlignment setting, this
121         was wrong. Added setting of an actionCommand, ToggleButtons
122         have "" as default actionCommand.
123
124 2005-04-27  Michael Koch  <konqueror@gmx.de>
125
126         * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
127         to work around CNI limitation.
128
129 2005-04-27  Sven de Marothy  <sven@physto.se>
130
131         * java/nio/charset/Charset.java:
132         (defaultCharset()): New method.
133         Status updated to 1.5
134
135 2005-04-27  Sven de Marothy  <sven@physto.se>
136
137         * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
138
139 2005-04-27  Sven de Marothy  <sven@physto.se>
140
141         * java/nio/charset/Charset.java: Reset cached de/encoders.
142
143 2005-04-27  Robert Schuster <thebohemian@gmx.net>
144
145         * java/nio/charset/Charset.java (forName): Throws
146         IllegalArgumentException when argument is null
147         and added documentation.
148
149 2005-04-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
150
151         * java/nio/charset/Charset.java (providers):
152         New method to make an array of CharsetProviders defined in
153         META-INF/services/java.nio.charset.spi.CharsetProvider.
154         (charsetForName, availableCharsets): Use the
155         new method providers().
156
157 2005-04-26  Michael Koch  <konqueror@gmx.de>
158
159         * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
160         Fixed typos in javadocs.
161         (isSiteLocalAddress): Fixed handling of byte values.
162         (isMCLinkLocal): Likewise.
163         * java/net/Inet4Address.java
164         (isMulticastAddress): Call super method.
165         (isLoopbackAddress): Likewise.
166         (isAnyLocalAddress): Likewise.
167         (isLinkLocalAddress): Likewise.
168         (isSiteLocalAddress): Likewise.
169         (isMCGlobal): Likewise.
170         (isMCNodeLocal): Likewise.
171         (isMCLinkLocal): Likewise.
172         (isMCSiteLocal): Likewise.
173         (isMCOrgLocal): Likewise.
174         (getHostAddress): Likewise.
175
176 2005-04-26  Sven de Marothy  <sven@physto.se>
177
178         * java/net/InetAddress.java
179         (toString): Don't print empty hostnames.
180
181 2005-04-26  Luca Barbieri  <luca.barbieri@gmail.com>
182
183         PR libgcj/21136:
184         * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
185         'false' to native lock().
186         (lock): Pass 'true' to native lock().
187
188 2005-04-26  Michael Koch  <konqueror@gmx.de>
189
190         * java/net/InetAddress.java:
191         Fixed typos in javadocs.
192
193 2005-04-26  Andrew Haley  <aph@redhat.com>
194
195         PR libgcj/21020:
196         * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
197         field's type.
198
199 2005-04-26  Tom Tromey  <tromey@redhat.com>
200
201         * javax/swing/text/html/parser/ParserDelegator.java (callBack,
202         gnu): Now package-private.
203         * javax/swing/text/html/parser/DocumentParser.java (parser,
204         callBack, gnu): Now package-private.
205         * javax/swing/text/StringContent.java (content, setOffset,
206         checkLocation): Now package-private.
207         * javax/swing/text/JTextComponent.java (doc): Now
208         package-private.
209         * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
210         lastGoodOrientation, origParent, borders, cachedBounds,
211         cachedOrientation, DragWindow): Now package-private.
212         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
213         decrButton, viewport, panel, currentScrollLocation, layoutManager,
214         tabAreaRect, contentRect, createIncreaseButton,
215         createDecreaseButton, findPointForIndex): Now package-private.
216         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
217         (currentDividerLocation, moveDividerTo): Now package-private.
218         * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
219         package-private.
220         * javax/swing/plaf/basic/BasicScrollBarUI.java
221         (calculatePreferredSize, valueForYPosition, valueForXPosition):
222         Now package-private.
223         * javax/swing/plaf/basic/BasicPopupMenuUI.java
224         (topWindowListener): Now package-private.
225         * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
226         OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
227         (messageAreaContainer, buttonContainer, resetSelectedValue): Now
228         package-private.
229         * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
230         package-private.
231         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
232         Now package-private.
233         * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
234         package-private.
235         * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
236         borderInsets): Now package-private.
237         (arrowButtonWidth): Likewise.  Now a constant.
238         * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
239         makeTabs, updatePreviewPanel): Now package-private.
240         * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
241         darkShadow, highlight): Now package-private.
242         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
243         (addColorToQueue): Now package-private.
244         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
245         (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
246         GSpinner, BSpinner): Now package-private.
247         * javax/swing/colorchooser/DefaultHSBChooserPanel.java
248         (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
249         hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
250         spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
251         updateTrack): Now package-private.
252         * javax/swing/TransferHandler.java (clipboard): Now
253         package-private.
254         * javax/swing/ToolTipManager.java (showTip, hideTip): Now
255         package-private.
256         * javax/swing/Timer.java (drainEvents, queueEvent): Now
257         package-private.
258         * javax/swing/RepaintManager.java (globalManager): Now
259         package-private.
260         * javax/swing/JFormattedTextField.java (editValid): Now
261         package-private.
262         * javax/swing/JColorChooser.java (makeModal): Now
263         package-private.
264         * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
265         index, path): Now package-private.
266         * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
267         lineQuadIntersect, lineCubicIntersect, linesIntersect,
268         pointEquals): Now package-private.
269         * java/awt/geom/Arc2D.java (type): Now package-private.
270         * java/awt/Window.java (windowFocusOwner): Now package-private.
271         * java/awt/TextComponent.java (editable, selectionStart,
272         selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
273         package-private.
274         * java/awt/MenuItem.java (actionCommand, enabled, label): Now
275         package-private.
276         * java/awt/MenuComponent.java (focusListener): Now
277         package-private.
278         * java/awt/Frame.java (state): Now package-private.
279         * java/awt/Choice.java (pItems): Now package-private.
280         * java/awt/Checkbox.java (state): Now package-private.
281         * java/awt/Button.java (actionCommand, label): Now
282         package-private.
283         * gnu/javax/swing/text/html/parser/support/Parser.java
284         (attributes, _handleEndTag_remaining, _handleStartTag): Now
285         package-private.
286         * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
287         package-private.
288         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
289         clip, transform, font, comp): Now package-private.
290
291 2005-04-26  Tom Tromey  <tromey@redhat.com>
292
293         * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
294         static way.
295
296 2005-04-26  Mark Wielaard  <mark@klomp.org>
297
298         * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
299         to MalformedURLException.
300
301 2005-04-26  Michael Koch  <konqueror@gmx.de>
302
303         * java/security/AccessControlContext.java:
304         Reformated.
305         (protectedDomains): Renamed from 'protectionDomain'.
306         * java/security/AccessController.java:
307         Reformatted.
308
309 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
310
311         * gnu/java/security/action/GetSecurityPropertyAction.java
312         (GetSecurityPropertyAction): Implement PrivilegedAction instead
313         of extending GetPropertyAction.
314         (name): New field.
315         (value): Likewise.
316         (setParamters): New methods.
317         (GetSecurityPropertyAction): Use new setParameters methods.
318
319 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
320
321         * java/security/Security.java,
322         java/security/cert/X509CRLSelector.java,
323         java/security/cert/X509CertSelector.java:
324         Modified to use SystemProperties.
325
326 2005-04-26  Michael Koch  <konqueror@gmx.de>
327
328         * java/lang/System.java
329         (setSecurityManager): Fixed comment.
330         (getSecurityManager): Removed obsolete comment.
331
332 2005-04-25  Tom Tromey  <tromey@redhat.com>
333
334         * java/awt/AWTKeyStroke.java (vktable): Now package-private.
335
336 2005-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
337
338         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
339         (connectSignals): Realize the window widget after connecting
340         signals.
341
342 2005-04-25  Jeroen Frijters  <jeroen@frijters.net>
343
344         * java/awt/GraphicsEnvironment.java
345         (localGraphicsEnvironment): New field.
346         (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
347         property.
348         (isHeadless): Added support for java.awt.headless property.
349         (isHeadlessInstance): Call headless().
350
351 2005-04-25  Roman Kennke  <roman@kennke.org>
352
353         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
354         (getDisplayMode): Added. Returns the current display mode.
355         (isFullScreenSupported): Added.
356         * java/awt/GraphicsDevice.java
357         (setFullScreenWindow): Implemented a primitive fullscreen mode.
358         This resizes and relocates the fullscreen window so that it uses
359         the whole screen. This is not a fully accelerated fullscreen
360         exclusive mode.
361
362 2005-04-25  Michael Koch  <konqueror@gmx.de>
363
364         * java/lang/Runtime.java,
365         java/lang/SecurityManager.java,
366         java/lang/System.java,
367         java/lang/ThreadGroup.java:
368         Replaced java.lang.Runtime.securityManager by
369         java.lang.SecurityManager.current (as used in GNU classpath).
370
371 2005-04-25  David Gilbert  <david.gilbert@object-refinery.com>
372
373         * java/awt/Transparency.java
374         (getTransparency): fixed API docs.
375
376 2005-04-25  Archie Cobbs  <archie@dellroad.org>
377
378         * java/lang/Throwable.java: simplify initializing cause in constructor
379
380 2005-04-25  Michael Koch  <konqueror@gmx.de>
381
382         * gnu/classpath/SystemProperties.java: New file.
383         * gnu/classpath/natSystemProperties.cc: New file.
384         * java/lang/Runtime.java
385         (defaultProperties): Removed.
386         (static): Likewise.
387         (): Made thrown exceptions more verbose.
388         (insertSystemProperties): Removed.
389         * java/lang/System.java
390         (static): Likewise.
391         (properties): Likewise.
392         (setSecurityManager): Reordered modifiers.
393         (getenv): Improved javadoc.
394         (): Likewise.
395         (isWordsBigEndian): Removed.
396         * java/lang/natRuntime.cc
397         (_Jv_SetDLLSearchPath): Likewise.
398         (file_encoding): Likewise.
399         (default_file_encoding): Likewise.
400         (getpwuid_adaptor): Likewise.
401         (insertSystemProperties): Likewise.
402         * java/lang/natSystem.cc
403         (isWordsBigEndian): Likewise.
404         * Makefile.am
405         (ordinary_java_source_files):
406         Added gnu/classpath/SystemProperties.java.
407         (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
408         * Makefile.in: Regenerated.
409
410 2005-04-25  Roman Kennke  <roman@kennke.org>
411
412         * javax/swing/plaf/basic/BasicScrollBarUI.java
413         (initDefaults): Initialize thumb*Color fields correctly.
414
415 2005-04-25  Roman Kennke  <roman@kennke.org>
416
417         * javax/swing/text/GapContent.java:
418         Added API comments.
419
420 2005-04-25  Roman Kennke  <roman@kennke.org>
421
422         * javax/swing/plaf/metal/MetalBorders.java:
423         Added inner class ScrollPaneBorder.
424         * javax/swing/plaf/metal/MetalLookAndFeel.java
425         (initComponentDefaults): Added default for "ScrollPane.border"
426         to use the new ScrollPaneBorder.
427
428 2005-04-25  Roman Kennke  <roman@kennke.org>
429
430         * javax/swing/text/AbstractDocument.java:
431         Added FIXME comments. This class still has to be
432         implemented thread-safe.
433
434 2005-04-25  Roman Kennke  <roman@kennke.org>
435
436         * javax/swing/tree/DefaultTreeSelectionModel.java
437         (DefaultTreeSelectionModel): Initialize listenerList here.
438
439 2005-04-25  Roman Kennke  <roman@kennke.org>
440
441         * javax/swing/plaf/metal/MetalTextFieldUI.java
442         (createUI): Return one instance per Component instead of a
443         shared instance.
444
445 2005-04-25  Roman Kennke  <roman@kennke.org>
446
447         * javax/swing/text/Document.java:
448         Added API documentation comments.
449
450 2005-04-25  Roman Kennke  <roman@kennke.org>
451
452         * javax/swing/text/AbstractDocument.java
453         (getDocumentProperties): Implemented.
454         (setDocumentProperties): Implemented.
455         (getProperty): Implemented.
456         (putProperty): Implemented.
457
458 2005-04-25  Roman Kennke  <roman@kennke.org>
459
460         * javax/swing/BoxLayout
461         (preferredLayoutSize): Fixed computation so that it correctly
462         adds the top and bottom insets of the container.
463
464 2005-04-25  Roman Kennke  <roman@kennke.org>
465
466         * javax/swing/plaf/basic/BasicMenuItemUI.java
467         (paintText): Make use of the 'selectionForeground' UI default
468         for text painting.
469
470 2005-04-25  Roman Kennke  <roman@kennke.org>
471
472         * javax/swing/plaf/basic/BasicLookAndFeel.java
473         (initSystemColorDefaults): Modified colors to match the
474         BasicLookAndFeel in the reference implementation.
475         (initComponentDefaults): Likewise.
476
477 2005-04-25  Tom Tromey  <tromey@redhat.com>
478
479         * include/jni.h (_Jv_va_list): Removed.
480         Moved configuration code...
481         * include/jni_md.h: ... here.  New file.
482         * include/Makefile.in: Rebuilt.
483         * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
484
485 2005-04-23  Jeroen Frijters  <jeroen@frijters.net>
486
487         * java/io/FileInputStream.java (FileInputStream(File)),
488         java/io/FileOutputStream.java (FileOutputStream(File)):
489         Removed unnecessary File.isDirectory() check.
490
491 2005-04-22  Bryce McKinlay  <mckinlay@redhat.com>
492
493         * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
494         gij if get_multilibs fails.
495
496 2005-04-22  Anthony Green  <green@redhat.com>
497
498         * jni.cc (natrehash): Don't bother clearing memory again.
499         * interpret.cc (do_allocate_static_fields): Ditto.
500         * java/lang/natString.cc (rehash): Ditto.
501
502 2005-04-22  Roman Kennke  <roman@kennke.org>
503
504         * javax/swing/plaf/basic/BasicLookAndFeel.java
505         (initComponentDefaults): Changed Button.border to be
506         BasicBorders.getButtonBorder as it should be.
507
508 2005-04-22  Roman Kennke  <roman@kennke.org>
509
510         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
511         (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
512         should according to a mauve testcase, instead of the preferred
513         size.
514
515 2005-04-22  Roman Kennke  <roman@kennke.org>
516
517         * javax/swing/JMenu.java
518         (add): add(Component) now calls PopupMenu.insert(..) instead of
519         PopupMenu.add(..). add(..) is not implemented for Component,
520         so JComponent.add(..) is called instead, adding the component
521         in the wrong place.
522
523 2005-04-22  Roman Kennke  <roman@kennke.org>
524
525         * javax/swing/plaf/basic/BasicButtonListener.java
526         (mousePressed): replaced query to getModifiersEx with getModifiers.
527         This method relied on faulty behaviour in getModifierEx.
528         (mouseReleased): replaced query to getModifiersEx with getModifiers.
529         This method relied on faulty behaviour in getModifierEx.
530
531 2005-04-22  Roman Kennke  <roman@kennke.org>
532
533         * javax/swing/plaf/metal/MetalLookAndFeel.java
534         (getDefaults): Call addCustomEntriesToTable on the theme.
535
536 2005-04-22  Roman Kennke  <roman@kennke.org>
537
538         * javax/swing/tree/DefaultTreeSelectionModel.java
539         (constructor): Added implementation.
540         (getRowMapper): Added implementation.
541         (setSelectionMode): Added implementation.
542         (getSelectionMode): Added implementation.
543         (getSelectionPath): Added implementation.
544         (getSelectionPaths): Added implementation.
545         (getSelectionCount): Added implementation.
546         (isSelectionEmpty): Added implementation.
547         (getSelectionRows): Added implementation.
548         (getMinSelectionRow): Added implementation.
549         (getMaxSelectionRow): Added implementation.
550         (getLeadSelectionRow): Added implementation.
551         (getLeadSelectionPath): Added implementation.
552
553 2005-04-22  Casey Marshall <csm@gnu.org>
554
555         * gnu/java/security/der/DERValue.java
556         (getValueAs): new method.
557         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
558         (<init>): read both dates with 'DERValue.getValueAs', with
559         'GENERALIZED_TIME' as the argument.
560
561 2005-04-22  Andrew Pinski  <pinskia@physics.uc.edu>
562
563         * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
564         be null, check for that case and don't deference it.
565
566 2005-04-22  Sven de Marothy  <sven@physto.se>
567
568         * java/util/logging/LogManager.java: Reformatted.
569         (readConfiguration): If a logger for a key is not found, create one.
570
571 2005-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
572
573         * java/rmi/Naming.java:
574         Added class documentation.
575         (lookup(String)): Call parseURL and getName.
576         (bind(String,java.rmi.Remote)): Likewise.
577         (unbind(String)): Likewise.
578         (rebind(String, java.rmi.Remote)): Likewise.
579         (list(String)): Call parseURL.
580         (parseURL(String)): New method to handle parsing and defaults.
581         (getName(java.net.URL)): New method to handle finding the service name.
582
583 2005-04-21  Tom Tromey  <tromey@redhat.com>
584
585         * java/lang/natClass.cc (initializeClass): Link class.
586
587 2005-04-21  Tom Tromey  <tromey@redhat.com>
588
589         * java/lang/AssertionError.java: Typo fix.
590
591 2005-04-21  Tom Tromey  <tromey@redhat.com>
592
593         * java/lang/VMClassLoader.java (transformException): Removed.
594         (resolveClass): No longer native.  Now does nothing.
595         * java/lang/natVMClassLoader.cc (resolveClass): Removed.
596
597 2005-04-21  Anthony Green  <green@redhat.com>
598
599         PR libgcj/21115
600         * testsuite/libjava.special/special.exp,
601         testsuite/libjava.special/pr21115I.java,
602         testsuite/libjava.special/pr21115.java,
603         testsuite/libjava.special/pr21115.out: New files.
604
605 2005-04-21  Chris Burdess  <dog@gnu.org>
606
607         * gnu/java/net/CRLFInputStream.java: Rewrite to return
608         CRLF-delimited chunks.
609
610 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
611
612         * java/net/URI.java:
613         Added class documentation.
614         (parseURI(String)): Only handle scheme-specific parts
615         if URI is not opaque.  Allow for parts that can't be null.
616         (toString()): Output the scheme-specific part whole, rather
617         than as its possibly non-existent components.
618
619 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
620
621         * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
622         (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
623         Adjusted to match new regexp.
624
625 2005-04-20  Michael Koch  <konqueror@gmx.de>
626
627         * gnu/java/net/protocol/file/Connection.java,
628         gnu/java/net/protocol/jar/Connection.java:
629         Reorganized import statements. Fixed @author tags.
630
631 2005-04-20  Chris Burdess  <dog@gnu.org>
632
633         * java/io/DataOutputStream.java (writeUTF): Use block write for
634         output.
635
636 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
637
638         * java/io/DataInputStream.java (ignoreInitialNewline): Removed
639         (readLine): Changed newline handling.
640
641 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
642
643         * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
644         ColorModel,byte[],int,int): Fixed byte to int conversion.
645
646 2005-04-20  Michael Koch  <konqueror@gmx.de>
647
648         * java/io/FilePermission.java
649         (serialVersionUID): Made private.
650         (ALL_FILES): New constant.
651         (implies): Handle '<<ALL FILES>>' case.
652
653 2005-04-20  Sven de Marothy  <sven@physto.se>
654
655         * gnu/java/awt/peer/gtk/GdkGraphics.java:
656         (drawImage): Don't notify the image observer for offscreen images.
657         * gnu/java/awt/peer/gtk/GtkImagePainter.java:
658         (setPixels): Don't notify the image observer.
659
660 2005-04-20  Sven de Marothy  <sven@physto.se>
661
662         * java/nio/ByteBufferImpl.java:
663         (putChar): Inlined for speed.
664         (put, get): Bulk methods can use arraycopy.
665         * java/nio/CharBufferImpl.java:
666         (put, get): Bulk methods can use arraycopy.
667
668 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
669
670         * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
671         and field updates.
672         * java/nio/CharBufferImpl.java
673         (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
674         (get(), put(char)): Inlined checks and field updates. Fixed to
675         take array_offset into account.
676         (get(int), put(int, char)): Fixed to take array_offset into account.
677
678 2005-04-20  Sven de Marothy  <sven@physto.se>
679
680         * java/text/SimpleDateFormat.java:
681         (formatWithAttribute): Pad year before truncating digits.
682
683 2005-04-20  Michael Koch  <konqueror@gmx.de>
684
685         * gnu/java/net/PlainDatagramSocketImpl.java:
686         Merged copyright header.
687         * gnu/java/net/PlainSocketImpl.java:
688         Reorganized import statements. Fixed @author tags.
689
690 2005-04-20  Michael Koch  <konqueror@gmx.de>
691
692         * gnu/java/lang/ClassHelper.java,
693         gnu/java/lang/reflect/TypeSignature.java:
694         Fixed @author tag.
695
696 2005-04-20  Michael Koch  <konqueror@gmx.de>
697
698         * gnu/java/beans/IntrospectionIncubator.java:
699         Fixed HTML tags in javadocs.
700
701 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
702
703         * gnu/java/beans/IntrospectionIncubator.java
704         (addToPropertyHash, addToListenerHash): Don't confuse get(),
705         set(), is(), add() and remove() with properties or events.
706
707 2005-04-20  Michael Koch  <konqueror@gmx.de>
708
709         * gnu/java/awt/image/XBMDecoder.java:
710         Fixed modifier order.
711
712 2005-04-20  Roman Kennke  <roman@kennke.org>
713
714         * javax/swing/plaf/basic/BasicButtonUI.java
715         (paint): This should not care about margin and insets
716         at the same time, as insets already include the margin
717         through the border.
718         * javax/swing/plaf/basic/BasicGraphicsUtils.java
719         (getPreferredButtonSize): Likewise.
720         * javax/swing/plaf/metal/MetalBorders.java
721         (getBorderInsets): Likewise.
722
723 2005-04-20  Roman Kennke  <roman@kennke.org>
724
725         * javax/swing/plaf/basic/BasicOptionPaneUI.java
726         (createMessageArea): The JPanel that holds the message area
727         doesn't need to override getPreferredSize. This prevents some
728         message components from rendering nicely.
729
730 2005-04-20  Roman Kennke  <roman@kennke.org>
731
732         * javax/swing/plaf/metal/MetalInternalFrameUI.java
733         (createUI): Do not share instances between components.
734         * javax/swing/plaf/metal/MetalSliderUI.java
735         (createUI): Do not share instances between components.
736
737 2005-04-20  Roman Kennke  <roman@kennke.org>
738
739         * javax/swing/plaf/metal/MetalBorders:
740         (PopupMenuBorder): Added.
741         * javax/swing/plaf/metal/MetalLookAndFeel
742         (initComponentDefaults): Added PopupMenuBorder.
743
744 2005-04-20  Roman Kennke  <roman@kennke.org>
745
746         * javax/swing/tree/DefaultTreeSelectionModel.java:
747         Added API documentation all over the class.
748
749 2005-04-20  Roman Kennke  <roman@kennke.org>
750
751         * javax/swing/plaf/basic/BasicScrollPaneUI.java
752         (installDefaults): Link managed JScrollPane in instance field.
753         (uninstallDefaults): Unlink managed JScrollPane in instance field.
754
755 2005-04-20  Roman Kennke  <roman@kennke.org>
756
757         * javax/swing/plaf/basic/BasicScrollBarUI.java
758         (PropertyChangeHandler.propertyChange): Add default
759         to switch statement to avoid errors with unusual values
760         for orientation.
761         (installComponents): Likewise.
762
763 2005-04-20  Roman Kennke  <roman@kennke.org>
764
765         * javax/swing/plaf/metal/MetalScrollBarUI.java:
766         (createUI): Instances cannot be shared among JScrollPanes.
767
768 2005-04-20  Roman Kennke  <roman@kennke.org>
769
770         * javax/swing/plaf/metal/MetalLookAndFeel.java
771         (initComponentDefaults): Added defaults for Menu, MenuBar
772         MenuEntry fonts.
773
774 2005-04-20  Roman Kennke  <roman@kennke.org>
775
776         * javax/swing/plaf/basic/BasicScrollBarUI.java
777         (installUI): Install listeners after everything all, otherwise
778         we get strange NPEs in some situations, especially with
779         custom L&Fs.
780         (createIncreaseButton): Orientation is expected to be
781         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
782         HORIZONTAL or VERTICAL.
783         (createDecreaseButton): Orientation is expected to be
784         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
785         HORIZONTAL or VERTICAL.
786         (installComponents): Orientation for buttons is expected to be
787         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
788         HORIZONTAL or VERTICAL.
789
790 2005-04-20  Roman Kennke  <roman@kennke.org>
791
792         * javax/swing/JToolBar.java
793         (addImpl): Adjust added AbstractButtons to look and feel like
794         toolbar buttons.
795         * javax/swing/plaf/metal/MetalBorders.java:
796         Adjusted insets of ButtonBorder.
797         (RolloverMarginBorder): Added class for toolbar buttons.
798         (getButtonBorder): Adjusted factory method to return a shared
799         instance of button border.
800         (getToolbarButtonBorder): Added factory method to return a shared
801         instance of toolbar button border.
802         (getMarginBorder): Added factory method to return a shared
803         instance of margin border.
804         * javax/swing/plaf/metal/MetalButtonUI.java
805         (installDefauls): If button is child of a JToolBar then set
806         special border on this button.
807
808 2005-04-20  Michael Koch  <konqueror@gmx.de>
809
810         * java/net/URLConnection.java
811         (getContent): Fixed javadoc comment.
812
813 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
814
815         * java/net/URL.java:
816         (toURI()): Implemented.
817
818 2005-04-19  Michael Koch  <konqueror@gmx.de>
819
820         * java/net/InetAddress.java
821         (InetAddress): Fixed javadoc comment.
822         (aton): Likewise.
823         (lookup): Added javadoc.
824         (getFamily): Likewise.
825         * java/net/ServerSocket.java
826         (getChannel): Improved javadoc comment.
827
828 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
829
830         * gnu/xml/dom/html2/DomHTMLParser.java:
831         Changed 'enum' references to become 'enumeration'.
832
833 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
834
835         * gnu/xml/dom/html2/DomHTMLParser.java: New file.
836
837 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
838
839         * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
840         (getAttributeNames()): Replaced 'enum' with 'enumeration'.
841         * gnu/javax/swing/text/html/parser/htmlValidator.java:
842         (validateParameters(TagElement,htmlAttributeSet)):
843         Replaced 'enum' with 'enumeration'.
844         (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
845         Likewise.
846
847 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
848
849         * javax/swing/text/html/parser/Entity.java (getType): New method.
850         * javax/swing/text/html/parser/DocumentParser.java:
851         Inherit from javax.swing.text.html.parser.Parser.
852
853 2005-04-19  Chris Burdess  <dog@gnu.org>
854
855         * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
856         check for HTML/XHTML namespace.
857
858 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
859
860         * javax/swing/text/html/parser/Parser.java,
861         javax/swing/text/html/parser/Entity.java:
862         Inheriting from DTDConstants.
863         * javax/swing/text/html/parser/AttributeList.java
864         (getValues): Changed return type.
865         * javax/swing/text/html/parser/DocumentParser
866         (parse): Adding the callback parameter that receives
867         the parsing events.
868
869 2005-04-19  Chris Burdess  <dog@gnu.org>
870
871         * gnu/xml/dom/DomImpl.java,
872         gnu/xml/dom/html2/DomHTMLAnchorElement.java,
873         gnu/xml/dom/html2/DomHTMLDocument.java,
874         gnu/xml/dom/html2/DomHTMLElement.java,
875         gnu/xml/dom/html2/DomHTMLFormElement.java,
876         gnu/xml/dom/html2/DomHTMLFrameElement.java,
877         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
878         gnu/xml/dom/html2/DomHTMLImpl.java,
879         gnu/xml/dom/html2/DomHTMLInputElement.java,
880         gnu/xml/dom/html2/DomHTMLObjectElement.java,
881         gnu/xml/dom/html2/DomHTMLOptionElement.java,
882         gnu/xml/dom/html2/DomHTMLSelectElement.java,
883         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
884         gnu/xml/dom/html2/DomHTMLTableElement.java,
885         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
886         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
887         gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
888         UI events, and tree utility functions.
889
890 2005-04-19  Michael Koch  <konqueror@gmx.de>
891
892         * gnu/javax/swing/text/html/parser/HTML_401F.java,
893         gnu/javax/swing/text/html/parser/gnuDTD.java,
894         gnu/javax/swing/text/html/parser/models/node.java:
895         Reworked import statements.
896
897 2005-04-19  Audrius Meskauskas, Lithuania  <AudriusA@Bioinformatics.org>
898
899         * javax/swing/text/html/HTMLDocument.java: New file.
900
901 2005-04-19  Michael Koch  <konqueror@gmx.de>
902
903         * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
904         Reformatted.
905         * javax/swing/text/html/parser/AttributeList.java:
906         Fixed order of modifiers.
907         (AttributeList): Made final.
908         * javax/swing/text/html/parser/ContentModel.java:
909         Fixed html characters in javadocs.
910         * javax/swing/text/html/parser/DTD.java
911         (DTD): Don't implement java.io.Serializable directly.
912         (getElement): Simplified.
913         * javax/swing/text/html/parser/DTDConstants.java:
914         Reformatted file.
915         * javax/swing/text/html/parser/Element.java:
916         Fixed order of modifiers.
917         * javax/swing/text/html/parser/Parser.java:
918         Reformatted. Don't use fully-qualified class names.
919         * javax/swing/text/html/parser/ParserDelegator.java:
920         Fixed order of modifiers.
921         * javax/swing/text/rtf/RTFParser.java:
922         Re-ordered import statements.
923         * javax/swing/text/rtf/RTFScanner.java:
924         Removed unused import statement.
925
926 2005-04-19  Chris Burdess  <dog@gnu.org>
927
928         * gnu/xml/dom/html2/DomHTMLButtonElement.java,
929         gnu/xml/dom/html2/DomHTMLCollection.java,
930         gnu/xml/dom/html2/DomHTMLDocument.java,
931         gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
932         types.
933         * gnu/xml/dom/html2/DomHTMLDListElement.java,
934         gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
935         gnu/xml/dom/html2/DomHTMLDivElement.java,
936         gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
937         gnu/xml/dom/html2/DomHTMLFontElement.java,
938         gnu/xml/dom/html2/DomHTMLFormElement.java,
939         gnu/xml/dom/html2/DomHTMLFrameElement.java,
940         gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
941         gnu/xml/dom/html2/DomHTMLHRElement.java,
942         gnu/xml/dom/html2/DomHTMLHeadElement.java,
943         gnu/xml/dom/html2/DomHTMLHeadingElement.java,
944         gnu/xml/dom/html2/DomHTMLHtmlElement.java,
945         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
946         gnu/xml/dom/html2/DomHTMLImageElement.java,
947         gnu/xml/dom/html2/DomHTMLInputElement.java,
948         gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
949         gnu/xml/dom/html2/DomHTMLLIElement.java,
950         gnu/xml/dom/html2/DomHTMLLabelElement.java,
951         gnu/xml/dom/html2/DomHTMLLegendElement.java,
952         gnu/xml/dom/html2/DomHTMLLinkElement.java,
953         gnu/xml/dom/html2/DomHTMLMapElement.java,
954         gnu/xml/dom/html2/DomHTMLMenuElement.java,
955         gnu/xml/dom/html2/DomHTMLMetaElement.java,
956         gnu/xml/dom/html2/DomHTMLModElement.java,
957         gnu/xml/dom/html2/DomHTMLOListElement.java,
958         gnu/xml/dom/html2/DomHTMLObjectElement.java,
959         gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
960         gnu/xml/dom/html2/DomHTMLOptionElement.java,
961         gnu/xml/dom/html2/DomHTMLParagraphElement.java,
962         gnu/xml/dom/html2/DomHTMLParamElement.java,
963         gnu/xml/dom/html2/DomHTMLPreElement.java,
964         gnu/xml/dom/html2/DomHTMLQuoteElement.java,
965         gnu/xml/dom/html2/DomHTMLScriptElement.java,
966         gnu/xml/dom/html2/DomHTMLSelectElement.java,
967         gnu/xml/dom/html2/DomHTMLStyleElement.java,
968         gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
969         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
970         gnu/xml/dom/html2/DomHTMLTableColElement.java,
971         gnu/xml/dom/html2/DomHTMLTableElement.java,
972         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
973         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
974         gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
975         gnu/xml/dom/html2/DomHTMLTitleElement.java,
976         gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
977
978 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
979
980         * javax/swing/text/ChangedCharSetException.java,
981         javax/swing/text/html/HTMLEditorKit.java,
982         javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
983         javax/swing/text/html/parser/AttributeList.java,
984         javax/swing/text/html/parser/ContentModel.java,
985         javax/swing/text/html/parser/DocumentParser.java,
986         javax/swing/text/html/parser/DTD.java,
987         javax/swing/text/html/parser/DTDConstants.java,
988         javax/swing/text/html/parser/Element.java,
989         javax/swing/text/html/parser/Entity.java,
990         javax/swing/text/html/parser/Parser.java,
991         javax/swing/text/html/parser/TagElement.java,
992         gnu/javax/swing/text/html/package.html,
993         gnu/javax/swing/text/html/parser/gnuDTD.java,
994         gnu/javax/swing/text/html/parser/HTML_401F.java,
995         gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
996         gnu/javax/swing/text/html/parser/htmlValidator.java,
997         gnu/javax/swing/text/html/parser/package.html,
998         gnu/javax/swing/text/html/parser/models/list.java,
999         gnu/javax/swing/text/html/parser/models/node.java,
1000         gnu/javax/swing/text/html/parser/models/noTagModel.java,
1001         gnu/javax/swing/text/html/parser/models/package.html,
1002         gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1003         gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1004         gnu/javax/swing/text/html/parser/models/transformer.java,
1005         gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1006         gnu/javax/swing/text/html/parser/support/package.html,
1007         gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1008         gnu/javax/swing/text/html/parser/support/Parser.java,
1009         gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1010         gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1011         gnu/javax/swing/text/html/parser/support/low/Constants.java,
1012         gnu/javax/swing/text/html/parser/support/low/Location.java,
1013         gnu/javax/swing/text/html/parser/support/low/node.java,
1014         gnu/javax/swing/text/html/parser/support/low/package.html,
1015         gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1016         gnu/javax/swing/text/html/parser/support/low/pattern.java,
1017         gnu/javax/swing/text/html/parser/support/low/Queue.java,
1018         gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1019         New files.
1020         * javax/swing/text/html/HTML.java,
1021         javax/swing/text/html/parser/ParserDelegator.java:
1022         New files (replacing).
1023         * javax/swing/text/html/package.html,
1024         javax/swing/text/html/parser/package.html: Documenting the
1025         packages.
1026
1027 2005-04-19  Chris Burdess  <dog@gnu.org>
1028
1029         * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1030         gnu/xml/dom/html2/DomHTMLAppletElement.java,
1031         gnu/xml/dom/html2/DomHTMLAreaElement.java,
1032         gnu/xml/dom/html2/DomHTMLBaseElement.java,
1033         gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1034         gnu/xml/dom/html2/DomHTMLBodyElement.java,
1035         gnu/xml/dom/html2/DomHTMLBRElement.java,
1036         gnu/xml/dom/html2/DomHTMLButtonElement.java,
1037         gnu/xml/dom/html2/DomHTMLCollection.java,
1038         gnu/xml/dom/html2/DomHTMLDocument.java,
1039         gnu/xml/dom/html2/DomHTMLElement.java: New files.
1040
1041 2005-04-19  Michael Koch  <konqueror@gmx.de>
1042
1043         * Makefile.am: Added new files.
1044         * Makefile.in: Regenerated.
1045
1046 2005-04-19  Roman Kennke  <roman@kennke.org>
1047
1048         * javax/swing/text/JTextComponent.java
1049         (JTextComponent): Added repaintListener which issues repaint
1050         requests when the underlying document changes.
1051         (setDocument): Adds repaintListener to document when the
1052         document is changed.
1053         * javax/swing/text/DefaultEditorKit.java:
1054         Removed repaint calls on JTextComponent. This is now handled
1055         through a DocumentListener in JTextComponent that repaints
1056         the component when needed.
1057
1058 2005-04-19  Roman Kennke  <roman@kennke.org>
1059
1060         PR libgcj/21064
1061         * javax/swing/text/StyleContext.java
1062         (NamedStyle.setResolveParent): Added null
1063         pointer check.
1064
1065 2005-04-19  Michael Koch  <konqueror@gmx.de>
1066
1067         * java/rmi/server/RemoteObject.java:
1068         Removed unused import statement.
1069
1070 2005-04-19  Michael Koch  <konqueror@gmx.de>
1071
1072         * java/net/URL.java: Formatting cleanups.
1073
1074 2005-04-19  Michael Koch  <konqueror@gmx.de>
1075
1076         * java/awt/FontMetrics.java: Reformatted.
1077         (getFontRenderContext): Handle case when java.awt.Graphics context is
1078         given.
1079
1080 2005-04-19  Michael Koch  <konqueror@gmx.de>
1081
1082         * java/awt/FontMetrics.java
1083         (getStringBounds): New methods.
1084
1085
1086 2005-04-19  Michael Koch  <konqueror@gmx.de>
1087
1088         * gnu/java/security/x509/X509Certificate.java
1089         (parse): Handle val == null case.
1090
1091 2005-04-19  Roman Kennke  <roman@kennke.org>
1092
1093         * javax/swing/plaf/metal/MetalLookAndFeel.java
1094         (initComponentDefaults): Added defaults for Menu, MenuBar
1095         MenuEntry fonts.
1096
1097 2005-04-19  Roman Kennke  <roman@kennke.org>
1098
1099         * javax/swing/plaf/metal/MetalLookAndFeel.java
1100         (initComponentDefaults): Added Label.font.
1101         (initSystemColorDefaults): Added this method and adjusted the
1102         general control color.
1103
1104 2005-04-19  Roman Kennke  <roman@kennke.org>
1105
1106         * javax/swing/plaf/metal/MetalBorders.java:
1107         Added.
1108         * javax/swing/plaf/metal/MetalButtonUI.java:
1109         (installDefaults): Install button font.
1110         * javax/swing/plaf/metal/MetalLookAndFeel.java:
1111         (initComponentDefaults): Added button border, font and margin.
1112         Changed components background color to the Metal current themes
1113         standard color.
1114
1115 2005-04-19  Roman Kennke  <roman@kennke.org>
1116
1117         * javax/swing/plaf/metal/MetalLookAndFeel.java
1118         (initComponentDefaults): Added to set Metal specific component
1119         defaults.
1120
1121 2005-04-19  Mark Wielaard  <mark@klomp.org>
1122
1123         * javax/swing/plaf/metal/MetalLookAndFeel.java
1124         (initClassDefaults): Call super.initClassDefaults().
1125
1126 2005-04-19  Roman Kennke  <roman@kennke.org>
1127
1128         * javax/swing/plaf/metal/MetalLookAndFeel.java
1129         (initClassDefaults): Added to include the *UI classes.
1130
1131 2005-04-19  Roman Kennke  <roman@kennke.org>
1132
1133         * javax/swing/plaf/metal/MetalComboBoxUI.java:
1134         Added.
1135         * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1136         Added.
1137         * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1138         Added.
1139         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1140         Added.
1141         * javax/swing/plaf/metal/MetalProgressBarUI.java:
1142         Added.
1143         * javax/swing/plaf/metal/MetalRootPaneUI.java:
1144         Added.
1145         * javax/swing/plaf/metal/MetalScrollBarUI.java:
1146         Added.
1147         * javax/swing/plaf/metal/MetalSeparatorUI.java:
1148         Added.
1149         * javax/swing/plaf/metal/MetalSliderUI.java:
1150         Added.
1151         * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1152         Added.
1153         * javax/swing/plaf/metal/MetalTextFieldUI.java:
1154         Added.
1155         * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1156
1157 2005-04-19  Roman Kennke  <roman@kennke.org>
1158
1159         * javax/swing/plaf/metal/MetalButtonUI.java:
1160         Added skeleton class.
1161         * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1162         Added skeleton class.
1163         * javax/swing/plaf/metal/MetalLabelUI.java:
1164         Added skeleton class.
1165         * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1166         Added skeleton class.
1167         * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1168         Added skeleton class.
1169         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1170         Added skeleton class.
1171
1172 2005-04-19  Roman Kennke  <roman@kennke.org>
1173
1174         * javax/swing/UIDefaults.java:
1175         Added API documentation for all methods.
1176
1177 2005-04-19  Roman Kennke  <roman@kennke.org>
1178
1179         * javax/swing/UIDefaults.java
1180         (put): Now uses new checkAndPut method instead of checking
1181         directly.
1182         (putDefaults): Fixed so that it accepts null-values and
1183         treats them like remove(key).
1184         (checkAndPut): Added. This checks for null-values and calls
1185         put or remove.
1186
1187 2005-04-19  Michael Koch  <konqueror@gmx.de>
1188
1189         * Makefile.am: Added new files.
1190         * Makefile.in: Regenerated.
1191
1192 2005-04-19  Mark Wielaard  <mark@klomp.org>
1193
1194         * java/lang/natRuntime.cc (insertSystemProperties): Set
1195         java.class.path to CLASSPATH only when not empty. Fall back to
1196         default path "." when java.class.path is empty.
1197
1198 2005-04-19  Michael Koch  <konqueror@gmx.de>
1199
1200         * javax/swing/text/rtf/ControlWordToken.java,
1201         javax/swing/text/rtf/RTFEditorKit.java,
1202         javax/swing/text/rtf/RTFParseException.java,
1203         javax/swing/text/rtf/RTFParser.java,
1204         javax/swing/text/rtf/RTFScanner.java,
1205         javax/swing/text/rtf/TextToken.java,
1206         javax/swing/text/rtf/Token.java: New files.
1207         * Makefile.am: Added new files.
1208         * Makefile.in: Regenerated.
1209
1210 2005-04-19  Michael Koch  <konqueror@gmx.de>
1211
1212         * java/awt/geom/QuadCurve2D.java:
1213         Fixed Brian Gough's name for real.
1214
1215 2005-04-19  Roman Kennke  <roman@kennke.org>
1216
1217         * javax/swing/UIManager.java:
1218         Make the UIManager respect the swing.defaultlaf system
1219         property.
1220
1221 2005-04-19  Tom Tromey  <tromey@redhat.com>
1222
1223         * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1224         not _Jv_InitClass.
1225
1226 2005-04-19  Roman Kennke  <roman@kennke.org>
1227
1228         * javax/swing/plaf/basic/BasicMenuBarUI.java:
1229         Fixed tabs to spaces.
1230
1231 2005-04-19  Roman Kennke  <roman@kennke.org>
1232
1233         * javax/swing/plaf/basic/BasicMenuUI.java
1234         (getMaximumSize): Now returns preferredSize because JMenu should
1235         never be bigger than that.
1236         * javax/swing/JRootPane
1237         (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1238
1239 2005-04-19  Roman Kennke  <roman@kennke.org>
1240
1241         * javax/swing/JRootPane.java:
1242         Fixed various tabs to be spaces.
1243         (RootLayout.layoutContainer): Made menubar left aligned.
1244
1245 2005-04-19  Roman Kennke  <roman@ontographics.com>
1246
1247         * javax/swing/JList.java
1248         (getPreferredScrollableViewportSize):
1249         The previous implementation was merely guessing the size,
1250         now it respects layoutOrientation, visibleRowCount
1251         and preferredSize.
1252         (getScrollableTracksViewportHeight):
1253         Reimplemented so that layoutOrientation, visibleRowCount
1254         and preferred size are respected.
1255         (getScrollableTracksViewportWidth):
1256         Reimplemented so that layoutOrientation, visibleRowCount
1257         and preferred size are respected.
1258         * javax/swing/plaf/basic/BasicListUI.java
1259         (getPreferredSize):
1260         Improved calculation of preferredSize when JList is
1261         set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1262         (getCellBounds):
1263         The previous implementation assumed a layoutOrientation of
1264         JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1265         JList.VERTICAL_WRAP.
1266
1267 2005-04-19  Roman Kennke  <roman@ontographics.com>
1268
1269         * javax/swing/plaf/basic/BasicListUI.java
1270         (paintCell): use CellRendererPane for painting the cells.
1271
1272 2005-04-19  Roman Kennke  <roman@ontographics.com>
1273
1274         * javax/swing/plaf/basic/BasicListUI:
1275         fixed modifiers of several fields, methods and inner
1276         classes to match the 'spec'.
1277         (getMaximumSize): removed. It's not in the spec and the
1278         implementations was superfluous.
1279
1280 2005-04-19  Roman Kennke  <roman@ontographics.com>
1281
1282         * javax/swing/plaf/basic/BasicListUI:
1283         make BasicListUI capable of wrapping lists
1284         (layoutOrientation property of javax.swing.JList)
1285
1286 2005-04-19  Roman Kennke  <roman@ontographics.com>
1287
1288         * javax/swing/plaf/basic/BasicListUI
1289         (updateLayoutState,paint): make BasicListUI aware of the
1290         width of the rendered JList.
1291
1292 2005-04-19  Roman Kennke  <roman@kennke.org>
1293
1294         * javax/swing/ImageIcon.java
1295         Added API documentation.
1296
1297 2005-04-19  Roman Kennke  <roman@kennke.org>
1298
1299         * javax/swing/text/ImageIcon.java
1300         (ImageIcon): Use setImage instead of direct assignment.
1301         (setImage): Call loadImage to make sure that the image is loaded.
1302         (loadImage): Waits for the image to complete loading.
1303         (getImageLoadStatus): Added. Returns the load status of the
1304         image.
1305
1306 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
1307
1308         * javax/swing/JTextArea.java (replaceRange):
1309         Fixing doc.remove(start, length) misinterpretation.
1310
1311 2005-04-19  Roman Kennke  <roman@ontographics.com>
1312
1313         * javax/swing/CellRendererPane.java:
1314         implemented all methods of this class.
1315         reformatted all wrong formatted code.
1316
1317 2005-04-19  Roman Kennke  <roman@kennke.org>
1318
1319         * javax/swing/BoxLayout.java:
1320         (layoutContainer): Made this layout manager respect the
1321         minimum, maximum and preferred size more correctly.
1322
1323 2005-04-19  Roman Kennke  <roman@ontographics.com>
1324
1325         * javax/swing/BoxLayout.java:
1326         (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
1327         layoutContainer): Make these methods and thereby the
1328         BoxLayout respect the insets (like borders) of the
1329         component that is laid out.
1330
1331 2005-04-19  Roman Kennke  <roman@kennke.org>
1332
1333         * javax/swing/JComponent.java:
1334         Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
1335         Untabified the file.
1336
1337 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
1338
1339         * javax/swing/JComboBox.java (constructors): selecting the
1340         first item if the box was constructed from the provided
1341         non - empty array or vector.
1342
1343 2005-04-19  Michael Koch  <konqueror@gmx.de>
1344
1345         * gnu/java/awt/peer/gtk/GdkGraphics.java
1346         (getClipBounds): Handle clip being null.
1347         (setClip): Likewise.
1348         * java/beans/beancontext/BeanContextSupport.java
1349         (add): Implemented.
1350         (addAll): Likewise.
1351         (clear): Likewise.
1352         (removeAll): Likewise.
1353         (retainAll): Likewise.
1354
1355 2005-04-19  Michael Koch  <konqueror@gmx.de>
1356
1357         * java/beans/beancontext/BeanContextServicesSupport.java
1358         (BeanContextServicesSupport): Reimplemented.
1359         (addBeanContextServicesListener): Implemented.
1360         (initialize): Likewise.
1361         (removeBeanContextServicesListener): Likewise.
1362         * java/beans/beancontext/BeanContextSupport.java
1363         (add): Likewise.
1364         (addBeanContextMembershipListener): Likewise.
1365         (getLocale): Likewise.
1366         (initialize): Likewise.
1367         (iterator): Likewise.
1368         (remove): Likewise.
1369         (toArray): Likewise.
1370
1371 2005-04-19  Roman Kennke  <roman@kennke.org>
1372
1373         * java/awt/MediaTracker.java:
1374         Reindented tabs to spaces.
1375
1376 2005-04-19  Roman Kennke  <roman@kennke.org>
1377
1378         * java/awt/MediaTracker.java
1379         (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
1380         confused the media tracker and lead to lockups. The LOADING
1381         bit is handled on other places.
1382         (addImage): Removed the 'start image tracking' stuff. This
1383         is not necessary and could confuse the media tracker.
1384         (checkAll): Improved the check for image status so that
1385         images that already complete images are detected. Also now
1386         are really all images checked and if necessary loaded. Before
1387         the method bailed out after the first incomplete image.
1388         (statusAll): Detect images that are complete after the
1389         call to Component.prepareImage(..).
1390         (checkID): The same as in checkAll.
1391         (statusID): The same as in statusAll.
1392
1393 2005-04-19  Roman Kennke  <roman@kennke.org>
1394
1395         * java/awt/MediaTracker.java
1396         (addImage): Synchronized list access.
1397         (waitForAll): Fixed comparison of time (changed < to >).
1398         (waitForID): Fixed comparison of time (changed < to >).
1399         (removeImage): Synchronized list access.
1400
1401 2005-04-19  Roman Kennke  <roman@kennke.org>
1402
1403         * java/awt/MediaTracker.java
1404         Added API documentation.
1405
1406 2005-04-19  Roman Kennke  <roman@kennke.org>
1407
1408         * java/awt/MediaTracker.java
1409         (MediaEntry.imageUpdate): Fixed flags. The different flags
1410         must not be ORed together.
1411         (checkAll): Modified to handle different meaning of the flags.
1412         (waitForAll): Fixed so that it waits maximum the
1413         specified amount of milliseconds.
1414         (statusAll): Modified to handle different meaning of the flags.
1415         (waitForID): Fixed so that it waits maximum the
1416         specified amount of milliseconds.
1417
1418 2005-04-19  vid Gilbert <david.gilbert@object-refinery.com>
1419
1420         * java/awt/Font.java (decode): Handle null argument and allow
1421         space as delimiter.
1422
1423 2005-04-19  Robert Schuster <thebohemian@gmx.net>
1424
1425         * java/beans/EventHandler.java: Reworked documentation.
1426         (invoke): Fixed behavior to match spec.
1427
1428 2005-04-19  Michael Koch  <konqueror@gmx.de>
1429
1430         * java/awt/print/PrinterJob.java
1431         (pageDialog): New method.
1432         (printDialog): Implemented.
1433
1434 2005-04-19  Michael Koch  <konqueror@gmx.de>
1435
1436         * java/awt/image/ConvolveOp.java:
1437         Removed comment added by eclipse.
1438
1439 2005-04-19  Guilhem Lavaux  <guilhem@kaffe.org>
1440
1441         * java/awt/image/IndexColorModel.java
1442         (getRGB): Check if pixel is negative.
1443
1444 2005-04-19  Michael Koch  <konqueror@gmx.de>
1445
1446         * java/awt/image/RasterOp.java:
1447         Fixed wrong formatting.
1448
1449 2005-04-18  Roman Kennke  <roman@kennke.org>
1450
1451         * java/awt/Compmonent.java
1452         (setComponentOrientation): Made this property firing a
1453         PropertyChangeEvent.
1454
1455 2005-04-18  Roman Kennke  <roman@kennke.org>
1456
1457         * java/awt/BorderLayout.java
1458         (calcSize): Check for overflow when component sizes are added.
1459
1460 2005-04-18  Robert Schuster <thebohemian@gmx.net>
1461
1462         * java/awt/AWTEvent.java (toString): Added case
1463         for source not being an AWT component.
1464
1465 2005-04-18  Chris Burdess  <dog@gnu.org>
1466
1467         * gnu/java/net/BASE64.java: Truncate encoded byte array.
1468
1469 2005-04-18  Michael Koch  <konqueror@gmx.de>
1470
1471         gnu/java/awt/EmbeddedWindowSupport.java,
1472         gnu/java/net/HeaderFieldHelper.java,
1473         gnu/java/net/URLParseError.java,
1474         gnu/java/net/protocol/file/Handler.java,
1475         gnu/java/net/protocol/jar/Handler.java:
1476         Fixed usage of @author tag.
1477
1478 2005-04-18  Michael Koch  <konqueror@gmx.de>
1479
1480         * gnu/xml/aelfred2/XmlParser.java:
1481         Reverted my typo fix.
1482
1483 2005-04-18  Michael Koch  <konqueror@gmx.de>
1484
1485         * java/awt/geom/CubicCurve2D.java,
1486         java/awt/geom/QuadCurve2D.java:
1487         Fixed mentioning of Brian Gouph.
1488
1489 2005-04-18  Michael Koch  <konqueror@gmx.de>
1490
1491         * gnu/java/awt/Buffers.java,
1492         gnu/java/awt/image/ImageDecoder.java,
1493         gnu/java/awt/image/XBMDecoder.java,
1494         gnu/java/awt/peer/ClasspathFontPeer.java,
1495         gnu/java/net/CRLFInputStream.java,
1496         gnu/java/net/EmptyX509TrustManager.java,
1497         gnu/java/net/LineInputStream.java,
1498         gnu/java/net/protocol/ftp/ActiveModeDTP.java,
1499         gnu/java/net/protocol/ftp/BlockInputStream.java,
1500         gnu/java/net/protocol/ftp/CompressedInputStream.java,
1501         gnu/java/net/protocol/ftp/DTP.java,
1502         gnu/java/net/protocol/ftp/DTPInputStream.java,
1503         gnu/java/net/protocol/ftp/FTPConnection.java,
1504         gnu/java/net/protocol/ftp/FTPURLConnection.java,
1505         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
1506         gnu/java/net/protocol/ftp/StreamInputStream.java,
1507         gnu/java/net/protocol/http/ChunkedInputStream.java,
1508         gnu/java/net/protocol/http/HTTPConnection.java,
1509         gnu/java/net/protocol/http/HTTPURLConnection.java,
1510         gnu/java/net/protocol/http/Headers.java,
1511         gnu/java/net/protocol/http/Request.java,
1512         gnu/java/nio/ChannelInputStream.java,
1513         gnu/java/nio/ChannelOutputStream.java,
1514         gnu/java/nio/InputStreamChannel.java,
1515         gnu/java/nio/OutputStreamChannel.java,
1516         gnu/java/nio/SelectorProviderImpl.java,
1517         gnu/java/rmi/RMIMarshalledObjectInputStream.java,
1518         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
1519         gnu/java/rmi/dgc/DGCImpl.java,
1520         gnu/java/rmi/registry/RegistryImpl.java,
1521         gnu/java/rmi/server/ProtocolConstants.java,
1522         gnu/java/rmi/server/RMIDefaultSocketFactory.java,
1523         gnu/java/rmi/server/RMIIncomingThread.java,
1524         gnu/java/rmi/server/RMIObjectInputStream.java,
1525         gnu/java/rmi/server/RMIObjectOutputStream.java,
1526         gnu/java/rmi/server/RMIVoidValue.java,
1527         gnu/java/rmi/server/UnicastConnectionManager.java,
1528         gnu/java/rmi/server/UnicastRef.java,
1529         gnu/java/rmi/server/UnicastRemoteCall.java,
1530         gnu/java/rmi/server/UnicastRemoteStub.java,
1531         gnu/java/rmi/server/UnicastServerRef.java,
1532         gnu/java/security/OID.java,
1533         gnu/java/security/der/DERReader.java,
1534         gnu/java/security/provider/CollectionCertStoreImpl.java,
1535         gnu/java/security/provider/DSAParameterGenerator.java,
1536         gnu/java/security/provider/DefaultPolicy.java,
1537         gnu/java/security/provider/EncodedKeyFactory.java,
1538         gnu/java/security/provider/GnuDHPublicKey.java,
1539         gnu/java/security/provider/GnuDSAPrivateKey.java,
1540         gnu/java/security/provider/GnuDSAPublicKey.java,
1541         gnu/java/security/provider/GnuRSAPrivateKey.java,
1542         gnu/java/security/provider/GnuRSAPublicKey.java,
1543         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
1544         gnu/java/security/provider/RSA.java,
1545         gnu/java/security/provider/SHA1PRNG.java,
1546         gnu/java/security/provider/SHA1withRSA.java,
1547         gnu/java/security/provider/X509CertificateFactory.java,
1548         gnu/java/security/x509/GnuPKIExtension.java,
1549         gnu/java/security/x509/X500DistinguishedName.java,
1550         gnu/java/security/x509/X509CRL.java,
1551         gnu/java/security/x509/X509CRLEntry.java,
1552         gnu/java/security/x509/X509CertPath.java,
1553         gnu/java/security/x509/X509CertSelectorImpl.java,
1554         gnu/java/security/x509/X509Certificate.java,
1555         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
1556         gnu/java/security/x509/ext/BasicConstraints.java,
1557         gnu/java/security/x509/ext/CRLNumber.java,
1558         gnu/java/security/x509/ext/CertificatePolicies.java,
1559         gnu/java/security/x509/ext/ExtendedKeyUsage.java,
1560         gnu/java/security/x509/ext/Extension.java,
1561         gnu/java/security/x509/ext/GeneralNames.java,
1562         gnu/java/security/x509/ext/IssuerAlternativeNames.java,
1563         gnu/java/security/x509/ext/KeyUsage.java,
1564         gnu/java/security/x509/ext/PolicyConstraint.java,
1565         gnu/java/security/x509/ext/PolicyMappings.java,
1566         gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
1567         gnu/java/security/x509/ext/ReasonCode.java,
1568         gnu/java/security/x509/ext/SubjectAlternativeNames.java,
1569         gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
1570         Reorganized import statements.
1571
1572 2005-04-18  Michael Koch  <konqueror@gmx.de>
1573
1574         * gnu/java/awt/color/CieXyzConverter.java,
1575         gnu/java/awt/color/ClutProfileConverter.java,
1576         gnu/java/awt/color/ColorLookUpTable.java,
1577         gnu/java/awt/color/ColorSpaceConverter.java,
1578         gnu/java/awt/color/GrayProfileConverter.java,
1579         gnu/java/awt/color/GrayScaleConverter.java,
1580         gnu/java/awt/color/LinearRGBConverter.java,
1581         gnu/java/awt/color/ProfileHeader.java,
1582         gnu/java/awt/color/PyccConverter.java,
1583         gnu/java/awt/color/RgbProfileConverter.java,
1584         gnu/java/awt/color/SrgbConverter.java,
1585         gnu/java/awt/color/TagEntry.java,
1586         gnu/java/awt/color/ToneReproductionCurve.java:
1587         Standardized file headers.
1588
1589 2005-04-16  Tom Tromey  <tromey@redhat.com>
1590
1591         * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
1592         'ANY' package-private.
1593
1594 2005-04-15  Tom Tromey  <tromey@redhat.com>
1595
1596         * Makefile.in: Rebuilt.
1597         * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
1598         (libgcj0_convenience_la_LIBADD): ... here.
1599
1600 2005-04-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1601
1602         * gij.cc (version): Properly quote java version.
1603         (main): Fix typo in comment.
1604
1605 2005-04-13  Mark Wielaard  <mark@klomp.org>
1606
1607         * java/lang/natRuntime.cc (insertSystemProperties): Set
1608         java.class.path to CLASSPATH if not already set.
1609
1610 2005-04-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
1611
1612         * prims.cc (parse_verbose_args): Fix verbose argument parsing.
1613
1614 2005-04-12  Mike Stump  <mrs@apple.com>
1615
1616         * configure: Regenerate.
1617
1618 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
1619
1620         PR libgcj/20958
1621         * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
1622         * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
1623
1624 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
1625
1626         PR libgcj/20975
1627         * scripts/TexinfoDoclet.java: Removed.
1628         * Makefile.am (texinfo): Removed.
1629         * Makefile.in: Regenerated.
1630
1631 2005-04-11  Michael Koch  <konqueror@gmx.de>
1632
1633         * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
1634         Fixed wrong casting.
1635
1636 2005-04-06  Andrew Haley  <aph@redhat.com>
1637
1638         * testsuite/libjava.lang/bytearray.java: New file.
1639         * testsuite/libjava.lang/bytearray.out: New file.
1640         * java/lang/ClassLoader.java (loadClassFromSig): Declare
1641         (loadClass): Use it.
1642         * java/lang/natClassLoader.cc (loadClassFromSig): New method.
1643
1644 2005-04-06  Mohan Embar  <gnustuff@thisiscool.com>
1645
1646         * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
1647         gcj-dbtool dependency
1648         * Makefile.in: Regenerated
1649
1650 2005-04-06  Bryce McKinlay  <mckinlay@redhat.com>
1651
1652         * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
1653         NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
1654
1655 2005-04-05  Andrew Haley  <aph@redhat.com>
1656
1657         * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
1658         (Tokenizer): New class.
1659         (getFiles): New method.
1660         (main): Add "-" argument.
1661         Add "-0" argument.
1662         Read list of files from stdin when merging map databases.
1663         (usage):  Add "-" argument.
1664         Add "-0" argument.
1665         Minor corrections.
1666
1667 2005-04-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
1668
1669         PR libgcj/20750
1670         * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
1671         * Makefile.in: Regenerate.
1672         * configure.ac: Add --with-java-home option.
1673         * configure: Regenerate.
1674         * external/Makefile.in: Regenerate.
1675         * external/sax/Makefile.in: Regenerate.
1676         * external/w3c_dom/Makefile.in: Regenerate.
1677         * gcj/Makefile.in: Regenerate.
1678         * include/Makefile.in: Regenerate.
1679         * testsuite/Makefile.in: Regenerate.
1680         * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
1681         to JAVA_HOME macro.
1682
1683 2005-04-05  Tom Tromey  <tromey@redhat.com>
1684
1685         * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
1686         * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
1687         Rewrote to use _Jv_FindClassFromSignature.
1688         * verify.cc (resolve): throw NoClassDefFoundError.
1689         * link.cc (resolve_field): Throw NoClassDefFoundError.
1690         (find_field): Likewise.
1691         * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
1692         Handle error cases.  Added 'endp' argument.
1693         * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
1694
1695 2005-04-05  Tom Tromey  <tromey@redhat.com>
1696
1697         * Makefile.in: Rebuilt.
1698         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
1699         gtk_awt_peer_sources.
1700         (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
1701         (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
1702         ($(gtk_awt_peer_sources:.java=.lo)): Removed.
1703         (gtk-awt-peer.lo): New target.
1704
1705 2005-04-04  Steve Pribyl <steve@netfuel.com>
1706
1707         PR libgcj/20761
1708         * configure.ac: Fix fastjar definition for cross builds.
1709         * configure: Rebuilt.
1710
1711 2005-04-04  Tom Tromey  <tromey@redhat.com>
1712
1713         * java/lang/ClassLoader.java (loadClass): Resolve class even if
1714         it was already found.
1715
1716 2005-04-04  Tom Tromey  <tromey@redhat.com>
1717
1718         * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
1719         org.metastatic.jessie.
1720
1721 2005-04-02  Anthony Green  <green@redhat.com>
1722
1723         PR libgcj/20727
1724         * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
1725
1726 2005-04-02  Mark Wielaard  <mark@klomp.org>
1727
1728         * javax/naming/directory/BasicAttributes.java (equals): Compare to any
1729         Attributes and attribute order doesn't matter.
1730         (BasicAttributesEnumeration.where): Initialize to zero.
1731         (BasicAttributesEnumeration.nextElement): Update and compare where
1732         appropriately (zero based).
1733
1734 2005-04-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1735
1736         PR libgcj/20090, PR libgcj/20526
1737         * gij.cc (nonstandard_opts_help): New function.
1738         (add_option): New function.
1739         (main): Support java options.  Set java.class.path.  Don't set
1740         _Jv_Jar_Class_Path.
1741         * prims.cc (parse_x_arg): New function.
1742         (parse_init_args): Call parse_x_arg for -X and _ options, when
1743         ignoreUnrecognized is true.
1744         (new _Jv_RunMain): New vm_args variant.
1745         (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
1746         (_Jv_Jar_Class_Path): Remove variable.
1747         * include/java-props.h: Likewise.
1748         * include/cni.h (JvRealloc): New function.
1749         * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
1750         * java/lang/natRuntime.cc (insertSystemProperties): Remove
1751         _Jv_Jar_Class_Path logic.  Use JV_VERSION and JV_API_VERSION
1752         macros.
1753         * configure.ac (JV_VERSION): Define.
1754         (JV_API_VERSION): Likewise.
1755         * configure: Regenerate.
1756         * include/config.h.in: Regenerate.
1757
1758 2005-04-01 Mark Anderson <mark@panonet.net>
1759
1760         * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
1761         -Infinity as parameters.
1762
1763 2005-04-01  Michael Koch  <konqueror@gmx.de>
1764
1765         * java/io/PipedInputStream.java
1766         (read): Make sure a positive byte value is returned. Revised javadoc.
1767         Thanks to Olafur Bragason for reporting these bugs.
1768
1769 2005-04-01  Tom Tromey  <tromey@redhat.com>
1770
1771         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
1772         Updated for name change.
1773         (nativeFindClass): New method.
1774         (loadClass): Use nativeFindClass.
1775         * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
1776         form of loadClass.
1777         * java/lang/VMClassLoader.java (tried_libraries, lib_control,
1778         LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
1779         VMClassLoader.
1780         (initialize): New method.
1781         (nativeFindClass): Declare.
1782         * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
1783         * gnu/gcj/runtime/VMClassLoader.java: Removed.
1784         * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
1785         VMClassLoader.java.
1786         (definePackageForNative): Removed.
1787         (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
1788         Moved to VMClassLoader.java.
1789         * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
1790         * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
1791         (ordinary_java_source_files): Added ExtensionClassLoader.java,
1792         removed VMClassLoader.java.
1793         (nat_source_files): Removed natVMClassLoader.cc.
1794
1795 2005-04-01  Tom Tromey  <tromey@redhat.com>
1796
1797         * Makefile.in: Rebuilt.
1798         * Makefile.am (db_pathtail): Use $(gcc_version), not
1799         @gcc_version@.
1800
1801 2005-04-01  Jeroen Frijters  <jeroen@frijters.net>
1802
1803         * java/util/Timer.java
1804         (run): Stop the queue if a task throws an exception.
1805
1806 2005-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1807
1808         * javax/swing/text/JTextComponent.java (viewToModel): New method.
1809
1810 2005-03-29  Ian Lance Taylor  <ian@airs.com>
1811
1812         * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
1813         * external/sax/Makefile.in: Rebuild.
1814         * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
1815         "-fclasspath=".
1816         * external/w3c_dom/Makefile.in: Rebuild.
1817
1818 2005-03-29  Tom Tromey  <tromey@redhat.com>
1819
1820         * java/lang/natRuntime.cc (insertSystemProperties): Set
1821         gnu.gcj.runtime.endorsed.dirs.
1822         * Makefile.in: Rebuilt.
1823         * Makefile.am (ordinary_java_source_files): Added
1824         HelperClassLoader.java.
1825         (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
1826         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
1827         HelperClassLoader.
1828         (init): Use addDirectoriesFromProperty.
1829         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
1830         HelperClassLoader.  Use addDirectoriesFromProperty.  Handle
1831         gnu.gcj.runtime.endorsed.dirs.
1832         * gnu/gcj/runtime/HelperClassLoader.java: New file.
1833
1834 2005-03-26  Chris Burdess  <dog@gnu.org>
1835
1836         * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
1837         required.
1838
1839 2005-03-13  Michael Koch  <konqueror@gmx.de>
1840
1841         * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
1842
1843 2005-03-11  Chris Burdess  <dog@gnu.org>
1844
1845         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
1846         warnings.
1847
1848 2005-02-27  Chris Burdess  <dog@gnu.org>
1849
1850         * gnu/xml/aelfred2/JAXPFactory.java,
1851         gnu/xml/aelfred2/SAXDriver.java,
1852         gnu/xml/aelfred2/XmlParser.java,
1853         gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
1854         formatting conventions. Replaced arrays of Object with struct-like
1855         classes for easier maintainability. Made SAXDriver.stringInterning
1856         package private to allow access from XmlParser inside the loop without
1857         a method call overhead.
1858
1859 2005-03-11  Chris Burdess  <dog@gnu.org>
1860
1861         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
1862         warnings.
1863
1864 2005-03-28  Alexandre Oliva  <aoliva@redhat.com>
1865
1866         * configure.ac: Revert 2005-03-25's patch.  Propagate MULTIlib
1867         settings to sub Makefiles.
1868         (GCJH, ZIP): Prefix with top_builddir.
1869         * configure: Rebuild.
1870         * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
1871         * external/w3c_dom/Makefile.in: Rebuild.
1872         * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
1873         * external/sax/Makefile.in: Rebuild.
1874
1875 2005-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
1876
1877         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
1878         libsocket to the libraries to link for Solaris.
1879
1880 2005-03-28  Per Bothner  <per@bothner.com>
1881
1882         * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
1883         which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
1884
1885 2005-03-27  Andreas Tobler  <a.tobler@schweiz.ch>
1886
1887         * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
1888         to fix a ONESTEP fallout.
1889         * Makefile.in: Regenerate.
1890
1891 2005-03-25  Mike Stump  <mrs@apple.com>
1892
1893         * configure.ac: Fix ZIP and GCJH at configure time to absolute
1894         paths like we do for the compiler, as we use it in external/sax
1895         and it doesn't get MULTIBUILDTOP right when multilibing.
1896
1897 2005-03-24  Anthony Green  <green@redhat.com>
1898
1899         * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
1900         -p option.
1901         (usage): Add [LIBDIR] to help output.
1902         * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
1903         * Makefile.am (AM_CXXFLAGS): Define
1904         LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
1905         (db_pathtail): New macro.
1906
1907 2005-03-24  Tom Tromey  <tromey@redhat.com>
1908
1909         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
1910         add sax and w3c libraries.
1911         * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
1912         libw3c-gcj.la.
1913         * external/w3c_dom/Makefile.in: Rebuilt.
1914         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
1915         AM_GCJFLAGS.
1916         (libw3c_gcj_la_LDFLAGS): New variable.
1917         (noinst_LTLIBRARIES): Renamed.
1918         * external/sax/Makefile.in: Rebuilt.
1919         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
1920         AM_GCJFLAGS.
1921         (libsax_gcj_la_LDFLAGS): New variable.
1922         (noinst_LTLIBRARIES): Renamed.
1923
1924 2005-03-23  Tom Tromey  <tromey@redhat.com>
1925
1926         * Makefile.in: Rebuilt.
1927         * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
1928         (libgcj0_convenience_la_SOURCES): Don't include
1929         gnu_xml_source_files.
1930         (libgcj0_convenience_la_LIBADD): New variable.
1931         (libgcj_la_LIBADD): Don't include sax or w3c_dom.
1932         (all_java_source_files): javax_imageio_source_files,
1933         javax_xml_source_files, and gnu_java_beans_source_files.
1934         ($(gnu_xml_source_files:.java=.lo)): Removed target.
1935         (gnu-xml.lo): New target.
1936         (javax-imageio.lo): Likewise.
1937         (javax-xml.lo): Likewise.
1938         (gnu-java-beans.lo): Likewise.
1939         (gnu_java_beans_source_files): New variable.
1940         (javax_imageio_source_files): Likewise.
1941         (javax_xml_source_files): Likewise.
1942         (javax_source_files): Moved files to other variable.
1943         (awt_java_source_files): Likewise.
1944         (ordinary_java_source_files): Added BootClassLoader.java.
1945         * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
1946         not system class loader.
1947         (initBootLoader): New method.
1948         (loadClass): Search bootLoader.
1949         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
1950         boot loader, not system class loader.
1951         (_Jv_UnregisterInitiatingLoader): Likewise.
1952         (_Jv_FindClass): Likewise.  Ensure entries in
1953         bootstrap_class_list are unique.
1954         * java/lang/natClass.cc (getClassLoader): Don't special case
1955         system class loader.
1956         * java/lang/VMClassLoader.java (bootLoader): New field.
1957         (getResource): Use bootLoader.
1958         (getResources): Likewise.
1959         (initBootLoader): Declare.
1960         * gnu/gcj/runtime/BootClassLoader.java: New file.
1961         * external/sax/org/xml/sax/helpers/NamespaceSupport.java
1962         (EMPTY_ENUMERATION): Now package-private.
1963         * external/w3c_com/Makefile.in: Rebuilt.
1964         * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
1965         (w3c.jar): New target.
1966         (classes.stamp): Updated.
1967         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
1968         Changed name of library.
1969         (libw3c_gcj_la_SOURCES): New variable.
1970         (libw3c_gcj_la_GCJFLAGS): Likewise.
1971         (source_files): Renamed from lib3c_convenience_la_SOURCES.
1972         * external/sax/Makefile.in: Rebuilt.
1973         * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
1974         (sax.jar): New target.
1975         (classes.stamp): Updated.
1976         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
1977         Changed name of library.
1978         (libsax_gcj_la_SOURCES): New variable.
1979         (libsax_gcj_la_GCJFLAGS): Likewise.
1980         (source_files): Renamed from libsax_convenience_la_SOURCES.
1981         * stacktrace.cc (non_system_trace_fn): Don't look at system class
1982         loader.
1983         * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
1984         loader.
1985         (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
1986
1987 2005-03-23  Sven de Marothy  <sven@physto.se>
1988
1989         PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
1990         PR libgcj/11085:
1991         * java/util/Calendar.java
1992         (set): Use starting day of week when one is needed if none is given.
1993         * java/text/SimpleDateFormat.java
1994         (parse): Handle 1-12 and 1-24 timestamps correctly.
1995         * java/util/GregorianCalendar.java
1996         (computeTime, computeFields): HOUR should be in 0-11 format.
1997         (nonLeniencyCheck): Adjust leniency checking to that fact.
1998         (getLinearDay): Should be private.
1999
2000 2005-03-23  Tom Tromey  <tromey@redhat.com>
2001  
2002         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2003         (_Jv_CheckABIVersion): Use it.
2004
2005 2005-03-22  Mike Stump  <mrs@apple.com>
2006
2007         * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2008
2009         * include/posix.h: .dylib is used on all Apple MACH platforms.
2010         * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2011
2012 2005-03-22  Tom Tromey  <tromey@redhat.com>
2013
2014         * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2015
2016 2005-03-21  Tom Tromey  <tromey@redhat.com>
2017
2018         * java/lang/VMCompiler.java (static block): Also catch
2019         BufferUnderflowException.
2020
2021 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
2022
2023         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Do not
2024         set tool_include_dir.  In all substitutions, leave $(gcc_version)
2025         to be expanded by the Makefile.
2026         * aclocal.m4, configure: Regenerate.
2027         * Makefile.am: Set gcc_version.  Replace all uses of
2028         @gcc_version@ with $(gcc_version).
2029         * external/Makefile.am, external/sax/Makefile.am
2030         * external/w3c_dom/Makefile.am, gcj/Makefile.am
2031         * testsuite/Makefile.am: Set gcc_version.
2032         * include/Makefile.am: Set gcc_version and tool_include_dir.
2033         * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2034         * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2035         * testsuite/Makefile.in: Regenerate.
2036
2037 2005-03-17  Andrew Haley  <aph@redhat.com>
2038
2039         * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2040         arg: klass.
2041         Pass klass to _Jv_StackTrace::GetClassContext().
2042         * java/lang/ClassLoader.java (getParent): Pass class to
2043         VMSecurityManager.getClassContext()
2044         (getSystemClassLoader): Likewise.
2045         * java/lang/Package.java (getPackage): Likewise.
2046         (getPackages): Likewise.
2047         * java/lang/SecurityManager.java (getClassContext): Likewise.
2048         (currentClassLoader): Likewise.
2049         * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2050         (currentClassLoader) Add new arg: caller.
2051         Pass caller to VMSecurityManager.getClassContext.
2052
2053         * stacktrace.cc (GetClassContext): Correct calculation of
2054         jframe_count.
2055
2056         * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2057         im->source_file_name.
2058
2059 2005-03-16  Andrew Haley  <aph@redhat.com>
2060
2061         * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2062
2063 2005-03-16  Tom Tromey  <tromey@redhat.com>
2064
2065         * link.cc (ensure_class_linked): Removed #ifdef.
2066         (print_class_loaded): Likewise.
2067         (wait_for_state): Likewise.
2068         * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2069         * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2070         * include/java-interp.h: ... here.
2071
2072 2005-03-16  Tom Tromey  <tromey@redhat.com>
2073
2074         * gnu/java/lang/MainThread.java (run): Load main class using
2075         system class loader.
2076
2077 2005-03-16  Andreas Tobler  <a.tobler@schweiz.ch>
2078
2079         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2080         lgcc_s to the libraries to link for Darwin.
2081
2082 2005-03-15  Andreas Tobler  <a.tobler@schweiz.ch>
2083
2084         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2085         interpreter-specific code with #ifdef INTERPRETER.
2086         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2087         (_Jv_StackTrace::FillInFrameInfo): Likewise.
2088         (_Jv_StackTrace::non_system_trace_fn): Likewise.
2089         * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2090         #ifdef INTERPRETER. Also protect declarations that use it.
2091         * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2092         #ifdef INTERPRETER block.
2093
2094 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
2095
2096         PR libgcj/20251
2097         * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2098         * Makefile.in: Rebuilt.
2099
2100 2005-03-15  David Daney  <ddaney@avtrex.com>
2101
2102         * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2103         count == 0 case.
2104
2105 2005-03-15  David Daney  <ddaney@avtrex.com>
2106
2107         * java/io/BufferedInputStream.java (available): Use 'in' instead
2108         of 'super' for underlying stream access.
2109         (close): Ditto.
2110         (read(byte[], int, int)): Ditto.
2111         (refill): Ditto.
2112         (skip): Call skip on underlying stream when possible.
2113
2114 2005-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
2115
2116         * stacktrace.cc (GetCallerInfo): Return nothing in case of
2117         SJLJ_EXCEPTIONS is defined.
2118
2119 2005-03-12  Ranjit Mathew  <rmathew@hotmail.com>
2120
2121         * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2122         tests.
2123
2124 2005-03-11  Andreas Tobler  <a.tobler@schweiz.ch>
2125
2126         * testsuite/lib/libjava.exp (libjava_init): Use the same target
2127         check for Darwin.
2128         (libjava_arguments): Likewise.
2129
2130         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2131         (gcj_jni_test_one): Likewise.
2132         (gcj_jni_invocation_compile_c_to_binary): Likewise.
2133         Add flags to keep the Darwin linker quiet.
2134         (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2135         Add -liconv for Darwin.
2136
2137 2005-03-11  Tom Tromey  <tromey@redhat.com>
2138
2139         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2140         (_Jv_CheckABIVersion): Use it.
2141
2142 2005-03-11  Tom Tromey  <tromey@redhat.com>
2143
2144         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2145         (usage): Document '-p'.
2146         * Makefile.in: Rebuilt.
2147         * Makefile.am (dbexecdir): New variable.
2148         (db_name): Likewise.
2149         (dbexec_DATA): Likewise.
2150         ($(db_name)): New target.
2151         (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2152         * java/lang/natRuntime.cc (insertSystemProperties): Set default
2153         system database.
2154
2155 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
2156
2157         * exception.cc: Remove stray MethodRef.h include.
2158         * java/lang/natClass.cc: Likewise.
2159         * gnu/gcj/runtime/MethodRef.java: Removed.
2160         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2161         gnu/gcj/runtime/natStackTrace.cc: Really removed.
2162         * java/lang/natRuntime.cc (_load): Remove unsed variable.
2163         * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2164         * Makefile.in: Rebuilt.
2165
2166 2005-03-10  Tom Tromey  <tromey@redhat.com>
2167
2168         * Makefile.in: Rebuilt.
2169         * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2170
2171 2005-03-10  Chris Burdess  <dog@bluezoo.org>
2172
2173         * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2174         not currently parsing the DTD.
2175
2176 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
2177
2178         New Stack Trace infrastructure.
2179         * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2180         (gnu/gcj/runtime/StackTrace.java): Removed.
2181         (ordinary_java_source_files): Remove obsolete files.
2182         (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2183         * configure.host (fallback_backtrace_h): Set backtrace header
2184         for mingw and cygwin targets.
2185         * configure.ac: Make symlink for fallback backtrace headers.
2186         * Makefile.in, configure: Rebuilt.
2187         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2188         Read 'LineNumberTable' attribute.
2189         (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2190         attribute.
2191         (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2192         table fields.
2193         * exception.cc: Remove unused include.
2194         * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2195         (SAVE_PC): New macro. Save current PC in the interpreter frame.
2196         (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2197         (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2198         table to direct threaded instruction values.
2199         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2200         (_Jv_InterpMethod::run): No longer member function. All
2201         callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2202         is made or where an instruction could throw.
2203         (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2204         in line_table.
2205         * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2206         (catch_fpe): Likewise.
2207         * stacktrace.cc: New file. Stack trace code now here.
2208         * gnu/gcj/runtime/MethodRef.java:
2209         * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2210         calls addr2line to look up PC addresses in a given binary or shared
2211         library.
2212         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2213         gnu/gcj/runtime/natStackTrace.cc: Removed.
2214         * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2215         this function name is specially recognised by the stack trace code
2216         and shouldn't be changed.
2217         * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2218         (struct  _Jv_LineTableEntry, line_table, line_table_len): New.
2219         (_Jv_InterpMethod::run): Update declaration.
2220         (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2221         friends.
2222         (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2223         * include/java-stack.h: New file. Declarations for stack tracing.
2224         * include/jvm.h (_Jv_Frame_info): Removed.
2225         * java/lang/Class.h: Update friend declarations.
2226         * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2227         exception message.
2228         * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2229         (getStackTrace): Now native.
2230         (data): New RawDataManaged field.
2231         * java/lang/natClass.cc: Update includes.
2232         (forName): Use _Jv_StackTrace::GetCallingClass for
2233         calling-classloader check.
2234         (getClassLoader): Likewise.
2235         * java/lang/natRuntime.cc: Update includes.
2236         (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2237         * java/lang/natVMSecurityManager.cc: Update includes.
2238         (getClassContext): Use _Jv_StackTrace::GetClassContext.
2239         * java/lang/natVMThrowable.cc: New file. Native methods for
2240         VMThrowable.
2241         * java/lang/reflect/natArray.cc: Update includes.
2242         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2243         accessibility check.
2244         * java/lang/reflect/natConstructor.cc: Update includes.
2245         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2246         accessibility check.
2247         * java/lang/reflect/natField.cc: Update includes.
2248         (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2249         accessibility check.
2250         * java/lang/reflect/natMethod.cc: Update includes.
2251         (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2252         accessibility check.
2253         * java/util/natResourceBundle.cc: Update includes.
2254         (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2255         * java/util/logging/natLogger.cc: Update includes. Use
2256         _Jv_StackTrace::GetCallerInfo to get call-site info.
2257         * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2258         implementation.
2259         * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2260         implementation.
2261
2262 2005-03-10  Ranjit Mathew  <rmathew@hotmail.com>
2263
2264         * testsuite/libjava.compile/PR20312.java: New file.
2265         * testsuite/libjava.compile/PR20312.xfail: Likewise.
2266         * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2267
2268 2005-03-09  Andrew Haley  <aph@redhat.com>
2269
2270         * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2271         New.
2272         (smallTransferTo): New.
2273         (transferFrom): Loop around smallTransferFrom, copying pageSize
2274         bytes each time.
2275         (transferTo): Likewise.
2276
2277 2005-03-09  David Daney  <ddaney@avtrex.com>
2278
2279         PR libgcj/20389
2280         Merge BufferedInputStream from GNU Classpath.
2281         * java/io/BufferedInputStream.java (marktarget): Field removed.
2282         (CHUNKSIZE): Field removed.
2283         (bufferSize): New field.
2284         (BufferedInputStream): Initialize fields.
2285         (close): Invalidate mark and buffer indexes.
2286         (mark):  Rewritten.
2287         (read()): Move mark handling code to refill.
2288         (read(byte[], int, int)): Ditto.
2289         (skip): Ditto and simplify EOF testing.
2290         (refill): Rewritten.
2291         * java/io/InputStreamReader.java (refill): Removed mark and reset
2292         of internal BufferedInputStream.
2293
2294 2005-03-09  Tom Tromey  <tromey@redhat.com>
2295
2296         * java/lang/natVMClassLoader.cc (defineClass): Reference
2297         'systemClassLoader' field directly.
2298         * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2299         field directly.
2300         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2301         Reference 'systemClassLoader' field directly.
2302         (_Jv_UnregisterInitiatingLoader): Likewise.
2303         (_Jv_FindClass): Likewise.
2304
2305 2005-03-09  Andreas Tobler  <a.tobler@schweiz.ch>
2306
2307         * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
2308
2309         * java/lang/mprec.h: Remove commented headers. Fix comment to match
2310         the file in GNU Classpath style.
2311
2312 2005-03-09  Tom Tromey  <tromey@redhat.com>
2313
2314         * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
2315         (toString): Synchronize.
2316
2317 2005-03-08  Bryce McKinlay  <mckinlay@redhat.com>
2318
2319         * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
2320         * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
2321
2322 2005-03-07  Tom Tromey  <tromey@redhat.com>
2323
2324         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
2325         (usage): Document '-f'.
2326
2327 2005-03-07  Tom Tromey  <tromey@redhat.com>
2328
2329         * java/lang/VMCompiler.java (md5Digest): New field.
2330         (compileClass): Clone md5Digest instead of looking up a new one.
2331
2332 2005-03-07  Tom Tromey  <tromey@redhat.com>
2333
2334         PR java/20215:
2335         * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
2336         * link.cc (find_field_helper): Added 'type' argument.
2337         (find_field): Updated.
2338
2339 2005-04-07  Scott Gilbertson  <scottg@mantatest.com>
2340         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
2341         * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
2342         throw UnsupportedOperationException, fixed comments.
2343         (setFont, setForeground): Fixed comments.
2344         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
2345         return type to boolean.
2346         (getNextEvent): Fixed javadocs.
2347         * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
2348         (nativeQueueEmpty): Removed unused code.
2349         (iterateNativeQueue): Removed outer loop.
2350
2351 2005-03-06  Roger Sayle  <roger@eyesopen.com>
2352
2353         PR libgcj/20155
2354         * Makefile.am (libgcj0_convenience.la): Revert last change.
2355         * Makefile.in: Regenerate.
2356
2357 2005-03-05  Anthony Green  <green@redhat.com>
2358
2359         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
2360         classpath_jawt_lock, classpath_jawt_unlock): New functions.
2361         * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
2362         (_Jv_GetDrawingSurface): Set visualID.
2363         (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
2364         (JAWT_GetAWT): Set Lock and Unlock.
2365         * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
2366         visualID.
2367         * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
2368         JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
2369         JAWT_LOCK_SURFACE_CHANGED): New macros.
2370         (struct _JAWT): Add Lock and Unlock.
2371
2372 2005-03-05  Roger Sayle  <roger@eyesopen.com>
2373             Alexandre Oliva  <aoliva@redhat.com>
2374             Kelley Cook  <kcook@gcc.gnu.org>
2375
2376         PR libgcj/20155
2377         * Makefile.am (libgcj0_convenience.la): New rule to create a file
2378         of the object files to link to avoid exceeding the command line
2379         length limits on some platforms.
2380         (clean-local): Clean up objectlist files.
2381         * Makefile.in: Regenerate.
2382
2383 2005-03-05  Andreas Tobler  <a.tobler@schweiz.ch>
2384
2385         * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
2386         spec_case. Initialize pointer mlo.
2387
2388         * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
2389         delta.
2390
2391         * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
2392
2393         * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
2394         and k.
2395
2396         * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
2397         uninitialized variable z.
2398
2399         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
2400         possible unused variables.
2401
2402         * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
2403
2404         * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
2405
2406 2005-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
2407
2408         PR libgcj/20292
2409         * testsuite/libjava.jni/jni.exp
2410         (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
2411         flags.
2412         (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
2413
2414 2005-02-23  David Daney  <ddaney@avtrex.com>
2415
2416         * configure.host: Don't use -mxgot for MIPS builds.
2417
2418 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
2419
2420         PR bootstrap/17383
2421         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2422         (COMPPATH): Removed.
2423         (ZIP, GCJH): Replace it with ../$(host_subdir).
2424         (built_gcc_dir): Add $(host_subdir).
2425         * configure: Regenerate.
2426         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2427         gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
2428         external/w3c_dom/Makefile.in: Regenerate.
2429
2430 2005-02-24  David Gilbert  <david.gilbert@object-refinery.com>
2431
2432         * java/awt/font/TextAttribute.java: changed names to lower case;
2433         (readResolve): implemented.
2434         Added doc comments all over.
2435
2436 2005-02-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2437
2438         PR libgcj/16923
2439         * jni.cc (JNI_CreateJavaVM): Check JNI version.  Cast args to
2440         JvVMInitArgs.  Pass args to _Jv_CreateJavaVM and check return
2441         value.  Move argument parsing code to prims.cc.
2442         * prims.cc (no_properties): Remove.
2443         (_Jv_Compiler_Properties): Initialize to NULL.
2444         (_Jv_Properties_Count): Initialize to 0.
2445         (parse_verbose_args): New function.
2446         (parse_init_args): New function.
2447         (_Jv_CreateJavaVM): Call parse_init_args.
2448         (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
2449         * gcj/cni.h (JvVMOption): New struct.
2450         (JvVMInitArgs): Likewise.
2451         (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
2452         void*.
2453         * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
2454         (_Jv_VMInitArgs): Likewise.
2455         * include/java-props.h (_Jv_Properties_Count): Declare.
2456         * java/lang/natRuntime.cc (insertSystemProperties): Use
2457         _Jv_Properties_Count in for loop exit condition.
2458         * testsuite/libjava.jni/jni.exp
2459         (gcj_invocation_compile_c_to_binary): New procedure.
2460         (gcj_invocation_test_one): Likewise.
2461         (gcj_jni_run): Run JNI invocation API tests.
2462         * testsuite/libjava.jni/invocation/PR16923.c,
2463         testsuite/libjava.jni/invocation/PR16923.java,
2464         testsuite/libjava.jni/invocation/PR16923.out: New test.
2465
2466 2005-02-23  Michael Koch  <konqueror@gmx.de>
2467
2468         * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
2469         * Makefile.in: Regenerated.
2470
2471 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
2472
2473         * gnu/java/nio/ChannelReader: Fixed comments.
2474
2475 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
2476
2477         * java/nio/channels/Channels: Added FIXMEs about
2478         stub method implementation.
2479         (newReader): Implemented.
2480         * gnu/java/nio/ChannelReader: New class.
2481
2482 2005-02-23  Michael Koch  <konqueror@gmx.de>
2483
2484         * java/text/SimpleDateFormat.java:
2485         Removed unused import.
2486
2487 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
2488
2489         PR libgcj/20029:
2490         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
2491         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
2492         * Makefile.in: Regenerate.
2493         * configure.ac: Check for libXtst.
2494         * configure: Regenerate.
2495
2496 2005-02-22  Mark Wielaard  <address@bogus.example.com>
2497
2498         * java/security/AlgorithmParameterGenerator.java (getInstance):
2499         Mention provider when throwing NoSuchProviderException.
2500         * java/security/AlgorithmParameters.java (getInstance): Likewise.
2501         * java/security/KeyFactory.java (getInstance): Likewise.
2502         * java/security/KeyStore.java (getInstance): Likewise.
2503         * java/security/SecureRandom.java (getInstance): Likewise.
2504         * java/security/cert/CertificateFactory.java (getInstance): Likewise.
2505
2506 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
2507
2508         * java/lang/reflect/Proxy.java,
2509         java/net/URL.java,
2510         java/security/SecureRandom.java,
2511         java/util/Timer.java,
2512         java/util/prefs/AbstractPreferences.java:
2513         Don't catch java.lang.ThreadDeath.
2514
2515 2005-02-22  David Gilbert  <david.gilbert@object-refinery.com>
2516
2517         * java/awt/font/TransformAttribute.java,
2518         (TransformAttribute(AffineTransform)): throw
2519         IllegalArgumentException for null transform.
2520         (getTransform): return a copy of transform.
2521         Added doc comments to all.
2522
2523 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
2524
2525         * java/io/Externalizable.java,
2526         java/io/Serializable.java
2527         (serialVersionUID): Removed.
2528         * java/rmi/server/RemoteObject.java,
2529         java/rmi/server/UID.java
2530         (serialVersionUID): Made private.
2531         * java/rmi/server/RemoteRef.java,
2532         java/rmi/server/ServerRef.java
2533         (serialVersionUID): Set proper value.
2534         * java/security/interfaces/DSAPrivateKey.java,
2535         java/security/interfaces/DSAPublicKey.java,
2536         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2537         java/security/interfaces/RSAPrivateCrtKey.java,
2538         java/security/interfaces/RSAPrivateKey.java,
2539         java/security/interfaces/RSAPublicKey.java,
2540         javax/crypto/SecretKey.java
2541         (serialVersionUID): Added.
2542
2543 2005-02-22  Tom Tromey  <tromey@redhat.com>
2544
2545         * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
2546
2547 2005-02-22  Tom Tromey  <tromey@redhat.com>
2548
2549         PR java/20056:
2550         * verify.cc (type::EITHER): New constant.
2551         (check_field_constant): Use it.
2552         (type::compatible): Handle it.
2553
2554 2005-02-22  Michael Koch  <konqueror@gmx.de>
2555
2556         * gnu/java/security/PolicyFile.java,
2557         gnu/java/security/pkcs/PKCS7SignedData.java,
2558         gnu/java/security/pkcs/SignerInfo.java:
2559         Fixed copyright header.
2560
2561 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
2562
2563         * java/beans/PropertyDescriptor.java
2564         (PropertyDescriptor,setReadMethod): Set propertyType.
2565
2566 2005-02-22  Michael Koch  <konqueror@gmx.de>
2567
2568         * java/nio/DirectByteBufferImpl.java
2569         (owner): Fixed formatting of javadoc.
2570         * java/text/DateFormat.java
2571         (getAvailableLocales): Fixed formatting.
2572         * java/text/SimpleDateFormat.java:
2573         Fixed formatting and import statement order.
2574         * java/util/Calendar.java
2575         (Calendar): Fixed javadoc to be HTML compliant.
2576         * java/util/SimpleTimeZone.java:
2577         Fixed javadocs.
2578
2579 2005-02-22  Roman Kennke <roman@ontographics.com>
2580
2581         * javax/swing/plaf/basic/BasicLookAndFeel.java
2582         (initComponentDefaults): Fixed Button left and right margin.
2583
2584 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
2585
2586         * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
2587         empty Runnable.
2588
2589         PR libgcj/17952:
2590         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2591         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2592         (getWidth): New method.
2593         (getHeight): Likewise.
2594         (create): Remove width, height and insets parameters.  Move size
2595         setup ...
2596         (realize_cb): ... here.  New function.
2597         (connectSignals): Connect realize_cb.
2598         (request_frame_extents): Remove FIXME.  Move
2599         postInsetsChangedEvent lookup ...
2600         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
2601         ... here.  Look up GtkWindowPeer getWidth and getHeight methods.
2602         * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
2603         jmethodID.
2604         (windowGetWidthID): Likewise.
2605         (windowGetHeightID): Likewise.
2606
2607 2005-02-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
2608
2609         PR libgcj/19842
2610         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2611         (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
2612
2613 2005-02-21  Bryce McKinlay  <mckinlay@redhat.com>
2614
2615         Merge serialization from GNU Classpath.
2616         * gcj/method.h: Add missing #includes.
2617         * java/io/ObjectInputStream.java (readClassDescriptor): Check for
2618         primitive class IDs on the stream here...
2619         (resolveClass): ...not here.
2620         * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
2621         fields.
2622         * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
2623         setLongNative, setIntNative, setShortNative, setCharNative,
2624         setByteNative, setBooleanNative, setObjectNative): New native methods.
2625         * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
2626         setLongNative, setIntNative, setShortNative, setCharNative,
2627         setByteNative, setBooleanNative, setObjectNative): Implement them.
2628         * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
2629         from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
2630         the constructor here.
2631         (callConstructor): Removed.
2632         (getCallersClassLoader): Removed.
2633         * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
2634         setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
2635         to control whether setting final field values is permitted. Call
2636         getAddr() with checkFinal parameter instead of setAddr().
2637         * java/lang/reflect/natField.cc (getType): Lookup and resolve field
2638         only if not done already.
2639         (getAddr): Add checkFinal parameter. Do the final field check only if
2640         checkFinal is set.
2641         (setAddr): Removed.
2642
2643 2005-02-21  Mark Wielaard  <mark@klomp.org>
2644
2645         # Fixes bug #11957
2646         * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
2647         twice.
2648
2649 2005-02-21  Mark Wielaard  <mark@klomp.org>
2650
2651         Fixes bug #11618.
2652         * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
2653         without a super class and us ObjectStreamClass.lookupForClassObject().
2654         (resolveClass): Check for primitive types.
2655         (lookupClass): Return null when argument is null.
2656
2657 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
2658
2659         * java/io/ObjectInputStream.java
2660         (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
2661
2662 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
2663
2664         * java/io/ObjectOutputStream.java
2665         (writeObject, callWriteMethod): Replaced reflection with accessing
2666         cached info in ObjectStreamClass.
2667         (getMethod): Removed.
2668         * java/io/ObjectStreamClass.java
2669         (findMethod): Added check to make sure the method found has the
2670         right modifiers.
2671         (cacheMethods): Added writeReplace and writeObject methods.
2672         (setFlags): Look at new writeObjectMethod field instead of doing
2673         reflection again.
2674         (writeReplaceMethod): New field.
2675         (writeObjectMethod): New field.
2676
2677 2005-02-21  Guilhem Lavaux  <guilhem@kaffe.org>
2678         Jeroen Frijters  <jeroen@frijters.net>
2679
2680         * java/io/ObjectInputStream.java
2681         (newObject): Changed prototype. Get a constructor reflect object
2682         directly.
2683         (callConstructor): Removed.
2684         (allocateObject): Changed prototype.
2685         (readClassDescriptor): Build the constructor reflection directly.
2686         (readObject): Invoke newObject using the new prototype.
2687
2688         * java/io/ObjectStreamClass.java
2689         (firstNonSerializableParent): Removed.
2690         (firstNonSerializableParentConstructor): Added.
2691
2692 2005-02-21  Mark Wielaard  <mark@klomp.org>
2693
2694         * gnu/java/locale/LocaleInformation_en.java: Extend
2695         localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
2696
2697 2005-02-21  Mark Wielaard  <mark@klomp.org>
2698
2699         * java/text/SimpleDateFormat.java
2700         (SimpleDateFormat(String, DateFormatSymbols)): Throw
2701         NullPointerException when formatData is null.
2702
2703 2005-02-21  Mark Wielaard  <mark@klomp.org>
2704
2705         * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
2706         taking dstSavings into account.
2707
2708 2005-02-21  Sven de Marothy <sven@physto.se>
2709
2710         * java/text/SimpleDateFormat.java,
2711         (parse): Set correct DST_OFFSET to the correct value.
2712
2713 2005-02-21  Mark Wielaard  <mark@klomp.org>
2714
2715         * java/util/SimpleTimeZone.java (checkRule): Throw
2716         IllegalArgumentException when month out of range.
2717
2718 2005-02-21  Sven de Marothy  <sven@physto.se>
2719
2720         * java/util/GregorianCalendar.java,
2721         (add): Don't set fields directly anymore. Use set()
2722
2723 2005-02-21  Mark Wielaard  <mark@klomp.org>
2724
2725         * java/text/SimpleDateFormat.java (CompiledField.toString):
2726         Use StringBuffer, not StringBuilder.
2727         (toString): Likewise.
2728
2729 2005-02-21  Sven de Marothy  <sven@physto.se>
2730
2731         * java/util/Calendar.java
2732         (clear): Dates should clear to local time.
2733         * java/util/GregorianCalendar.java
2734         (computeTime): Fix priority problem with DAY_OF_WEEK,
2735         Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
2736
2737 2005-02-21  Sven de Marothy  <sven@physto.se>
2738
2739         * java/util/Calendar.java
2740         (Calendar): Constructor should clear fields.
2741
2742 2005-02-21  Sven de Marothy  <sven@physto.se>
2743
2744         * java/text/SimpleDateFormat.java
2745         (parse): Tweak handling of 2-year dates
2746         * java/util/Calendar.java
2747         (clear): Clear fields to correct value.
2748         * java/util/GregorianCalendar.java
2749         (computeTime): Correct handling of time zones.
2750         Correct field minimum values.
2751
2752 2005-02-21  Sven de Marothy  <sven@physto.se>
2753
2754         * java/util/Calendar.java
2755         (set) Invalidate all fields on first call to set().
2756
2757 2005-02-21  Sven de Marothy  <sven@physto.se>
2758
2759         * java/util/GregorianCalendar.java
2760         (computeTime): Fixed handling of time zones.
2761
2762 2005-02-21  Sven de Marothy  <sven@physto.se>
2763
2764         * java/util/Calendar.java
2765         (clear): Set values to Epoch instead of zero.
2766         (set): Set isSet to the relevant field pattern instead of just
2767         the field.
2768         * java/util/GregorianCalendar.java
2769         (getBundle): Removed.
2770         (getDayOfYear): Removed.
2771         (getFirstDayOfMonth): New private method.
2772         (nonLeniencyCheck): New private method.
2773         (computeTime): Correct handling of insufficient data.
2774
2775 2005-02-21  Sven de Marothy <sven@physto.se>
2776
2777         * java/util/Calendar.java: Invalidate ERA field on setting
2778         the YEAR.
2779         * java/util/SimpleTimeZone.java:
2780         (getDaysInMonth): Reimplemented.
2781         * java/util/GregorianCalendar.java:
2782         (getLinearTime): Removed.
2783         (isLeapYear(int,boolean)): Removed.
2784         (before(), after()): Removed.
2785         (computeTime): Reimplemented.
2786
2787 2005-02-21  Sven de Marothy <sven@physto.se>
2788
2789         * java/util/Calendar.java: Reformatted.
2790         * java/util/GregorianCalendar.java: Reformatted.
2791         * java/util/SimpleTimeZone.java: Reformatted.
2792
2793 2005-02-21  Sven de Marothy <sven@physto.se>
2794
2795         * java/util/GregorianCalendar.java
2796         (GregorianCalendar): Update fields in the constructor
2797
2798 2005-02-21  Noa Resare  <noa@resare.com>
2799
2800         * java/util/Calendar.java (explicitDSTOffset): New instance field.
2801         (set(int,int)): Set and use new field.
2802         (set(int,int,int)): Check new field.
2803
2804 2005-02-21  Noa Resare  <address@hidden>
2805
2806         * java/util/Calendar.java(set):
2807         Fix for DST related regression.
2808
2809 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
2810
2811         * java/util/Calendar.java
2812         (setTimeInMillis): Added call to clear, removed computeFields call.
2813         * java/util/Date.java
2814         (Date(int,int,int,int,int,int)): Removed workaround for
2815         GregorianCalendar bug.
2816         * java/util/GregorianCalendar.java
2817         (GregorianCalendar): Chained all constructors to a (new)
2818         common constructor.
2819         (computeTime): Fixed support for lenient month treatment.
2820         (getLinearDay): Return long instead of int.
2821         (calculateDay): Added fields argument and changed day argument
2822         to long.
2823
2824 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2825
2826         * java/text/SimpleDateFormat.java
2827         Lots of documentation updates.
2828         (readObject(java.io.ObjectInputStream)): Wraps
2829         IllegalArgumentException as specified.
2830         (compileFormat(String)): Uses standardChars
2831         rather than the local pattern characters.
2832         Throws IllegalArgumentException rather than
2833         storing a -1 field.
2834         (toString()): Extended to include all variables
2835         in a better format.
2836         (translateLocalizedPattern(String, String, String)):
2837         Renamed to better define the use of this method.
2838
2839 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2840
2841         * java/text/DateFormat.java:
2842         Documented pattern character offset constants and
2843         added new ones.
2844         (Field): Added new static fields for new pattern chars.
2845         * java/text/SimpleDateFormat.java:
2846         (CompiledField): Changed name of FieldSizePair class
2847         to CompiledField after adding the character as an
2848         attribute.  Changed fields to private and added
2849         accessors to give encapsulation.
2850         (CompiledField.CompiledField(int,int,char)): Extended
2851         with character field.
2852         (CompiledField.getField()): New accessor method.
2853         (CompiledField.getSize()): New acceessor method.
2854         (CompiledField.getCharacter()): New accessor method.
2855         (CompiledField.toString()): Added primarily for debugging.
2856         (standardChars): Now uses extended 24 character sequence.
2857         (compileFormat(String)): Changed to use CompiledField.
2858         (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
2859         java.text.FieldPosition)): Changed to use CompiledField.
2860         New handler for RFC 822 timezones added.
2861
2862 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2863
2864         * java/text/SimpleDateFormat.java:
2865         (parse(String, java.text.ParsePosition)):
2866         Changed 'E' and 'M' cases to use both
2867         short and long names.  Extended 'z'
2868         case to also handle 'Z', and deal
2869         with simple GMT offsets such as +0100.
2870         (computeOffset(String)): New private method,
2871         which converts a GMT offset specification,
2872         such as GMT-0500 to a numeric offset in
2873         milliseconds.
2874         * java/util/TimeZone.java:
2875         (timezones()): Added "CEST", the daylight
2876         savings time version of "CET", or Central
2877         European Time.
2878
2879 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2880
2881         * java/text/SimpleDateFormat.java:
2882         (parse): Set the DST offset to 0 when parsing
2883         GMT offset timezones.
2884
2885 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2886
2887         * java/text/SimpleDateFormat.java:
2888         (parse): Use offset to set ZONE_OFFSET
2889         rather than the DST_OFFSET, so that
2890         GMT offset timezones change the right
2891         one.
2892
2893 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2894
2895         * java/text/SimpleDateFormat.java:
2896         (getDateFormatSymbols()): return a copy
2897         (setDateFormatSymbols(java.text.DateFormatSymbols)):
2898         throw exception on null input
2899         (clone()): implemented to clone
2900         internal fields
2901
2902 2005-02-21  Sven de Marothy <sven@physto.se>
2903
2904         * java/text/SimpleDateFormat.java
2905         (parse): comparison should be case-insensitive, ignore null
2906         strings.
2907
2908 2005-02-21  Robert Schuster  <theBohemian@gmx.net>
2909
2910         * gnu/java/beans/IntrospectionIncubator.java
2911         (addMethod) Reverts the patch that ntroduced a regression (see bug
2912         https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
2913
2914 2005-02-21  Michael Koch  <konqueror@gmx.de>
2915
2916         * java/awt/Checkbox.java
2917         (next_checkbox_number): New static variable.
2918         (generateName): New method.
2919         (getUniqueLong): Likewise.
2920         * java/awt/Window.java
2921         (next_window_number): New static variable.
2922         (generateName): New method.
2923         (getUniqueLong): Likewise.
2924
2925 2005-02-21  Mark Wielaard  <mark@klomp.org>
2926
2927         * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
2928         exists.
2929
2930 2005-02-21  Andrew Haley  <aph@redhat.com>
2931
2932         * Makefile.in: Rebuilt.
2933         * Makefile.am (nat_source_files): Added natLogger.cc.
2934         * java/util/logging/natLogger.cc: New file.
2935         * java/util/logging/Logger.java (getCallerStackFrame): Now
2936         native.
2937
2938 2005-02-21  Andreas Tobler  <a.tobler@schweiz.ch>
2939
2940         * Makefile.am (all_property_files): Remove left over.
2941         (classes.stamp): Add stamp for the ONESTEP build, also known as
2942         --enable-libgcj-multifile.
2943         * Makefile.in: Regenerated.
2944
2945 2005-02-21  Michael Koch  <konqueror@gmx.de>
2946
2947         * java/awt/Button.java,
2948         java/awt/Container.java,
2949         java/awt/Font.java,
2950         java/awt/Frame.java,
2951         java/text/CollationElementIterator.java,
2952         java/text/RuleBasedCollator.java,
2953         java/util/PropertyPermission.java:
2954         Fixed formatting issues all over.
2955
2956 2005-02-21  Mark Wielaard  <mark@klomp.org>
2957
2958         * java/io/FileDescriptor.java (sync): Add real exception to
2959         SyncFailedException.
2960
2961 2005-02-21  Michael Koch  <konqueror@gmx.de>
2962
2963         * java/io/InputStreamReader.java:
2964         Fixed @author tag.
2965
2966 2005-02-20  Rutger Ovidius  <ovidr@users.sourceforge.net>
2967
2968         PR libgcj/19728:
2969         * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
2970
2971 2005-02-20  Dalibor Topic  <robilad@kaffe.org>
2972
2973         * libraries/javalib/gnu/regexp/RE.java,
2974         libraries/javalib/java/io/ObjectInputStream.java,
2975         libraries/javalib/java/security/AllPermission.java,
2976         libraries/javalib/java/security/BasicPermission.java,
2977         libraries/javalib/java/security/Permissions.java,
2978         libraries/javalib/java/text/MessageFormat.java:
2979         Made 'inner' classes real public static inner classes,
2980         and made them final where possible, or removed them
2981         where unused.
2982
2983 2005-02-20  Michael Koch  <konqueror@gmx.de>
2984
2985         * gnu/java/text/FormatCharacterIterator.java:
2986         Removed redundant modifiers.
2987
2988 2005-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
2989
2990         * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
2991         snprintf.
2992
2993 2005-02-19  Michael Koch  <konqueror@gmx.de>
2994
2995         * Makefile.am: Added new files in gnu/java/beans and
2996         java/beans/XMLDecoder.java.
2997         * Makefile.in: Regenerated.
2998
2999 2005-02-19  Robert Schuster  <thebohemian@gmx.net>
3000
3001         * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3002         assignment behavior by using java.lang.reflect.Array.set()
3003         directly.
3004
3005 2005-02-19  Dalibor Topic  <robilad@kaffe.org>
3006
3007         * gnu/java/beans/EmptyBeanInfo.java,
3008         gnu/java/beans/info/ComponentBeanInfo.java:
3009         Removed unused files.
3010
3011 2005-02-19  Robert Schuster <thebohemian@gmx.net>
3012
3013         * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3014         of AppletStub for java.beans.Beans.instantiate.
3015         * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3016         of AppletContext.
3017         * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3018         to be conformant with Javadoc guidelines.
3019         (instantiate): Added two more overloaded variants, reworked user
3020         documentation, fixed exception behavior, fixed behavior when
3021         deserializing null.
3022
3023 2005-02-19  Mark Wielaard  <mark@klomp.org>
3024
3025         * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3026         failing methods.
3027         * gnu/java/beans/decoder/DummyContext.java: Likewise.
3028
3029 2005-02-19  Robert Schuster  <theBohemian@gmx.net>
3030
3031         * gnu/java/beans/decoder/AbstractContext.java,
3032         gnu/java/beans/decoder/AbstractCreatableContext.java,
3033         gnu/java/beans/decoder/AbstractElementHandler.java,
3034         gnu/java/beans/decoder/AbstractObjectContext.java,
3035         gnu/java/beans/decoder/ArrayContext.java,
3036         gnu/java/beans/decoder/ArrayHandler.java,
3037         gnu/java/beans/decoder/AssemblyException.java,
3038         gnu/java/beans/decoder/BooleanHandler.java,
3039         gnu/java/beans/decoder/ByteHandler.java,
3040         gnu/java/beans/decoder/CharHandler.java,
3041         gnu/java/beans/decoder/ClassHandler.java,
3042         gnu/java/beans/decoder/ConstructorContext.java,
3043         gnu/java/beans/decoder/Context.java,
3044         gnu/java/beans/decoder/DecoderContext.java,
3045         gnu/java/beans/decoder/DefaultExceptionListener.java,
3046         gnu/java/beans/decoder/DoubleHandler.java,
3047         gnu/java/beans/decoder/DummyContext.java,
3048         gnu/java/beans/decoder/DummyHandler.java,
3049         gnu/java/beans/decoder/ElementHandler.java,
3050         gnu/java/beans/decoder/FloatHandler.java,
3051         gnu/java/beans/decoder/GrowableArrayContext.java,
3052         gnu/java/beans/decoder/IndexContext.java,
3053         gnu/java/beans/decoder/IntHandler.java,
3054         gnu/java/beans/decoder/JavaHandler.java,
3055         gnu/java/beans/decoder/LongHandler.java,
3056         gnu/java/beans/decoder/MethodContext.java,
3057         gnu/java/beans/decoder/MethodFinder.java,
3058         gnu/java/beans/decoder/NullHandler.java,
3059         gnu/java/beans/decoder/ObjectContext.java,
3060         gnu/java/beans/decoder/ObjectHandler.java,
3061         gnu/java/beans/decoder/PersistenceParser.java,
3062         gnu/java/beans/decoder/PropertyContext.java,
3063         gnu/java/beans/decoder/ShortHandler.java,
3064         gnu/java/beans/decoder/SimpleHandler.java,
3065         gnu/java/beans/decoder/StaticMethodContext.java,
3066         gnu/java/beans/decoder/StringHandler.java,
3067         gnu/java/beans/decoder/VoidHandler.java: New class
3068         implementing java.beans.XMLDecoder decoding functionality.
3069         * java/beans/XMLDecoder.java: New class.
3070
3071 2005-02-19  Michael Koch  <konqueror@gmx.de>
3072
3073         * javax/swing/JTextField.java
3074         (notfiyAction): Added javadoc.
3075
3076 2005-02-19  Sven de Marothy  <sven@physto.se>
3077
3078         * javax/swing/SpinnerDateModel.java: Implemented.
3079
3080 2005-02-19  Michael Koch  <konqueror@gmx.de>
3081
3082         * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3083         * Makefile.in: Regenerated.
3084
3085 2005-02-19  Michael Koch  <konqueror@gmx.de>
3086
3087         * gnu/java/nio/SelectorImpl.java:
3088         Reworked import statements.
3089         (register): Removed unused code.
3090         * java/nio/channels/Channels.java: Reformatted.
3091         * java/nio/charset/Charset.java: Likewise.
3092         * java/rmi/server/RemoteObject.java
3093         (serialVersionUID): Made private.
3094         * java/rmi/server/UID.java
3095         (serialVersionUID): Likewise.
3096
3097 2005-02-19  Michael Koch  <konqueror@gmx.de>
3098
3099         * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3100         gnu/java/net/protocol/ftp/BlockInputStream.java,
3101         gnu/java/net/protocol/ftp/BlockOutputStream.java,
3102         gnu/java/net/protocol/ftp/CompressedInputStream.java,
3103         gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3104         gnu/java/net/protocol/ftp/DTPInputStream.java,
3105         gnu/java/net/protocol/ftp/DTP.java,
3106         gnu/java/net/protocol/ftp/DTPOutputStream.java,
3107         gnu/java/net/protocol/ftp/FTPConnection.java,
3108         gnu/java/net/protocol/ftp/FTPException.java,
3109         gnu/java/net/protocol/ftp/FTPResponse.java,
3110         gnu/java/net/protocol/ftp/FTPURLConnection.java,
3111         gnu/java/net/protocol/ftp/Handler.java,
3112         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3113         gnu/java/net/protocol/ftp/StreamInputStream.java,
3114         gnu/java/net/protocol/ftp/StreamOutputStream.java,
3115         gnu/java/net/CRLFInputStream.java,
3116         gnu/java/net/CRLFOutputStream.java,
3117         gnu/java/net/GetLocalHostAction.java,
3118         gnu/java/net/protocol/ftp/package.html: New files.
3119         * Makefile.am: Added new files.
3120         * Makefile.in: Regenerated.
3121
3122 2005-02-18  Tom Tromey  <tromey@redhat.com>
3123
3124         * link.cc (make_vtable): Remove abstract method check.
3125         (append_partial_itable): Likewise.
3126
3127         PR java/20056:
3128         * verify.cc (type::equals): Fixed test.
3129         * testsuite/libjava.lang/PR20056.out: New file.
3130         * testsuite/libjava.lang/PR20056.java: New file.
3131
3132 2005-02-18  Bryce McKinlay  <mckinlay@redhat.com>
3133
3134         * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3135         not the HashEntry. Reported by Jean-Marie White.
3136
3137 2005-02-18  Tom Tromey  <tromey@redhat.com>
3138
3139         PR java/20056:
3140         * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3141         * link.cc (has_field_p): New function.
3142         * verify.cc (check_field_constant): Added 'putfield' argument.
3143         (verify_instructions_0): Updated.
3144         (type::equals): New method.
3145
3146 2005-02-18  Anthony Green  <green@redhat.com>
3147
3148         * NEWS: Draft of libgcj NEWS for 4.0.
3149
3150 2005-02-18  Anthony Green  <green@redhat.com>
3151
3152         * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3153         architecture names to "i386" for compatibility reasons.  Win32
3154         still uses "x86".
3155
3156 2005-02-18  Anthony Green  <green@redhat.com>
3157
3158         * gij.cc (version): Change year for '--version' to 2005.
3159         * gnu/gcj/convert/Convert.java: Ditto.
3160         * gnu/java/rmi/rmic/RMIC.java: Ditto.
3161         * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3162
3163         * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3164         recent copyright year in `--version' output.
3165
3166 2005-02-18  Robert Schuster <thebohemian@gmx.net>
3167
3168         * java/nio/charset/Charset.java (forName): Throws
3169         IllegalArgumentException when argument is null
3170         and added documentation.
3171
3172 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3173
3174         * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3175         Move the position of the source buffer forward.
3176
3177 2005-02-17  Tom Tromey  <tromey@redhat.com>
3178
3179         * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3180         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3181         * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3182         * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3183         Changed type of second argument.  Rewrote.
3184         (make_vtable): Use it.
3185         (append_partial_itable): Updated.
3186         (layout_vtable_methods): Updated.
3187
3188 2005-02-17  Michael Koch  <konqueror@gmx.de>
3189
3190         * gnu/java/net/PlainSocketImpl.java
3191         (shutdownInput): Added javadoc.
3192         (shutdownOutput): Likewise.
3193
3194 2005-02-17  Michael Koch  <konqueror@gmx.de>
3195
3196         * javax/print/attribute/standard/Chromaticity.java,
3197         javax/print/attribute/standard/Destination.java,
3198         javax/print/attribute/standard/MediaPrintableArea.java,
3199         javax/print/attribute/standard/MediaSize.java: New files.
3200         * Makefile.am: Added new files.
3201         * Makefile.in: Regenerated.
3202
3203 2005-02-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3204             Michael Koch  <konqueror@gmx.de>
3205
3206         * gnu/java/net/protocol/http/Cookie.java,
3207         gnu/java/net/protocol/http/HTTPConnection.java,
3208         gnu/java/net/protocol/http/HTTPDateFormat.java,
3209         gnu/java/net/protocol/http/Request.java,
3210         gnu/java/nio/PipeImpl.java,
3211         gnu/java/rmi/dgc/DGCImpl.java,
3212         gnu/java/rmi/server/ConnectionRunnerPool.java,
3213         gnu/java/rmi/server/UnicastConnectionManager.java,
3214         gnu/java/security/der/DERWriter.java,
3215         gnu/java/security/pkcs/SignerInfo.java,
3216         gnu/java/security/provider/EncodedKeyFactory.java,
3217         gnu/java/security/provider/GnuDHPublicKey.java,
3218         gnu/java/security/provider/GnuDSAPrivateKey.java,
3219         gnu/java/security/provider/GnuDSAPublicKey.java,
3220         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3221         gnu/java/security/x509/X500DistinguishedName.java,
3222         gnu/java/security/x509/X509CRL.java,
3223         gnu/java/security/x509/X509CRLEntry.java,
3224         gnu/java/security/x509/X509Certificate.java,
3225         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3226         gnu/java/security/x509/ext/CertificatePolicies.java,
3227         gnu/java/security/x509/ext/PolicyConstraint.java,
3228         gnu/xml/dom/Consumer.java,
3229         gnu/xml/dom/DomCharacterData.java,
3230         gnu/xml/dom/DomDocument.java,
3231         gnu/xml/dom/DomDocumentBuilder.java,
3232         gnu/xml/dom/DomIterator.java,
3233         gnu/xml/dom/DomNode.java,
3234         gnu/xml/dom/DomXPathExpression.java,
3235         gnu/xml/dom/DomXPathResult.java,
3236         gnu/xml/dom/JAXPFactory.java,
3237         gnu/xml/pipeline/CallFilter.java,
3238         gnu/xml/pipeline/DomConsumer.java,
3239         gnu/xml/pipeline/LinkFilter.java,
3240         gnu/xml/pipeline/NSFilter.java,
3241         gnu/xml/pipeline/TeeConsumer.java,
3242         gnu/xml/pipeline/ValidationConsumer.java,
3243         gnu/xml/pipeline/WellFormednessFilter.java,
3244         gnu/xml/pipeline/XIncludeFilter.java,
3245         gnu/xml/pipeline/XsltFilter.java,
3246         gnu/xml/transform/ApplyImportsNode.java,
3247         gnu/xml/transform/Bindings.java,
3248         gnu/xml/transform/DocumentFunction.java,
3249         gnu/xml/transform/FormatNumberFunction.java,
3250         gnu/xml/transform/NodeNumberNode.java,
3251         gnu/xml/transform/NumberNode.java,
3252         gnu/xml/transform/Stylesheet.java,
3253         gnu/xml/transform/SystemPropertyFunction.java,
3254         gnu/xml/transform/Template.java,
3255         gnu/xml/transform/TemplatesImpl.java,
3256         gnu/xml/transform/TransformerImpl.java,
3257         gnu/xml/transform/ValueOfNode.java,
3258         gnu/xml/transform/XSLURIResolver.java,
3259         gnu/xml/util/DoParse.java,
3260         gnu/xml/util/Resolver.java,
3261         gnu/xml/xpath/Expr.java,
3262         gnu/xml/xpath/FunctionCall.java,
3263         gnu/xml/xpath/RelationalExpr.java,
3264         gnu/xml/xpath/Selector.java,
3265         gnu/xml/xpath/XPathParser.java:
3266         Reworked import statements, fixed modifier order and some little
3267         formatting issues.
3268
3269 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3270
3271         * java/nio/ByteBufferImpl.java (compact):
3272         Set position and limit even if no bytes were moved.
3273
3274 2005-02-17  Michael Koch  <konqueror@gmx.de>
3275
3276         * java/nio/CharViewBufferImpl.java (compact): Likewise.
3277         * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3278         * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3279         * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3280         * java/nio/IntViewBufferImpl.java (compact): Likewise.
3281         * java/nio/LongViewBufferImpl.java (compact): Likewise.
3282         * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3283         * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3284         * java/nio/FloatBufferImpl.java (compact): Set position.
3285         * java/nio/CharBufferImpl.java (compact): Likewise.
3286         * java/nio/DoubleBufferImpl.java (compact): Likewise.
3287         * java/nio/IntBufferImpl.java (compact): Likewise.
3288         * java/nio/LongBufferImpl.java (compact): Likewise.
3289         * java/nio/ShortBufferImpl.java (compact): Likewise.
3290
3291 2005-02-17  Jeroen Frijters  <jeroen@frijters.net>
3292
3293         * java/nio/ByteBufferImpl.java,
3294         java/nio/CharBufferImpl.java,
3295         java/nio/DirectByteBufferImpl.java,
3296         java/nio/DoubleBufferImpl.java,
3297         java/nio/FloatBufferImpl.java,
3298         java/nio/IntBufferImpl.java,
3299         java/nio/LongBufferImpl.java,
3300         java/nio/MappedByteBufferImpl.java,
3301         java/nio/ShortBufferImpl.java
3302         (compact): Added explicit read-only check and invalidate mark.
3303
3304 2005-02-17  Michael Koch  <konqueror@gmx.de>
3305
3306         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3307         gnu/java/awt/peer/gtk/GdkFontPeer.java,
3308         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3309         gnu/java/awt/peer/gtk/GdkGraphics.java,
3310         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3311         gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
3312         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3313         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3314         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
3315         gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
3316         gnu/java/awt/peer/gtk/GdkTextLayout.java,
3317         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3318         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3319         gnu/java/awt/peer/gtk/GtkClipboard.java,
3320         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3321         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3322         gnu/java/awt/peer/gtk/GtkFontPeer.java,
3323         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3324         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3325         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3326         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3327         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3328         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3329         gnu/java/awt/peer/gtk/GtkToolkit.java,
3330         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3331         java/applet/Applet.java,
3332         java/awt/AWTError.java,
3333         java/awt/AWTEvent.java,
3334         java/awt/AWTEventMulticaster.java,
3335         java/awt/AWTException.java,
3336         java/awt/AWTKeyStroke.java,
3337         java/awt/AWTPermission.java,
3338         java/awt/ActiveEvent.java,
3339         java/awt/Adjustable.java,
3340         java/awt/AlphaComposite.java,
3341         java/awt/AttributeValue.java,
3342         java/awt/BorderLayout.java,
3343         java/awt/BufferCapabilities.java,
3344         java/awt/Button.java,
3345         java/awt/Canvas.java,
3346         java/awt/CheckboxGroup.java,
3347         java/awt/CheckboxMenuItem.java,
3348         java/awt/Color.java,
3349         java/awt/ColorPaintContext.java,
3350         java/awt/Component.java,
3351         java/awt/ComponentOrientation.java,
3352         java/awt/Composite.java,
3353         java/awt/CompositeContext.java,
3354         java/awt/Container.java,
3355         java/awt/ContainerOrderFocusTraversalPolicy.java,
3356         java/awt/DefaultFocusTraversalPolicy.java,
3357         java/awt/Dialog.java,
3358         java/awt/Dimension.java,
3359         java/awt/DisplayMode.java,
3360         java/awt/EventQueue.java,
3361         java/awt/FileDialog.java,
3362         java/awt/FontFormatException.java,
3363         java/awt/Graphics.java,
3364         java/awt/Graphics2D.java,
3365         java/awt/GraphicsConfigTemplate.java,
3366         java/awt/GraphicsConfiguration.java,
3367         java/awt/GraphicsDevice.java,
3368         java/awt/GridBagLayout.java,
3369         java/awt/GridBagLayoutInfo.java,
3370         java/awt/GridLayout.java,
3371         java/awt/HeadlessException.java,
3372         java/awt/IllegalComponentStateException.java,
3373         java/awt/Image.java,
3374         java/awt/Insets.java,
3375         java/awt/ItemSelectable.java,
3376         java/awt/JobAttributes.java,
3377         java/awt/KeyEventDispatcher.java,
3378         java/awt/KeyEventPostProcessor.java,
3379         java/awt/KeyboardFocusManager.java,
3380         java/awt/Label.java,
3381         java/awt/LayoutManager.java,
3382         java/awt/MenuBar.java,
3383         java/awt/MenuComponent.java,
3384         java/awt/MenuContainer.java,
3385         java/awt/PageAttributes.java,
3386         java/awt/Paint.java,
3387         java/awt/PaintContext.java,
3388         java/awt/Panel.java,
3389         java/awt/Point.java,
3390         java/awt/Polygon.java,
3391         java/awt/PrintGraphics.java,
3392         java/awt/PrintJob.java,
3393         java/awt/Rectangle.java,
3394         java/awt/RenderingHints.java,
3395         java/awt/Shape.java,
3396         java/awt/Stroke.java,
3397         java/awt/SystemColor.java,
3398         java/awt/Toolkit.java,
3399         java/awt/Transparency.java,
3400         java/awt/Window.java,
3401         java/awt/color/CMMException.java,
3402         java/awt/color/ColorSpace.java,
3403         java/awt/color/ICC_ColorSpace.java,
3404         java/awt/color/ICC_Profile.java,
3405         java/awt/color/ProfileDataException.java,
3406         java/awt/datatransfer/FlavorTable.java,
3407         java/awt/datatransfer/MimeTypeParseException.java,
3408         java/awt/datatransfer/Transferable.java,
3409         java/awt/datatransfer/UnsupportedFlavorException.java,
3410         java/awt/dnd/Autoscroll.java,
3411         java/awt/dnd/DnDConstants.java,
3412         java/awt/dnd/DragGestureListener.java,
3413         java/awt/dnd/DragSourceAdapter.java,
3414         java/awt/dnd/DragSourceDropEvent.java,
3415         java/awt/dnd/DragSourceListener.java,
3416         java/awt/dnd/DragSourceMotionListener.java,
3417         java/awt/dnd/DropTargetAdapter.java,
3418         java/awt/dnd/DropTargetContext.java,
3419         java/awt/dnd/DropTargetListener.java,
3420         java/awt/dnd/InvalidDnDOperationException.java,
3421         java/awt/dnd/MouseDragGestureRecognizer.java,
3422         java/awt/dnd/peer/DropTargetContextPeer.java,
3423         java/awt/event/AWTEventListener.java,
3424         java/awt/event/AWTEventListenerProxy.java,
3425         java/awt/event/ActionEvent.java,
3426         java/awt/event/AdjustmentEvent.java,
3427         java/awt/event/AdjustmentListener.java,
3428         java/awt/event/ComponentAdapter.java,
3429         java/awt/event/ComponentEvent.java,
3430         java/awt/event/ComponentListener.java,
3431         java/awt/event/ContainerAdapter.java,
3432         java/awt/event/ContainerEvent.java,
3433         java/awt/event/ContainerListener.java,
3434         java/awt/event/FocusAdapter.java,
3435         java/awt/event/FocusEvent.java,
3436         java/awt/event/FocusListener.java,
3437         java/awt/event/InputEvent.java,
3438         java/awt/event/InputMethodEvent.java,
3439         java/awt/event/InputMethodListener.java,
3440         java/awt/event/InvocationEvent.java,
3441         java/awt/event/ItemEvent.java,
3442         java/awt/event/ItemListener.java,
3443         java/awt/event/KeyAdapter.java,
3444         java/awt/event/KeyEvent.java,
3445         java/awt/event/KeyListener.java,
3446         java/awt/event/MouseAdapter.java,
3447         java/awt/event/MouseEvent.java,
3448         java/awt/event/MouseListener.java,
3449         java/awt/event/MouseMotionAdapter.java,
3450         java/awt/event/MouseMotionListener.java,
3451         java/awt/event/MouseWheelEvent.java,
3452         java/awt/event/MouseWheelListener.java,
3453         java/awt/event/PaintEvent.java,
3454         java/awt/event/TextEvent.java,
3455         java/awt/event/TextListener.java,
3456         java/awt/event/WindowAdapter.java,
3457         java/awt/event/WindowEvent.java,
3458         java/awt/event/WindowFocusListener.java,
3459         java/awt/event/WindowListener.java,
3460         java/awt/event/WindowStateListener.java,
3461         java/awt/font/TextHitInfo.java,
3462         java/awt/geom/CubicCurve2D.java,
3463         java/awt/geom/Dimension2D.java,
3464         java/awt/geom/Ellipse2D.java,
3465         java/awt/geom/IllegalPathStateException.java,
3466         java/awt/geom/Line2D.java,
3467         java/awt/geom/NoninvertibleTransformException.java,
3468         java/awt/geom/PathIterator.java,
3469         java/awt/geom/Point2D.java,
3470         java/awt/geom/QuadCurve2D.java,
3471         java/awt/geom/RectangularShape.java,
3472         java/awt/geom/RoundRectangle2D.java,
3473         java/awt/im/InputContext.java,
3474         java/awt/im/InputMethodHighlight.java,
3475         java/awt/im/InputMethodRequests.java,
3476         java/awt/im/InputSubset.java,
3477         java/awt/im/spi/InputMethod.java,
3478         java/awt/im/spi/InputMethodDescriptor.java,
3479         java/awt/image/BandCombineOp.java,
3480         java/awt/image/BandedSampleModel.java,
3481         java/awt/image/ByteLookupTable.java,