OSDN Git Service

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