OSDN Git Service

2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
2
3         * java/text/DecimalFormat.java
4         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
5         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
6         (parse): Fixed handling of exponentiation notation and grouping.
7
8 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
9
10         * java/text/DecimalFormat.java
11         (scanFix): Build attribute array. Fixed error reporting.
12         (applyPatternWithSymbols): Store attributes for the prefix and
13         suffix.
14         (formatInternal): New method. Changed the way the string is
15         computed. Implemented attributes. Cleant up rounding in
16         exponential notation.
17         (format): Use formatInternal.
18         (formatToCharacterIterator): New method.
19         (exponentRound, negativePrefixRanges, positivePrefixRanges,
20         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
21         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
22         New fields.
23
24 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
25
26         * java/security/interfaces/DSAKeyPairGenerator.java,
27         java/security/interfaces/DSAPrivateKey.java,
28         java/security/interfaces/DSAPublicKey.java,
29         java/security/interfaces/RSAPrivateKey.java,
30         java/security/interfaces/RSAPublicKey.java:
31         Cleaned up imports.
32
33 2004-05-04  Michael Koch  <konqueror@gmx.de>
34
35         * java/nio/ByteBuffer.java,
36         java/nio/CharBuffer.java,
37         java/nio/DoubleBuffer.java,
38         java/nio/FloatBuffer.java,
39         java/nio/IntBuffer.java,
40         java/nio/LongBuffer.java,
41         java/nio/ShortBuffer.java:
42         (compareTo): Fixed bogus implementation in all buffer classes.
43
44 2004-05-04  Ingo Proetel  <proetel@aicas.com>
45
46         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
47         32 bit pixels not 8 bit pixels.
48         (isCompatibleRaster): Added javadoc comment.
49
50 2004-05-04  Ingo Proetel  <proetel@aicas.com>
51
52         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
53         scanline stride.
54
55 2004-05-04  Ingo Proetel  <proetel@aicas.com>
56
57         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
58         (getColorModel): Return the actual color model.
59         (getRaster): Implemented.
60         (ColorRaster): New inner class.
61         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
62         a PaintContext.
63         * java/awt/Color.java (<init>): Make exception more verbose.
64         (createContext): Use ColorModel when creating a PaintContext.
65
66 2004-05-04  Michael Koch  <konqueror@gmx.de>
67
68         * gnu/java/text/CharacterBreakIterator.java
69         (previous): Removed unused variable.
70
71 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
72
73         * gnu/java/text/FormatBuffer.java,
74         gnu/java/text/AttributedFormatBuffer.java,
75         gnu/java/text/StringFormatBuffer.java: New classes to implement
76         attributed iterators in java.text.
77         * gnu/java/text/FormatCharacterIterator.java: Moved 
78         from java/text as it is an internal class.
79         * java/text/FormatCharacterIterator.java: Removed.
80         * java/text/Format.java:
81         Import gnu.java.text.FormatCharacterIterator.
82         * Makefile.am (java_source_files): Added new files.
83         * Makefile.in: Regenerated.
84         
85
86 2004-05-04  Mark Wielaard  <mark@klomp.org>
87
88         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
89
90 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
91
92         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
93         * Makefile.in: Rebuilt.
94
95 2004-05-03  Mark Wielaard  <mark@klomp.org>
96
97         * gnu/java/security/der/DERReader.java: Call static methods staticly.
98         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
99         * java/net/URL.java
100         (set(String, String, int, String, String, String, String, String)):
101         Assign this.file to path or path + "?" + query.
102         * java/util/Arrays.java: Call static methods staticly.
103         * java/util/zip/ZipEntry.java: Likewise.
104         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
105         dir to this.direction.
106         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
107         Assign static field only once.
108         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
109
110 2004-05-03  Mark Wielaard  <mark@klomp.org>
111
112         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
113         unused variables hScrollbarHeight and vScrollbarWidth.
114         (preferredSize): Likewise.
115         * gnu/java/security/provider/DSAParameters.java (engineToString):
116         Removed unused call to System.getProperty("line.seperator");
117         * java/security/Security.java (loadProviders): Return result.
118
119 2004-05-03  Tom Tromey  <tromey@redhat.com>
120
121         * java/net/URLStreamHandler.java (toExternalForm): Removed
122         unused variables.
123         unused constructor.
124         * java/math/BigDecimal.java (divide): Removed unused variable.
125         * java/lang/Throwable.java: Cleaned up imports.
126         * java/lang/ClassLoader.java: Cleaned up imports.
127         * java/io/FilePermission.java (implies): Removed unused
128         variable.
129         * java/awt/TextComponent.java: Removed unused import.
130         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
131         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
132         * gnu/java/text/WordBreakIterator.java: Removed unused import.
133         * gnu/java/text/SentenceBreakIterator.java: Removed unused
134         import.
135         * gnu/java/text/LineBreakIterator.java: Removed unused import.
136         * gnu/java/text/CharacterBreakIterator.java: Removed
137         unused import.
138         * gnu/java/security/provider/DSAKeyPairGenerator.java:
139         Cleaned up imports.
140         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
141         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
142         unused method.
143         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
144         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
145         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
146         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
147         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
148         (lookupProviders): Removed unused variable.
149         (loadNextServiceProvider): Likewise.
150         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
151
152 2004-05-03  Michael Koch  <konqueror@gmx.de>
153
154         Fixes PR libgcj/14695:
155         * java/net/NetworkInterface.java
156         (getByName): Return null when no interface was found.
157
158 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
159             Tom Tromey  <tromey@redhat.com>
160
161         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
162         additional option "-Wmissing-prototypes" for compiling C sources.
163         Print actual filename for pass/fail rather than $name.c.
164         * testsuite/libjava.jni/PR15133.java: New testcase file.
165         * testsuite/libjava.jni/PR15133.c: Likewise.
166         * testsuite/libjava.jni/PR15133.out: Likewise.
167
168 2004-04-30  Roger Sayle  <roger@eyesopen.com>
169
170         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
171         ceil and floor.
172
173 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
174         
175         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
176         limit the maximum heap size to avoid unnecessary thrashing.
177
178 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
179
180         * java/text/CollationElementIterator.java (reset): Reset
181         lookahead variables.
182
183 2004-04-23  Mark Wielaard  <mark@klomp.org>
184
185         * jni/classpath/jcl.c: Changed C++ comments into C comments.
186
187 2004-04-23 Dalibor Topic <robilad@kaffe.org>
188
189         * java/sql/DriverManager.java:
190         Cleaned up imports.
191
192 2004-04-23  Michael Koch  <konqueror@gmx.de>
193
194         * java/net/URL.java
195         (hashcode): Don't initialize with default value explicitely.
196         (getContent): Removed redundant "final" keyword.
197         (openStream): Likewise.
198         (getURLStreamHandler): Fixed coding style.
199         * java/net/URLConnection.java
200         (defaultAllowUserInteraction): Don't initialize with default value
201         explicitely.
202         (connected): Likewise.
203         (doOutput): Likewise.
204         (ifModifiedSince): Likewise.
205         (dateformats_initialized): Likewise.
206         (setURLStreamHander): Use StreamTokenizer where it belongs to.
207
208 2004-04-23  Michael Koch  <konqueror@gmx.de>
209
210         * gnu/java/nio/channels/FileChannelImpl.java
211         (SET, CUR): Unused, removed.
212         (read): Implement here directly.
213         (implRead): Removed.
214         (write): Implement here directly.
215         (implWrite): Removed.
216
217 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
218
219         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
220         javax/rmi/CORBA/Stub.java,
221         javax/rmi/CORBA/Util.java,
222         javax/rmi/CORBA/ValueHandler.java,
223         javax/rmi/CORBA/ValueHandler.java,
224         javax/rmi/PortableRemoteObject.java:
225         Cleaned up imports.
226
227 2004-04-23 Dalibor Topic <robilad@kaffe.org>
228
229         * java/util/jar/JarFile.java,
230         java/util/jar/JarInputStream.java,
231         java/util/jar/JarOutputStream.java,
232         java/util/jar/Manifest.java:
233         Cleaned up imports.
234
235 2004-04-23 Dalibor Topic <robilad@kaffe.org>
236
237         * java/util/ArrayList.java,
238         java/util/Calendar.java,
239         java/util/Currency.java,
240         java/util/HashMap.java,
241         java/util/HashSet.java,
242         java/util/Hashtable.java,
243         java/util/LinkedList.java,
244         java/util/Properties.java,
245         java/util/PropertyPermission.java,
246         java/util/TimeZone.java,
247         java/util/TreeMap.java,
248         java/util/TreeSet.java,
249         java/util/Vector.java,
250         java/util/WeakHashMap.java:
251         Cleaned up imports.
252
253 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
254
255         * java/util/logging/FileHandler.java,
256         java/util/logging/Formatter.java,
257         java/util/logging/Handler.java,
258         java/util/logging/Logger.java,
259         java/util/logging/SimpleFormatter.java,
260         java/util/logging/XMLFormatter.java:
261         Cleaned up imports.
262
263 2004-04-22  Mark Wielaard  <mark@klomp.org>
264
265         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
266         -Wno-long-long flags variable.
267         (gtk_c_files): Use PEDANTIC_CFLAGS.
268         * Makefile.in: Regenerated.
269
270 2004-04-22  Mark Wielaard  <mark@klomp.org>
271
272         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
273         Changed C++ comments into C comments.
274         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
275         Likewise.
276
277 2004-04-22  Michael Koch  <konqueror@gmx.de>
278
279         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
280         Merged copyright year with GNU classpath.
281
282 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
283
284         * javax/security/auth/x500/X500Principal.java:
285         Cleaned up imports.
286
287 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
288
289         * javax/swing/JSlider.java:
290         Fixed HTML tags in comments.
291
292 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
293
294         * javax/accessibility/AccessibleText.java:
295         Cleaned up imports.
296
297 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
298
299         * java/net/URLStreamHandler.java
300         (parseURL): Convert the file path to using '/' instead of native
301         file separator.
302
303 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
304
305         * java/net/URL.java
306         (userInfo): New field.
307         (URL): Set authority to the right value.
308         (setURL): Fixed authority and file initialization.
309         * java/net/URLStreamHandler.java
310         (parseURL): Take care of the query tag. Build authority.
311         (toExternalForm): Fixed URL building using authority.
312
313 2004-04-22  Michael Koch  <konqueror@gmx.de>
314
315         * java/net/Socket.java
316         (impl): Made package-private.
317         * java/net/ServerSocket.java
318         (implAccept): Access Socket.impl field directly.
319
320 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
321
322         * java/util/prefs/Preferences.java,
323         java/util/prefs/InvalidPreferencesFormatException.java,
324         java/util/prefs/BackingStoreException.java,
325         java/util/prefs/AbstractPreferences.java:
326         Cleaned up imports.
327
328 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
329
330         * java/util/regex/Matcher.java,
331         java/util/regex/Pattern.java:
332         Cleaned up imports.
333
334 2004-04-22  Michael Koch  <konqueror@gmx.de>
335
336         * java/nio/charset/IllegalCharsetNameException.java
337         (charsetName): Made private.
338         (IllegalCharsetNameException): Added @param tag to javadoc.
339         (getCharsetName): Added @return tag to javadoc.
340         * java/nio/charset/MalformedInputException.java
341         (MalformedInputException): Added @param tag to javadoc.
342         (getInputLength): Revised method description, added @return tag.
343         (getMessage): Added @return tag.
344
345 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
346
347         * java/awt/Font.java (deriveFont): Implement missing variants.
348         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
349         missing variants.
350
351 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
352
353         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
354         Set method->index values for interface methods to their itable index.
355         (initializeClass): Call _Jv_LayoutInterfaceMethods.
356
357 2004-04-21  Michael Koch  <konqueror@gmx.de>
358
359         * java/nio/DirectByteBufferImpl.java
360         (shiftDown): Made static, give address as argument and
361         provide a convenience method that overwrites shiftDown in
362         ByteBufferImpl and calls the native shiftDown.
363         * java/nio/MappedByteBufferImpl.java
364         (): Use optimized method in DirectByteBufferImpl.
365         * java/nio/natDirectByteBufferImpl.cc
366         (shiftDown): Changed method signature. Removed usage of array_offset.
367
368 2004-04-21  Michael Koch  <konqueror@gmx.de>
369
370         * gnu/java/net/natPlainSocketImplPosix.cc
371         (SocketInputStream::read): Make sure returned data is a byte value.
372
373 2004-04-21  Michael Koch  <konqueror@gmx.de>
374
375         * gnu/classpath/ServiceFactory.java,
376         gnu/classpath/ServiceProviderLoadingAction.java,
377         javax/imageio/ImageReader.java,
378         javax/imageio/ImageTranscoder.java,
379         javax/imageio/ImageWriter.java,
380         javax/imageio/package.html,
381         javax/imageio/spi/IIOServiceProvider.java,
382         javax/imageio/spi/ImageInputStreamSpi.java,
383         javax/imageio/spi/ImageOutputStreamSpi.java,
384         javax/imageio/spi/ImageReaderWriterSpi.java,
385         javax/imageio/spi/ImageTranscoderSpi.java,
386         javax/imageio/spi/RegisterableService.java,
387         javax/imageio/spi/ServiceRegistry.java,
388         javax/imageio/spi/package.html,
389         javax/imageio/stream/IIOByteBuffer.java,
390         javax/imageio/stream/ImageInputStream.java,
391         javax/imageio/stream/ImageOutputStream.java,
392         javax/imageio/stream/package.html:
393         New files.
394         * Makefile.am
395         (ordinary_java_source_files): Added
396         gnu/classpath/ServiceFactory.java and
397         gnu/classpath/ServiceProviderLoadingAction.java.
398         (javax_source_files): Added
399         javax/imageio/ImageReader.java,
400         javax/imageio/ImageTranscoder.java,
401         javax/imageio/ImageWriter.java,
402         javax/imageio/spi/IIOServiceProvider.java,
403         javax/imageio/spi/ImageInputStreamSpi.java,
404         javax/imageio/spi/ImageOutputStreamSpi.java,
405         javax/imageio/spi/ImageReaderWriterSpi.java,
406         javax/imageio/spi/ImageTranscoderSpi.java,
407         javax/imageio/spi/RegisterableService.java,
408         javax/imageio/spi/ServiceRegistry.java,
409         javax/imageio/stream/IIOByteBuffer.java,
410         javax/imageio/stream/ImageInputStream.java and
411         javax/imageio/stream/ImageOutputStream.java.
412         * Makefile.in: Regenerated.
413
414 2004-04-21  Michael Koch  <konqueror@gmx.de>
415
416         * java/util/Properties.java
417         (load): Fix wrongly merged fix.
418
419 2004-04-21  Mark Wielaard  <mark@klomp.org>
420
421         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
422         malloc and free buf.
423
424 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
425
426         * javax/naming/AuthenticationException.java,
427         javax/naming/AuthenticationNotSupportedException.java,
428         javax/naming/CannotProceedException.java,
429         javax/naming/CommunicationException.java,
430         javax/naming/CompoundName.java,
431         javax/naming/ConfigurationException.java,
432         javax/naming/ContextNotEmptyException.java,
433         javax/naming/InitialContext.java,
434         javax/naming/InsufficientResourcesException.java,
435         javax/naming/InterruptedNamingException.java,
436         javax/naming/LimitExceededException.java,
437         javax/naming/LinkException.java,
438         javax/naming/LinkLoopException.java,
439         javax/naming/LinkRef.java,
440         javax/naming/MalformedLinkException.java,
441         javax/naming/Name.java,
442         javax/naming/NameAlreadyBoundException.java,
443         javax/naming/NameNotFoundException.java,
444         javax/naming/NamingSecurityException.java,
445         javax/naming/NoInitialContextException.java,
446         javax/naming/NoPermissionException.java,
447         javax/naming/NotContextException.java,
448         javax/naming/PartialResultException.java,
449         javax/naming/ReferralException.java,
450         javax/naming/ServiceUnavailableException.java,
451         javax/naming/SizeLimitExceededException.java,
452         javax/naming/TimeLimitExceededException.java,
453         javax/naming/directory/Attribute.java,
454         javax/naming/directory/Attributes.java,
455         javax/naming/directory/SearchResult.java,
456         javax/naming/event/NamingExceptionEvent.java,
457         javax/naming/spi/ResolveResult.java:
458         Cleaned up imports.
459
460 2004-04-21  Mark Wielaard  <mark@klomp.org>
461
462         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
463         Changed C++ comments into C comments. Removed commented out code.
464         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
465         Likewise.
466         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
467         Likewise.
468         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
469         Likewise.
470         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
471         Likewise.
472         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
473         Likewise.
474         * native/jni/gtk-peer/gthread-jni.c:
475         Likewise.
476
477 2004-04-21  Mark Wielaard  <mark@klomp.org>
478
479         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
480         static fields defined in interface.
481         * javax/awt/JDialog.java: Likewise.
482         (JDialog): Make constructors public.
483         (getDefaultCloseOperation): Make public.
484         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
485         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
486         * javax/swing/JViewport.java (JViewport): Make constructor public.
487
488 2004-04-21  Michael Koch  <konqueror@gmx.de>
489
490         * java/util/Map.java
491         (Entry): Removed redundant "static" modifier.
492         * java/text/AttributedCharacterIterator.java:
493         Updated copyright year.
494
495 2004-04-20  Michael Koch  <konqueror@gmx.de>
496
497         * javax/naming/directory/SearchControls.java:
498         Don't explicitely extend java.lang.Object.
499         * javax/naming/spi/DirStateFactory.java:
500         Merged copyright year with GNU classpath.
501
502 2004-04-20  Michael Koch  <konqueror@gmx.de>
503
504         * java/nio/channels/Channels.java:
505         Merged coding style with GNU classpath.
506
507 2004-04-20  Michael Koch  <konqueror@gmx.de>
508
509         * java/net/ServerSocket.java
510         Merged coding style from GNU classpath.
511
512 2004-04-20  Michael Koch  <konqueror@gmx.de>
513
514         * java/io/BufferedWriter.java:
515         Reordered variables to be at top of the class.
516         (localFlush): Removed redundant final keyword.
517
518 2004-04-20  Ingo Proetel  <proetel@aicas.com>
519
520         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
521
522 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
523
524         * java/text/DecimalFormat.java (scanFix): Removed suffix check
525         for percent and permill check.
526
527 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
528
529         * java/text/FieldPosition.java
530         (FieldPosition) Constructor now behaves as it should according
531         to the java documentation.
532
533 2004-04-20  Mark Wielaard  <mark@klomp.org>
534
535         * java/util/Properties.java: Use the word umlaut, not &auml; in api
536         documentation.
537
538 2004-04-20  Michael Koch  <konqueror@gmx.de>
539
540         * java/nio/Buffer.java,
541         java/nio/channels/AlreadyConnectedException.java,
542         java/nio/channels/AsynchronousCloseException.java,
543         java/nio/channels/ByteChannel.java,
544         java/nio/channels/CancelledKeyException.java,
545         java/nio/channels/Channel.java,
546         java/nio/channels/Channels.java,
547         java/nio/channels/ClosedByInterruptException.java,
548         java/nio/channels/ClosedChannelException.java,
549         java/nio/channels/ClosedSelectorException.java,
550         java/nio/channels/ConnectionPendingException.java,
551         java/nio/channels/DatagramChannel.java,
552         java/nio/channels/FileChannel.java,
553         java/nio/channels/FileLock.java,
554         java/nio/channels/FileLockInterruptionException.java,
555         java/nio/channels/GatheringByteChannel.java,
556         java/nio/channels/IllegalBlockingModeException.java,
557         java/nio/channels/IllegalSelectorException.java,
558         java/nio/channels/InterruptibleChannel.java,
559         java/nio/channels/NoConnectionPendingException.java,
560         java/nio/channels/NonReadableChannelException.java,
561         java/nio/channels/NonWritableChannelException.java,
562         java/nio/channels/NotYetBoundException.java,
563         java/nio/channels/NotYetConnectedException.java,
564         java/nio/channels/OverlappingFileLockException.java,
565         java/nio/channels/Pipe.java,
566         java/nio/channels/ReadableByteChannel.java,
567         java/nio/channels/ScatteringByteChannel.java,
568         java/nio/channels/SelectableChannel.java,
569         java/nio/channels/SelectionKey.java,
570         java/nio/channels/Selector.java,
571         java/nio/channels/ServerSocketChannel.java,
572         java/nio/channels/SocketChannel.java,
573         java/nio/channels/UnresolvedAddressException.java,
574         java/nio/channels/UnsupportedAddressTypeException.java,
575         java/nio/channels/WritableByteChannel.java,
576         java/nio/channels/spi/AbstractInterruptibleChannel.java,
577         java/nio/channels/spi/AbstractSelectableChannel.java,
578         java/nio/channels/spi/AbstractSelectionKey.java,
579         java/nio/channels/spi/AbstractSelector.java,
580         java/nio/channels/spi/SelectorProvider.java,
581         java/nio/charset/spi/CharsetProvider.java:
582         Fixed javadocs and jalopied all over java.nio.
583
584 2004-04-20  Michael Koch  <konqueror@gmx.de>
585
586         * java/nio/ByteBufferImpl.java,
587         java/nio/CharBufferImpl.java,
588         java/nio/DirectByteBufferImpl.java,
589         java/nio/DoubleBufferImpl.java,
590         java/nio/DoubleViewBufferImpl.java,
591         java/nio/FloatBufferImpl.java,
592         java/nio/FloatViewBufferImpl.java,
593         java/nio/IntBufferImpl.java,
594         java/nio/IntViewBufferImpl.java,
595         java/nio/LongBufferImpl.java,
596         java/nio/LongViewBufferImpl.java,
597         java/nio/MappedByteBufferImpl.java,
598         java/nio/ShortBufferImpl.java,
599         java/nio/ShortViewBufferImpl.java:
600         Made sure all classes are final and removed final keyword from all
601         methods.
602
603 2004-04-20  Michael Koch  <konqueror@gmx.de>
604
605         * java/rmi/MarshalledObject.java,
606         java/rmi/Naming.java,
607         java/rmi/RemoteException.java,
608         java/rmi/activation/ActivationException.java,
609         java/rmi/server/ServerCloneException.java,
610         java/security/AccessController.java,
611         java/security/AlgorithmParameterGenerator.java,
612         java/security/AlgorithmParameters.java,
613         java/security/CodeSource.java,
614         java/security/Identity.java,
615         java/security/IdentityScope.java,
616         java/security/KeyPairGenerator.java,
617         java/security/KeyStore.java,
618         java/security/Security.java,
619         java/security/Signature.java,
620         java/security/SignatureSpi.java,
621         java/security/SignedObject.java,
622         java/security/spec/DSAParameterSpec.java,
623         java/security/spec/DSAPrivateKeySpec.java,
624         java/security/spec/DSAPublicKeySpec.java,
625         java/sql/Array.java,
626         java/sql/DatabaseMetaData.java,
627         java/sql/ResultSet.java,
628         java/text/ChoiceFormat.java,
629         java/text/CollationElementIterator.java,
630         java/text/CollationKey.java,
631         java/text/Collator.java,
632         java/text/DateFormat.java,
633         java/text/DateFormatSymbols.java,
634         java/text/DecimalFormatSymbols.java,
635         java/text/Format.java,
636         java/text/ParsePosition.java,
637         java/text/RuleBasedCollator.java,
638         java/text/SimpleDateFormat.java,
639         java/text/StringCharacterIterator.java,
640         java/util/Collections.java,
641         java/util/PropertyResourceBundle.java,
642         java/util/ResourceBundle.java,
643         java/util/StringTokenizer.java,
644         java/util/jar/Attributes.java,
645         java/util/logging/ConsoleHandler.java,
646         java/util/logging/LogManager.java,
647         java/util/logging/MemoryHandler.java,
648         java/util/logging/SocketHandler.java,
649         javax/naming/NamingException.java:
650         Fixed javadoc, coding style and argument names all over.
651
652 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
653
654         * java/io/FileDescriptor.java: (FileDescriptor) Added public
655         constructor. (valid) Added null check.
656
657 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
658
659         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
660         * java/io/FileOutputStream.java
661         (FileOutputStream) Reorganized constructors. Constructors now
662         check whether the given path is directory.
663
664 2004-04-20  Michael Koch  <konqueror@gmx.de>
665
666         * java/net/Authenticator.java,
667         java/net/BindException.java,
668         java/net/ConnectException.java,
669         java/net/ContentHandler.java,
670         java/net/ContentHandlerFactory.java,
671         java/net/DatagramPacket.java,
672         java/net/DatagramSocket.java,
673         java/net/DatagramSocketImpl.java,
674         java/net/DatagramSocketImplFactory.java,
675         java/net/FileNameMap.java,
676         java/net/HttpURLConnection.java,
677         java/net/Inet4Address.java,
678         java/net/Inet6Address.java,
679         java/net/InetAddress.java,
680         java/net/InetSocketAddress.java,
681         java/net/JarURLConnection.java,
682         java/net/MalformedURLException.java,
683         java/net/MulticastSocket.java,
684         java/net/NetPermission.java,
685         java/net/NetworkInterface.java,
686         java/net/NoRouteToHostException.java,
687         java/net/PasswordAuthentication.java,
688         java/net/PortUnreachableException.java,
689         java/net/ProtocolException.java,
690         java/net/ServerSocket.java,
691         java/net/Socket.java,
692         java/net/SocketAddress.java,
693         java/net/SocketException.java,
694         java/net/SocketImpl.java,
695         java/net/SocketImplFactory.java,
696         java/net/SocketOptions.java,
697         java/net/SocketPermission.java,
698         java/net/SocketTimeoutException.java,
699         java/net/URI.java,
700         java/net/URISyntaxException.java,
701         java/net/URL.java,
702         java/net/URLClassLoader.java,
703         java/net/URLConnection.java,
704         java/net/URLDecoder.java,
705         java/net/URLEncoder.java,
706         java/net/URLStreamHandler.java,
707         java/net/URLStreamHandlerFactory.java,
708         java/net/UnknownHostException.java,
709         java/net/UnknownServiceException.java:
710         Fixed javadocs, coding style and argument names all over.
711
712 2004-04-20  Michael Koch  <konqueror@gmx.de>
713
714         * java/lang/Byte.java,
715         java/lang/CharSequence.java,
716         java/lang/ClassLoader.java,
717         java/lang/Compiler.java,
718         java/lang/Double.java,
719         java/lang/Float.java,
720         java/lang/Integer.java,
721         java/lang/Long.java,
722         java/lang/Math.java,
723         java/lang/Number.java,
724         java/lang/Package.java,
725         java/lang/Runtime.java,
726         java/lang/RuntimePermission.java,
727         java/lang/SecurityManager.java,
728         java/lang/Short.java,
729         java/lang/StringBuffer.java,
730         java/lang/System.java,
731         java/lang/ThreadGroup.java,
732         java/lang/Throwable.java,
733         java/lang/reflect/InvocationHandler.java,
734         java/lang/reflect/Proxy.java:
735         Fixed javadocs, coding style and argument names all over.
736
737 2004-04-20  Michael Koch  <konqueror@gmx.de>
738
739         * java/io/BufferedWriter.java,
740         java/io/ByteArrayInputStream.java,
741         java/io/CharArrayWriter.java,
742         java/io/DataInput.java,
743         java/io/DataInputStream.java,
744         java/io/File.java,
745         java/io/FilterInputStream.java,
746         java/io/InputStream.java,
747         java/io/InputStreamReader.java,
748         java/io/ObjectInputStream.java,
749         java/io/ObjectStreamClass.java,
750         java/io/PipedInputStream.java,
751         java/io/PipedReader.java,
752         java/io/PushbackInputStream.java,
753         java/io/PushbackReader.java,
754         java/io/RandomAccessFile.java,
755         java/io/SerializablePermission.java,
756         java/io/StreamTokenizer.java,
757         java/io/StringWriter.java,
758         java/io/WriteAbortedException.java,
759         java/io/Writer.java:
760         Fixed javadocs all over, rename arguments to match javadocs,
761         fixed coding style.
762
763 2004-04-20  Ingo Proetel  <proetel@aicas.com>
764
765         * java/awt/FontMetrics.java:
766         (charsWidth): fixed accumulation of total_width
767         (getWidth): simple default implementation
768         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
769         in Rectangle constructor.
770         * java/awt/image/Raster.java (toString): Added method. 
771         * java/awt/image/SampleModel.java (<init>): Added error cause
772         information to thrown exception.
773         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
774         New method.
775         (setDataElements): New method.
776         (setPixels): New method.
777         (toString): New method.
778
779 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
780
781         * java/awt/image/ComponentColorModel.java
782         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
783         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
784         Mauve tests on this method. Improved documentation.
785
786 2004-04-20  Michael Koch  <konqueror@gmx.de>
787
788         * javax/swing/JLayeredPane.java,
789         javax/swing/plaf/BorderUIResource.java,
790         javax/swing/plaf/ComponentUI.java,
791         javax/swing/undo/CompoundEdit.java,
792         javax/swing/undo/StateEdit.java:
793         Fixed HTML tags in javadocs all over.
794
795 2004-04-20  Michael Koch  <konqueror@gmx.de>
796
797         * javax/print/attribute/EnumSyntax.java
798         (getOffset): Made protected.
799         * javax/print/attribute/HashAttributeSet.java
800         (HashAttributeSet): Likewise.
801         * javax/print/attribute/ResolutionSyntax.java
802         (getFeedResolution): Fixed typo in exception name.
803         (getCrossFeedResolution): Likewise.
804         * javax/print/attribute/SetOfIntegerSyntax.java
805         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
806         * javax/print/attribute/TextSyntax.java
807         (TextSyntax): Handle locale correctly.
808         (hashCode): Calc better hashcode value.
809         (equals): Fixed @return tag.
810         (toString): New method.
811
812 2004-04-20  Michael Koch  <konqueror@gmx.de>
813
814         * gnu/java/nio/FileLockImpl.java
815         (static): Removed, not needed anymore.
816         * gnu/java/nio/channels/FileChannelImpl.java
817         (FileChannelImpl): Made final.
818         (mode): Made private.
819         (READ, WRITE, APPEND): Made public.
820         (EXCL, SYNC, DSYNC): Likewise.
821         (static): Load native JNI library, when needed.
822         (length): Unused, removed.
823         (available): Made public.
824         (implPosition): Throws IOException.
825         (seek): Likewise.
826         (implTruncate): Likewise.
827         (unlock): Likewise.
828         (lock): Likewise.
829
830 2004-04-20  Michael Koch  <konqueror@gmx.de>
831
832         * java/awt/AWTPermission.java,
833         java/awt/Component.java,
834         java/awt/ComponentOrientation.java,,
835         java/awt/Dialog.java,
836         java/awt/FontMetrics.java,
837         java/awt/Graphics.java,
838         java/awt/datatransfer/DataFlavor.java,
839         java/beans/Introspector.java,
840         java/beans/PropertyEditor.java,
841         java/beans/PropertyEditorManager.java,
842         java/beans/beancontext/BeanContextServiceProvider.java:
843         Fixed HTML tags in javadocs all over.
844
845 2004-04-20  Mark Wielaard  <mark@klomp.org>
846
847         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
848         MissingResourceException is thrown.
849         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
850         null when a MissingResourceException is thrown. Should never happen.
851
852 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
853
854         * java/awt/image/DataBufferShort.java,
855         java/awt/image/DataBufferFloat.java,
856         java/awt/image/DataBufferDouble.java,
857         java/awt/image/PixelInterleavedSampleModel.java: New files.
858         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
859         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
860
861 2004-04-20  Michael Koch  <konqueror@gmx.de>
862
863         * Makefile.am (java_source_files): Added
864         java/awt/image/DataBufferDouble.java,
865         java/awt/image/DataBufferFloat.java,
866         java/awt/image/DataBufferShort.java and
867         java/awt/image/PixelInterleavedSampleModel.java.
868         * Makefile.in: Regenerated.
869
870 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
871  
872         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
873         undocumented CNI calls.
874         * include/java-interp.h (_Jv_InterpClass): No longer
875         extends java.lang.Class.
876         * java/lang/Class.h (Class): Add new field `aux_info'.
877         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
878         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
879         Use Class->aux_info instead.
880         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
881         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
882         Use Class->aux_info instead.
883         * java/io/natObjectInputStream.cc (allocateObject): Use
884         _Jv_AllocObject.
885         * java/lang/natClass.cc (newInstance): Likewise.
886         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
887         * java/lang/natObject.cc (clone): Likewise.
888         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
889         * java/lang/natVMClassLoader.cc (defineClass): Don't use
890         JvAllocObject. Allocate klass->aux_info here for interpreted
891         class.
892         
893 2004-04-17  Mark Wielaard  <mark@klomp.org>
894
895         * javax/swing/JToggleButton.java (ToggleButtonModel):
896         Make public static inner class.
897         * javax/swing/JTabbedPane.java (setComponentAt):
898         Call Page.setComponent().
899         (SCROLL_TAB_LAYOUT): Make public, value is 1.
900         (WRAP_TAB_LAYOUT): Make public, value is 0.
901         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
902         Make private static inner class.
903
904 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
905
906         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
907         arguments to match new signature. Remove FIXME comments.
908
909 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
910
911         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
912         Remove method.
913         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
914         unused code.
915
916 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
917
918         * Makefile.am: Added new file.
919         * Makefile.in: Regenerate.
920         * javax/swing/ImageIcon.java: 
921         (ImageIcon(file)): set description of the icon 
922         to the file name
923         * javax/swing/JCheckBoxMenuItem.java:
924         Mostly Implemented. Work in progress.
925         * javax/swing/JRadioButtonMenuItem.java:
926         Reimplement constructors to use JToggleButtonModel.
927         * javax/swing/plaf/basic/BasicIconFactory.java:
928         (getCheckBoxMenuItemIcon): return check box
929         icon.
930         * javax/swing/plaf/basic/BasicMenuItemUI.java:
931         paint menu item selected only when it is armed and 
932         pressed. 
933  
934 2004-04-02  David Jee  <djee@redhat.com>
935
936         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
937         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
938         * java/awt/Component.java
939         (add): Set the parent of the popup as this component.
940         * java/awt/PopupMenu.java
941         (addNotify): Create popup menu when peer is null.
942         (show): Call addNotify() if peer is null.
943         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
944         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
945         argument for gtk_menu_popup() as zero. This causes the popup menu to
946         respond to any mouse button.
947
948 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
949
950         * Makefile.am: Added new file.
951         * Makefile.in: Regenerate.
952         * javax/swing/JRadioButtonMenuItem.java:
953         Implemented.
954         * javax/swing/plaf/basic/BasicIconFactory.java:
955         (getRadioButtonMenuItemIcon): Return
956         radio button icon.
957         * javax/swing/plaf/basic/BasicMenuItemUI.java:
958         (getPreferredSize): Add size of checkIcon if it
959         exists.
960         (installDefaults): Don't initialize checkIcon.
961         It's value will be set in subclasses. 
962         (uninstallDefaults): remove uninstallation of 
963         checkIcon.
964         (paint): Moved code to paintMenuItem().
965         (paintMenuItem): Implemented.
966         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
967         UI delegate for JRadioButtonMenuItem.
968         
969 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
970
971         * javax/swing/plaf/basic/BasicMenuItemUI.java:
972         Corrected position of the accelerator.
973
974 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
975
976         * Makefile.am: Added new file. 
977         * Makefile.in: Regenerate.
978         * javax/swing/JMenuItem.java: Partly 
979         implemented. Work in progress
980         * javax/swing/plaf/basic/BasicLookAndFeel.java:
981         Changed default value of acceleratorDelimiter.
982         * javax/swing/plaf/basic/BasicMenuItemUI.java:
983         New class. Partly implemented.
984                 
985 2004-03-26  Mark Wielaard  <mark@klomp.org>
986
987         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
988         (item_activate): Declare label before use.
989         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
990         (gtkSetFont): Removed unused variable label.
991         (addExposeFilter): Declare variables before use.
992         (removeExposeFilter): Likewise.
993         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
994         (ok_clicked): Declare str_fileName before use.
995
996 2004-03-26  David Jee  <djee@redhat.com>
997
998         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
999         (addSeparator): Remove.
1000         * java/awt/Menu.java
1001         (separator): Remove static final MenuItem field.
1002         (separatorLabel): New static final String field.
1003         (addSeparator): Do not use peer method; use add(MenuItem) instead.
1004         Use separatorLabel to denote that it is a separator.
1005         (insertSeparator): Create a new MenuItem with separatorLabel, instead
1006         of reusing the static separator instance, because a MenuItem instance
1007         can't be added more than once without being cloned.
1008         * java/awt/peer/MenuPeer.java
1009         (addSeparator): Remove from interface.
1010
1011 2004-03-26  David Jee  <djee@redhat.com>
1012
1013         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1014         (connectSignals): New native method declaration.
1015         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
1016         * java/awt/MenuItem.java
1017         (getActionCommand): Return the label if the action command is not set.
1018         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1019         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
1020         gtk_menu_shell_append().
1021         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1022         (item_activate): Fix argument type.
1023         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
1024         signal here.
1025         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
1026         method.
1027         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1028         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
1029         given. Add the menu widget's top-level GtkWindow to the global window
1030         group, so it can grab the pointer.
1031         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
1032         gtk_menu_shell_append().
1033
1034 2004-03-23  Graydon Hoare  <graydon@redhat.com>
1035
1036         * java/text/AttributedString.java 
1037         (addAttribute): Fix off-by-one.
1038         (getIterator): Likewise.        
1039         * java/text/AttributedStringIterator.java 
1040         (getRunLimit): Correct logic.
1041         (getRunStart): Likewise.
1042         (getAttribute): Fix inequality.
1043         (getAttributes): Likewise.
1044         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
1045
1046 2004-03-23  Kim Ho  <kho@redhat.com>
1047
1048         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1049         (calculateSizes): Return real width and height.
1050
1051 2004-03-23  Kim Ho  <kho@redhat.com>
1052
1053         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1054         (calculateTabRects): Set the selectedRun before
1055         trying to rotate tabs.
1056
1057 2004-03-23  Kim Ho  <kho@redhat.com>
1058
1059         * Makefile.am: New file
1060         * Makefile.in: Regenerate
1061         * java/awt/Graphics.java: (drawRect):
1062         Draw to the correct point.
1063         * javax/swing/DefaultSingleSelectionModel.java
1064         (isSelected): Return true if the selected index
1065         is not -1.
1066         * javax/swing/JLabel.java: Do not change mnemonic
1067         index if text is null.
1068         * javax/swing/JProgressBar.java: Use JComponent's
1069         EventListenerList.
1070         * javax/swing/JScrollBar.java: Ditto.
1071         * javax/swing/JSlider.java: Ditto.
1072         * javax/swing/JTabbedPane.java: Reimplement.
1073         * javax/swing/plaf/basic/BasicLookAndFeel.java:
1074         Add defaults for TabbedPane.
1075         * javax/swing/plaf/basic/BasicArrowButton.java:
1076         Implement
1077         * javax/swing/plaf/basic/BasicProgressBarUI.java:
1078         (paintDeterminate): Don't paint String if it's
1079         empty.
1080         (paintIndeterminate): ditto.
1081         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1082         Reimplement.
1083
1084 2004-03-19  Michael Koch  <konqueror@gmx.de>
1085
1086         * java/awt/image/AffineTransformOp.java
1087         (AffineTransformOp): Made public.
1088         * javax/swing/JComponent.java
1089         (listenerList): Made protected.
1090         (accessibleContext): Likewise.
1091         * javax/swing/JList.java
1092         (valueChanged): Dont use internal fields of ListSelectionEvent.
1093         * javax/swing/JViewport.java
1094         (getView): Dont use internal fields of Component.
1095         (addImpl): Likewise.
1096         * javax/swing/Timer.java
1097         (isRunning): Made public.
1098         (start): Likewise.
1099         (stop): Likewise.
1100         * javax/swing/UIDefaults.java
1101         (getInt): Made public.
1102         * javax/swing/plaf/basic/BasicListUI.java
1103         (mousePressed): Dont use internal fields of MouseEvent.
1104         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
1105         * javax/swing/plaf/basic/BasicScrollBarUI.java
1106         (arrowIcon): Made static.
1107         * javax/swing/plaf/basic/BasicViewportUI.java
1108         (stateChanged): Dont use internal field on ChangeEvent.
1109         * javax/swing/text/JTextComponent.java
1110         (getUI): Call UIManager.getUI().
1111         (updateUI): Use getUI().
1112
1113 2004-03-19  Graydon Hoare  <graydon@redhat.com>
1114
1115         * javax/swing/JComponent.java: Turn off double buffer by default.
1116         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
1117         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1118         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
1119         Use cairo to copy areas.
1120         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
1121         Initialize and set clip region.
1122
1123 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
1124
1125         * java/applet/Applet.java (preferredSize): Override deprecated
1126         variant of getPreferredSize.
1127         (minimumSize): Override deprecated variant of getMinimumSize.
1128
1129 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
1130
1131         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1132         (drawImage(img,xform,bgcolor,obs)): New Method.
1133         Helper function that every drawImage method will
1134         use.
1135         (drawRaster): Added new parameter, bgcolor. All
1136         transparent pixels are changed to bgcolor before 
1137         image is drawn.
1138         (drawRenderedImage): Fixed to use changed drawRaster().
1139         (drawImage(image,xform,obs): Fixed to use new helper function 
1140         (drawImage(image,op,x,y)): Ditto.
1141         (drawImage (img,x,y,observer)): Ditto.
1142         ((PainterThread) bgcolor): New Field.
1143         ((PainterThread) (setPixels)): Changed all transparent pixels 
1144         to bgcolor.     
1145         (drawImage(img,x,y,width,height,bgcolor,observer)): 
1146         Fixed FIXME - all the transparent pixels are 
1147         changed to the specified bgcolor. 
1148         (drawImage(img, x, y, width, height, observer): Changed to 
1149         use function above.
1150         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
1151         Fixed FIXME- changed all transparent pixels to bgcolor.
1152         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
1153         Changed to use function above. 
1154
1155 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1156
1157         * java/applet/Applet.java (dimensions): New field.
1158         (getDimensions): New method.
1159         (getPreferredSize): Call getDimensions.
1160         (getMinimumSize): Likewise.
1161
1162 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
1163
1164         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
1165         * jni/classpath/jnilink.c: Likewise.
1166
1167         * java/applet/Applet.java (getPreferredSize): New method.
1168         (getMinimumSize): New method.
1169
1170 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
1171
1172         * prims.cc (_Jv_AllocObject): Remove `size' argument.
1173         (_Jv_AllocObjectNoFinalizer): Likewise.
1174         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
1175         (_Jv_AllocPtrFreeObject): Likewise.
1176         (_Jv_AllocString): Moved from natString.cc. Call collector interface
1177         directly even in the JVMPI case.        
1178         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
1179         _Jv_AllocObject calls.
1180         * gcj/javaprims.h: Update prototypes.
1181         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
1182         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
1183         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
1184
1185 2004-04-14  Andrew Haley  <aph@redhat.com>
1186             Bryce McKinlay  <mckinlay@redhat.com>
1187
1188         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
1189         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
1190         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
1191
1192         * testsuite/libjava.lang/InvokeInterface.java: New file.
1193         * testsuite/libjava.lang/InvokeInterface.out: New file.
1194
1195 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
1196         
1197         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
1198         modified lookup().
1199         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
1200         StackTraceElement directly.
1201         (newElement): New native helper method to create StackTraceElement
1202         bypassing Java access control.
1203         (createStackTraceElement): Use newElement() instead of directly
1204         calling StackTraceElement's constructor.
1205         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
1206
1207 2004-04-01  Michael Koch  <konqueror@gmx.de>
1208
1209         * java/lang/SecurityManager.java
1210         (checkAwtEventQueueAccess): Implemented.
1211
1212 2004-04-01  Gary Benson  <gbenson@redhat.com>
1213
1214         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
1215         (_Jv_SearchMethodInClass): Likewise.
1216
1217 2004-03-26  Peter Moon  <peterm@miraculum.com>
1218
1219         * java/text/NumberFormat.java: Fix spelling of setCurrency
1220         method.
1221
1222 2004-03-21  Anthony Green  <green@redhat.com>
1223
1224         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
1225         recursion when searching for the system ClassLoader.
1226
1227 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
1228
1229         * java/net/ServerSocket.java
1230         (accept): Close the socket when error occured.
1231
1232 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
1233
1234         * java/net/URI.java (parseURI): Added unquoting.
1235         (unquote): New method.
1236         (quoteAuthority): Implemented.
1237         (quote(String,String)): New method.
1238         (quotePath): Implemented.
1239         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
1240         (getSchemeSpecificPart): Removed FIXME comment.
1241         (getRawAuthority): Return new rawAuthority field.
1242         (getAuthority): Removed FIXME comment.
1243         (getRawUserInfo): Return new rawUserInfo field.
1244         (getUserInfo): Removed FIXME comment.
1245         (getRawPath): Return new rawPath field.
1246         (getPath): Removed FIXME comment.
1247         (getRawQuery): Return new rawQuery field.
1248         (getQuery): Removed FIXME comment.
1249         (getRawFragment): Return new rawFragment field.
1250         (getFragment): Removed FIXME comment.
1251
1252 2004-03-20  Michael Koch  <konqueror@gmx.de>
1253
1254         * java/net/URLConnection.java: Merged copyright year with classpath.
1255
1256 2004-03-20  Norbert Frese  <postfach@nfrese.net>
1257
1258         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
1259         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
1260         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
1261         rmi-message.
1262         (getObjectInputStream): Return object reference, throw IOException if null.
1263         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
1264         (getObjectOutputStream): Return object reference, throw IOException if null.
1265         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
1266         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
1267         (UnicastConnectionManager): Throw RemoteException if port is not available.
1268         (getInstance): Throw RemoteException.
1269         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
1270         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
1271         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
1272         Collect Exceptions which are returned by a rmi-call and fix void returns.
1273         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
1274         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
1275         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
1276         (dispatch): Answer ping messages which are sent by other java implementions.
1277         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
1278         for every rmi-message and fix void return problems.
1279         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
1280         (UnicastServerRef): Throw RemoteException.
1281         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
1282         In some situations it is necessary to export a subclass of the class which has the _Stub.
1283         For instance when the class with has the _Stub is abstract.
1284         (findStubSkelClass): New method which looks for the class which has the _Stub.
1285         (getClientHost): Implementated.
1286         * gcc/libjava/java/rmi/server/RemoteServer.java
1287         (getClientHost): Implementated.
1288         * gcc/libjava/Makefile.am (rmi_java_source_files):
1289         Added gnu/java/rmi/server/RMIIncomingThread.java.
1290         * Makefile.in: Regenerated.
1291
1292 2004-03-20  Michael Koch  <konqueror@gmx.de>
1293
1294         * java/net/InetAddress.java
1295         (getLocalHostname): Added javadoc.
1296
1297 2004-03-19  Per Bothner  <per@bothner.com>
1298
1299         * configure.in: FILE variable  overrides FLATFORM when linking
1300         natFileChannelXXX.cc.
1301
1302         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
1303         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
1304
1305 2004-03-19  Per Bothner  <per@bothner.com>
1306
1307         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
1308         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
1309         * Makefile.am:  Update accordingly.
1310         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
1311         as aliases for UnicodeLittle and UnicodeBig.
1312
1313 2004-03-20  Mark Wielaard  <mark@klomp.org>
1314
1315         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1316         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
1317         Don't access ws when it is null.
1318         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
1319         Likewise.
1320
1321 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
1322
1323         * java/lang/ThreadGroup.java (list): Changed print to println.
1324
1325 2004-03-19  Mark Wielaard  <mark@klomp.org>
1326
1327         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
1328         happy.
1329
1330 2004-02-10  Randolph Chung  <tausq@debian.org>
1331  
1332         * configure.in: Build java for hppa target.
1333         * configure: Regenerate.
1334         * libjava/configure.host (hppa-*): Add target.
1335         * libjava/sysdeps/pa/lock.h: New file.
1336
1337 2004-03-19  Mark Wielaard  <mark@klomp.org>
1338
1339         Reported by Stephen Crawley
1340         * java/io/FilePermission.java (implies): Use String.length() -1 to
1341         access last char of String.
1342
1343 2004-03-19  Michael Koch  <konqueror@gmx.de>
1344
1345         * java/awt/image/AffineTransformOp.java
1346         (AffineTransformOp): Made public.
1347         * javax/swing/JComponent.java
1348         (listenerList): Made protected.
1349         (accessibleContext): Likewise.
1350         * javax/swing/JList.java
1351         (valueChanged): Dont use internal fields of ListSelectionEvent.
1352         * javax/swing/JViewport.java
1353         (getView): Dont use internal fields of Component.
1354         (addImpl): Likewise.
1355         * javax/swing/Timer.java
1356         (isRunning): Made public.
1357         (start): Likewise.
1358         (stop): Likewise.
1359         * javax/swing/UIDefaults.java
1360         (getInt): Made public.
1361         * javax/swing/plaf/basic/BasicListUI.java
1362         (mousePressed): Dont use internal fields of MouseEvent.
1363         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
1364         * javax/swing/plaf/basic/BasicScrollBarUI.java
1365         (arrowIcon): Made static.
1366         * javax/swing/plaf/basic/BasicViewportUI.java
1367         (stateChanged): Dont use internal field on ChangeEvent.
1368         * javax/swing/text/JTextComponent.java
1369         (getUI): Call UIManager.getUI().
1370         (updateUI): Use getUI().
1371
1372 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1373
1374         * verify.cc: Undef PC.
1375
1376 2004-03-18  Michael Koch  <konqueror@gmx.de>
1377
1378         * java/nio/channels/spi/AbstractSelectableChannel.java
1379         (keys): Initialize at declaration.
1380         (locate): keys cant be null.
1381         (add): Removed.
1382         (addSelectionKey): New method.
1383         (removeSelectionKey): New method.
1384         * java/nio/channels/spi/AbstractSelectionKey.java
1385         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
1386         * java/nio/channels/spi/AbstractSelector.java
1387         (provider): Javadoc added.
1388         (cancelledKeys): Javadoc added.
1389         (cancelKey): Javadoc added, add key to cancelledKeys.
1390         (deregister): Implemented.
1391
1392 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1393
1394         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
1395         MAP_FAILED to void *.
1396
1397 2004-03-12  Graydon Hoare  <graydon@redhat.com>
1398
1399         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
1400         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
1401         * javax/swing/JList.java (ListListener): Revalidate on changes.
1402         * javax/swing/JScrollPane.java: Reimplement.
1403         * javax/swing/JViewport.java: Reimplement.
1404         * javax/swing/ScrollPaneLayout.java: Reimplement.
1405         * javax/swing/ViewportLayout.java: Tidy up.
1406         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
1407         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
1408         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
1409         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
1410         backing store only.
1411
1412 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
1413
1414         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1415         (window_wm_protocols_filter): New function.
1416         (window_focus_in_cb): Remove function.
1417         (window_focus_out_cb): Likewise.
1418         (window_focus_or_active_state_change_cb): New function.
1419         (create): Add filter that removes WM_TAKE_FOCUS client messages.
1420         (connectSignals): Don't attach handlers to focus-in-event or
1421         focus-out-event signals.  Handle notify signal.
1422
1423 2004-03-11  David Jee  <djee@redhat.com>
1424
1425         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
1426         (gtkSetLabel): New native method declaration.
1427         (setLabel): Use gtkSetLabel.
1428         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1429         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
1430
1431 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
1432
1433         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
1434         black when color argument is null.
1435
1436 2004-03-10  Kim Ho  <kho@redhat.com>
1437
1438         * java/awt/Container.java: Remove check
1439         for drag events.
1440
1441 2004-03-10  Kim Ho  <kho@redhat.com>
1442
1443         * java/awt/Container.java: (visitChild):
1444         Remove candidate clip. Use the component
1445         clip to intersect.
1446         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
1447         (handleEvent): Use the PaintEvent's clip.
1448
1449 2004-03-10  Kim Ho  <kho@redhat.com>
1450
1451         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
1452         (handleEvent): Don't set the clip for the
1453         Graphics object.
1454
1455 2004-03-09  Graydon Hoare  <graydon@redhat.com>
1456
1457         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
1458         Fix double <-> fixed macros, reset font transform.
1459         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1460         Likewise.
1461
1462 2004-03-09  Kim Ho  <kho@redhat.com>
1463
1464         * java/awt/Container.java: (visitChild): Move
1465         the x and y coordinate of the component rectangle
1466         to correct position.
1467         (handleEvent): Forward drag events to the pressed
1468         component.
1469         * javax/swing/plaf/basic/BasicScrollBarUI.java:
1470         Fix comments.
1471         (ArrowButtonListener::mousePressed): Stop the
1472         existing timer.
1473         (mouseDragged): Implement.
1474         (TrackListener::mousePressed): Only react if
1475         the press doesn't occur on the thumb, otherwise
1476         just set the offset.
1477         (TrackListener::mouseReleased): Unset the isAdjusting
1478         value.
1479         (createIncreaseIcon): Switch icon.
1480         (createDecreaseIcon): Switch icon.
1481         (calculatePreferredSize): Use width.
1482         (getThumbBounds): Use the top as the lower value.
1483         (layoutVScrollBar): Switch the button locations.
1484         (paintIncreaseHighlight): Paint correct side of thumb.
1485         (paintDecreaseHighlight): ditto.
1486         (valueForYPosition): Use top as the lower value.
1487         * javax/swing/plaf/basic/BasicSliderUI.java:
1488         Fix comments.
1489         (mouseDragged): Implement.
1490         (mousePressed): Only react when the thumb isn't
1491         pressed, otherwise just set offset.
1492         (mouseReleased): Handle a release of the thumb.
1493         (scrollDueToClickInTrack): Stop the timer first.
1494         * javax/swing/JProgressBar.java:
1495         (setString): Fix change condition.
1496         * javax/swing/JSeparator.java:
1497         Remove println's.
1498
1499 2004-03-08  David Jee  <djee@redhat.com>
1500
1501         * java/awt/image/AffineTransformOp.java:
1502         (filter): Use Graphics2D interface instead of directly using the
1503         GdkGraphics2D peer.
1504
1505 2004-03-05  David Jee  <djee@redhat.com>
1506
1507         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
1508         (handleEvent): Action events are generated upon MOUSE_RELEASED.
1509         * java/awt/Container.java
1510         (acquireComponentForMouseEvent): Fixed.
1511         (handleEvent): Fixed.
1512         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1513         (state_to_awt_mods_with_button_states): New method.
1514         (pre_event_handler): Fixed mouse event generation.
1515
1516 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
1517
1518         gnu/java/awt/peer/gtk/GdkGraphics2D.java
1519         (GdkGraphics2D (BufferedImage)): Initialize
1520         pixmap associated with specified BufferedImage.
1521         (setPaint): Changed implementation of Texture
1522         Paint to use AffineTransformOp.
1523         * java/awt/image/AffineTransformOp.java
1524         (createCompatibleDestRaster): Throw RasterFormatException 
1525         if resulting width or height of raster is 0.
1526
1527 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
1528
1529         * java/awt/image/AffineTransformOp.java:
1530         Removed unnecessary field interpolationType.
1531         Formatted some of the lines to be consistent with 
1532         the GNU style.
1533         (AffineTransformOp): Create new RenderingHints 
1534         containing specified interpolation type.
1535         (createCompatibleDestImage): Implemented.
1536         (createCompatibleDestRaster): Implemented.
1537         (filter): Implemented.
1538         (getBounds2D(BufferedImage)): Implemented.
1539         (getBounds2D(Raster)): Implemented.
1540         (getInterpolationType): Get interpolation value from 
1541         rendering hints.
1542
1543 2004-03-04  David Jee  <djee@redhat.com>
1544
1545         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
1546         (setFont): Check if child peers are null.
1547
1548 2004-03-04  Graydon Hoare  <graydon@redhat.com>
1549
1550         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
1551         .libs in -L option.
1552         (libjava_arguments): Add new libraries to argument list.
1553
1554 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
1555
1556         * Makefile.am: Added java/awt/image/AffineTransformOp.java
1557         * Makefile.in: Re-generated.
1558         * java/awt/image/AffineTransformOp.java: New Class.
1559
1560 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
1561
1562         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1563         (setPaint): Interpret correctly TexturePaint's
1564         anchor rectangle.
1565         (drawImage): Fixed scale factors of the affine
1566         transform.
1567
1568 2004-02-27  David Jee  <djee@redhat.com>
1569
1570         * gnu/java/awt/peer/gtk/GdkGraphics.java
1571         (GdkGraphics(Component)): Inherit font from component.
1572         (drawString): Use font style.
1573         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
1574         (gtkSetFont): New native method declaration.
1575         (setFont): New method.
1576         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1577         (gtkSetFont): New native method declaration.
1578         (setFont): Call new native method gtkSetFont.
1579         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
1580         (setFont): For all child components who do not their fonts set,
1581         set their peers' fonts with this container's font.
1582         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
1583         Move all native method declarations to the top for readability.
1584         (gtkSetFont): New native method declaration.
1585         (setFont): New method.
1586         * java/awt/Component.java
1587         (setFont): Invalidate after setting the font.
1588         * java/awt/Container.java
1589         (invalidateTree): New method.
1590         (setFont): Invalidate the container tree after setting the font.
1591         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1592         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
1593         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1594         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
1595         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1596         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
1597         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1598         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
1599
1600 2004-02-27  Olga Rodimina <rodimina@redhat.com>
1601
1602         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1603         (updateBufferedImage): New helper function.
1604         Updates BufferedImage in memory if it was changed.
1605         (draw): changed to update BufferedImage in memory after
1606         this drawing operation
1607         (fill): Ditto.
1608         (draw3DRect): Ditto.
1609         (fill3DRect): Ditto.
1610         (clearRect): Ditto.
1611         (drawRaster): Ditto.
1612         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
1613         no affine transformation.
1614         (drawGlyphVector): Ditto.
1615
1616 2004-02-26  Olga Rodimina <rodimina@redhat.com>
1617
1618         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1619         (isBufferedImageGraphics): New Helper function. 
1620         Returns true if this graphics2d can be used to draw 
1621         into buffered image and false otherwise.
1622         (updateImagePixels): New Helper function. 
1623         Updates pixels in the BufferedImage.
1624         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1625         (getImagePixels): New function. Returns pixels
1626         of the buffered image associated with 
1627         this Graphics2D.
1628
1629 2004-02-26  David Jee  <djee@redhat.com>
1630
1631         * java/awt/BorderLayout.java
1632         (layoutContainer): Fix width and height calculations to ensure
1633         that they're non-negative.
1634         * java/awt/Component.java
1635         (setBackground): If c is null, inherit from closest ancestor whose
1636         background color is set.
1637
1638 2004-02-26  Kim Ho  <kho@redhat.com>
1639
1640         * Makefile.am: Add new files.
1641         * Makefile.in: Re-generate.
1642         * javax/swing/JProgressBar.java: 
1643         (JProgressBar(int, int int)): Throw
1644         IllegalArgumentException if orientation is
1645         invalid.
1646         (JProgressBar(BoundedRangeModel)): Create
1647         ChangeListener and register it. UpdateUI.
1648         (getChangeListeners): Implement.
1649         (setModel): Reset ChangeListener.
1650         * javax/swing/JScrollBar.java: Implement.
1651         * javax/swing/JSeparator.java: Implement.
1652         * javax/swing/JSlider.java:
1653         (JSlider(int, int, int, int)): Throw 
1654         IllegalArgumentException if orientation
1655         is invalid.
1656         (getChangeListeners): Fix method name.
1657         * javax/swing/SwingUtilities.java:
1658         (layoutCompoundLabel): If there is no text,
1659         set the text rectangle dimensions to 0.
1660         * javax/swing/plaf/basic/BasicButtonUI.java:
1661         (paint): If there is no text, don't paint it.
1662         * javax/swing/plaf/basic/BasicScrollBarUI.java:
1663         Implement.
1664         * javax/swing/plaf/basic/BasicSeparatorUI.java:
1665         Implement.
1666         * javax/swing/plaf/basic/BasicSliderUI.java: 
1667         (propertyChange): If the model changes, change
1668         the listeners accordingly.
1669
1670 2004-02-25  Graydon Hoare  <graydon@redhat.com>
1671
1672         * javax/swing/AbstractButton.java: Add "final" qualifiers.
1673         * javax/swing/JList.java: Reimplement.
1674         * javax/swing/DefaultListSelectionModel.java: Reimplement.
1675         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
1676         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
1677         * javax/swing/ListModel.java: Javadoc.
1678         * javax/swing/ListSelectionModel.java: Add missing methods.
1679         * javax/swing/AbstractListModel.java: Javadoc and corrections.
1680         * javax/swing/DefaultListModel.java: Javadoc and corrections.
1681         * javax/swing/ListModel.java: Javadoc and corrections.
1682         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
1683
1684 2004-02-25  David Jee  <djee@redhat.com>
1685
1686         * gnu/java/awt/peer/gtk/GtkFontPeer.java
1687         (GtkFontPeer): Change default size to 12.
1688         * gnu/java/awt/peer/gtk/GtkToolkit.java
1689         (getFontPeer): Change default size to 12.
1690         (getClasspathFontPeer): Likewise. Set default name to "Default".
1691         * java/awt/Font.java
1692         (Font(Map)): Call Font(String,Map).
1693         (Font(String,Map)): If attrs is null, initialize it as an empty
1694         HashMap, which will ensure that the Font will get default attributes.
1695
1696 2004-02-25  David Jee  <djee@redhat.com>
1697
1698         * gnu/java/awt/peer/gtk/GtkFontPeer.java
1699         (GtkFontPeer(String,int)): Call the new constructor with size 1.
1700         (GtkFontPeer(String,int,int)): New constructor with size attribute.
1701         * gnu/java/awt/peer/gtk/GtkToolkit.java
1702         (getFontPeer(String,int)): Call the new overload method with size 1.
1703         (getFontPeer(String,int,int)): New method. Overloaded with size
1704         attribute.
1705         (getClasspathFontPeer): Set the size of the font.
1706
1707 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
1708
1709         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1710         (bimage): New field.
1711         (GdkGraphics2D): New Constructor. Constructs Graphics
1712         object that can be used to draw into the Buffered Image.
1713         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
1714         (GdkGraphicsEnvironment): Fixed to include public 
1715         keyword.
1716         (createGraphics): Implemented.
1717         * gnu/java/awt/peer/gtk/GtkToolkit.java
1718         (getLocalGraphicsEnvironment): Implemented.
1719         * java/awt/GraphicsEnvironment.java:
1720         (getLocalGraphicsEnvironment): Implemented.
1721         * java/awt/image/BufferedImage.java:
1722         (createGraphics): Implemented.
1723                 
1724 2004-02-24  David Jee  <djee@redhat.com>
1725
1726         * java/awt/Component.java
1727         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
1728         * java/awt/Container.java
1729         (addNotifyContainerChildren): Fix event enabling.
1730
1731 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
1732
1733         * Makefile.am: Added 
1734         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
1735         * Makefile.in: Re-generated.
1736         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
1737         New Class. 
1738         
1739 2004-02-19  Kim Ho  <kho@redhat.com>
1740
1741         * Makefile.am: Add BasicProgressBarUI
1742         * Makefile.in: Regenerate.
1743         * javax/swing/JProgressBar.java: 
1744         Re-implement.
1745         * javax/swing/plaf/basic/BasicLookAndFeel.java
1746         Add constants for JProgressBar.
1747         * javax/swing/plaf/basic/BasicProgressBarUI.java
1748         Implement.
1749         * javax/swing/plaf/basic/BasicSliderUI.java
1750         Change comments.
1751         (calculateGeometry): New method
1752         (paint): Remove unnecessary size calculations.
1753
1754 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
1755
1756         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1757         (drawRaster): Fixed small error that caused
1758         imageToUser transformation to be set incorrectly.
1759         (toString): Implemented.
1760
1761 2004-02-18  David Jee  <djee@redhat.com>
1762
1763         * java/awt/CardLayout.java
1764         (addLayoutComponent): Show the first component added as the default.
1765         (removeLayoutComponent): After removing, show the next component.
1766         (gotoComponent): If there is only one component, show it and return.
1767
1768 2004-02-18  Kim Ho  <kho@redhat.com>
1769
1770         * javax/swing/JSlider.java: Re-order
1771         modifiers.
1772         * javax/swing/JLabel.java: Re-order
1773         modifiers.
1774         * javax/swing/JComponent.java: 
1775         (addPropertyChangeListener):
1776         Implement.
1777         (removePropertyChangeListener):
1778         ditto.
1779         (firePropertyChangeEvent):
1780         ditto.
1781
1782 2004-02-17  David Jee  <djee@redhat.com>
1783
1784         * java/awt/Component.java
1785         (show): Dispatch ComponentEvent via system event queue.
1786         (hide): Likewise.
1787         (move): Likewise.
1788         (resize): Likewise.
1789         (reshape): Likewise.
1790         * java/awt/Window.java
1791         (setBoundsCallback): Likewise.
1792
1793 2004-02-17  David Jee  <djee@redhat.com>
1794
1795         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1796         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
1797         Use gtk_widget_set_size_request() instead of the deprecated
1798         gtk_widget_set_usize().
1799
1800 2004-02-17  Kim Ho  <kho@redhat.com>
1801
1802         * javax/swing/JSlider.java: Fix comments and
1803         make property strings constants.
1804         (createStandardLabels): Use the labels
1805         preferred size as bounds.
1806         * javax/swing/plaf/basic/BasicSliderUI.java
1807         Fix comments.
1808         (ScrollHandler::actionPerformed): Don't
1809         calculate the timer stop value. Let the
1810         MouseListeners find the stop location.
1811         (getPreferredHorizontalSize): Re-implement.
1812         (getPreferredVerticalSize): ditto.
1813         (getMinimumHorizontalSize): ditto.
1814         (getMinimumVerticalSize): ditto.
1815         (getPreferredSize): ditto.
1816         (getMinimumSize): ditto.
1817         (getMaximumSize): ditto.
1818         (paintTicks): Use doubles to find the
1819         tick location.
1820         (paintHorizontalLabel):  Use preferredSize
1821         as initial width and height.
1822         (paintVerticalLabel): ditto.
1823
1824 2004-02-17  Kim Ho  <kho@redhat.com>
1825
1826         * javax/swing/JLabel.java: Changed 
1827         property strings to constants.
1828         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
1829         New property.
1830         (setText): Change mnemonic index if
1831         text is too short.
1832         (setDisplayedMnemonicIndex): Fire property
1833         change event.
1834         (getDisplayedMnemonicIndex): Remove check
1835         against short text.
1836
1837 2004-02-17 Olga Rodimina <rodimina@redhat.com>
1838
1839         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
1840         (drawImage(img,xform,obs)): Invert xform before
1841         passing the xform to cairo.
1842         (drawImage(img,x,y,bgcolor,obs)): Implemented.
1843         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
1844         implemented.
1845         (drawImage (img,x,y,w,h,obs)): Implemented.
1846         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
1847         bgcolor,obs)): Partly implemented.
1848         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
1849         Implemented.
1850         * java/awt/image/BufferedImage.java:
1851         (copyData): if dest is null, create raster with same
1852         dimensions as the current image.
1853
1854 2004-02-16  Graydon Hoare  <graydon@redhat.com>
1855
1856         * javax/swing/plaf/basic/BasicLabelUI.java 
1857         (getPreferredSize): Use layoutCL.
1858         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
1859         (getPreferredButtonSize): Start with empty view rect, layout using
1860         component's preferred alignment.
1861         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
1862         List defaults.
1863
1864 2004-02-16  David Jee  <djee@redhat.com>
1865
1866         * java/awt/Component.java
1867         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
1868         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
1869         (move): Erase old bounds and repaint new bounds. Dispatch
1870         COMPONENT_MOVED ComponentEvent.
1871         (resize): Erase old bounds and repaint new bounds. Dispatch
1872         COMPONENT_RESIZED ComponentEvent.
1873         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
1874         ComponentEvents.
1875         * java/awt/Window.java
1876         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
1877         ComponentEvents.
1878
1879 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
1880
1881         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
1882         (setRenderingHint): Added implementation of 
1883         Interpolation rendering hints.
1884         (setRenderingHints): Ditto.
1885         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1886         (drawPixels): fixed to allow user to choose type 
1887         of filtering that should be used when displaying images.
1888         (cairoSurfaceSetFilter): New method. Sets filter type for 
1889         interpolation of pixel values.
1890
1891 2004-02-16  David Jee  <djee@redhat.com>
1892
1893         * java/awt/GridBagLayout.java
1894         (calcCellSizes): Rows or columns with zero sizes should still be
1895         considered for extra space distribution.
1896
1897 2004-02-16  Kim Ho  <kho@redhat.com>
1898
1899         * javax/swing/JLabel.java: Re-implement.
1900         * javax/swing/plaf/basic/BasicLabelUI.java
1901         Re-implement.
1902         * javax/swing/plaf/basic/BasicLookAndFeel.java:
1903         Added constant.
1904
1905 2004-02-16  Kim Ho  <kho@redhat.com>
1906
1907         * javax/swing/JSlider.java: Fix indentation and comments.
1908         (setModel): Remove null check to conform with Sun's.
1909         (setOrientation): Throw exception if not
1910         HORIZONTAL or VERTICAL.
1911         (getInverted): Use private variable instead of 
1912         ComponentOrientation.
1913         (setInverted): ditto.
1914         * javax/swing/plaf/basic/BasicSliderUI.java:
1915         Fix indentation and comments.
1916         (propertyChange): Remove check for inverted slider, handle
1917         in main paint.
1918         (getMinimumSize): Return preferred size.
1919         (getMaximumSize): ditto.
1920         (calculateFocusRect): Don't relocate rectangle.
1921         (drawInverted): Return XOR of the slider's inversion and 
1922         the component's orientation.
1923         (paint): Update leftToRightCache
1924
1925 2004-02-13  David Jee  <djee@redhat.com>
1926
1927         * java/awt/GridBagLayout.java
1928         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
1929         code to helper methods.
1930         (sortBySpan): New helper method.
1931         (distributeSizeAndWeight): Likewise.
1932         (calcCellWeights): Likewise.
1933         (calcCellSizes): Add comments.
1934
1935 2004-02-13  David Jee  <djee@redhat.com>
1936
1937         * java/awt/Component.java
1938         (show): Only do something if component is invisible at the moment.
1939         (hide): Only do something if component is visible at the moment.
1940         (reshape): If lightweight, erase old bounds and repaint new bounds.
1941
1942 2004-02-13  Kim Ho  <kho@redhat.com>
1943
1944         * Makefile.am: Updated for new file.
1945         * Makefile.in: Regenerated.
1946         * javax/swing/JSlider.java: Reimplement.
1947         * javax/swing/SwingUtilities.java
1948         (layoutCompoundLabel): Use icon height
1949         instead of width.
1950         (paintComponent): Implement.
1951         * javax/swing/plaf/basic/BasicLookAndFeel.java:
1952         Add JSlider defaults.
1953         * javax/swing/plaf/basic/BasicSliderUI.java:
1954         Implement. New file.
1955
1956 2004-03-17  Michael Koch  <konqueror@gmx.de>
1957
1958         * gnu/java/net/PlainDatagramSocketImpl.java
1959         (RECEIVE_LOCK): New member field.
1960         (SEND_LOCK): New member field.
1961         (send0): New method.
1962         (send): Synchronize on SEND_LOCK.
1963         (receive0): New method.
1964         (receive): Synchronize on RECEIVE_LOCK.
1965         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
1966         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1967         gnu/java/net/natPlainDatagramSocketImplWin32.cc
1968         (send0): Renamed from send.
1969         (receive0): Renamed from receive.
1970 2004-03-17  Michael Koch  <konqueror@gmx.de>
1971
1972         * gnu/java/net/natPlainSocketImplPosix.cc
1973         (write): Just call write(jbyteArray, offset, len).
1974         (read): Just call read(jbyteArray, offset, len).
1975
1976 2004-03-16  Michael Koch  <konqueror@gmx.de>
1977
1978         * javax/swing/JTabbedPane.java
1979         (serialVersionUID): New field.
1980
1981 2004-03-16  Norbert Frese  <postfach@nfrese.net>
1982
1983         * java/net/InetAddress.java
1984         (getByName): Handle hostname == "" case.
1985
1986 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
1987
1988         Reported by: Adam Heath <doogie@debian.org>
1989         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
1990         class loader.
1991
1992 2004-03-15  Michael Koch  <konqueror@gmx.de>
1993
1994         * java/util/Locale.java: Reverting my last patch
1995         and add a comment why the original version was okay.
1996
1997 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
1998
1999         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
2000         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
2001         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
2002         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
2003
2004 2004-03-12  Michael Koch  <konqueror@gmx.de>
2005
2006         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
2007
2008 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
2009
2010         * java/net/URI.java (toURL): Implemented.
2011
2012 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
2013
2014         * java/net/URI.java
2015         (URI_REGEXP) updated to contain scheme specific part.
2016         (SCHEME_SPEC_PART_GROUP) new constant.
2017         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
2018         updated to make room for SCHEME_SPEC_PART_GROUP.
2019         (parseURI) parse scheme specific part.
2020         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
2021         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
2022         getQuery, getFragment) implemented.
2023
2024 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
2025
2026         * libraries/javalib/java/net/URI.java
2027         partially implemented using java.util.regex.
2028         (URI_REGEXP) new constant. Used to parse URIs.
2029         (SCHEME_GROUP) new constant representing index of scheme group
2030         in parsed URI.
2031         (AUTHORITY_GROUP) new constant representing index of authority
2032         group in parsed URI.
2033         (PATH_GROUP) new constant representing index of path group in
2034         parsed URI.
2035         (QUERY_GROUP) new constant representing index of query group in
2036         parsed URI.
2037         (FRAGMENT_GROUP) new constant representing index of fragment
2038         group in parsed URI.
2039         (getURIGroup) new static utility method.
2040         (parseURI) implemented.
2041         (quote) stub for new static utility method.
2042         (quoteAuthority) stub for new static utility method.
2043         (quoteHost) stub for new static utility method.
2044         (quotePath) stub for new static utility method.
2045         (quoteUserInfo) stub for new static utility method.
2046         (URI) implemented.
2047         (create) don't throw URISyntaxException. Implemented.
2048         (toString) implemented.
2049
2050 2004-03-12  Michael Koch  <konqueror@gmx.de>
2051
2052         * java/net/HttpURLConnection.java
2053         (getResponseCode): Fix another typo in javadoc.
2054
2055 2004-03-11  Michael Koch  <konqueror@gmx.de>
2056
2057         * java/util/logging/Level.java
2058         (parse): Use String.equals() instead of ==.
2059
2060 2004-03-11  Michael Koch  <konqueror@gmx.de>
2061
2062         * gnu/java/net/protocol/jar/Connection.java
2063         (getContentLength): New method.
2064
2065 2004-03-11  Michael Koch  <konqueror@gmx.de>
2066
2067         * gnu/java/net/PlainSocketImpl.java:
2068         Reformated to merge better with classpath's version.
2069
2070 2004-03-11  Michael Koch  <konqueror@gmx.de>
2071
2072         * java/util/Locale.java
2073         (getISO3Language): Use String.equals() instead of ==.
2074         (getISO3Country): Likewise.
2075
2076 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
2077
2078         * java/text/AttributedString.java
2079         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
2080         Use HashMap instead of Hashtable since value can be null, and
2081         you can not store a null value in a Hashtable.
2082
2083 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
2084
2085         * java/text/AttributedStringIterator.java
2086         (getAllAttributesKey): Return only keys concerned
2087         by the current iterator.
2088         (getAttributes): Use strict inequality for
2089         end_index. 
2090
2091 2004-03-11  Michael Koch  <konqueror@gmx.de>
2092
2093         * java/net/HttpURLConnection.java:
2094         Fixed typo in javadoc.
2095
2096 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
2097
2098         * java/io/BufferedInputStream.java (marktarget): New field for max
2099         mark limit.
2100         (CHUNKSIZE): New constant for incremental mark buffer allocation.
2101         (mark): Use new fields.
2102         (read): Likewise.
2103         (read(byte[],int,int)): Likewise.
2104         (skip): Likewise.
2105         (refill): Likewise.
2106
2107 2004-03-11  Mark Wielaard  <mark@klomp.org>
2108
2109         * java/beans/BeanDescriptor.java (BeanDescriptor):
2110         Set the FeatureDescriptor programmatic name.
2111
2112 2004-03-11  Michael Koch  <konqueror@gmx.de>
2113
2114         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
2115         This file was was just copied form java/io/natFileDescriptorEcos.cc
2116         and never changed to compile correctly.
2117
2118 2004-03-11  Michael Koch  <konqueror@gmx.de>
2119
2120         * gnu/java/nio/PipeImpl.java
2121         (SourceChannelImpl): Made final.
2122         (read): Implemented.
2123         (SinkChannelImpl): Made final.
2124         (write): Implemented.
2125
2126 2004-03-11  Michael Koch  <konqueror@gmx.de>
2127
2128         * gnu/java/net/PlainDatagramSocketImpl.java:
2129         Reformated to match classpath's version more.
2130
2131 2004-03-11  Michael Koch  <konqueror@gmx.de>
2132
2133         * gnu/java/awt/peer/ClasspathFontPeer.java:
2134         Fixed javadoc to be correct xhtml.
2135         * gnu/java/awt/peer/gtk/GtkArgList.java
2136         (add): Use Boolean.valueOf() instead of new Boolean().
2137
2138 2004-03-09  Michael Koch  <konqueror@gmx.de>
2139
2140         * java/lang/Thread.java
2141         (runnable): Moved around.
2142         (daemon): Renamed from daemon_flag.
2143         (contextClassLoader): Renamed from context_class_loader.
2144         (Thread): Reordered constructors.
2145         (activeCount): Use group directly.
2146         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
2147         (holdsLock): Reworked javadoc.
2148         (setDaemon): Reworked.
2149         * java/lang/natThread.cc
2150         (destroy): Removed.
2151
2152 2004-03-08  Anthony Green  <green@redhat.com>
2153
2154         * Makefile.am: Build property resource files into libgcj.
2155         * Makefile.in: Rebuilt.
2156         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
2157         java/util/regex/PatternSyntaxException.java,
2158         gnu/regexp/CharIndexed.java,
2159         gnu/regexp/CharIndexedCharArray.java,
2160         gnu/regexp/CharIndexedInputStream.java,
2161         gnu/regexp/CharIndexedReader.java,
2162         gnu/regexp/CharIndexedString.java,
2163         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
2164         gnu/regexp/REException.java,
2165         gnu/regexp/REFilterInputStream.java,
2166         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
2167         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
2168         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
2169         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
2170         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
2171         gnu/regexp/RETokenLookAhead.java,
2172         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
2173         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
2174         gnu/regexp/RETokenStart.java,
2175         gnu/regexp/RETokenWordBoundary.java,
2176         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
2177
2178 2004-03-03  Per Bothner  <per@bothner.com>
2179
2180         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
2181         Optimize when argument is a FileChannelImpl.
2182         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
2183         New native methods.
2184         * java/nio/channels/natChannels.cc:  New file for new native methods.
2185         * Makefile.am:  Update accordingly.
2186
2187 2004-03-02  Jan Hubicka  <jh@suse.cz>
2188
2189         * configure.host: Pass -fno-omit-frame-pointer for i386.
2190         * configure.in: Likewise.
2191         * configure: Regenerate.
2192
2193 2004-03-01  Per Bothner  <per@bothner.com>
2194
2195         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
2196
2197 2004-02-29  Per Bothner  <per@bothner.com>
2198
2199         * java/nio/channels/FileChannelImpl.java:  Moved to package
2200         gnu/java/nio/channels, since we need to refer to it from java.io.
2201         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
2202         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
2203         from java/nio/channels.  Don't depend on FileDescriptor.
2204         (in, out, err):  New static fields.
2205         (mode):  New field.
2206         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
2207         from FileDescriptor.
2208         (by):  Removed MappedByteBuffer field.
2209         (map):  New working implementation.
2210         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
2211         some code "ported" from natFileDescriptoPosix.cc.
2212         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
2213         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
2214         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
2215         Remove native methods.
2216         * Makefile.am, configure.in:  Updated accordingly.
2217
2218         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
2219         (ch):  New FileChannelImpl field.  Update constructor to match.
2220         (releaseImpl):  Remove native method.  Instead ...
2221         (release):  Call unlock on channel.
2222         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
2223
2224         * java/io/natFileDescriptorEcos.cc:  Remove file.
2225         * java/io/natFileDescriptorPosix.cc:  Remove file.
2226         * java/io/natFileDescriptorWin32.cc:  Remove file.
2227         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
2228         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
2229         (<init>(FileChannelImpl)):  New package-private constructor.
2230         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
2231         (available, close, read, skip):  Implement using FileChannelImpl.
2232         (getFD):  Allocate FileDescriptor if needed.
2233         (getChannel):  Is now trivial.
2234         * java/io/FileOutputStream.java:  Corresponding changes.
2235         * java/io/RandomAccessFile.java:  Corresponding changes.
2236
2237         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
2238         unmapImpl):  New dummy methods, to be overridden by subclass.
2239         (finalize, isLoaded, load, force):  New methods.
2240         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
2241         Now works, at least for read mapping.
2242
2243         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
2244         streams using FileChannelImpl, not FileDescriptor.
2245         * java/lang/natWin32Process.cc (startProcess):  Likewise.
2246
2247 2004-02-28  Michael Koch  <konqueror@gmx.de>
2248
2249         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
2250         wrong code.
2251
2252 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
2253
2254         * java/io/ObjectInputStream.java
2255         (readClassDescriptor): Keep elements of the mapping non null.
2256         (checkTypeConsistency): New method.
2257         (readFields): Fixed main loop and base logic. Small reindentation.
2258         * java/io/ObjectStreamField.java
2259         (lookupField): New method to update the field reference.
2260         (checkFieldType): New method.
2261         * java/io/ObjectStreamClass.java
2262         (setClass, setFields): Call lookupField when building the field
2263         database. Check the real field type.
2264
2265 2004-02-28  Michael Koch  <konqueror@gmx.de>
2266
2267         * java/nio/ByteOrder.java
2268         (nativeOrder): Use equals() to compare strings.
2269
2270 2004-02-26  Michael Koch  <konqueror@gmx.de>
2271
2272         * gnu/java/nio/FileLockImpl.java
2273         (finalize): Made protected.
2274         * java/nio/channels/FileChannel.java
2275         (MapMode.READ_ONLY): Made final.
2276         (MapMode.READ_WRITE): Made final.
2277         (MapMode.PRIVATE): Made final.
2278         * java/nio/channels/SocketChannel.java
2279         (open): Simplified code.
2280         * java/nio/channels/spi/AbstractSelectableChannel.java
2281         (registered): Unused, removed.
2282         (keyFor): Check channel is open, only locate key
2283         and not add a new one.
2284         (register): Don't delete attachments.
2285
2286 2004-02-26  Michael Koch  <konqueror@gmx.de>
2287
2288         * gnu/java/awt/ComponentDataBlitOp.java
2289         (INSTANCE): Made final.
2290         * gnu/java/awt/image/ImageDecoder.java:
2291         Reworked imports.
2292         (cm): Unused, removed.
2293
2294 2004-02-26  Michael Koch  <konqueror@gmx.de>
2295
2296         * gnu/java/nio/DatagramChannelImpl.java
2297         (send): Check if target address is resolved.
2298
2299 2004-02-26  Michael Koch  <konqueror@gmx.de>
2300
2301         * Makefile.am: Generate and install headers for inner classes in
2302         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
2303         * Makefile.in: Regenerated.
2304
2305 2004-02-24  Anthony Green  <green@redhat.com>
2306
2307         * java/lang/StringBuffer.java: No need to NULL out remainder of
2308         buffer since ensureCapacity_unsynchronized will have done this for
2309         us.
2310
2311 2004-02-20  Michael Koch  <konqueror@gmx.de>
2312
2313         * gnu/java/net/protocol/jar/Handler.java
2314         (): Removed unneeded check for file != null. java.net.URL.getFile()
2315         returns an empty string but never null.
2316
2317 2004-02-20  Michael Koch  <konqueror@gmx.de>
2318
2319         * gnu/gcj/convert/Convert.java
2320         (main): Use equals() to compare strings.
2321
2322 2004-02-20  Michael Koch  <konqueror@gmx.de>
2323
2324         * javax/swing/AbstractButton.java: Made several constants final.
2325         (getRolloverSelectedIcon): Made public.
2326         (getSelectedIcon): Made public.
2327
2328 2004-02-16  Per Bothner  <per@bothner.com>
2329
2330         * java/nio/CharBufferImpl.java:  Inline super constructor.
2331         * java/nio/DoubleBufferImpl.java:  Likewise.
2332         * java/nio/FloatBufferImpl.java:  Likewise.
2333         * java/nio/IntBufferImpl.java:  Likewise.
2334         * java/nio/LongBufferImpl.java:  Likewise.
2335         * java/nio/ShortBufferImpl.java:  Likewise.
2336         * java/nio/CharBuffer.java:  Remove unused constructor.
2337         * java/nio/DoubleBuffer.java:  Likewise.
2338         * java/nio/FloatBuffer.java:  Likewise.
2339         * java/nio/IntBuffer.java:  Likewise.
2340         * java/nio/LongBuffer.java:  Likewise.
2341         * java/nio/ShortBuffer.java:  Likewise.
2342         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
2343         Fix buggy call to super constructor.
2344         * java/nio/DoubleViewBufferImpl.java:  Likewise.
2345         * java/nio/FloatViewBufferImpl.java:  Likewise.
2346         * java/nio/IntViewBufferImpl.java:  Likewise.
2347         * java/nio/LongViewBufferImpl.java:  Likewise.
2348         * java/nio/ShortViewBufferImpl.java:  Likewise.
2349         
2350         * java/nio/ByteBuffer.java (endian):  Make non-private so other
2351         java.nio classes can inherit it.
2352         (<init>):  Don't bother clearing array_offset.
2353         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
2354         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
2355         Remove redundant test.
2356
2357         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
2358         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
2359         Use new XxxViewBufferImpl constructors.
2360         * java/nio/MappedByteBufferImpl.java:  Likewise.
2361         * java/nio/DirectByteBufferImpl.java:  Likewise.
2362
2363         * java/nio/ByteBufferImpl.java:  Remove one constructor.
2364         Inline super in remaining constructor.
2365         * java/nio/ByteBuffer.java:  Remove unused constructor.
2366
2367         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
2368
2369         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
2370         * java/nio/DirectByteBufferImpl.java (owner):  New field.
2371         (offset):  Remove unused field.
2372         (<init>):  Modify one and add another constructor.  Change callers.
2373         (allocateDirect):  Removed - not used.
2374         (getImpl, putImpl):  Make static and pass address explicitly,
2375         to make them useful for MappedByteBufferImpl.
2376         (get, put):  Check for underflow.  Modify for new getImpl.
2377         (getImpl):  New native method where target is array.
2378         (get(byte[],int,int)):  Use the above.
2379         (adjustAddress):  New static native method.
2380         (slice, duplicate, asReadOnly):  New implementations.
2381         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
2382         adjustAddress):  New or updated native methods.
2383
2384 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2385
2386         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
2387         overflow of fieldmapping.
2388
2389 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
2390
2391         * javax/swing/undo/UndoManager.java: Re-written from scratch.
2392
2393 2004-02-14  Per Bothner  <per@bothner.com>
2394
2395         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
2396         Set closed before calling implCloseChannel, as in the spec.
2397
2398 2004-02-09  Graydon Hoare  <graydon@redhat.com>
2399
2400         * javax/swing/ToggleButtonModel.java: Remove dead class.
2401         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
2402         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
2403         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
2404         * Makefile.am: Update for new and removed files.
2405         * Makefile.in: Regenerate.
2406
2407         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
2408         * javax/swing/AbstractButton.java 
2409         (AbstractButton): Initialize fields correctly in ctor.
2410         * javax/swing/JCheckbox.java 
2411         (JCheckBox): Override painting flags.
2412         * javax/swing/DefaultButtonModel.java: Conform to sun.
2413         * javax/swing/JComponent.java (paint): Fill with background color
2414         if available.
2415         (processComponentKeyEvent)
2416         (processFocusEvent)
2417         (processKeyEvent)
2418         (processMouseMotionEvent): Remove event-consuming empty methods.
2419         (getUIClassID): Return "ComponentUI" not "JComponent"
2420         * javax/swing/JFrame.java: Remove some debugging chatter.
2421         (JFrame): Subscribe to window events.
2422         * javax/swing/JRadioButton.java 
2423         (JRadioButton): Override painting flags.
2424         * javax/swing/JRootPane.java 
2425         (JRootPane): Set background from UIDefaults.
2426         * javax/swing/JToggleButton.java 
2427         (ToggleButtonModel): New inner class.
2428         (JToggleButton): Override layout alighment.
2429         * javax/swing/SwingUtilities.java:
2430         (getLocalBounds): Return width and height, not x and y.
2431         (calculateInnerArea): Use local bounds, not bounds.
2432         (layoutCompoundLabel): Provide overridden form.
2433         (layoutCompoundLabel): Correct bugs.
2434         * javax/swing/UIDefaults.java: Correct comment.
2435         * javax/swing/plaf/basic/BasicButtonUI.java: 
2436         Move most logic into defaults, external listener.
2437         (paintIcon): Implement icon painting.
2438         (paint): Fix state painting to conform to changes in model.
2439         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
2440         Remove most dead/wrong methods.
2441         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
2442         * javax/swing/plaf/basic/BasicIconFactory.java:
2443         (DummyIcon): New class.
2444         (getMenuItemCheckIcon)
2445         (getMenuItemArrowIcon) 
2446         (getMenuArrowIcon)
2447         (getCheckBoxMenuItemIcon)
2448         (getRadioButtonMenuItemIcon)
2449         (createEmptyFrameIcon): Return DummyIcons, not null.
2450         (getCheckBoxIcon): Implement an icon that looks like sun's.
2451         (getRadioButtonIcon): Implement an icon that looks like sun's.
2452         * javax/swing/plaf/basic/BasicLookAndFeel.java 
2453         (initComponentDefaults): Fix impossible values, add some missing.
2454         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
2455         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
2456         Remove most dead/wrong methods.
2457         (icon): New field.
2458         (getDefaultIcon): New method.
2459         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2460         Remove most dead/wrong methods.
2461         * javax/swing/plaf/metal/MetalLookAndFeel.java
2462         (getDefaults): Return super.getDefaults(), not BasicDefaults.
2463         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2464         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
2465         Implement "clearing" as drawing, when on pixmap drawables.
2466
2467         * javax/swing/JButton.java (getUIClassID): 
2468         * javax/swing/JCheckBox.java (getUIClassID):
2469         * javax/swing/JEditorPane.java (getUIClassID):
2470         * javax/swing/JLabel.java (getUIClassID): 
2471         * javax/swing/JList.java (getUIClassID): 
2472         * javax/swing/JOptionPane.java (getUIClassID): 
2473         * javax/swing/JPanel.java (getUIClassID): 
2474         * javax/swing/JPasswordField.java (uiClassID): 
2475         * javax/swing/JRadioButton.java (getUIClassID): 
2476         * javax/swing/JRootPane.java (getUIClassID): 
2477         * javax/swing/JScrollPane.java (getUIClassID): 
2478         * javax/swing/JTabbedPane.java (getUIClassID): 
2479         * javax/swing/JToggleButton.java (getUIClassID): 
2480         * javax/swing/JTree.java (getUIClassID): 
2481         * javax/swing/JViewport.java (getUIClassID): 
2482         * javax/swing/text/JTextComponent.java (getUIClassID):
2483         Return "fooUI" not "Jfoo"
2484
2485 2004-02-11  Michael Koch  <konqueror@gmx.de>
2486
2487         * java/net/DatagramSocket.java
2488         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
2489         Boolean object.
2490         (setBroadcast): Likewise.
2491         * java/net/MulticastSocket.java
2492         (setLoopbackMode): Likewise.
2493         * java/net/ServerSocket.java
2494         (setReuseAddress): Likewise.
2495         * java/net/Socket.java
2496         (setTcpNoDelay): Likewise.
2497         (setSoLinger): Likewise.
2498         (setOOBInline): Likewise.
2499         (setKeepAlive): Likewise.
2500         (setReuseAddress): Likewise.
2501         * java/net/URLConnection.java
2502         (setContentHandler): Replace == with equals().
2503         * java/net/URLStreamHandler.java
2504         (hostSEquals): Fix checking host addresses.
2505         (toExternalForm): Dont check protocol for null. We know already its
2506         not null.
2507
2508 2004-02-10  David Jee  <djee@redhat.com>
2509
2510         * java/awt/BorderLayout.java
2511         (calcCompSize): Invisible components get zero dimensions.
2512         * java/awt/Button.java
2513         (setLabel): Set actionCommand.
2514         * java/awt/Component.java
2515         (show): Invalidate component and parent container.
2516         (hide): Likewise.
2517
2518 2004-02-10  David Jee  <djee@redhat.com>
2519
2520         * java/awt/GridBagLayout.java
2521         (GridBagLayout): New private field, internalcomptable.
2522         (lookupInternalConstraints): New method.
2523         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
2524         (GetLayoutInfo): Reimplement.
2525         (calcCellSizes): Ignore rows/columns with size 0.
2526
2527 2004-02-10  Michael Koch  <konqueror@gmx.de>
2528
2529         * gnu/java/awt/EmbeddedWindow.java
2530         (setHandle): Use java.awt.Component.getPeer() instead of
2531         java.awt.Component.peer directly.
2532
2533 2004-02-10  David Jee  <djee@redhat.com>
2534
2535         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
2536         (gtkSetLabel): New native method definition.
2537         (setLabel): Use gtkSetLabel.
2538         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2539         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
2540
2541 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
2542
2543         * include/powerpc-signal.h: Revert 2004-01-21 change.
2544         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
2545         from syscall for ppc32 versions.
2546
2547 2004-02-08  Per Bothner  <per@bothner.com>
2548
2549         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
2550         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
2551         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
2552         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
2553         Pass ByteOrder parameter to most methods, since the underlying
2554         ByteBuffer's order isn't always what we should use.
2555         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
2556         * java/nio/DirectByteBufferImpl.java:  Likewise.
2557         Use ByteBufferHelper methods.
2558         * java/nio/MappedByteBufferImpl.java:  Likewise.
2559         (compact):  Use shiftDown.
2560         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
2561         (get, put):  Use ByteBufferHelper.
2562         (compact):  Use new shiftDown method.
2563         (duplicate(boolean)):  New helper method.
2564         (duplicate, asReadOnlyBuffer):  Use it.
2565         (order):  Return endian field.
2566         * java/nio/DoubleViewBufferImpl.java:  Likewise.
2567         * java/nio/FloatViewBufferImpl.java:  Likewise.
2568         * java/nio/IntViewBufferImpl.java:  Likewise.
2569         * java/nio/LongViewBufferImpl.java:  Likewise.
2570         * java/nio/ShortViewBufferImpl.java:  Likewise.
2571         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
2572         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
2573         (compact):  Re-implement using shiftDown.
2574
2575 2004-02-08  Andreas Jaeger  <aj@suse.de>
2576
2577         * include/x86_64-signal.h: Fix typo.
2578
2579 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
2580
2581         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
2582         qualifier to _regs.
2583         (HANDLE_DIVIDE_OVERFLOW): Likewise.
2584
2585 2004-02-06  Michael Koch  <konqueror@gmx.de>
2586
2587         * java/io/ObjectInputStream.java
2588         (currentClassLoader): Reverted to old version of this method.
2589
2590 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
2591
2592         * java/io/ObjectInputStream.java: Made all calls
2593         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
2594         use cached info from ObjectStreamClass. (readClassDescriptor):
2595         Cache more information in ObjectStreamClass. (processResolution,
2596         readFields): Use cached info from ObjectStreamClass.
2597         (newObject): Throw exception instead of returning null for failure.
2598         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
2599         setCharField, setDoubleField, setFloatField, setIntField,
2600         setLongField, setShortField, setObjectField, readObjectParams):
2601         Removed. (dumpElement, dumpElementln): Removed dump flag condition
2602         check.
2603         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
2604         (setClass): Added call to cacheMethods() (findMethod): New method.
2605         (cacheMethods): New method. (ObjectStreamClass): Added call to
2606         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
2607         AccessController.doPrivileged to invoke setAccessible.
2608         (readObjectMethod, readResolveMethod, realClassIsSerializable,
2609         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
2610         New fields.
2611         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
2612         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
2613         isPrimitive): Made safe for cases where type == null.
2614         (setBooleanField, setByteField, setCharField, setShortField,
2615         setIntField, setLongField, setFloatField, setDoubleField,
2616         setObjectField): New methods.
2617
2618 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
2619
2620         * java/awt/Component.java (getFont): Return a default font
2621         instead of null.
2622
2623         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
2624         (Scrollbar (int, int, int, int, int)): Make default page
2625         increment 10.
2626         (setValues): Only call peer.setValues if one of the values has
2627         changed.
2628         (generateName): New method.
2629         (getUniqueLong): New method.
2630         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
2631         (range_scrollbar): Remove structure.
2632         (post_adjustment_event): Remove function.
2633         (post_change_event): Accept jobject argument.
2634         (create): Cast jints to gdoubles.  Round scrollbar values to the
2635         nearest integer.  Clamp min, max and value settings.
2636         (connectJObject): Connect hook to widget->window.
2637         (connectSignals): Remove range_scrollbar structure variables.
2638         Remove "move-slider" connection.  Pass global peer reference to
2639         "value-changed" callback.
2640         (setLineIncrement): Cast jint value to gdouble.
2641         (setPageIncrement): Likewise.
2642         (setValues): Likewise.  Clamp min, max and value settings.
2643
2644 2004-02-05  Michael Koch  <konqueror@gmx.de>
2645
2646         * javax/swing/AbstractCellEditor.java
2647         (getCellEditorValue): Removed.
2648         * javax/swing/Box.java: Reformated.
2649         (serialVersionUID): New field.
2650         * javax/swing/ButtonGroup.java:
2651         Removed some weird whitespace.
2652         * javax/swing/CellEditor.java: Reformated.
2653         * javax/swing/CellRendererPane.java
2654         (serialVersionUID): New field.
2655         (AccessibleCellRendererPaneserialVersionUID): New field.
2656         * javax/swing/DefaultListModel.java
2657         (serialVersionUID): New field.
2658         * javax/swing/JEditorPane.java
2659         (serialVersionUID): New field.
2660         (setPage): Throws IOException.
2661         (addHyperlinkListener): Implemented.
2662         (removeHyperlinkListener): Implemented.
2663         (getHyperlinkListener): New method.
2664         * javax/swing/JFileChooser.java
2665         (serialVersionUID): New field.
2666         (AccessibleJFileChooser.serialVersionUID): New field.
2667         (addActionListener): Implemented.
2668         (removeActionListener): Implemented.
2669         (getActionListeners): New method.
2670         * javax/swing/JFormattedTextField.java
2671         (serialVersionUID): New field.
2672         (AbstractFormatter.serialVersionUID): New field.
2673         (clone): Throws CloneNotSupportedException
2674         (setEditValid): Add missing argument.
2675         (stringToValue): Throws ParseExcpetion.
2676         (valueToString): Throws ParseException.
2677         (commitEdit): Throws ParseException.
2678         * javax/swing/JLabel.java
2679         (serialVersionUID): New field.
2680         * javax/swing/JList.java
2681         (serialVersionUID): New field.
2682         (addListSelectionListener): Reformated.
2683         (removeListSelectionListener): Reformated.
2684         (getListSelectionListeners): New method.
2685         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
2686         Reformated.
2687         (serialVersionUID): New field.
2688         * javax/swing/table/AbstractTableModel.java
2689         (getValueAt): Removed.
2690         (getColumnCount): Removed.
2691         (getRowCount): Removed.
2692
2693 2004-02-05  Michael Koch  <konqueror@gmx.de>
2694
2695         * java/awt/datatransfer/DataFlavor.java
2696         (imageFlavor): Javadoc added.
2697         (javaJVMLocalObjectType): Fixed.
2698
2699 2004-02-05  Michael Koch  <konqueror@gmx.de>
2700
2701         * java/lang/Thread.java
2702         (Thread): Reordered.
2703         (setContextClassLoader): Fixed javadoc comment.
2704         (setPriority): Reordered.
2705         (yield): Reordered.
2706         (initialize_native): Reordered.
2707         (gen_name): Reordered.
2708
2709 2004-02-05  Michael Koch  <konqueror@gmx.de>
2710
2711         * java/lang/Thread.java: Reordered fields, reformated much code,
2712         no functional changes, some variables renamed, javadoc comments
2713         merged.
2714
2715 2004-02-05  Michael Koch  <konqueror@gmx.de>
2716
2717         * java/util/zip/Deflater.java,
2718         java/util/zip/DeflaterOutputStream.java,
2719         java/util/zip/GZIPInputStream.java:
2720         Reformated and javadoc comments merged from classpath.
2721
2722 2004-02-05  Michael Koch  <konqueror@gmx.de>
2723
2724         * gnu/java/nio/NIOServerSocket.java
2725         (impl): Unused, removed.
2726         * gnu/java/nio/SocketChannelImpl.java
2727         (finnishConnect): Don't throw NoConnectionPendingException if not
2728         connected or no connection pending.
2729
2730 2004-02-02  Graydon Hoare  <graydon@redhat.com>
2731
2732         * javax/swing/SwingUtilities.java: Many new functions.
2733         * java/awt/Container.java (LightweightDispatcher): Reimplement.
2734         * javax/swing/basic/BasicGraphicsUtils.java 
2735         (getPreferredButtonSize): Start layout from top-left corner.
2736
2737 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
2738
2739         * java/awt/geom/AffineTransform.java: 
2740         Corrected comments on the field definitions for
2741         m11 and m10.
2742         (shear): Fixed few errors that caused shear
2743         transformation to be performed incorrectly.
2744         (createInverse): Fixed to return correct
2745         inverse of the given matrix.
2746
2747 2004-02-03  Tom Tromey  <tromey@redhat.com>
2748
2749         * java/lang/natPosixProcess.cc (startProcess): Handle case where
2750         PATH or LD_LIBRARY_PATH is not set in parent environment.
2751
2752 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
2753
2754         * gnu/java/awt/peer/gtk/GtkListPeer.java,
2755         java/awt/BorderLayout.java, java/awt/CardLayout.java,
2756         java/awt/CheckboxGroup.java, java/awt/Choice.java,
2757         java/awt/Component.java, java/awt/Container.java,
2758         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
2759         java/awt/LayoutManager2.java, java/awt/List.java,
2760         java/awt/Menu.java, java/awt/MenuBar.java,
2761         java/awt/MenuItem.java, java/awt/Polygon.java,
2762         java/awt/Rectangle.java, java/awt/ScrollPane.java,
2763         java/awt/Scrollbar.java, java/awt/TextArea.java,
2764         java/awt/TextField.java,
2765         java/awt/image/renderable/RenderContext.java,
2766         javax/swing/JApplet.java: Fix handling of alias methods, where a
2767         method has been deprecated in favour of a new one with the same
2768         funtion but a different name.  Put the method implementation in
2769         the deprecated method and have the new method call the
2770         deprecated one.  Make all other code call the new method.
2771
2772 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
2773
2774         * gnu/java/nio/DatagramChannelImpl.java
2775         (inChannelOperation): New field.
2776         (isInChannelOperation): New accessor.
2777         (setInChannelOperation): New modifier.
2778         (receive): Use capacity() - position() of destination
2779         buffer instead of remaining(). Set and reset our "in
2780         channel operation indicator" before and after delegating
2781         the receive to our datagram socket. Removed testing code.
2782         Update destination buffer's current position if it is
2783         backed by a byte array (hasArray() is true).
2784         (send): Set and reset our "in channel operation indicator"
2785         before and after delegating the send to our datagram socket.
2786         Removed testing code. Update source buffer's current position
2787         if it is backed by a byte array (hasArray() is true).
2788         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
2789         Use capacity() - position() of destination buffer instead
2790         of remaining().
2791         * java/net/DatagramSocket.java (receive): Don't throw an
2792         IllegalBlockingModeException if we have a non-blocking
2793         channel which initiated this operation.
2794         (send): Likewise.
2795
2796 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
2797
2798         * configure.in: Add pkgconfig check for glib and gthread.
2799         * configure: Regenerate.
2800
2801 2004-02-01  Michael Koch  <konqueror@gmx.de>
2802
2803         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
2804         arguments.
2805         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
2806         * verify.cc (debug_print): Mark 'fmt' unused.
2807
2808 2004-01-30  Michael Koch  <konqueror@gmx.de>
2809
2810         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
2811         * configure: Regenerated.
2812         * glib-2.0.m4: Removed.
2813         * gtk-2.0.m4: Removed.
2814         * libart.m4: Removed.
2815         * pkg.m4: New file.
2816
2817 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
2818
2819         * gnu/java/net/PlainSocketImpl.java 
2820         (inChannelOperation): New field.
2821         (isInChannelOperation): New accessor.
2822         (setInChannelOperation): New modifier.
2823         * gnu/java/nio/ServerSocketChannelImpl.java
2824         (accept): Set and reset our server socket's PlainSocketImpl's
2825         "in channel operation" indicator before and after delegating
2826         the accept to our server socket.
2827         * gnu/java/nio/SocketChannelImpl.java
2828         (connect): Set and reset our socket's PlainSocketImpl's "in channel
2829         operation" indicator before and after delegating the operation to
2830         our socket.
2831         (read): Likewise.
2832         (write): Likewise.
2833         * java/net/ServerSocket.java (implAccept): Don't throw an
2834         IllegalBlockingModeException if we have a non-blocking
2835         channel which initiated this accept operation.
2836         * java/net/Socket.java (connect): Don't throw an
2837         IllegalBlockingModeException if we have a non-blocking
2838         channel which initiated this connect operation.
2839         * java/nio/channels/spi/AbstractSelectableChannel.java
2840         (configureBlocking): Only call implConfigureBlocking() if
2841         the desired blocking mode is different from our current one.
2842
2843 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
2844
2845         * java/io/BufferedReader.java (sbuf): New field.
2846         (readLine): Use String.valueOf instead of new String() as per
2847         Per Bothner's suggestion. Use instance sbuf field instead of a
2848         local StringBuffer instance.
2849         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
2850         caller's buffer to refill().
2851         (read(void)): Pass our internal work buffer to refill if our
2852         input queue is empty.
2853         (refill): Changed return type to int. Use the specified buffer
2854         instead of our work buffer as per Bryce McKinlay's suggestion.
2855         Return the number of characters read or -1 for EOF.
2856
2857 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
2858
2859         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
2860
2861 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
2862
2863         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
2864         * Makefile.in: Re-generated.
2865         * gnu/awt/xlib/XFontPeer.java: New file.
2866         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
2867         (setClip): Commented out debug printout.
2868         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
2869         (getFontPeer): Return XFontPeer.
2870         (getLocalGraphicsEnvironment): New method.
2871         (getClasspathFontPeer): New method.
2872         (createFont): New method.
2873
2874 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
2875
2876         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
2877         return null. 
2878
2879 2004-01-29  Kim Ho  <kho@redhat.com>
2880
2881         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2882         (gtkLayoutSetVisible): New method
2883         (setMenuBar): Hide layout before setting MenuBar
2884         and reshow it after.
2885         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2886         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
2887
2888 2004-01-28  Michael Koch  <konqueror@gmx.de>
2889
2890         * gnu/java/lang/ClassHelper.java
2891         (getPackagePortion): Removed.
2892
2893 2004-01-28  Michael Koch  <konqueror@gmx.de>
2894
2895         * javax/swing/JComponent.java
2896         (listenerList): Initalize globally.
2897         (ancestor_list): Removed.
2898         (veto_list): Removed.
2899         (change_list): Removed.
2900         (get_veto_list): Removed.
2901         (get_change_list): Removed.
2902         (get_ancestor_list): Removed.
2903         (removeAncestorListener): Reimplemented.
2904         (removePropertyChangeListener): Likewise.
2905         (removeVetoableChangeListener): Likewise.
2906         (addAncestorListener): Likewise.
2907         (addPropertyChangeListener): Likewise.
2908         (addVetoableChangeListener): Likewise.
2909         (getListeners): New method.
2910         (getAncestorListeners): Likewise.
2911         (getVetoableChangeListeners): Likewise.
2912         (fireVetoableChange): Throws PropertyVetoException.
2913         * javax/swing/JEditorPane.java
2914         (JEditorPane): Throws IOException.
2915
2916 2004-01-28  David Jee  <djee@redhat.com>
2917
2918         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2919         (create): Set the default foreground color to
2920         java.awt.SystemColor.windowText.
2921
2922 2004-01-27  Michael Koch  <konqueror@gmx.de>
2923
2924         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
2925         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
2926         Reindented to merge with classpath.
2927
2928 2004-01-27  David Jee  <djee@redhat.com>
2929
2930         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2931         (addExposeFilter): Handle GtkFramePeer separately.
2932         (removeExposeFilter): Likewise.
2933
2934 2004-01-27  Michael Koch  <konqueror@gmx.de>
2935
2936         * gnu/java/net/protocol/http/Connection.java
2937         (getOutputStream): Fixed typo.
2938
2939 2004-01-27  Michael Koch  <konqueror@gmx.de>
2940
2941         * java/lang/Class.java
2942         (getConstructor): Removed SecurityException from throws clause.
2943         (_getConstructors): Likewise.
2944         (getConstructors): Likewise.
2945         (getDeclaredConstructor): Likewise.
2946         (getDeclaredClasses): Likewise.
2947         (getDeclaredConstructors): Likewise.
2948         (getDeclaredField): Likewise.
2949         (getDeclaredMethod): Likewise.
2950         (getDeclaredMethods): Likewise.
2951         (getField): Likewise.
2952         (getMethod): Likewise.
2953         (getMethods): Likewise.
2954
2955 2004-01-27  Kim Ho  <kho@redhat.com>
2956
2957         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2958         (removeMenuBarPeer): Remove MenuBarPeer argument.
2959         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2960         (dispose): Call native method.
2961         * java/awt/Frame.java (setMenuBar): Create and remove
2962         MenuBar peers only if the Frame has a peer.
2963         (addNotify): Create the MenuBar peer if one exists.
2964         (removeNotify): Remove MenuBar peer if one exists.
2965         * java/awt/Menu.java: Fix imports.
2966         (addNotify): Don't use full class name.
2967         (removeNotify): Call removeNotify on all children.
2968         * java/awt/MenuBar.java (removeNotify): Call
2969         removeNotify on all children.
2970         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2971         (removeMenuBarPeer): Remove MenuBarPeer argument.
2972         Iterate through children to find the Frame's MenuBar.
2973         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
2974         New file.
2975         (dispose): Remove references to the MenuComponent.
2976
2977 2004-01-27  Michael Koch  <konqueror@gmx.de>
2978
2979         * javax/swing/AbstractCellEditor.java: Reformated.
2980         * javax/swing/DefaultListSelectionModel.java
2981         (listenerList): Made protected.
2982         (addListSelectionListener): Javadoc added.
2983         (removeListSelectionListener): Likewise.
2984         (getListeners): Likewise.
2985         (getListSelectionListeners): Likewise.
2986         * javax/swing/JComboBox.java: Merged copyright year.
2987         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
2988
2989 2004-01-26  Andrew Haley  <aph@redhat.com>
2990
2991         * javax/swing/table/JTableHeader.java: Extend JComponent
2992
2993 2004-01-26  Kim Ho  <kho@redhat.com>
2994
2995         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
2996         Fix spacing.
2997
2998 2004-01-26  Kim Ho  <kho@redhat.com>
2999
3000         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
3001         method.
3002         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
3003         height and let the Layout Managers readjust anything that
3004         needs to move.
3005         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3006         (moveLayout): New method. Shift everything in the Gtk
3007         layout in the Y direction by an offset.
3008
3009 2004-01-26  David Jee  <djee@redhat.com>
3010
3011         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3012         (handleEvent): Implemented. Handles PaintEvents.
3013         (paint): Implemented. Use GTK native methods to queue updates
3014         for this heavyweight peer.
3015         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3016         (handleEvent): Removed.
3017         * java/awt/Component.java
3018         (paint): Implemented. Explictly paint the heavyweight peer.
3019         (update): Clear the background for heavyweight components.
3020         (paintAll): No need to call peer.paint() anymore.
3021         (processEvent): Don't process PaintEvents here. It's now done in
3022         the peer's handleEvent().
3023         (processPaintEvent): Removed.
3024         * java/awt/Container.java
3025         (paint): No need to call super.paint(). Visit heavyweight
3026         children as well.
3027         (update): Don't clear the background here.  It's done in
3028         Component.update().
3029         (visitChildren): Added check to not recurse into Containers.
3030         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3031         (filter_expose_event_handler): New method.  Filter unwanted
3032         expose events while painting heavyweight peers.
3033         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
3034         New method. Connect filter and block pre_event_handler.
3035         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
3036         New method. Disconnect filter and unblock pre_event_handler.
3037         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
3038         New method. Invalidate and update given area.
3039         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3040         (pre_event_handler): Add checks for unwanted expose events.
3041
3042 2004-01-26  David Jee  <djee@redhat.com>
3043
3044         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3045         (find_bg_color_widget): For GtkButton, return its child.
3046
3047 2004-01-26  Kim Ho  <kho@redhat.com>
3048
3049         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
3050         private.
3051         (setMenuBar): Grab MenuBar height and change insets.
3052         (setBounds): Account for MenuBar height.
3053         (postInsetsChangedEvent): Ditto.
3054         (postSizeAllocateEvent): Remove.
3055         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3056         (menubar_resize_cb): Remove
3057         (setMenuBarPeer): Remove callback.
3058         (getMenuBarHeight): Use size requisition instead of
3059         allocation.
3060
3061 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
3062
3063         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
3064         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
3065         when peer is null.
3066         (setColumns): Remove FIXME -- peer will retrieve number of
3067         columns by calling getColumns.
3068         (setRows): Likewise for number of rows.
3069         (next_text_number): New field.
3070         (paramString): Fix param string.
3071         (generateName): New method.
3072         (getUniqueLong): New method.
3073
3074 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
3075
3076         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
3077         image observer of image loading status.
3078         (getImage (String)): Start image production.
3079         (getImage (URL)): Likewise.
3080
3081 2004-01-25  Michael Koch  <konqueror@gmx.de>
3082
3083         * java/lang/Class.java: Imports reworked, reformated.
3084         (Class): Javadoc added.
3085         (forName): Likewise.
3086         (getClasses): Likewise.
3087         (getClassLoader): Likewise.
3088         (getComponentType): Likewise.
3089         (getConstructor): Likewise.
3090         (getConstructors): Likewise.
3091         (getDeclaredConstructor): Likewise.
3092         (getDeclaredClasses): Likewise.
3093         (getDeclaredConstructors): Likewise.
3094         (getDeclaredField): Likewise.
3095         (getDeclaredMethod): Likewise.
3096         (getDeclaredMethods): Likewise.
3097         (getDeclaringClass): Likewise.
3098         (getField): Likewise.
3099         (getInterfaces): Likewise.
3100         (getMethod): Likewise.
3101         (getMethods): Likewise.
3102         (getModifiers): Likewise.
3103         (getName): Likewise.
3104         (getResource): Likewise.
3105         (getResourceAsStream): Likewise.
3106         (getSigners): Likewise.
3107         (setSigners): Likewise.
3108         (getSuperclass): Likewise.
3109         (isArray): Likewise.
3110         (isAssignableFrom): Likewise.
3111         (isInstance): Likewise.
3112         (isInterface): Likewise.
3113         (isPrimitive): Likewise.
3114         (newInstance): Likewise.
3115         (getProtectionDomain): Likewise.
3116         (toString): Likewise.
3117         (Class): Moved.
3118         (initializeClass): Likewise.
3119         (finalize): Likewise.
3120
3121 2004-01-24  Michael Koch  <konqueror@gmx.de>
3122
3123         * gnu/java/net/protocol/jar/Connection.java
3124         (hdrHash): Removed.
3125         (hdrVec): Removed.
3126         (gotHeaders): Removed.
3127         (getHeaderField): Removed.
3128         (getHeaderFields): Removed.
3129         (getHeaderFieldKey): Removed.
3130         (getKey): Removed.
3131         (getField): Removed.
3132         (getHeaders): Removed.
3133
3134 2004-01-24  Michael Koch  <konqueror@gmx.de>
3135
3136         * Makefile.am: Added library version to gtk peer lib.
3137         * Makefile.in: Regenerated.
3138
3139 2004-01-24  Michael Koch  <konqueror@gmx.de>
3140
3141         * java/util/zip/InflaterInputStream.java: Merged class documentation
3142         with classpath.
3143
3144 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
3145
3146         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
3147         header.  For __powerpc64__ provide the default-signal.h definitions
3148         for now.
3149         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
3150         instead of the dummy definitions.
3151         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
3152         (powerpc64*-*): Remove with_libffi_default.
3153         Only add -mminimal-toc for 64-bit compilations.
3154         * configure.in: Use powerpc-signal.h on powerpc64 as well.
3155         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
3156         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
3157         * configure: Rebuilt.
3158
3159 2004-01-23  Michael Koch  <konqueror@gmx.de>
3160
3161         * gnu/java/nio/FileLockImpl.java: Compile fixes.
3162
3163 2004-01-23  Michael Koch  <konqueror@gmx.de>
3164
3165         * java/lang/VMClassLoader.java: Reworked imports.
3166         
3167 2004-01-23  Michael Koch  <konqueror@gmx.de>
3168
3169         * javax/swing/AbstractAction.java: Reformated.
3170
3171 2004-01-23  Michael Koch  <konqueror@gmx.de>
3172
3173         * java/text/CollationElementIterator.java:
3174         (setText): New method.
3175
3176 2004-01-23  Michael Koch  <konqueror@gmx.de>
3177
3178         * gnu/java/nio/FileLockImpl.java:
3179         Fixed filename in copyright.
3180         (released): Removed.
3181         (finalize): New method.
3182         * gnu/java/nio/natFileLockImpl.cc
3183         (releaseImpl): Implemented.
3184         * java/nio/channels/FileChannelImpl.java:
3185         Reworked imports.
3186         (lock): Implemented.
3187         (lockImpl): New method.
3188         (tryLock): Implemented.
3189         (tryLockImpl): New method.
3190         * java/nio/channels/natFileChannelImpl.cc
3191         (lockImpl): New method.
3192         (tryLockImpl): New method.
3193
3194 2004-01-23  Michael Koch  <konqueror@gmx.de>
3195
3196         * java/io/FileDescriptor.java
3197         (lock): New method.
3198         (tryLock): New method.
3199         (unlock): New method.
3200         * java/io/natFileDescriptorEcos.cc
3201         (lock): New method.
3202         (tryLock): New method.
3203         (unlock): New method.
3204         * java/io/natFileDescriptorPosix.cc
3205         (lock): New method.
3206         (tryLock): New method.
3207         (unlock): New method.
3208         * java/io/natFileDescriptorWin32.cc
3209         (lock): New method.
3210         (tryLock): New method.
3211         (unlock): New method.
3212
3213 2004-01-23  Michael Koch  <konqueror@gmx.de>
3214
3215         * java/io/FileDescriptor.java
3216         (sync): Moved around, added javadoc.
3217         (valid): Likewise.
3218         (open): Likewise.
3219         (write): Likewise.
3220         (close): Likewise.
3221         (setLength): Likewise.
3222         (seek): Likewise.
3223         (getLength): Likewise.
3224         (getFilePointer): Likewise.
3225         (read): Likewise.
3226         (available): Likewise.
3227         (finalize): Likewise.
3228
3229 2004-01-23  Michael Koch  <konqueror@gmx.de>
3230
3231         * javax/swing/AbstractAction.java: Reformated.
3232         (getPropertyChangeListeners): New method.
3233         * javax/swing/AbstractCellEditor.java: Reformated.
3234         (getCellEditorListeners): New method.
3235         * javax/swing/DefaultListSelectionModel.java
3236         (listenerList): New field.
3237         (listeners): Removed.
3238         (get_listeners): Removed.
3239         (addListSelectionListener): Rewritten.
3240         (removeListSelectionListener): Rewritten.
3241         (getListSelectionListeners): New method.
3242         (getListeners): New method.
3243         * javax/swing/JComboBox.java: Imports reworked.
3244         (addActionListener): Implemented.
3245         (removeActionListener): Implemented.
3246         (addItemListener): Implemented.
3247         (removeItemListener): Implemented.
3248         (addPopupMenuListener): Implemented.
3249         (removePopupMenuListener): Implemented.
3250         (getActionListeners): New method.
3251         (getItemListeners): New method.
3252         (getPopupMenuListeners): New method.
3253
3254 2004-01-23  Michael Koch  <konqueror@gmx.de>
3255
3256         * gnu/java/net/protocol/http/Connection.java
3257         (connect): Don't initialize bufferedOutputStream if not needed.
3258         (sendRequest): Set property for content length if content is present.
3259         Write content only if present.
3260         (getOutputStream): Check if already connected, dont connect,
3261         initalize bufferedOutputStream if needed.
3262
3263 2004-01-23  Michael Koch  <konqueror@gmx.de>
3264
3265         * java/io/FileDescriptor.java
3266         (in, out, err): Added javadoc.
3267         (static): Merged loading code.
3268         (fd, position): Moved around.
3269
3270 2004-01-23  Michael Koch  <konqueror@gmx.de>
3271
3272         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
3273         New file.
3274
3275 2004-01-23  Michael Koch  <konqueror@gmx.de>
3276
3277         * java/lang/Class.java,
3278         java/lang/Object.java,
3279         java/lang/Thread.java: Merged copyright with classpath.
3280
3281 2004-01-23  Michael Koch  <konqueror@gmx.de>
3282
3283         * java/io/FileDescriptor.java: Merged copyright with classpath to
3284         start merging this class.
3285
3286 2004-01-22  Tom Tromey  <tromey@redhat.com>
3287
3288         PR libgcj/13107:
3289         * testsuite/libjava.lang/pr13107_2.xfail: New file.
3290         * testsuite/libjava.lang/pr13107_3.xfail: New file.
3291         * testsuite/libjava.lang/pr13107_3.java: New file.
3292         * testsuite/libjava.lang/pr13107_3.out: New file.
3293         * testsuite/libjava.lang/pr13107_2.java: New file.
3294         * testsuite/libjava.lang/pr13107_2.out: New file.
3295         * testsuite/libjava.lang/pr13107.java: New file.
3296         * testsuite/libjava.lang/pr13107.out: New file.
3297         * verify.cc (jsr_ptrs): Removed.
3298         (entry_points): Likewise.
3299         (struct subr_info): Likewise.
3300         (struct subr_entry_info): Likewise.
3301         (type_val::unused_by_subroutine_type): Likewise.
3302         (type::merge): Don't handle unused_by_subroutine_type.
3303         (type::print): Likewise.
3304         (state::flags): Removed.
3305         (state::subroutine): Likewise.
3306         (state::seen_subrs): Likewise.
3307         (state::NO_STACK): Likewise.
3308         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
3309         (state): Updated all methods.
3310         (state::clean_subrs): Removed.
3311         (state::state): Removed `ret_semantics' flag.
3312         (state::copy): Likewise.
3313         (state::add_subr): Removed.
3314         (state::enter_subroutine): Likewise.
3315         (type::set_return_address): New method.
3316         (handle_jsr_insn): Set return address on the type.  Always
3317         invalidate PC after call.
3318         (check_nonrecursive_call): Removed.
3319         (~_Jv_BytecodeVerifier): Updated.
3320         (branch_prepass): Removed special handling of jsr.
3321         (note_branch_target): Likewise.
3322         (get_subroutine): Removed.
3323         (state::merge): Don't merge subroutines and don't handle
3324         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
3325         (state::note_variable): Removed.
3326         (state::is_unmerged_ret_state): Likewise.
3327         (state::print): Updated.
3328         (set_variable): Likewise.
3329         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
3330         and jsr_semantics arguments.  Updated for new reverification
3331         list.
3332         (pop_jump): Rewrote.
3333         (construct_primitive_array_type): Updated.
3334         (state::next): Removed.
3335         (INVALID_STATE): New define.
3336         (state::INVALID): Removed.
3337         (state::NO_NEXT): New value.
3338         (state::pc, state::next): New fields.
3339         (state::get_pc): New method.
3340         (next_verify_pc): Removed.
3341         (next_verify_state): New field.
3342         (verify_instructions_0): Always check for falling off end.
3343         (linked): New type.
3344         (linked_utf8): Removed.
3345         (states): Changed type.
3346         (type::state_mergeable_p): New method.
3347         (state::state_mergeable_p): Likewise.
3348         (handle_ret_insn): Removed most code.
3349         (state::reverify): New method.
3350         (add_new_state): Likewise.
3351         (state::set_pc): Likewise.
3352
3353 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
3354
3355         PR java/13733
3356         * testsuite/libjava.compile/PR13733.java: New file.
3357         * testsuite/libjava.compile/PR13733.xfail: New file.
3358
3359 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
3360             Michael Koch  <konqueror@gmx.de>
3361
3362         * javax/swing/table/DefaultTableCellRenderer.java
3363         (DefaultTableCellRenderer): Added javadoc for the class and for
3364         the constructor, Border instance, create an EmptyBorder.
3365         (UIResource): Removed the comment at the end of the class
3366         (setForeground): New method.
3367         (setBackground): New method.
3368         (updateUI): New method.
3369         (getTableCellRendererComponent): Rewritten with the help of
3370         dvholten and Stephane Meslin-Weber.
3371         (validate): New method.
3372         (repaint): New method.
3373         (firePropertyChange): New method.
3374         (setValue): New method.
3375
3376 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3377
3378         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3379         (connectJObject): Replace printf calls with g_assert statements.
3380         Move property-notify-event signal connection to ...
3381         (connectSignals): Connect property-notify-event signal.  Iterate
3382         through the vbox's children to find layout.
3383
3384 2004-01-22  Graydon Hoare  <graydon@redhat.com>
3385         
3386         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
3387         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
3388         Predicate static initialization on GtkToolkit.useGraphics2D().
3389         * java/awt/Component.java (processPaintEvent): Consume event.
3390         * javax/swing/AbstractButton.java: Reimplement, document.
3391         * javax/swing/DefaultButtonModel.java: Reimplement, document.
3392         * javax/swing/JComponent.java (paint): Use double buffer.
3393         (listenerList): Enable member.
3394         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
3395         * javax/swing/JToggleButton.java 
3396         (JToggleButton): Modify model constructor.
3397         * javax/swing/SwingUtilities.java 
3398         (layoutCompoundLabel): Adjust arithmetic.
3399         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
3400         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
3401         (getPreferredButtonSize): Include margins in calculation.
3402         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3403         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
3404         Receive up events from subordinate layout component.
3405
3406 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3407
3408         * java/awt/Component.java (show): Set visible to true before
3409         showing the peer.
3410
3411 2004-01-21  Kim Ho  <kho@redhat.com>
3412
3413         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
3414         Fix comments.
3415         (removeMenuBarPeer): Make package private.
3416         (setMenuBarPeer): Make package private.
3417         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3418         (menubar_resize_cb): Mark attributes unused.
3419         (getMenuBarHeight): ditto.
3420
3421 2004-01-21  David Jee  <djee@redhat.com>
3422
3423         * java/awt/Container.java
3424         (LightweightDispatcher.handleEvent): Add an extra check to avoid
3425         dispatching MOUSE_ENTERED event twice. Translate the point for
3426         the mouse event target before dispatching the event.
3427
3428 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
3429
3430         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
3431         lib_org_w3c_dom_la_LDFLAGS): New.
3432         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
3433         * Makefile.in: Rebuilt.
3434
3435 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
3436
3437         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
3438         Calculate proper offsets for heavyweight components packed in
3439         lightweight containers.
3440
3441         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3442         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3443         (native create): Add width parameter.
3444         (create): Calculate text entry width based on current font's
3445         metrics and number of columns.  Set TextField's font if not
3446         already set.  Call native create.
3447         (gtkEntryGetBorderWidth): New native method.
3448         (gtkEntryGetSize): Remove method.
3449         (getMinimumSize): Call minimumSize.
3450         (getPreferredSize): Call preferredSize.
3451         (minimumSize): Calculate minimum size based on backing
3452         GtkEntry's borders, font metrics and number of columns.
3453         (preferredSize): Likewise for preferred size.
3454         (get_border_width): New static function.
3455
3456         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
3457         Override GtkWindowPeer's setResizable method to account for menu
3458         bar height when setting the frame's size.
3459
3460 2004-01-19  Matthias Klose  <doko@debian.org>
3461
3462         * libtool-version: Increased `current' to 6.
3463
3464 2004-01-19  Kim Ho  <kho@redhat.com>
3465
3466         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3467         (connectJObject): Iterate through the vbox's children to find layout.
3468
3469 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
3470
3471         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
3472         isDispatchThread method to replace wrong test condition.
3473
3474 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
3475
3476         * java/awt/EventQueue.java (pop): Prevent racing condition to add
3477         events to the queue out of order by acquiring locks in the proper
3478         order and not by releasing one before acquiring the other.
3479
3480 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
3481
3482         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
3483         visible so that dialog can be reused.
3484
3485 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
3486
3487         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
3488         events may be handled by any queue in the stack.
3489
3490 2004-01-19  Kim Ho  <kho@redhat.com>
3491
3492         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
3493         MenuBarPeer parameter.
3494         (removeMenuBarPeer): New native method.
3495         (setMenuBar): Call remove if menu bar is null. Adjust insets
3496         appropriately.
3497         (postSizeAllocateEvent): New method. Called when menu bar size is
3498         allocated. Adjust insets and redo layout.
3499         (GtkFramePeer): Set menu bar during frame creation.
3500         (postConfigureEvent): Adjust position and size to accomodate
3501         menu bar.
3502         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
3503         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
3504         (addNotify): Create the peer if it doesn't exist and call addNotify
3505         for the menu's items.
3506         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
3507         * java/awt/MenuItem.java (addNotify): Create the peer if it
3508         doesn't exist.
3509         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3510         (removeMenuBarPeer): New method. Remove menu bar on the current
3511         frame.
3512         (setMenuBarPeer): Add the menu bar to the current frame and the
3513         callback for size-allocate events on the menu bar.
3514         (getMenuBarHeight): Add menu bar parameter.
3515         (menubar_resize_cb): New callback method for postSizeAllocate events.
3516
3517         Also: Fix indentation on last ChangeLog entry.
3518
3519 2004-01-16  Kim Ho  <kho@redhat.com>
3520
3521         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3522         (gtkWidgetGetDimensions): Remove.
3523         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3524         (gtkWidgetGetDimensions): Remove.
3525
3526 2004-01-16  Tom Tromey  <tromey@redhat.com>
3527
3528         * java/awt/Container.java: Typo and indentation fixes.
3529
3530         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
3531         * java/lang/natVMClassLoader.cc: ...here.  New file.
3532         * Makefile.in: Rebuilt.
3533         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
3534
3535 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
3536
3537         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
3538         Discard GDK_ENTER_NOTIFY related to ungrabs.
3539
3540 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
3541
3542         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
3543         is called for an intermediate queue.
3544
3545 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
3546
3547         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3548         (window_property_changed_cb): Set id_set.
3549
3550 2004-01-16  Kim Ho  <kho@redhat.com>
3551
3552         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
3553         it is a FileDialog and has dimensions of 0 by 0, then the initial
3554         size is set to size request plus insets.
3555         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3556         (gtkWidgetGetDimensions): Override method.
3557         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3558         (gtkWidgetGetDimensions): Override method. Returns size request plus
3559         insets.
3560
3561 2004-01-16  Andrew Haley  <aph@redhat.com>
3562
3563         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
3564         * sysdep/i386/locks.h: Likewise.
3565
3566 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
3567
3568         * java/awt/EventDispatchThread.java (run): Stop running when
3569         interrupted.
3570         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
3571         Reset the queue after transferring its contents.
3572         (push): Start a new dispatch thread if none is running.
3573
3574 2004-01-16  Olga Rodimina <rodimina@redhat.com>
3575
3576         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
3577         (doPolygon): set fill rule of polygon to 
3578         WIND_EVEN_ODD by default.
3579
3580 2004-01-15  Olga Rodimina <rodimina@redhat.com>
3581
3582         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
3583         Implemented rendering hints related methods.
3584         (getDefaultHints): New helper method. Returns
3585         default rendering hints.
3586         (walkPath): changed to normalize path if
3587         the KEY_STROKE_CONTROL key is in "normalize" mode.
3588         (draw3DRect): changed coordinates of rectangle by +0.5
3589         if in "normalize" mode.
3590
3591 2004-01-15  Tom Tromey  <tromey@redhat.com>
3592
3593         * Makefile.in: Rebuilt.
3594         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
3595         (%.lo: %.java) Filter out StackTrace.lo.
3596
3597 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
3598
3599         * configure.in: Add in AC_PREREQ(2.13)
3600         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
3601         FIXME comment.
3602
3603 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
3604             Tom Tromey  <tromey@redhat.com>
3605
3606         PR libgcj/12001:
3607         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
3608         array to superclass.
3609         (init): Changed interface; add URLs here.
3610         (initialize): New static method.
3611         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
3612         (_Jv_RunMain): ... not here.
3613
3614 2004-01-14  Michael Koch  <konqueror@gmx.de>
3615
3616         * java/text/MessageFormat.java:
3617         Added descriptions to exceptions.
3618         This fixes PR libgcj/2429.
3619
3620 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
3621
3622         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
3623         (push): Make sure push is performed at the top of the thread stack.
3624
3625 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
3626
3627         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3628         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3629         (native create): Add width and height parameters.  Set text
3630         view's size request according to new parameters.
3631         (create): Calculate text view size based on current font's
3632         metrics and number of rows and columns.  Set TextArea's font if
3633         not already set.  Call native create.
3634         (getMinimumSize): Call minimumSize.
3635         (getPreferredSize): Call preferredSize.
3636         (getHScrollbarHeight): New method.
3637         (getVScrollbarWidth): New method.
3638         (minimumSize): Calculate minimum size based on scrollbar
3639         visibility, scrollbar sizes, font metrics and number of rows and
3640         columns.
3641         (preferredSize): Likewise for preferred size.
3642         (gtkTextGetSize): Remove method.
3643
3644 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
3645
3646         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3647         (initializeInsets): Remove method.
3648         (GtkComponentPeer): Initialize insets field.  Remove call to
3649         initializeInsets.
3650         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3651         Remove method.
3652         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
3653         Remove method.
3654         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3655         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
3656         (latestInsets): Remove field.
3657         (native create): Add insets parameter.  Call
3658         window_get_frame_extents.  Set the window's default size and
3659         size request based on its frame extents.
3660         (create): Initialize insets.
3661         (postInsetsChangedEvent): New method.
3662         (postConfigureEvent): Remove parameters top, left, bottom,
3663         right.  Remove insets-related logic.
3664         (connectJObject): Handle property-notify-event.
3665         (window_get_frame_extents, request_frame_extents,
3666         property_notify_predicate, window_property_changed_cb): New
3667         static functions.
3668         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3669         (pre_event_handler): Remove insets-related logic for configure
3670         events.
3671         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
3672         Update postConfigureEvent signature.
3673
3674 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
3675  
3676         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
3677         to handle Window "Closing" events.
3678  
3679 2004-01-13  David Jee  <djee@redhat.com>
3680
3681         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3682         (setBackground): New method. Children with no explicitly-set
3683         background will be repainted with the parent container's new
3684         background color.
3685
3686 2004-01-13  David Jee  <djee@redhat.com>
3687
3688         * Makefile.am: Add BitwiseXORComposite.java.
3689         * Makefile.in: Regenerated.
3690         * gcj/Makefile.in: Regenerated.
3691         * include/Makefile.in: Regenerated.
3692         * testsuite/Makefile.in: Regenerated.
3693
3694 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
3695
3696         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
3697         not show modal dialogs twice and so that it allows showing a modal
3698         dialog from another modal dialog.
3699
3700 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
3701
3702         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
3703         and run secondary dispatch thread to process event queue while this
3704         thread is blocked.
3705
3706 2004-01-12  Graydon Hoare  <graydon@redhat.com>
3707
3708         * gnu/java/awt/gtk/GdkGraphics2D.java
3709         (static): Check GtkToolkit before initializing static state.
3710         (Graphics2D): Don't construct transform with 0.5 unit offset.
3711
3712 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
3713
3714         * gnu/java/awt/BitwiseXORComposite.java: Add.
3715         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
3716         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
3717         (BitwiseXORComposite): Remove inner class.
3718
3719 2004-01-11  Michael Koch  <konqueror@gmx.de>
3720
3721         * gnu/java/lang/reflect/TypeSignature.java
3722         (getEncodingOfClass): Documentation fixed.
3723         (getClassForEncoding): Give class loader to Class.forName().
3724         Documentation fixed.
3725
3726 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
3727
3728         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
3729
3730 2004-01-11  Michael Koch  <konqueror@gmx.de>
3731
3732         * javax/swing/undo/StateEditable.java
3733         (RCSID): Removed redundant modifiers.
3734
3735 2004-01-10  Michael Koch  <konqueror@gmx.de>
3736
3737         * javax/print/attribute/EnumSyntax.java
3738         (getStringTable): Made protected.
3739         (getEnumValueTable): Likewise.
3740         * javax/print/attribute/standard/JobKOctetsProcessed.java
3741         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
3742         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
3743         (JobMediaSheetsCompleted): Made class final.
3744         * javax/print/attribute/standard/OutputDeviceAssigned.java
3745         (getName): Fixed typo.
3746         * javax/print/attribute/standard/RequestingUserName.java
3747         (serialVersionUID): Fixed value.
3748
3749 2004-01-10  Michael Koch  <konqueror@gmx.de>
3750
3751         * javax/swing/plaf/basic/BasicButtonUI.java,
3752         javax/swing/plaf/basic/BasicCheckBoxUI.java,
3753         javax/swing/plaf/basic/BasicListUI.java,
3754         javax/swing/plaf/basic/BasicOptionPaneUI.java,
3755         javax/swing/plaf/basic/BasicPanelUI.java,
3756         javax/swing/plaf/basic/BasicRadioButtonUI.java,
3757         javax/swing/plaf/basic/BasicScrollPaneUI.java,
3758         javax/swing/plaf/basic/BasicToggleButtonUI.java,
3759         javax/swing/plaf/basic/BasicViewportUI.java:
3760         Fixed import statements.
3761
3762 2004-01-10  Michael Koch  <konqueror@gmx.de>
3763
3764         * gnu/java/awt/image/ImageDecoder.java
3765         (produce): Made public.
3766         * gnu/java/awt/peer/GLightweightPeer.java,
3767         gnu/java/awt/peer/gtk/GtkToolkit.java:
3768         Reformated.
3769
3770 2004-01-10  Michael Koch  <konqueror@gmx.de>
3771
3772         * javax/swing/JRadioButtonMenuItem.java,
3773         javax/swing/JSeparator.java,
3774         javax/swing/JSplitPane.java,
3775         javax/swing/JTextPane.java,
3776         javax/swing/JToolBar.java,
3777         javax/swing/ListCellRenderer.java,
3778         javax/swing/ListModel.java,
3779         javax/swing/MenuElement.java,
3780         javax/swing/OverlayLayout.java,
3781         javax/swing/ProgressMonitor.java,
3782         javax/swing/ProgressMonitorInputStream.java,
3783         javax/swing/Renderer.java,
3784         javax/swing/RootPaneContainer.java,
3785         javax/swing/Scrollable.java,
3786         javax/swing/SingleSelectionModel.java,
3787         javax/swing/ToolTipManager.java,
3788         javax/swing/ViewportLayout.java,
3789         javax/swing/event/DocumentEvent.java,
3790         javax/swing/event/SwingPropertyChangeSupport.java,
3791         javax/swing/event/TreeSelectionEvent.java,
3792         javax/swing/event/UndoableEditEvent.java,
3793         javax/swing/text/AbstractDocument.java,
3794         javax/swing/text/AttributeSet.java,
3795         javax/swing/text/Caret.java,
3796         javax/swing/text/ComponentView.java,
3797         javax/swing/text/DefaultCaret.java,
3798         javax/swing/text/DefaultEditorKit.java,
3799         javax/swing/text/Document.java,
3800         javax/swing/text/EditorKit.java,
3801         javax/swing/text/GapContent.java,
3802         javax/swing/text/Keymap.java,
3803         javax/swing/text/MutableAttributeSet.java,
3804         javax/swing/text/PlainEditorKit.java,
3805         javax/swing/text/Segment.java,
3806         javax/swing/text/Style.java,
3807         javax/swing/text/StyledDocument.java,
3808         javax/swing/text/StyledEditorKit.java,
3809         javax/swing/text/TextAction.java,
3810         javax/swing/text/View.java: Fixed import statements.
3811
3812 2004-01-08  Graydon Hoare  <graydon@redhat.com>
3813
3814         * javax/swing/JLayeredPane.java: Rewrite to accomodate
3815         djee@redhat.com's recent inverse ordering of Container elements.
3816
3817 2004-01-09  Michael Koch  <konqueror@gmx.de>
3818
3819         * gnu/java/lang/ArrayHelper.java
3820         (equalsArray): Removed.
3821
3822 2004-01-09  Andrew Haley  <aph@redhat.com>
3823
3824         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
3825         a Utf8Const field before looking at its class.
3826
3827 2004-01-09  Michael Koch  <konqueror@gmx.de>
3828
3829         * javax/print/attribute/standard/DocumentName.java,
3830         javax/print/attribute/standard/JobHoldUntil.java,
3831         javax/print/attribute/standard/JobMessageFromOperator.java,
3832         javax/print/attribute/standard/JobName.java,
3833         javax/print/attribute/standard/JobOriginatingUserName.java,
3834         javax/print/attribute/standard/OutputDeviceAssigned.java,
3835         javax/print/attribute/standard/PrinterInfo.java,
3836         javax/print/attribute/standard/PrinterLocation.java,
3837         javax/print/attribute/standard/PrinterMakeAndModel.java,
3838         javax/print/attribute/standard/PrinterMessageFromOperator.java,
3839         javax/print/attribute/standard/PrinterName.java,
3840         javax/print/attribute/standard/RequestingUserName.java: New files.
3841         * Makefile.am (javax_source_files): Added new files.
3842         * Makefile.in: Regenerated.
3843
3844 2004-01-09  Michael Koch  <konqueror@gmx.de>
3845
3846         * javax/swing/AbstractAction.java,
3847         javax/swing/AbstractSet.java,
3848         javax/swing/Action.java,
3849         javax/swing/ActionMap.java,
3850         javax/swing/BoundedRangeModel.java,
3851         javax/swing/ButtonModel.java,
3852         javax/swing/CellEditor.java,
3853         javax/swing/CellRendererPane.java,
3854         javax/swing/ComboBoxEditor.java,
3855         javax/swing/DebugGraphics.java,
3856         javax/swing/DefaultCellEditor.java,
3857         javax/swing/DefaultCellRenderer.java,
3858         javax/swing/DefaultComboBoxModel.java,
3859         javax/swing/DefaultDesktopManager.java,
3860         javax/swing/DefaultFocusManager.java,
3861         javax/swing/DefaultListCellRenderer.java,
3862         javax/swing/Icon.java,
3863         javax/swing/JButton.java,
3864         javax/swing/JCheckBoxMenuItem.java,
3865         javax/swing/JDesktopPane.java,
3866         javax/swing/JEditorPane.java,
3867         javax/swing/JMenu.java,
3868         javax/swing/JPanel.java,
3869         javax/swing/JPasswordField.java,
3870         javax/swing/JPopupMenu.java,
3871         javax/swing/JProgressBar.java: Reworked imports.
3872
3873 2004-01-09  Michael Koch  <konqueror@gmx.de>
3874
3875         * java/awt/geom/PathIterator.java
3876         (WIND_EVEN_ODD): Removed redundant modifiers.
3877         (WIND_NON_ZERO): Likewise.
3878         (SEG_MOVETO): Likewise.
3879         (SEG_LINETO): Likewise.
3880         (SEG_QUADTO): Likewise.
3881         (SEG_CUBICTO): Likewise.
3882         (SEG_CLOSE): Likewise.
3883         * java/awt/image/SinglePixelPackedSampleModel.java:
3884         Removed redundant semicolon.
3885         * java/io/ObjectInputStream.java
3886         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
3887         * java/util/logging/Filter.java
3888         (isLoggable): Removed redundant modifier.
3889         * java/util/logging/LogManager.java:
3890         Removed redundant semicolon.
3891         * java/util/logging/XMLFormatter.java
3892         (format): Removed unused variable "key".
3893
3894 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
3895
3896         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
3897         New name for the former setFile native method.
3898         (setFile): New method.
3899         (setDirectory): Implemented.
3900         (connectSignals): New native method.
3901         (setFilenameFilter): Improve comment.
3902         (getGraphics): Comment.
3903         (gtkHideFileDialog): New method.
3904         (gtkDisposeFileDialog): New method.
3905         (gtkSetFilename): New method.
3906         * java/awt/Dialog.java (show): Block on modal dialogs, but only
3907         for FileDialog for now.
3908         (hide): New method.
3909         (dispose): New method.
3910         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3911         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
3912         deprecated creation functions.  Make dialog modal.  Add it to the
3913         window group.
3914         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
3915         function.
3916         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
3917         Rename to...
3918         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
3919         name.
3920         (window_closed): New function.
3921         (ok_clicked): New function.
3922         (cancel_clicked): New function.
3923
3924 2004-01-08  Michael Koch  <konqueror@gmx.de>
3925
3926         * javax/swing/JLayeredPane.java: Revert changes to standard
3927         boilerplate, reworked imports.
3928
3929 2004-01-07  Tom Tromey  <tromey@redhat.com>
3930
3931         PR libgcj/13439:
3932         * verify.cc (state::merge): Copy changed locals out of subroutine
3933         in NO_STACK case.
3934         (state::FLAG_CHANGED): New const.
3935         (state::FLAG_UNUSED): Likewise.
3936         (state::local_changed): Removed.  Updated all users.
3937         (state::flags): New field.
3938         (state::merge): Added jsr_semantics argument, more logic.
3939         (push_jump_merge): Added jsr_semantics argument.
3940         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
3941         merging through the jsr instruction.
3942
3943 2004-01-07  Tom Tromey  <tromey@redhat.com>
3944
3945         * scripts/MakeDefaultMimeTypes.java: Use \n, not
3946         backslash-newline.
3947
3948 2004-01-07  Graydon Hoare  <graydon@redhat.com>
3949
3950         * java/awt/Container.java (LightweightDispatcher): Implement.
3951         (visitChild): Reuse graphics object.
3952         (dispatchEventImpl): Optionally dispatch to lightweight.
3953         (addNotifyContainerChildren): Build LightweightDispatcher.
3954
3955 2004-01-07  David Jee  <djee@redhat.com>
3956
3957         * java/awt/Container.java
3958         (update): Clear only the clipped region, instead of clearing the
3959         entire Container.
3960         (visitChildren): Visit children in descending order.
3961
3962 2004-01-07  Michael Koch  <konqueror@gmx.de>
3963
3964         * java/lang/reflect/Array.java: Merged documentation with classpath.
3965
3966 2004-01-07  Michael Koch  <konqueror@gmx.de>
3967
3968         * java/text/CollationElementIterator.java
3969         (textIndex): Renamed from index.
3970         * java/text/CollationKey.java
3971         (collator): New member.
3972         (CollationKey): New argument for parent collator.
3973         (equals): Check for same collator, source string and key array.
3974         * java/text/RuleBasedCollator.java:
3975         Reformated.
3976         (RuleBasedCollator): Don't re-initialize frenchAccents with default
3977         value.
3978         (getCollationElementIterator): Rewritten.
3979         (getCollationKey): Added new argument to CollationKey constructor.
3980
3981 2004-01-07  Michael Koch  <konqueror@gmx.de>
3982
3983         * gnu/java/nio/DatagramChannelImpl.java
3984         (blocking): Removed.
3985         (DatagramChannelImpl): Call configureBlocking().
3986         (implConfigureBlocking): Dont initialize blocking.
3987         * gnu/java/nio/ServerSocketChannelImpl.java
3988         (blocking): Removed.
3989         (ServerSocketChannelImpl): Call configureBlocking().
3990         (implConfigureBlocking): Dont initialize blocking.
3991         * gnu/java/nio/SocketChannelImpl.java
3992         (blocking): Removed.
3993         (SocketChannelImpl): Call configureBlocking().
3994         (implConfigureBlocking): Dont initialize blocking.
3995         (connect): Use isBlocking().
3996         * java/nio/channels/spi/AbstractSelectableChannel.java
3997         (configureBlocking): Use blockingLock() instead of LOCK.
3998         Set blocking after successfully called implConfigureBlocking().
3999         (register): Use blockingLock() instead of LOCK.
4000
4001 2004-01-07  Michael Koch  <konqueror@gmx.de>
4002
4003         * java/net/ServerSocket.java (isBound): Fixed documentation.
4004
4005 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
4006
4007         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
4008         (changeEvent): Create event object on demand.
4009         (DefaultBoundedRangeModel, toString, setValue, setExtent,
4010         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
4011         fireStateChanged): Re-written.
4012         * javax/swing/event/EventListenerList.java: Reformatted, document
4013         typical usage.
4014         (toString): Implemented.
4015         (getListeners): Re-written.
4016         (remove): Re-written.
4017         (add): Re-written.
4018         (NO_LISTENERS): New singleton field.
4019         (listenerList): Declare as transient; document.
4020         (serialVersionUID): Document.
4021         (getListenerCount(Class)): More efficient implementation,
4022         also accepts null argument.  Improve Javadoc.
4023         (getListenerCount()): Remove unnecessary cast; docfix.
4024         * javax/swing/undo/UndoableEditSupport.java:
4025         Re-format, document.
4026         (UndoableEditSupport): Set realSource field. Improve documentation.
4027         (_postEdit): Iterate over cloned listener vector.
4028         (toString): Don't emit realSource.
4029         (beginUpdate, endUpdate): Support nested updates.
4030         (postEdit): Use compound edit if present.
4031
4032 2004-01-06  Graydon Hoare  <graydon@redhat.com>
4033
4034         * java/awt/Container.java (swapComponents): Add forgotten
4035         function, required for JLayeredPane change.
4036
4037 2004-01-06  Michael Koch  <konqueror@gmx.de>
4038
4039         * java/text/CollationElementIterator.java: Reformated.
4040         (CollationElementIterator): Changed order of arguments.
4041         * java/text/RuleBasedCollator.java
4042         (RuleBasedCollator): Merged class documentation.
4043         (CollationElement): Added documentation.
4044         (compare): Reformated, renamed arguments.
4045         (equals): Likewise.
4046         (getCollationElementIterator): Likewise.
4047         (getCollationKey): Likewise.
4048
4049 2004-01-06  Graydon Hoare  <graydon@redhat.com>
4050
4051         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
4052
4053 2004-01-06  Michael Koch  <konqueror@gmx.de>
4054
4055         * gnu/java/net/protocol/file/Connection.java:
4056         Reformated copyright.
4057         (hdrHash): Removed.
4058         (hdrVec): Removed.
4059         (gotHeaders): Removed.
4060         (getHeaderField): Removed.
4061         (getHeaderField): Removed.
4062         (getHeaderFieldKey): Removed.
4063         (getKey): Removed.
4064         (getField): Removed.
4065         (getHeaders): Removed.
4066
4067 2004-01-06  Michael Koch  <konqueror@gmx.de>
4068
4069         * javax/print/attribute/standard/DateTimeAtCompleted.java,
4070         javax/print/attribute/standard/DateTimeAtCreation.java,
4071         javax/print/attribute/standard/DateTimeAtProcessing.java,
4072         javax/print/attribute/standard/JobImpressionsCompleted.java,
4073         javax/print/attribute/standard/JobKOctets.java,
4074         javax/print/attribute/standard/JobKOctetsProcessed.java,
4075         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
4076         javax/print/attribute/standard/JobPrioritySupported.java: New files.
4077         * Makefile.am (javax_source_files): Added new files.
4078         * Makefile.in: Regenerated.
4079
4080 2004-01-06  Michael Koch  <konqueror@gmx.de>
4081
4082         * java/net/URLConnection.java
4083         (contentHandler): Removed.
4084         (locale): Removed.
4085         (getHeaderFields): Return an empty map instead of null.
4086         (getContent): Connect if needed, renamed "cType" to "type" and
4087         "contentHandler" to "ch" and made it a local variable.
4088         (getPermission): Don't use package in class name.
4089         (setDefaultRequestProperty): Fixed typo in documentation.
4090         (initializeDateFormats): Made locale a local variable.
4091
4092 2004-01-06  Michael Koch  <konqueror@gmx.de>
4093
4094         * java/lang/Package.java
4095         (getPackage): Get the current class loader directly.
4096         * java/lang/SecurityManager.java
4097         (currentLoadedClass): Dont iterate over class contexts.
4098         (classLoaderDepth): Don't check class loaders if everything is allowed.
4099
4100 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
4101
4102         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4103         (pre_event_handler): Set all insets to 0 when a Configure event
4104         is received for a GtkPlug.
4105         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
4106         Make handle long, not int.
4107         (EmbeddedWindow()): New constructor.
4108         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
4109         long, not int.
4110         (setHandle): New method.
4111         (getHandle): Return long, not int.
4112         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
4113         declaration.
4114         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
4115         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4116         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
4117         argument to GdkNativeWindow.
4118         (construct): New method.
4119         (embed): New method.
4120
4121         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4122         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
4123         (create(int, int)): New method.
4124         (create): Call new create method.
4125         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
4126         methods.
4127         (childResized): Remove native implementation.  Implement in
4128         Java.
4129         (getHScrollbarHeight, getVScrollbarWidth): Call
4130         gtk_widget_size_request to get scrollbar dimensions.
4131         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
4132         call getVScrollbarWidth and getHScrollbarHeight when vertical
4133         and horizontal scrollbars respectively are needed.
4134         (doLayout): Enlarge child if it is smaller than the viewport.
4135
4136 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
4137
4138         * java/awt/Dialog.java (constructor): Accept null title as per spec.
4139         * java/awt/FileDialog.java (constructor): Throw exception on invalid
4140         argument as per spec.
4141
4142 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
4143
4144         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
4145         (insert): Ditto.
4146         (remove): Ditto.  Also, Check for valid argument.
4147         (removeAll): Use peer interface method.
4148         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
4149         native add function.
4150         (nativeRemove): New name for native remove function.
4151         (getHistory): New native function.
4152         (constructor): Generate ItemEvent.
4153         (add): Ditto, if selection is changed.
4154         (remove): Ditto, ditto.
4155         (removeAll): Add implementation.
4156         (handleEvent): Remove.  Dead code.
4157         (choicePostItemEvent): Add comment.
4158         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4159         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
4160         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
4161         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
4162         comments and fix condition to change selection.
4163         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
4164         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
4165         remove all capability.
4166         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
4167         (item_activate): Add cast to remove compiler warning.
4168
4169 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
4170
4171         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4172         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4173         (getPreferredSize): Call preferredSize.
4174         (preferredSize): Call gtkWidgetGetPreferredDimensions.
4175         (getMinimumSize): Call minimumSize.
4176         (minimumSize): Call gtkWidgetGetPreferredDimensions.
4177         (gtkWidgetGetDimensions): Return the peer widget's current size
4178         request.
4179         (gtkWidgetGetPreferredDimensions): Return the peer widget's
4180         natural size request.
4181
4182 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
4183
4184         Thanks to Brian Gough <bjg@network-theory.com>
4185         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
4186         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
4187
4188 2004-01-04  Matthias Klose  <doko@debian.org>
4189
4190         * aclocal.m4: Rebuilt using "aclocal -I .".
4191         * configure: Rebuilt.
4192
4193 2004-01-03  Per Bothner  <per@bothner.com>
4194
4195         * java/util/Date.java (parse):  Fix a number of problems.
4196         (skipParens):  Remove no-longer-needed method.
4197