OSDN Git Service

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