OSDN Git Service

* java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2005-02-15  Mark Wielaard  <mark@klomp.org>
2
3         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
4         aside for "GCJLIBS" in directory where jarfiles are loaded.
5         (JarURLLoader.getClass): Removed method.
6         (JarURLLoader.toString): Removed method.
7         (FileResource.toString): Removed method.
8
9 2005-02-15  Mark Wielaard  <mark@klomp.org>
10  
11         * javax/net/ssl/SSLContext.java (getInstance): Add exception message
12         and/or cause before throwing.
13
14 2005-02-15  Richard Henderson  <rth@redhat.com>
15
16         * Makefile.am (libgcj_la_SOURCES): Move all sources ...
17         (libgcj0_convenience_la_SOURCES): ... here.
18         (libgcj_la_LIBADD): Add libgcj0_convenience.la.
19         (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
20         * Makefile.in: Regenerate.
21
22 2005-02-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
23
24         * jawt.c: New file.
25         * include/jawt.h: Likewise.
26         * include/jawt_md.h: Likewise.
27         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
28         jawt_md.h files.
29         * include/Makefile.in: Regenerate.
30         * jni/classpath/classpath_jawt.h: Likewise.
31         * jni/gtk-peer/gtk_jawt.c: Likewise.
32         * Makefile.am: Build libjawt.so.
33         * Makefile.in: Regenerate.
34
35 2005-02-14  Tom Tromey  <tromey@redhat.com>
36
37         * testsuite/libjava.lang/PR19921.java: Use correct class name.
38
39 2005-02-14  Tom Tromey  <tromey@redhat.com>
40
41         * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
42         * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
43
44 2005-02-14  Tom Tromey  <tromey@redhat.com>
45
46         For PR java/19929:
47         * testsuite/libjava.lang/PR19929.out: New file.
48         * testsuite/libjava.lang/PR19929.java: New file.
49
50 2005-02-14  Anthony Green  <green@redhat.com>
51
52         PR libgcj/18116
53         * testsuite/libjava.jni/PR18116.c: New file.
54         * testsuite/libjava.jni/PR18116.java: New file.
55         * testsuite/libjava.jni/PR18116.out: New file.
56
57 2005-02-13  Anthony Green  <green@redhat.com>
58
59         PR libgcj/18116
60         * jni.cc (nathash_add): Don't strdup the method signature.
61         (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
62         method signature.
63         Update copyright.
64
65 2005-02-12  Mark Wielaard  <mark@klomp.org>
66
67         Fixes bug libgcj/8170
68         * java/lang/ClassLoader.java (loadClass): Don't rewrap
69         ClassNotFoundException.
70         * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
71         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
72         (remove_internal): New field superceding remove_interpreter.
73         (sanitizeStack): Remove all no-package classes starting with "_Jv_".
74         Remove no-class methods starting with "_Jv_". And Replace null
75         class or method names with the empty string. Stop at either the
76         MainThread or a real Thread run() method.
77         (newElement): Made static.
78         * java/net/URLClassLoader.java (findClass): Throw
79         ClassNotFoundExceptions including urls, plus parent using toString().
80         (thisString): New field.
81         (toString): New method.
82
83 2005-02-10  Tom Tromey  <tromey@redhat.com>
84
85         * external/sax/Makefile.in: Rebuilt.
86         * external/sax/Makefile.am (all-local): Removed.
87         (BUILT_SOURCES): New variable.
88         (mostlyclean-local): No error if no classes to delete.
89         * external/w3c_dom/Makefile.in: Rebuilt.
90         * external/w3c_dom/Makefile.am (all-local): Removed.
91         (BUILT_SOURCES): New variable.
92         (mostlyclean-local): No error if no classes to delete.
93
94 2005-02-10  Bryce McKinlay  <mckinlay@redhat.com>
95
96         * testsuite/libjava.mauve/xfails: Updated to reflect current state 
97         of mauve and libjava.
98
99 2005-02-09  Tom Tromey  <tromey@redhat.com>
100
101         * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
102         jar file with OPEN_DELETE.
103         * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
104         OPEN_DELETE is used.
105
106 2005-02-09  Tom Tromey  <tromey@redhat.com>
107
108         * java/util/zip/InflaterInputStream.java (markSupported):
109         Override.
110         (mark, reset): Likewise.
111
112 2005-02-08  Tom Tromey  <tromey@redhat.com>
113
114         * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
115         name or port is missing.
116         (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
117         AUTHORITY_PORT_GROUP): Updated.
118
119 2005-02-08  Tom Tromey  <tromey@redhat.com>
120
121         * configure: Rebuilt.
122         * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
123         AC_CHECK_HEADERS.
124
125 2005-02-07  Tom Tromey  <tromey@redhat.com>
126
127         * java/lang/natRuntime.cc (insertSystemProperties): Set
128         sun.boot.class.path earlier.
129
130 2005-02-07  Tom Tromey  <tromey@redhat.com>
131
132         * defineclass.cc (handleClassBegin): Use
133         _Jv_RegisterInitiatingLoader.
134         * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
135         * java/lang/natVMClassLoader.cc (resolveClass): Don't register
136         class.  Use _Jv_UnregisterInitiatingLoader.
137         * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
138         New function.
139
140 2005-02-07  Mark Wielaard  <mark@klomp.org>
141
142         Reported by Timo Lindfors <timo.lindfors@iki.fi>
143         java/util/regex/Matcher.java (lookingAt): Set position when match
144         found.
145         (matches): Implemented through lookingAt().
146
147 2005-02-07  Mark Wielaard  <mark@klomp.org>
148
149         Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
150         * java/util/regex/Pattern.java (split(CharSequence,int)):
151         Fix while empties > 0 loops.
152
153 2005-02-07  Robert Schuster  <thebohemian@gmx.net>
154
155         * gnu/java/nio/charset/ISO_8859_1.java,
156         gnu/java/nio/charset/US_ASCII.java, 
157         gnu/java/nio/charset/UTF_16.java,
158         gnu/java/nio/charset/UTF_16_LE.java,
159         gnu/java/nio/charset/UTF_16_BE.java,
160         gnu/java/nio/charset/UTF_8.java: Fixed canonical names
161          and aliases according to
162          "http://www.iana.org/assignments/character-sets",
163          "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
164          and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
165         * gnu/java/nio/charset/Provider.java: Made charset lookup
166          case-insensitive which fixes bug #11740. 
167
168 2005-02-07  Tom Tromey  <tromey@redhat.com>
169
170         PR libgcj/19611:
171         * Makefile.in: Rebuilt.
172         * Makefile.am (src.zip): New target.
173         (install-src.zip): Likewise.
174         (sourcesdir): New variable.
175
176 2005-02-06  Jerry Quinn  <jlquinn@optonline.net>
177
178         * javax/imageio/metadata/IIOMetadataNode.java:
179         Implemented.
180         * javax/imageio/metadata/IIOAttr.java,
181         javax/imageio/metadata/IIONamedNodeMap.java,
182         javax/imageio/metadata/IIONodeList.java:
183         New files
184
185 2005-02-06  Graydon Hoare  <graydon@redhat.com>
186
187         * gnu/java/awt/ClasspathToolkit.java
188         (registerImageIOSpis): New method.
189         * javax/imageio/ImageIO.java
190         (WriterFormatFilter.filter): Fix copy-and-paste typos.
191         (WriterMIMETypeFilter.filter): Likewise.
192         (ImageReaderIterator): Pass extension argument through to SPI.
193         (getReadersByFilter): Likewise.
194         (getWritersByFilter): Likewise.
195         (getImageReadersByFormatName): Likewise.
196         (getImageReadersByMIMEType): Likewise.
197         (getImageReadersBySuffix): Likewise.
198         (getImageWritersByFormatName): Likewise.
199         (getImageWritersByMIMEType): Likewise.
200         (getImageWritersBySuffix): Likewise.
201         (read): Implement.
202         (write): Implement.
203         * javax/imageio/ImageReader.java
204         (progressListeners): Initialize.
205         (setInput): Implement.
206         * javax/imageio/ImageWriter.java
207         (progressListeners): Initialize.
208         (warningListeners): Likewise.
209         (warningLocales): Likewise.
210         (setOutput): Test "isInstance" rather than class equality.
211         * javax/imageio/spi/IIORegistry.java
212         (static): Add reader and writer SPIs.
213         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
214
215 2004-02-06  Michael Koch  <konqueror@gmx.de>
216
217         * javax/imageio/metadata/IIOInvalidTreeException.java
218         (IIOInvalidTreeException): Reformatted.
219         * javax/imageio/spi/IIORegistry.java
220         (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
221         * javax/imageio/stream/MemoryCacheImageInputStream.java:
222         Reworked import statements.
223
224 2004-02-06  Michael Koch  <konqueror@gmx.de>
225
226         * javax/imageio/stream/FileImageOutputStream.java:
227         Implemented.
228
229 2004-02-06  Michael Koch  <konqueror@gmx.de>
230
231         * javax/imageio/stream/FileCacheImageInputStream.java,
232         javax/imageio/stream/FileCacheImageOutputStream.java,
233         javax/imageio/stream/FileImageInputStream.java,
234         javax/imageio/stream/ImageInputStreamImpl.java,
235         javax/imageio/stream/ImageOutputStreamImpl.java,
236         javax/imageio/stream/MemoryCacheImageInputStream.java,
237         javax/imageio/stream/MemoryCacheImageOutputStream.java:
238         Added all missing methods in javax.imageio.stream.
239
240 2005-02-02  David Daney  <ddaney@avtrex.com>
241
242         * java/net/InetAddress.java (InetAddress): Make a private copy of
243         the address.
244         * java/net/Inet4Address.java (getAddress): Return a copy of the
245         address.
246         * java/net/Inet6Address.java (Inet6Address): Use private copy of
247         the address
248         (getAddress): Return a copy of the address.
249         (equals): Rewrote.
250
251 2005-02-02  Tom Tromey  <tromey@redhat.com>
252
253         * Makefile.in: Rebuilt.
254         * Makefile.am (classes.stamp): New target, broken out from
255         libgcj.jar target.
256         ($(all_java_class_files)): Depend on it.
257         (libgcj-@gcc_version@.jar): Likewise.
258         (all-recursive): Likewise.
259         (CLEANFILES): Include classes.stamp.
260
261 2005-02-02  Hans Boehm  <Hans.Boehm@hp.com>
262
263         * link.cc: Include <stdio.h>
264
265 2005-02-02  Tom Tromey  <tromey@redhat.com>
266
267         PR libgcj/19681:
268         * Makefile.in: Rebuilt.
269         * Makefile.am (ordinary_java_source_files): Added new class.
270         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
271         Use system_instance, not instance.
272         * gnu/gcj/runtime/SystemClassLoader.java: New file.
273         * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
274         java.class.path.
275         (system_instance): New field.
276         (initialize): Initialize the system loader as well.
277         (VMClassLoader): Default to LIB_CACHE.
278
279 2005-02-02  Tom Tromey  <tromey@redhat.com>
280
281         * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
282         * prims.cc: Fixed comment.
283
284 2005-02-01  Tom Tromey  <tromey@redhat.com>
285
286         * Makefile.in: Rebuilt.
287         * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
288         (.java.class): Use BOOTCLASSPATH.
289
290 2005-02-01  Tom Tromey  <tromey@redhat.com>
291
292         * external/w3c_dom/Makefile.am: New file.
293         * external/w3c_dom/Makefile.in: New file.
294         * external/sax/Makefile.am: New file.
295         * external/sax/Makefile.in: New file.
296         * external/Makefile.in: New file.
297         * external/Makefile.am: New file.
298         * external/README: New file from Classpath.
299         * configure, aclocal.m4, Makefile.in: Rebuilt.
300         * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
301         * Makefile.am (SUBDIRS): Added external.
302         (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
303         lib-org-w3c-dom.la, lib-org-ietf-gss.la.
304         (BOOTCLASSPATH): New variable.
305         (AM_GCJFLAGS): Use it.
306         (gnu_xml_source_files): New variable.
307         (libgcj_la_SOURCES): Use it.
308         (libgcj_la_LDADD): Include new convenience libraries.
309         (lib_org_ietf_jgss_la_SOURCES): Removed.
310         (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
311         (lib_org_ietf_jgss_la_LIBADD): Likewise.
312         (lib_org_w3c_dom_la_SOURCES): Removed.
313         (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
314         (lib_org_w3c_dom_la_LIBADD): Likewise.
315         (lib_org_xml_sax_la_SOURCES): Removed.
316         (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
317         (lib_org_xml_sax_la_LIBADD): Likewise.
318         (all_java_source_files): Updated.
319         (property_files): Likewise.
320         (libgcj-@gcc_version@.jar): Include classes from external/.
321         (javax_source_files): Updated.
322         (ordinary_java_source_files): Updated.
323         * javax/xml/XMLConstants.java,
324         javax/xml/datatype/DatatypeConfigurationException.java,
325         javax/xml/datatype/DatatypeConstants.java,
326         javax/xml/datatype/DatatypeFactory.java,
327         javax/xml/datatype/Duration.java,
328         javax/xml/datatype/XMLGregorianCalendar.java,
329         javax/xml/datatype/package.html,
330         javax/xml/namespace/NamespaceContext.java,
331         javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
332         javax/xml/parsers/DocumentBuilder.java,
333         javax/xml/parsers/DocumentBuilderFactory.java,
334         javax/xml/parsers/FactoryConfigurationError.java,
335         javax/xml/parsers/ParserConfigurationException.java,
336         javax/xml/parsers/SAXParser.java,
337         javax/xml/parsers/SAXParserFactory.java,
338         javax/xml/parsers/package.html,
339         javax/xml/transform/ErrorListener.java,
340         javax/xml/transform/OutputKeys.java,
341         javax/xml/transform/Result.java, javax/xml/transform/Source.java,
342         javax/xml/transform/SourceLocator.java,
343         javax/xml/transform/Templates.java,
344         javax/xml/transform/Transformer.java,
345         javax/xml/transform/TransformerConfigurationException.java,
346         javax/xml/transform/TransformerException.java,
347         javax/xml/transform/TransformerFactory.java,
348         javax/xml/transform/TransformerFactoryConfigurationError.java,
349         javax/xml/transform/URIResolver.java,
350         javax/xml/transform/package.html,
351         javax/xml/transform/dom/DOMLocator.java,
352         javax/xml/transform/dom/DOMResult.java,
353         javax/xml/transform/dom/DOMSource.java,
354         javax/xml/transform/dom/package.html,
355         javax/xml/transform/sax/SAXResult.java,
356         javax/xml/transform/sax/SAXSource.java,
357         javax/xml/transform/sax/SAXTransformerFactory.java,
358         javax/xml/transform/sax/TemplatesHandler.java,
359         javax/xml/transform/sax/TransformerHandler.java,
360         javax/xml/transform/sax/package.html,
361         javax/xml/transform/stream/StreamResult.java,
362         javax/xml/transform/stream/StreamSource.java,
363         javax/xml/transform/stream/package.html,
364         javax/xml/validation/Schema.java,
365         javax/xml/validation/SchemaFactory.java,
366         javax/xml/validation/TypeInfoProvider.java,
367         javax/xml/validation/Validator.java,
368         javax/xml/validation/ValidatorHandler.java,
369         javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
370         javax/xml/xpath/XPathConstants.java,
371         javax/xml/xpath/XPathException.java,
372         javax/xml/xpath/XPathExpression.java,
373         javax/xml/xpath/XPathExpressionException.java,
374         javax/xml/xpath/XPathFactory.java,
375         javax/xml/xpath/XPathFactoryConfigurationException.java,
376         javax/xml/xpath/XPathFunction.java,
377         javax/xml/xpath/XPathFunctionException.java,
378         javax/xml/xpath/XPathFunctionResolver.java,
379         javax/xml/xpath/XPathVariableResolver.java,
380         javax/xml/xpath/package.html: New files, from GNU JAXP.
381         * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
382         org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
383         org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
384         org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
385         org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
386         org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
387         org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
388         org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
389         org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
390         org/w3c/dom/ranges/DocumentRange.java,
391         org/w3c/dom/ranges/Range.java,
392         org/w3c/dom/ranges/RangeException.java,
393         org/w3c/dom/traversal/DocumentTraversal.java,
394         org/w3c/dom/traversal/NodeFilter.java,
395         org/w3c/dom/traversal/NodeIterator.java,
396         org/w3c/dom/traversal/TreeWalker.java,
397         org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
398         org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
399         org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
400         org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
401         org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
402         org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
403         org/xml/sax/SAXNotRecognizedException.java,
404         org/xml/sax/SAXNotSupportedException.java,
405         org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
406         org/xml/sax/XMLReader.java, org/xml/sax/package.html,
407         org/xml/sax/ext/DeclHandler.java,
408         org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
409         org/xml/sax/helpers/AttributeListImpl.java,
410         org/xml/sax/helpers/AttributesImpl.java,
411         org/xml/sax/helpers/DefaultHandler.java,
412         org/xml/sax/helpers/LocatorImpl.java,
413         org/xml/sax/helpers/NamespaceSupport.java,
414         org/xml/sax/helpers/NewInstance.java,
415         org/xml/sax/helpers/ParserAdapter.java,
416         org/xml/sax/helpers/ParserFactory.java,
417         org/xml/sax/helpers/XMLFilterImpl.java,
418         org/xml/sax/helpers/XMLReaderAdapter.java,
419         org/xml/sax/helpers/XMLReaderFactory.java,
420         org/xml/sax/helpers/package.html: Moved to external/.
421         * external/sax/README,
422         external/sax/org/xml/sax/AttributeList.java,
423         external/sax/org/xml/sax/Attributes.java,
424         external/sax/org/xml/sax/ContentHandler.java,
425         external/sax/org/xml/sax/DTDHandler.java,
426         external/sax/org/xml/sax/DocumentHandler.java,
427         external/sax/org/xml/sax/EntityResolver.java,
428         external/sax/org/xml/sax/ErrorHandler.java,
429         external/sax/org/xml/sax/HandlerBase.java,
430         external/sax/org/xml/sax/InputSource.java,
431         external/sax/org/xml/sax/Locator.java,
432         external/sax/org/xml/sax/Parser.java,
433         external/sax/org/xml/sax/SAXException.java,
434         external/sax/org/xml/sax/SAXNotRecognizedException.java,
435         external/sax/org/xml/sax/SAXNotSupportedException.java,
436         external/sax/org/xml/sax/SAXParseException.java,
437         external/sax/org/xml/sax/XMLFilter.java,
438         external/sax/org/xml/sax/XMLReader.java,
439         external/sax/org/xml/sax/package.html,
440         external/sax/org/xml/sax/ext/Attributes2.java,
441         external/sax/org/xml/sax/ext/Attributes2Impl.java,
442         external/sax/org/xml/sax/ext/DeclHandler.java,
443         external/sax/org/xml/sax/ext/DefaultHandler2.java,
444         external/sax/org/xml/sax/ext/EntityResolver2.java,
445         external/sax/org/xml/sax/ext/LexicalHandler.java,
446         external/sax/org/xml/sax/ext/Locator2.java,
447         external/sax/org/xml/sax/ext/Locator2Impl.java,
448         external/sax/org/xml/sax/ext/package.html,
449         external/sax/org/xml/sax/helpers/AttributeListImpl.java,
450         external/sax/org/xml/sax/helpers/AttributesImpl.java,
451         external/sax/org/xml/sax/helpers/DefaultHandler.java,
452         external/sax/org/xml/sax/helpers/LocatorImpl.java,
453         external/sax/org/xml/sax/helpers/NamespaceSupport.java,
454         external/sax/org/xml/sax/helpers/NewInstance.java,
455         external/sax/org/xml/sax/helpers/ParserAdapter.java,
456         external/sax/org/xml/sax/helpers/ParserFactory.java,
457         external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
458         external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
459         external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
460         external/sax/org/xml/sax/helpers/package.html,
461         external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
462         external/w3c_dom/org/w3c/dom/Attr.java,
463         external/w3c_dom/org/w3c/dom/CDATASection.java,
464         external/w3c_dom/org/w3c/dom/CharacterData.java,
465         external/w3c_dom/org/w3c/dom/Comment.java,
466         external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
467         external/w3c_dom/org/w3c/dom/DOMError.java,
468         external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
469         external/w3c_dom/org/w3c/dom/DOMException.java,
470         external/w3c_dom/org/w3c/dom/DOMImplementation.java,
471         external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
472         external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
473         external/w3c_dom/org/w3c/dom/DOMLocator.java,
474         external/w3c_dom/org/w3c/dom/DOMStringList.java,
475         external/w3c_dom/org/w3c/dom/Document.java,
476         external/w3c_dom/org/w3c/dom/DocumentFragment.java,
477         external/w3c_dom/org/w3c/dom/DocumentType.java,
478         external/w3c_dom/org/w3c/dom/Element.java,
479         external/w3c_dom/org/w3c/dom/Entity.java,
480         external/w3c_dom/org/w3c/dom/EntityReference.java,
481         external/w3c_dom/org/w3c/dom/NameList.java,
482         external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
483         external/w3c_dom/org/w3c/dom/Node.java,
484         external/w3c_dom/org/w3c/dom/NodeList.java,
485         external/w3c_dom/org/w3c/dom/Notation.java,
486         external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
487         external/w3c_dom/org/w3c/dom/Text.java,
488         external/w3c_dom/org/w3c/dom/TypeInfo.java,
489         external/w3c_dom/org/w3c/dom/UserDataHandler.java,
490         external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
491         external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
492         external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
493         external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
494         external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
495         external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
496         external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
497         external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
498         external/w3c_dom/org/w3c/dom/css/CSSRule.java,
499         external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
500         external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
501         external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
502         external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
503         external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
504         external/w3c_dom/org/w3c/dom/css/CSSValue.java,
505         external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
506         external/w3c_dom/org/w3c/dom/css/Counter.java,
507         external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
508         external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
509         external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
510         external/w3c_dom/org/w3c/dom/css/RGBColor.java,
511         external/w3c_dom/org/w3c/dom/css/Rect.java,
512         external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
513         external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
514         external/w3c_dom/org/w3c/dom/events/Event.java,
515         external/w3c_dom/org/w3c/dom/events/EventException.java,
516         external/w3c_dom/org/w3c/dom/events/EventListener.java,
517         external/w3c_dom/org/w3c/dom/events/EventTarget.java,
518         external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
519         external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
520         external/w3c_dom/org/w3c/dom/events/UIEvent.java,
521         external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
522         external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
523         external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
524         external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
525         external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
526         external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
527         external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
528         external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
529         external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
530         external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
531         external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
532         external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
533         external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
534         external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
535         external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
536         external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
537         external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
538         external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
539         external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
540         external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
541         external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
542         external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
543         external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
544         external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
545         external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
546         external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
547         external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
548         external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
549         external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
550         external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
551         external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
552         external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
553         external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
554         external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
555         external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
556         external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
557         external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
558         external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
559         external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
560         external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
561         external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
562         external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
563         external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
564         external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
565         external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
566         external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
567         external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
568         external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
569         external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
570         external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
571         external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
572         external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
573         external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
574         external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
575         external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
576         external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
577         external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
578         external/w3c_dom/org/w3c/dom/ls/LSException.java,
579         external/w3c_dom/org/w3c/dom/ls/LSInput.java,
580         external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
581         external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
582         external/w3c_dom/org/w3c/dom/ls/LSParser.java,
583         external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
584         external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
585         external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
586         external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
587         external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
588         external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
589         external/w3c_dom/org/w3c/dom/ranges/Range.java,
590         external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
591         external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
592         external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
593         external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
594         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
595         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
596         external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
597         external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
598         external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
599         external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
600         external/w3c_dom/org/w3c/dom/views/AbstractView.java,
601         external/w3c_dom/org/w3c/dom/views/DocumentView.java,
602         external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
603         external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
604         external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
605         external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
606         external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
607         external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
608         from Classpath.
609
610 2005-01-31  Anthony Green  <green@redhat.com>
611
612         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
613         Support IP_MULTICAST_LOOP.
614         (setOption): Support IP_MULTICAST_LOOP.
615
616         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
617         SO_REUSEADDR support.
618         (getOption): Support SO_REUSEADDR.
619
620 2004-01-28  Jeroen Frijters  <jeroen@frijters.net>
621
622         PR libgcj/19649
623         * java/util/Date.java
624         (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
625         constructor.
626         (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
627         arguments.
628         (getTimezoneOffset): Inverted sign.
629
630 2005-01-26  Ranjit Mathew  <rmathew@hotmail.com>
631
632         * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
633         remove other passing tests and add new XFAILs.
634
635 2005-01-24  Tom Tromey  <tromey@redhat.com>
636
637         * java/lang/Class.h (next): Updated documentation.  Renamed to
638         'next_or_version'.
639         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
640         _Jv_CheckABIVersion.
641         (_Jv_RegisterClasses_Counted): Likewise.
642         (_Jv_RegisterClassHookDefault): Fix starting condition of
643         duplicate-checking loop.
644         * include/jvm.h (GCJ_VERSION): New define.
645         (GCJ_BINARYCOMPAT_ADDITION): Likewise.
646         (_Jv_CheckABIVersion): New function.
647
648 2005-01-24  Jakub Jelinek  <jakub@redhat.com>
649
650         * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
651         (libgij_la_LDFLAGS): Add.
652         * Makefile.in: Rebuilt.
653
654 2005-01-24  Roger Sayle  <roger@eyesopen.com>
655
656         PR java/19295
657         * testsuite/libjava.compile/PR19295.java: New test case.
658
659 2005-01-19  Tom Tromey  <tromey@redhat.com>
660
661         * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
662         * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
663         if 'handler' is valid.
664
665 2005-01-17  Tom Tromey  <tromey@redhat.com>
666
667         * java/text/MessageFormat.java (scanString): Changed how quoting
668         is handled.
669         (scanFormatElement): Likewise.
670
671 2004-12-07  Mark Wielaard  <mark@klomp.org>
672
673         * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
674
675 2005-01-15  Michael Koch  <konqueror@gmx.de>
676
677         PR libgcj/19444
678         * java/net/URI.java
679         (AUTHORITY_REGEXP): New regexp constant.
680         (AUTHORITY_USERINFO_GROUP): New constant.
681         (AUTHORITY_HOST_GROUP): Likewise.
682         (AUTHORITY_PORT_GROUP): Likewise.
683         (port): Changed default value to -1.
684         (parseURI): Parse authority part and initialize host,
685         port and userInfo.
686
687 2005-01-14  Robin Green  <greenrd@greenrd.org>
688
689         * java/io/File.java (toURI): Generate a URI which we understand.
690
691 2005-01-13  Graydon Hoare  <graydon@redhat.com>
692
693         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
694         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
695         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
696         * jni.cc: Reuse bottom frame between calls, avoid clearing
697         frame when no local references are made.
698
699 2005-01-13  Michael Koch  <konqueror@gmx.de>
700
701         PR libgcj/17784
702         * java/lang/Thread.java
703         (Thread): Call checkAccess().
704         (stop): Fixed argument name to match javadoc.
705         * java/lang/natThread.cc
706         (interrupt): Call checkAccess().
707         (stop): Likewise.
708
709 2005-01-11  Michael Koch  <konqueror@gmx.de>
710
711         PR libgcj/13972
712         * java/net/URL.java (URL): Handle specs like
713         "/redir?http://domain2.com/index.html" which start with a slash.
714
715 2005-01-11  Michael Koch  <konqueror@gmx.de>
716
717         PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
718         * gnu/java/net/BASE64.java,
719         gnu/java/net/EmptyX509TrustManager.java,
720         gnu/java/net/LineInputStream.java,
721         gnu/java/net/protocol/http/Authenticator.java,
722         gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
723         gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
724         gnu/java/net/protocol/http/ChunkedInputStream.java,
725         gnu/java/net/protocol/http/Cookie.java,
726         gnu/java/net/protocol/http/CookieManager.java,
727         gnu/java/net/protocol/http/Credentials.java,
728         gnu/java/net/protocol/http/HTTPConnection.java,
729         gnu/java/net/protocol/http/HTTPDateFormat.java,
730         gnu/java/net/protocol/http/HTTPURLConnection.java,
731         gnu/java/net/protocol/http/Headers.java,
732         gnu/java/net/protocol/http/Request.java,
733         gnu/java/net/protocol/http/RequestBodyWriter.java,
734         gnu/java/net/protocol/http/Response.java,
735         gnu/java/net/protocol/http/ResponseBodyReader.java,
736         gnu/java/net/protocol/http/ResponseHeaderHandler.java,
737         gnu/java/net/protocol/http/SimpleCookieManager.java,
738         gnu/java/net/protocol/http/event/ConnectionEvent.java,
739         gnu/java/net/protocol/http/event/ConnectionListener.java,
740         gnu/java/net/protocol/http/event/RequestEvent.java,
741         gnu/java/net/protocol/http/event/RequestListener.java: New files.
742         * gnu/java/net/protocol/http/Connection.java: Removed.
743         * gnu/java/net/protocol/http/Handler.java,
744         javax/net/ssl/HttpsURLConnection.java: Updated.
745         * Makefile.am: Added new files and remove old ones.
746         * Makefile.in: Regenerated.
747
748 2005-01-11  Tom Tromey  <tromey@redhat.com>
749
750         PR libgcj/18840:
751         * java/io/BufferedInputStream.java (read): Repeatedly read to
752         fill buffer.
753         (refill): Change test to see if buffer must be grown.
754
755 2005-01-10  Tom Tromey  <tromey@redhat.com>
756
757         * mauve-libgcj: Exclude some swing tests.
758
759 2005-01-10  Tom Tromey  <tromey@redhat.com>
760
761         PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
762         * java/lang/Package.java (getPackages): Use VMClassLoader when
763         appropriate.
764         (getPackage): Likewise.
765         * prims.cc (_Jv_CreateJavaVM): Call
766         _Jv_RegisterBootstrapPackages.
767         * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
768         * java/lang/VMClassLoader.java (getPackage): Rewrote.
769         (getPackages): Likewise.
770         (definedPackages): New field.
771         (definePackageForNative): New method.
772         * java/lang/Class.h (_Jv_FindClassInCache): Updated.
773         * java/lang/natVMClassLoader.cc (loadClass): Updated.
774         * defineclass.cc (handleClassBegin): Use
775         ClassLoader.findLoadedClass.
776         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
777         Rewrote.
778         (struct _Jv_LoaderInfo): Removed.
779         (initiated_classes): Likewise.
780         (_Jv_UnregisterClass): Don't use initiated_classes.
781         (_Jv_FindClassInCache): Likewise.  Removed 'loader' argument.
782         (_Jv_FindClass): Register classes found during boostrap.
783         (BOOTSTRAP_CLASS_LIST_SIZE): New define.
784         (bootstrap_class_list): New global.
785         (bootstrap_index): Likewise.
786         (_Jv_RegisterBootstrapPackages): New function.
787         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
788         definePackageForNative.
789         (findClass): Updated.
790         * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
791         New method.
792
793 2005-01-10  Tom Tromey  <tromey@redhat.com>
794
795         PR libgcj/18868:
796         * include/jvm.h (_Jv_Linker::find_field): Declare.
797         (_Jv_Linker::find_field_helper): Likewise.
798         * link.cc (find_field_helper): New method.
799         (find_field): Likewise.
800         (resolve_pool_entry): Use it.  Throw NoSuchFieldError when field
801         not found.
802         (link_symbol_table): Use find_field.
803
804 2005-01-10  Michael Koch  <konqueror@gmx.de>
805
806         PR libgcj/18014
807         * java/util/Locale.java (Locale): Don't uppercase variant.
808         (getISOCountries): Fixed typo in javadoc.
809
810 2005-01-10  Michael Koch  <konqueror@gmx.de>
811
812         * java/util/SimpleTimeZone.java (checkRule):
813         Throw IllegalArgumentException on invalid month values.
814         * java/util/TimeZone.java (setID):
815         Throw NullPointerException if needed.
816
817 2005-01-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
818
819         * java/util/SimpleTimeZone.java (getOffset):
820         offset end date with daylight savings
821
822 2005-01-10  Ranjit Mathew  <rmathew@hotmail.com>
823
824         * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
825         * testsuite/libjava.compile/PR19277.xfail: Likewise.
826
827 2005-01-09  Michael Koch  <konqueror@gmx.de>
828
829         PR libgcj/17069
830         * java/net/InetAddress.java (getLocalHost):
831         Throw UnknownHostException if local hostname cannot be determined.
832
833 2005-01-06  Tom Tromey  <tromey@redhat.com>
834
835         * java/lang/ClassLoader.java (findClass): Fixed documentation.
836
837 2005-01-07  Michael Koch  <konqueror@gmx.de>
838
839         PR libgcj/18115
840         * java/nio/Buffer.java (address): New field.
841         * java/nio/DirectByteBufferImpl.java (address): Removed.
842         * java/nio/MappedByteBufferImpl.java (address): Likewise.
843         * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
844         Explicitly initialize Buffer.address if needed.
845         * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
846         * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
847         * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
848         * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
849         * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
850         * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
851         DirectByteBufferImpl object.
852         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
853         * testsuite/libjava.jni/directbuffer.c,
854         testsuite/libjava.jni/directbuffer.java,
855         testsuite/libjava.jni/directbuffer.out,
856         testsuite/libjava.jni/bytebuffer.c,
857         testsuite/libjava.jni/bytebuffer.java,
858         testsuite/libjava.jni/bytebuffer.out: New files.
859
860 2005-01-05  Tom Tromey  <tromey@redhat.com>
861
862         * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
863         argument.
864         (compressedSize): Now 'long'.  Default to -1.
865         (getCompressedSize): Rewrote.
866         * java/util/zip/DeflaterOutputStream.java (deflate): Don't
867         deflate at all if we need input.
868
869 2005-01-05  Tom Tromey  <tromey@redhat.com>
870
871         PR libgcj/15719:
872         * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
873         correctly.
874
875 2005-01-05  Tom Tromey  <tromey@redhat.com>
876
877         * java/lang/natRuntime.cc (insertSystemProperties): Set
878         java.ext.dirs earlier.
879
880 2005-01-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
881
882         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
883         sync_info element of the object if needed.
884
885 2005-01-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
886
887         * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
888         a non-zero exit status from 'false'.
889
890 2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>
891
892         * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.
893
894 2004-12-31  Andreas Jaeger  <aj@suse.de>
895
896         * testsuite/lib/libjava.exp (libjava_find_gij): Handle multilibs.
897
898 2004-12-20  Tom Tromey  <tromey@redhat.com>
899
900         * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
901         Re-enable duplicate class registration error.
902
903         * testsuite/libjava.jar/jar.exp (gcj_jar_interpret): Updated.
904         * testsuite/libjava.verify/verify.exp (gcj_verify_run): Updated.
905         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Updated.
906         * testsuite/lib/libjava.exp (libjava_find_spec): Don't use
907         get_multilibs.
908         (libjava_find_gij): Likewise.  Changed return result if gij not
909         found.
910         (test_libjava_from_javac): Updated.
911
912         PR java/15001
913         * testsuite/libjava.jni/iface.c: New file.
914         * testsuite/libjava.jni/iface.out: New file.
915         * testsuite/libjava.jni/iface.java: New file.
916
917 2004-12-19  Kelley Cook  <kcook@gcc.gnu.org>
918
919         * include/config.h.in: Regenerate.
920
921 2004-12-10  Andrew Haley  <aph@redhat.com>
922
923         PR java/15001
924         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Look up
925         abstract methods by name.
926
927 2004-12-08  Ranjit Mathew  <rmathew@hotmail.com>
928
929         * java/util/IdentityHashMap.java (put): Replace mistaken use
930         of "<<" by "*".
931
932 2004-12-06  Tom Tromey  <tromey@redhat.com>
933
934         For PR java/14853:
935         * testsuite/libjava.compile/PR14853.java: New file.
936         * testsuite/libjava.compile/PR14853.xfail: New file.
937
938 2004-12-03  Richard Sandiford  <rsandifo@redhat.com>
939
940         PR libgcj/7305
941         * configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
942         * Makefile.am (install-data-local): Install headers into
943         $(gxx_include_dir) rather than $(includedir).
944         (AM_MAKEFLAGS): Pass down gxx_include_dir.
945         * gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
946         * include/Makefile.am (tool_include__HEADERS): Define this...
947         (include_HEADERS): ...instead of this.
948         * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
949         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
950
951 2004-12-02  Tom Tromey  <tromey@redhat.com>
952
953         For PR java/16675:
954         * testsuite/libjava.compile/PR16675.java: New file.
955
956 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
957
958         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
959         * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
960         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
961
962 2004-12-01  Tom Tromey  <tromey@redhat.com>
963
964         * include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
965         name.
966         (_Jv_ThreadRegister): Likewise.
967         (_Jv_MutexCheckMonitor): Likewise.
968
969         * link.cc: Include limits.h.
970
971 2004-12-01  Bryce McKinlay  <mckinlay@redhat.com>
972
973         PR libgcj/18699
974         * testsuite/libjava.lang/PR18699.java,
975         testsuite/libjava.lang/PR18699.out: New test.
976
977 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
978
979         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawImage variants):
980         Update image observer.
981         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
982         Start image production.
983         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Protect
984         against negative menu bar widths.
985         (setBounds): Likewise.
986         (postConfigureEvent): Likewise.
987         * gnu/java/awt/peer/gtk/GtkImage.java (imageComplete): Don't
988         remove consumer unless only a single frame has completed.
989         * gnu/java/awt/peer/gtk/GtkImagePainter.java (GtkImagePainter):
990         Add observer parameter.
991         (setPixels): Update image observer.
992         (imageComplete): Likewise.
993         * java/applet/Applet.java (width): New field.
994         (height): Likewise.
995         (setStub): Set size if width or height field has been set.
996         (resize): If stub is null save width and height values.
997         * java/awt/Component.java (reshape): Protect against null
998         parent.
999         * java/awt/image/MemoryImageSource.java
1000         (MemoryImageSource(int,int,ColorModel,byte[],int,int)):
1001         Document.
1002         (MemoryImageSource(int,int,ColorModel,int[],int,int)):
1003         Likewise.
1004         (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable)):
1005         Reference pixel array directly, rather than creating a local
1006         copy.
1007         (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable)):
1008         Likewise.
1009         (newPixels(int,int,int,int)): Fix for loop and array copy
1010         bounds.
1011         (newPixels(int,int,int,int,boolean)): Likewise.
1012         (startProduction): If animated call imageComplete with
1013         SINGLEFRAME.
1014         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Uncomment
1015         gdk_flush lines.
1016         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
1017         (drawPixels): Return if g is null or g->drawable is not a gdk
1018         drawable.
1019
1020 2004-11-30  Michael Koch  <konqueror@gmx.de>
1021
1022         * javax/swing/DefaultSingleSelectionModel.java,
1023         javax/swing/JPasswordField.java,
1024         javax/swing/tree/AbstractLayoutCache.java:
1025         Reformatted and javadocs cleaned up.
1026
1027 2004-11-30  Michael Koch  <konqueror@gmx.de>
1028
1029         * java/awt/Component.java:
1030         Fixed argument names to match javadocs.
1031         (setFont): Rewritten set property first and then fire event.
1032         (setLocale): Likewise.
1033         * javax/swing/text/JTextComponent.java
1034         (setEditable): Likewise.
1035
1036 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1037
1038         * java/awt/Button.java
1039         (AccessibleAWTButton.getAccessibleActionDescription): Explain the
1040         source of 'click'.
1041
1042 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1043
1044         * java/awt/Checkbox.java: Remove stub comments.
1045
1046 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1047
1048         * java/awt/Button.java
1049         (AccessibleAWTButton.getAccessibleActionDescription): Return
1050         'click'.
1051
1052 2004-11-30  Michael Koch  <konqueror@gmx.de>
1053
1054         * java/awt/CardLayout.java:
1055         Made some constants static.
1056         (serialVersionUID): Made private.
1057         (addLayoutComponent): Simplified code.
1058         * java/awt/event/InputEvent.java
1059         (getModifiersEx): Added missing @param tag.
1060         * java/awt/image/RGBImageFilter.java
1061         (filterRGBPixels): Reformatted, removed wrong @param tag.
1062
1063 2004-11-30  Michael Koch  <konqueror@gmx.de>
1064
1065         * javax/swing/text/FieldView.java,
1066         javax/swing/text/JTextComponent.java:
1067         Removed debug code.
1068
1069 2004-11-30  Michael Koch  <konqueror@gmx.de>
1070
1071         * javax/swing/BorderFactory.java
1072         (BorderFactory): Added private constructor.
1073         * javax/swing/SwingUtilities.java
1074         (SwingUtilities): Likewise.
1075         (computeStringWidth): New method.
1076
1077 2004-11-30  Michael Koch  <konqueror@gmx.de>
1078
1079         * java/awt/color/ICC_Profile.java
1080         (icSigNamedColorTag): Removed.
1081         * java/awt/datatransfer/DataFlavor.java
1082         (isMimeTypeEqual): Made final.
1083         * java/awt/image/AffineTransformOp.java:
1084         Reworked javadocs.
1085         (TYPE_BICUBIC): Added @since tag.
1086
1087 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1088
1089         * java/awt/Checkbox.java (AccessibleAWTCheckBox): Remove todo
1090         comments.
1091
1092 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1093
1094         * java/awt/Checkbox.java (itemStateChanged): Implement function.
1095         (getAccessibleContext): Add AccessibleAWTCheckBox to item listeners.
1096
1097 2004-11-30  Sven de Marothy  <sven@physto.se>
1098
1099         * java/awt/Polygon.java (contains): Reimplemented.
1100
1101 2004-11-30  Michael Koch  <konqueror@gmx.de>
1102
1103         * java/awt/print/PrinterJob.java: Reformatted.
1104
1105 2004-11-30  Michael Koch  <konqueror@gmx.de>
1106
1107         * java/awt/image/AffineTransformOp.java,
1108         java/awt/image/ColorConvertOp.java,
1109         java/awt/image/LookupOp.java,
1110         java/awt/image/RescaleOp.java:
1111         Added final keywords where they belong.
1112
1113 2004-11-30  Michael Koch  <konqueror@gmx.de>
1114
1115         * java/awt/CardLayout.java,
1116         java/awt/Component.java,
1117         java/awt/Font.java,
1118         java/awt/image/SinglePixelPackedSampleModel.java:
1119         Fixed javadocs and argument names all over.
1120
1121 2004-11-30  Michael Koch  <konqueror@gmx.de>
1122
1123         * java/awt/image/DataBufferShort.java: Fixed file header.
1124         * java/awt/image/DataBufferUShort.java: Likewise.
1125         (DataBufferUShort): Throw NullPointerException if dataArray is null.
1126
1127 2004-11-30  Sven de Marothy  <sven@physto.se>
1128
1129         * java/awt/geom/Arc2D.java
1130         (setAngleStart): Corrected (wrong sign on atan2 y parameter).
1131         (setAngles): Likewise.
1132         (containsAngle): Return false on zero extent, don't include
1133         final angle.
1134         (contains): Treat OPEN-type arcs like CHORD ones, not as PIE
1135         ones.
1136
1137 2004-11-30  Sven de Marothy  <sven@physto.se>
1138
1139         * java/awt/geom/AffineTransform.java,
1140         (inverseTransform): Fixed bug and simplified code.
1141         (createTransformedShape): Return null on null parameter.
1142
1143 2004-11-30  Michael Koch  <konqueror@gmx.de>
1144
1145         * java/awt/color/ICC_ColorSpace.java,
1146         java/awt/color/ICC_Profile.java,
1147         java/awt/color/ICC_ProfileGray.java,
1148         java/awt/color/ICC_ProfileRGB.java:
1149         Re-indent copyright header to be standardish.
1150         * java/awt/datatransfer/StringSelection.java:
1151         Reformatted.
1152         * java/awt/geom/Area.java
1153         (EPSILON): Made static.
1154         (RS_EPSILON): Likewise.
1155         (PE_EPSILON): Likewide.
1156
1157 2004-11-30  Sven de Marothy  <sven@physto.se>
1158
1159         * javax/swing/SwingUtilities.java:
1160         (computeDifference): Implemented
1161         (computeIntersection): Likewise
1162         (computeUnion): Likewise
1163         (isRectangleContainingRectangle): Likewise
1164
1165 2004-11-30  Michael Koch  <konqueror@gmx.de>
1166
1167         * java/awt/BasicStroke.java,
1168         java/awt/Button.java,
1169         java/awt/Canvas.java,
1170         java/awt/CheckboxMenuItem.java,
1171         java/awt/Container.java,
1172         java/awt/EventQueue.java,
1173         java/awt/FileDialog.java,
1174         java/awt/FlowLayout.java,
1175         java/awt/FontMetrics.java,
1176         java/awt/Graphics.java,
1177         java/awt/GridLayout.java,
1178         java/awt/KeyboardFocusManager.java,
1179         java/awt/Label.java,
1180         java/awt/LayoutManager2.java,
1181         java/awt/List.java,
1182         java/awt/MenuBar.java,
1183         java/awt/Scrollbar.java,
1184         java/awt/Toolkit.java,
1185         java/awt/Window.java,
1186         java/awt/datatransfer/DataFlavor.java,
1187         java/awt/datatransfer/FlavorTable.java,
1188         java/awt/event/ActionListener.java,
1189         java/awt/event/HierarchyBoundsAdapter.java,
1190         java/awt/geom/Arc2D.java,
1191         java/awt/geom/Rectangle2D.java,
1192         java/awt/geom/RectangularShape.java,
1193         java/awt/im/spi/InputMethod.java,
1194         java/awt/image/ByteLookupTable.java,
1195         java/awt/image/ColorModel.java,
1196         java/awt/image/DirectColorModel.java,
1197         java/awt/image/ShortLookupTable.java,
1198         java/awt/print/Book.java:
1199         Fixed javadocs and method argument names all over.
1200
1201 2004-11-30  Michael Koch  <konqueror@gmx.de>
1202
1203         * gnu/java/awt/peer/gtk/GdkFontPeer.java
1204         (buildString): Optimise String building.
1205
1206 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1207
1208         * java/awt/TextArea.java (AccessibleAWTTextArea,
1209         getAccessibleContext): Implement.
1210         * java/awt/TextField.java (AccessibleAWTTextField,
1211         getAccessibleContext): Implement.
1212
1213 2004-11-30  Tom Tromey  <tromey@redhat.com>
1214
1215         * Makefile.in: Rebuilt.
1216         * Makefile.am (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.lo):
1217         Fixed typo.
1218
1219 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1220
1221         * java/awt/Menu.java (AccessibleAWTMenu, getAccessibleContext):
1222         Implement.
1223         * java/awt/PopupMenu.java (AccessibleAWTMenu, getAccessibleContext):
1224         Implement.
1225
1226 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1227
1228         * java/awt/print/PrinterJob.java (lookupPrintServices,
1229         getPrintService, setPrintService): Implement.
1230         (lookupStreamPrintServices): Add commented out implementation.
1231         (printer): New field.
1232
1233 2004-11-30  Mark Wielaard  <mark@klomp.org>
1234
1235         * javax/swing/ToolTipManager.java (mouseMoved): Set currentComponent
1236         when not yet set.
1237
1238 2004-11-30  Sven de Marothy  <sven@physto.se>
1239
1240         * java/awt/geom/GeneralPath.java (evaluateCrossings):
1241         Fixed epsilon value, should always be nonzero.
1242
1243 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
1244
1245         * java/awt/image/Raster.java
1246         (createPackedRaster): Implemented.
1247
1248 2004-11-30  Graydon Hoare  <graydon@redhat.com>
1249
1250         * javax/swing/plaf/basic/BasicTextUI.java:
1251         Listen to focus events, indicate focus via caret.
1252         * javax/swing/text/GapContent.java (getString): Return substring.
1253         * javax/swing/text/PlainDocument.java (reindex): New method.
1254         (createDefaultRoot): Call it.
1255         (insertUpdate): Likewise.
1256         (removeUpdate): Likewise.
1257         * javax/swing/text/Utilities.java (drawTabbedText): Always advance
1258         on tab and newline, even if no painting happens.
1259
1260 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1261
1262         * Makefile.am: List peer JNI header: Java source file
1263         dependencies explicitly.  Likewise for JNI .lo: JNI header
1264         dependencies.
1265         * Makefile.in: Regenerate.
1266
1267 2004-11-30  Graydon Hoare  <graydon@redhat.com>
1268
1269         * Makefile.am: Add entry for BasicTextPaneUI.java
1270         * Makefile.in: Regenerate.
1271         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1272         (GdkGraphics2D): Set clip after transform.
1273         (drawImage): Protect against null image.
1274         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1275         (setIconImage): Protect against non-GtkImage args.
1276         * gnu/java/awt/peer/gtk/GtkToolkit.java
1277         (checkImage): Protect against non-GtkImage args.
1278         * java/awt/print/PrinterJob.java:
1279         (print): Add variant taking PrintRequestAttributeSet.
1280         (printDialog): Likewise.
1281         * javax/swing/JComponent.java:
1282         (transferHandler): New field.
1283         (getComponentGraphics): Build new Graphics for each sub-paint.
1284         (getTransferHandler): New method.
1285         (setTransferHandler): New method.
1286         * javax/swing/JDesktopPane.java
1287         (setDragMode): Force LIVE_DRAG_MODE.
1288         * javax/swing/JMenuItem.java
1289         (menuSelectionChanged): Protect against null parent.
1290         * javax/swing/JTable.java (setDefaultRenderer): New method.
1291         * javax/swing/JTree.java: Get basic ctors and UI working.
1292         * javax/swing/JViewport.java (JViewport): Set scroll mode.
1293         * javax/swing/RepaintManager.java
1294         (addDirtyRegion): Skip empty regions.
1295         * javax/swing/ScrollPaneLayout.java (minimumLayoutSize): Do not
1296         bound scrollpane minimum by central view minimum.
1297         * javax/swing/ToolTipManager.java
1298         (showTip): Guard against null component.
1299         * javax/swing/TransferHandler.java: Stub out.
1300         * javax/swing/plaf/basic/BasicLookAndFeel.java:
1301         Add entry for TextPaneUI, change Tree icons to pngs.
1302         * javax/swing/plaf/basic/BasicMenuItemUI.java:
1303         (installDefaults): Set text position and alignment.
1304         (paintMenuItem): Layout icon with normal compound function.
1305         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
1306         (getMaximumSize): Delete.
1307         (getMinimumSize): Delete.
1308         (getPreferredSize): Use column model's total width.
1309         * javax/swing/plaf/basic/BasicTextPaneUI.java: New file.
1310         * javax/swing/plaf/basic/BasicTextUI.java
1311         (modelChanged): Make resilient against nulls.
1312         * javax/swing/plaf/basic/BasicTreeUI.java:
1313         Add some simplistic config / painting functions.
1314         * javax/swing/plaf/basic/BasicViewportUI.java
1315         (paintSimple): Add new non-backingstore paint mode.
1316         (paintBackingStore): Split out backing store code.
1317         (paint): Switch on painting mode.
1318         * javax/swing/text/SimpleAttributeSet.java
1319         (SimpleAttributeSet): Resist nulls.
1320         * javax/swing/tree/DefaultTreeCellRenderer.java: Implement.
1321         * javax/swing/tree/DefaultTreeModel.java: Partially implement.
1322
1323 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1324
1325         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (setFont):
1326         Set pango context's description and language.
1327
1328 2004-11-30  Mark Wielaard  <mark@klomp.org>
1329
1330         * java/awt/image/LookupOp.java: Comments and indentation fixes.
1331
1332 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1333
1334         * java/awt/Checkbox.java (AccessibleAWTCheckBox): Implement.
1335         (getAccessibleContext): Implement.
1336
1337 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1338
1339         * java/awt/TextComponent.java (AccessibleAWTTextComponent):
1340         Implement.
1341         (getIndexAtPoint, getCharacterBounds): New methods.
1342
1343 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1344
1345         * java/awt/Button.java (AccessibleAWTButton): Implement.
1346
1347 2004-11-30  Mark Wielaard  <mark@klomp.org>
1348
1349         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1350         (filenameFilterCallback): Made static.
1351
1352 2004-11-30  Michael Koch  <konqueror@gmx.de>
1353
1354         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1355         (cairoShowGlyphs) Removed.
1356
1357 2004-11-30  Sven de Marothy <sven@physto.se>
1358
1359         * gnu/java/awt/color/RgbProfileConverter.java (RgbProfileConverter):
1360         Don't invert matrix when reverse CLUT is available.
1361         * gnu/java/awt/color/LinearRGBConverter.java: Documentation update.
1362         * java/awt/color/ICC_ColorSpace.java: Likewise.
1363         * java/awt/color/ICC_Profile.java: Likewise.
1364         * java/awt/color/ICC_ProfileGray.java: Likewise.
1365         * java/awt/color/ICC_ProfileRGB.java: Likewise.
1366
1367 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1368
1369         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Implement.
1370
1371 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1372
1373         * java/awt/Choice.java (AccessibleAWTChoice): Implement.
1374
1375 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1376
1377         * java/awt/image/BandedSampleModel.java (scanlineStride): Remove
1378         field hiding ComponentSampleModel.scanlineStride.
1379
1380 2004-11-30  Noa Resare  <noa@resare.com>
1381
1382         * java/awt/geom/GeneralPath.java (currentSegment):
1383         Fix typo in transform.transform() invocation.
1384
1385 2004-11-30  Sven de Marothy <sven@physto.se>
1386
1387         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1388         (createImage): Created bitmap should be filled with bg color
1389
1390 2004-11-30  Noa Resare  <noa@resare.com>
1391
1392         * java/awt/Choice.java (add):
1393         Implement correct selection behavior when peer == null.
1394         (insert): Likewise.
1395         (remove): Likewise.
1396
1397 2004-11-30  Mark Wielaard  <mark@klomp.org>
1398
1399         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
1400         Call select() when Choice has a selected item.
1401
1402 2004-11-30  Michael Koch  <address@bogus.example.com>
1403
1404         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
1405         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
1406         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
1407         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c,
1408         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
1409         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
1410         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
1411         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
1412         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
1413         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
1414         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
1415         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1416         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
1417         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
1418         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
1419         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
1420         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
1421         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
1422         Fixed method names to start at begin of line. This is desired by GNU
1423         coding style guide.
1424
1425 2004-11-30  Michael Koch  <konqueror@gmx.de>
1426
1427         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1428         (gtkWidgetSetVisible): Unused. Removed.
1429         (connectJObject): Likewise.
1430         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
1431         (gtkScrolledWindowSetScrollPosition): Commented out.
1432
1433 2004-11-30  Mark Wielaard  <mark@klomp.org>
1434
1435         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
1436         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_setText): Installed and
1437         renamed from Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText.
1438
1439 2004-11-30  Mark Wielaard  <mark@klomp.org>
1440
1441         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
1442         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText): Removed.
1443         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1444         (init_dpi_conversion_factor): Correct prototype.
1445
1446 2004-11-30  Sven de Marothy  <sven@physto.se>
1447
1448         * java/awt/image/ConvolveOp.java: Added missing
1449         copyright notice.
1450
1451 2004-11-30  Robert Schuster  <theBohemian@gmx.net>
1452
1453         Fixes bug #10908
1454         * gnu/java/beans/IntrospectionIncubator.java:
1455         (addMethod): static methods are discarded now, too.
1456
1457 2004-11-30  Mark Wielaard  <mark@klomp.org>
1458
1459         * Makefile.am (awt_java_source_files): Add new gnu/java/awt/color
1460         java source files.
1461         * Makefile.in: Regenerated.
1462
1463 2004-11-30  Sven de Marothy  <sven@physto.se>
1464
1465         * gnu/java/awt/color/CieXyzConverter.java,
1466         gnu/java/awt/color/GrayScaleConverter.java,
1467         gnu/java/awt/color/SrgbConverter.java,
1468         gnu/java/awt/color/ClutProfileConverter.java,
1469         gnu/java/awt/color/LinearRGBConverter.java,
1470         gnu/java/awt/color/TagEntry.java,
1471         gnu/java/awt/color/ColorLookUpTable.java,
1472         gnu/java/awt/color/ProfileHeader.java,
1473         gnu/java/awt/color/ToneReproductionCurve.java,
1474         gnu/java/awt/color/ColorSpaceConverter.java,
1475         gnu/java/awt/color/PyccConverter.java,
1476         gnu/java/awt/color/GrayProfileConverter.java,
1477         gnu/java/awt/color/RgbProfileConverter.java:
1478         New files.
1479         * java/awt/color/ICC_ColorSpace.java,
1480         java/awt/color/ICC_Profile.java,
1481         java/awt/color/ICC_ProfileGray.java,
1482         java/awt/color/ICC_ProfileRGB.java:
1483         Implemented (sans PhotoYCC color space).
1484
1485 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1486
1487         * java/awt/image/AffineTransformOp.java (filter):  Implement
1488         bilinear interpolation for Rasters.
1489
1490 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1491
1492         * java/awt/image/IndexColorModel.java (IndexColorModel): Actually
1493         use the provided colormap.  Throw documented exceptions.  Document
1494         exceptions.
1495
1496 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
1497
1498         * java/awt/image/IndexColorModel.java (IndexColorModel): Fix
1499         constructor.
1500
1501 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1502
1503         * java/awt/image/AffineTransformOp.java: Add TYPE_BICUBIC.
1504
1505 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1506
1507         * java/awt/image/AffineTransformOp.java (filter): Implement Raster
1508         filtering.
1509
1510 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1511
1512         * java/awt/image/ComponentSampleModel.java (getDataElements,
1513         setDataElements): Implement SHORT, FLOAT, and INT transfer types.
1514
1515 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1516
1517         * java/awt/Font.java (name): New field.
1518         (size): Likewise.
1519         (style): Likewise.
1520
1521 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1522
1523         * java/awt/image/Raster.java (createBandedRaster): Implement.
1524
1525 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1526
1527         * java/awt/image/ConvolveOp.java: New class.
1528         * Makefile.am: Add ConvolveOp.
1529         * Makefile.in: Regenerate.
1530
1531 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1532
1533         * java/awt/image/RescaleOp.java (BandCombineOp, ColorConvertOp,
1534         LookupOp, RescaleOp): Fix loop bounds.
1535
1536 2004-11-30  jlquinn  <jlquinn@optonline.net>
1537
1538         * Makefile.am: Fix typo in BandCombineOp.
1539         * Makefile.in: Regenerate.
1540
1541 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1542
1543         * java/awt/image/BandCombineOp.java: New class.
1544         * Makefile.am: Add BandCombineOp.
1545         * Makefile.in: Regenerate.
1546
1547 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1548
1549         * java/awt/image/LookupOp.java: New class.
1550         * Makefile.am: Add LookupOp.
1551         * Makefile.in: Regenerate.
1552
1553 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1554
1555         * java/awt/image/SampleModel.java (createSubsetSampleModel): Add
1556         javadocs.
1557
1558 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1559
1560         * java/awt/image/ColorModel.java (cloneColorModel): Fix line
1561         wrap.  Use Boolean.valueOf.
1562
1563 2004-11-30  Michael Koch  <konqueror@gmx.de>
1564
1565         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1566         (releasePeerGraphicsResource): Fixed typo in method name.
1567         * gnu/java/awt/peer/gtk/GdkFontPeer.java
1568         (finalize): Fixed typo in releasePeerGraphicsResource.
1569
1570 2004-11-30  Michael Koch  <konqueror@gmx.de>
1571
1572         * java/awt/font/TextAttribute.java
1573         (RUN_DIRECTION_LTR): Initialie with static value instead of
1574         calculating it.
1575         (RUN_DIRECTION_RTL): Likewise.
1576         (STRIKETHROUGH_ON): Likewise.
1577         (SWAP_COLORS_ON): Likewise.
1578
1579 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1580
1581         * java/awt/image/ColorConvertOp.java: New class.
1582         * java/awt/image/ColorModel.java (cloneColorModel): New method.
1583         * Makefile.am: Add ColorConvertOp.
1584         * Makefile.in: Regenerate.
1585
1586 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1587
1588         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
1589         Track Window focus owner on FOCUS_GAINED events.
1590
1591 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1592
1593         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
1594         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1595
1596 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1597
1598         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
1599         (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
1600         Fix pointer warning.
1601
1602 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1603
1604         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1605         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
1606         Fix pointer warning.
1607
1608         * jni/gtk-peer/gtkpeer.h: Introduce widget_union to fix type punned
1609         warnings.
1610         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1611         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Use widget_union
1612         to fix type punned pointer warning.
1613         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
1614         Likewise.
1615
1616         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1617         (window_get_new_state): Introduce unions to fix warnings as above.
1618         (window_property_changed_cb): Likewise.
1619         (window_active_state_change_cb): Mark unused variables unused.
1620         (window_focus_state_change_cb): Likewise.
1621         (window_focus_in_cb): Likewise.
1622         (window_focus_out_cb): Likewise.
1623
1624         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
1625         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Convert
1626         PangoFontMap correctly with PANGO_FT2FONT_MAP macro.
1627
1628 2004-11-30  Michael Koch  <konqueror@gmx.de>
1629
1630         * javax/swing/JMenuBar.java
1631         (updateUI): Simplified.
1632         * javax/swing/tree/DefaultTreeSelectionModel.java:
1633         Reorganized import statements.
1634
1635 2004-11-30  Michael Koch  <konqueror@gmx.de>
1636
1637         * java/awt/font/TextAttribute.java,
1638         javax/swing/JComponent.java,
1639         javax/swing/JInternalFrame.java,
1640         javax/swing/table/TableColumn.java,
1641         javax/swing/text/StyleConstants.java:
1642         Replaced "new Boolean(boolean)" with "Boolean.valueOf(boolean)".
1643
1644 2004-11-30  Michael Koch  <konqueror@gmx.de>
1645
1646         * javax/swing/tree/DefaultTreeCellEditor.java,
1647         javax/swing/tree/DefaultTreeModel.java,
1648         javax/swing/tree/DefaultTreeSelectionModel.java:
1649         Jalopied.
1650
1651 2004-11-30  Michael Koch  <konqueror@gmx.de>
1652
1653         * javax/swing/tree/DefaultTreeCellEditor.java
1654         (EditorContainer.EditorContainer): Fixed arguments.
1655         (EditorContainer.EditorContainer): New method.
1656         (DefaultTextField.DefaultTextField): Fixed arguments, implemented.
1657         (DefaultTextField.getBorder): Implemented.
1658         (listenerList): New field.
1659         (addCellEditorListener): Implemented.
1660         (removeCellEditorListener): Implemented.
1661         (getCellEditorListeners): New method.
1662         * javax/swing/tree/DefaultTreeModel.java
1663         (addTreeModelListener): Fixed javadoc.
1664         (removeTreeModelListener): Likewise.
1665         (getTreeModelListeners): New method.
1666         (fireTreeNodesChanged): Implemented.
1667         (fireTreeNodesInserted): Likewise.
1668         (fireTreeNodesRemoved): Likewise.
1669         (fireTreeStructureChanged): Likewise.
1670         (getListeners): Fixed javadoc.
1671         * javax/swing/tree/DefaultTreeSelectionModel.java
1672         (addTreeSelectionListener): Implemented.
1673         (removeTreeSelectionListener): Likewise.
1674         (fireValueChanged): Likewise.
1675         (getListeners): Likewise.
1676         (addPropertyChangeListener): Likewise.
1677         (removePropertyChangeListener): Likewise.
1678         (getTreeSelectionListeners): New method.
1679         (getPropertyChangeListeners): Likewise.
1680
1681 2004-11-30  Michael Koch  <konqueror@gmx.de>
1682
1683         * javax/swing/plaf/basic/BasicScrollBarUI.java
1684         (maximumThumbSize): Removed static keyword.
1685         (minimumThumbSize): Likewise.
1686         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
1687         (CloseAction): Made public.
1688         (IconifyAction): Likewise.
1689         (MaximizeAction): Likewise.
1690         (MoveAction): Likewise.
1691         (RestoreAction): Likewise.
1692         (SizeAction): Likewise.
1693         (SystemMenuBar): Likewise.
1694         * javax/swing/plaf/basic/BasicSliderUI.java
1695         (TrackListener): Likewise.
1696         * javax/swing/plaf/basic/BasicSplitPaneUI.java
1697         (KeyboardDownRightHandler): Likewise.
1698         (KeyboardEndHandler): Likewise.
1699         (KeyboardHomeHandler): Likewise.
1700         (KeyboardResizeToggleHandler): Likewise.
1701         (KeyboardUpLeftHandler): Likewise.
1702         (PropertyHandler): Likewise.
1703         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1704         (PropertyChangeHandler): Likewise.
1705         (TabSelectionHandler): Likewise.
1706
1707 2004-11-30  Michael Koch  <konqueror@gmx.de>
1708
1709         * javax/swing/text/JTextComponent.java
1710         (getKeymap): Made public.
1711
1712 2004-11-30  Michael Koch  <konqueror@gmx.de>
1713
1714         * javax/swing/JEditorPane.java
1715         (getStream): Throws IOException.
1716         (read): Likewise.
1717         * javax/swing/JRootPane.java
1718         (createContentPane): Fixed return type.
1719         * javax/swing/JSpinner.java
1720         (commitEdit): Throws ParseException.
1721         * javax/swing/plaf/metal/MetalLookAndFeel.java
1722         (serialVersionUID): New field.
1723         * javax/swing/table/TableColumn.java
1724         (resizedPostingDisableCount): Added @deprecated tag.
1725         (disableResizedPosting): Likewise.
1726         (enableResizedPosting): Likewise.
1727         * javax/swing/text/Document.java
1728         (TitleProperty): Fixed value.
1729         * javax/swing/tree/TreeCellEditor.java
1730         (TreeCellEditor): Extends CellEditor.
1731
1732 2004-11-30  Michael Koch  <konqueror@gmx.de>
1733
1734         * javax/swing/JWindow.java
1735         javax/swing/SpinnerModel.java
1736         javax/swing/Timer.java
1737         javax/swing/event/MenuKeyEvent.java
1738         javax/swing/plaf/basic/BasicButtonUI.java
1739         javax/swing/plaf/basic/BasicIconFactory.java
1740         javax/swing/plaf/basic/BasicTabbedPaneUI.java
1741         javax/swing/text/AttributeSet.java
1742         javax/swing/text/Highlighter.java
1743         javax/swing/text/StyleConstants.java
1744         javax/swing/tree/TreeCellEditor.java:
1745         Removed redundant and reordered modifiers.
1746
1747 2004-11-30  Michael Koch  <konqueror@gmx.de>
1748
1749         * javax/swing/plaf/basic/BasicToolTipUI.java:
1750         Reformatted copyright header.
1751
1752 2004-11-30  Michael Koch  <konqueror@gmx.de>
1753
1754         * javax/swing/AbstractAction.java,
1755         javax/swing/AbstractButton.java,
1756         javax/swing/AbstractCellEditor.java,
1757         javax/swing/AbstractListModel.java,
1758         javax/swing/AbstractSpinnerModel.java,
1759         javax/swing/ActionMap.java,
1760         javax/swing/BorderFactory.java,
1761         javax/swing/Box.java,
1762         javax/swing/ButtonModel.java,
1763         javax/swing/CellEditor.java,
1764         javax/swing/CellRendererPane.java,
1765         javax/swing/DefaultBoundedRangeModel.java,
1766         javax/swing/DefaultButtonModel.java,
1767         javax/swing/DefaultCellEditor.java,
1768         javax/swing/DefaultDesktopManager.java,
1769         javax/swing/DefaultListCellRenderer.java,
1770         javax/swing/DefaultListSelectionModel.java,
1771         javax/swing/DefaultSingleSelectionModel.java,
1772         javax/swing/GrayFilter.java,
1773         javax/swing/InputMap.java,
1774         javax/swing/JApplet.java,
1775         javax/swing/JCheckBoxMenuItem.java,
1776         javax/swing/JColorChooser.java,
1777         javax/swing/JComboBox.java,
1778         javax/swing/JComponent.java,
1779         javax/swing/JDesktopPane.java,
1780         javax/swing/JDialog.java,
1781         javax/swing/JEditorPane.java,
1782         javax/swing/JFileChooser.java,
1783         javax/swing/JFormattedTextField.java,
1784         javax/swing/JFrame.java,
1785         javax/swing/JInternalFrame.java,
1786         javax/swing/JLabel.java,
1787         javax/swing/JLayeredPane.java,
1788         javax/swing/JList.java,
1789         javax/swing/JMenu.java,
1790         javax/swing/JMenuBar.java,
1791         javax/swing/JMenuItem.java,
1792         javax/swing/JOptionPane.java,
1793         javax/swing/JPanel.java,
1794         javax/swing/JPasswordField.java,
1795         javax/swing/JPopupMenu.java,
1796         javax/swing/JRadioButtonMenuItem.java,
1797         javax/swing/JRootPane.java,
1798         javax/swing/JSpinner.java,
1799         javax/swing/JSplitPane.java,
1800         javax/swing/JTabbedPane.java,
1801         javax/swing/JTable.java,
1802         javax/swing/JTextArea.java,
1803         javax/swing/JTextPane.java,
1804         javax/swing/JToggleButton.java,
1805         javax/swing/JToolBar.java,
1806         javax/swing/JToolTip.java,
1807         javax/swing/JTree.java,
1808         javax/swing/JViewport.java,
1809         javax/swing/ListModel.java,
1810         javax/swing/LookAndFeel.java,
1811         javax/swing/MenuSelectionManager.java,
1812         javax/swing/ProgressMonitorInputStream.java,
1813         javax/swing/RepaintManager.java,
1814         javax/swing/RootPaneContainer.java,
1815         javax/swing/ScrollPaneLayout.java,
1816         javax/swing/SpringLayout.java,
1817         javax/swing/SwingUtilities.java,
1818         javax/swing/Timer.java,
1819         javax/swing/ToolTipManager.java,
1820         javax/swing/UIDefaults.java,
1821         javax/swing/UIManager.java,
1822         javax/swing/border/MatteBorder.java,
1823         javax/swing/colorchooser/AbstractColorChooserPanel.java,
1824         javax/swing/colorchooser/ColorSelectionModel.java,
1825         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1826         javax/swing/colorchooser/DefaultHSBChooserPanel.java,
1827         javax/swing/colorchooser/DefaultPreviewPanel.java,
1828         javax/swing/colorchooser/DefaultRGBChooserPanel.java,
1829         javax/swing/colorchooser/DefaultSwatchChooserPanel.java,
1830         javax/swing/event/AncestorEvent.java,
1831         javax/swing/event/HyperlinkEvent.java,
1832         javax/swing/event/InternalFrameEvent.java,
1833         javax/swing/event/MenuDragMouseEvent.java,
1834         javax/swing/event/TableColumnModelEvent.java,
1835         javax/swing/event/TableModelEvent.java,
1836         javax/swing/event/TreeExpansionEvent.java,
1837         javax/swing/event/TreeModelEvent.java,
1838         javax/swing/event/TreeSelectionEvent.java,
1839         javax/swing/event/TreeWillExpandListener.java,
1840         javax/swing/event/UndoableEditEvent.java,
1841         javax/swing/filechooser/FileView.java,
1842         javax/swing/plaf/BorderUIResource.java,
1843         javax/swing/plaf/ComponentUI.java,
1844         javax/swing/plaf/FileChooserUI.java,
1845         javax/swing/plaf/IconUIResource.java,
1846         javax/swing/plaf/ListUI.java,
1847         javax/swing/plaf/PopupMenuUI.java,
1848         javax/swing/plaf/SplitPaneUI.java,
1849         javax/swing/plaf/TabbedPaneUI.java,
1850         javax/swing/plaf/TextUI.java,
1851         javax/swing/plaf/TreeUI.java,
1852         javax/swing/plaf/basic/BasicArrowButton.java,
1853         javax/swing/plaf/basic/BasicBorders.java,
1854         javax/swing/plaf/basic/BasicButtonUI.java,
1855         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
1856         javax/swing/plaf/basic/BasicColorChooserUI.java,
1857         javax/swing/plaf/basic/BasicComboBoxEditor.java,
1858         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
1859         javax/swing/plaf/basic/BasicComboBoxUI.java,
1860         javax/swing/plaf/basic/BasicComboPopup.java,
1861         javax/swing/plaf/basic/BasicDesktopIconUI.java,
1862         javax/swing/plaf/basic/BasicDesktopPaneUI.java,
1863         javax/swing/plaf/basic/BasicIconFactory.java,
1864         javax/swing/plaf/basic/BasicInternalFrameTitlePane.java,
1865         javax/swing/plaf/basic/BasicInternalFrameUI.java,
1866         javax/swing/plaf/basic/BasicListUI.java,
1867         javax/swing/plaf/basic/BasicLookAndFeel.java,
1868         javax/swing/plaf/basic/BasicMenuBarUI.java,
1869         javax/swing/plaf/basic/BasicMenuItemUI.java,
1870         javax/swing/plaf/basic/BasicMenuUI.java,
1871         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1872         javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java,
1873         javax/swing/plaf/basic/BasicPopupMenuUI.java,
1874         javax/swing/plaf/basic/BasicProgressBarUI.java,
1875         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
1876         javax/swing/plaf/basic/BasicRootPaneUI.java,
1877         javax/swing/plaf/basic/BasicScrollBarUI.java,
1878         javax/swing/plaf/basic/BasicSeparatorUI.java,
1879         javax/swing/plaf/basic/BasicSliderUI.java,
1880         javax/swing/plaf/basic/BasicSpinnerUI.java,
1881         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1882         javax/swing/plaf/basic/BasicSplitPaneUI.java,
1883         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1884         javax/swing/plaf/basic/BasicTableHeaderUI.java,
1885         javax/swing/plaf/basic/BasicTableUI.java,
1886         javax/swing/plaf/basic/BasicTextAreaUI.java,
1887         javax/swing/plaf/basic/BasicTextFieldUI.java,
1888         javax/swing/plaf/basic/BasicTextUI.java,
1889         javax/swing/plaf/basic/BasicToolBarSeparatorUI.java,
1890         javax/swing/plaf/basic/BasicToolBarUI.java,
1891         javax/swing/plaf/basic/BasicToolTipUI.java,
1892         javax/swing/plaf/basic/BasicTreeUI.java,
1893         javax/swing/plaf/basic/BasicViewportUI.java,
1894         javax/swing/plaf/basic/ComboPopup.java,
1895         javax/swing/table/AbstractTableModel.java,
1896         javax/swing/table/DefaultTableCellRenderer.java,
1897         javax/swing/table/DefaultTableColumnModel.java,
1898         javax/swing/table/DefaultTableModel.java,
1899         javax/swing/table/JTableHeader.java,
1900         javax/swing/table/TableCellEditor.java,
1901         javax/swing/table/TableCellRenderer.java,
1902         javax/swing/table/TableColumn.java,
1903         javax/swing/table/TableColumnModel.java,
1904         javax/swing/text/AbstractDocument.java,
1905         javax/swing/text/Caret.java,
1906         javax/swing/text/DefaultCaret.java,
1907         javax/swing/text/DefaultEditorKit.java,
1908         javax/swing/text/DefaultHighlighter.java,
1909         javax/swing/text/EditorKit.java,
1910         javax/swing/text/JTextComponent.java,
1911         javax/swing/text/LayeredHighlighter.java,
1912         javax/swing/text/PasswordView.java,
1913         javax/swing/text/SimpleAttributeSet.java,
1914         javax/swing/text/StyleConstants.java,
1915         javax/swing/text/StyleContext.java,
1916         javax/swing/text/StyledEditorKit.java,
1917         javax/swing/text/TextAction.java,
1918         javax/swing/text/View.java,
1919         javax/swing/tree/AbstractLayoutCache.java,
1920         javax/swing/tree/DefaultTreeCellRenderer.java,
1921         javax/swing/tree/DefaultTreeModel.java,
1922         javax/swing/tree/DefaultTreeSelectionModel.java,
1923         javax/swing/tree/FixedHeightLayoutCache.java,
1924         javax/swing/tree/TreeCellRenderer.java,
1925         javax/swing/tree/TreeSelectionModel.java,
1926         javax/swing/tree/VariableHeightLayoutCache.java,
1927         javax/swing/undo/AbstractUndoableEdit.java,
1928         javax/swing/undo/UndoableEditSupport.java:
1929         Imports cleaned up.
1930
1931 2004-11-30  Michael Koch  <konqueror@gmx.de>
1932
1933         * java/awt/Container.java,
1934         java/awt/Font.java,
1935         java/awt/font/TextLayout.java:
1936         Imports cleaned up.
1937
1938 2004-11-30  Michael Koch  <konqueror@gmx.de>
1939
1940         * javax/swing/AbstractButton.java
1941         (getLabel): Added @deprecated tag.
1942         (setLabel): Likewise.
1943         * javax/swing/FocusManager.java
1944         (disableSwingFocusManager): Likewise.
1945         (isFocusManagerEnabled): Likewise.
1946         * javax/swing/JComponent.java
1947         (isManagingFocus): Added version to @deprecated tag.
1948         (getNextFocusableComponent): Moved @deprecated tag to bottom of
1949         javadoc.
1950         (getConditionForKeyStroke): Likewise.
1951         (getActionForKeyStroke): Likewise.
1952         * javax/swing/JDesktopPane.java
1953         (LIVE_DRAG_MODE): Added @specnote tag.
1954         (OUTLINE_DRAG_MODE): Likewise.
1955         * javax/swing/JInternalFrame.java
1956         (MENU_BAR_PROPERTY): Fixed value.
1957         (getMenuBar): Added @deprecated tag.
1958         (setMenuBar): Likewise.
1959         * javax/swing/JViewport.java
1960         (isBackingStoreEnabled): Likewise.
1961         (setBackingStoreEnabled): Likewise.
1962         * javax/swing/plaf/basic/BasicDesktopPaneUI.java
1963         (closeKey): Likewise.
1964         (maximizeKey): Likewise.
1965         (minimizeKey): Likewise.
1966         (navigateKey): Likewise.
1967         (navigateKey2): Likewise.
1968         * javax/swing/plaf/basic/BasicInternalFrameUI.java
1969         (openMenuKey): Likewise.
1970         * javax/swing/plaf/basic/BasicSplitPaneUI.java
1971         (keyboardDownRightListener): Likewise.
1972         (keyboardEndListener): Likewise.
1973         (keyboardHomeListener): Likewise.
1974         (keyboardResizeToggleListener): Likewise.
1975         (keyboardUpLeftListener): Likewise.
1976         (dividerResizeToggleKey): Likewise.
1977         (downKey): Likewise.
1978         (endKey): Likewise.
1979         (homeKey): Likewise.
1980         (leftKey): Likewise.
1981         (rightKey): Likewise.
1982         (upKey): Likewise.
1983         (createKeyboardUpLeftListener): Likewise.
1984         (createKeyboardDownRightListener): Likewise.
1985         (createKeyboardHomeListener): Likewise.
1986         (createKeyboardEndListener): Likewise.
1987         (createKeyboardResizeToggleListener): Likewise.
1988         (getDividerBorderSize): Likewise.
1989         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1990         (downKey): Likewise.
1991         (leftKey): Likewise.
1992         (rightKey): Likewise.
1993         (upKey): Likewise.
1994
1995 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1996
1997         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1998         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Use the
1999         GTK_TEXT_VIEW macro.
2000
2001         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2002         (connect_awt_hook_cb): Mark unused variable unused.
2003
2004         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (selection_get):
2005         Do the cast right.
2006
2007         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2008         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): According to
2009         the gtk API gtk_combo_box_new_text actually returns a GtkWidget.
2010         Remove unused var menu.
2011         (selection_changed): Remove unused value.
2012
2013         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2014         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_setNativeBounds): Fix pointer
2015         warning with using an intermediate variable.
2016
2017         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2018         (area_updated): Fix unused var warning for BE archs.
2019
2020         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2021         (Java_gnu_java_awt_peer_gtk_GdkGraphics_connectSignals): Remove unused
2022         var.
2023         (realize_cb): Mark unused variable unused.
2024
2025         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
2026         (seek_glyphstring_idx): Fix a C90 warning.
2027
2028         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
2029         (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
2030         Mark unused arguments unused.
2031
2032         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
2033         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_initState),
2034         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setGlyphCodes),
2035         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphCharIndex),
2036         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphIsHorizontal):
2037         Likewise.
2038
2039         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
2040         (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerFontMetrics),
2041         (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerTextMetrics):
2042         Likewise.
2043
2044         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2045         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
2046         Likewise.
2047         (filenameFilterCallback): Remove unused var.
2048         (handle_response): Declare str_fileName and remove last else statement.
2049
2050         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
2051         New File.
2052         (nativeGetNumFontsFamilies) New function.
2053         (nativeGetFontFamilies) Likewise.
2054         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
2055         (getAvailableFontFamilyNames): Implement.
2056         * Makefile.am (gtk_c_source_files): Add GdkGraphicsEnvironment.c.
2057         * Makefile.in: Regenerate.
2058
2059 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2060
2061         * gnu/java/awt/peer/ClasspathFontPeer.java
2062         (setStandardAttributes(String,Map)): If size attribute doesn't
2063         exist, default to size 12.  Clamp size value to a minimum of 1.
2064
2065 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
2066
2067         * javax/swing/JDialog.java
2068         (decorated): Likewise.
2069         * javax/swing/JFrame.java
2070         (defaultLookAndFeelDecorated): Likewise.
2071
2072 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
2073
2074         * javax/swing/plaf/basic/BasicToolBarUI.java
2075         (offset, regular): Made final.
2076         * javax/swing/plaf/basic/BasicScrollBarUI.java
2077         (DECREASE_HIGHLIGHT, INCREASE_HIGHLIGHT, NO_HIGHLIGHT,
2078         POSITIVE_SCROLL, NEGATIVE_SCROLL): Made final.
2079
2080 2004-11-30  Michael Koch  <konqueror@gmx.de>
2081
2082         * gnu/java/awt/BitwiseXORComposite.java,
2083         gnu/java/awt/ClasspathToolkit.java,
2084         gnu/java/awt/image/XBMDecoder.java,
2085         gnu/java/awt/peer/GLightweightPeer.java,
2086         gnu/java/awt/peer/gtk/GdkGlyphVector.java:
2087         Reorganized import statements.
2088
2089 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
2090
2091         * java/awt/Button.java
2092         (next_button_number): Removed useless initializer.
2093         * java/awt/Frame.java
2094         (next_frame_number): Likewise.
2095         * java/awt/Panel.java
2096         (next_panel_number): Likewise,
2097         * java/awt/Scrollbar.java
2098         (next_scrollbar_number): Likewise.
2099         * java/awt/TextArea.java
2100         (next_text_number): Likewise.
2101
2102 2004-11-30  Michael Koch  <konqueror@gmx.de>
2103
2104         * java/awt/image/ByteLookupTable.java
2105         (ByteLookupTable) :Fixed HTML entities in javadocs.
2106         (lookupPixel): Fix case when dst is null.
2107         * java/awt/image/ShortLookupTable.java
2108         (ShortLookupTable) :Fixed HTML entities in javadocs.
2109         (lookupPixel): Fix case when dst is null.
2110         * java/awt/image/DataBufferByte.java,
2111         java/awt/image/DataBufferDouble.java,
2112         java/awt/image/DataBufferFloat.java,
2113         java/awt/image/DataBufferInt.java,
2114         java/awt/image/DataBufferShort.java,
2115         java/awt/image/DataBufferUShort.java:
2116         Fix initialization of bankData in constructors.
2117
2118 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2119
2120         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2121         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2122         (setNativeBounds): Set GtkEventBox, GtkButton and GtkLabel size
2123         requests.
2124         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2125         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2126         (setNativeBounds): Make package private.  Set size request even
2127         if GTK parent is NULL.
2128         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
2129         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
2130         (setNativeBounds): Set GtkEventBox and GtkLabel size requests.
2131
2132 2004-11-30  Mark Wielaard  <mark@klomp.org>
2133
2134         Workaround for bug #17952.
2135         *  jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2136         (request_frame_extents): Check window->window != NULL.
2137
2138 2004-11-30  Mark Wielaard  <mark@klomp.org>
2139
2140         * jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.
2141
2142 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
2143
2144         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Use
2145         native_text_layout_state_table here.
2146
2147         * jni/gtk-peer/gdkfont.h: Mark native_text_layout_state_table extern.
2148
2149 2004-11-30  Mark Wielaard  <mark@klomp.org>
2150
2151         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
2152         (setChars): Only call pango_itemize() when vec->glyphitems != NULL.
2153         Only call pango_shape() when gi->glyphs->num_glyphs > 0.
2154
2155 2004-11-30  Michael Koch  <konqueror@gmx.de>
2156
2157         * gnu/java/awt/peer/gtk/GtkToolkit.java:
2158         Merged import statements.
2159
2160 2004-11-30  Michael Koch  <konqueror@gmx.de>
2161
2162         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2163         (isBufferedImageGraphics): Simplified.
2164
2165 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
2166
2167         * javax/swing/JTree.java
2168         (isRootVisible): Fixed typo in method name.
2169         * javax/swing/JScrollBar.java
2170         (setValues): Likewise.
2171         * javax/swing/JScrollPane.java
2172         (createScrollListener): Call JScrollBar.setValues.
2173
2174 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2175
2176         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
2177         Don't call setParentAndBounds on GtkWindowPeers.
2178
2179         * java/awt/Component.java (static): Don't set default keyboard
2180         focus manager.
2181         * java/awt/KeyboardFocusManager.java
2182         (getCurrentKeyboardFocusManager): If current keyboard focus
2183         manager is null set a default.
2184
2185         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2186         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2187         (gtkWidgetSetBackground): New method.
2188         (block_expose_events_cb): New function.
2189         (connectSignals): Block the AWT's expose event processing on
2190         button press and release.
2191         (gtkSetLabel): Set text on proper widget.
2192         (gtkWidgetModifyFont): Modify font on proper widget.
2193         (gtkWidgetSetBackground): Set normal, active and prelight
2194         colours.
2195         (gtkWidgetSetForeground): Set forground colour of proper widget.
2196         (gtkActivate): Activate the correct widget.
2197         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
2198         Only clear rectangle if the backing component is not an event
2199         box.
2200         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2201         (beginNativeRepaintID): New variable.
2202         (endNativeRepaintID): Likewise.
2203         (gtkInit): Initialize new fields with method IDs.
2204         * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
2205         (endNativeRepaintID): Likewise.
2206
2207 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2208
2209         * javax/swing/JList.java (init): Revert accidental commit.
2210
2211         * gnu/java/awt/peer/gtk/GdkGraphics.java,
2212         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
2213         Call initComponentGraphics or connectSignals depending on
2214         component's realization status.
2215         (realize_cb): New function.
2216         (initComponentGraphics): New method.
2217         (connectSignals): New method.
2218         (clipRect): Return immediately if component is not realized.
2219         (setClip): Likewise.
2220         (translate): Likewise.
2221         (drawImage variants): Return false immediately if component is
2222         not realized.
2223         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2224         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2225         (connectSignals): New method.
2226         (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
2227         depending on component's realization status.  Move other
2228         initialization calls to ...
2229         (initComponentGraphics2D): New method.
2230         (realize_cb): New function.
2231         (cairoSetMatrix): Return immediately if gr is NULL.
2232         (cairoNewPath): Likewise.
2233         (cairoRectangle): Likewise.
2234         (cairoClip): Likewise.
2235         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2236         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2237         (gtkWidgetRepaintArea): Remove method.
2238         (isRealized): New method.
2239         (GtkComponentPeer): Move setParent, connectJObject and setCursor
2240         calls to setParentAndBounds.  Call setParentAndBounds.
2241         (setParentAndBounds): New method.
2242         (setComponentBounds): Return immediately if bounds are all zero.
2243         (repaint): Remove call to gtkWidgetRepaintArea.  Return
2244         immediately if requested paint region is 0x0.
2245         (setCursor): New method.
2246         (gtkWidgetSetParent): Only set widget's parent if its parent is
2247         currently NULL.
2248         (setNativeBounds): Only set widget's bounds if it has a parent.
2249         (connectSignals): Don't call gtk_widget_realize.  Connect
2250         "realize" signal to connect_awt_hook_cb handler.
2251         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
2252         New field.
2253         (beginValidate): Set isValidating true.
2254         (endValidate): Set parents and bounds for children first, then
2255         for this.  Set isValidating false.
2256         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
2257         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2258         (connectJObject): Remove method.
2259         (connectSignals): Don't call gtk_widget_realize.
2260         * gnu/java/awt/peer/gtk/GtkListPeer.java,
2261         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
2262         (connectJObject): Remove method.
2263         (connectSignals): Don't call gtk_widget_realize.
2264         * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
2265         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
2266         (connectJObject): Remove method.
2267         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
2268         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
2269         (connectJObject): Remove method.
2270         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2271         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2272         (create): Don't call gtk_widget_realize.
2273         (connectJObject): Remove method.
2274         (connectSignals): Don't call gtk_widget_realize.  Connect
2275         "realize" signal to connect_awt_hook_cb handler.
2276         (nativeSetBounds): Don't attempt to move GDK window if it is
2277         NULL.
2278         * java/awt/Container.java (addImpl): Don't call comp.addNotify
2279         if peer is not null.
2280         (validateTree): Create peers for all children before calling
2281         doLayout.
2282         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2283         (connectSignals): Don't call gtk_widget_realize.
2284         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2285         (connect_awt_hook_cb): New function.
2286         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2287         (initComponentGraphicsID): New variable.
2288         (initComponentGraphics2DID): Likewise.
2289         (setCursorID): Likewise.
2290         (gtkInit): Initialize new fields with method IDs.
2291         * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
2292         extern.
2293         (initComponentGraphics2DID): Declare extern.
2294         (setCursorID): Likewise.
2295         (connect_awt_hook_cb): Declare function.
2296
2297 2004-11-30  Michael Koch  <konqueror@gmx.de>
2298
2299         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
2300         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2301         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2302         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
2303         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2304         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2305         gnu/java/awt/peer/gtk/GtkClipboard.java,
2306         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
2307         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
2308         gnu/java/awt/peer/gtk/GtkFontPeer.java,
2309         gnu/java/awt/peer/gtk/GtkListPeer.java,
2310         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
2311         gnu/java/awt/peer/gtk/GtkToolkit.java,
2312         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
2313         Import statements reworked.  Some little reformattings.
2314
2315 2004-11-30  Michael Koch  <konqueror@gmx.de>
2316
2317         * java/awt/image/AffineTransformOp.java
2318         (TYPE_BILINEAR): Initialize with 2.
2319         * java/awt/print/Printable.java: Jalopied.
2320         (PAGE_EXISTS): Initialize with 0;
2321         (NO_SUCH_PAGE): Initialized with 1.
2322
2323 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2324
2325         * Makefile.am: Add BufferedImageFilter.java.
2326         * Makefile.in: Regenerate.
2327
2328 2004-11-30  Graydon Hoare  <graydon@redhat.com>
2329
2330         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2331         (install_font_peer): Minor bug fixes to track cairo font semantics.
2332
2333 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2334
2335         * java/awt/image/BufferedImageFilter.java: Implement.
2336
2337 2004-11-30  Graydon Hoare  <graydon@redhat.com>
2338
2339         * Makefile.am
2340         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c)
2341         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c)
2342         (gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java)
2343         (gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java): Remove.
2344         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c)
2345         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c)
2346         (gnu/java/awt/peer/gtk/GdkTextLayout.java)
2347         (gnu/java/awt/peer/gtk/GdkFontPeer.java)
2348         (gnu/java/awt/peer/ClasspathTextLayoutPeer.java): Add
2349         * Makefile.in: Regenerate.
2350         * gnu/awt/xlib/XToolkit.java
2351         (getClasspathTextLayoutPeer): Add stub.
2352         * gnu/java/awt/ClasspathToolkit.java
2353         (getClasspathTextLayoutPeer) Add.
2354         * gnu/java/awt/peer/ClasspathFontPeer.java
2355         (copyStyleToAttrs)
2356         (copySizeToAttrs): Make public.
2357         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
2358         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.
2359         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
2360         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
2361         * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
2362         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
2363         * gnu/java/awt/peer/gtk/GdkGraphics.java
2364         (getFontPeer): New function.
2365         (drawString): Pass font peer to native side.
2366         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2367         (cairoSetFont)
2368         (cairoShowGlyphs)
2369         (PainterThread): Remove.
2370         (GdkGraphics2D): Set hints during construction.
2371         (shifted)
2372         (walkPath)
2373         (draw)
2374         (setRenderingHint)
2375         (setRenderingHints): Reimplement normalization logic.
2376         (getDefaultHints)
2377         (updateBufferedImage)
2378         (isBufferedImageGraphics)
2379         (updateImagePixels)
2380         (drawImage): Make final.
2381         (drawImage): Always paint synchronously.
2382         (drawString)
2383         (drawGlyphVector): Rewrite.
2384         (releasePeerGraphicResource)
2385         (getPeerTextMetrics)
2386         (getPeerFontMetrics)
2387         (drawGdkGlyphVector)
2388         (drawGdkTextLayout)
2389         (cairoDrawGdkGlyphVector)
2390         (cairoDrawGdkTextLayout)
2391         (cairoDrawString)
2392         (getFontPeer): New functions.
2393         * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
2394         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2395         (getFontMetrics): Get metrics via toolkit, to hit cache.
2396         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
2397         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2398         * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
2399         (fontCache)
2400         (metricsCache)
2401         (imageCache): New members.
2402         (getFontMetrics)
2403         (getImage)
2404         (getClasspathFontPeer): Use caches.
2405         (getFontPeer): Route through getClasspathFontPeer.
2406         * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
2407         * java/awt/font/TextLayout.java: Implement in terms of peer.
2408         * javax/swing/plaf/basic/BasicSliderUI.java
2409         (paintThumb): Use polyline rather than polygon.
2410         * javax/swing/plaf/basic/BasicGraphicsUtils.java:
2411         Update comment but, alas, still do not switch to using TextLayouts.
2412         * javax/swing/text/Utilities.java (drawTabbedText):
2413         Draw text run-at-a-time, not char-at-a-time.
2414         * jni/gtk-peer/gdkfont.h: Publicize some of the font interface, add
2415         layout table.
2416         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2417         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2418         Remove files.
2419         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Rewrite to
2420         incorporate brains of old GdkClasspathFontPeerMetrics.
2421         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Rewrite to
2422         incorporate brains of old GdkClasspathFontPeer.
2423         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: New file.
2424         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2425         (drawString): Rewrite to use persistent layout in peer font.
2426         Comment out extraneous gdk_flush calls.
2427         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2428         (metrics_cairo)
2429         (metrics_surface): New static variables.
2430         (paint_glyph_run)
2431         (install_font_peer): New helper functions.
2432         (releasePeerGraphicResource)
2433         (getPeerTextMetrics)
2434         (getPeerFontMetrics)
2435         (cairoDrawGdkTextLayout)
2436         (cairoDrawGdkGlyphVector): New native methods.
2437         (cairoDrawString): Rewrite, leaving layout-based version
2438         commented out for the time being.
2439         * jni/gtk-peer/gtkpeer.h (graphics): Add fields for pango stuff.
2440
2441 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
2442
2443         * java/awt/geom/AffineTransform.java:
2444         Fixed javadocs overall.
2445
2446 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2447
2448         * java/awt/image/ComponentColorModel.java: Remove FIXME comment since
2449         it's correct.
2450
2451 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2452
2453         * java/awt/image/IndexColorModel.java: Fix use of immutable
2454         BigIntegers.
2455
2456 2004-11-30  Tom Tromey  <tromey@redhat.com>
2457
2458         * javax/swing/plaf/basic/BasicOptionPaneUI.java (MessageIcon):
2459         Renamed from 'messageIcon'.
2460         (errorIcon, infoIcon, warningIcon, questionIcon): Updated.
2461
2462 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2463
2464         * java/awt/image/RescaleOp.java: Fix formatting.
2465
2466 2004-11-30   Olga Rodimina  <rodimina@redhat.com>
2467
2468         * javax/swing/plaf/basic/BasicComboPopup.java
2469         (SCROLL_DOWN): made final.
2470         (SCROLL_UP): made final.
2471
2472 2004-11-30   Olga Rodimina  <rodimina@redhat.com>
2473
2474         * javax/swing/plaf/basic/BasicComboPopup.java:
2475         Added javadocs for undocumented fields.
2476         (show): scroll down to the selected item and
2477         highlight selected item.
2478         (startAutoScrolling): Implemented.
2479         (stopAutoScrolling): Implemented.
2480         (autoScrollUp): Implemented.
2481         (autoScrollDown): Implemented.
2482         (InvocationMouseHandler.mouseReleased): Implemented.
2483         (InvocationMouseMotionHandler.mouseDragged): Implemented.
2484
2485 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2486
2487         * java/awt/image/RescaleOp.java: Implement.
2488
2489 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2490
2491         * java/awt/image/IndexColorModel.java (getRGBs,
2492         convertToIntDiscrete): Implement.
2493
2494 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2495
2496         * java/awt/image/IndexColorModel.java: Add class docs.
2497
2498 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2499
2500         * java/awt/image/IndexColorModel.java (isValid, getValidPixels):
2501         Implement.
2502
2503 2004-11-30  Michael Koch  <konqueror@gmx.de>
2504
2505         * java/awt/MenuBar.java,
2506         java/awt/peer/MenuBarPeer.java:
2507         Revert accidentally commited changes.
2508
2509 2004-11-30  Michael Koch  <konqueror@gmx.de>
2510
2511         * java/awt/AWTKeyStroke.java,
2512         java/awt/Canvas.java,
2513         java/awt/CardLayout.java,
2514         java/awt/CheckboxMenuItem.java,
2515         java/awt/Component.java,
2516         java/awt/Container.java,
2517         java/awt/DefaultKeyboardFocusManager.java,
2518         java/awt/EventDispatchThread.java,
2519         java/awt/FileDialog.java,
2520         java/awt/FlowLayout.java,
2521         java/awt/Font.java,
2522         java/awt/Frame.java,
2523         java/awt/Graphics2D.java,
2524         java/awt/GraphicsEnvironment.java,
2525         java/awt/GridBagConstraints.java,
2526         java/awt/GridBagLayout.java,
2527         java/awt/GridLayout.java,
2528         java/awt/Image.java,
2529         java/awt/KeyboardFocusManager.java,
2530         java/awt/Label.java,
2531         java/awt/List.java,
2532         java/awt/MediaTracker.java,
2533         java/awt/Menu.java,
2534         java/awt/MenuBar.java,
2535         java/awt/MenuComponent.java,
2536         java/awt/Panel.java,
2537         java/awt/PopupMenu.java,
2538         java/awt/ScrollPane.java,
2539         java/awt/Scrollbar.java,
2540         java/awt/SystemColor.java,
2541         java/awt/TextArea.java,
2542         java/awt/TextField.java,
2543         java/awt/Toolkit.java,
2544         java/awt/Window.java,
2545         java/awt/color/ICC_Profile.java,
2546         java/awt/datatransfer/DataFlavor.java,
2547         java/awt/datatransfer/StringSelection.java,
2548         java/awt/datatransfer/SystemFlavorMap.java,
2549         java/awt/dnd/Autoscroll.java,
2550         java/awt/dnd/DropTarget.java,
2551         java/awt/dnd/DropTargetContext.java,
2552         java/awt/dnd/DropTargetDragEvent.java,
2553         java/awt/dnd/peer/DropTargetContextPeer.java,
2554         java/awt/event/AdjustmentEvent.java,
2555         java/awt/event/InputEvent.java,
2556         java/awt/event/InvocationEvent.java,
2557         java/awt/event/KeyEvent.java,
2558         java/awt/event/MouseEvent.java,
2559         java/awt/font/TextLayout.java,
2560         java/awt/geom/GeneralPath.java,
2561         java/awt/geom/Point2D.java,
2562         java/awt/im/InputContext.java,
2563         java/awt/im/spi/InputMethodContext.java,
2564         java/awt/image/AffineTransformOp.java,
2565         java/awt/image/BufferedImage.java,
2566         java/awt/image/ColorModel.java,
2567         java/awt/image/ComponentColorModel.java,
2568         java/awt/image/CropImageFilter.java,
2569         java/awt/image/DirectColorModel.java,
2570         java/awt/image/MemoryImageSource.java,
2571         java/awt/image/PackedColorModel.java,
2572         java/awt/image/PixelGrabber.java,
2573         java/awt/image/RasterOp.java,
2574         java/awt/peer/MenuBarPeer.java:
2575         Some fixes for checkstyle. Import statement and modifier order
2576         redordering.
2577
2578 2004-11-30  Michael Koch  <konqueror@gmx.de>
2579
2580         * javax/swing/JTable.java
2581         (setModel): Reimplemented.
2582
2583 2004-11-30  Michael Koch  <konqueror@gmx.de>
2584
2585         * javax/swing/JTextArea.java
2586         (append): Re-implemented.
2587         (insert): Likewise.
2588
2589 2004-11-30  Michael Koch  <konqueror@gmx.de>
2590
2591         * javax/swing/JSpinner.java
2592         (serialVersionUID): New static field.
2593         * javax/swing/JToggleButton.java
2594         (JToggleButton): Fixed email addresses.
2595         * javax/swing/SpinnerNumberModel.java
2596         (serialVersionUID): Added javadoc.
2597
2598 2004-11-30  Michael Koch  <konqueror@gmx.de>
2599
2600         * javax/swing/JTextArea.java:
2601         Don't use JTextComponent.doc directly. GCJ from java-gui-branch has a
2602         bug here which is fixed in HEAD ...
2603
2604 2004-11-30  Andrew John Hughes  <address@hidden>
2605
2606         * javax/swing/JTextArea.java: Added additional
2607         documentation.
2608
2609 2004-11-30  Andrew John Hughes  <address@hidden>
2610
2611         * javax/swing/JRadioButton.java:
2612         Implemented additional constructors and accessibility
2613         classes.  Added documentation and fixed a typo in
2614         AbstractButton.
2615
2616 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2617
2618         * java/awt/image/IndexColorModel.java (IndexColorModel): Implement
2619         missing constructor.
2620
2621 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2622
2623         * java/awt/image/ComponentColorModel.java (ComponentColorModel):
2624         Implement missing 1.4 constructor.
2625
2626 2004-11-30  Andrew John Hughes  <address@hidden>
2627
2628         * javax/swing/JToggleButton.java:
2629         Implemented additional constructors and accessibility
2630         classes.  Added documentation and fixed a typo in
2631         AbstractButton.
2632
2633 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2634
2635         * java/awt/image/ColorModel.java (getDataElement,
2636         getDataElements): Document since 1.4.
2637
2638 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2639
2640         * java/awt/image/BandedSampleModel.java: Implement.
2641         * Makefile.am: Add java/awt/image/BandedSampleModel.java.
2642         * Makefile.in: Regenerated.
2643
2644 2004-11-30  Michael Koch  <konqueror@gmx.de>
2645
2646         * java/awt/Window.java: Fixed whitespace difference with GNU
2647         classpath.
2648
2649 2004-11-30  Mark Wielaard  <mark@klomp.org>
2650
2651         * Makefile.am: Add javax/swing/SpinnerListModel.java.
2652         * Makefile.in: Regenerated.
2653
2654 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2655
2656         * javax/swing/SpinnerListModel.java, javax/swing/SpinnerModel.java
2657         Implemented SpinnerListModel.  Added documentation to
2658         SpinnerModel.
2659
2660 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
2661
2662         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2663         (init_dpi_conversion_factor): Apply the patch from main correctly.
2664         2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
2665
2666 2004-11-30  Tom Tromey  <tromey@redhat.com>
2667
2668         Bug 9948.
2669         * javax/swing/JDesktopPane.java (LIVE_DRAG_MODE): Now final.
2670         (OUTLINE_DRAG_MODE): LIVE_DRAG_MODE.
2671         * javax/swing/plaf/basic/BasicSplitPaneUI.java
2672         (NON_CONTINUOUS_DIVIDER): Now final.  Initialize.
2673
2674 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2675
2676         * java/awt/Canvas.java
2677         (AccessibleAWTCanvas): added serialization UID
2678         * java/awt/Label.java
2679         (AccessibleAWTLabel): added serialization UID
2680         * javax/swing/JRootPane.java
2681         (AccessibleJRootPane): added comment to existing UID
2682         * javax/swing/JSpinner.java
2683         (DefaultEditor): added serialization UID
2684         (NumberEditor): added serialization UID
2685         * javax/swing/text/html/HTML.java
2686         (UnknownTag): added serialization UID
2687
2688 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
2689
2690         * javax/swing/JInternalFrame.java
2691         (CONTENT_PANE_PROPERTY,FRAME_ICON_PROPERTY,GLASS_PANE_PROPERTY,
2692         IS_CLOSED_PROPERTY,IS_ICON_PROPERTY,IS_MAXIMUM_PROPERTY,
2693         IS_SELECTED_PROPERTY,LAYERED_PANE_PROPERTY,MENU_BAR_PROPERTY,
2694         ROOT_PANE_PROPERTY,TITLE_PROPERTY): Made final as per API spec.
2695         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
2696         (CLOSE_CMD,ICONIFY_CMD,MAXIMIZE_CMD,MOVE_CMD,RESTORE_CMD,SIZE_CMD):
2697         Made final as per API spec.
2698
2699 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
2700
2701         * jni/gtk-peer/gtkpeer.h: Remove duplicated copyright string.
2702
2703 2004-11-30  Sven de Marothy  <sven@physto.se>
2704
2705         * java/awt/geom/Arc2D.java: Reformatted.
2706         (setArc): Correct documentation to say 'upper left corner'.
2707         (setArcByTangent,contains,intersects): Implemented.
2708         (containsAngle): Corrected to handle negative extents.
2709         (ArcIterator): Set to private.
2710         (ArcIterator): Corrected for CHORD-type arcs, negative extents.
2711         (intersects): Fix: Now checks the arc segment.
2712         (contains): Cleaned up.
2713         * java/awt/geom/CubicCurve2a.javaD: Fix insideness-test. Reindent.
2714         (contains): Implemented.
2715         (intersects): Implemented.
2716         * java/awt/geom/QuadCurve2D.java: Fix insideness-test. Reindent.
2717         * java/awt/geom/GeneralPath: Fix insideness-test. Reindent and
2718         document.  Fully (re)implemented using separate xpoints and ypoints
2719         float[] coords.
2720
2721 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
2722
2723         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
2724         * configure: Regenerate.
2725         * include/config.h.in: Likewise.
2726         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
2727         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
2728         macro to gtkpeer.h.
2729         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2730         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
2731         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
2732         architectures.
2733         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
2734         Likewise.
2735
2736 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
2737
2738         * java/awt/SystemColor.java: Fix @link doc entries.
2739
2740 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
2741
2742         * java/awt/RenderingHints.java: Documented.
2743         (RenderingHints): Accept null init Map.
2744         (putAll): Preprocess map to generate appropriate exceptions.
2745         (remove): Cast object to Key and remove from hintMap.
2746
2747 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2748
2749         * java/awt/MenuComponent.java, java/awt/MenuBar.java:
2750         Implementation of accessibility classes and methods
2751         for these two components.
2752
2753 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2754
2755         * java/awt/KeyboardFocusManager.java:
2756         Added missing documentation.
2757
2758 2004-11-30  Andrew John Hughes <gnu_andrew@member.fsf.org>
2759
2760         * java/awt/Label.java, java/awt/Canvas.java:
2761         Added accessibility classes to AWT Label and Canvas,
2762         as well as additional documentation for Canvas.
2763
2764 2004-11-30  David Gilbert  <address@bogus.example.com>
2765
2766         * java/awt/image/DataBuffer.java: Update API documentation.
2767         * java/awt/image/DataBufferByte.java: Likewise.
2768         * java/awt/image/DataBufferDouble.java: Likewise.
2769         * java/awt/image/DataBufferFloat.java: Likewise.
2770         * java/awt/image/DataBufferInt.java: Likewise.
2771         * java/awt/image/DataBufferShort.java: Likewise.
2772         * java/awt/image/DataBufferUShort.java: Likewise.
2773
2774 2004-11-30  Dalibor Topic  <robilad@kaffe.org>
2775
2776         * java/awt/Component.java (postEvent):
2777         Only delegate to parent if a parent exists.
2778         Reported by: Stephane Meslin-Weber <steph@tangency.co.uk>
2779
2780 2004-11-30  Sven de Marothy  <sven@physto.se>
2781
2782         *java/awt/AWTEventMulticaster.java,
2783         java/awt/Adjustable.java,
2784         java/awt/Point.java,
2785         java/awt/Polygon.java,
2786         java/awt/Rectangle.java,
2787         java/awt/Shape.java,
2788         java/awt/geom/Area.java,
2789         java/awt/geom/Ellipse2D.java,
2790         java/awt/geom/PathIterator.java,
2791         java/awt/geom/Point2D.java,
2792         java/awt/geom/Rectangle2D.java,
2793         java/lang/Comparable.java,
2794         java/util/Arrays.java:
2795         Fixed documentation errors
2796
2797 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2798
2799         * java/awt/image/ComponentSampleModel.java: Add documentation.
2800
2801
2802 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2803
2804         * java/awt/image/ComponentSampleModel.java (constructor):
2805         Initialize numBanks when figuring out the max bank index.
2806
2807 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2808
2809         * java/awt/image/Raster.java (createPackedRaster): Implement
2810         MultiPixelPackedSampleModel codepath.
2811
2812 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2813
2814         * java/awt/image/MultiPixelPackedSampleModel.java: Implement.
2815         * Makefile.am: Add MultiPixelPackedSampleModel.java.
2816         * Makefile.in: Regenerate.
2817
2818 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2819
2820         * java/awt/image/Raster.java (getNumBands): Implement.
2821
2822 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2823
2824         * java/awt/image/Raster.java
2825         (createPackedRaster(int,int,int,int,int,Point)): Implement for
2826         bands>1.
2827
2828 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2829
2830         * java/awt/image/SinglePixelPackedSampleModel.java
2831         (SinglePixelPackedSampleModel): Throw exception for unsupported
2832         datatype.
2833
2834 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2835
2836         * java/awt/image/ColorModel.java (getDataElement): Implemented.
2837         Update javadoc.
2838         (getDataElements): Add missing version.  Remove bogus version.
2839         Update javadoc.
2840
2841 2004-11-30  Olga Rodimina  <rodimina@redhat.com>
2842
2843         * javax/swing/plaf/basic/BasicComboBoxUI.java:
2844         (paintCurrentValue): Pass correct parameters to
2845         getListCellRendererComponent().
2846         (ListDataHandler.intervalRemoved): Implemented.
2847         (PropertyChangeHandler.propertyChange): Handle changes in
2848         MODEL_CHANGED_PROPERTY of the JComboBox
2849         * javax/swing/plaf/basic/BasicComboPopup.java:
2850         (BasicComboPopup): Moved code that configures popup to
2851         configurePopup() and call it instead.
2852         (firePopupMenuWillBecomeVisible): Implemented.
2853         (firePopupMenuWillBecomeInvisible): Likewise.
2854         (firePopupMenuCanceled): Likewise.
2855         (configureList): Set list's visibleRowCount same as
2856         comboBox's visibleRowCount.
2857         (configurePopup): Implemented.
2858         (getPopupHeightForRowCount): Get item's from JComboBox's model and
2859         not from model of the JList.
2860         (ListMouseMotionHandler.mouseMoved): Implemented.
2861         (PropertyChangeHandler.propertyChange): Handles change in the
2862         JComboBox's model.
2863
2864 2004-11-30  Michael Koch  <konqueror@gmx.de>
2865
2866         * javax/swing/JComponent.java
2867         (isMaximumSizeSet): New method.
2868         (isMinimumSizeSet): Likewise.
2869         (isPreferredSizeSet): Likewise.
2870
2871 2004-11-30  Michael Koch  <konqueror@gmx.de>
2872
2873         * javax/swing/JSpinner.java:
2874         Some Re-formatting.
2875         (spinner): New field.
2876         (DefaultEditor): New method.
2877         (getSpinner): Likewise.
2878         (NumberEdito): Likewise.
2879         (getModel): Likewise
2880
2881 2004-11-30  Michael Koch  <konqueror@gmx.de>
2882
2883         * javax/swing/InputVerifier.java:
2884         Re-formatted.
2885         * javax/swing/JComponent.java
2886         (inputVerifier): New property field.
2887         (getInputVerifier): New method.
2888         (setInputVerifier): Likewise.
2889
2890 2004-11-30  Michael Koch  <konqueror@gmx.de>
2891
2892         * javax/swing/JComponent.java
2893         (JComponent): Added javadoc comment.
2894         (setBorder): Fire property change eventr.
2895         (setEnabled): Likewise.
2896         (setMaximumSize): Likewise.
2897         (setMinimumSize): Likewise.
2898         (setPreferredSize): Likewise.
2899         (setOpaque): Likewise.
2900
2901 2004-11-30  Michael Koch  <konqueror@gmx.de>
2902
2903         * javax/swing/JTextField.java
2904         (action): New field.
2905         (actionCommand): Likewise.
2906         (actionPropertyChangeListener): Likewise.
2907         (setHorizontalAlignment): Abort soon if new value == old value. Fire
2908         event before repainting.
2909         (postActionEvent): New method.
2910         (getAction): Likewise.
2911         (setAction): Likewise.
2912         (getActionCommand): Likewise.
2913         (setActionCommand): Likewise.
2914         (createActionPropertyChangeListener): Likewise.
2915         (configurePropertiesFromAction): Likewise.
2916
2917 2004-11-30  Michael Koch  <konqueror@gmx.de>
2918
2919         * javax/swing/DebugGraphics.java:
2920         Re-formatted. Fixed some javadocs.
2921         * javax/swing/JApplet.java
2922         (rootPaneCheckingEnabled): Renamed from checking.
2923         * javax/swing/JCheckBox.java
2924         (BORDER_PAINTED_FLAT_CHANGED_PROPERTY): New statif field.
2925         * javax/swing/JFrame.java:
2926         Re-formatted a bit and reordered some methods.
2927         (rootPaneCheckingEnabled): Renamed from checking.
2928         (getPreferredSize): Simplified.
2929         * javax/swing/JTextArea.java
2930         (getColumnWidth): New method.
2931         (getLineCount): Likewise.
2932         (getLineStartOffset): Likewise.
2933         (getLineEndOffset): Likewise.
2934         (getLineOfOffset): Likewise.
2935         (getRowHeight): Likewise.
2936         (insert): Likewise.
2937         (replaceRange): Likewise.
2938         * javax/swing/JTextField.java
2939         (scrollOffset): new field.
2940         (getScrollOffset): New method.
2941         (setScrollOffset): Likewise.
2942         (getColumnWidth): Likewise.
2943         * javax/swing/JTree.java
2944         (ANCHOR_SELECTION_PATH_PROPERTY): New static field.
2945         (CELL_EDITOR_PROPERTY): Likewise.
2946         (CELL_RENDERER_PROPERTY): Likewise.
2947         (EDITABLE_PROPERTY): Likewise.
2948         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
2949         (INVOKES_STOP_CELL_EDITING_PROPERTY): Likewise.
2950         (LARGE_MODEL_PROPERTY): Likewise.
2951         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
2952         (ROOT_VISIBLE_PROPERTY): Likewise.
2953         (ROW_HEIGHT_PROPERTY): Likewise.
2954         (SCROLLS_ON_EXPAND_PROPERTY): Likewise.
2955         (SELECTION_MODEL_PROPERTY): Likewise.
2956         (SHOWS_ROOT_HANDLES_PROPERTY): Likewise.
2957         (TOGGLE_CLICK_COUNT_PROPERTY): Likewise.
2958         (TREE_MODEL_PROPERTY): Likewise.
2959         (VISIBLE_ROW_COUNT_PROPERTY): Likewise.
2960         (cellEditor): New field.
2961         (invokesStopCellEditing): Likewise.
2962         (largeModel): Likewise.
2963         (rowHeight): Likewise.
2964         (scrollsOnExpand): Likewise.
2965         (selectionModel): Likewise.
2966         (toggleClickCount): Likewise.
2967         (visibleRowCount): Likewise.
2968         (setShowsRootHandles): Fixed typo in method name.
2969         (getCellEditor): New method.
2970         (setCellEditor): Likewise.
2971         (getSelectionModel): Likewise.
2972         (setSelectionModel): Likewise.
2973         (getVisibleRowCount): Likewise.
2974         (setVisibleRowCount): Likewise.
2975         (isLargeModel): Likewise.
2976         (setLargeModel): Likewise.
2977         (getRowHeight): Likewise.
2978         (setRowHeight): Likewise.
2979         (getInvokesStopCellEditing): Likewise.
2980         (setInvokesStopCellEditing): Likewise.
2981         (getToggleClickCount): Likewise.
2982         (setToggleClickCount): Likewise.
2983         (getScrollsOnExpand): Likewise.
2984         (setScrollsOnExpand): Likewise.
2985         * javax/swing/table/DefaultTableColumnModel.java
2986         (addColumnModelListener): Fixed javadoc.
2987         (removeColumnModelListener): Implemented. Fixed javadoc.
2988         (getColumnModelListeners): New method.
2989         * javax/swing/table/JTableHeader.java
2990         (columnModel): Made protected.
2991         (draggedColumn): Likewise.
2992         (draggedDistance): Likewise.
2993         (reorderingAllowed): Likewise.
2994         (resizingAllowed): Likewise.
2995         (resizingColumn): Likewise.
2996         (table): Likewise.
2997         (updateTableInRealTime): Likewise.
2998         (createDefaultColumnModel): Renamed from
2999         createDefaultTableColumnModel.
3000         (setDefaultRenderer): New method.
3001         * javax/swing/table/TableColumn.java
3002         (getPropertyChangeListeners): New method.
3003         * javax/swing/text/DefaultHighlighter.java
3004         (drawsLayeredHighlights): New field.
3005         (getDrawsLayeredHighlights): New method.
3006         (setDrawsLayeredHighlights): Likewise.
3007         * javax/swing/text/DocumentFilter.java
3008         (FilterBypass): New inner class.
3009         (insertString): New method.
3010         (remove): Likewise.
3011         (replace): Likewise.
3012         * javax/swing/text/JTextComponent.java
3013         (dragEnabled): New field.
3014         (getSelectedText): New method.
3015         (getDragEnabled): Likewise.
3016         (setDragEnabled): Likewise.
3017         (replaceSelection): Reimplemented.
3018         * javax/swing/text/NavigationFilter.java
3019         (FilterBypass): New inner class.
3020         (NavigationFilter): New method.
3021         (moveDot): Likewise.
3022         (setDot): Likewise.
3023         * javax/swing/text/SimpleAttributeSet.java
3024         (EMPTY): Made public final.
3025
3026 2004-11-30  Michael Koch  <konqueror@gmx.de>
3027
3028         * javax/swing/SpinnerNumberModel.java
3029         (getMinimum): New method.
3030         (setMinimum): Likewise.
3031         (getMaximum): Likewise.
3032         (setMaximum): Likewise.
3033         (getStepSize): Likewise.
3034         (setStepSize): Likewise.
3035
3036 2004-11-30  Michael Koch  <konqueror@gmx.de>
3037
3038         * javax/swing/JMenu.java
3039         (getMenuListeners): New method.
3040         (fireMenuSelected): Simplified.
3041         * javax/swing/JRootPane.java
3042         (NONE): New static field.
3043         (FRAME): Likewise.
3044         (PLAIN_DIALOG): Likewise.
3045         (INFORMATION_DIALOG): Likewise.
3046         (ERROR_DIALOG): Likewise.
3047         (COLOR_CHOOSER_DIALOG): Likewise.
3048         (FILE_CHOOSER_DIALOG): Likewise.
3049         (QUESTION_DIALOG): Likewise.
3050         (WARNING_DIALOG): Likewise.
3051         (defaultButton): New field.
3052         (getDefaultButton): New method.
3053         (setDefaultButton): Likewise.
3054         * javax/swing/JScrollPane.java
3055         (getUI): New method.
3056         (setUI): Likewise.
3057         * javax/swing/JTable.java
3058         (getUI): Javadoc added.
3059         (setUI): New method.
3060         * javax/swing/JViewport.java
3061         (getUI): New method.
3062         (setUI): Likewise.
3063         * javax/swing/UIDefaults.java
3064         (removePropertyChangeListener): Made public.
3065
3066 2004-11-30  Michael Koch  <konqueror@gmx.de>
3067
3068         * javax/swing/JApplet.java, javax/swing/JFrame.java:
3069         Re-indented.
3070
3071 2004-11-30  Michael Koch  <konqueror@gmx.de>
3072
3073         * javax/swing/AbstractButton.java:
3074         Little re-formatting.
3075         (changeEvent): Made protected.
3076         (fireStateChanged): Removed argument.
3077         (setHorizontalAlignment): Abort method when old value is equal too new
3078         value.
3079         (setHorizontalTextPosition): Likewise.
3080         (setVerticalAlignment): Likewise.
3081         (setVerticalTextPosition): Likewise.
3082         (setBorderPainted): Likewise.
3083         (setIcon): Likewise.
3084         (setText): Likewise.
3085         (setIconTextGap): Likewise.
3086         (setMargin): Likewise.
3087         (setPressedIcon): Likewise.
3088         (setFocusPainted): Likewise.
3089         (setDisabledSelectedIcon): Likewise.
3090         (setRolloverIcon): Likewise.
3091         (setRolloverSelectedIcon): Likewise.
3092         (setSelectedIcon): Likewise.
3093         (setContentAreaFilled): Likewise.
3094
3095 2004-11-30  Kim Ho  <kho@redhat.com>
3096
3097         * javax/swing/plaf/basic/BasicArrowButton.java:
3098         Jalopy. Reimplement.
3099         * javax/swing/plaf/basic/BasicScrollBarUI.java:
3100         Jalopy.
3101         (arrowIcon, upIcon, downIcon, leftIcon,
3102         rightIcon): Removed.
3103         (createIncreaseButton): Use BasicArrowButton.
3104         (createDecreaseButton): Ditto.
3105         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3106         (createRightOneTouchButton): Remove button border.
3107         (createLeftOneTouchButton): Ditto.
3108
3109 2004-11-30  Michael Koch  <konqueror@gmx.de>
3110
3111         * javax/swing/JSpinner.java
3112         (setModel): New method.
3113         * javax/swing/SpringLayout.java
3114         (Constraints): May not be final.
3115
3116 2004-11-30  Michael Koch  <konqueror@gmx.de>
3117
3118         * gnu/java/awt/peer/gtk/GtkClipboard.java,
3119         java/awt/datatransfer/Clipboard.java,
3120         java/awt/datatransfer/ClipboardOwner.java:
3121         Reformated to make it use our coding standard.
3122
3123 2004-11-30  Michael Koch  <konqueror@gmx.de>
3124
3125         * javax/swing/SpinnerNumberModel.java
3126         (SpinnerNumberModel): Implements java.io.Serializable.
3127         (serialVersionUID): New field.
3128         (SpinnerNumberModel): Added missing @throws tags to javadocs.
3129         * javax/swing/UIManager.java
3130         (get): New method.
3131         (getBoolean): Likewise.
3132         (getBorder): Likewise.
3133         (getColor): Likewise.
3134         (getDimension): Likewise.
3135         (getFont): Likewise.
3136         (getIcon): Likewise.
3137         (getInsets): Likewise.
3138         (getInt): Likewise.
3139         (getString): Likewise.
3140
3141 2004-11-30  Michael Koch  <konqueror@gmx.de>
3142
3143         * javax/swing/JPasswordField.java:
3144         Reformated. Implemented construtors.
3145         * javax/swing/plaf/basic/BasicPasswordFieldUI.java
3146         (create): New method.
3147         * javax/swing/text/PlainView.java
3148         (selectedColor): Made package-private to allow access from sub-classes
3149         in same package too.
3150         (unselectedColor): Likewise.
3151         (font): Likewise.
3152         (drawSelectedText): Make protected.
3153         (drawUnselectedText): Likewise.
3154         * javax/swing/text/PasswordView.java: New file.
3155         * Makefile.am: Added javax/swing/text/PasswordView.java.
3156         * Makefile.in: Regenerated.
3157
3158 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3159
3160         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Set menu
3161         bar's width.
3162         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (nativeSetHelpMenu):
3163         Add FIXME comment.
3164         (addHelpMenu): Elide call to nativeSetHelpMenu.
3165         * java/awt/Menu.java (isTearOff): Rename to tearOff.
3166         (menuSerializedDataVersion): Initialize to 1.
3167         (separatorLabel): Mark transient.
3168         (insert(MenuItem,int)): Implement.
3169         * java/awt/MenuBar.java (setHelpMenu): Call getPeer to retrieve
3170         peer.
3171         (countMenus): Count help menu.
3172         * java/awt/MenuComponent.java (nameExplicitlySet, newEventsOnly,
3173         accessibleContext): Add fields.
3174         * java/awt/MenuItem.java: Remove event mask FIXME.
3175         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3176         (gtkWidgetModifyFont): Only set font if label is non-NULL.
3177         (setLabel): Don't treat "-" specially.
3178
3179 2004-11-30  Kim Ho  <kho@redhat.com>
3180
3181         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
3182         (stateChanged): Only update the image and the track if
3183         the values are not being adjusted.
3184         (updateChooser): Grab the new mouse point from the
3185         spinner values. Update the image and track only if
3186         the values are not being adjusted.
3187         (getHSBValues): New method.
3188         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
3189         (SliderHandler::stateChanged): Changed internalChange
3190         to updateChange. Set sliderChange.
3191         (SpinnerHandler::stateChanged): Ditto. Set spinnerChange.
3192         (spinnerChange): New variable.
3193         (sliderChange): Ditto.
3194         (updateChange): Renamed from internalChange.
3195         (updateChooser): Do not update sliders if the sliders
3196         were the original source of the change. Ditto for spinners.
3197         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
3198         (mousePress): Don't scroll the JViewport if there will
3199         be extra space at the end of the run. Change layout() to
3200         revalidate().
3201         (calculateSize): Use the component's width/height unless
3202         it is smaller than the max tab width/height.
3203         (calculateTabRects): Subtract the tab run overlay.
3204         (rotateTabRuns): Don't rotate if there's only one run.
3205         (layoutContainer): Reuse the viewport point.
3206         (createLayoutManager): Set the viewport to use no layout.
3207         (paintTabArea): Don't paint the tabs that are not visible
3208         to the JViewport.
3209         (paintContentBorderTopEdge): Check for scroll tab layout before
3210         looking for gap.
3211         (paintContentBorderLeftEdge): Ditto.
3212         (paintContentBorderBottomEdge): Ditto.
3213         (paintContentBorderRightEdge): Ditto.
3214
3215 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3216
3217         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetSetFont):
3218         Rename ...
3219         (gtkWidgetModifyFont): New method.
3220         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
3221         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3222         (setMenuBarWidth): New method.
3223         (setBounds): Set the menu bar width.
3224         (postConfigureEvent): Set the menu bar width if the window's
3225         width has changed.
3226         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (GtkMenuBarPeer):
3227         Don't call create.
3228         (setFont): New method.
3229         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): New
3230         method.
3231         (setFont): Likewise.
3232         (GtkMenuComponentPeer): Call create and setFont.
3233         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3234         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3235         (connectSignals): Make package private.
3236         (gtkWidgetModifyFont): New method.
3237         (create): Likewise.
3238         (GtkMenuItemPeer): Don't call create.
3239         (setFont): New method.
3240         * java/awt/CheckboxMenuItem.java (addNotify): Fix peer == null
3241         condition.
3242         * java/awt/Container.java (validateTree): Fix comment typos.
3243         * java/awt/MenuComponent.java (getFont): Return parent's font if
3244         our font is null.
3245         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
3246         (create): Remove call to deprecated
3247         gtk_check_menu_item_set_show_toggle function.
3248
3249 2004-11-30  Hans Boehm <Hans.Boehm@hp.com>
3250
3251         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3252         (Almost everywhere): add LOG calls, fix, add comments.
3253         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3254         Add explicit check for LOCKED bit in slow case (PR 16662).
3255         (_Jv_MonitorExit): Add casts in debug-only code.
3256         Always release LOCKED bit before throwing exception.
3257         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3258         isn't.  Handle easy cases without lock acquisition.
3259         (Object::wait): Use NotifyAll for lock inflation.
3260
3261 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3262
3263         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
3264         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3265         (gtkFixedMove): Remove method.
3266
3267 2004-11-30  Sven de Marothy  <sven@physto.se>
3268
3269         * java/awt/geom/Area.java: Implemented.
3270
3271 2004-11-30  Mark Wielaard  <mark@klomp.org>
3272
3273         * java/awt/geom/Arc2D.java (ArcIterator): Make package private.
3274
3275 2004-11-30 Sven de Marothy <sven@physto.se>
3276
3277         * java/awt/geom/Arc2D.java
3278         Reformatted.
3279         (setArc): Correct documentation to say 'upper left corner'.
3280         (setArcByTangent,contains,intersects): Implemented.
3281         (containsAngle): Corrected to handle negative extents.
3282         (ArcIterator): Set to private.
3283         (ArcIterator): Corrected for CHORD-type arcs, negative extents.
3284         * java/awt/geom/Ellipse2D.java
3285         Documented.
3286         (contains,intersects): Implemented.
3287         * java/awt/geom/Line2D.java
3288         (linesIntersect): Correct handling of special cases.
3289
3290 2004-11-30  Mark Wielaard  <mark@klomp.org>
3291
3292         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Use
3293         Color.BLACK if c == null, don't create new Color object each time.
3294         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (comp): New private
3295         field.
3296         (setColor): Use Color.BLACK when argument null.
3297         (setComposite): Set this.comp field.
3298         (getComposite): Return this.comp, or AlphaComposite.SrcOver when null.
3299         (DrawState.comp): New private field.
3300         (DrawState.save): Save Composite.
3301         (DrawState.restore): Restore comp field.
3302         * java/awt/FontMetrics.java (gRC): New static final private field.
3303         (getLineMetrics(String, Graphics)): New method.
3304         (getLineMetrics(String, int, int, Graphics)): Likewise.
3305         (getLineMetrics(char[], int, int, Graphics)): Likewise.
3306         (getLineMetrics(CharacterIterator, int, int, Graphics)): Likewise.
3307         * javax/swing/JMenu.java (JMenu(String, boolean)): Ignore tearoff
3308         argument. PR SWING/17294.
3309         * javax/swing/plaf/basic/BasicGraphicsUtils.java (): Always use
3310         the fall-back code since none of the TextArea methods are really
3311         implemented now. PR SWING/17296.
3312         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
3313         (GdkGlyphVector_setChars): Replace assert() with if block when
3314         pango_itemize() returns null. PR AWT/17295.
3315         (GdkGlyphVector_allInkExtents): Likewise when vec->glyphitems is null.
3316
3317 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3318
3319         * Makefile.am (gtk_c_source_files): Add
3320         gnu_java_awt_peer_gtk_GtkFramePeer.c.
3321         * Makefile.in: Regenerate.
3322         * gnu/java/awt/peer/gtk/GdkGraphics.java (getClipBounds): Remove
3323         comment.
3324         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3325         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3326         (create): Pack GtkButton in GtkEventBox.
3327         (connectJObject): Remove.
3328         (focus_in_cb): New function.
3329         (focus_out_cb): Likewise.
3330         (connectSignals): Connect focus-in-event and focus-out-event
3331         signals.
3332         (gtkSetFont): Rename to ...
3333         (gtkWidgetModifyFont): New method.
3334         (gtkWidgetRequestFocus): New method.
3335         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
3336         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
3337         (gtkSetFont): Rename to ...
3338         (gtkWidgetModifyFont): New method.
3339         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3340         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3341         (isInRepaint): New field.
3342         (gtkSetFont): Remove method.
3343         (addExposeFilter): Likewise.
3344         (removeExposeFilter): Likewise.
3345         (gtkWidgetQueueDrawArea): Rename to ...
3346         (gtkWidgetRepaintArea): New method.
3347         (beginNativeRepaint): New method.
3348         (endNativeRepaint): New method.
3349         (setComponentBounds): Move implementation here from
3350         GtkComponentPeer.
3351         (paint): Remove implementation.
3352         (repaint): Wrap call to gtkWidgetRepaintArea with calls to
3353         beginNativeRepaint and endNativeRepaint.
3354         (setBounds): Use menu bar height in bounds calculation.
3355         (postExposeEvent): Only post paint event if we're not doing a
3356         native repaint.
3357         (gtkWidgetSetParent): Replace gtk_layout_put with gtk_fixed_put.
3358         (setNativeBounds): Replace gtk_layout_move with gtk_fixed_move.
3359         (find_gtk_layout): Remove function.
3360         (filter_expose_event_handler): Likewise.
3361         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (postExposeEvent):
3362         Likewise.
3363         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3364         (setComponentBounds): Call GtkComponentPeer's
3365         setComponentBounds.
3366         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight):
3367         New method.
3368         (moveLayout): Rename to ...
3369         (gtkFixedMove): New method.
3370         (gtkLayoutSetVisible): Rename to ...
3371         (gtkFixedSetVisible): New method.
3372         (setMenuBar): Rearrange, to make the three separate cases
3373         clearer.
3374         (postExposeEvent): Only post paint event if we're not doing a
3375         native repaint.
3376         * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
3377         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
3378         (gtkWidgetModifyFont): New method.
3379         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3380         (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,Color)):
3381         Call run directly, rather than spawning a new thread.
3382         (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,int,int,int,int,Color)):
3383         Likewise.
3384         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3385         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (gtkSetFont):
3386         Rename to ...
3387         (gtkWidgetModifyFont): New method.
3388         (create): Rename ebox to eventbox.
3389         * gnu/java/awt/peer/gtk/GtkListPeer.java,
3390         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
3391         Rename to ...
3392         (gtkWidgetModifyFont): New method.
3393         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
3394         (GtkMenuComponentPeer): Set the default font.
3395         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3396         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3397         (gtkSetFont): Rename to ...
3398         (gtkWidgetModifyFont): New method.
3399         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3400         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3401         * java/awt/Component.java (locale): Initialize to default
3402         locale.
3403         * java/awt/Container.java (invalidateTree): Make
3404         package-private.
3405         (paint): Paint self first.
3406         (setMenuBar): Call invalidateTree.
3407         * java/awt/Panel.java (dispatchEventImpl): Remove method.
3408         * java/awt/Window.java (show): Call no-parameter variant of
3409         requestFocusInWindow.
3410         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (initState):
3411         Remove special case for window widget.
3412         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
3413         (grab_current_drawable): Likewise.
3414         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
3415         (create): Replace GtkLayout with GtkFixed.
3416         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3417         (pre_event_handler): Remove special cases for GDK_EXPOSE events.
3418         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: New file.
3419         Move all GtkFramePeer native method implementations here from
3420         gnu_java_awt_peer_gtk_GtkWindowPeer.c.
3421         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3422         Replace GtkLayout with GtkFixed.
3423         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3424         (find_layout): Remove function.
3425         (create): Replace GtkLayout with GtkFixed.
3426         (connectSignals): Remove find_layout call.
3427         (toBack): Replace XFlush with gdk_flush.
3428         (toFront): Replace XFlush with gdk_flush.
3429         Move GtkFramePeer native method implementations to
3430         gnu_java_awt_peer_gtk_GtkFramePeer.c.
3431         * jni/gtk-peer/gtkpeer.h: Remove declaration of find_gtk_layout.
3432
3433 2004-11-30  Michael Koch  <konqueror@gmx.de>
3434
3435         * javax/swing/JTextArea.java
3436         (lineWrap): Renamed from "wrapping".
3437         (wrapStyleWord): NEw field.
3438         (getLineWrap): Re-edited javadoc comment.
3439         (setLineWrap): Likewise.
3440         (getWrapStyleWord): New method.
3441         (setWrapStyleWord): Likewise.
3442
3443 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
3444
3445         * configure: Regenerate for libtool change.
3446
3447 2004-11-29  Tom Tromey  <tromey@redhat.com>
3448
3449         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
3450         Recognize --help and --version.
3451         (usage): Mention gcj-dbtool.  Added "out" argument.
3452         (insist): Updated.
3453
3454 2004-11-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
3455
3456         * link.cc (link_symbol_table): Do not use intptr_t.
3457
3458 2004-11-28  Mark Wielaard  <mark@klomp.org>
3459
3460         * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
3461         XMLDecoder tests which currently don't compile.
3462
3463 2004-11-27  Andrew Haley  <aph@redhat.com>
3464
3465         * link.cc (ensure_class_linked): Conditionally compile
3466         _Jv_IsInterpretedClass on INTERPRETER.
3467         (print_class_loaded): Likewise.
3468         (wait_for_state): Likewise.
3469         * include/jvm.h (ROUND): Move to here from include/java-interp.h.
3470         * include/java-interp.h (ROUND): Remove.
3471
3472 2004-11-25  Tom Tromey  <tromey@redhat.com>
3473
3474         * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
3475         * java/lang/Class.h (_Jv_Linker): Declare.
3476         (Class): Fix names of friends.
3477         (_Jv_getInterfaceMethod): Declare.
3478
3479 2004-11-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3480
3481         * testsuite/lib/libjava.exp (libjava_arguments): Add new global
3482         variable libjava_ld_library_path.
3483         (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
3484
3485 2004-11-25  Bryce McKinlay  <mckinlay@redhat.com>
3486
3487         * java/util/ResourceBundle.java (BundleKey): Don't implement
3488         Cloneable.
3489         (BundleKey.clone): Removed.
3490         (getBundle): Copy BundleKey using constructor, not clone().
3491
3492 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
3493
3494         * configure: Regenerate for libtool reversion.
3495
3496 2004-11-25  Michael Koch  <konqueror@gmx.de>
3497
3498         * Makefile.am: Added most of javax.print again.
3499         * Makefile.in: Regenerated.
3500
3501 2004-11-25  Michael Koch  <konqueror@gmx.de>
3502
3503         * Makefile.am: Added most of javax.print again.
3504         * Makefile.in: Regenerated.
3505
3506 2004-11-24  Tom Tromey  <tromey@redhat.com>
3507
3508         * Merged gcj-abi-2-dev-branch to trunk.
3509
3510 2004-11-16  Tom Tromey  <tromey@redhat.com>
3511
3512         * include/java-interp.h (_Jv_DefineClass): Updated.
3513         * java/lang/natVMClassLoader.cc (defineClass): Pass protection
3514         domain to class reader.
3515         * defineclass.cc (parse): Use print_class_loaded.
3516         Include ProtectionDomain.h.
3517         (_Jv_DefineClass): Added ProtectionDomain argument.
3518         (_Jv_ClassReader): Likewise.
3519         * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
3520         * link.cc: Include CodeSource.h.
3521         (print_class_loaded): New function.
3522         (wait_for_state): Use it.
3523
3524 2004-11-16  Andrew Haley  <aph@redhat.com>
3525
3526         * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
3527
3528 2004-11-16  Andrew Haley  <aph@redhat.com>
3529
3530         * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
3531         * configure.host: Define libgcj_ld_symbolic for Linux hosts.
3532         * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
3533         * configure: Regenerate.
3534         * Makefile.in: Regenerate.
3535
3536 2004-11-15  Andrew Haley  <aph@redhat.com>
3537
3538         * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
3539         gc-allocated object.
3540
3541 2004-11-15  Andrew Haley  <aph@redhat.com>
3542
3543         * java/net/URLClassLoader.java
3544         (URLLoader.getClassPath): New method.
3545         (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
3546         attribute and add URLs for each entry.
3547         (JarURLLoader.classPath): New field.
3548         (JarURLLoader.getClassPath): New method.
3549         (addURLImpl): Scan through the list of extraUrls in the new
3550         loader, adding them to our urlinfos.
3551         (definePackage, findURLResource, findResources): Use
3552         urlinfos.size(), not urls.size().
3553
3554 2004-11-11  Tom Tromey  <tromey@redhat.com>
3555
3556         * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
3557         method.
3558         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
3559         linked.
3560         (ensureSupersLinked): Declare.
3561         * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
3562         linked.
3563
3564 2004-11-10  Tom Tromey  <tromey@redhat.com>
3565
3566         * gij.cc (main): Treat -verbose the same as -verbose:class.
3567         (help): Document -verbose and -verbose:class.
3568
3569         * link.cc (verbose_class_flag): Declare.
3570         (wait_for_state): Print message when handling precompiled class.
3571         * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
3572
3573 2004-11-09  Tom Tromey  <tromey@redhat.com>
3574
3575         * testsuite/libjava.lang/assign2.out: New file.
3576         * testsuite/libjava.lang/assign2.java: New file.
3577
3578         * java/lang/natRuntime.cc (insertSystemProperties): Set
3579         java.version to 1.4.2 and java.specification.version to 1.4.  Set
3580         java.runtime.version.
3581
3582 2004-11-08  Tom Tromey  <tromey@redhat.com>
3583
3584         * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
3585         supers installed.
3586         * link.cc (verify_type_assertions): Don't link supers.
3587
3588         * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
3589         * include/java-interp.h (class _Jv_InterpClass)
3590         <_Jv_PrepareMissingMethods>: No longer `friend'.
3591         * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
3592         `friend'.
3593         (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
3594         _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
3595         _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
3596         _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
3597         _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
3598         * link.cc (search_method_in_class): Renamed from
3599         _Jv_SearchMethodInClass.
3600         (resolve_pool_entry): Updated.
3601
3602         * include/jvm.h (_Jv_CheckAssignment): Removed.
3603         * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
3604
3605 2004-11-05  Tom Tromey  <tromey@redhat.com>
3606
3607         * link.cc (verify_type_assertions): Ensure classes have supers
3608         linked.  Strip off array types first.
3609
3610 2004-11-05  Bryce McKinlay  <mckinlay@redhat.com>
3611
3612         * link.cc: Include VerifyError.h.
3613         (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
3614         in the type assertion table.
3615         * include/execution.h (_Jv_CompiledEngine::do_verify): Use
3616         verify_type_assertions.
3617         * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
3618         * java/lang/Class.h (JV_ASSERT_END_OF_TABLE,
3619         JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
3620         assertion code values.
3621         (struct _Jv_TypeAssertion): Declare.
3622         (assertion_table): New class field.
3623         (verify): Remove class field.
3624
3625 2004-11-05  Andrew Haley  <aph@redhat.com>
3626
3627         * Makefile.am: Move jv_dbtool.java to
3628         gnu/gcj/tools/gcj_dbtool/Main.java.
3629         * Makefile.in: Rebuild.
3630         * java/lang/VMCompiler.java: Rename property
3631         "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
3632         * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
3633         jv_dbtool.java.
3634
3635 2004-11-05  Andrew Haley  <aph@redhat.com>
3636
3637         * jv_dbtool.java (main): Allow the user to specify the size of the
3638         database.  Display the capacity and the size.
3639         (usage): Show the new option.
3640
3641 2004-11-04  Tom Tromey  <tromey@redhat.com>
3642
3643         * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
3644         * link.cc (make_vtable): Use correct index when searching for
3645         missing method's name.  Don't use `flags'.
3646         (set_vtable_entries): Removed `flags' argument.  Don't recurse
3647         into superclasses.
3648         (link_symbol_table): Ensure target class method table is
3649         complete.  Ensure target fields are laid out before entering
3650         loop.
3651
3652         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
3653         fix.
3654
3655         * interpret.cc (do_verify): Don't verify abstract methods.
3656
3657 2004-11-01  Tom Tromey  <tromey@redhat.com>
3658
3659         * link.cc (wait_for_state): Call verify_class.
3660
3661         * verify.cc (state::check_no_uninitialized_objects): Removed.
3662         (push_jump): Updated.
3663         (push_exception_jump): Likewise.
3664         (handle_ret_insn): Likewise.
3665         (handle_jsr_insn): Likewise.
3666
3667 2004-10-28  Andrew Haley  <aph@redhat.com>
3668
3669         * gnu/gcj/runtime/PersistentByteMap.java: New file.
3670         * jv_dbtool.java: New file.
3671         * Makefile.am (bin_PROGRAMS): Add jv-dbtool
3672         (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
3673         (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
3674         * Makefile.in: Regenerate,
3675         * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
3676         Enumeration, StringTokenizer, Vector, PersistentByteMap.
3677         (precompiledMapFiles): New variable.
3678         (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
3679         initialize precompiledMapFiles.
3680         (compileClass): Look at the database of precompiled class files
3681         before firing up gcj.
3682
3683         * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
3684
3685 2004-10-27  Andrew Haley  <aph@redhat.com>
3686
3687         * java/lang/VMCompiler.java (compileClass): try looking for
3688         precompiledMapFiles.
3689         * gnu/gcj/runtime/PersistentByteMap.java: New file.
3690
3691 2004-10-27  Tom Tromey  <tromey@redhat.com>
3692
3693         * link.cc (ensure_class_linked): Only resolve classes for
3694         compiled classes.
3695         (add_miranda_methods): Ensure interface supers are installed.
3696         (resolve_pool_entry): Better error message.
3697
3698 2004-10-25  Tom Tromey  <tromey@redhat.com>
3699
3700         * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
3701
3702         * java/util/ResourceBundle.java (tryBundle): Use
3703         Class.isAssignableFrom rather than catching ClassCastException.
3704
3705         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
3706         exception if we hit EOF of `in'.
3707         (read): Handle case where inflating returns -1.
3708
3709         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
3710         initialize `iter'.
3711         * gnu/java/text/SentenceBreakIterator.java
3712         (SentenceBreakIterator): Don't initialize `iter'.
3713         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
3714         initialize `iter'.
3715         * gnu/java/text/CharacterBreakIterator.java
3716         (CharacterBreakIterator): Don't initialize `iter'.
3717         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
3718         constructor.
3719         * java/text/BreakIterator.java: Updated documentation.
3720
3721 2004-10-20  Tom Tromey  <tromey@redhat.com>
3722
3723         * java/util/ResourceBundle.java (tryBundle): Also ignore
3724         ClassCastException.
3725
3726 2004-10-18  Tom Tromey  <tromey@redhat.com>
3727
3728         * interpret.cc (do_post_miranda_hook): New method.
3729         * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
3730         New field.
3731         (_Jv_CompiledEngine::do_post_miranda_hook): New method.
3732         (_Jv_CompiledEngine): Initialize new field.
3733         (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
3734         (_Jv_InterpreterEngine): Initialize new field.
3735         * link.cc (resolve_pool_entry): Put Miranda methods in target
3736         class.
3737         (ensure_method_table_complete): Call post_miranda_hook.
3738         * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
3739         aux_info.
3740         * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
3741         (parse): Set class' aux_info here.
3742
3743         * boehm.cc (_Jv_MarkObj): Mark `throws'.
3744
3745         * boehm.cc: Re-merged with trunk.
3746
3747 2004-10-18  Andrew Haley  <aph@redhat.com>
3748
3749         PR java/18036:
3750         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
3751         and correct logic used to find interpreter.
3752
3753 2004-10-13  Andrew Haley  <aph@redhat.com>
3754
3755         * interpret.cc (_Jv_InterpMethod::run): Initialize
3756         _Jv_StartOfInterpreter.
3757         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
3758         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
3759         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
3760         _Unwind_FindEnclosingFunction to discover whether PC is within the
3761         interpreter.
3762
3763 2004-10-13  Tom Tromey  <tromey@redhat.com>
3764
3765         * link.cc (find_iindex): Copy correct number of slots to new
3766         ioffsets.
3767
3768 2004-10-12  Tom Tromey  <tromey@redhat.com>
3769
3770         * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
3771         proc.
3772         (gcj_loader_test_one): Use it.
3773         (gcj_loader_run): Likewise.
3774
3775         * prims.cc: Don't include FirstThread.h.
3776
3777 2004-10-06  Tom Tromey  <tromey@redhat.com>
3778
3779         * link.cc (ensure_method_table_complete): Ensure superclass
3780         Miranda methods installed.
3781
3782         * include/java-interp.h (class _Jv_JNIMethod): Added
3783         JV_MARKOBJ_DECL as a friend.
3784         * interpret.cc (ncode): Allocate jni_arg_types field with GC.
3785         * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
3786         interpreter method structures.  Mark jni_arg_types of JNI
3787         methods.
3788
3789         * defineclass.cc (parse): Use JV_STATE_READ.
3790         * java/lang/Class.h (JV_STATE_READ): New enum value.
3791
3792 2004-10-05  Tom Tromey  <tromey@redhat.com>
3793
3794         * link.cc (resolve_pool_entry): Add signature info to missing
3795         method's information.
3796
3797         * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
3798         * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
3799
3800 2004-10-04  Tom Tromey  <tromey@redhat.com>
3801
3802         * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
3803         marking IDT.
3804
3805 2004-09-29  Tom Tromey  <tromey@redhat.com>
3806
3807         * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
3808         resolve.cc.
3809         * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
3810         * jni.cc: Use _Jv_Linker.
3811         * interpret.cc: Use _Jv_Linker.
3812         * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
3813         * java/lang/natClassLoader.cc: Use _Jv_Linker.
3814         * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
3815         * java/lang/Class.h: Use _Jv_Linker.
3816         * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
3817         * resolve.cc: Renamed ...
3818         * link.cc: ... here.  Use _Jv_Linker.
3819         * defineclass.cc (checkExtends): Use _Jv_Linker.
3820
3821 2004-09-17  Tom Tromey  <tromey@redhat.com>
3822
3823         * defineclass.cc (handleCodeAttribute): Don't reference
3824         `deferred'.
3825         (handleMethodsEnd): Likewise.
3826         * include/java-interp.h (_Jv_MethodBase::deferred): Removed
3827         field.
3828         (_Jv_Defer_Resolution): Don't declare or define.
3829         * interpret.cc (do_create_ncode): Don't resolve deferred method
3830         pointers.
3831         * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
3832         * resolve.cc (link_symbol_table): No need to defer resolution.
3833
3834 2004-09-14  Tom Tromey  <tromey@redhat.com>
3835
3836         * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
3837         (_Jv_MarkObj): Updated.
3838         (_Jv_MarkArray): Likewise.
3839
3840         * include/jvm.h (StringClass): Removed.
3841         * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
3842         * interpret.cc (_Jv_InitField): Don't use StringClass.
3843         * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
3844         StringClass.
3845         (rehash): Likewise
3846         (intern): Likewise.
3847         (_Jv_FinalizeString): Likewise.
3848         (_Jv_NewStringUtf8Const): Likewise.
3849         (equals): Likewise.
3850         * prims.cc (JvConvertArgv): Don't use StringClass.
3851
3852         * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
3853         * resolve.cc (ensure_fields_laid_out): Don't mention
3854         COMPACT_FIELDS.
3855         * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
3856         * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
3857
3858         * java/lang/reflect/natField.cc (getType): Use resolve_field.
3859         * java/lang/natVMClassLoader.cc (resolveClass): New native
3860         implementation.
3861         (linkClass0): Removed.
3862         (markClassErrorState0): Likewise.
3863         * java/lang/natClassLoader.cc: Include execution.h.  Moved class
3864         preparation code to resolve.cc.
3865         (_Jv_RegisterClassHookDefault): Set class's execution engine if
3866         not already set.
3867         (_Jv_FindClass): Use wait_for_state.
3868         (_Jv_NewArrayClass): Likewise.  Simplified permissions setting.
3869         * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
3870         Moved interface table and class preparation code to resolve.cc.
3871         (finalize): Rewrote.
3872         (initializeClass): Simplified locking and class preparation.
3873         * java/lang/VMClassLoader.java (linkClass0): Removed.
3874         (markClassErrorState0): Likewise.
3875         (resolveClass): Now native.
3876         (transformException): New method.
3877         * java/lang/Class.h (getSuperclass): Don't try to resolve super
3878         reference.
3879         (getInterface): Likewise.
3880         (size): Likewise.
3881         (set_state): New method.
3882         (Class): Updated friend declarations.
3883         (verify): Field now private.
3884         (engine): New field.
3885         * include/jvm.h (class _Jv_Resolver): New class declaration.
3886         (_Jv_ResolveField): Removed declaration.
3887         (_Jv_CheckAccessNoInit): Likewise.
3888         (_Jv_isBinaryCompatible): Removed.
3889         * include/java-interp.h (class _Jv_MethodBase): Updated friend
3890         declarations.
3891         (class _Jv_InterpMethod): Likewise.
3892         (class _Jv_InterpClass): Likewise.
3893         (class _Jv_JNIMethod): Likewise.
3894         * include/execution.h: New file.
3895         * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
3896         (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
3897         Register class after setting fields.
3898         * resolve.cc: Include execution.h, VerifyError.h.  Moved
3899         interpreter-specific code to interpret.cc.
3900         (uaddr): New location.
3901         (struct aligner): Likewise.
3902         (ALIGNOF): Likewise.
3903         (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
3904         (INITIAL_IFACES_LEN): Likewise.
3905         (null_idt): Likewise.
3906         (_Jv_GetMethodString): Likewise.
3907         (_Jv_ThrowNoSuchMethodError): Likewise.
3908         (_Jv_abstractMethodError): Likewise.
3909         (_Jv_Resolver::get_alignment_from_class): Renamed.
3910         (_Jv_Resolver::resolve_field): Likewise.
3911         (_Jv_Resolver::resolve_pool_entry): Likewise.
3912         (_Jv_Resolver::resolve_class_ref): Likewise.
3913         (_Jv_Resolver::prepare_constant_time_tables): Likewise.
3914         (_Jv_Resolver::indexof): Likewise.
3915         (_Jv_Resolver::get_interfaces): Likewise.
3916         (_Jv_Resolver::generate_itable): Likewise.
3917         (_Jv_Resolver::append_partial_itable): Likewise.
3918         (_Jv_Resolver::find_iindex): Likewise.
3919         (_Jv_Resolver::link_symbol_table): Likewise.
3920         (_Jv_Resolver::link_exception_table): Likewise.
3921         (_Jv_Resolver::layout_interface_methods): Likewise.
3922         (_Jv_Resolver::layout_vtable_methods): Likewise.
3923         (_Jv_Resolver::set_vtable_entries): Likewise.
3924         (_Jv_Resolver::make_vtable): Likewise.
3925         (_Jv_Resolver::ensure_fields_laid_out): Likewise.
3926         (_Jv_Resolver::ensure_class_linked): Likewise.
3927         (_Jv_Resolver::ensure_supers_installed): Likewise.
3928         (_Jv_Resolver::add_miranda_methods): Likewise.
3929         (_Jv_Resolver::ensure_method_table_complete): Likewise.
3930         (_Jv_Resolver::verify_class): Likewise.
3931         (_Jv_Resolver::wait_for_state): Likewise.
3932         * prims.cc (_Jv_soleCompiledEngine): New global.
3933         (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
3934         (_Jv_CheckAccessNoInit): Removed.
3935         * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
3936         * interpret.cc: Include platform.h, ClassFormatError.h,
3937         Modifier.h, execution.h.
3938         (_Jv_soleInterpreterEngine): New global.
3939         (compile): Use resolve_pool_entry.
3940         (run): Likewise.
3941         (_Jv_InitField): New location.
3942         (skip_one_type): Likewise.
3943         (get_ffi_type_from_signature): Likewise.
3944         (_Jv_count_arguments): Likewise.
3945         (init_cif): Likewise.
3946         (ncode_closure): Likewise.
3947         (ffi_closure_fun): Likewise.
3948         (ncode): Likewise.
3949         (throw_class_format_error): Likewise.
3950         (throw_class_format_error): Likewise.
3951         (_Jv_InterpreterEngine::do_verify): New method.
3952         (_Jv_InterpreterEngine::do_create_ncode): Likewise.
3953         (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
3954         (_Jv_InterpreterEngine::do_resolve_method): Likewise.
3955         * defineclass.cc: Include execution.h.
3956         (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
3957         engine.
3958         (checkExtends): Ensure superclass has supers installed.
3959         (_Jv_ClassNameSamePackage): Clarify usage constraints.
3960         * boehm.cc (GC_enable, GC_disable): Declare at top of file.
3961         (_Jv_MarkObj): Unconditionally mark vtable.  Mark interface
3962         dispatch tables.
3963
3964 2004-09-13  Tom Tromey  <tromey@redhat.com>
3965
3966         * mauve-libgcj: List some classes we don't have.
3967
3968 2004-09-10  Andrew Haley  <aph@redhat.com>
3969
3970         * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
3971         * java/lang/natClass.cc (initializeClass): Check itable.
3972         (_Jv_getInterfaceMethod): New.
3973         (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
3974         Check that an interface method isn't called with invokevirtual.
3975
3976         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
3977         super_meth is virtual.
3978
3979 2004-09-01  Tom Tromey  <tromey@redhat.com>
3980
3981         * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
3982         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
3983         _Jv_CheckAccessNoInit.
3984         * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
3985         * prims.cc (_Jv_CheckAccessNoInit): New method.
3986
3987         * java/lang/reflect/natMethod.cc (invoke): Check access against
3988         declaring class, not object's class.
3989         * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
3990         argument.
3991         (_Jv_LayoutVTableMethods): Perform checks of accessibility of
3992         overridden method.
3993         * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
3994         argument.
3995
3996 2004-08-30  Andrew Haley  <aph@redhat.com>
3997
3998         * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
3999         ClassNotFoundException.
4000         Throw NoClassDefFoundError.
4001
4002         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
4003         to klass->verify() from here ...
4004         (_Jv_PrepareCompiledClass): ...and put it here.
4005
4006 2004-08-27  Andrew Haley  <aph@redhat.com>
4007
4008         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
4009         klass->verify().
4010         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
4011         (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
4012
4013 2004-08-27  Tom Tromey  <tromey@redhat.com>
4014
4015         * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
4016         friend.
4017         * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
4018         (_Jv_IsAssignableFromSlow): New function.
4019         Include VerifyError.h.
4020         * include/jvm.h (_Jv_CheckAssignment): Declare.
4021
4022 2004-08-18  Andrew Haley  <aph@redhat.com>
4023
4024         * java/lang/VMCompiler.java (loadSharedLibrary): Add className
4025         argument.  Pass it to findClass instead of fileName.
4026         (compileClass): Pass class name to loadSharedLibrary.
4027
4028 2004-06-22  Andrew Haley  <aph@redhat.com>
4029
4030         * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
4031
4032 2004-06-15  Andrew Haley  <aph@redhat.com>
4033
4034         * java/lang/natSystem.cc (getenv0): Don't assume environment
4035         variable is Latin 1 coded.
4036
4037 2004-06-07  Andrew Haley  <aph@redhat.com>
4038
4039         * java/lang/System.java: (getenv0): New method.
4040         (getenv): Add security check.  Do the right thing.
4041         * java/lang/natSystem.cc (getenv0): New method.
4042
4043 2004-04-19    Andrew Haley  <aph@redhat.com>
4044
4045         * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
4046         we destroy.
4047
4048         * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
4049         is returned as an int in the range 0 to 255.
4050
4051 2004-08-13  Tom Tromey  <tromey@redhat.com>
4052
4053         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
4054         class if it is interpreted.
4055
4056 2004-08-12  Tom Tromey  <tromey@redhat.com>
4057
4058         * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
4059         * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
4060         (Class::getSuperclass): Updated.
4061         (Class::getInterfaces): Likewise.
4062         (Class::size): Updated.
4063         (_Jv_LayoutClass): Updated declaration.
4064         * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
4065         Synchronize on class.
4066         (_Jv_LayoutClass): Changed interface.
4067         (initializeClass): Updated.
4068         (_Jv_LinkSymbolTable): Likewise.
4069
4070         * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
4071         friend.
4072         * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
4073         _Jv_isBinaryCompatible.
4074         * java/lang/natClass.cc (initializeClass): Use
4075         _Jv_isBinaryCompatible.
4076         (_Jv_LinkSymbolTable): Likewise.
4077         * include/jvm.h (_Jv_isBinaryCompatible): New function.
4078
4079 2004-08-11  Tom Tromey  <tromey@redhat.com>
4080
4081         * gcj/javaprims.h: Regenerated.
4082         * java/lang/natClassLoader.cc (getClassLoader0): Removed.
4083         (_registerClass): Likewise.
4084         * Makefile.in: Rebuilt.
4085         * Makefile.am (core_java_source_files): Added VMCompiler.
4086         * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
4087         * java/lang/VMCompiler.java: New file.
4088         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
4089         `verbose' code.
4090         (copyFile): Don't use fully-qualified name.
4091         (h): Removed.
4092         * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
4093         (defineClass): Use VMCompiler.
4094         * java/lang/ClassLoader.java (defineClass): Removed jit
4095         compilation code and `verbose' code.
4096         (getClassLoader0): Removed.
4097         (_registerClass): Likewise.
4098         (SharedLibHelpers): Removed.
4099
4100 2004-08-10  Tom Tromey  <tromey@redhat.com>
4101
4102         * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
4103         URL)): New constructor.
4104         (SoURLLoader): Likewise.
4105         (JarURLLoader): Create SoURLLoader with override URL.
4106
4107 2004-08-10  Mark Wielaard  <mark@klomp.org>
4108
4109         * Makefile.in: Rebuilt.
4110         * Makefile.am (interpret.lo): New rule.
4111
4112 2004-08-05  Andrew Haley  <aph@redhat.com>
4113
4114         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
4115         aside for "GCJLIBS" in directory where jarfiles are loaded.
4116         (JarURLLoader.getClass): New method.
4117         (JarURLLoader.toString):  New method.
4118         (FileResource.toString):  New method.
4119         * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
4120         Remove "Duplicate class registration: " bug.
4121         (_registerClass): New method.
4122         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
4123         (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
4124         Add debugging.
4125         (_Jv_LayoutClass): Use getSuperclass() rather than directly
4126         accessing the field.
4127         * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
4128         (defineClass): Call gcj to JIT-compile a class.
4129         (_registerClass): New method.
4130         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
4131         library name can refer to more than one loaded library, so use a
4132         Set of SharedLibHelpers.
4133         If a shared library is already loaded, take a copy.
4134         (copyFile): New function.
4135
4136         * testsuite/libjava.compile/compile.exp: Force
4137         -findirect-dispatch.
4138
4139         * java/security/BasicPermission.java: Remove bogus checks.
4140
4141         * java/lang/System.java (getenv0): New method.
4142         * java/lang/natSystem.cc (getenv0): New method.
4143
4144 2004-05-24  Andrew Haley  <aph@redhat.com>
4145
4146         * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
4147
4148 2004-04-20  Bryce McKinlay  <mckinlay@redhat.com>
4149
4150         * Merged with HEAD as of 20040514. Diff against
4151         gcj-abi-2-merge-20040514.
4152
4153 2004-04-16  Andrew Haley  <aph@redhat.com>
4154
4155         * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
4156         _Jv_LayoutClass.
4157         (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
4158         (_Jv_PrepareCompiledClass): If we throw an exception during
4159         preparation, restore state.
4160         (ClassLoader::getClassLoader0): New method.
4161
4162         * java/lang/natClass.cc (get_alignment_from_class): Moved here
4163         from resolve.cc.
4164         (ALIGNOF): Use offsetof, not __alignof__.
4165         (_Jv_ResolveClassRef): Resolve a reference to a class in a
4166         constant pool.
4167         (getInterfaces): Emit debug output if interface hasn't been
4168         resolved.
4169         (initializeClass): Call _Jv_LayoutClass.
4170         (_Jv_LinkSymbolTable): Add debugging output.
4171         (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
4172         found.
4173         (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
4174         (_Jv_LinkSymbolTable): Pass the real class loader to
4175         _Jv_FindClass.
4176         (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
4177         exception class.
4178         (_Jv_LinkSymbolTable): Assert if we find a static field reference
4179         to an interpreted class.
4180         (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
4181         superclass.
4182         (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
4183         resolve.cc.
4184
4185         * java/lang/VMSecurityManager.java: Check for the system class
4186         loader as well as loader != null.
4187
4188         * java/lang/SecurityManager.java (checkPermission): Remove
4189         security check.
4190         (checkRead): Likewise.
4191         (checkConnect): Likewise.
4192
4193         * java/lang/ClassLoader.java (loadClass): Include all class
4194         loaders in stack trace string.
4195         Look for class in "gcjlib.so" in the same directory.
4196         (getSystemClassLoader) Use getClassLoader0.
4197         (getClassLoader0): New native method.
4198
4199         * java/lang/Class.h (getSuperclass): New method.
4200         (getInterface): New method.
4201         (size): Lay out class if needed.
4202         (firstMethodIndex): New method.
4203         (Jv_ResolveClassRef): New declaration.
4204         (_Jv_LinkSymbolTable): New declaration.
4205
4206         * java/io/ObjectOutputStream.java: Add DEBUG statements
4207         everywhere.
4208         (dumpElementln): New method.
4209         (depth): New field.
4210         * java/io/ObjectInputStream.java (MyIOException): new, for
4211         debugging.
4212         Everywhere: use MyIOException rather than IOException.
4213         Indent debugging output to make nesting visible.
4214         (currentClassLoader): Make native
4215         (callersClassLoader): New field.
4216         (depth): New field.
4217         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4218         method.
4219
4220         (readObject): ENDBLOCKDATA is generated if the class has a write
4221         method, not if it has a read method.
4222
4223         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
4224
4225         * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
4226         getContextClassLoader form the current thread after our own class
4227         loader.
4228
4229         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
4230         debugging.
4231         (toString): New method.
4232
4233         * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
4234         interfaces array.
4235
4236         * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
4237         a constant pool entry, resolve it now.
4238         (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
4239         in natClass.cc.
4240         Move get_alignment_from_class to natClass.cc.
4241
4242         * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
4243         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
4244
4245         * defineclass.cc (checkExtends): Don't access superclass field
4246         directly.
4247
4248         * Makefile.in: regenerate.
4249
4250         * gnu/gcj/util/natDebug.cc: New
4251         * gnu/gcj/util/Debug.java: New.
4252
4253         * Makefile.am (java/io/ObjectInputStream.lo): Use
4254         -fno-optimize-sibling-calls.
4255
4256         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
4257         _Jv_LookupInterfaceMethodIdx to calculate the address of a method
4258         in an interface.
4259         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
4260
4261 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
4262
4263         * configure: Regenerate for libtool change.
4264
4265 2004-11-24  Michael Koch  <konqueror@gmx.de>
4266
4267         * gnu/java/security/PolicyFile.java: New file.
4268         * Makefile.am: Added gnu/java/security/PolicyFile.java.
4269         * Makefile.in: Regenerated.
4270
4271 2004-11-24  Michael Koch  <konqueror@gmx.de>
4272
4273         * java/lang/Character.java, scripts/unicode-blocks.pl:
4274         Reorder "final static" to "static final".
4275
4276 2004-11-24  Michael Koch  <konqueror@gmx.de>
4277
4278         * java/util/ResourceBundle.java: Reformatted.
4279         (tryBundle): Fixed javadoc.
4280
4281 2004-11-24  Jeroen Frijters  <jeroen@frijters.net>
4282
4283         * java/text/MessageFormat.java
4284         (formatInternal): Made private.
4285
4286 2004-11-24  Michael Koch  <konqueror@gmx.de>
4287
4288         * java/nio/DirectByteBufferImpl.java
4289         (ReadWrite.ReadWrite): New constructor.
4290         (DirectByteBufferImpl): Likewise.
4291         * jni.cc (_Jv_JNI_NewDirectByteBuffer):
4292         Use DirectByteBufferImpl.ReadWrite.
4293         * Makefile.am:
4294         Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
4295         * Makefile.in: Rgenerated.
4296
4297 2004-11-24  Jeroen Frijters  <address@bogus.example.com>
4298
4299         * java/nio/DirectByteBufferImpl.java
4300         (ReadOnly): New inner subclass.
4301         (ReadWrite): New inner subclass.
4302         (owner): Made final and private.
4303         (address): Made final.
4304         (DirectByteBufferImpl(int)): New constructor.
4305         (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
4306         (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
4307         (allocate): Modified to instantiate ReadWrite subclass.
4308         (finalize): Fixed to only free the buffer, if we own it.
4309         (put): Removed read-only check.
4310         (slice, duplicate): Modified to instantiate appropriate subclass.
4311         (isReadOnly): Removed.
4312         * java/nio/MappedByteBufferImpl.java
4313         (slice, duplicate): Modified to instantiate appropriate
4314         DirectByteBufferImpl subclass.
4315
4316 2004-11-24  Michael Koch  <konqueror@gmx.de>
4317
4318         * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
4319         * java/nio/DirectByteBufferImpl.java:
4320         Moved native methods to java.nio.VMDirectByteBuffer class.
4321         * java/nio/MappedByteBufferImpl.java:
4322         Use native methods from java.nio.VMDirectByteBuffer class.
4323         * java/nio/VMDirectByteBuffer.java: New file,
4324         * java/nio/natDirectByteBufferImpl.cc:
4325         Moved all methods into java.nio.VMDirectByteBuffer class.
4326         * java/nio/channels/spi/AbstractSelectableChannel.java
4327         (register): Only re-use valid keys.
4328         * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
4329         * Makefile.in: Regenerated.
4330
4331 2004-11-24  Michael Koch  <konqueror@gmx.de>
4332
4333         * java/nio/DirectByteBufferImpl.java,
4334         java/nio/MappedByteBufferImpl.java:
4335         Reformatted.
4336
4337 2004-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4338
4339         * testsuite/lib/libjava.exp,
4340         testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
4341
4342 2004-11-23  Richard Sandiford  <rsandifo@redhat.com>
4343
4344         * configure.host: Enable the interpreter for mips*-*-linux*.
4345
4346 2004-11-23  Michael Koch  <konqueror@gmx.de>
4347
4348         * java/lang/String.java (rehash): Removed.
4349         * java/lang/natString.cc (rehash): Made static.
4350         (_Jv_NewStringUtf8Const): Use static rehash method.
4351
4352 2004-11-23  Michael Koch  <konqueror@gmx.de>
4353
4354         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
4355         include/Makefile.in, testsuite/Makefile.in: Regenerated.
4356
4357 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
4358
4359         PR target/18444
4360         * configure.ac (threading): Accept 'posix95'.
4361         * configure: Regenerate.
4362
4363 2004-11-22  Michael Koch  <konqueror@gmx.de>
4364
4365         * gnu/java/nio/SocketChannelImpl.java
4366         (read): Made check for blocking un-ambiguous.
4367         Removed wrong check for data array length.
4368
4369 2004-11-21  Michael Koch  <konqueror@gmx.de>
4370
4371         * gnu/java/nio/SocketChannelImpl.java
4372         (read): Only return 0 when no bytes for reading available in
4373         non-blocking mode.
4374         * java/nio/channels/SocketChannel.java:
4375         Added some missing @return tags.
4376
4377 2004-11-21  Michael Koch  <konqueror@gmx.de>
4378
4379         * java/beans/PropertyChangeSupport.java
4380         (propertyChangeSupportSerializedDataVersion): Made static.
4381         * java/beans/VetoableChangeSupport.java
4382         (propertyChangeSupportSerializedDataVersion): Likewise.
4383
4384 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
4385
4386         * java/net/URLStreamHandler.java
4387         (parseURL): Fixed file path canonicalisation.
4388
4389 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
4390
4391         * java/net/URLStreamHandler.java
4392         (parseURL): Fixed file path canonicalisation.
4393
4394 2004-11-18  Michael Koch  <konqueror@gmx.de>
4395
4396         * java/net/URLClassLoader.java: Whitespace cleanup.
4397
4398 2004-11-18  Robert Schuster <address@bogus.example.com>
4399
4400         Complete 1.4 support
4401         * java/beans/PropertyDescriptor.java:
4402         (setReadMethod): New method
4403         (setWriteMethod): New method
4404         (equals): Implemented (1.4)
4405         (checkMethods): operates on arguments now (private)
4406
4407
4408 2004-11-18  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
4409
4410         * java/net/Inet6Address.java (getHostAddress): Fix textual
4411         representation of IPv6 address with embedded zeroes
4412         to conform to RFC 2373.
4413
4414 2004-11-18  Jeroen Frijters  <address@bogus.example.com>
4415
4416         * java/lang/StackTraceElement.java: Made final.
4417         * java/nio/channels/Channels.java: Added private constructor.
4418         * java/rmi/Naming.java: Added private constructor.
4419         * java/rmi/registry/LocateRegistry.java: Added private constructor.
4420         * java/rmi/server/RMIClassLoader.java: Added private constructor.
4421         * java/security/KeyPairGeneratorSpi.java
4422         (clone): Made protected and simplified implementation.
4423         * java/text/DateFormat.java
4424         (allFields): Made package accessible.
4425         * java/text/DecimalFormat.java
4426         (formatInternal): Made private.
4427         * java/text/Format.java
4428         (formatInternal): Made private.
4429         * java/util/logging/Handler.java: Made constructor protected.
4430         * java/util/regex/Matcher.java: Made final.
4431         * java/util/regex/Pattern.java: Made final.
4432         * javax/crypto/CipherInputStream.java
4433         (mark): Corrected mark parameter type (from long to int).
4434         * javax/crypto/ExemptionMechanism.java
4435         (finalize): Added.
4436         * javax/crypto/Mac.java
4437         (getMacLength): Made final.
4438         (clone): Made final.
4439         * javax/imageio/ImageIO.java: Added private constructor.
4440         * javax/imageio/stream/ImageInputStreamImpl.java
4441         (checkClosed): Made final.
4442         * javax/net/ssl/SSLPermission.java: Made final.
4443         * javax/print/DocFlavor.java
4444         (hostEncoding): Added work-around to prevent the field from being
4445         a compile time constant.
4446         * javax/print/attribute/AttributeSetUtilities.java: Added private
4447         constructor.
4448         (UnmodifiableDocAttributeSet): Made private.
4449         (UnmodifiablePrintJobAttributeSet): Made private.
4450         (UnmodifiablePrintRequestAttributeSet): Made private.
4451         (UnmodifiablePrintServiceAttributeSet): Made private.
4452         (SynchronizedAttributeSet): Made private.
4453         (SynchronizedDocAttributeSet): Made private.
4454         (SynchronizedPrintJobAttributeSet): Made private.
4455         (SynchronizedPrintRequestAttributeSet): Made private.
4456         (SynchronizedPrintServiceAttributeSet): Made private.
4457         * javax/security/auth/PrivateCredentialPermission.java: Made final.
4458
4459 2004-11-18  Craig Black  <craig.black@aonix.com>
4460
4461         * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
4462
4463 2004-11-18  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
4464
4465         * Makefile.am: Correct friend function declaration.
4466         * Makefile.in: Regenerated.
4467         * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
4468         scope to function names.  Declare functions directly.
4469         * libjava/java/lang/Class.h
4470         (java::lang::Class): Correct friend class declaration.
4471         (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
4472         scope.
4473         * libjava/java/lang/Class.h
4474         (java::lang::Object): Correct friend class declaration.
4475
4476 2004-11-17  David Daney  <ddaney@avtrex.com>
4477
4478         * java/io/BufferedInputStream.java (skip): Return zero on EOF.
4479
4480 2004-11-17  Michael Koch  <konqueror@gmx.de>
4481
4482         * java/net/Socket.java (getPort): Return 0 in error case.
4483
4484 2004-11-17  Michael Koch  <konqueror@gmx.de>
4485
4486         *  java/nio/DirectByteBufferImpl.java
4487         (owner): Updated comment.
4488         (allocate): New method.
4489
4490 2004-11-17  Michael Koch  <konqueror@gmx.de>
4491
4492         * java/net/URL.java (URL): Handle case when argument is null.
4493
4494 2004-11-17  Michael Koch  <konqueror@gmx.de>
4495
4496         * java/beans/Beans.java,
4497         java/beans/PropertyChangeEvent.java,
4498         java/beans/PropertyEditorSupport.java:
4499         Fixed javadocs.
4500
4501 2004-11-17  Michael Koch  <konqueror@gmx.de>
4502
4503         * java/util/Timer.java (DEFAULT_SIZE): Made static.
4504
4505 2004-11-17  Michael Koch  <konqueror@gmx.de>
4506
4507         * java/net/InetAddress.java (getCanonicalHostName):
4508         Support IPv6 addresses.
4509
4510 2004-11-16  Michael Koch  <konqueror@gmx.de>
4511
4512         * java/lang/Object.java: Added javadocs all over (merged from GNU
4513         classpath).
4514
4515 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
4516
4517         * java/security/Security.java (Security): Silence the warning about no
4518         providers found in the no debug case.
4519
4520 2004-11-16  Michael Koch  <konqueror@gmx.de>
4521
4522         * java/net/InetAddress.java
4523         (toString): Merged from GNU classpath.
4524
4525 2004-11-16  Michael Koch  <konqueror@gmx.de>
4526
4527         * java/awt/geom/doc-files/Area-1.png,
4528         java/awt/geom/doc-files/Ellipse-1.png,
4529         java/awt/geom/doc-files/GeneralPath-1.png:
4530         New files.
4531
4532 2004-11-16  Michael Koch  <konqueror@gmx.de>
4533
4534         * java/util/Currency.java (cache): Fix modifier order.
4535
4536 2004-11-16  Michael Koch  <konqueror@gmx.de>
4537
4538         * java/io/BufferedReader.java,
4539         java/io/FileInputStream.java,
4540         java/io/FileOutputStream.java,
4541         java/io/FileWriter.java,
4542         java/io/OutputStreamWriter.java,
4543         java/io/PipedInputStream.java,
4544         java/io/PipedOutputStream.java,
4545         java/io/PipedReader.java,
4546         java/io/PipedWriter.java,
4547         java/io/PrintStream.java,
4548         java/io/PushbackInputStream.java,
4549         java/io/RandomAccessFile.java,
4550         java/io/Reader.java,
4551         java/io/StreamTokenizer.java,
4552         java/io/StringReader.java,
4553         java/net/NetworkInterface.java,
4554         java/net/URLClassLoader.java,
4555         java/nio/ByteOrder.java,
4556         java/nio/channels/Channel.java:
4557         Fixed javadocs all over.
4558
4559 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
4560
4561         * Makefile.am: Add imported files.
4562         * Makefile.in: Regenerate.
4563
4564         2004-10-24  Casey Marshall  <csm@gnu.org>
4565
4566         * javax/security/auth/login/LoginContext.java: Implemented.
4567         * javax/security/auth/login/Configuration.java (getConfig): New method.
4568         * javax/security/auth/spi/LoginModule.java,
4569         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
4570
4571 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
4572
4573         Import/Merge the X.509 certificate code from Classpath.
4574
4575         * Makefile.am: Add imported files.
4576         * Makefile.in: Regenerate.
4577
4578         2004-11-07  Casey Marshall  <csm@gnu.org>
4579
4580         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
4581         priviliged action. Add new algorithms.
4582         * gnu/java/security/provider/X509CertificateFactory.java
4583         (engineGenerateCertificate): Chain exceptions.
4584         (engineGenerateCertificates): Likewise.
4585         (engineGenerateCRL): Likewise.
4586         (engineGenerateCRLs): Likewise.
4587         (engineGenerateCertPath): New methods.
4588         (generateCert): Throw exception if 'inStream' is null.
4589         (generateCRL): Likewise.
4590         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
4591         version from GNU Crypto CVS.
4592         * gnu/java/security/x509/X509CRL.java: Likewise.
4593         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
4594         * gnu/java/security/x509/X509Certificate.java: Likewise.
4595         * java/security/cert/TrustAnchor.java: Call 'toString' and not
4596         toRFC2253.
4597         * gnu/java/security/provider/CollectionCertStoreImpl.java,
4598         * gnu/java/security/provider/EncodedKeyFactory.java,
4599         * gnu/java/security/provider/GnuDHPublicKey.java,
4600         * gnu/java/security/provider/GnuRSAPrivateKey.java,
4601         * gnu/java/security/provider/GnuRSAPublicKey.java,
4602         * gnu/java/security/provider/MD2withRSA.java,
4603         * gnu/java/security/provider/MD4withRSA.java,
4604         * gnu/java/security/provider/MD5withRSA.java,
4605         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4606         * gnu/java/security/provider/RSA.java,
4607         * gnu/java/security/provider/RSAKeyFactory.java,
4608         * gnu/java/security/provider/SHA1withRSA.java,
4609         * gnu/java/security/x509/GnuPKIExtension.java,
4610         * gnu/java/security/x509/PolicyNodeImpl.java,
4611         * gnu/java/security/x509/Util.java,
4612         * gnu/java/security/x509/X509CRLSelectorImpl.java,
4613         * gnu/java/security/x509/X509CertPath.java,
4614         * gnu/java/security/x509/X509CertSelectorImpl.java,
4615         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4616         * gnu/java/security/x509/ext/BasicConstraints.java,
4617         * gnu/java/security/x509/ext/CRLNumber.java,
4618         * gnu/java/security/x509/ext/CertificatePolicies.java,
4619         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
4620         * gnu/java/security/x509/ext/Extension.java,
4621         * gnu/java/security/x509/ext/GeneralNames.java,
4622         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
4623         * gnu/java/security/x509/ext/KeyUsage.java,
4624         * gnu/java/security/x509/ext/PolicyConstraint.java,
4625         * gnu/java/security/x509/ext/PolicyMappings.java,
4626         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
4627         * gnu/java/security/x509/ext/ReasonCode.java,
4628         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
4629         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
4630
4631         2004-11-07  Casey Marshall  <csm@gnu.org>
4632
4633         * gnu/java/security/x509/X509CRL.java:
4634         Missed import statements in previous checkin.
4635
4636         2004-11-07  Casey Marshall  <csm@gnu.org>
4637
4638         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
4639         to 'X509CertificateImpl' from previous checkin.
4640
4641 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
4642
4643         PR other/14264
4644         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
4645
4646 2004-11-11  Casey Marshall  <csm@gnu.org>
4647
4648         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
4649         channel is open.
4650         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
4651         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
4652
4653 2004-11-11  Robert Schuster <thebohemian@gmx.net>
4654
4655         Fixed regression:
4656         * gnu/java/beans/IntrospectionIncubator.java:
4657         (addMethod): Corrected classification of normal and property methods.
4658         (capitalize): Added documentation.
4659         (DoubleKey): [class] Added documentation.
4660
4661 2004-11-09  Tom Tromey  <tromey@redhat.com>
4662
4663         * include/jni.h: Added FIXME.
4664
4665 2004-11-08  Tom Tromey  <tromey@redhat.com>
4666
4667         * java/util/GregorianCalendar.java: Removed unused imports.
4668         * java/util/Vector.java: Removed unused import.
4669
4670 2004-11-07  Michael Koch  <konqueror@gmx.de>
4671
4672         * java/lang/Process.java:
4673         Import cleanups.
4674
4675 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
4676
4677         * java/util/zip/ZipEntry.java
4678         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
4679
4680 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
4681
4682         Fixes bug #10908
4683         * gnu/java/beans/IntrospectionIncubator.java:
4684         (addMethod): static methods are discarded now, too.
4685
4686 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
4687
4688         * java/util/GregorianCalendar.java
4689         Added/amended documentation.
4690
4691 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
4692
4693         * java/util/Collections.java
4694         Added documentation.
4695         * java/util/SortedMap.java
4696         Clarified some method examples.
4697         * java/util/SortedSet.java
4698         Clarified some method examples.
4699
4700 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
4701
4702         * java/util/Currency.java
4703         Documented variables and methods more fully.
4704         Caches the currency instances, so that a request
4705         for a locale, l, only ever returns the same
4706         instance (i.e. successive calls to getInstance(l)
4707         are reference equivalent (==)).
4708
4709 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4710
4711         * java/util/Date.java
4712         Added missing documentation.
4713
4714 2004-11-06  Michael Koch  <konqueror@gmx.de>
4715
4716         * java/util/zip/CheckedInputStream.java,
4717         java/util/zip/InflaterInputStream.java,
4718         java/util/zip/ZipFile.java,
4719         java/util/zip/ZipInputStream.java:
4720         Import cleanups.
4721
4722 2004-11-06  Tom Tromey  <tromey@redhat.com>
4723
4724         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
4725         package-private.
4726         (connections): Likewise.
4727         (scavenger): Likewise.
4728         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
4729         package-private.
4730         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
4731         package-private.
4732         (ptr): Likewise.
4733         * gnu/classpath/ServiceFactory.java (log): Now package-private.
4734
4735 2004-11-06  Tom Tromey  <tromey@redhat.com>
4736
4737         * javax/naming/directory/BasicAttributes.java (attributes): Now
4738         package-private.
4739         * javax/imageio/spi/ServiceRegistry.java (categories): Now
4740         package-private.
4741
4742 2004-11-06  Tom Tromey  <tromey@redhat.com>
4743
4744         * java/net/URLClassLoader.java (URLClassLoader): Now
4745         package-private.
4746         * java/nio/charset/CoderResult.java (CoderResult): Now
4747         package-private.
4748         (get): Likewise.
4749         (Cache): Likewise.  Don't synchronize on `this'.
4750         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
4751         package-private.
4752         * java/util/TimeZone.java (timezones): Now package-private.
4753
4754 2004-11-06  Tom Tromey  <tromey@redhat.com>
4755
4756         * java/security/Permissions.java (perms): Now package-private.
4757         * java/security/UnresolvedPermission.java (permissions): Now
4758         package-private.
4759
4760 2004-11-06  Tom Tromey  <tromey@redhat.com>
4761
4762         * java/io/FilePermission.java: Reindented.
4763
4764 2004-11-06  Tom Tromey  <tromey@redhat.com>
4765
4766         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
4767         package-private.
4768         (setBlockDataMode): Likewise.
4769
4770 2004-11-06  Tom Tromey  <tromey@redhat.com>
4771
4772         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
4773         package-private.
4774         (Encoder): Likewise.
4775         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
4776         (Encoder): Likewise.
4777         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
4778         package-private.
4779         (Encoder): Likewise.
4780
4781 2004-11-06  Mark Wielaard  <mark@klomp.org>
4782
4783         * Makefile.am: Add new javax.imageio files.
4784         * Makefile.in: Regenerated.
4785
4786 2004-11-06  Michael Koch  <konqueror@gmx.de>
4787
4788         * javax/imageio/event/IIOReadProgressListener.java,
4789         javax/imageio/event/IIOReadUpdateListener.java,
4790         javax/imageio/event/IIOReadWarningListener.java,
4791         javax/imageio/event/IIOWriteProgressListener.java,
4792         javax/imageio/event/IIOWriteWarningListener.java,
4793         javax/imageio/metadata/IIOMetadataFormat.java,
4794         javax/imageio/stream/FileCacheImageInputStream.java,
4795         javax/imageio/stream/FileCacheImageOutputStream.java,
4796         javax/imageio/stream/ImageInputStreamImpl.java:
4797         Import cleanup.
4798         * javax/imageio/metadata/package.html: New file.
4799
4800 2004-11-06  Michael Koch  <konqueror@gmx.de>
4801
4802         * javax/imageio/spi/ImageReaderSpi.java
4803         (isOwnReader): New method.
4804         * javax/imageio/spi/ImageWriterSpi.java
4805         (isOwnWriter): Likewise.
4806
4807 2004-11-06  Michael Koch  <konqueror@gmx.de>
4808
4809         * javax/imageio/ImageWriter.java
4810         (convertImageMetadata): New abstract method.
4811         (convertStreamMetadata): Likewise.
4812         (write): Likewise.
4813         * javax/imageio/stream/FileCacheImageInputStream.java
4814         (close): Fixed setting of stream to null.
4815         (checkStreamClosed): Throws IOException.
4816
4817 2004-11-06  Michael Koch  <konqueror@gmx.de>
4818
4819         * javax/imageio/stream/FileCacheImageInputStream.java,
4820         javax/imageio/stream/FileCacheImageOutputStream.java,
4821         javax/imageio/stream/FileImageInputStream.java,
4822         javax/imageio/stream/FileImageOutputStream.java,
4823         javax/imageio/stream/MemoryCacheImageInputStream.java,
4824         javax/imageio/stream/MemoryCacheImageOutputStream.java:
4825         New files.
4826
4827 2004-11-06  Michael Koch  <konqueror@gmx.de>
4828
4829         * javax/imageio/metadata/IIOInvalidTreeException.java,
4830         javax/imageio/metadata/IIOMetadataFormatImpl.java,
4831         javax/imageio/metadata/IIOMetadataNode.java:
4832         New stub files.
4833
4834 2004-11-06  Michael Koch  <konqueror@gmx.de>
4835
4836         * javax/imageio/stream/ImageInputStreamImpl.java,
4837         javax/imageio/stream/ImageOutputStreamImpl.java:
4838         New files.
4839
4840 2004-11-06  Michael Koch  <konqueror@gmx.de>
4841
4842         * javax/imageio/ImageIO.java:
4843         Added much new methods.
4844
4845 2004-11-06  Michael Koch  <konqueror@gmx.de>
4846
4847         * javax/imageio/ImageReader.java,
4848         javax/imageio/ImageWriter.java,
4849         javax/imageio/spi/ImageWriterSpi.java:
4850         Add SOME new methods.
4851
4852 2004-11-06  Michael Koch  <konqueror@gmx.de>
4853
4854         * javax/imageio/IIOParam.java,
4855         javax/imageio/ImageReadParam.java,
4856         javax/imageio/ImageReader.java,
4857         javax/imageio/ImageWriter.java:
4858         Mostly implemented.
4859         * javax/imageio/spi/ImageReaderSpi.java,
4860         javax/imageio/spi/ImageWriterSpi.java:
4861         New files.
4862
4863 2004-11-06  Michael Koch  <konqueror@gmx.de>
4864
4865         * javax/imageio/ImageWriteParam.java,
4866         javax/imageio/metadata/IIOMetadataFormat.java:
4867         Implemented.
4868
4869 2004-11-06  Michael Koch  <konqueror@gmx.de>
4870
4871         * javax/imageio/ImageTypeSpecifier.java:
4872         Mostly implemented.
4873
4874 2004-11-06  Michael Koch  <konqueror@gmx.de>
4875
4876         * javax/imageio/metadata/IIOMetadata.java:
4877         Mostly implemented.
4878
4879 2004-11-06  Michael Koch  <konqueror@gmx.de>
4880
4881         * javax/imageio/IIOImage.java,
4882         javax/imageio/ImageReadParam.java,
4883         javax/imageio/metadata/IIOMetadataController.java,
4884         javax/imageio/metadata/IIOMetadataFormat.java:
4885         New files.
4886         * javax/imageio/stream/ImageOutputStream.java:
4887         Implemented.
4888
4889 2004-11-06  Michael Koch  <konqueror@gmx.de>
4890
4891         * javax/imageio/IIOParam.java,
4892         javax/imageio/IIOParamController.java,
4893         javax/imageio/ImageTypeSpecifier.java,
4894         javax/imageio/ImageWriteParam.java,
4895         javax/imageio/metadata/IIOMetadata.java:
4896         New files.
4897         * javax/imageio/ImageTranscoder.java:
4898         Implemented.
4899
4900 2004-11-06  Michael Koch  <konqueror@gmx.de>
4901
4902         * javax/imageio/spi/ImageInputStreamSpi.java,
4903         javax/imageio/spi/ImageOutputStreamSpi.java:
4904         Reworked import startments.
4905         * javax/imageio/spi/ServiceRegistry.java:
4906         Reworked import startments. Fixed XHTML in javadocs.
4907         (ServiceRegistry): Added @param tag to javadoc.
4908         * javax/imageio/stream/ImageInputStream.java
4909         (mark): Doesn't throws IOException;
4910
4911 2004-11-06  Michael Koch  <konqueror@gmx.de>
4912
4913         * javax/imageio/ImageIO.java:
4914         New file.
4915
4916 2004-11-06  Michael Koch  <konqueror@gmx.de>
4917
4918         * javax/imageio/spi/IIORegistry.java
4919         (static): Don't register ImageReaderSpi.class and
4920         ImageWriterSpi.class yet.
4921
4922 2004-11-06  Michael Koch  <konqueror@gmx.de>
4923
4924         * javax/imageio/spi/IIORegistry.java:
4925         New file.
4926
4927 2004-11-06  Noa Resare  <noa@resare.com>
4928
4929         * java/net/Socket.java (getPort): Return 0 instead of -1 on
4930         unconnected sockets.
4931
4932 2004-11-06  Michael Koch  <konqueror@gmx.de>
4933
4934         * java/lang/StringBuffer.java,
4935         java/lang/Throwable.java,
4936         java/security/spec/DSAParameterSpec.java,
4937         java/util/zip/ZipEntry.java,
4938         java/util/zip/ZipFile.java,
4939         java/util/zip/ZipInputStream.java,
4940         java/util/zip/ZipOutputStream.java:
4941         Removed redundant and reordered modifiers.
4942
4943 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
4944
4945         * java/io/Vector.java
4946         (writeObject): New function to serialized output thread safe.
4947
4948         * java/io/ObjectOutputStream.java
4949         (writeObject): Move the assignment of the class handle to after
4950         the assignment of class descriptor handle.
4951
4952 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4953
4954         Fixes documentation and indentation
4955         * java/beans/PropertyEditorSupport.java:
4956         reworked initial API doc
4957         (value): changed name from val
4958
4959 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4960
4961         Updates to 1.5
4962         * java/beans/PropertyEditorSupport.java
4963         (PropertyEditorSupport()): Changed modifier to public
4964         (PropertyEditorSupport(Object): Changed modifier to public
4965         (setSource): New method
4966         (getSource): New method
4967
4968 2004-11-06  Robert Schuster <thebohemian@gmx.net>
4969
4970         Fixes bug #10799
4971         * java/beans/PropertyEditorSupport.java
4972         (setValue): Fire property change event
4973
4974 2004-11-03  Tom Tromey  <tromey@redhat.com>
4975
4976         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
4977         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
4978         returns jobjectArray.
4979         (_Jv_JNIEnv::NewObjectArray): Likewise.
4980
4981 2004-11-01  Tom Tromey  <tromey@redhat.com>
4982
4983         * verify.cc (state::check_no_uninitialized_objects): Removed.
4984         (push_jump): Updated.
4985         (push_exception_jump): Likewise.
4986         (handle_ret_insn): Likewise.
4987         (handle_jsr_insn): Likewise.
4988
4989 2004-10-30  Mark Wielaard  <mark@klomp.org>
4990
4991         PR libgcj/18234
4992         * java/lang/Runtime.java (static): Call init().
4993         (Runtime): Remove call to init().
4994         (init): Make static.
4995
4996 2004-10-28  David Daney  <ddaney@avtrex.com>
4997
4998         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
4999         * Makefile.am: Build it.
5000         * Makefile.in: Regenerate.
5001
5002 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
5003
5004         PR libgcj/18104
5005         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
5006         colon.
5007         * Makefile.in: Regenerate.
5008         * configure: Regenerate.
5009         * configure.ac (CLASSPATH_SEPARATOR): Define.
5010         * gcj/Makefile.in: Regenerate.
5011         * include/Makefile.in: Regenerate.
5012         * testsuite/Makefile.in: Regenerate.
5013         * testsuite/lib/libjava.exp (libjava_arguments): Fix
5014         CLASSPATH separator handling for Windows.
5015
5016 2004-10-26  Michael Koch  <konqueror@gmx.de>
5017
5018         * gnu/java/net/protocol/http/Connection.java
5019         (getOutputStream): Implicitely switch to POST method.
5020
5021 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
5022
5023         * libjava/java/lang/Class.h
5024         (java::lang::Class): Correct friend class declaration.
5025
5026 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
5027
5028         * Makefile.am (DARWIN_CRT_SRC): New.
5029         (libgcj_la_SOURCES): Use it.
5030         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
5031         * darwin.cc: New file.
5032         * include/jvm.h (_Jv_RegisterClasses): Constify.
5033         (_Jv_RegisterClasses_Counted): New prototype.
5034         * java/lang/Class.h: Include stddef.h.
5035         (_Jv_RegisterClasses): Constify.
5036         (_Jv_RegisterClasses_Counted): New prototype.
5037         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
5038         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
5039         (_Jv_RegisterClasses_Counted): New function.
5040         * configure: Regenerate.
5041         * Makefile.in: Regenerate.
5042         * gcj/Makefile.in: Regenerate.
5043         * include/Makefile.in: Regenerate.
5044         * testsuite/Makefile.in: Regenerate.
5045
5046 2004-10-25  Tom Tromey  <tromey@redhat.com>
5047
5048         * java/util/ResourceBundle.java (tryBundle): Use
5049         Class.isAssignableFrom rather than catching ClassCastException.
5050
5051 2004-10-25  Tom Tromey  <tromey@redhat.com>
5052
5053         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
5054         initialize `iter'.
5055         * gnu/java/text/SentenceBreakIterator.java
5056         (SentenceBreakIterator): Don't initialize `iter'.
5057         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
5058         initialize `iter'.
5059         * gnu/java/text/CharacterBreakIterator.java
5060         (CharacterBreakIterator): Don't initialize `iter'.
5061         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
5062         constructor.
5063         * java/text/BreakIterator.java: Updated documentation.
5064
5065 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
5066
5067         PR other/18138
5068         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
5069
5070 2004-10-23  Michael Koch  <konqueror@gmx.de>
5071
5072         * javax/print/DocFlavor.java,
5073         javax/print/attribute/standard/JobStateReason.java,
5074         javax/print/attribute/standard/MultipleDocumentHandling.java:
5075         Added missing constants.
5076
5077 2004-10-22  Tom Tromey  <tromey@redhat.com>
5078
5079         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
5080         typo.
5081
5082 2004-10-22  Michael Koch  <konqueror@gmx.de>
5083
5084         PR libjava/14009
5085         * gnu/java/net/protocol/http/Connection.java
5086         (sendRequest): Handle case when url.getFile() returns an empty string.
5087
5088 2004-10-22  Michael Koch  <konqueror@gmx.de>
5089
5090         * java/lang/Math.java,
5091         java/lang/StackTraceElement.java,
5092         java/nio/Buffer.java,
5093         java/nio/ByteBuffer.java,
5094         java/nio/CharBuffer.java,
5095         java/nio/DoubleBuffer.java,
5096         java/nio/FloatBuffer.java,
5097         java/nio/IntBuffer.java,
5098         java/nio/LongBuffer.java,
5099         java/nio/ShortBuffer.java,
5100         java/nio/charset/Charset.java,
5101         java/rmi/server/RMIClassLoader.java,
5102         java/rmi/server/RMISocketFactory.java,
5103         java/security/Policy.java,
5104         java/text/ChoiceFormat.java,
5105         java/text/CollationElementIterator.java,
5106         java/text/DateFormat.java,
5107         java/text/DecimalFormat.java,
5108         java/text/DecimalFormatSymbols.java,
5109         java/text/MessageFormat.java,
5110         java/text/NumberFormat.java,
5111         java/text/RuleBasedCollator.java,
5112         java/text/SimpleDateFormat.java,
5113         java/util/BitSet.java,
5114         java/util/Calendar.java,
5115         java/util/Collections.java,
5116         java/util/IdentityHashMap.java,
5117         java/util/Locale.java,
5118         java/util/TreeMap.java,
5119         java/util/logging/LogRecord.java,
5120         java/util/logging/XMLFormatter.java,
5121         java/util/prefs/AbstractPreferences.java,
5122         java/util/prefs/Preferences.java,
5123         javax/crypto/interfaces/DHPrivateKey.java,
5124         javax/crypto/interfaces/DHPublicKey.java,
5125         javax/crypto/interfaces/PBEKey.java,
5126         javax/net/ssl/HandshakeCompletedEvent.java,
5127         javax/security/auth/Subject.java:
5128         Removed redundant and reordered modifiers.
5129
5130 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
5131
5132         * gnu/java/net/natPlainSocketImplPosix.cc
5133         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
5134         with 'int *' argument instead of 'long *'.
5135
5136 2004-10-21  Michael Koch  <konqueror@gmx.de>
5137
5138         * java/net/NetworkInterface.java,
5139         java/text/Format.java,
5140         javax/security/auth/x500/X500Principal.java,
5141         javax/security/auth/x500/X500PrivateCredential.java,
5142         javax/security/cert/X509CertBridge.java,
5143         javax/security/sasl/Sasl.java,
5144         javax/sql/XAConnection.java:
5145         Import cleanup.
5146
5147 2004-10-21  Michael Koch  <konqueror@gmx.de>
5148
5149         * javax/net/ssl/HandshakeCompletedEvent.java,
5150         javax/net/ssl/KeyManagerFactory.java,
5151         javax/net/ssl/SSLContext.java,
5152         javax/net/ssl/SSLServerSocketFactory.java,
5153         javax/net/ssl/SSLSession.java,
5154         javax/net/ssl/SSLSocketFactory.java,
5155         javax/net/ssl/TrustManagerFactory.java:
5156         Import cleanup.
5157
5158 2004-10-21  Michael Koch  <konqueror@gmx.de>
5159
5160         * javax/naming/directory/BasicAttribute.java,
5161         javax/naming/directory/BasicAttributes.java,
5162         javax/naming/directory/InitialDirContext.java,
5163         javax/naming/event/NamingEvent.java,
5164         javax/naming/ldap/ControlFactory.java,
5165         javax/naming/ldap/ExtendedRequest.java,
5166         javax/naming/ldap/InitialLdapContext.java,
5167         javax/naming/ldap/LdapReferralException.java,
5168         javax/naming/spi/DirObjectFactory.java,
5169         javax/naming/spi/DirStateFactory.java,
5170         javax/naming/spi/DirectoryManager.java,
5171         javax/naming/spi/InitialContextFactory.java,
5172         javax/naming/spi/InitialContextFactoryBuilder.java,
5173         javax/naming/spi/NamingManager.java,
5174         javax/naming/spi/ObjectFactory.java,
5175         javax/naming/spi/ObjectFactoryBuilder.java,
5176         javax/naming/spi/StateFactory.java:
5177         Import cleanup.
5178
5179 2004-10-21  Michael Koch  <konqueror@gmx.de>
5180
5181         * javax/crypto/Cipher.java,
5182         javax/crypto/EncryptedPrivateKeyInfo.java,
5183         javax/crypto/ExemptionMechanism.java,
5184         javax/crypto/KeyAgreement.java,
5185         javax/crypto/KeyGenerator.java,
5186         javax/crypto/Mac.java,
5187         javax/crypto/SecretKeyFactory.java,
5188         javax/crypto/SecretKeyFactorySpi.java,
5189         javax/crypto/spec/SecretKeySpec.java:
5190         Import cleanup.
5191
5192 2004-10-21  Michael Koch  <konqueror@gmx.de>
5193
5194         * java/security/AlgorithmParameterGenerator.java,
5195         java/security/AlgorithmParameters.java,
5196         java/security/AlgorithmParametersSpi.java,
5197         java/security/AllPermission.java,
5198         java/security/BasicPermission.java,
5199         java/security/Certificate.java,
5200         java/security/CodeSource.java,
5201         java/security/DigestInputStream.java,
5202         java/security/DigestOutputStream.java,
5203         java/security/GuardedObject.java,
5204         java/security/KeyFactory.java,
5205         java/security/KeyFactorySpi.java,
5206         java/security/KeyPairGenerator.java,
5207         java/security/KeyStore.java,
5208         java/security/KeyStoreSpi.java,
5209         java/security/Permissions.java,
5210         java/security/Security.java,
5211         java/security/Signature.java,
5212         java/security/UnresolvedPermission.java,
5213         java/security/cert/CertPathBuilder.java,
5214         java/security/cert/CertPathValidator.java,
5215         java/security/cert/CertStore.java,
5216         java/security/cert/Certificate.java,
5217         java/security/cert/CertificateFactory.java,
5218         java/security/cert/PolicyQualifierInfo.java,
5219         java/security/cert/TrustAnchor.java,
5220         java/security/cert/X509CRL.java,
5221         java/security/cert/X509CRLSelector.java,
5222         java/security/cert/X509CertSelector.java:
5223         Import cleanup.
5224
5225 2004-10-21  Michael Koch  <konqueror@gmx.de>
5226
5227         * java/rmi/MarshalledObject.java,
5228         java/rmi/Naming.java,
5229         java/rmi/activation/Activatable.java,
5230         java/rmi/activation/ActivationGroup.java,
5231         java/rmi/activation/ActivationGroupDesc.java,
5232         java/rmi/activation/ActivationInstantiator.java,
5233         java/rmi/activation/ActivationMonitor.java,
5234         java/rmi/activation/ActivationSystem.java,
5235         java/rmi/activation/Activator.java,
5236         java/rmi/registry/LocateRegistry.java,
5237         java/rmi/registry/Registry.java,
5238         java/rmi/server/LogStream.java,
5239         java/rmi/server/ObjID.java,
5240         java/rmi/server/RMIClientSocketFactory.java,
5241         java/rmi/server/RMIServerSocketFactory.java,
5242         java/rmi/server/RMISocketFactory.java,
5243         java/rmi/server/RemoteCall.java,
5244         java/rmi/server/RemoteServer.java,
5245         java/rmi/server/ServerRef.java,
5246         java/rmi/server/UID.java,
5247         java/rmi/server/UnicastRemoteObject.java:
5248         Import cleanup.
5249
5250 2004-10-21  Tom Tromey  <tromey@redhat.com>
5251
5252         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
5253         exception if we hit EOF of `in'.
5254         (read): Handle case where inflating returns -1.
5255
5256 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
5257
5258         * gnu/java/nio/channels/natFileChannelPosix.cc
5259         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
5260         argument instead of 'long *'.
5261
5262 2004-10-21  Tom Tromey  <tromey@redhat.com>
5263
5264         * java/util/ResourceBundle.java (tryBundle): Also ignore
5265         ClassCastException.
5266
5267 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
5268
5269         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
5270         for all sh*-*-linux* targets.
5271         * configure: Regenerate.
5272         * include/sh-signal.h: New file.
5273
5274 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
5275
5276         * java/lang/ieeefp.h: Add m32r support.
5277
5278 2004-10-20  Andreas Schwab  <schwab@suse.de>
5279
5280         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
5281         to uaddr, not int.
5282         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
5283         Likewise.
5284
5285 2004-10-20  Michael Koch  <konqueror@gmx.de>
5286
5287         * javax/print/attribute/standard/ColorSupported.java,
5288         javax/print/attribute/standard/Compression.java,
5289         javax/print/attribute/standard/Copies.java,
5290         javax/print/attribute/standard/CopiesSupported.java,
5291         javax/print/attribute/standard/DateTimeAtCompleted.java,
5292         javax/print/attribute/standard/DateTimeAtCreation.java,
5293         javax/print/attribute/standard/DateTimeAtProcessing.java,
5294         javax/print/attribute/standard/DocumentName.java,
5295         javax/print/attribute/standard/Fidelity.java,
5296         javax/print/attribute/standard/Finishings.java,
5297         javax/print/attribute/standard/JobHoldUntil.java,
5298         javax/print/attribute/standard/JobImpressions.java,
5299         javax/print/attribute/standard/JobImpressionsCompleted.java,
5300         javax/print/attribute/standard/JobImpressionsSupported.java,
5301         javax/print/attribute/standard/JobKOctets.java,
5302         javax/print/attribute/standard/JobKOctetsProcessed.java,
5303         javax/print/attribute/standard/JobKOctetsSupported.java,
5304         javax/print/attribute/standard/JobMediaSheets.java,
5305         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
5306         javax/print/attribute/standard/JobMediaSheetsSupported.java,
5307         javax/print/attribute/standard/JobMessageFromOperator.java,
5308         javax/print/attribute/standard/JobName.java,
5309         javax/print/attribute/standard/JobOriginatingUserName.java,
5310         javax/print/attribute/standard/JobPriority.java,
5311         javax/print/attribute/standard/JobPrioritySupported.java,
5312         javax/print/attribute/standard/JobSheets.java,
5313         javax/print/attribute/standard/JobState.java,
5314         javax/print/attribute/standard/JobStateReason.java,
5315         javax/print/attribute/standard/JobStateReasons.java,
5316         javax/print/attribute/standard/Media.java,
5317         javax/print/attribute/standard/MultipleDocumentHandling.java,
5318         javax/print/attribute/standard/NumberOfDocuments.java,
5319         javax/print/attribute/standard/NumberOfInterveningJobs.java,
5320         javax/print/attribute/standard/NumberUp.java,
5321         javax/print/attribute/standard/NumberUpSupported.java,
5322         javax/print/attribute/standard/OrientationRequested.java,
5323         javax/print/attribute/standard/OutputDeviceAssigned.java,
5324         javax/print/attribute/standard/PDLOverrideSupported.java,
5325         javax/print/attribute/standard/PageRanges.java,
5326         javax/print/attribute/standard/PagesPerMinute.java,
5327         javax/print/attribute/standard/PagesPerMinuteColor.java,
5328         javax/print/attribute/standard/PrintQuality.java,
5329         javax/print/attribute/standard/PrinterInfo.java,
5330         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
5331         javax/print/attribute/standard/PrinterLocation.java,
5332         javax/print/attribute/standard/PrinterMakeAndModel.java,
5333         javax/print/attribute/standard/PrinterMessageFromOperator.java,
5334         javax/print/attribute/standard/PrinterMoreInfo.java,
5335         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
5336         javax/print/attribute/standard/PrinterName.java,
5337         javax/print/attribute/standard/PrinterStateReason.java,
5338         javax/print/attribute/standard/PrinterStateReasons.java,
5339         javax/print/attribute/standard/PrinterURI.java,
5340         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
5341         javax/print/attribute/standard/RequestingUserName.java:
5342         Reorganized imports and removed redundant final modifiers.
5343
5344 2004-10-20  Michael Koch  <konqueror@gmx.de>
5345
5346         * javax/security/sasl/SaslClient.java,
5347         javax/security/sasl/SaslClientFactory.java,
5348         javax/security/sasl/SaslException.java,
5349         javax/security/sasl/SaslServer.java,
5350         javax/security/sasl/SaslServerFactory.java:
5351         Remvoed CVS tags.
5352
5353 2004-10-20  Michael Koch  <konqueror@gmx.de>
5354
5355         * javax/security/auth/login/NullConfiguration.java,
5356         javax/security/auth/x500/X500Principal.java,
5357         javax/security/cert/X509Certificate.java,
5358         javax/security/sasl/AuthenticationException.java,
5359         javax/security/sasl/AuthorizeCallback.java,
5360         javax/security/sasl/RealmCallback.java,
5361         javax/security/sasl/RealmChoiceCallback.java,
5362         javax/security/sasl/Sasl.java,
5363         javax/security/sasl/SaslClient.java,
5364         javax/security/sasl/SaslClientFactory.java,
5365         javax/security/sasl/SaslException.java,
5366         javax/security/sasl/SaslServer.java,
5367         javax/security/sasl/SaslServerFactory.java:
5368         Cleaned up import statements and copyright notices.
5369
5370 2004-10-20  Michael Koch  <konqueror@gmx.de>
5371
5372         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
5373
5374 2004-10-20  Michael Koch  <konqueror@gmx.de>
5375
5376         * java/sql/Timestamp.java,
5377         java/text/AttributedCharacterIterator.java,
5378         java/text/AttributedString.java,
5379         java/util/zip/CheckedOutputStream.java,
5380         java/util/zip/DeflaterOutputStream.java,
5381         java/util/zip/ZipFile.java,
5382         javax/crypto/Cipher.java,
5383         javax/crypto/ExemptionMechanismException.java,
5384         javax/crypto/SecretKey.java,
5385         javax/crypto/SecretKeyFactory.java,
5386         javax/naming/directory/ModificationItem.java,
5387         javax/naming/directory/SearchControls.java,
5388         javax/naming/event/NamingListener.java,
5389         javax/naming/ldap/Control.java,
5390         javax/naming/ldap/ExtendedResponse.java,
5391         javax/net/ssl/SSLSocketFactory.java:
5392         Reorganized imports and fixed copyright headers.
5393
5394 2004-10-20  Michael Koch  <konqueror@gmx.de>
5395
5396         * java/util/logging/ConsoleHandler.java,
5397         java/util/logging/ErrorManager.java,
5398         java/util/logging/FileHandler.java,
5399         java/util/logging/Filter.java,
5400         java/util/logging/Formatter.java,
5401         java/util/logging/Handler.java,
5402         java/util/logging/Level.java,
5403         java/util/logging/LogManager.java,
5404         java/util/logging/LogRecord.java,
5405         java/util/logging/Logger.java,
5406         java/util/logging/LoggingPermission.java,
5407         java/util/logging/MemoryHandler.java,
5408         java/util/logging/SimpleFormatter.java,
5409         java/util/logging/SocketHandler.java,
5410         java/util/logging/StreamHandler.java,
5411         java/util/logging/XMLFormatter.java:
5412         Standardized copyrigth header.
5413
5414 2004-10-20  Michael Koch  <konqueror@gmx.de>
5415
5416         * java/security/AlgorithmParameterGenerator.java,
5417         java/security/AlgorithmParameters.java,
5418         java/security/DigestInputStream.java,
5419         java/security/Identity.java,
5420         java/security/KeyFactory.java,
5421         java/security/KeyPairGenerator.java,
5422         java/security/KeyStore.java,
5423         java/security/MessageDigest.java,
5424         java/security/MessageDigestSpi.java,
5425         java/security/Policy.java,
5426         java/security/SecureRandom.java,
5427         java/security/Security.java,
5428         java/security/Signature.java,
5429         java/security/SignatureSpi.java,
5430         java/security/cert/CertPathBuilder.java,
5431         java/security/cert/CertPathValidator.java,
5432         java/security/cert/CertStore.java,
5433         java/security/cert/Certificate.java,
5434         java/security/cert/CertificateFactory.java,
5435         java/security/cert/PolicyQualifierInfo.java,
5436         java/security/cert/TrustAnchor.java,
5437         java/security/cert/X509CRL.java,
5438         java/security/cert/X509CRLEntry.java,
5439         java/security/cert/X509Certificate.java,
5440         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
5441         Import statements reorganized, some little formatting issues,
5442         used java-style array declarations, added comments in empty catch
5443         blocks.
5444
5445 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
5446
5447         * java/security/Security.java
5448         (static): Use AccessController.doPrivileged to get system property.
5449
5450 2004-10-18  Sven de Marothy  <sven@physto.se>
5451
5452         * java/nio/ByteBufferHelper.java
5453         (putDouble): Use Double.toRawLongBits instead.
5454
5455 2004-10-18  Mark Wielaard  <mark@klomp.org>
5456         Andrew Haley  <aph@redhat.com>
5457
5458         * testsuite/libjava.lang/ExtraClassLoader.java: New.
5459
5460 2004-10-18  Andrew Haley  <aph@redhat.com>
5461
5462         PR java/18036:
5463         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
5464         and correct logic used to find interpreter.
5465
5466 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
5467
5468         * java/util/logging/LogManager.java
5469         (findAncestor): Fixed IndexOutOfBoundsException.
5470
5471 2004-10-18  Michael Koch  <konqueror@gmx.de>
5472
5473         * java/io/BufferedInputStream.java: Fixed @author tag.
5474         (read): Simplified expression.
5475         (read): Merged javadoc a bit more.
5476         (read): Renamed 'remain' to 'totalBytesRead'.
5477         * java/io/DataInputStream.java,
5478         java/io/DataOutputStream.java,
5479         java/io/ObjectInputStream.java,
5480         java/io/ObjectOutputStream.java:
5481         Reworked modifier order.
5482
5483 2004-10-18  Michael Koch  <konqueror@gmx.de>
5484
5485         * java/net/Inet4Address.java: Merged file header and javadocs.
5486         * java/net/Inet6Address.java: Likewise.
5487         * java/net/InetAddress.java
5488         (getCanonicalHostName): Create Inet4Address object instead of
5489         InetAddress and add comment regarding IPv6.
5490         (toString): Simplified.
5491
5492 2004-10-18  Michael Koch  <konqueror@gmx.de>
5493
5494         * gnu/java/net/protocol/http/Connection.java,
5495         java/nio/MappedByteBufferImpl.java,
5496         java/text/RuleBasedCollator.java,
5497         java/util/ResourceBundle.java:
5498         Reworked import statements.
5499
5500 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
5501
5502         * java/security/IdentityScope.java
5503         (systemScope): Removed useless initializer.
5504         * java/security/Policy.java
5505         (currentPolicy): Likewise.
5506
5507 2004-10-18  Michael Koch  <konqueror@gmx.de>
5508
5509         * java/lang/System.java: Revert accidential change.
5510
5511 2004-10-18  Michael Koch  <konqueror@gmx.de>
5512
5513         * java/lang/Math.java,
5514         java/lang/Package.java,
5515         java/lang/Runtime.java,
5516         java/lang/StrictMath.java,
5517         java/lang/System.java,
5518         java/lang/Thread.java,
5519         java/lang/ThreadLocal.java,
5520         java/lang/Void.java:
5521         Reworked import statements, HTML in javadocs and modifier orders.
5522
5523 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
5524
5525         * java/util/Timer.java
5526         (nr): Removed useless initializer.
5527         * java/util/logging/LogRecord.java
5528         (lastSeqNum): Likewise.
5529         * javax/naming/spi/NamingManager.java
5530         (icfb, ofb): Likewise.
5531
5532 2004-10-18  Michael Koch  <konqueror@gmx.de>
5533
5534         * gnu/java/net/PlainDatagramSocketImpl.java:
5535         Reworked import statements.
5536         * gnu/java/security/provider/DSAParameters.java:
5537         Fixed copyrigth years.
5538         * java/net/JarURLConnection.java:
5539         Fixed HTML in @author tags.
5540
5541
5542 2004-10-18  Michael Koch  <konqueror@gmx.de>
5543
5544         * java/rmi/activation/ActivationSystem.java
5545         (SYSTEM_PORT): Initialize with correct port number.
5546
5547 2004-10-18  Michael Koch  <konqueror@gmx.de>
5548
5549         * java/lang/reflect/Proxy.java: Improved javadocs.
5550
5551 2004-10-18  Michael Koch  <konqueror@gmx.de>
5552
5553         * java/lang/reflect/AccessibleObject.java
5554         (checkPermission): Removed redundant final modifier.
5555         (secureSetAccessible): Likewise.
5556         * java/lang/reflect/Proxy.java:
5557         Reworked import statements.
5558         (generate): Removed redundant final modifier.
5559         * java/lang/reflect/ReflectPermission.java:
5560         Reorder package declaration and import statement.
5561
5562 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
5563
5564         * java/lang/reflect/Proxy.java
5565         (count): Removed useless initializer.
5566
5567 2004-10-17  Michael Koch  <konqueror@gmx.de>
5568
5569         * java/net/BindException.java,
5570         java/net/ConnectException.java,
5571         java/net/ContentHandler.java,
5572         java/net/ContentHandlerFactory.java,
5573         java/net/DatagramPacket.java,
5574         java/net/DatagramSocket.java,
5575         java/net/DatagramSocketImpl.java,
5576         java/net/DatagramSocketImplFactory.java,
5577         java/net/FileNameMap.java,
5578         java/net/HttpURLConnection.java,
5579         java/net/MalformedURLException.java,
5580         java/net/MulticastSocket.java,
5581         java/net/NetworkInterface.java,
5582         java/net/NoRouteToHostException.java,
5583         java/net/PasswordAuthentication.java,
5584         java/net/PortUnreachableException.java,
5585         java/net/ProtocolException.java,
5586         java/net/ServerSocket.java,
5587         java/net/Socket.java,
5588         java/net/SocketException.java,
5589         java/net/SocketImpl.java,
5590         java/net/SocketImplFactory.java,
5591         java/net/SocketOptions.java,
5592         java/net/SocketPermission.java,
5593         java/net/SocketTimeoutException.java,
5594         java/net/URI.java,
5595         java/net/URISyntaxException.java,
5596         java/net/URL.java,
5597         java/net/URLDecoder.java,
5598         java/net/URLEncoder.java,
5599         java/net/URLStreamHandler.java,
5600         java/net/URLStreamHandlerFactory.java,
5601         java/net/UnknownHostException.java,
5602         java/net/UnknownServiceException.java:
5603         Big import statement and @author tag cleanup.
5604
5605 2004-10-17  Michael Koch  <konqueror@gmx.de>
5606
5607         * gnu/java/security/OID.java,
5608         gnu/java/security/provider/DSAParameters.java,
5609         gnu/java/security/provider/DSASignature.java,
5610         gnu/java/security/x509/X500DistinguishedName.java,
5611         gnu/java/security/x509/X509CRL.java:
5612         Import statements cleaned up.
5613
5614 2004-10-16  Michael Koch  <konqueror@gmx.de>
5615
5616         * gnu/java/nio/NIODatagramSocket.java,
5617         gnu/java/nio/ServerSocketChannelImpl.java:
5618         Reorganized import statements.
5619
5620 2004-10-16  Michael Koch  <konqueror@gmx.de>
5621
5622         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
5623         gnu/java/rmi/rmic/RMIC.java,
5624         gnu/java/rmi/server/RMIHashes.java,
5625         gnu/java/rmi/server/RMIObjectInputStream.java,
5626         gnu/java/rmi/server/RMIObjectOutputStream.java,
5627         gnu/java/rmi/server/UnicastConnection.java,
5628         gnu/java/rmi/server/UnicastConnectionManager.java,
5629         gnu/java/rmi/server/UnicastRemoteCall.java,
5630         gnu/java/rmi/server/UnicastServer.java,
5631         gnu/java/rmi/server/UnicastServerRef.java,
5632         java/rmi/MarshalledObject.java,
5633         java/rmi/Naming.java,
5634         java/rmi/RMISecurityManager.java,
5635         java/rmi/Remote.java,
5636         java/rmi/activation/Activatable.java,
5637         java/rmi/activation/ActivationDesc.java,
5638         java/rmi/activation/ActivationGroup.java,
5639         java/rmi/activation/ActivationGroupDesc.java,
5640         java/rmi/activation/ActivationGroupID.java,
5641         java/rmi/activation/ActivationID.java,
5642         java/rmi/activation/ActivationInstantiator.java,
5643         java/rmi/activation/ActivationMonitor.java,
5644         java/rmi/activation/ActivationSystem.java,
5645         java/rmi/activation/Activator.java,
5646         java/rmi/dgc/DGC.java,
5647         java/rmi/dgc/Lease.java,
5648         java/rmi/dgc/VMID.java,
5649         java/rmi/registry/LocateRegistry.java,
5650         java/rmi/registry/Registry.java,
5651         java/rmi/registry/RegistryHandler.java,
5652         java/rmi/server/LoaderHandler.java,
5653         java/rmi/server/LogStream.java,
5654         java/rmi/server/ObjID.java,
5655         java/rmi/server/Operation.java,
5656         java/rmi/server/RMIClassLoader.java,
5657         java/rmi/server/RMIClassLoaderSpi.java,
5658         java/rmi/server/RMIClientSocketFactory.java,
5659         java/rmi/server/RMIFailureHandler.java,
5660         java/rmi/server/RMIServerSocketFactory.java,
5661         java/rmi/server/RMISocketFactory.java,
5662         java/rmi/server/RemoteCall.java,
5663         java/rmi/server/RemoteObject.java,
5664         java/rmi/server/RemoteRef.java,
5665         java/rmi/server/RemoteServer.java,
5666         java/rmi/server/RemoteStub.java,
5667         java/rmi/server/ServerRef.java,
5668         java/rmi/server/Skeleton.java,
5669         java/rmi/server/SkeletonMismatchException.java,
5670         java/rmi/server/UID.java,
5671         java/rmi/server/UnicastRemoteObject.java,
5672         java/rmi/server/Unreferenced.java:
5673         File headers and import statements cleaned up.
5674
5675 2004-10-16  Michael Koch  <konqueror@gmx.de>
5676
5677         * libjava/gnu/java/nio/charset/UTF_16.java,
5678         libjava/gnu/java/nio/charset/UTF_16BE.java,
5679         libjava/gnu/java/nio/charset/UTF_16LE.java,
5680         libjava/java/nio/ByteOrder.java,
5681         libjava/java/nio/MappedByteBuffer.java,
5682         libjava/java/nio/channels/Channels.java,
5683         libjava/java/nio/channels/spi/SelectorProvider.java,
5684         libjava/java/nio/charset/Charset.java:
5685         Cleanup.
5686
5687 2004-10-16  Michael Koch  <konqueror@gmx.de>
5688
5689         * gnu/java/nio/charset/UTF_16Encoder.java
5690         (UTF_16Encoder): Fixed maxBytesPerChar handling.
5691
5692 2004-10-16  Michael Koch  <konqueror@gmx.de>
5693
5694         * java/math/BigDecimal.java, java/math/BigInteger.java:
5695         Reorganized import statements, removed redundant and
5696         reorganized modifiers.
5697
5698 2004-10-16  Michael Koch  <konqueror@gmx.de>
5699
5700         * gnu/java/beans/ExplicitBeanInfo.java:
5701         Explicitely import java.awt.Image.
5702         (getIcon): Fixed off-by-one error.
5703
5704 2004-10-15  Andrew Haley  <aph@redhat.com>
5705
5706         * Makefile.am (nat_files, xlib_nat_files): New.
5707         * Makefile.in: Regenerate.
5708
5709 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
5710
5711         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
5712         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
5713
5714 2004-10-13  Andrew Haley  <aph@redhat.com>
5715
5716         * interpret.cc (_Jv_InterpMethod::run): Initialize
5717         _Jv_StartOfInterpreter.
5718         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
5719         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
5720         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
5721         _Unwind_FindEnclosingFunction to discover whether PC is within the
5722         interpreter.
5723
5724 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
5725
5726         PR libgcj/17903:
5727         * testsuite/libjava.lang/md5test.java: New file.
5728         * testsuite/libjava.lang/md5test.out: Likewise.
5729         * testsuite/libjava.lang/shatest.java: Likewise.
5730         * testsuite/libjava.lang/shatest.out: Likewise.
5731
5732 2004-10-11  Richard Henderson  <rth@redhat.com>
5733
5734         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
5735         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
5736
5737 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
5738
5739         * java/util/Calendar.java (set): Invalidate DST_OFFSET
5740         field as a DST boundary may have been crossed.
5741         * java/util/GregorianCalendar.java (add): Throw
5742         IllegalArgumentException on attempt to add to DST_OFFSET or
5743         ZONE_OFFSET fields. Update javadoc.
5744
5745 2004-10-09  Michael Koch  <konqueror@gmx.de>
5746
5747         * java/io/CharArrayWriter.java
5748         (resize): Removed redundant 'final' modifier.
5749         * java/io/DataInputStream.java
5750         (readFully): Throw IndexOutOfBoundsException of len < 0.
5751         * java/io/FileDescriptor.java,
5752         java/io/FileInputStream.java,
5753         java/io/FileOutputStream.java,
5754         java/io/ObjectOutputStream.java,
5755         java/io/ObjectStreamClass.java,
5756         java/io/PipedInputStream.java,
5757         java/io/RandomAccessFile.java:
5758         Reorganized import statements.
5759
5760 2004-10-09  Michael Koch  <konqueror@gmx.de>
5761
5762         * gnu/java/rmi/rmic/RMIC.java,
5763         gnu/java/rmi/server/RMIHashes.java,
5764         gnu/java/rmi/server/RMIObjectInputStream.java,
5765         gnu/java/rmi/server/UnicastConnection.java,
5766         gnu/java/rmi/server/UnicastConnectionManager.java,
5767         gnu/java/rmi/server/UnicastRemoteCall.java,
5768         gnu/java/rmi/server/UnicastServerRef.java:
5769         Reworked import statements and fixed file headers.
5770
5771 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
5772
5773         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
5774         emission rule.
5775         * configure: Rebuilt.
5776
5777 2004-09-30  Tom Tromey  <tromey@redhat.com>
5778
5779         * java/text/MessageFormat.java (Field): Constructor now
5780         protected.
5781
5782 2004-09-30  Tom Tromey  <tromey@redhat.com>
5783
5784         * javax/crypto/MacSpi.java: Fixed typo.
5785
5786 2004-09-30  Michael Koch  <konqueror@gmx.de>
5787
5788         * java/net/InetAddress.java: Reformatted.
5789         (loopback): Initialize with Inet4Address object.
5790         (static): Initialize ANY_IF with Inet4Address object.
5791         (InetAddress): Removed unused package-private constructor.
5792
5793 2004-09-30  Michael Koch  <konqueror@gmx.de>
5794
5795         * java/beans/Beans.java,
5796         java/beans/EventHandler.java,
5797         java/beans/EventSetDescriptor.java,
5798         java/beans/Introspector.java,
5799         java/beans/PropertyEditorManager.java,
5800         java/beans/beancontext/BeanContext.java,
5801         java/beans/beancontext/BeanContextChild.java,
5802         java/beans/beancontext/BeanContextChildSupport.java,
5803         java/beans/beancontext/BeanContextMembershipEvent.java:
5804         Reordered import statements and removed redundant modifiers.
5805
5806 2004-09-29  Tom Tromey  <tromey@redhat.com>
5807
5808         PR libgcj/17715:
5809         * Makefile.in: Rebuilt.
5810         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
5811         files.
5812         (all_property_files): New macro.
5813
5814         * Makefile.in: Rebuilt.
5815         * Makefile.am (ordinary_java_source_files): Re-sorted.
5816         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
5817
5818 2004-09-28  Tom Tromey  <tromey@redhat.com>
5819
5820         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
5821
5822         PR libgcj/17222:
5823         * Makefile.am (libgcj.la): Restored.
5824         * Makefile.in: Rebuilt.
5825
5826 2004-09-28  Michael Koch  <konqueror@gmx.de>
5827
5828         * java/net/URLConnection.java: Reformatted.
5829         * java/net/URLClassLoader.java: Reformatted.
5830         (getContent): Reordered return of content.
5831         (getContentHandler): Don't check for null explicitely.
5832
5833 2004-09-27  Michael Koch  <konqueror@gmx.de>
5834
5835         * java/io/BufferedInputStream.java
5836         (BufferedInputStream): Added Jeroen Frijters to authors.
5837         (count): Don't explicitely initialize with default value.
5838         (pos): Likewise.
5839         (marklimit): Likewise.
5840         (read): Changed boolean expression to match GNU classpath' version.
5841         (reset): Add proper message to exception.
5842         (skip): Check for closed stream.
5843         (refill): Likewise.
5844
5845 2004-09-26  Per Bothner  <per@bothner.com>
5846
5847         * prims.cc (unblock_signal): Annotate signum with __unused__ to
5848         avoid warnings in the non-POSIX_VERSION case.
5849         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
5850         so place it inside an #if block.
5851         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
5852         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
5853         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
5854         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
5855
5856 2004-09-26  Per Bothner  <per@bothner.com>
5857
5858         * prims.cc (process_gcj_properties):  Optimization.
5859
5860 2004-09-26  Per Bothner  <per@bothner.com>
5861
5862         * java/util/Collections.java (sort):  Copy from array in forwards
5863         order, rather than reverse order which may be much less efficient.
5864
5865 2004-09-26  Mark Wielaard  <mark@klomp.org>
5866
5867         * java/lang/System.java (properties): Make package private.
5868         * java/lang/Throwable.java (StaticData.nl): Initialize through
5869         directly accessing System.properties.getProperty().
5870
5871         * java/lang/Throwable.java (nl): Remove static field.
5872         (StaticData): New private static inner class.
5873         (stackTraceStringBuffer): Use StaticData.nl.
5874
5875 2004-09-26  Casey Marshall <csm@gnu.org>
5876
5877         * java/security/ProtectionDomain.java
5878         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
5879         `true'.
5880
5881         * java/security/SecureClassLoader.java
5882         (defineClass): make protection domain dynamically bound.
5883         (getPermissions): call `getCurrentPolicy' to avoid permission
5884         check.
5885
5886 2004-09-25  Mark Wielaard  <mark@klomp.org>
5887
5888         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
5889         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
5890         * Makefile.in: Regenerated.
5891
5892         * gcj/javaprims.h: Regenerated.
5893
5894         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
5895         (getDefaultTimeZone): Make package private. Check that GMToffset
5896         contains at least one digit.
5897         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
5898         VMTimeZone.
5899         * util/VMTimeZone.java: New file with above methods.
5900
5901         * java/util/natTimeZone.cc: Removed (renamed).
5902         * java/util/natVMTimeZone.cc: Added (renamed).
5903
5904 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
5905
5906         * java/util/TimeZone.java
5907         (getDefaultTimeZone): Fixed test to distinguish between hours and
5908         minutes in specified timezone.
5909
5910 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
5911
5912         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
5913         handling of default package. (generate): Removed confused comments
5914         and code about making Method and Field accessible.
5915
5916 2004-09-25  Tom Tromey  <tromey@redhat.com>
5917
5918         PR java/17500:
5919         * testsuite/libjava.compile/pr17500.java: New file.
5920
5921 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
5922             Mark Wielaard  <mark@klomp.org>
5923
5924         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
5925         * gnu/regexp/RETokenLookAhead.java: New file.
5926
5927         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
5928         * Makefile.in: Regenerated.
5929
5930 2004-09-25  Michael Koch  <konqueror@gmx.de>
5931
5932         * java/io/ObjectStreamField.java:
5933         Removed unused import statement.
5934
5935 2004-09-24  Tom Tromey  <tromey@redhat.com>
5936
5937         PR java/15656:
5938         * testsuite/libjava.compile/pr15656.xfail: New file.
5939         * testsuite/libjava.compile/pr15656.java: new file.
5940
5941         PR java/16789:
5942         * testsuite/libjava.lang/pr16789.out: New file.
5943         * testsuite/libjava.lang/pr16789.java: New file.
5944
5945 2004-09-24  Andrew Haley  <aph@redhat.com>
5946
5947         PR java/16927
5948         * testsuite/libjava.compile/AssertBug.java: New file.
5949
5950 2004-09-24  Casey Marshall <csm@gnu.org>
5951
5952         * java/util/PropertyPermissionCollection.java
5953         (implies): avoid infinite loop.
5954
5955 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5956
5957         * javax/security/auth/PrivateCredentialPermission.java
5958         (PrivateCredentialPermission): added serialization UID
5959
5960
5961 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
5962
5963         * gnu/java/rmi/server/UnicastServer.java
5964         (incomingMessageCall): Added code to handle Errors.
5965         * gnu/java/rmi/server/UnicastServerRef.java
5966         (incomingMessageCall): Added code to handle Errors.
5967
5968
5969 2004-09-24  Tom Tromey  <tromey@redhat.com>
5970
5971         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
5972         (definedPackages): Likewise.
5973
5974 2004-09-24  Michael Koch  <konqueror@gmx.de>
5975
5976         * java/io/ObjectInputStream.java:
5977         Re-ordered imports.
5978
5979 2004-09-24  Casey Marshall <csm@gnu.org>
5980
5981         * java/io/ObjectInputStream.java (callReadMethod): re-throw
5982         `ClassNotFoundException'.
5983
5984 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
5985
5986         * java/io/ObjectInputStream.java (readObject): Delegate instantation
5987         of Externalizable classes to ObjectStreamClass.
5988         * java/io/ObjectStreamClass.java (newInstance): New method to
5989         instantiate Externalizable (while ignoring the accessibility of
5990         the constructor). (constructor): New field to cache the constructor.
5991
5992 2004-09-24  Mark Wielaard  <mark@klomp.org>
5993
5994         * java/net/URL.java (systemClassLoader): New static field.
5995         (getURLStreamHandler): Always use system/application classloader
5996         for finding URLStreamhandler. Remove unecessary instanceof checks.
5997
5998 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
5999
6000         * java/net/URL.java
6001         (set): This method now matches the behaviour of the JDK.
6002         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
6003
6004 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
6005
6006         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
6007
6008 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
6009
6010         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
6011         Don't set authority if host isn't specified.
6012
6013 2004-09-24  Michael Koch  <konqueror@gmx.de>
6014
6015         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
6016         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
6017         * gnu/java/nio/VMPipe.java,
6018         gnu/java/nio/VMSelector.java:
6019         New files.
6020         * gnu/java/nio/natPipeImplEcos.cc,
6021         gnu/java/nio/natPipeImplPosix.cc,
6022         gnu/java/nio/natPipeImplWin32.cc:
6023         Ported to VMPipe.
6024         * gnu/java/nio/natSelectorImplEcos.cc,
6025         gnu/java/nio/natSelectorImplPosix.cc,
6026         gnu/java/nio/natSelectorImplWin32.cc:
6027         Ported to VMSelector.
6028         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
6029         gnu/java/nio/VMSelector.java.
6030         * Makefile.in: Regenerated.
6031
6032 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
6033
6034         * java/lang/StackTraceElement.java
6035         (className): Renamed field to declaringClass to be compatible
6036         with Sun serialization format.
6037
6038 2004-09-23  Michael Koch  <konqueror@gmx.de>
6039
6040         * java/applet/AppletContext.java,
6041         java/applet/Applet.java,
6042         java/applet/AppletStub.java,
6043         java/applet/AudioClip.java:
6044         Jalopied and checkstyle clean.
6045
6046         * javax/swing/JCheckBox.java: Reformated.
6047         (JCheckBox): Fixed all constructors.
6048         (isBorderPaintedFlat): New method.
6049         (setBorderPaintedFlat): New method.
6050         * javax/swing/JEditorPane.java
6051         (createEditorKitForContentType): Made public.
6052         (scrollToReference): Likewise.
6053         * javax/swing/JTextArea.java
6054         (setLineWrap): Fire property change.
6055         * javax/swing/JToggleButton.java
6056         (JToggleButton): New constructor.
6057         (JToggleButton): Simplified.
6058         * javax/swing/text/AttributeSet.java
6059         (FontAttribute): Renamed from FontCharacterAttribute.
6060         * javax/swing/text/JTextComponent.java
6061         (KeyBinBinding): Added javadoc.
6062         (JTextComponent): Likewise.
6063         (getAccessibleContext): Fixed javadoc.
6064         * javax/swing/text/View.java
6065         (View): Added javadoc.
6066         * javax/swing/text/TabableView.java: New file.
6067         * Makefile.am: Added javax/swing/text/TabableView.java.
6068         * Makefile.in: Regenerated.
6069 2004-09-23  Mark Wielaard  <mark@klomp.org>
6070
6071         * java/util/Collections.java
6072         (binarySearch(List, Object, Comparator)): Explicitly
6073         reverse direction in list iterator.
6074         (rotate): Just return when list is empty.
6075
6076 2004-09-23  Tom Tromey  <tromey@redhat.com>
6077
6078         PR java/17329:
6079         * testsuite/libjava.compile/pr17329.java: New file.
6080
6081         PR java/17380:
6082         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
6083         9.2-implicit-7.
6084
6085 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
6086
6087         * Makefile.am: Run aclocal with -I ../config
6088         * acinclude.m4: Delete macros picked up from ../config and tidy.
6089         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
6090         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
6091         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
6092
6093 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
6094
6095         * aclocal.m4: Regenerate with aclocal 1.9.2.
6096         * configure: Regenerate.
6097         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
6098         * include/Makefile.in, testsuite/Makefile.in: Likewise.
6099
6100 2004-09-22  David Daney  <ddaney@avtrex.com>
6101
6102         PR libgcj/17623
6103         * java/net/URL.java (URL): Copy userInfo from context.
6104         (getUserInfo): Return cached userInfo if present.
6105
6106 2004-09-22  Tom Tromey  <tromey@redhat.com>
6107
6108         PR libgcj/6182:
6109         * mauve-libgcj: Enable java.lang.Character tests.
6110
6111 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
6112
6113         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
6114         dependencies.
6115         (lib_org_ietf_jgss_la_LIBADD): Likewise.
6116         * Makefile.in: Regenerated.
6117
6118 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
6119
6120         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
6121         * configure: Regenerate.
6122         * include/config.h.in: Likewise.
6123         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
6124         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
6125         macro to gtkpeer.h.
6126         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6127         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
6128         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
6129         architectures.
6130         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
6131         Likewise.
6132
6133 2004-09-22  Tom Tromey  <tromey@redhat.com>
6134
6135         PR libgcj/14446:
6136         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
6137         when comparing CRCs.
6138         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
6139         field.
6140         (read()): New overload.
6141
6142 2004-09-21  Tom Tromey  <tromey@redhat.com>
6143
6144         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
6145         Indentation fix.
6146
6147 2004-09-21  Michael Koch  <konqueror@gmx.de>
6148
6149         * java/net/Socket.java
6150         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
6151
6152 2004-09-21  Casey Marshall  <csm@gnu.org>
6153
6154         * javax/crypto/MacSpi.java (clone): Provide meaningful
6155         implementation.
6156
6157 2004-09-21  Tom Tromey  <tromey@redhat.com>
6158
6159         PR libgcj/16869:
6160         * Makefile.in: Rebuilt.
6161         * Makefile.am (MOSTLYCLEANFILES): Removed.
6162         (mostlyclean-local): Remove header files.
6163
6164 2004-09-21  Casey Marshall  <csm@gnu.org>
6165
6166         * java/security/cert/X509CRLSelector.java:
6167         (match): remove unreachable try-catch clauses.
6168         Reported by: Dalibor Topic <robilad@kaffe.org>
6169
6170 2004-09-21  Mark Wielaard  <mark@klomp.org>
6171
6172         * java/util/TreeMap.java (root): Don't initialize.
6173         (TreeMap(Comparator)): Call fabricateTree(0).
6174         (fabricateTree): Initialize root and size when count is 0.
6175
6176 2004-09-21  Sven de Marothy <sven@physto.se>
6177
6178         * java/nio/ByteBuffer.java (hashCode): Implemented.
6179         * java/nio/CharBuffer.java: Likewise.
6180         * java/nio/DoubleBuffer.java: Likewise.
6181         * java/nio/FloatBuffer.java: Likewise.
6182         * java/nio/LongBuffer.java: Likewise.
6183         * java/nio/IntBuffer.java: Likewise.
6184         * java/nio/ShortBuffer.java: Likewise.
6185
6186 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
6187
6188         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
6189
6190 2004-09-21  Michael Koch  <konqueror@gmx.de>
6191
6192         * javax/net/ssl/SSLServerSocket.java:
6193         Removed comment about "Do not edit this file, it's generated.".
6194
6195 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
6196
6197         Import the big Crypto/Jessie/Security merge from Classpath.
6198
6199         * Makefile.am: Add imported files.
6200         * Makefile.in: Regenerate.
6201
6202         2004-08-14  Casey Marshall <csm@gnu.org>
6203
6204         The Big Crypto Merge of 2004.
6205
6206         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
6207         Crypto's version.
6208
6209         Files imported from GNU Crypto.
6210         * javax/crypto/BadPaddingException.java
6211         * javax/crypto/Cipher.java
6212         * javax/crypto/CipherInputStream.java
6213         * javax/crypto/CipherOutputStream.java
6214         * javax/crypto/CipherSpi.java
6215         * javax/crypto/EncryptedPrivateKeyInfo.java
6216         * javax/crypto/ExemptionMechanism.java
6217         * javax/crypto/ExemptionMechanismException.java
6218         * javax/crypto/ExemptionMechanismSpi.java
6219         * javax/crypto/IllegalBlockSizeException.java
6220         * javax/crypto/KeyAgreement.java
6221         * javax/crypto/KeyAgreementSpi.java
6222         * javax/crypto/KeyGenerator.java
6223         * javax/crypto/KeyGeneratorSpi.java
6224         * javax/crypto/Mac.java
6225         * javax/crypto/MacSpi.java
6226         * javax/crypto/Makefile.am
6227         * javax/crypto/NoSuchPaddingException.java
6228         * javax/crypto/NullCipher.java
6229         * javax/crypto/NullCipherImpl.java
6230         * javax/crypto/SealedObject.java
6231         * javax/crypto/SecretKey.java
6232         * javax/crypto/SecretKeyFactory.java
6233         * javax/crypto/SecretKeyFactorySpi.java
6234         * javax/crypto/ShortBufferException.java
6235         * javax/crypto/interfaces/DHKey.java
6236         * javax/crypto/interfaces/DHPrivateKey.java
6237         * javax/crypto/interfaces/DHPublicKey.java
6238         * javax/crypto/interfaces/PBEKey.java
6239         * javax/crypto/spec/DESKeySpec.java
6240         * javax/crypto/spec/DESedeKeySpec.java
6241         * javax/crypto/spec/DHGenParameterSpec.java
6242         * javax/crypto/spec/DHParameterSpec.java
6243         * javax/crypto/spec/DHPrivateKeySpec.java
6244         * javax/crypto/spec/DHPublicKeySpec.java
6245         * javax/crypto/spec/IvParameterSpec.java
6246         * javax/crypto/spec/PBEKeySpec.java
6247         * javax/crypto/spec/PBEParameterSpec.java
6248         * javax/crypto/spec/RC2ParameterSpec.java
6249         * javax/crypto/spec/RC5ParameterSpec.java
6250         * javax/crypto/spec/SecretKeySpec.java
6251         * javax/security/auth/AuthPermission.java
6252         * javax/security/auth/DestroyFailedException.java
6253         * javax/security/auth/Destroyable.java
6254         * javax/security/auth/Policy.java
6255         * javax/security/auth/PrivateCredentialPermission.java
6256         * javax/security/auth/RefreshFailedException.java
6257         * javax/security/auth/Refreshable.java
6258         * javax/security/auth/Subject.java
6259         * javax/security/auth/SubjectDomainCombiner.java
6260         * javax/security/auth/callback/Callback.java
6261         * javax/security/auth/callback/CallbackHandler.java
6262         * javax/security/auth/callback/ChoiceCallback.java
6263         * javax/security/auth/callback/ConfirmationCallback.java
6264         * javax/security/auth/callback/LanguageCallback.java
6265         * javax/security/auth/callback/NameCallback.java
6266         * javax/security/auth/callback/PasswordCallback.java
6267         * javax/security/auth/callback/TextInputCallback.java
6268         * javax/security/auth/callback/TextOutputCallback.java
6269         * javax/security/auth/callback/UnsupportedCallbackException.java
6270         * javax/security/auth/login/AccountExpiredException.java
6271         * javax/security/auth/login/AppConfigurationEntry.java
6272         * javax/security/auth/login/Configuration.java
6273         * javax/security/auth/login/CredentialExpiredException.java
6274         * javax/security/auth/login/FailedLoginException.java
6275         * javax/security/auth/login/LoginContext.java
6276         * javax/security/auth/login/LoginException.java
6277         * javax/security/auth/login/NullConfiguration.java
6278         * javax/security/auth/x500/X500PrivateCredential.java
6279         * javax/security/sasl/AuthenticationException.java
6280         * javax/security/sasl/AuthorizeCallback.java
6281         * javax/security/sasl/RealmCallback.java
6282         * javax/security/sasl/RealmChoiceCallback.java
6283         * javax/security/sasl/Sasl.java
6284         * javax/security/sasl/SaslClient.java
6285         * javax/security/sasl/SaslClientFactory.java
6286         * javax/security/sasl/SaslException.java
6287         * javax/security/sasl/SaslServer.java
6288         * javax/security/sasl/SaslServerFactory.java
6289         * org/ietf/jgss/ChannelBinding.java
6290         * org/ietf/jgss/GSSContext.java
6291         * org/ietf/jgss/GSSCredential.java
6292         * org/ietf/jgss/GSSException.java
6293         * org/ietf/jgss/GSSManager.java
6294         * org/ietf/jgss/GSSName.java
6295         * org/ietf/jgss/MessageProp.java
6296         * org/ietf/jgss/Oid.java
6297         * org/ietf/jgss/MessagesBundle.properties
6298
6299         Files imported from Jessie <http://www.nongnu.org/jessie/>
6300         * javax/net/ServerSocketFactory.java
6301         * javax/net/SocketFactory.java
6302         * javax/net/VanillaServerSocketFactory.java
6303         * javax/net/VanillaSocketFactory.java
6304         * javax/net/ssl/HandshakeCompletedEvent.java
6305         * javax/net/ssl/HandshakeCompletedListener.java
6306         * javax/net/ssl/HostnameVerifier.java
6307         * javax/net/ssl/HttpsURLConnection.java
6308         * javax/net/ssl/KeyManager.java
6309         * javax/net/ssl/KeyManagerFactory.java
6310         * javax/net/ssl/KeyManagerFactorySpi.java
6311         * javax/net/ssl/ManagerFactoryParameters.java
6312         * javax/net/ssl/SSLContext.java
6313         * javax/net/ssl/SSLContextSpi.java
6314         * javax/net/ssl/SSLException.java
6315         * javax/net/ssl/SSLHandshakeException.java
6316         * javax/net/ssl/SSLKeyException.java
6317         * javax/net/ssl/SSLPeerUnverifiedException.java
6318         * javax/net/ssl/SSLPermission.java
6319         * javax/net/ssl/SSLProtocolException.java
6320         * javax/net/ssl/SSLServerSocket.java
6321         * javax/net/ssl/SSLServerSocketFactory.java
6322         * javax/net/ssl/SSLSession.java
6323         * javax/net/ssl/SSLSessionBindingEvent.java
6324         * javax/net/ssl/SSLSessionBindingListener.java
6325         * javax/net/ssl/SSLSessionContext.java
6326         * javax/net/ssl/SSLSocket.java
6327         * javax/net/ssl/SSLSocketFactory.java
6328         * javax/net/ssl/TrivialHostnameVerifier.java
6329         * javax/net/ssl/TrustManager.java
6330         * javax/net/ssl/TrustManagerFactory.java
6331         * javax/net/ssl/TrustManagerFactorySpi.java
6332         * javax/net/ssl/X509KeyManager.java
6333         * javax/net/ssl/X509TrustManager.java
6334         * javax/security/cert/Certificate.java
6335         * javax/security/cert/CertificateEncodingException.java
6336         * javax/security/cert/CertificateException.java
6337         * javax/security/cert/CertificateExpiredException.java
6338         * javax/security/cert/CertificateNotYetValidException.java
6339         * javax/security/cert/CertificateParsingException.java
6340         * javax/security/cert/X509CertBridge.java
6341         * javax/security/cert/X509Certificate.java
6342
6343         2004-08-20  Casey Marshall  <csm@gnu.org>
6344
6345         * java/security/cert/X509CRLSelector.java: New file.
6346         * java/security/cert/X509CertSelector.java: New file.
6347
6348 2004-09-15  Michael Koch  <konqueror@gmx.de>
6349
6350         * gnu/java/net/protocol/file/Handler.java
6351         (openConnection): Don't throw exception if host part for file: URI is
6352         present. setURL() keeps file: protocol if ftp: protocol is not
6353         available.
6354
6355 2004-09-14  Richard Henderson  <rth@redhat.com>
6356
6357         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
6358         value of sigsuspend.
6359
6360 2004-09-12  Tom Tromey  <tromey@redhat.com>
6361
6362         * javax/naming/CompoundName.java (CompoundName): Don't check for
6363         separator in "flat" case.
6364
6365 2004-09-12  Michael Koch  <konqueror@gmx.de>
6366
6367         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
6368         AM_CONFIG_HEADER by AC_CONFIG_FILES.
6369         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
6370         Regenerate.
6371
6372 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
6373
6374         PR libgcj/14751
6375         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
6376         handle in newly-allocated _Jv_Thread_t.
6377         (_Jv_ThreadDestroyData): Close thread handle.
6378         (_Jv_ThreadStart): Remove obsolete comment.
6379         Store handle of newly-created thread in _Jv_Thread_t.
6380         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
6381         before including <windows.h>
6382         #define _Jv_HaveCondDestroy
6383
6384 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
6385
6386         * java/lang/natThread.cc (finalize_native): Destroy
6387         join conditional variable and mutex if these destroy
6388         operations are supported.
6389
6390 2004-09-10  Dalibor Topic <robilad@kaffe.org>
6391
6392         * gnu/java/net/protocol/file/Connection.java (permission): New field.
6393         (DEFAULT_PERMISSION): New constant.
6394         (Connection): Create a FilePermission with permission to read file.
6395
6396 2004-09-10  Michael Koch  <konqueror@gmx.de>
6397
6398         * gnu/java/net/protocol/file/Connection.java
6399         (getLastModified): Moved around.
6400         (getPermission): Return stored permission.
6401
6402 2004-09-10  Michael Koch  <konqueror@gmx.de>
6403
6404         * Makefile.in: Regenerate.
6405
6406 2004-09-10  Michael Koch  <konqueror@gmx.de>
6407
6408         * Makefile.am: Reverted accidently commited stuff.
6409         * configure: Regenerated.
6410
6411 2004-09-10  Michael Koch  <konqueror@gmx.de>
6412
6413         * gnu/java/net/protocol/file/Connection.java
6414         (lineSeparator): Made non-final.
6415         (static): Removed.
6416         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
6417         instead of StringBufferInputStream.
6418
6419 2004-09-10  Michael Koch  <konqueror@gmx.de>
6420
6421         * gnu/java/net/protocol/file/Connection.java
6422         (connect): Handle file is a directory case.
6423
6424 2004-09-10  Michael Koch  <konqueror@gmx.de>
6425
6426         * Makefile.am
6427         (xlib_includes): Removed.
6428         (AM_CPPFLAGS): Renamed from INCLUDES.
6429         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
6430         * Makefile.in: Regenerate.
6431
6432 2004-09-09  Michael Koch  <konqueror@gmx.de>
6433
6434         * java/security/ProtectionDomain.java,
6435         * java/util/PropertyPermissionCollection.java:
6436         Fixed javadocs all over.
6437
6438 2004-09-09  Sven de Marothy  <sven@physto.se>
6439
6440         Patch from David Gilbert <david.gilbert@object-refinery.com>
6441         * java/lang/Comparable.java: Fixed documentation errors.
6442         * java/util/Arrays.java: Likewise.
6443
6444 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6445
6446         * java/net/Inet4Address.java
6447         (Inet4Address): Added comment to serialization UID.
6448         * java/text/Format.java
6449         (Format): Added comment to serialization UID.
6450
6451 2004-09-09  Michael Koch  <konqueror@gmx.de>
6452
6453         * java/lang/System.java
6454         (err): Fixed javadoci to point to setErr() and not setOut().
6455
6456 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
6457
6458         (normalizePath): Added special case for windows systems.
6459
6460 2004-09-09  Michael Koch  <konqueror@gmx.de>
6461
6462         * java/io/File.java
6463         (dupSeparator): Made private.
6464         (File(URI)): New constructor.
6465         (getParentFile): Fixed javadoc.
6466         (createTempFile): Reformated.
6467         (setReadOnly): Added comment.
6468         (deleteOnExit): Merged javadoc with classpath version.
6469
6470 2004-09-09  Michael Koch  <konqueror@gmx.de>
6471
6472         * Makefile.am: Don't try to include deps.mk.
6473         * Makefile.in: Regenerated.
6474
6475 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
6476
6477         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
6478         .d files.
6479         * configure: Rebuilt.
6480
6481 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
6482
6483         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
6484         Changed pfn from static local to local.
6485
6486 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
6487             H.J. Lu  <hongjiu.lu@intel.com>
6488
6489         PR libgcj/17290
6490         * Makefile.am (GCJCOMPILE): Remove definition.
6491         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
6492         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
6493         * Makefile.in: Rebuilt.
6494
6495 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
6496
6497         * configure.ac (enable-gc-debug): Update help for new syntax.
6498         * configure: Regenerate.
6499
6500 2004-09-03  David Daney  <ddaney@avtrex.com>
6501
6502         * include/mips-signal.h: Update copyright.
6503
6504 2004-09-03  David Daney  <ddaney@avtrex.com>
6505
6506         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
6507         * include/mips-signal.h: Added HANDLE_FPE support.
6508
6509 2004-08-31  Michael Koch  <konqueror@gmx.de>
6510
6511         * javax/swing/plaf/basic/BasicTextAreaUI.java
6512         (create): New method.
6513         * javax/swing/text/DefaultHighlighter.java
6514         (DefaultHighlightPainter.debugRect): Removed.
6515         * javax/swing/text/StyleContext.java
6516         (DEFAULT_STYLE): New field.
6517
6518 2004-08-31  Michael Koch  <konqueror@gmx.de>
6519
6520         * javax/swing/plaf/basic/BasicLookAndFeel.java
6521         (initComponentDefaults): Add keybindings for selection.backward and
6522         selection-forward for text components.
6523         * javax/swing/plaf/basic/BasicTextUI.java
6524         (paintSafely): Paint highlight only when something is actually
6525         selected.
6526         * javax/swing/text/DefaultCaret.java
6527         (handleHighlight): New method.
6528         (setSelectionVisible): Don't do anything when nothing changes.
6529         Handle highlight.
6530         (moveDot): Reimplemented. Handle highlight.
6531         (setDot): Set mark too. Handle highlight.
6532         (getSelectionPainter): New method.
6533         * javax/swing/text/DefaultEditorKit.java
6534         (defaultActions): Added new actions for text selection.
6535         * javax/swing/text/DefaultHighlighter.java
6536         (DefaultHighlightPainter): New inner class.
6537         (DefaultPainter): New field.
6538         (paint): Implemented.
6539         * javax/swing/text/PlainView.java
6540         (paint): Don't draw background here again.
6541         * javax/swing/text/Utilities.java
6542         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
6543         (drawTabbedText): Likewise.
6544
6545 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6546
6547         * javax/swing/JComponent.java
6548         (resetKeyboardActions): Add null checks.
6549
6550 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6551
6552         * javax/swing/DefaultButtonModel.java:
6553         Skip group notification when no group is set.
6554
6555 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6556
6557         * javax/swing/JColorChooser.java:
6558         Make a couple inner classes static, for jikes.
6559
6560 2004-08-31  Michael Koch  <konqueror@gmx.de>
6561
6562         * javax/swing/plaf/basic/BasicTextUI.java
6563         (RottView.modelToView): New method.
6564         (UpdateHandler): Renamed from EventHandler.
6565         (updateHandler): Renamed from eventHandler.
6566         (modelToView): Implemented.
6567         * javax/swing/text/AbstractDocument.java
6568         (BranchElement.getElement): Return null for non-existing indeces.
6569         (BranchElement.getElementIndex): Return 0 in some corner cases.
6570         * javax/swing/text/FieldView.java
6571         (modelToView): New method.
6572         * javax/swing/text/PlainView.java
6573         (modelToView): Made public.
6574
6575 2004-08-31  Kim Ho  <kho@redhat.com>
6576
6577         * Makefile.am: New files.
6578         * Makefile.in: Regenerate.
6579         * gcj/Makefile.in: Regenerate.
6580         * include/Makefile.in: Regenerate.
6581         * java/awt/Color.java: Fix documentation.
6582         (RGBtoHSB): Use floats for conversions.
6583         * javax/swing/ButtonGroup.java: Run Jalopy.
6584         (setSelected): Reimplement.
6585         * javax/swing/DefaultButtonModel.java: Run Jalopy.
6586         (changeState): Let ButtonGroup know that the button
6587         is changing state.
6588         * javax/swing/JColorChooser.java: Implement.
6589         * javax/swing/JLabel.java: Run Jalopy.
6590         * javax/swing/JSpinner.java: Run Jalopy.
6591         (setValue): New method.
6592         * javax/swing/JTabbedPane.java: Run Jalopy.
6593         (removeTabAt): Call correct remove method.
6594         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
6595         (getPreviousValue): Compare minimum value.
6596         * javax/swing/Timer.java: Run Jalopy.
6597         (run): Comment out println.
6598         * javax/swing/ToolTipManager.java:
6599         (mouseMoved): Get new tooltip text for location.
6600         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
6601         Jalopy and Javadoc.
6602         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
6603         Implement.
6604         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
6605         Run Jalopy.
6606         (setSelectedColor): Fire ChangeEvent.
6607         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
6608         New file. Implement.
6609         * javax/swing/colorchooser/DefaultPreviewPanel.java:
6610         Ditto.
6611         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
6612         Ditto.
6613         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
6614         Ditto.
6615         * javax/swing/plaf/basic/BasicArrowButton.java:
6616         (getArrow): Fix size of upward pointing button.
6617         * javax/swing/plaf/basic/BasicColorChooserUI.java:
6618         Implement.
6619         * javax/swing/plaf/basic/BasicSliderUI.java:
6620         (getWidthOfWidestLabel): Use preferred dimensions.
6621         (getHeightOfTallestLabel): Ditto.
6622         * javax/swing/plaf/basic/BasicSpinnerUI.java:
6623         Run Jalopy.
6624         (mousePressed): Disable changes to spinner if it is not enabled.
6625         * testsuite/Makefile.in: Regenerate.
6626
6627
6628 2004-08-31  Michael Koch  <konqueror@gmx.de>
6629
6630         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
6631         javax/swing/plaf/basic/BasicTableUI.java:
6632         Added copyright notice.
6633
6634 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
6635
6636         * Makefile.am: Added new files.
6637         * Makefile.in: Regenerate.
6638         * javax/swing/ComboBoxEditor.java: Added javadocs.
6639         * javax/swing/ComboBoxModel.java: Likewise.
6640         * javax/swing/DefaultComboBoxModel.java: Implemented.
6641         * javax/swing/DefaultListCellRenderer.java: Added javadocs
6642         and ran through jalopy to fix formatting style.
6643         (getListCellRendererComponent): Use appropriate border
6644         if renderer has focus and use noFocusBorder when it doesn't.
6645         * javax/swing/JComboBox.java: Implemented.
6646         * javax/swing/JList.java:
6647         (locationToIndex): New Method. Implemented.
6648         (indexToLocation): New Method.
6649         * javax/swing/JPopupMenu.java:
6650         (visible): New field.
6651         (isVisible): Changed to use new field above.
6652         (setVisible): Likewise.
6653         * javax/swing/MutableComboBoxModel.java: Added javadocs.
6654         * javax/swing/plaf/basic/BasicArrowButton.java:
6655         (shadow): Changed default color to Color.gray.
6656         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
6657         UI delegate for JComboBox.
6658         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
6659         Popup menu containing list of JComboBox's items.
6660         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
6661         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
6662         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
6663         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
6664         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6665         (popupMenuWillBecomeVisible): Set selected path to the first
6666         element only if it is of type MenuElement. Also fix formatting
6667         style.
6668         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
6669         methods signatures.
6670
6671 2004-08-31  Michael Koch  <konqueror@gmx.de>
6672
6673         * javax/swing/text/AbstractDocument.java
6674         (createBranchElement): Use new constructor of BranchElement.
6675         (createLeafElement): Renamed arguments.
6676         (getRootElements): Implemented.
6677         (BranchElement.start): Removed.
6678         (BranchElement.end): Likewise.
6679         (BranchElement.BranchElement): Fixed arguments.
6680         (BranchElement.getEndOffset): Reimplemented.
6681         (BranchElement.getStartOffset): Likewis.
6682         * javax/swing/text/DefaultCaret.java
6683         (paint): Draw simple vertical line as caret instead of a rectangle.
6684         * javax/swing/text/JTextComponent.java
6685         (setText): Use doc directly.
6686         * javax/swing/text/PlainView.java
6687         (nextTabStop): Implemented.
6688         * javax/swing/text/Utilities.java
6689         (drawTabbedText): nextTabStop() returns an absolute x position.
6690         (getTabbedTextWidth): Likewise.
6691
6692 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6693
6694         * java/awt/Component.java
6695         (isFocusTraversable): Predicate on isLightweight()
6696         (setFocusable): Set isFocusTraversableOverridden.
6697         (requestFocus): Predicate peer dispatch on !isLightweight()
6698         (requestFocusInWindow): Likewise.
6699         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
6700         * java/awt/Container.java
6701         (dispatchEventImpl): Predicate on event mask.
6702         (LightweightDispatcher): Remove focus machinery.
6703         * java/awt/DefaultFocusTraversalPolicy.java
6704         (accept): Expand predicate to include isFocusable().
6705         * java/awt/DefaultKeyboardFocusManager.java:
6706         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
6707         * java/awt/KeyboardFocusManager.java
6708         (redispatchEvent): Synchronize on event to prevent feedback.
6709         * javax/swing/AbstractButton.java
6710         (ButtonFocusListener): Remove class.
6711         (init): Set focusPainted, focusable.
6712         * javax/swing/ActionMap.java (get): Check parent for null.
6713         * javax/swing/InputMap.java (get): Likewise.
6714         * javax/swing/JComponent.java
6715         (inputMap_whenFocused): New InputMap.
6716         (inputMap_whenAncestorOfFocused): Likewise.
6717         (inputMap_whenInFocusedWindow): Likewise.
6718         (getActionForKeyStroke): Rewrite.
6719         (getConditionForKeystroke): Likewise.
6720         (ActionListenerProxy): New private class.
6721         (setInputMap): Implement.
6722         (getInputMap): Likewise.
6723         (setActionMap): Likewise.
6724         (getActionMap): Likewise.
6725         (processComponentKeyEvent): New empty method.
6726         (processKeyEvent): Implement.
6727         (processKeyBinding): Likewise.
6728         (resetKeyboardActions): Rewrite.
6729         * javax/swing/KeyStroke.java: Rewrite.
6730         * javax/swing/SwingUtilities.java
6731         (notifyAction): Implement.
6732         (replaceUIActionMap): Likewise.
6733         (replaceUIInputMap): Likewise.
6734         * javax/swing/plaf/basic/BasicButtonListener.java
6735         (focusGained): Implement.
6736         (focusLost): Repaint if focusPainted().
6737         (installKeyboardActions): Install pressed / released actions.
6738         (uninstallKeyboardActions): Implement.
6739         * javax/swing/plaf/basic/BasicButtonUI.java
6740         (focusColor): New field.
6741         (installDefaults): Load focus color, install input map.
6742         (installKeyboardActions): Implement.
6743         (uninstallKeyboardActions): Likewise.
6744         (paintFocus): Rewrite.
6745         * javax/swing/plaf/basic/BasicLookAndFeel.java
6746         (Button.focus): New default, midPurple.
6747         * javax/swing/plaf/basic/BasicTextUI.java
6748         (kit): Make static.
6749         (installUI): Get doc from kit, load defaults.
6750         (getKeymapName): Implement.
6751         (createKeymap): Likewise.
6752         (installKeyboardActions): Likewise.
6753         (getInputMap): Likewise.
6754         (getActionMap): Likewise.
6755         (createActionMap): Likewise.
6756         * javax/swing/text/AbstractDocument.java
6757         (getStartPosition): Implement.
6758         (getEndPosition): Likewise.
6759         * javax/swing/text/DefaultEditorKit.java
6760         (CopyAction): New class.
6761         (CutAction): Likewise.
6762         (DefaultKeyTypedAction): Likewise.
6763         (InsertBreakAction): Likewise.
6764         (InsertContentAction): Likewise.
6765         (InsertTabAction): Likewise.
6766         (PasteAction): Likewise.
6767         (defaultActions): New static table.
6768         (createCaret): Implement.
6769         (getActions): Likewise.
6770         * javax/swing/text/JTextComponent.java
6771         (KeymapWrapper): New private class.
6772         (KeymapActionMap): Likewise.
6773         (DefaultKeymap): New class.
6774         (keymaps): New static table.
6775         (keymap): New field.
6776         (getKeymap): Implement.
6777         (removeKeymap): Likewise.
6778         (addKeymap): Likewise.
6779         (setKeymap): Likewise.
6780         (loadKeymap): Likewise.
6781         (getActions): Likewise.
6782         (margin): New field.
6783         (JTextComponent): Build and install default keymap.
6784         * javax/swing/text/TextAction.java
6785         (textAction): Call super properly.
6786         (getTextComponent): Implement.
6787         * javax/swing/text/Utilities.java
6788         (drawTabbedText): Adjust position by ascent.
6789
6790 2004-08-31  David Jee  <djee@redhat.com>
6791
6792         PR AWT/17156
6793
6794         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
6795         (setEnabled): Make it a native method.
6796         * java/awt/DefaultKeyboardFocusManager.java
6797         (postProcessKeyEvent): Only post event if the menu item
6798         is active.
6799         * java/awt/MenuItem.java:
6800         Private field 'enabled' should be true by default.
6801         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
6802         (setEnabled): New function.
6803
6804 2004-08-31  David Jee  <djee@redhat.com>
6805
6806         PR AWT/17059
6807
6808         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
6809         (nativeSetHelpMenu): New native method declaration.
6810         (addHelpMenu): Call nativeSetHelpMenu().
6811         (addMenu): Remove.
6812         * java/awt/MenuBar.java
6813         (setHelpMenu): Call addNotify() on the new help menu.
6814         (add): Call addNotify() on the new menu.
6815         (addNotify): Set the help menu if one exists.
6816         * java/awt/peer/MenuBarPeer.java
6817         (addMenu): Remove.
6818         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
6819         (nativeSetHelpMenu): New method.
6820
6821 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6822
6823         * Makefile.am: Add new files.
6824         * Makefile.in: Regenerate.
6825         * javax/swing/Box.java: Fix setting of layout in ctor.
6826         * javax/swing/JScrollPane.java: Scroll headers as well.
6827         * javax/swing/JTable.java: Reimplement.
6828         * javax/swing/JViewPort.java: Only add non-null children.
6829         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
6830         * javax/swing/Timer.java: Fix stopping null waker.
6831         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
6832         * javax/swing/plaf/basic/BasicTableUI.java: New file.
6833         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
6834         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
6835         * javax/swing/table/DefaultTableModel.java: Clean up.
6836         * javax/swing/table/JTableHeader.java: Implement.
6837
6838 2004-08-31  Mark Wielaard  <mark@klomp.org>
6839
6840         * javax/swing/JSpinner.java (getChangeListeners): Remove double
6841         semi-colon.
6842
6843 2004-08-31  Mark Wielaard  <mark@klomp.org>
6844
6845         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
6846         Declare variables at top of functions/block.
6847         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
6848
6849 2004-08-31  Mark Wielaard  <mark@klomp.org>
6850
6851         * java/lang/Rectangle.java (intersects): Check r.width and r.height
6852         first.
6853
6854 2004-08-31  Michael Koch  <konqueror@gmx.de>
6855
6856         * javax/swing/text/PlainView.java
6857         (selectedColor): New field.
6858         (unselectedColor): Likewise.
6859         (font): Likewise.
6860         (updateMetrics): New method.
6861         (lineToRect): Likewise.
6862         (modelToView): Likewise.
6863         (drawSelectedText): Use color from JTextComponent ad draw with
6864         Utilities class.
6865         (drawUnselectedText): Likewise.
6866         (paint): Initialize helper fields.
6867         * javax/swing/text/View.java
6868         (getChildAllocation): New method.
6869         (getViewIndex): Likewise.
6870         (getToolTipText): Likewise.
6871
6872 2004-08-31  Michael Koch  <konqueror@gmx.de>
6873
6874         * javax/swing/text/Utilities.java
6875         (drawTabbedText): Reimplemented.
6876         (getTabbedTextWidth): Likewise.
6877
6878 2004-08-31  Michael Koch  <konqueror@gmx.de>
6879
6880         * javax/swing/plaf/basic/BasicTextUI.java
6881         (installDefaults): Install caret and highlighter.
6882         (modelToView): Use Bias.Forward when calling sibling.
6883         * javax/swing/text/AbstractDocument.java
6884         (ElementEdit): Implements DocumentEvent.ElementChange.
6885         (ElementEdit.ElementEdit): New method.
6886         (ElementEdit.getChildrenAdded): Likewise.
6887         (ElementEdit.getChildrenRemoved): Likewise.
6888         (ElementEdit.getElement): Likewise.
6889         (ElementEdit.getIndex): Likewise.
6890         * javax/swing/text/DefaultCaret.java
6891         (color): Removed.
6892         (textComponent): Renamed from parent, made private.
6893         (selectionVisible): Renamed from vis_sel, made private.
6894         (blinkRate): Renamed from blink, made private.
6895         (magicCaretPosition): Renamed from magic, made private.
6896         (visible): Renamed from vis, made private.
6897         (dot): Made private.
6898         (mark): Likewise.
6899         (deinstall): Remove as MouseMotionListener.
6900         (install): Initialize textComponent first. Add as MouseMotionListener.
6901         (paint): Reimplemented.
6902         * javax/swing/text/JTextComponent.java
6903         (setCaret): Deinstall old caret, install new one and fire property
6904         change after setting property.
6905         (setHighlighter): Deinstall old highlighter, install new one and fire
6906         property change after setting property.
6907         (setCaretColor): Fire property change after setting property.
6908         (setDisabledTextColor): Likewise.
6909         (setSelectedTextColor): Likewise.
6910         (setSelectionColor): Likewise.
6911         (modelToView): New method.
6912
6913 2004-08-31  Michael Koch  <konqueror@gmx.de>
6914
6915         * javax/swing/text/AbstractDocument.java
6916         (getText): Simplified.
6917         * javax/swing/text/Segment.java
6918         (current): New field.
6919         (current): Reimplemented.
6920         (first): Likewise.
6921         (getIndex): Likewise.
6922         (last): Likewise.
6923         (next): Likewise.
6924         (previous): Likewise.
6925         (setIndex): Likewise.
6926
6927 2004-08-31  Michael Koch  <konqueror@gmx.de>
6928
6929         * javax/swing/plaf/basic/BasicButtonUI.java
6930         (defaultTextIconGap): Made protected.
6931         (defaultTextShiftOffset): Likewise.
6932         (textShiftOffset): New field.
6933         (clearTextShiftOffset): New method.
6934         (getTextShiftOffset): Likewise.
6935         (setTextShiftOffset): Likewise.
6936
6937 2004-08-31  Michael Koch  <konqueror@gmx.de>
6938
6939         * javax/swing/plaf/basic/BasicTextUI.java
6940         (installUI): Add eventHandler as property listener.
6941         (uninstallUI): remove eventHandler as propert listener.
6942         (installDefaults): Added comment.
6943         (installListeners): Likewise.
6944         (installKeyboardActions): Likewise.
6945         (uninstallDefaults): Likewise.
6946         (uninstallListeners): Likewise.
6947         (uninstallKeyboardActions): Likewise.
6948
6949 2004-08-31  Michael Koch  <konqueror@gmx.de>
6950
6951         * javax/swing/text/AbstractDocument.java:
6952         Fixed some typos in comments.
6953         (insertString): Reimplemented.
6954         (remove): Likewise.
6955         (replace): New method.
6956         (children): Dont use fully qualified class name.
6957         (DefaultDocumentEvent.offset): Renamed from off.
6958         (DefaultDocumentEvent.length): Renamed from len.
6959         (DefaultDocumentEvent.type): New field.
6960         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
6961         (DefaultDocumentEvent.getType): Implemented.
6962
6963 2004-08-31  Michael Koch  <konqueror@gmx.de>
6964
6965         * javax/swing/plaf/basic/BasicTextUI.java
6966         (RootView.textComponent): Removed.
6967         (RootView.RootView): Don't initialize textComponent.
6968         (RootView.getViewFactory): New method.
6969         (EventHandler): New inner class.
6970         (rootView): Initialize at instance creation.
6971         (eventHandler): New field.
6972         (installUI): Don't create view hierarchy directly,
6973         call modelChanged() instead.
6974         (modelChanged): New method.
6975         * javax/swing/text/JTextComponent.java
6976         (setDocument): Fire property change event.
6977
6978 2004-08-31  Michael Koch  <konqueror@gmx.de>
6979
6980         * javax/swing/plaf/basic/BasicTextUI.java
6981         (RootView.paint): Removed debug output.
6982         (paintSafely): Draw highlighter before text.
6983         (paintBackground): Use background color of text component.
6984         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
6985         Reformatted.
6986
6987 2004-08-31  Michael Koch  <konqueror@gmx.de>
6988
6989         * javax/swing/plaf/basic/BasicToolBarUI.java
6990         (BasicToolBarUI): Fixed arguments for constructor.
6991         (createUI): Fixed creation of object.
6992
6993 2004-08-31  Michael Koch  <konqueror@gmx.de>
6994
6995         * javax/swing/DefaultListSelectionModel.java
6996         (fireValueChanged): Renamed from fireSelectionValueChanged,
6997         made protected.
6998
6999 2004-08-31  Michael Koch  <konqueror@gmx.de>
7000
7001         * javax/swing/text/TabSet.java
7002         (TabSet): Implements java.io.Serializable.
7003         * javax/swing/text/TabStop.java
7004         (TabStop): Implements java.io.Serializable.
7005         (TabStop): Made public.
7006
7007 2004-08-31  Michael Koch  <konqueror@gmx.de>
7008
7009         * javax/swing/JComponent.java
7010         (setUI): Fire PropertyChange.
7011         * javax/swing/JLabel.java
7012         (text): Renamed from labelText.
7013         (horizontalAlignment): New default vlaue.
7014         (icon): Renamed from activeIcon.
7015         (displayedMnemonic): Renamed from mnemonicKey, added default value.
7016         (displayedMnemonicIndex): Renamed from underlineChar.
7017         (setDisplayedMnemonic): Reimplemented.
7018         * javax/swing/JRadioButton.java
7019         (JRadioButton): New constructors.
7020         * javax/swing/JTextField.java
7021         (JTextField): Throw exception if colums < 0, initialitialz
7022         this.columns directly and initialize document with text conditionally.
7023
7024 2004-08-31  Michael Koch  <konqueror@gmx.de>
7025
7026         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
7027         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
7028         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
7029         * javax/swing/text/FieldView.java
7030         (paint): Just call super method for now.
7031         * Makefile.am: Added new files.
7032         * Makefile.in: Regenerated.
7033
7034 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
7035
7036         * javax/swing/AbstractSpinnerModel.java,
7037         javax/swing/JSpinner.java,
7038         javax/swing/SpinnerNumberModel.java,
7039         javax/swing/plaf/basic/BasicSpinnerUI.java:
7040         New files.
7041         * javax/swing/plaf/basic/BasicLookAndFeel.java
7042         (initClassDefaults): Added defaults for BasicSpinnerUI.
7043
7044 2004-08-31  Michael Koch  <konqueror@gmx.de>
7045
7046         * Makefile.am: Added new files.
7047         * Makefile.in: Regenerated.
7048
7049 2004-08-31  Michael Koch  <konqueror@gmx.de>
7050
7051         * javax/swing/TransferHandler.java,
7052         javax/swing/plaf/basic/ComboPopup.java: New files
7053         * Makefile.am: Added javax/swing/TransferHandler.java and
7054         javax/swing/plaf/basic/ComboPopup.java
7055         * Makefile.in: Regenerated.
7056
7057 2004-08-31  Roman Kennke  <roman@ontographics.com>
7058
7059         * javax/swing/text/Utilities.java: New file.
7060
7061 2004-08-31  Michael Koch  <konqueror@gmx.de>
7062
7063         * Makefile.am: Added javax/swing/text/Utilities.java.
7064         * Makefile.in: Regenerated.
7065
7066 2004-08-31  Graydon Hoare  <graydon@redhat.com>
7067
7068         * javax/swing/text/SimpleAttributeSet.java: New file.
7069         * javax/swing/text/StyleConstants.java: New file.
7070         * javax/swing/text/StyleContext.java: New file.
7071         * javax/swing/text/TabSet.java: New file.
7072         * javax/swing/text/TabStop.java: New file.
7073         * javax/swing/text/AbstactDocument.java:
7074         (AbstractElement): Implement attribute support.
7075         * javax/swing/text/AttributeSet.java
7076         (NameAttribute): New static field.
7077         (ResolveAttribute): New static field.
7078         * Makefile.am: Update for new files.
7079         * Makefile.in: Regenerate.
7080
7081 2004-08-31  Craig Black  <craig.black@aonix.com>
7082
7083         * gnu/java/awt/peer/gtk/GdkGraphics.java
7084         (drawImage): Add support for scaling pixmaps.
7085         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
7086         (copyAndScalePixmap): New native method.
7087
7088 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
7089
7090         PR AWT/16121
7091         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
7092         type-punning compiler warnings using unions.
7093         (throw): Replace bzero with memset.
7094
7095 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
7096             Thomas Fitzsimmons  <fitzsim@redhat.com>
7097
7098         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
7099         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
7100         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
7101         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7102         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
7103
7104 2004-08-31  Mark Wielaard  <mark@klomp.org>
7105
7106         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
7107         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
7108         and stdlib.h, not gtkpeer.h.
7109         (*vm): New static variable.
7110         (areaPreparedID): Make static.
7111         (areaUpdatedID): Likewise.
7112         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
7113         (area_prepared): Likewise.
7114         (area_updated): Likewise.
7115         (closed): Likewise.
7116         (initStaticState): Initialize *vm javaVM.
7117         (pumpBytes): Use given env, not global gdk_env.
7118
7119 2004-08-31  Mark Wielaard  <mark@klomp.org>
7120
7121         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
7122         comments.
7123
7124 2004-08-31  Sven de Marothy  <sven@physto.se>
7125
7126         * java/awt/geom/CubicCurve2D.java: Reindent.
7127         (contains): Implemented.
7128         (intersects): Implemented.
7129         * java/awt/geom/QuadCurve2D.java: Likewise.
7130         * java/awt/geom/GeneralPath.java: Reindent and document.
7131         Fully (re)implemented using separate xpoints and ypoints
7132         float[] coords.
7133         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
7134
7135 2004-08-31  Michael Koch  <konqueror@gmx.de>
7136
7137         * javax/swing/JMenuItem.java
7138         (getMenuDragMouseListeners): New method.
7139         (getMenuKeyListeners): Likewise.
7140
7141 2004-08-31  Michael Koch  <konqueror@gmx.de>
7142
7143         * javax/swing/AbstractButton.java
7144         (model): Made protected.
7145         (actionListener): Likewise.
7146         (changeListener): Likewise.
7147         (itemListener): Likewise.
7148         (multiClickThreshhold): New field.
7149         (getActionListeners): New method.
7150         (getChangeListeners): Likewise.
7151         (getItemListeners): Likewise.
7152         (fireItemStateChanged): Simplified implementation.
7153         (fireActionPerformed): Likewise.
7154         (fireStateChanged): Likewise.
7155         (getMultiClickThreshhold): New method.
7156         (setMultiClickThreshhold): Likewise.
7157
7158 2004-08-31  Tom Tromey  <tromey@redhat.com>
7159
7160         * java/awt/image/Kernel.java (clone): Use super.clone().
7161
7162 2004-08-31  David Jee  <djee@redhat.com>
7163
7164         PR AWT/16682
7165         * gnu/java/awt/peer/gtk/GtkFramePeer.java
7166         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
7167         (nativeSetIconImageFromData): New native method declaration.
7168         (setIconImage): Handle images not produced from GdkPixbufDecoder.
7169         * gnu/java/awt/peer/gtk/GtkImage.java
7170         (getPixelCache): New method.
7171         (getColorModel): New method.
7172         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7173         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
7174         (free_pixbuf_data): New helper function.
7175         (nativeSetIconImageFromData): New function.
7176
7177 2004-08-31  Graydon Hoare  <graydon@redhat.com>
7178
7179         PR SWING/16576
7180         * javax/swing/JLayeredPane.java
7181         (setLayer): Permit changing layer after addition.
7182         (setPosition): Permit over-length positions.
7183         (layerToRange): Compare intValue()s.
7184         * javax/swing/Box.java (createHorizontalBox): Implement.
7185         (createRigidArea): Likewise.
7186         (createVerticalBox): Likewise.
7187
7188 2004-08-31  Kim Ho  <kho@redhat.com>
7189
7190         * java/awt/Component.java:
7191         (processMouseEvent): Consume event after
7192         listeners process it.
7193         (processMouseMotionEvent): ditto.
7194         (processMouseWheelEvent): ditto.
7195         * java/awt/Container.java:
7196         (acquireComponentForMouseEvent):
7197         Do not dispatch to events that have been
7198         removed from the Container.
7199         (handleEvent): Consume the MouseEvents.
7200         * javax/swing/RepaintManager.java:
7201         (paintDirtyRegions): Do not add to list of
7202         damaged areas if the component has no root.
7203
7204 2004-08-31  Michael Koch  <konqueror@gmx.de>
7205
7206         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
7207
7208 2004-08-31  Mark Wielaard  <mark@klomp.org>
7209
7210         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
7211         null when a MissingResourceException is thrown. Should never happen.
7212
7213 2004-08-31  Mark Wielaard  <mark@klomp.org>
7214
7215         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
7216         when argument is null.
7217
7218 2004-08-31  Mark Wielaard  <mark@klomp.org>
7219
7220         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7221         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
7222         Define hid at start of function.
7223         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
7224         Likewise.
7225
7226 2004-08-31  Mark Wielaard  <mark@klomp.org>
7227
7228         * gnu/java/awt/EmbeddedWindow.java: Reindent.
7229         * javax/swing/JButton.java: Reindent.
7230         * javax/swing/JCheckBox.java: Reindent.
7231
7232 2004-08-31  Mark Wielaard  <mark@klomp.org>
7233
7234         * Makefile.am (gtk_c_source_files): Added
7235         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
7236         (gtk_awt_peer_sources): Added
7237         gnu/java/awt/peer/gtk/GThreadMutex.java and
7238         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
7239         * Makefile.in: Regenerated.
7240
7241 2004-08-31  Archie Cobbs  <archie@dellroad.org>
7242
7243         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
7244
7245 2004-08-31  Steven Augart  <augart@watson.ibm.com>
7246
7247         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
7248         Added jfieldID, jmethodID.
7249
7250 2004-08-31  Mark Wielaard  <mark@klomp.org>
7251
7252         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
7253         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
7254         gdk_env before calling any gdk or gtk function.
7255
7256         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
7257         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
7258         (run): Set gtkInitCalled.
7259
7260 2004-08-31  Steven Augart  <augart@watson.ibm.com>
7261
7262         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
7263         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
7264
7265         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
7266         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
7267         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
7268         init_glib_threads.
7269         (init_glib_threads): New function.
7270
7271 2004-08-31  Mark Wielaard  <mark@klomp.org>
7272
7273         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
7274         PRIORITY when not already defined in header file.
7275
7276 2004-08-31  Mark Wielaard  <mark@klomp.org>
7277
7278         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
7279         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
7280
7281 2004-08-31  Steven Augart  <augart@watson.ibm.com>
7282
7283         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
7284         Implemented missing functions for GTK2.
7285         Added error handling.
7286         Renamed static functions out of the g_ namespace.
7287         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
7288         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
7289         Rewrote global-reference code.
7290         Eliminated cascading errors.
7291         (mutex_trylock_jni_impl) Fully implemented.
7292         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
7293         resolution.
7294         (setup_cache) New function.
7295         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
7296         bug where they were not unlocking the GMutex associated with the
7297         condition variable during the wait on that condition variable.
7298
7299         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
7300         native/jni/gtk-peer/gthread-jni.c,
7301         native/jni/gtk-peer/gthread-jni.h
7302         (g_thread_jni_functions): Renamed to ...
7303         (portable_native_sync_jni_functions): this name.
7304         (gdk_vm): Renamed to...
7305         (the_vm): this name.
7306
7307         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
7308         (gdk_vm): Removed duplicate definition.
7309         (gtkInit): Removed stray message to stdout.
7310         (gtkInit): Use g_malloc and g_free instead of malloc and free.
7311         (gtkInit): Fix a const assignment bug.
7312         (gtkInit): Simplified code.
7313
7314         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
7315         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
7316         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
7317         gnu/java/awt/peer/gtk/GThreadMutex.java:
7318         New files.
7319
7320 2004-08-31  Mark Wielaard  <mark@klomp.org>
7321
7322         * javax/swing/Box.java: Put FIXME comment above class declaration.
7323         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
7324         * javax/swing/JCheckBox.java: Likewise.
7325         * javax/swing/JDialog.java: Likewise.
7326         * javax/swing/JRadioButton.java: Likewise.
7327         * javax/swing/JToggleButton.java: Likewise.
7328         * javax/swing/UIManager.java: Likewise.
7329         * javax/swing/border/TitledBorder.java: Likewise.
7330         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
7331         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
7332         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
7333         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
7334         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
7335         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
7336         * javax/swing/text/JTextComponent.java: Likewise.
7337
7338 2004-08-31  David Jee  <djee@redhat.com>
7339
7340         PR AWT/16682
7341         * gnu/java/awt/peer/gtk/GtkFramePeer.java
7342         (setIconImage): Add a FIXME for unhandled cases.
7343
7344 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
7345
7346         PR AWT/16040
7347         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
7348         getModifiers.  Replace old button masks with new ones.
7349         * gnu/awt/xlib/XEventLoop.java: Likewise.
7350         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
7351         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7352         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7353         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
7354         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
7355         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
7356         * java/awt/Component.java: Replace old modifier masks with new
7357         ones.
7358         * java/awt/Container.java: Call getModifiersEx, not
7359         getModifiers.
7360         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
7361         old modifier masks.
7362         * javax/swing/JMenuItem.java: Replace old button masks with new
7363         ones.
7364         * javax/swing/KeyStroke.java: Call getModifiersEx, not
7365         getModifiers.
7366         * javax/swing/SwingUtilities.java: Likewise.
7367         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
7368         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
7369         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
7370         mask macros with new ones.
7371         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
7372         macros with new ones representing new masks.
7373
7374 2004-08-31  Craig Black  <craig.black@aonix.com>
7375
7376         * gnu/java/awt/peer/gtk/GdkGraphics.java
7377         (drawRoundRect): Implemented.
7378         (fillRoundRect): Implemented.
7379         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7380         (drawRoundRect): Reimplemented to match GdkGraphics.
7381         (fillRoundRect): Reimplemented to match GdkGraphics.
7382
7383 2004-08-31  Mark Wielaard  <mark@klomp.org>
7384
7385         * Makefile.in: Regenerated.
7386
7387 2004-08-31  Michael Koch  <konqueror@gmx.de>
7388
7389         * gnu/java/awt/EmbeddedWindow.java
7390         (addNotify): Use AccessController to allow execution of privileged
7391         code.
7392
7393 2004-08-31  Michael Koch  <konqueror@gmx.de>
7394
7395         * gnu/java/awt/EmbeddedWindow.java
7396         (static): Removed.
7397         (addNotify): Set peer via reflection.
7398         (setWindowPeer): Removed.
7399         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
7400         * Makefile.am (nat_source_files):
7401         Removed gnu/java/awt/natEmbeddedWindow.cc.
7402
7403 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
7404
7405         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
7406         and gnu/java/security/action/SetAccessibleAction.java.
7407
7408 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
7409
7410         * gnu/java/security/action/GetPropertyAction.java (setParameters):
7411         Renamed from 'setName'. New 2-argument form with default value.
7412         (run): Pass default 'value' parameter to System.getProperty().
7413         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
7414         typos.
7415
7416 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
7417
7418         * gnu/java/security/action/GetPropertyAction.java: New class.
7419         * gnu/java/security/action/SetAccessibleAction.java: New class.
7420
7421 2004-08-31  David Jee  <djee@redhat.com>
7422
7423         * gnu/java/awt/peer/gtk/GtkFramePeer.java
7424         (setIconImage): Check if image is null.
7425
7426 2004-08-31  David Jee  <djee@redhat.com>
7427
7428         * gnu/java/awt/peer/gtk/GtkFramePeer.java
7429         (create): Set the icon image.
7430         (nativeSetIconImage): New native method declaration.
7431         (setIconImage): Implement.
7432         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7433         (nativeSetIconImage): New function.
7434
7435 2004-08-31  Dalibor Topic <robilad@kaffe.org>
7436
7437         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7438         (filenameFilterCallback): Declare local variable accepted before use.
7439
7440 2004-08-31  Dalibor Topic <robilad@kaffe.org>
7441
7442         * gnu/java/awt/ComponentDataBlitOp.java:
7443         Cleaned up imports.
7444
7445 2004-08-31  Tom Tromey  <tromey@redhat.com>
7446
7447         * gnu/java/awt/peer/GLightweightPeer.java,
7448         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
7449         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7450         javax/swing/JScrollPane.java: Removed
7451         redundant imports.
7452
7453 2004-08-31  David Jee  <djee@redhat.com>
7454
7455         * java/awt/DefaultKeyboardFocusManager.java
7456         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
7457         event.  Fix shift modifier checking.
7458         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7459         (accel_attach): Remove.
7460         (setupAccelGroup): Remove calls to accel_attach.
7461
7462 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
7463
7464         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
7465         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
7466
7467         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
7468         GtkArgList.java.
7469         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
7470         * Makefile.in: Regenerate.
7471         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7472         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7473         (create(String)): New method.
7474         (create): Call new create method.
7475         (getArgs): Remove method.
7476         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
7477         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
7478         (nativeCreate): Rename to create.
7479         (gtkSetLabel): Rename to gtkButtonSetLabel.
7480         (gtkToggleButtonSetActive): New method.
7481         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
7482         (setState): Replace set call with gtkToggleButtonSetActive.
7483         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
7484         (getArgs): Remove method.
7485         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7486         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7487         (gtkWidgetSetSensitive): New method.
7488         (gtkWidgetSetParent): Likewise.
7489         (GtkComponentPeer): Call setParent, setComponentBounds and
7490         setVisibleAndEnabled.
7491         (setParent): New method.
7492         (setComponentBounds): New method.
7493         (setVisibleAndEnabled): New method.
7494         (setEnabled): Call gtkWidgetSetSensitive.
7495         (getArgs): Remove method.
7496         Remove all set methods.
7497         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
7498         gtkWindowSetModal, setTitle and setResizable.
7499         (getArgs): Remove method.
7500         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
7501         (setComponentBounds): New method.
7502         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
7503         Replace set call with gtkWindowSetResizable.
7504         (getArgs): Remove method.
7505         (create): Call setTitle and setResizable.
7506         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
7507         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7508         (gtkWindowSetTitle): New method.
7509         (gtkWindowSetResizable): New method.
7510         (gtkWindowSetModal): New method.
7511         (setParent): New method.
7512         (setVisibleAndEnabled): New method.
7513         (getArgs): Remove method.
7514         (setTitle): Call gtkWindowSetTitle.
7515         (setResizable): Call gtkWindowSetResizable.
7516         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
7517         and off locking instrumentation.
7518
7519 2004-08-31  Kim Ho  <kho@redhat.com>
7520
7521         * Makefile.am: Add new file.
7522         * Makefile.in: Regenerate.
7523         * gcj/Makefile.in: Regenerate
7524         * include/Makefile.in:
7525         * java/awt/Container.java:
7526         (acquireComponentForMouseEvent): Respect
7527         the event mask when looking for candidate.
7528         * javax/swing/JComponent.java:
7529         Remove toolTip field.
7530         (createToolTip): Create a tooltip on demand.
7531         (setToolTipText): Register with the ToolTipManager.
7532         (getToolTipText(MouseEvent)): Return getToolTipText().
7533         * javax/swing/JToolTip.java: Implement.
7534         * javax/swing/Timer.java: Jalopy.
7535         (restart): Call stop, then start.
7536         (stop): Interrupt the timer rather than wait for
7537         the timer to come to a stop naturally.
7538         * javax/swing/ToolTipManager.java: Implement.
7539         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7540         Change ToolTip.background color.
7541         * javax/swing/plaf/basic/BasicToolTipUI.java:
7542         Implement.
7543         * testsuite/Makefile.in: Regenerate
7544
7545 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
7546
7547         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
7548         constructor param comments.
7549
7550 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
7551
7552         * java/awt/Component.java: Document AWT 1.0 event handler
7553         methods.
7554
7555 2004-08-31  Roman Kennke  <roman@ontographics.com>
7556
7557         * javax/swing/Box.java:
7558         (createGlue): Implemented
7559         (createHorizontalGlue): Implemented
7560         (createHorizontalStrut): Implemented
7561         (createVerticalGlue): Implemented
7562         (createVerticalStrut): Implemented
7563
7564 2004-08-31  David Jee  <djee@redhat.com>
7565
7566         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
7567         (GtkChoicePeer): Do not automatically select first item.
7568         (getHistory): Remove.
7569         (nativeGetSelected): New method.
7570         (nativeRemoveAll): New method.
7571         (add): Use nativeGetSelected() instead of getHistory().
7572         (remove): Likewise.
7573         (removeAll): Call nativeRemoveAll().
7574         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7575         (create): Migrate to GtkComboBox.
7576         (append): Likewise.
7577         (nativeAdd): Likewise.
7578         (nativeRemove): Likewise.
7579         (select): Likewise.
7580         (nativeRemoveAll): New method.
7581         (nativeGetSelected): New method.
7582         (selection_changed): New method.
7583         (getHistory): Remove.
7584         (item_activate): Remove.
7585         (item_removed): Remove.
7586         (connect_choice_item_selectable_hook): Remove.
7587
7588 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
7589
7590         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
7591         variable in setEditable call.
7592
7593         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7594         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
7595         (gtkWidgetSetBackground): New method.
7596         (gtkWidgetSetForeground): Likewise.
7597         (create): Set peer's editable state based on awtComponent's.
7598
7599         * java/awt/Button.java (Button()): Use empty string rather than
7600         null in no-label constructor.
7601
7602 2004-08-31  Roman Kennke  <roman@ontographics.com>
7603
7604         * javax/swing/BoxLayout.java: Reimplement.
7605
7606 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
7607
7608         * gnu/java/awt/peer/gtk/GdkGraphics.java,
7609         gnu_java_awt_peer_gtk_GdkGraphics.c
7610         (initState(GtkComponentPeer)): Don't return array of colour
7611         values.
7612         (GdkGraphics(int,int)): Set default font to size 12.
7613         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
7614         component's foreground colour.
7615         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
7616         gnu_java_awt_peer_gtk_GdkGraphics2D.c
7617         (initState(GtkComponentPeer)): Don't return array of colour
7618         values.
7619         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
7620         colours to component's colours.
7621         (current_colors_of_widget): Remove function.
7622         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
7623         Return a new graphics object.
7624         * java/awt/Font.java (toString): Fix format.
7625         * java/awt/Graphics.java (toString): Likewise.
7626
7627 2004-08-31  Craig Black  <craig.black@aonix.com>
7628
7629         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7630         (addTearOff): New function.
7631         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
7632         New native method.
7633         (init): Call addTearOff() when menu.isTearOff().
7634
7635 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
7636
7637         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
7638         Default implementation.
7639         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
7640         Implement using GdkPixbufDecoder.
7641
7642 2004-08-31  David Jee  <djee@redhat.com>
7643
7644         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7645         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
7646         setting the size of GtkFileDialogPeers.
7647         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7648         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
7649         use their default sizes rather than their natural requisitions.
7650
7651 2004-08-31  Michael Koch  <konqueror@gmx.de>
7652
7653         * javax/swing/JFormattedTextField.java
7654         (JFormattedTextField): Implemented.
7655         * javax/swing/text/DefaultEditorKit.java
7656         (BeepAction): New inner class.
7657         * javax/swing/text/Segment.java
7658         (partialReturn): New field.
7659         (setPartialReturn): New method.
7660         (isPartialReturn): Likewise.
7661         * javax/swing/text/View.java
7662         (createFragment): Fixed typo.
7663         (getStartOffset): New method.
7664         (getEndOffset): Likewise.
7665
7666 2004-08-31  Michael Koch  <konqueror@gmx.de>
7667
7668         * javax/swing/table/DefaultTableColumnModel.java
7669         (serialVersionUID): Made private.
7670         (listenerList): Initialize.
7671         (changeEvent): Initialize.
7672         * javax/swing/table/JTableHeader.java
7673         (JTableHeader): New constructors.
7674         (createDefaultColumnModel): New method.
7675         * javax/swing/table/TableColumn.java
7676         (setHeaderRenderer): Simplified code.
7677         (setCellRenderer): Likewise.
7678         (setWidth): Likewise.
7679
7680 2004-08-31  Tom Tromey  <tromey@redhat.com>
7681
7682         * java/text/AttributedString.java (AttributedString): Use
7683         ArrayList to build array of attribute ranges.  Don't use
7684         `attribs' before it is set.
7685
7686 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
7687
7688         * HACKING: Remove reference to special automake. No longer needed.
7689
7690 2004-08-30  Tom Tromey  <tromey@redhat.com>
7691
7692         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
7693         return result from `add'.
7694
7695 2004-08-30  Tom Tromey  <tromey@redhat.com>
7696
7697         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
7698
7699 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
7700
7701         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
7702
7703 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
7704
7705         * java/io/File.java File(String,String): Fixed handling of empty
7706         path.
7707
7708 2004-08-30  Casey Marshall  <csm@gnu.org>
7709
7710         Author e-mail updated for all files.
7711         * gnu/java/security/OID.java (equals): Test if the aurgment is an
7712         instance of OID.
7713         (compareTo): Use `equals'.
7714         * gnu/java/security/der/BitString.java (equals): Test if the
7715         argument is an instance of BitString.
7716         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
7717         class final. Made fields private.
7718         (<init>): New constructor.
7719         (skip): New method.
7720         (makeString): Made static; don't use NIO.
7721         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
7722         * gnu/java/security/der/DERWriter.java: Fixed imports.
7723         (writeString): Don't use NIO.
7724         (toIso88591, toUtf16Be, toUtf8): New methods.
7725         * gnu/java/security/der/DERValue.java: Formatting changes only.
7726         * gnu/java/security/der/DER.java: Likewise.
7727
7728 2004-08-30  Tom Tromey  <tromey@redhat.com>
7729
7730         * java/nio/CharBuffer.java (put): Fix typo.
7731         * java/nio/DoubleBuffer.java (put): Fix typo.
7732         * java/nio/FloatBuffer.java (put): Fix typo.
7733         * java/nio/IntBuffer.java (put): Fix typo.
7734         * java/nio/LongBuffer.java (put): Fix typo.
7735         * java/nio/ShortBuffer.java (put): Fix typo.
7736
7737 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
7738
7739         * java/nio/ByteBuffer.java (put): Fix typo.
7740
7741 2004-08-30  Casey Marshall  <csm@gnu.org>
7742
7743         * java/security/DummyKeyPairGenerator.java (clone): Removed
7744         useless instanceof check.
7745         * java/security/DummyMessageDigest.java (clone): Likewise.
7746         * java/security/DummySignature.java (clone): Likewise.
7747         * java/security/MessageDigest.java (clone): Remove useless
7748         instanceof check.
7749         * java/security/MessageDigestSpi.java (clone): Likewise.
7750         * java/security/Signature.java (clone): Provide meaningful
7751         implementation.
7752         * java/security/SignatureSpi.java (clone): Likewise.
7753
7754 2004-08-29  Mark Wielaard  <mark@klomp.org>
7755
7756         * java/util/Arrays.java
7757         (sort(byte[], int, int)): Check fromIndex < 0.
7758         (sort(char[], int, int)): Likewise.
7759         (sort(short[], int, int)): Likewise.
7760         (sort(int[], int, int)): Likewise.
7761         (sort(long[], int, int)): Likewise.
7762         (sort(float[], int, int)): Likewise.
7763         (sort(double[], int, int)): Likewise.
7764         (sort(Object[], int, int, Comparator)): Likewise.
7765         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
7766         (qsort(char[], int, int)): Likewise.
7767         (qsort(short[], int, int)): Likewise.
7768         (qsort(int[], int, int)): Likewise.
7769         (qsort(long[], int, int)): Likewise.
7770         (qsort(float[], int, int)): Likewise.
7771         (qsort(double[], int, int)): Likewise.
7772
7773 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7774
7775         * java/util/AbstractCollection.java, java/util/AbstractList.java,
7776         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
7777         java/util/ArrayList.java, java/util/Arrays.java,
7778         java/util/BitSet.java, java/util/Calendar.java,
7779         java/util/Collection.java, java/util/ListIterator.java,
7780         java/util/Map.java, java/util/SortedSet.java:
7781         Added additional exceptions to documentation, along
7782         with some additions and corrections.
7783
7784 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
7785
7786         * configure.ac: Handle --enable-gc-debug.
7787         * configure: Regenerate.
7788         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
7789         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
7790         Rearrange include file order.
7791         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
7792         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
7793         (disable_gc_mutex): Delete along with all references.
7794         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
7795         adjust for debug header size.
7796         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
7797         debug case.
7798         (_Jv_AllocArray): Declare min_heap_addr only if needed.
7799         (gcj_describe_type_fn): New.
7800         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
7801         Register gcj_describe_type_fn.
7802         * include/boehm-gc.h:
7803         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
7804         Don't define, but declare, for debug case.
7805         * java/lang/natObject.cc:
7806         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
7807
7808 2004-08-26  Mark Wielaard  <mark@klomp.org>
7809
7810         Fixes PR libgcj/17002:
7811         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
7812         a TimeZoneId string and then try to convert that to a TimeZone with
7813         getDefaultSystemTimeZone(String).
7814         (timezones0): Changed type from Hashtable to HashMap.
7815         (timezones): Create HashMap, not Hashtable.
7816         (getDefaultTimeZone): New method, rewritten from CNI version.
7817         (readTimeZoneFile): New method.
7818         (readtzFile): Likewise.
7819         (skipFully): Likewise.
7820         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
7821         getDefaultTimeZoneId and rewritten.
7822         (getDefaultTimeZoneId): Rewritten in java.
7823
7824 2004-08-25  David Daney  <daney@avtrex.com>
7825
7826         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
7827         * Makefile.in: Regenerated.
7828
7829 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
7830
7831         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
7832         only if jvmpi is enabled.
7833         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
7834         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
7835         (_Jv_AllocString): Likewise.
7836         (_Jv_AllocPtrFreeObject): Likewise.
7837
7838 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
7839
7840         * defineclass.cc: Include <stdio.h>.
7841         * java/lang/natClassLoader.cc: Include <stdio.h>.
7842
7843 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
7844             Michael Koch  <konqueror@gmx.de>
7845
7846         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
7847         * Makefile.in: Regenerated.
7848
7849 2004-08-20  Michael Koch  <konqueror@gmx.de>
7850
7851         * configure.ac: Replaced all AC_TRY_COMPILE macros with
7852         AC_COMPILE_IFELSE macros.
7853
7854 2004-08-20  Michael Koch  <konqueror@gmx.de>
7855
7856         * configure.in: Renamed to configure.ac.
7857         * configure.ac: New file.
7858         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
7859         include/config.h.in, testsuite/Makefile.in: Regenerated.
7860
7861 2004-08-20  Michael Koch  <konqueror@gmx.de>
7862
7863         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
7864         * aclocal.m4, configure: Regenerated.
7865
7866 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
7867             Michael Koch  <konqueror@gmx.de>
7868
7869         * configure.in, Makefile.am: Ported to automake 1.9.
7870         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
7871         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
7872         Regenerated.
7873
7874 2004-08-19  Tom Tromey  <tromey@redhat.com>
7875
7876         * java/net/DatagramSocket.java: Fixed typo.
7877
7878 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
7879
7880         PR libgcj/17081
7881         * java/net/URI.java (string): New field. Make all other fields
7882         transient.
7883         (readObject): Implemented.
7884         (writeObject): Implemented.
7885         (URI): Set 'string'.
7886
7887 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
7888
7889         PR libgcj/17079
7890         * java/util/logging/Handler.java (isLoggable): Accept record if its
7891         log level equals the threshold level. From Robin Green.
7892
7893 2004-08-18  David Daney  <ddaney@avtrex.com>
7894
7895         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
7896         instead of sigwait.
7897
7898 2004-08-17  Michael Koch  <konqueror@gmx.de>
7899
7900         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
7901         * Makefile.in: Regenerated.
7902
7903 2004-08-16  Tom Tromey  <tromey@redhat.com>
7904
7905         PR java/8473:
7906         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
7907
7908 2004-08-16  Michael Koch  <konqueror@gmx.de>
7909
7910         * Makefile.am
7911         (math_c_files): Renamed from c_files.
7912         (math_c_source_files): Renamed from c_source_files.
7913         * Makefile.in,
7914         gcj/Makefile.in,
7915         include/Makefile.in,
7916         testsuite/Makefile.in: Regenerated.
7917
7918 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
7919
7920         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
7921         to avoid autoconf warning.
7922         * configure: Rebuilt.
7923
7924 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
7925
7926         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
7927         localhostAddress to loopbackAddress.
7928         * java/net/natInetAddressWin32.cc (lookup): Likewise.
7929
7930 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
7931
7932         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
7933         boehm-gc's include dirs.
7934         * configure: Rebuilt.
7935         * include/boehm-gc.h: Include gc_config.h.
7936
7937 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
7938
7939         * java/net/InetAddress.java (loopbackAddress): Renamed from
7940         localhostAddress.
7941         (getByName): Return loopback address for null hostname, without
7942         security check. Use lookup(), not getAllByName.
7943         (getAllByName): Return loopback address for null hostname, without
7944         security check.
7945         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
7946         check here.
7947
7948 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
7949
7950         PR libgcj/17020
7951         Reported by Robin Green.
7952         * defineclass.cc (handleField): Don't throw exception on unrecognised
7953         modifier. Add FIXME comments for spec compliance.
7954         (handleMethod): Likewise.
7955
7956 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
7957
7958         PR libgcj/16662
7959         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
7960         (Almost everywhere): add LOG calls, fix, add comments.
7961         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
7962         Add explicit check for LOCKED bit in slow case (PR 16662).
7963         (_Jv_MonitorExit): Add casts in debug-only code.
7964         Always release LOCKED bit before throwing exception.
7965         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
7966         isn't.  Handle easy cases without lock acquisition.
7967         (Object::wait): Use NotifyAll for lock inflation.
7968
7969 2004-08-12  David Daney  <ddaney@avtrex.com>
7970
7971         * testsuite/libjava.lang/Process_1.java: New test.
7972         * testsuite/libjava.lang/Process_2.java: New test.
7973         * testsuite/libjava.lang/Process_3.java: New test.
7974         * testsuite/libjava.lang/Process_4.java: New test.
7975         * testsuite/libjava.lang/Process_5.java: New test.
7976         * testsuite/libjava.lang/Process_6.java: New test.
7977         * testsuite/libjava.lang/Process_1.out: Expected result.
7978         * testsuite/libjava.lang/Process_2.out: Expected result.
7979         * testsuite/libjava.lang/Process_3.out: Expected result.
7980         * testsuite/libjava.lang/Process_4.out: Expected result.
7981         * testsuite/libjava.lang/Process_5.out: Expected result.
7982         * testsuite/libjava.lang/Process_6.out: Expected result.
7983
7984 2004-08-12  David Daney  <ddaney@avtrex.com>
7985
7986         PR libgcj/11801
7987         * java/lang/PosixProcess.java: Rewrote.
7988         * java/lang/natPosixProcess.cc: Rewrote.
7989         * java/lang/Runtime.java (execInternal): Declare throws IOException.
7990         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
7991         * posix-threads.cc (block_sigchld) New function.
7992         (_Jv_ThreadRegister) Use it.
7993         (_Jv_ThreadStart) Use it.
7994         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
7995         * Makefile.am: ... to specify extra native headers.
7996         * configure: Regenerated.
7997         * include/config.h: Regenerated.
7998         * Makefile.in: Regenerated.
7999         * gcj/Makefile.in: Regenerated.
8000         * include/Makefile.in: Regenerated.
8001         * testsuite/Makefile.in: Regenerated.
8002
8003 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
8004
8005         PR tree-optimization/16867
8006         * testsuite/libjava.lang/PR16867.java: New test.
8007
8008 2004-08-09  Per Bothner  <per@bothner.com>
8009
8010         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
8011         with private fields and access methods.
8012         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
8013         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
8014         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
8015         ( _Jv_makeUtf8Const): Rewrite using new constructors.
8016         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
8017         * defineclass.cc: Use new _Utf8Const access/convenience methods.
8018         * jni.cc: Likewise.
8019         * resolve.cc: Likewise.
8020         * gcj/field.h: Likewise.
8021         * include/jvm.h: Likewise.
8022         * java/lang/Class.h: Likewise.
8023         * java/lang/natClass.cc: Likwise.
8024         * java/lang/natClassLoader.cc: Likewise
8025         * java/lang/reflect/natMethod.cc: Likewise
8026         * verify.cc: Likewise.
8027         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
8028         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
8029
8030 2004-08-10  Andrew Haley  <aph@redhat.com>
8031
8032         * testsuite/libjava.lang/err14.java: New file.
8033         * testsuite/libjava.lang/err14.out: New file.
8034
8035 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
8036
8037         * Makefile.am: Fix missing rename from x_nat_headers to
8038         xlib_nat_headers.
8039         * Makefile.in: Regenerated.
8040
8041 2004-08-04  Andrew Haley  <aph@redhat.com>
8042
8043         * java/security/BasicPermission.java: Don't check wildcards.
8044
8045 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
8046             Michael Koch  <konqueror@gmx.de>
8047
8048         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
8049         * configure.in: Replaced all usages of AC_LINK_FILES by
8050         AC_CONFIG_LINKS.
8051         * aclocal.m4,
8052         configure: Regenerated.
8053
8054 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
8055             Michael Koch  <konqueror@gmx.de>
8056
8057         * acconfig.h: Removed.
8058         * Makefile.am: Rename variables for xlib peer to include xlib and
8059         gtk_c_headers to gtk_jni_headers.
8060         * Makefile.in: Regenerated.
8061
8062 2004-08-04  Andrew Haley  <aph@redhat.com>
8063
8064         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
8065         debugging.
8066
8067 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
8068
8069         * configure.in: Eliminate uses of changequote (mostly by quoting []).
8070         Replace most top level 'dnl' comments with '#' comments, conforming
8071         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
8072         help strings.
8073         * configure: Rebuilt.
8074
8075 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
8076
8077         * acinclude.m4: Include no-executables.m4.
8078         * aclocal.m4: Rebuild.
8079         * configure.in: Convert to the autoconf 2.59 version of
8080         of the no-executables hack, and also of the nonstandard CXX
8081         hack and the multilibbed CC and CXX hack.  Change prerequisite
8082         to autoconf 2.59.
8083         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
8084         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8085         testsuite/Makefile.in: Regenerate.
8086
8087 2004-08-03  Tom Tromey  <tromey@redhat.com>
8088
8089         * jni.cc: Reindented.
8090
8091 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
8092
8093         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
8094
8095 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
8096
8097         * testsuite/libjava.compile/PR16701.java: New test.
8098
8099 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8100
8101         * java/util/Collection.java, java/util/List.java,
8102         java/util/Map.java, java/util/Set.java,
8103         java/util/SortedMap.java, java/util/SortedSet.java:
8104         Added additional exceptions to documentation.
8105
8106 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
8107
8108         PR libgcj/16814
8109         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
8110         * configure. Regenerate.
8111         * include/win32.h: Explicitly include winsock2.h
8112         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
8113         Winsock api.
8114
8115 2004-07-30  Michael Koch  <konqueror@gmx.de>
8116
8117         * java/util/zip/GZIPInputStream.java
8118         (GZIPInputStream): Increase buffer size to 4k.
8119         * java/util/zip/GZIPOutputStream.java
8120         (GZIPOutputStream): Likewise.
8121         * java/util/zip/Inflater.java
8122         (setInput): Merged formating with GNU classpath.
8123         * java/util/zip/InflaterInputStream.java
8124         (InflaterInputStream): Increase buffer size to 4k.
8125         (fill): Throw exception if stream ends early.
8126         (read): Merged endless-loop with GNU classpath.
8127         (skip): Increase buffer size to 2k.
8128
8129 2004-07-30  Michael Koch  <konqueror@gmx.de>
8130
8131         * gnu/java/awt/EmbeddedWindow.java
8132         (addNotify): Use AccessController to allow execution of privileged
8133         code.
8134
8135 2004-07-29  Michael Koch  <konqueror@gmx.de>
8136
8137         * gnu/java/lang/MainThread.java:
8138         Explicitely import used classes.
8139         (args): Make it type String[].
8140
8141 2004-07-29 Dalibor Topic <robilad@kaffe.org>
8142
8143         * gnu/java/awt/ComponentDataBlitOp.java,
8144         gnu/java/beans/ExplicitBeanInfo.java,
8145         gnu/java/beans/IntrospectionIncubator.java,
8146         gnu/java/beans/editors/ColorEditor.java,
8147         gnu/java/beans/editors/FontEditor.java,
8148         gnu/java/beans/editors/NativeBooleanEditor.java,
8149         gnu/java/beans/editors/NativeByteEditor.java,
8150         gnu/java/beans/editors/NativeDoubleEditor.java,
8151         gnu/java/beans/editors/NativeFloatEditor.java,
8152         gnu/java/beans/editors/NativeIntEditor.java,
8153         gnu/java/beans/editors/NativeLongEditor.java,
8154         gnu/java/beans/editors/NativeShortEditor.java,
8155         gnu/java/beans/editors/StringEditor.java,
8156         gnu/java/io/ClassLoaderObjectInputStream.java,
8157         gnu/java/io/decode/Decoder.java,
8158         gnu/java/io/encode/Encoder.java,
8159         gnu/java/lang/ClassHelper.java,
8160         gnu/java/locale/Calendar.java,
8161         gnu/java/locale/Calendar_de.java,
8162         gnu/java/locale/Calendar_en.java,
8163         gnu/java/locale/Calendar_nl.java,
8164         gnu/java/locale/LocaleInformation_de.java,
8165         gnu/java/locale/LocaleInformation_en.java,
8166         gnu/java/locale/LocaleInformation_nl.java:
8167         Cleaned up imports.
8168
8169 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
8170
8171         * README: Remove obsolete info. Update bug URL.
8172         * THANKS: Updated.
8173         * NEWS: Updated with news up to GCC 3.4 release.
8174
8175 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
8176
8177         * gnu/java/security/action/GetPropertyAction.java (setParameters):
8178         Renamed from 'setName'. New 2-argument form with default value.
8179         (run): Pass default 'value' parameter to System.getProperty().
8180         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
8181         typos.
8182         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
8183         not 'setName'.
8184
8185 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
8186
8187         * configure.in: Check for minimum GTK version 2.4 requirement.
8188         * configure: Rebuilt.
8189
8190 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
8191
8192         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
8193         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
8194         Reduce sleep time.
8195         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
8196         compiler bug.
8197         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
8198         address. Reduce sleep times. Synchronize with target threads before
8199         attempting to interrupt them. Don't try to calibrate yeild count,
8200         instead, always loop for a fixed time.
8201         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
8202         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
8203         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
8204         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
8205         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
8206         * testsuite/libjava.lang/pr179.java: Likewise.
8207         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
8208         time. Remove upper bounds check on sleep time.
8209
8210 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
8211
8212         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
8213         * testsuite/libjava.lang/Thread_HoldsLock.out: New.
8214
8215 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
8216
8217         * java/io/File.java (toURI): Throw RuntimeException, not
8218         InternalError.
8219         * java/lang/Runtime.java (exit): Qualify static sleep() call with
8220         class name, not instance.
8221
8222 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
8223
8224         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
8225         and gnu/java/security/action/SetAccessibleAction.java.
8226         * Makefile.in: Rebuilt.
8227
8228 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
8229
8230         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
8231         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
8232         _Jv_InitPrimClass.
8233         (DECLARE_PRIM_TYPE): Don't declare array vtables.
8234         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
8235         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
8236
8237 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
8238
8239         * Makefile.am: Replace jar, rmic and rmiregistry references with
8240         gjar, grmic and grmiregistry.
8241         * configure.in: Likewise.
8242         * Makefile.in: Regenerate.
8243         * configure: Likewise.
8244         * gcj/Makefile.in: Likewise.
8245         * include/Makefile.in: Likewise.
8246         * testsuite/Makefile.in: Likewise.
8247
8248 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
8249
8250         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
8251         for privileged getProperty calls.
8252         * java/io/ObjectOutputStream.java (getField): No longer static. Use
8253         SetAccessibleAction instead of anonymous class for doPrivileged call.
8254         (getMethod): Likewise.
8255         (setAccessible): New field. PrivilegedAction object to use when
8256         calling setAccessible.
8257         * java/io/ObjectStreamClass.java (calculateOffsets): Use
8258         SetAccessibleAction instead of anonymous class for diPrivileged call.
8259         (setFields): Likewise.
8260         (getClassUID): Likewise.
8261         (findMethod): Likewise.
8262         * gnu/java/security/action/GetPropertyAction.java: New class.
8263         * gnu/java/security/action/SetAccessibleAction.java: New class.
8264
8265 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
8266
8267         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
8268         for final fields.
8269         * testsuite/libjava.lang/Serialization.java: New test.
8270         * testsuite/libjava.lang/Serialization.out: New.
8271
8272 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
8273
8274         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
8275         missed in last commit.
8276
8277 2004-07-23  Mark Wielaard  <mark@klomp.org>
8278
8279         * java/lang/System.java (static): Set http.agent system property when
8280         not yet set.
8281         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
8282         from system property inside AccessController.doPrivileged() call.
8283         (proxyPort): Made package private.
8284         (proxyInUse): Likewise.
8285         (proxyHost): Likewise.
8286         (userAgent): Likewise.
8287
8288 2004-07-23  Mark Wielaard  <mark@klomp.org>
8289
8290         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
8291         implementation.
8292
8293 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
8294
8295         * Makefile.am (ordinary_java_source_files): Add
8296         DefaultContentHandlerFactory.java.
8297         * Makefile.in: Rebuilt.
8298         * java/net/URLConnection.java (defaultFactory): New field.
8299         (getContent):
8300         (getContentHandler): Renamed from 'setContentHandler'. Try
8301         defaultFactory after user-set factory, if any. Search for content
8302         handler implementations in gnu.java.net.content, not gnu.gcj.content.
8303         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
8304         Implemented.
8305         (getLastModified): Implemented.
8306         (getPermission): Create file permission here, instead of in
8307         constructor.
8308         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
8309         Implemented.
8310         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
8311         Implemented.
8312         (getLastModified): Implemented.
8313         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
8314         Default implementation.
8315         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
8316         Implement using GdkPixbufDecoder.
8317
8318 2004-07-21  Michael Koch  <konqueror@gmx.de>
8319
8320         * javax/swing/JTextArea.java
8321         (setLineWrap): Fire property change event after new value is set.
8322         (setTabSize): Likewise.
8323
8324 2004-07-21  Michael Koch  <konqueror@gmx.de>
8325
8326         * javax/swing/JTable.java
8327         (autoCreateColumnsFromModel): New field.
8328         (autoResizeMode): Likewise.
8329         (cellEditor): Likewise.
8330         (cellSelectionEnabled): Likewise.
8331         (columnModel): Likewise.
8332         (dataModel): Likewise.
8333         (defaultEditorsByColumnClass): Likewise.
8334         (defaultRenderersByColumnClass): Likewise.
8335         (editingColumn): Likewise.
8336         (editingRow): Likewise.
8337         (gridColor): Likewise.
8338         (preferredViewportSize): Likewise.
8339         (rowHeight): Likewise.
8340         (rowMargin): Likewise.
8341         (rowSelectionAllowed): Likewise.
8342         (selectionBackground): Likewise.
8343         (selectionForeground): Likewise.
8344         (selectionModel): Likewise.
8345         (showHorizontalLines): Likewise.
8346         (showVerticalLines): Likewise.
8347         (tableHeader): Likewise.
8348         (JTable): Implemented.
8349         (getColumnModel): Likewise.
8350         (getSelectedRow): Likewise.
8351         (getSelectionModel): Likewise.
8352         (setModel): Likewise.
8353         (setSelectionModel): Likewise.
8354         (createScrollPaneForTable): New method.
8355         (createDefaultDataModel): Likewise.
8356         (createDefaultListSelectionModel): Likewise.
8357         (getModel): Likewise.
8358         (getTableHeader): Likewise.
8359         (setTableHeader): Likewise.
8360         (getColumnSelectionAllowed): Likewise.
8361         (setColumnSelectionAllowed): Likewise.
8362         (getRowSelectionAllowed): Likewise.
8363         (setRowSelectionAllowed): Likewise.
8364         (getAutoResizeMode): Likewise.
8365         (setAutoResizeMode): Likewise.
8366         (getColumnCount): Likewise.
8367         (getRowCount): Likewise.
8368         (getCellRenderer): Likewise.
8369         * javax/swing/JTree.java
8370         (cellRenderer): New field.
8371         (editable): Likewise.
8372         (rootVisible): Likewise.
8373         (showsRootHandles): Likewise.
8374         (getModel): New method.
8375         (setModel): Likewise.
8376         (isEditable): Likewise.
8377         (setEditable): Likewise.
8378         (isRootVisbile): Likewise.
8379         (setRootVisible): Likewise.
8380         (getShowsRootHandles): Likewise.
8381         (setShowRootHandles): Likewise.
8382         (getCellRenderer): Likewise.
8383         (setCellRenderer): Likewise.
8384
8385 2004-07-21  Michael Koch  <konqueror@gmx.de>
8386
8387         * javax/swing/JFormattedTextField.java
8388         (setDocument): Implemented.
8389         * javax/swing/JRootPane.java:
8390         Fixed javadocs.
8391         * javax/swing/JTable.java
8392         (getDefaultRenderer): New method.
8393         * javax/swing/JTextField.java
8394         (setFont): Likewise.
8395         (getPreferredSize): Likewise.
8396         * javax/swing/JToggleButton.java
8397         (getAccessibleContext): Fix javadoc.
8398         * javax/swing/JTree.java:
8399         Add some javadocs.
8400         * javax/swing/JViewport.java:
8401         Likewise.
8402
8403 2004-07-21  David Jee  <djee@redhat.com>
8404
8405         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
8406         Collect all native method declaration at the top.
8407         (create): Set the filename filter if necessary.
8408         (setDirectory): Call nativeSetDirectory().
8409         (setFilenameFilter): Implement.
8410         (filenameFilterCallback): New method.
8411         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8412         (create): Configure dialog to show hidden files.
8413         (filenameFilterCallback): New function.
8414         (nativeSetFilenameFilter): New function.
8415         (nativeSetDirectory): New function.
8416
8417 2004-07-21  Kim Ho  <kho@redhat.com>
8418
8419         * javax/swing/plaf/basic/BasicSliderUI.java:
8420         Ran Jalopy.
8421         (paintTrack): Fill the track before painting
8422         the borders.
8423
8424 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8425
8426         patch from Roman Kennke <roman@ontographics.com>
8427         * javax/swing/Spring.java: New file.
8428         * javax/swing/SpringLayout.java: New file.
8429         * Makefile.am: Add new files.
8430         * Makefile.in: Regenerate.
8431
8432 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8433
8434         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
8435         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
8436         * javax/swing/ScrollPaneLayout.java: Likewise.
8437
8438 2004-07-21  Kim Ho  <kho@redhat.com>
8439
8440         * javax/swing/DefaultDesktopManager.java:
8441         (findMinimum): Removed.
8442         (resizeFrame): Trust the UI to pass valid
8443         bounds.
8444         * javax/swing/JOptionPane.java:
8445         Implemented showInternalXXXDialog methods.
8446         (startModal): New method.
8447         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
8448         (BorderListener::mouseDragged): Verify that the new
8449         bounds are valid before passing them to the DesktopManager.
8450         (preferredLayoutSize): Delegate
8451         to getSize.
8452         (minimumLayoutSize): Ditto.
8453         (getSize): New method.
8454         (GlassPaneDispatcher): Reimplemented by copying
8455         a stripped down LightweightDispatcher from Container.
8456         (getMinimumSize): Call minimumLayoutSize.
8457         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
8458         Ran Jalopy.
8459         (mousePressed): Add ability to properly close
8460         JInternalFrames.
8461         * javax/swing/plaf/basic/BasicToolBarUI.java:
8462         (DragWindow): Set owner for DragWindow.
8463
8464 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
8465
8466         * java/awt/image/ShortLookupTable.java: New file.
8467         * java/awt/image/ByteLookupTable.java: New file.
8468         * Makefile.am: Added new files.
8469         * Makefile.in: Regenerated.
8470
8471 2004-07-21  David Jee  <djee@redhat.com>
8472
8473         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
8474         (create(GtkContainerPeer)): New native method.
8475         (create()): Call native create(), passing in the parent frame
8476         as the paramter. Natively set the current file and directory.
8477         (setFile): Construct an absolute filename before passing it to
8478         the native peer.
8479         (nativeGetDirectory): New method.
8480         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8481         (window_closed): Removed.
8482         (ok_clicked): Likewise.
8483         (cancel_clicked): Likewise.
8484         (handle_response): New method.
8485         (create): Use GtkFileChooserDialog.
8486         (connectSignals): Connect to handle_response.
8487         (nativeGetDirectory): New method.
8488         (nativeSetFile): Use GtkFileChooserDialog.
8489
8490 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
8491
8492         * java/awt/image/LookupTable.java: New file.
8493         * Makefile.am: Added new file.
8494         * Makefile.in: Regenerated.
8495
8496 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
8497
8498         * java/awt/image/Kernel.java: New file.
8499         * Makefile.am: Added new file.
8500         * Makefile.in: Regenerated.
8501
8502 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8503
8504         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
8505         * javax/swing/JMenu.java: Likewise.
8506         * javax/swing/JMenuBar.java: Likewise.
8507         (MARGIN_CHANGED_PROPERTY): New property.
8508         (setMargin): Implemented.
8509         * javax/swing/JMenuItem.java: Fixed javadocs.
8510         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
8511         (LABEL_CHANGED_PROPERTY): New property.
8512         (add): changed to use createActionComponent.
8513         (createActionComponent): Implemented.
8514         (setLabel): Fire PropertyChangeEvent if label property
8515         changes.
8516         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
8517         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
8518         (ContainerHandler): Repaint if margin property has changed.
8519         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8520         (installUI): Call installComponents().
8521         (uninstallUI): Call uinstallComponents().
8522         * javax/swing/plaf/basic/BasicMenuUI.java:
8523         Fixed javadocs.
8524         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8525         Likewise.
8526
8527 2004-07-21  Kim Ho  <kho@redhat.com>
8528
8529         * javax/swing/plaf/basic/BasicToolBarUI.java:
8530         (DragWindow): Use the right constructor.
8531
8532 2004-07-21  Kim Ho  <kho@redhat.com>
8533
8534         * javax/swing/JToolBar.java:
8535         (layoutContainer): Use getComponents.
8536         * javax/swing/plaf/basic/BasicToolBarUI.java:
8537         (DragWindow): Don't use SwingUtilities'
8538         getOwnerFrame
8539         (ToolBarDialog): ditto.
8540
8541 2004-07-21  Kim Ho  <kho@redhat.com>
8542
8543         * javax/swing/JRootPane.java:
8544         Ran jalopy.
8545         (layoutContainer): Set the glasspane's size to
8546         be the same as the content pane.
8547         (createGlassPane): Set opaque property to false.
8548
8549 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8550
8551         * java/awt/Component.java (requestFocus()): Don't handle Panels
8552         specially.
8553         (requestFocus(boolean)): Likewise.
8554         (requestFocusInWindow(boolean)): Likewise.
8555         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
8556         Set GTK_CAN_FOCUS flag.
8557
8558 2004-07-21  Kim Ho  <kho@redhat.com>
8559
8560         * Makefile.am: Added new file.
8561         * Makefile.in: Regenerated.
8562         * gcj/Makefile.in: Regenerated.
8563         * include/Makefile.in: Regenerated.
8564         * javax/swing/AbstractButton.java:
8565         Add rollOverEnabled property.
8566         (setRolloverEnabled): Use new property.
8567         (isRolloverEnabled): Use new property.
8568         * javax/swing/JTabbedPane.java:
8569         (setComponent): Remove useless JTabbedPane.this.
8570         * javax/swing/JToolBar.java: Finish implementation.
8571         * javax/swing/plaf/basic/BasicArrowButton.java:
8572         (paint): Moved border painting to a border.
8573         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8574         Change JToolBar look and feel defaults.
8575         * javax/swing/plaf/basic/BasicOptionPaneUI.java
8576         (actionPerformed): Return Integer index instead of name.
8577         (addButtonComponents): Check to see if component is
8578         JButton last.
8579         (createMessageArea): Don't use components that are not
8580         completed yet.
8581         (getIconForType): Use temporary icons.
8582         * javax/swing/plaf/basic/BasicSliderUI.java:
8583         (mousePressed): Do not return if it's on thumb.
8584         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
8585         (paintMinorTickForVertSlider): ditto.
8586         (paintMajorTickForHorizSlider): ditto.
8587         (paintMajorTickForVertSlider): ditto.
8588         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
8589         Add a border around the SplitPaneDivider.
8590         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
8591         Remove comments.
8592         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
8593         New file. Implemented.
8594         * javax/swing/plaf/basic/BasicToolBarUI.java:
8595         Implemented.
8596         * testsuite/Makefile.in: Regenerated.
8597
8598 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8599
8600         * javax/swing/Timer.java (run): Queue events each time cycle.
8601
8602 2004-07-21  David Jee  <djee@redhat.com>
8603
8604         * gnu/java/awt/peer/gtk/GtkImagePainter.java
8605         (imageComplete): Call image.imageComplete().
8606         * java/awt/image/MemoryImageSource.java:
8607         Reimplement consumers as a Vector instead of a Hashtable.  This is
8608         because enumeration on a Hashtable is not thread-safe.
8609         (addConsumer): Adapt to Vector consumers.
8610         (isConsumer): Adapt to Vector consumers.
8611         (removeConsumer): Adapt to Vector consumers.
8612         (startProduction): Adapt to Vector consumers. Call imageComplete()
8613         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
8614         (newPixels): Adapt to Vector consumers.
8615         (sendPicture): Set the color model of the image consumer.
8616         (newPixels(IIII)): Adapt to Vector consumers.
8617         (newPixels(IIIIB)): Adapt to Vector consumers.
8618
8619 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8620
8621         * java/awt/Component.java (deliverEvent): Implement.
8622         (postEvent): Implement.
8623         (handleEvent): Implement.
8624         (translateEvent): New method.
8625         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
8626         * java/awt/Container.java (deliverEvent): Implement.
8627         * java/awt/Event.java (paramString): Fix formatting.
8628         * java/awt/Font.java (toString): Likewise.
8629         * java/awt/Window.java (postEvent): Implement.
8630
8631 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8632
8633         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
8634         Set window's focus owner upon receiving a FOCUS_LOST event.
8635         * java/awt/Window.java (Window()): Refocus the previously
8636         focused component within the window when the window regains the
8637         top-level focus.
8638         (setFocusOwner): New method.
8639         * java/awt/Component.java (requestFocus): Add FIXME.
8640
8641         * libgcj.pc.in: Remove library flags.
8642
8643 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8644
8645         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
8646         MOUSE_PRESSED event.
8647         * java/awt/Component.java (requestFocus()): Handle Panel
8648         specially.  Post FOCUS_LOST event on opposite component.
8649         (requestFocus(boolean)): Likewise.
8650         (requestFocusInWindow(boolean)): Likewise.
8651         (paramString): Reorder dimension fields.
8652         * java/awt/Container.java (paramString): Fix string format.
8653         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
8654         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
8655         process key events if the focus owner is non-null.
8656         (dispatchKeyEvent): Likewise.
8657         * java/awt/Frame.java (paramString): Fix formatting.
8658         (generateName): New method.
8659         (getUniqueLong): Likewise.
8660         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
8661         the temporary focus owner is null.  If so, return the permanent
8662         focus owner.
8663         * java/awt/Panel.java (generateName): New method.
8664         (getUniqueLong): Likewise.
8665         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
8666         signal handling to make callbacks more specific.
8667
8668 2004-07-21  Michael Koch  <konqueror@gmx.de>
8669
8670         * javax/swing/text/Position.java
8671         (Bias): Implemented.
8672
8673 2004-07-21  Michael Koch  <konqueror@gmx.de>
8674
8675         * javax/swing/LookAndFeel.java
8676         (provideErrorFeedback): New method.
8677
8678 2004-07-21  Michael Koch  <konqueror@gmx.de>
8679
8680         * javax/swing/JTextArea.java
8681         (tabSize): New field.
8682         (getTabSize): New method.
8683         (setTabSize): Likewise.
8684
8685 2004-07-21  Michael Koch  <konqueror@gmx.de>
8686
8687         * javax/swing/ActionMap.java:
8688         Fixed javadocs all over.
8689         (serialVersionUID): Made private.
8690         (parent): Don't explicitely initialize with default value.
8691         (get): SImplified.
8692         (keys): Reimplemented.
8693         (allKeys): Likewise.
8694         (convertSet): Removed.
8695         * javax/swing/ComponentInputMap.java:
8696         Fixed javadocs all over.
8697         (ComponentInputMap): Implemented.
8698         (put): Likewise.
8699         (clear): Likewise.
8700         (remove): Likewise.
8701         (SetParent): Likewise.
8702         (getComponent): Likewise.
8703         * javax/swing/InputMap.java:
8704         Fixed javadocs all over.
8705         (serialVersionUID): Made private.
8706         (parent): Don't explicitely initialize with default value.
8707         (get): SImplified.
8708         (keys): Reimplemented.
8709         (allKeys): Likewise.
8710         (convertSet): Removed.
8711
8712 2004-07-21  Michael Koch  <konqueror@gmx.de>
8713
8714         * javax/swing/ActionMap.java,
8715         javax/swing/ComponentInputMap.java,
8716         javax/swing/InputMap.java,
8717         javax/swing/table/DefaultTableColumnModel.java,
8718         javax/swing/table/TableColumn.java,
8719         javax/swing/table/TableColumnModel.java,
8720         javax/swing/table/TableModel.java,
8721         javax/swing/text/AbstractDocument.java,
8722         javax/swing/text/TextAction.java:
8723         Reformated.
8724
8725 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8726
8727         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
8728         Make method non-static.
8729         * javax/swing/AbstractButton.java:
8730         Rename fields to match property names where possible.
8731         (iconTextGap): New property.
8732         * javax/swing/JCheckBox.java: Match AbstractButton changes.
8733         (init) New method, call from after various constructors.
8734         * javax/swing/JComponent.java (revalidate):
8735         Invalidate before queueing repair.
8736         * javax/swing/JList.java (getPreferredScrollableViewportSize):
8737         Reimplement in terms of visibleRowCount property.
8738         * javax/swing/JMenuButton.java: Match AbstractButton changes.
8739         * javax/swing/JScrollPane.java (createScrollListener):
8740         Remove tracing chatter.
8741         * javax/swing/JToggleButton.java: Match AbstractButton changes.
8742         * javax/swing/RepaintManager.java (addInvalidComponent):
8743         Don't invalidate.
8744         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
8745         calculations.
8746         * javax/swing/SwingUtilities.java (layoutCompoundLabel):
8747         Mimic sun behavior on top left/right positioning.
8748         * javax/swing/ViewportLayout.java (preferredLayoutSize):
8749         Remove mistaken use of preferredScrollableViewportSize here.
8750         (layoutContainer): Use view's preferred size as basis.
8751         * javax/swing/plaf/basic/BasicButtonUI.java:
8752         Set, get, and use textIconGap property.
8753         (paint) Paint text returned from layout (with ellipsis).
8754         * javax/swing/plaf/basic/BasicListUI.java:
8755         Remove tracing chatter, correct various minor calculations.
8756         (getCellBounds): Update layout state before calculating.
8757         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
8758         Use margin default similar to sun's.
8759         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
8760         (createIncreaseIcon): Center icon, minimize margins.
8761         (createDecreaseIcon): Likewise.
8762         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
8763         Implement.
8764         (installUI): Call it.
8765         (uninstallDefaults): Implement.
8766         (uninstallUI): Call it.
8767         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
8768         Call existing Window constructor.
8769         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
8770         Set clip before painting.
8771
8772 2004-07-21  Olga Rodimina <rodimina@redhat.com>
8773
8774         * javax/swing/JMenuItem.java:
8775         (processMouseEvent): Reimplemented to deal with
8776         mouse drag events.
8777         (createMenuDragMouseEvent): New private helper method.
8778         Creates MenuDragMouseEvent.
8779         * javax/swing/MenuSelectionManager.java
8780         (componentForPoint): Implemented.
8781         (isComponentPartOfCurrentMenu): Made public.
8782         (processMouseEvent): Reimplemented to deal with
8783         mouse drag events.
8784         (setSelectedPath): Corrected small mistake that caused
8785         path to be set incorrectly.
8786         (getPath): If given component is JMenu then also add this
8787         menu's popup menu to the selected path.
8788         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8789         (getPath): Ditto.
8790         (getPreferredSize): Call getPreferredMenuItemSize().
8791         (getPreferredItemSize): Moved code from getPreferredSize to here.
8792         (installListeners): Install MouseMotionListeners.
8793         (MouseInputHandler): Pass mouse release event to MenuSelectionManager
8794         if mouse wasn't released in the bounds of this menu item.
8795         (MenuDragMouseHandler): Implemented.
8796         * javax/swing/plaf/basic/BasicMenuUI.java:
8797         (installListeners): Install MouseMotionListener and
8798         MenuDrageMouseListener.
8799         (MenuDragMouseHandler): Implemented.
8800         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8801         (uninstallListeners): Implemented.
8802
8803 2004-07-21  Michael Koch  <konqueror@gmx.de>
8804
8805         * javax/swing/JCheckBox.java: Reformated.
8806         (JCheckBox): Fixed all constructors.
8807         (isBorderPaintedFlat): New method.
8808         (setBorderPaintedFlat): New method.
8809         * javax/swing/JEditorPane.java
8810         (createEditorKitForContentType): Made public.
8811         (scrollToReference): Likewise.
8812         * javax/swing/JTextArea.java
8813         (setLineWrap): Fire property change.
8814         * javax/swing/JToggleButton.java
8815         (JToggleButton): New constructor.
8816         (JToggleButton): Simplified.
8817         * javax/swing/text/AttributeSet.java
8818         (FontAttribute): Renamed from FontCharacterAttribute.
8819         * javax/swing/text/JTextComponent.java
8820         (KeyBinBinding): Added javadoc.
8821         (JTextComponent): Likewise.
8822         (getAccessibleContext): Fixed javadoc.
8823         * javax/swing/text/View.java
8824         (View): Added javadoc.
8825         * javax/swing/text/TabableView.java: New file.
8826         * Makefile.am: Added javax/swing/text/TabableView.java.
8827         * Makefile.in: Regenerated.
8828
8829 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8830
8831         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
8832         * gnu/java/awt/peer/gtk/GtkToolkit.java
8833         (GtkErrorImage): New helper class.
8834         (bufferedImageOrError): New helper method.
8835         (createImage): Use it.
8836
8837 2004-07-21  David Jee  <djee@redhat.com>
8838
8839         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
8840         (setCaretPosition): Scroll the text view so the new caret position
8841         is visible on screen.
8842
8843 2004-07-21  David Jee  <djee@redhat.com>
8844
8845         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8846         (setBounds): Do not validate awtComponent here.
8847         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
8848         (getPreferredSize): New method.
8849         * java/awt/ScrollPane.java
8850         (ScrollPane): Set default size to 100x100.
8851         (addNotify): If child is not a Panel, wrap it with a new Panel.
8852         (paramString): Implement.
8853
8854 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8855
8856         * javax/swing/JMenu.java:
8857         (setSelected): Display popup menu only if this menu
8858         is showing on the screen.
8859         * javax/swing/JPopupMenu.java:
8860         (processMouseEvent): Added comment.
8861         (processKeyEvent): Likewise.
8862         * javax/swing/MenuSelectionManager.java:
8863         (clearSelectedPath): Only fireStateChanged() after
8864         selected path was changed, not before.
8865         (setSelectedPath): Likewise.
8866         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8867         (paintMenuItem): Corrected position of menu item's
8868         icon.
8869         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8870         (installUI): Correct setDefaultLightWeightPopupEnabled call.
8871         (popupMenuCanceled): Reimplemented.
8872         (popupMenuWillBecomeVisible): Select first menu item by default
8873         when displaying free floating popup menus.
8874         (TopWindowListener): Reimplemented.
8875
8876 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8877
8878         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
8879         Panel from being painted twice when it is first shown.
8880
8881 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8882
8883         * java/awt/Window.java: Reverted changes from my
8884         previous patch for creating window without an owner.
8885         * javax/swing/SwingUtilities.java:
8886         (SwingUtilities.OwnerFrame): made static.
8887         (OwnerFrame.setVisible): New method. Overridden with
8888         empty implementation.
8889         (OwnerFrame.isShowing): New method. Ovverridden
8890         to return always true.
8891
8892 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8893
8894         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8895         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8896         (GtkComponentPeer): Remove temporary try/catch block.
8897         (setVisible): Call show and hide.
8898         (show): Make native.
8899         (hide): Likewise.
8900         (getArgs): Don't add "visible" argument.
8901         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8902         (property_notify_predicate): Return Bool instead of int.
8903         (find_layout): New function.
8904         (connectJObject): Call find_layout.
8905         (connectSignals): Likewise.
8906         (moveLayout): Likewise.
8907         (gtkLayoutSetVisible): Likewise.
8908
8909 2004-07-21  Mark Wielaard  <mark@klomp.org>
8910
8911         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
8912         on notifier object before calling notifyAll().
8913
8914 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8915
8916         * java/awt/Window.java: Changed constructors to use new
8917         method that is described below. Constructors call this
8918         methods only if newly created window should have an owner.
8919         (setWindowOwner): New method. Implementation for
8920         this method is moved from this(owner,configuration).
8921         * javax/swing/JWindow.java:
8922         (JWindow): Reimplement to use SwingUtilities.ownerFrame
8923         instead of owner.
8924         * javax/swing/SwingUtilities.java:
8925         (ownerFrame): Change type of this field to OwnerFrame.
8926         (getOwnerFrame): Changed to return object of type OwnerFrame.
8927         (SwingUtilities.OwnerFrame): New class. Represents owner
8928         of a Window that is not provided with one.
8929
8930 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8931
8932         *  javax/swing/AbstractButton.java:
8933         (configurePropertiesFromAction): Set action command
8934         to button's text by default if action command is not
8935         explicitely specified.
8936         * javax/swing/JMenu.java: Remove unnecessary listener
8937         and methods relevant to it.
8938         (setSelected): Reimplemented.
8939         (menuSelectionChanged): Moved most part of implementation to
8940         setSelected() and call it instead.
8941         * javax/swing/JMenuItem.java:
8942         (init): Comment out statement that sets paint_border to false.
8943         (configurePropertiesFromAction): Do not set accelerator
8944         for JMenu.
8945         (menuSelectionChanged): Change selected index in the selection
8946         model of menu item's parent.
8947         * javax/swing/JPopupMenu.java:
8948         (remove): Set constraints.fill field to GridBagConstraints.BOTH
8949         instead of GridBagConstraints.HORIZONTAL.
8950         (insert): Likewise.
8951         (createActionChangeListener): Implemented.
8952         (setVisible): Correct location of HeavyWeightMenu and
8953         don't firePopupMenuCanceled().
8954         (menuSelectionChanged): Implemented.
8955         (ActionChangeListener): New Listener. Implemented.
8956         * javax/swing/plaf/basic/BasicMenuBarUI.java:
8957         (BasicMenuBarUI.ContainerHandler): Implemented.
8958         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8959         (paintMenuItem): Uncommented out code that paints
8960         icon, now that icons are working properly.
8961         (PropertyChangeListener): Implemented.
8962         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8963         Added javadocs.
8964         (topWindowListener): New field.
8965         (Constructor): initialize topWindowListener.
8966         (BasicPopupMenuUI.TopWindowListener): Implemented.
8967         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
8968         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
8969         Implemented.
8970
8971 2004-07-21  Michael Koch  <konqueror@gmx.de>
8972
8973         * javax/swing/plaf/basic/BasicButtonUI.java
8974         (paintFocus): Fixed method signature.
8975         (paintButtonPressed): Likewise.
8976         (paintButtonNormal): Likewise.
8977         (paintText): New method.
8978         * javax/swing/plaf/basic/BasicLabelUI.java
8979         (paint): Re-indented.
8980         * javax/swing/plaf/basic/BasicTextUI.java
8981         (installUI): Set parent textComponent to opaque.
8982         * javax/swing/text/DefaultHighlighter.java
8983         (checkPositions): New helper method.
8984         (addHighlight): Throws BadLocationException, check positions.
8985         (changeHighlight): Likewise.
8986         * javax/swing/text/EditorKit.java
8987         (EditorKit): Implements Serializable.
8988         * javax/swing/text/JTextComponent.java
8989         (getUI): Added javadoc.
8990         (setUI): Likewise.
8991         (upadteUI): Added javadoc, don't revalidate and repaint.
8992
8993 2004-07-21  David Jee  <djee@redhat.com>
8994
8995         * java/awt/GridBagLayout.java
8996         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
8997         * javax/swing/AbstractButton.java
8998         (setText): Reindent.
8999         * javax/swing/RepaintManager.java
9000         (addInvalidComponent): Find the first ancestor that isValidateRoot().
9001
9002 2004-07-21  Michael Koch  <konqueror@gmx.de>
9003
9004         * javax/swing/JFormattedTextField.java
9005         (value): New field.
9006         (JFormattedTextField): Implemented.
9007         (getValue): Likewise.
9008         (setValue): Likewise.
9009         * javax/swing/LookAndFeel.java
9010         (getSupportsWindowDecorations): New method.
9011         * javax/swing/UIDefaults.java:
9012         Use java.beans.PropertyChangeSupport instead of doing all ourself.
9013         (addPropertyChangeListener): Made public.
9014         (addResourceBundle): Likewise.
9015         (removeResourceBundle): Likewise.
9016         (setDefaultLocale): Likewise.
9017         * javax/swing/plaf/basic/BasicRootPaneUI.java
9018         (BasicRootPaneUI): Implements PropertyChangeListener.
9019         (propertyChange): New method.
9020         * javax/swing/plaf/basic/BasicTextUI.java
9021         (BasicHighlighter): New inner class.
9022         (createHighlighter): New method.
9023         * javax/swing/plaf/basic/BasicToolBarUI.java
9024         (DragWindow): Extends java.awt.Window.
9025         * javax/swing/text/JTextComponent.java
9026         (getDocument): Removed debug output.
9027         * javax/swing/plaf/basic/BasicTextFieldUI.java,
9028         javax/swing/text/DefaultHighlighter.java,
9029         javax/swing/text/FieldView.java,
9030         javax/swing/text/PlainView.java: New files.
9031         * Makefile.am: Added new files.
9032         * Makefile.in: Regenerated.
9033
9034 2004-07-21  Michael Koch  <konqueror@gmx.de>
9035
9036         * javax/swing/JEditorPane.java
9037         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
9038         (createEditorKitForContentType): Likewise.
9039         * javax/swing/text/DefaultEditorKit.java
9040         (serialVersionUID): Added constant field.
9041         (EndOfLineStringPropery): Fixed typo.
9042         (DefaultEditorKit): New constructor.
9043         * javax/swing/text/Segment.java:
9044         Import java.text.CharacterIterator.
9045         * javax/swing/text/CharacterIterator.java,
9046         javax/swing/text/PlainEditorKit.java: Removed.
9047         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
9048         javax/swing/text/PlainEditorKit.java.
9049         * Makefile.in: Regenerated.
9050
9051 2004-07-21  Michael Koch  <konqueror@gmx.de>
9052
9053         * javax/swing/JButton.java,
9054         javax/swing/text/DefaultEditorKit.java,
9055         javax/swing/text/EditorKit.java,
9056         javax/swing/text/Segment.java,
9057         javax/swing/text/StyledEditorKit.java:
9058         Reformatted.
9059
9060 2004-07-21  Michael Koch  <konqueror@gmx.de>
9061
9062         * javax/swing/ImageIcon.java
9063         (file): Removed.
9064         (description): Renamed from descr.
9065         (ImageIcon): Added missing constructors.
9066         (setParent): Removed.
9067         (setImageObserver): New method.
9068         (getImageObserver): New method.
9069         (paintIcon): Handle observer = null.
9070         * javax/swing/JButton.java
9071         (removeNotify): Fixed javadoc.
9072         (updateUI): Simplified.
9073         * javax/swing/JRootPane.java
9074         (serialVersionUID): New constant field.
9075         * javax/swing/UIManager.java:
9076         Fixed javadocs all over.
9077         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
9078         * javax/swing/text/AbstractDocument.java
9079         (createPosition): Throws BadLocationException.
9080         (getText): Likewise.
9081         (remove): Likewise.
9082         * javax/swing/text/ComponentView.java
9083         (modelToView): Likewise.
9084         * javax/swing/text/DefaultEditorKit.java:
9085         Made all public methods public.
9086         (read): Throws BadLocationException and IOException.
9087         (write): Likewise.
9088         * javax/swing/text/EditorKit.java:
9089         Made all public methods public.
9090         (serialVersionUID): New constant field.
9091         (clone): New method.
9092         (read): Throws BadLocationException and IOException.
9093         (write): Likewise.
9094         * javax/swing/text/Segment.java
9095         (array): Made public.
9096         (count): Likewise.
9097         (offset): Likewise.
9098         (Segment): New constructors.
9099         (clone): Reimplemented.
9100         * javax/swing/text/StyledEditorKit.java
9101         (serialVersionUID): New constant field.
9102
9103 2004-07-21  Graydon Hoare  <graydon@redhat.com>
9104
9105         * java/awt/image/BufferedImage.java
9106         (getSource): Implement.
9107         * javax/swing/ImageIcon.java
9108         (ImageIcon): Implement ctor.
9109         * javax/swing/ScrollPaneLayout.java
9110         (preferredLayoutSize): Be more careful about nulls.
9111
9112 2004-07-21  Michael Koch  <konqueror@gmx.de>
9113
9114         * javax/swing/text/AttributeSet.java
9115         (CharacterAttribute): New interface
9116         (ColorAttribute): Likewise.
9117         (FontCharacterAttribute): Likewise.
9118         (ParagraphAttribute): Likewise.
9119         * javax/swing/text/DefaultCaret.java
9120         (moveCaret): New method.
9121         (positionCaret): Likewise.
9122         (repaint): Made protected.
9123         * javax/swing/text/JTextComponent.java
9124         (KeyBinding): Made it static.
9125         * javax/swing/text/View.java
9126         (getContainer): Honor parent == null.
9127
9128 2004-07-21  Michael Koch  <konqueror@gmx.de>
9129
9130         * javax/swing/text/AbstractDocument.java:
9131         Reformatted.
9132
9133 2004-07-21  Michael Koch  <konqueror@gmx.de>
9134
9135         * javax/swing/plaf/basic/BasicRootPaneUI.java:
9136         Import javax.swing.UIManager explicitely.
9137         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9138         (ScrollingButton): Made it static.
9139
9140 2004-07-21  Michael Koch  <konqueror@gmx.de>
9141
9142         * javax/swing/UIDefaults.java
9143         (ActiveValue): Made public.
9144         (LazyValue): Likewise.
9145         * javax/swing/plaf/basic/BasicTextUI.java
9146         (RootView): Reintroduced.
9147         (view): Removed.
9148         (rootView): New field.
9149         (installUI): Create document if needed, initialize rootView.
9150         (uninstallUI): Hanle rootView.
9151         (paint): Likewise.
9152         (getRootView): Likewise.
9153         (setView): Likewise.
9154         * javax/swing/text/DefaultCaret.java:
9155         Renamed all "evt" variables to "event".
9156
9157 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
9158
9159         * libgcj.spec.in: Add -l-java-util-logging.
9160
9161 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
9162
9163         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
9164         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
9165         gtk-xft-dpi can no calculate the right value.
9166         (dpi_changed_cb): Mark *pspec as unsused.
9167
9168 2004-07-21  David Jee  <djee@redhat.com>
9169
9170         * java/awt/Component.java
9171         (move): Delegate to setBounds().
9172         (resize): Likewise.
9173         (reshape): Fix so it repaints parent and self only when necessary.
9174
9175 2004-07-21  David Jee  <djee@redhat.com>
9176
9177         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9178         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9179         (GtkComponentPeer): Revert previous patch from 2004-06-22.
9180         (setVisible): Likewise.
9181         (show): Likewise.
9182         (hide): Likewise.
9183         (getArgs): Likewise.
9184         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9185         (property_notify_predicate): Likewise.
9186         (find_layout): Likewise.
9187         (connectJObject): Likewise.
9188         (connectSignals): Likewise.
9189         (moveLayout): Likewise.
9190         (gtkLayoutSetVisible): Likewise.
9191
9192 2004-07-21  Graydon Hoare  <graydon@redhat.com>
9193
9194         * Makefile.am
9195         (jv_convert_LDADD):
9196         (gij_LDADD):
9197         (rmic_LDADD):
9198         (rmiregistry_LDADD): Add lib-java-util-logging.la
9199         * Makefile.in: Regenerate.
9200
9201 2004-07-21  Michael Koch  <konqueror@gmx.de>
9202
9203         * javax/swing/text/AbstractDocument.java
9204         (replace): Dont use protected method of java.util.Vector directly.
9205
9206 2004-07-21  Michael Koch  <konqueror@gmx.de>
9207
9208         * javax/swing/plaf/basic/BasicTextUI.java
9209         (installUI): Call specialized install methods.
9210         (installDefaults): New method.
9211         (installListeners): Likewise.
9212         (installKeyboardActions): Likewise.
9213         (uninstallUI): Likewise.
9214         (uninstallDefaults): New method.
9215         (uninstallListeners): Likewise.
9216         (uninstallKeyboardActions): Likewise.
9217         (getPropertyPrefix): New abstract method.
9218         (paint): Made final, just call paintSafely().
9219         (paintSavely): New method.
9220         (paintBackground): Likewise.
9221         (getVisibleEditorRect): Likewise.
9222         * javax/swing/text/LayeredHighlighter.java,
9223         javax/swing/text/TabExpander.java: New files.
9224         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
9225         and javax/swing/text/TabExpander.java.
9226         * Makefile.in: Regenerated.
9227
9228 2004-07-21  Michael Koch  <konqueror@gmx.de>
9229
9230         * javax/swing/plaf/basic/BasicTextUI.java
9231         (BasicTextUI): Made abstract.
9232         (BasicCaret): New inner class.
9233         (view): Don't explicitely initialize with "null".
9234         (textComponent): New field.
9235         (textColor): Removed.
9236         (disabledTextColor): Removed.
9237         (normalBackgroundColor): Removed.
9238         (RootView): Removed commented out inner class.
9239         (createUI): Removed.
9240         (createCaret): New method.
9241         (getComponent): Likewise.
9242         (installUI): Initialize textComponent only.
9243         (getPreferredSize): Use installed JTextComponent.
9244         (setView): New method.
9245         (create): Likewise.
9246         * javax/swing/text/JTextComponent.java
9247         (highlighter): New field.
9248         (caretColor): Likewise.
9249         (disabledTextColor): Likewise.
9250         (seletedTextColor): Likewise.
9251         (selectionColor): Likewise.
9252         (setUI): New method.
9253         (getCaretColor): Likewise.
9254         (setCaretColor): Likewise.
9255         (getDisabledColor): Likewise.
9256         (setDisabledColor): Likewise.
9257         (getSelectedTextColor): Likewise.
9258         (setSelectedTextColor): Likewise.
9259         (getSelectionColor): Likewise.
9260         (setSelectionColor): Likewise.
9261         (getHighlighter): Likewise.
9262         (setHighlighter): Likewise.
9263         (replaceSelection): Likewise.
9264
9265 2004-07-21  Michael Koch  <konqueror@gmx.de>
9266
9267         * javax/swing/plaf/basic/BasicScrollPaneUI.java
9268         (BasicScrollPaneUI): Implements ScrollPaneConstants.
9269         * javax/swing/plaf/basic/BasicToolBarUI.java
9270         (BasicToolBarUI): Implements SwingConstants.
9271
9272 2004-07-21  Michael Koch  <konqueror@gmx.de>
9273
9274         * javax/swing/JPopupMenu.java: Removed CVS tags.
9275         * javax/swing/UIDefaults.java: Reformatted.
9276         * javax/swing/plaf/basic/BasicRootPaneUI.java:
9277         Explicitely import used classes.
9278
9279 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
9280
9281         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9282         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9283         (GtkComponentPeer): Remove temporary try/catch block.
9284         (setVisible): Call show and hide.
9285         (show): Make native.
9286         (hide): Likewise.
9287         (getArgs): Don't add "visible" argument.
9288         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9289         (property_notify_predicate): Return Bool instead of int.
9290         (find_layout): New function.
9291         (connectJObject): Call find_layout.
9292         (connectSignals): Likewise.
9293         (moveLayout): Likewise.
9294         (gtkLayoutSetVisible): Likewise.
9295
9296 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
9297
9298         * javax/swing/AbstractButton.java:
9299         (setDisplayedMnemonicIndex): Check if button
9300         text is not null before checking its length.
9301         * javax/swing/JMenuItem.java:
9302         (processMouseEvent): Disarm menu item if mouse has
9303         exited it.
9304         * javax/swing/plaf/basic/BasicMenuUI.java:
9305         (MouseInputHandler.mouseEntered): Do not raise
9306         popup menu if this menu is already selected.
9307         (MouseInputHandler.mousePressed): Do not fire
9308         MenuEvents.
9309         (MenuHandler): Implemented.
9310
9311 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
9312
9313         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
9314         (getSelectedObjects): Implemented.
9315         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
9316         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
9317         Added javadoc for few methods.
9318         (processMouseEvent): Made public.
9319         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
9320         (processMouseEvent): Likewise.
9321
9322 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
9323
9324         * javax/swing/AbstractButton.java:
9325         (init): Set display mnemonic index to -1.
9326         (setMnemonic(char)): Use setMnemonic(int).
9327         (setMnemonic(int)): Set display mnemonic index.
9328         (getDisplayedMnemonicIndex): Change method signature
9329         by removing 'index' parameter.
9330         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9331         Added default for Menu.selectionBackground.
9332         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9333         (paintMenuItem): Change background color of the selected
9334         menu item.
9335         (paintText): Paint differently when menu item is disabled.
9336         Also paint mnemonic if it appears in the menu item's label.
9337         (paintAccelerator): Paint accelerator differently
9338         if menu item is disabled.
9339         * javax/swing/plaf/basic/BasicMenuUI.java:
9340         (installDefaults): Install defaults for
9341         selectionForeground and selectionBackground.
9342         (uninstallDefaults): Uninstall defauls for
9343         selectionForeground and selectionBackground.
9344
9345 2004-07-21  Michael Koch  <konqueror@gmx.de>
9346
9347         * javax/swing/text/AbstractDocument.java
9348         (BranchElement): Implemented.
9349         (LeafElement): Implemented.
9350         * javax/swing/text/DefaultCaret.java:
9351         Import used classes.
9352         (serialVersionUID): New constant.
9353         * javax/swing/text/JTextComponent.java
9354         (AccessibleJTextComponent): Removed dead declaration.
9355         (caretPos): Removed.
9356         (setCaret): New method.
9357         * javax/swing/text/PlainDocument.java
9358         (rootElement): New field.
9359         (PlainDocument): Initialize rootElement.
9360         (createDefaultRoot): New method.
9361         (getDefaultRootElement): Implemented.
9362         * javax/swing/text/View.java: Reformatted.
9363         * javax/swing/text/ViewFactory.java
9364         (create): Added javadoc.
9365
9366 2004-07-21  Michael Koch  <konqueror@gmx.de>
9367
9368         * javax/swing/ToolTipManager.java: Reformatted.
9369
9370 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
9371
9372         * javax/swing/AbstractButton.java
9373         (changeEvent): New field.
9374         (fireItemStateChanged): Change source of the event
9375         to 'this' before firing it to button listeners.
9376         (fireActionPerformed): Likewise.
9377         (fireStateChanged): Likewise.
9378         (createActionListener): Do not set source
9379         of the event to AbstractButton.
9380         * javax/swing/plaf/basic/BasicMenuBarUI.java:
9381         (ContainerHandler.componentAdded): Removed
9382         print out statement.
9383         (ContainerHandler.componentRemoved): Likewise.
9384
9385 2004-07-21  Michael Koch  <konqueror@gmx.de>
9386
9387         * javax/swing/text/Highlighter.java: New file.
9388         * Makefile.am: Added javax/swing/text/Highlighter.java.
9389         * Makefile.in: Regenerated.
9390
9391 2004-07-21  Michael Koch  <konqueror@gmx.de>
9392
9393         * javax/swing/ToolTipManager.java
9394         (stillInsideTimerAction): Fixed constructor arguments.
9395         (outsideTimerAction): Likewise.
9396         (insideTimerAction): Likewise.
9397
9398 2004-07-21  Michael Koch  <konqueror@gmx.de>
9399
9400         * javax/swing/JButton.java: Reformatted.
9401         * javax/swing/JFormattedTextField.java
9402         (getUIClassID): Implemented.
9403         * javax/swing/JRootPane.java
9404         (serialVersionUID): New constant.
9405         * javax/swing/JTextField.java
9406         (align): New field.
9407         (JTextField): Simplified.
9408         (getUIClassID): New method.
9409         (getActionListeners): Added @since tag.
9410         (setColumns): Invalidate layout and repaint.
9411         (getHorizontalAlignment): New method.
9412         (setHorizontalAlignment): New method.
9413         (selectAll): Removed.
9414         * javax/swing/SwingUtilities.java
9415         (getAncestorOfClass): Removed redundant @see tag.
9416         (isLeftMouseButton): Fixed implementation.
9417         (isMiddleMouseButton): Likewise.
9418         (isRightMouseButton): Likewise.
9419         * javax/swing/text/AbstractDocument.java
9420         (AttributeContext.addAttribute): New method.
9421         (AttributeContext.addAttributes): New method.
9422         (AttributeContext.getEmptySet): New method.
9423         (AttributeContext.reclaim): New method.
9424         (AttributeContext.removeAttribute): New method.
9425         (AttributeContext.removeAttributes): New method.
9426         * javax/swing/text/Document.java
9427         (createPosition): Throws BadLocationException.
9428         (getText): Likewise.
9429         (remove): Likewise.
9430         * javax/swing/text/JTextComponent.java
9431         (getText): Return null if no document is set. Catch
9432         BadLocationException.
9433         (getUI): Return ui.
9434         (updateUI): Simplified.
9435
9436 2004-07-21  Michael Koch  <konqueror@gmx.de>
9437
9438         * javax/swing/JButton.java
9439         (removeNotify): Fixed javadoc.
9440         (updateUI): Simplified.
9441
9442 2004-07-21  David Jee  <djee@redhat.com>
9443
9444         * gnu/java/awt/image/ImageDecoder.java
9445         (startProduction): Only add consumer if it's not added yet.
9446         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
9447         (GdkPixbufDecoder): Don't call initState() here.
9448         (produce): Call initState() here, to ensure area_prepared and
9449         area_updated signals are properly connected.
9450         * gnu/java/awt/peer/gtk/GtkImage.java
9451         (setColorModel): Use equals() to compare ColorModel objects.
9452         (setPixels): Likewise.
9453         * java/awt/image/ColorModel.java
9454         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
9455         * java/awt/image/RGBImageFilter.java
9456         (setColorModel): Set consumer's color model.
9457         (setPixels): Use equals() to compare ColorModel objects.
9458
9459 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
9460
9461         * java/net/URLConnection.java (position): New field.
9462         (dateFormat1, dateFormat2, dateFormat3): Removed.
9463         (dateFormats): New field.
9464         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
9465         each time instead of re-allocating.
9466         (initializeDateFormats): Initialize 'dateFormats'.
9467
9468 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
9469
9470         PR libgcj/16591
9471         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
9472         is defined.
9473
9474 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
9475
9476         * java/net/Socket.java (getImpl): Now private. Remove comment.
9477
9478 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
9479
9480         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
9481         of chained Writer when calling super-constructor.
9482         * java/io/FilterWriter.java (FilterWriter): Likewise.
9483         * java/io/PrintWriter.java (PrintWriter): Likewise.
9484
9485 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
9486
9487         * prims.cc (process_gcj_properties): Don't increment i within LHS
9488         of assignment.
9489
9490 2004-07-19  Per Bothner  <per@bothner.com>
9491
9492         Print -verbose:message on "loading", not initialization.
9493         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
9494         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
9495         gcj::verbose_class_flag.
9496         * java/lang/natClass.cc (initializeClass):  Don't print message here.
9497         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
9498         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
9499         (_Jv_PrepareCompiledClass):  Likewise.
9500
9501 2004-07-18  Matthias Klose  <doko@debian.org>
9502
9503         * configure.in: Substitute target_noncanonical.
9504         * configure: Regenerate
9505
9506 2004-07-17  Michael Koch  <konqueror@gmx.de>
9507
9508         * java/lang/String.java: Fixed javadocs all over.
9509
9510 2004-07-17  Mark Wielaard  <mark@klomp.org>
9511
9512         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
9513         when size is smaller.
9514         * java/io/RandomAccessFile.java (setLength): Use truncate for
9515         shrinking the file and seek plus write for expanding the file.
9516
9517 2004-07-17  Michael Koch  <konqueror@gmx.de>
9518
9519         * gnu/java/nio/channels/natFileChannelPosix.cc
9520         (implTruncate): Always save current position. Only reposition file
9521         pointer to where we started if not beyond new lenght. Reposition file
9522         pointer to file length if it points beyond the end of file.
9523
9524 2004-07-17  Mark Wielaard  <mark@klomp.org>
9525
9526         * javax/swing/Box.java: Put FIXME comment above class declaration.
9527         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
9528         * javax/swing/JCheckBox.java: Likewise.
9529         * javax/swing/JDialog.java: Likewise.
9530         * javax/swing/JRadioButton.java: Likewise.
9531         * javax/swing/JToggleButton.java: Likewise.
9532         * javax/swing/UIManager.java: Likewise.
9533         * javax/swing/border/TitledBorder.java: Likewise.
9534         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
9535         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
9536         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
9537         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
9538         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
9539         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
9540         * javax/swing/text/JTextComponent.java: Likewise.
9541
9542 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
9543
9544         * java/net/DatagramPacket.java (setAddress): Removed check for
9545         null address.
9546
9547 2004-07-17  Michael Koch  <konqueror@gmx.de>
9548
9549         * java/net/DatagramSocket.java
9550         (getLocalAddress): Check if socket is bound or not.
9551         * java/net/Socket.java
9552         (getLocalAddrss): Check if socket is bound or not.
9553         (getPort): Return -1 when not connected. Dont check getImpl() for
9554         null.
9555         (setReuseAddress): Check if socket is closed.
9556         (isConnected): Check if getImpl() returns null.
9557
9558 2004-07-17  Mark Wielaard  <mark@klomp.org>
9559
9560         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
9561         on notifier object before calling notifyAll().
9562
9563 2004-07-17  Michael Koch  <konqueror@gmx.de>
9564
9565         * gnu/java/nio/channels/FileChannelImpl.java
9566         (finalize): Added javadoc.
9567
9568 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
9569
9570         * java/text/CollationElementIterator.java
9571         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
9572         (setText): Use ArrayList instead of Vector.
9573
9574 2004-07-17  Michael Koch  <konqueror@gmx.de>
9575
9576         * java/nio/ByteOrder.java
9577         (static): Removed. Not needed.
9578         Thanks to Patrick Reali for noticing.
9579         * java/nio/charset/CharsetDecoder.java
9580         (decode): Fix for classpath bug #9177: Reset state before flipping.
9581
9582 2004-07-17  Michael Koch  <konqueror@gmx.de>
9583
9584         * java/security/Security.java: Fixed javadocs all over.
9585
9586 2004-07-17  Michael Koch  <konqueror@gmx.de>
9587
9588         * gnu/java/awt/EmbeddedWindow.java
9589         (static): Removed.
9590         (addNotify): Set peer via reflection.
9591         (setWindowPeer): Removed.
9592         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
9593         * Makefile.am (nat_source_files):
9594         Removed gnu/java/awt/natEmbeddedWindow.cc.
9595         * Makefile.in: Regenerated.
9596
9597 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
9598
9599         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
9600         assignment.
9601         * configure: Regenerated.
9602
9603 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
9604
9605         * configure.in: Use build_noncanonical rather than build_alias.
9606         * configure: Rebuild.
9607
9608         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
9609         by logic refactoring.  Move default definition of NATIVE closer
9610         to first alternate definition.
9611         * configure: Regenerate.
9612
9613         * Makefile.am: Set ZIP and GCJH directly using autoconf.
9614         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
9615         gcj/Makefile.in: Regenerate.
9616         * configure.in: Set ZIP and GCJH.  Remove redundant condition
9617         in AM_CONDITIONAL(NATIVE,...)
9618         * configure: Regenerate.
9619
9620 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
9621
9622         * configure.in: Use target_noncanonical rather than
9623         target_alias for forward-compatibility with autoconf 2.59.
9624         * configure: Regenerate.
9625         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
9626         testsuite/Makefile.am: Substitute target_noncanonical.
9627         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
9628         testsuite/Makefile.in: Regenerate.
9629
9630         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
9631         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
9632         * acinclude.m4: Include acx.m4.
9633         * aclocal.m4: Regenerate.
9634         * configure: Regenerate.
9635
9636 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
9637
9638         PR libgcj/16574
9639         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
9640         (decimalFormat): New static variable.
9641         (sbuf): Likewise.
9642         (getTime): New. Override Date.getTime().
9643         (toString): Synchronize. Use decimalFormat to format nanos value
9644         correctly. Truncate extra zeros.
9645         (before): Compare getNanos() only if getTime() is equal.
9646         (after): Likewise.
9647
9648 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
9649
9650         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
9651         * configure.in: ...here.
9652         * aclocal.m4: Regenerate.
9653         * configure: Regenerate.
9654
9655         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
9656         * configure: Rebuilt with autoconf 2.13.
9657         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
9658         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
9659
9660 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
9661
9662         PR libgcj/16204
9663         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
9664         large file support.
9665         * Makefile.in: Rebuilt.
9666         * testsuite/libjava.lang/LargeFile.java: New test case.
9667         * testsuite/libjava.lang/LargeFile.out: New file.
9668
9669 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
9670
9671         * java/beans/EventHandler.java: Remove debugging statements.
9672
9673 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
9674
9675         * java/beans/EventHandler.java: New file.
9676         * Makefile.am (awt_java_source_files): Add EventHandler.java.
9677         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
9678         testsuite/Makefile.in: Regenerate.
9679
9680 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
9681
9682         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
9683         flag to the gcj_setup.
9684         (gcj_jacks_run): Check tclsh version and launch jacks directly with
9685         the tclsh.
9686         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
9687         deprecation flag change. 58 XFAILS removed.
9688
9689 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
9690
9691         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
9692         -fno-use-divide-subroutine.
9693         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
9694         (HANDLE_FPE): Define.
9695         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
9696         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
9697         (HANDLE_DIVIDE_OVERFLOW): Define.
9698
9699 2004-07-14  Michael Koch  <konqueror@gmx.de>
9700             Matthias Klose  <doko@debian.org>
9701
9702         * java/awt/im/InputContext.java: Initialize in, line.
9703
9704 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
9705
9706         * interpret.cc (run): Correctly access libffi return values of
9707         integral smaller-than-int type; these are implicitly promoted.
9708
9709 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
9710
9711         PR libgcj/7587
9712         * interpret.cc (compile_mutex): New.
9713         (_Jv_InitInterpreter): New. Initialize compile_mutex.
9714         (run): Lock compile_mutex before calling compile() if compilation is
9715         required.
9716         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
9717         * include/java-interp.h (_Jv_InitInterpreter): Declare.
9718
9719 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
9720
9721         PR libgcj/15713
9722         * include/jvm.h (_Jv_value): New union type.
9723         * gcj/field.h (_Jv_Field): Add new _addr union field variants
9724         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
9725         union members.
9726
9727 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
9728
9729         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
9730         * gnu/awt/xlib/XOffScreenImage.java
9731           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
9732           constructor argument. Add constructor using ImageProducer.
9733           (getSource): Implement.
9734           (imageComplete): New method.
9735           (setColorModel): New method.
9736           (setDimensions): New method.
9737           (setHints): New method.
9738           (setPixels): New method.
9739           (setProperties): New method.
9740         * gnu/gcj/xlib/GC.java (drawPoint): New native method.
9741         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
9742
9743 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
9744
9745         PR libgcj/16478
9746         * prims.cc (_Jv_CreateJavaVM): Fix comment.
9747         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
9748         (finalizerReady): Now native.
9749         (run): Likewise.
9750         (runFinalizers): Removed.
9751         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
9752         a primitive lock, and don't hold it while running the finalizers.
9753         (runFinalizers): Implement. Don't aquire any Java lock.
9754         (finalizerReady): Use lock primitives to signal finalizer thread.
9755
9756 2004-07-11  Mark Wielaard  <mark@klomp.org>
9757
9758         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
9759         * java/net/URLStreamHandler.java (parseURL): When url file part
9760         doesn't contain a '/' just ignore context.
9761
9762 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
9763
9764         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
9765         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
9766         (MAKE_THROW_FRAME): Do not modify PSW address.
9767         (INIT_SEGV): Install SIGINFO-style signal handler.
9768         (INIT_FPE): Likewise.
9769
9770 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
9771
9772         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
9773         status. 21 xfail's removed, 1 added.
9774
9775 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
9776
9777         * gcj/javaprims.h: Regenerate CNI namespace definitions.
9778
9779 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
9780
9781         * java/text/MessageFormat.java
9782         (formatInternal): Append "{n}" if argument n is unavailable.
9783         (format(Object, StringBuffer, FieldPosition)): This
9784         should be equivalent to format(Object[],
9785         StringBuffer, FieldPosition).
9786
9787 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
9788
9789         * java.util.Calendar.java (cache): New private static field. Cached
9790         mappings of locales->calendar classes.
9791         (ctorArgTypes): New private static field. Singleton argument for
9792         calendar class constructor lookup.
9793         (getInstance): Cache Locale->Calendar class mappings using HashMap.
9794         Optimize by bypassing reflection instantiation for the
9795         GregorianCalendar case.
9796
9797 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
9798
9799         * java/util/Calendar.java: Use getSystemClassLoader as argument for
9800         ResourceBundle.getBundle() calls.
9801         * java/util/GregorianCalendar.java: Likewise.
9802         * java/util/Currency.java: Likewise.
9803         * java/text/BreakIterator.java: Likewise.
9804         * java/text/Collator.java: Likewise.
9805         * java/text/DateFormat.java: Likewise.
9806         * java/text/DateFormatSymbols.java: Likewise.
9807         * java/text/DecimalFormatSymbols.java: Likewise.
9808         * java/text/NumberFormat.java: Likewise.
9809         * java/awt/Window.java: Likewise.
9810
9811 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
9812
9813         * java/util/ResourceBundle.java (bundleCache): Renamed from
9814         resourceBundleCache. Update comments.
9815         (getObject): Don't catch MissingResourceException.
9816         (getBundle(String)): Remove 'final'. Use system classloader if
9817         getCallingClassLoader returned null.
9818         (getBundle(String, Locale)): Likewise.
9819         (BundleKey): New private class. HashMap key for bundle cache lookup.
9820         (lookupKey): New. Singleton instance of BundleKey.
9821         (nullEntry): New. Cache entry to represent failed lookups.
9822         (getBundle(String, Locale, ClassLoader)): Re-written to use new
9823         caching strategy, no-allocation lookup, and new tryBundle methods.
9824         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
9825         name using given classloader.
9826         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
9827         baseName for given Locale and attempt to load bundle.
9828
9829 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
9830
9831         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
9832         illegal protected method calls.
9833
9834 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
9835
9836         Fix or remove some bogus test cases.
9837         * testsuite/libjava.compile/pr10459_2.java: Removed.
9838         * testsuite/libjava.compile/pr10459.java: Test using its own method,
9839         not Object.clone().
9840         * testsuite/libjava.compile/inner_data.java: Test against its own
9841         protected field.
9842
9843 2004-07-09  Michael Koch  <konqueror@gmx.de>
9844
9845         * scripts/unicode-muncher.pl: Updated to version 2.1
9846         from GNU classpath. Added some clarifications on where to find the
9847         needed files from www.unicode.org.
9848         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
9849         gnu/gcj/convert/UnicodeData-3.0.0.txt:
9850         Removed, these can directly be downloaded from www.unicode.org if
9851         needed.
9852         * gnu/java/lang/CharData.java: Regenerated.
9853         * include/java-chartables.h: Regenerated.
9854         * Makefile.am (ordinary_java_source_files):
9855         Removed gnu/java/lang/CharData.java.
9856         * Makefile.in: Regenerated.
9857
9858 2004-07-09  Michael Koch  <konqueror@gmx.de>
9859
9860         * java/security/AccessControlContext.java,
9861         java/security/SecureClassLoader.java:
9862         Fixed javadocs.
9863
9864 2004-07-09  Michael Koch  <konqueror@gmx.de>
9865
9866         * java/io/ObjectInputStream.java (readFields): Use long datatype
9867         when shifting byte values more then 24 bits left.
9868
9869 2004-07-09  Michael Koch  <konqueror@gmx.de>
9870
9871         * java/util/zip/DeflaterOutputStream.java,
9872         java/util/zip/GZIPInputStream.java,
9873         java/util/zip/GZIPOutputStream.java,
9874         java/util/zip/InflaterInputStream.java:
9875         Reformatted. Added javadocs. Reordered all stuff.
9876         Renamed variables to be more clear.
9877
9878 2004-07-09  Michael Koch  <konqueror@gmx.de>
9879
9880         * javax/imageio/IIOException.java,
9881         javax/imageio/event/IIOReadProgressListener.java,
9882         javax/imageio/event/IIOReadUpdateListener.java,
9883         javax/imageio/event/IIOReadWarningListener.java,
9884         javax/imageio/event/IIOWriteProgressListener.java,
9885         javax/imageio/event/IIOWriteWarningListener.java:
9886         New files.
9887         * Makefile.am: Added new files.
9888         * Makefile.in: Regenerated.
9889
9890 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
9891
9892         * java/text/RuleBasedCollator.java
9893         (mergeRules): Use ArrayList instead of Vector.
9894         (subParseString): likewise.
9895         (parseString): likewise.
9896         (buildCollationVector): likewise.
9897         (getCollationKey): likewise.
9898
9899 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
9900
9901         * java/text/DateFormat.java (parse):
9902         Improved javadoc. Improved exception message.
9903
9904 2004-07-09  Mark Wielaard  <mark@klomp.org>
9905
9906         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
9907         interrupted() method to clear interupt flag of our Thread.
9908
9909 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
9910
9911         * java/nio/Buffer.java,
9912         java/nio/ByteBuffer.java,
9913         java/nio/ByteBufferHelper.java,
9914         java/nio/ByteBufferImpl.java,
9915         java/nio/CharBuffer.java,
9916         java/nio/CharBufferImpl.java,
9917         java/nio/CharViewBufferImpl.java,
9918         java/nio/DirectByteBufferImpl.java,
9919         java/nio/DoubleBuffer.java,
9920         java/nio/DoubleBufferImpl.java,
9921         java/nio/DoubleViewBufferImpl.java,
9922         java/nio/FloatBuffer.java,
9923         java/nio/FloatBufferImpl.java,
9924         java/nio/FloatViewBufferImpl.java,
9925         java/nio/IntBuffer.java,
9926         java/nio/IntBufferImpl.java,
9927         java/nio/IntViewBufferImpl.java,
9928         java/nio/LongBuffer.java,
9929         java/nio/LongBufferImpl.java,
9930         java/nio/LongViewBufferImpl.java,
9931         java/nio/MappedByteBufferImpl.java,
9932         java/nio/ShortBuffer.java,
9933         java/nio/ShortBufferImpl.java,
9934         java/nio/ShortViewBufferImpl.java:
9935         Fixed javadocs all over. Improved input error
9936         checking.
9937
9938         * java/nio/Buffer.java
9939         (checkForUnderflow, checkForOverflow, checkIndex,
9940         checkIfReadOnly, checkArraySize): New helper methods
9941         for error checking.
9942
9943         * java/nio/ByteBufferHelper.java
9944         (checkRemainingForRead, checkRemainingForWrite,
9945         checkAvailableForRead, checkAvailableForWrite): Removed
9946         no longer needed methods.
9947
9948 2004-07-09  Michael Koch  <konqueror@gmx.de>
9949
9950         * gnu/regexp/CharIndexedInputStream.java:
9951         Reordered imports to match classpath.
9952
9953 2004-07-09  Michael Koch  <konqueror@gmx.de>
9954
9955         * gnu/java/awt/EmbeddedWindow.java:
9956         Load native library for setWindowPeer method.
9957
9958 2004-07-08  Randolph Chung  <tausq@debian.org>
9959
9960         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
9961         * configure: Regenerate.
9962         * configure.host: Set can_unwind_signal for hppa*-linux.
9963         * include/pa-signal.h: New file.
9964
9965 2004-07-07  Per Bothner  <per@bothner.com>
9966
9967         * Makefile.am:  Add rules to build libgij from just gij.cc.
9968
9969         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
9970         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
9971         (initializeClass):  If verbose_class_flag, print message.
9972         * gij.cc (main):  Handle -verbose:class flag.
9973
9974 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
9975
9976         * configure.host: Enable hash synchronization on Darwin.
9977         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
9978         ';', since this is a comment on Darwin.
9979         (compare_and_swap_release): Likewise.
9980
9981 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
9982
9983         * java/net/URLStreamHandler.java (parseURL): Canonicalize
9984         file portion of URL in addition to spec for file: protocol.
9985
9986 2004-07-05  Anthony Green  <green@redhat.com>
9987
9988         * java/io/File.java (toURI): Merge from Classpath.
9989
9990 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
9991
9992         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
9993         before passing to URL constructor. Rethrow any MalformedURLException
9994         as a RuntimeException. Catch MalformedURLException specifically, not
9995         all exceptions.
9996
9997 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
9998
9999         * java/util/Locale.java (readObject): Intern strings read from object
10000         stream.
10001
10002 2004-07-04  Michael Koch  <konqueror@gmx.de>
10003
10004         * gnu/gcj/runtime/FirstThread.java,
10005         gnu/gcj/runtime/natFirstThread.cc: Removed.
10006         * gnu/java/lang/MainThread.java,
10007         gnu/java/lang/natMainThread.cc: New files.
10008         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
10009         * Makefile.am: Added new files and removed deleted ones.
10010         * Makefile.in: Regenerated.
10011
10012 2004-07-03  Mark Wielaard  <mark@klomp.org>
10013             Anthony Green  <green@redhat.com>
10014
10015         * java/net/URL.java (getFile): Clarify return value doc.
10016         (getPath): Return null if file is empty - not empty String.
10017         (set): Convert protocol to lower case before doing anything.
10018         Only change the protocol handler if it's different.
10019
10020 2004-07-03  Anthony Green  <green@redhat.com>
10021
10022         * java/net/URL.java (URL): Convert protocol to lower case before
10023         doing anything, so we getURLStreamHandler() with the proper value.
10024
10025 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
10026
10027         * java/util/Locale.java (hashcode): Made transient.
10028         (hashCode): No longer synchronized.
10029         (equals): Remove comment.
10030         (writeObject): No longer synchronized. Implement using writeObject
10031         calls instead of tweaking hashCode field. Update doc.
10032         (readObject): Implement using readObject calls.
10033
10034 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
10035             Andreas Tobler  <a.tobler@schweiz.ch>
10036
10037         * configure.host (powerpc-*-darwin*): New case, define
10038         can_unwind_signal.
10039         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
10040         * configure: Regenerate.
10041         * include/darwin-signal.h: New.
10042
10043 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
10044
10045         * java/beans/Statement.java (doExecute): Fix formatting.
10046
10047 2004-06-29  Per Bothner  <per@bothner.com>
10048
10049         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
10050         etc etc):  Remove needless parenthesis, which causes __stdcall__
10051         attribute on MinGW to get ignored.
10052
10053 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
10054
10055         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
10056
10057 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
10058
10059         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
10060
10061 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
10062
10063         * java/beans/Expression.java: New file.
10064         * java/beans/Statement.java: New file.
10065         * Makefile.am: Added new files.
10066         * Makefile.in: Re-generate.
10067
10068 2004-06-27 Mark Wielaard  <mark@klomp.org>
10069
10070         * java/io/FilePermission.java (usingPerms): Removed.
10071         (actionsString): Made final.
10072         (cachePerms): Renamed to checkPerms.
10073         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
10074         on action String.
10075         (FilePermission): Check arguments, call checkPerms().
10076         (equals): Remove cachePerms() call.
10077         (implies): Likewise.
10078
10079 2004-06-27  Mark Wielaard  <mark@klomp.org>
10080
10081         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
10082         final field.
10083         (sendRequest): Use new field in user-agent http agent.
10084
10085 2004-06-27  Mark Wielaard  <mark@klomp.org>
10086
10087         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
10088         when argument is null.
10089
10090 2004-06-26  Mark Wielaard  <mark@klomp.org>
10091
10092         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
10093         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
10094         GetMethodID call.
10095         (cancel_clicked): Likewise.
10096
10097 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
10098
10099         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
10100         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
10101         can not calculate the right value.
10102         (dpi_changed_cb): Likewise. Mark *pspec as unused.
10103
10104 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
10105
10106         * testsuite/libjava.jacks/jacks.xfail: Remove
10107         15.9.1-qualified-concrete-20.
10108
10109 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
10110
10111         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
10112         encoding name to iconv.
10113         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
10114
10115 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
10116
10117         PR libgcj/16134:
10118         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
10119         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
10120         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
10121
10122 2004-06-21  Andrew Haley  <aph@redhat.com>
10123
10124         * java/io/ObjectOutputStream.java: Add DEBUG statements
10125         everywhere.
10126         (dumpElementln): New method.
10127         (depth): New field.
10128         * java/io/ObjectInputStream.java
10129         (currentClassLoader): Make native.
10130         (callersClassLoader): New field.
10131         (depth): New field.
10132         (readObject): ENDBLOCKDATA is generated if the class has a write
10133         method, not if it has a read method.
10134         (readObject): Save and restore this.currentObject and
10135         this.currentObjectStreamClass around calls to callReadMethod().
10136         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
10137         method.
10138
10139 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
10140
10141         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
10142         darwin.
10143
10144 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
10145
10146         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
10147         if desired, before the default class loader is initialised.
10148         Call INIT_SEGV only if HANDLE_SEGV is defined.
10149
10150 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
10151
10152         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
10153         directory only if it actually exists.
10154
10155 2004-06-18  Graydon Hoare  <graydon@redhat.com>
10156
10157         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
10158         Fix up non-ansi comments.
10159
10160 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
10161
10162         * javax/swing/text/AbstractDocument.java: Adding missing import
10163         for javax.swing.event.EventListenerList.
10164         * javax/swing/text/DefaultCaret.java: Likewise.
10165
10166 2004-06-17  Michael Koch  <konqueror@gmx.de>
10167
10168         * javax/swing/JToolBar.java
10169         (name): Removed.
10170         (JToolBar): Use Component.setName(String) instead of doing it all
10171         alone.
10172         * javax/swing/Timer.java
10173         (queueEvent): Added missing modifier.
10174
10175 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
10176
10177         * Makefile.am: Added new file.
10178         * Makefile.in: Re-generate.
10179         * javax/swing/JMenu.java:
10180         (insertSeparator): Implemented.
10181         * javax/swing/JPopupMenu.java:
10182         (JPopupMenu.Separator): Implemented.
10183         * javax/swing/MenuSelectionManager.java:
10184         (processMouseEvent): Use java.awt.Component
10185         for event source instead of javax.swing.JComponent.
10186         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
10187         New File. Implemented.
10188
10189 2004-06-16  David Jee  <djee@redhat.com>
10190
10191         * java/awt/GridBagLayout.java
10192         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
10193         Make sure pos_x and pos_y are never negative.
10194
10195 2004-04-16  Andrew Overholt  <overholt@redhat.com>
10196
10197         * Makefile.am: Add new file.
10198         * Makefile.in: Re-generate.
10199         * javax/swing/JToolBar.java
10200         Partially implemented.
10201         * javax/swing/plaf/basic/BasicToolBarUI.java
10202         New file. Partially implemented.
10203
10204 2004-06-16  Graydon Hoare  <graydon@redhat.com>
10205
10206         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10207         (setComposite): Accept AlphaComposite arguments.
10208         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
10209         (createBufferedImage): Add new overloads.
10210         * gnu/java/awt/peer/gtk/GtkToolkit.java
10211         (createImage): Use GdkPixbufDecoder.createBufferedImage
10212         when useGraphics2D() is true.
10213         (getImage): Delegate to createImage.
10214         * javax/swing/JList.java
10215         (isSelectionEmpty):
10216         (getFirstVisibleIndex):
10217         (getLastVisibleIndex):
10218         (setSelectedValue):
10219         (ensureIndexIsVisible): New methods.
10220         * javax/swing/Timer.java: Reimplement.
10221
10222 2004-06-16  Michael Koch  <konqueror@gmx.de>
10223
10224         * javax/swing/text/AbstractDocument.java
10225         (AbstracElement): Made public, implements java.io.Serializable.
10226         (AttributeContext): Made public.
10227         (BranchElement): Likewise.
10228         (Content): Likewise.
10229         (DefaultDocumentEvent): Made public, extends
10230         javax.swing.undo.CompoundEdit.
10231         (ElementEdit): Made public, extends
10232         javax.swing.undo.AbstractUndoableEdit.
10233         (LeafElement): Made public.
10234         (LeafElement.LeafElement): Made public.
10235
10236 2004-06-16  Michael Koch  <konqueror@gmx.de>
10237
10238         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
10239         methods (that were obviously never be intended to get included hi this
10240         class. Added some methods too.
10241
10242 2004-06-16  Michael Koch  <konqueror@gmx.de>
10243
10244         * javax/swing/text/PlainDocument.java
10245         (serialVersionUID): New constant.
10246         (lineLimitAttribute): Likewise.
10247         (tabSizeAttribute): Likewise.
10248         (tabSize): New field.
10249         (PlainDocument): Made public.
10250         (PlainDocument): New constructor.
10251
10252 2004-06-16  Michael Koch  <konqueror@gmx.de>
10253
10254         * javax/swing/text/AbstractDocument.java
10255         (insertString): Throws BadLocationException.
10256         * javax/swing/text/Document.java
10257         (insertString): Likewise.
10258         * javax/swing/text/JTextComponent.java:
10259         Javadocs and comments cleaned up.
10260
10261 2004-06-16  Michael Koch  <konqueror@gmx.de>
10262
10263         * javax/swing/event/UndoableEditListener.java: Reformatted.
10264         * javax/swing/text/AbstractDocument.java
10265         (AbstractDocument): Implements java.io.Serializable.
10266         (doc_list): Removed.
10267         (undo_list): Removed.
10268         (AbstractElement.serialVerionUID): New field.
10269         (BranchElement.serialVerionUID): Likewise.
10270         (DefaultDocumentEvent.serialVerionUID): Likewise.
10271         (ElementEdit.serialVerionUID): Likewise.
10272         (LeafElement.serialVerionUID): Likewise.
10273         (serialVerionUID): Likewise.
10274         (BAD_LOCATION): New constant.
10275         (BidiElementName): Likewise.
10276         (ContentElementName): Likewise.
10277         (ParagraphElementName): Likewise.
10278         (SectionElementName): Likewise.
10279         (ElementNameAttribute): Likewise.
10280         (AbstractDocument): Made protected.
10281         (AbstractDocument): New construtor.
10282         (listenerList): New field.
10283         (fireChangedUpdate): Implemented.
10284         (fireInsertUpdate): Likewise.
10285         (fireRemoveUpdate): Likewise.
10286         (fireUndoableEditUpdate): Likewise.
10287         (getListeners): Likewise.
10288         (addDocumentListener): Likewise.
10289         (removeDocumentListener): Likewise.
10290         (addUndoableEditListener): Likewise.
10291         (removeUndoableEditListener): Likewise.
10292         (getDocumentListeners): New method.
10293         (getUndoableEditListeners): Likewise.
10294         (getAsynchronousLoadPriority): Made public.
10295         (getBidiRootElement): Likewise.
10296         (setAsynchronousLoadPriority): Likewise.
10297         (setDocumentProperties): Likewise.
10298         * javax/swing/text/BadLocationException.java
10299         (serialVerionUID): New field.
10300         * javax/swing/text/DefaultCaret.java
10301         (changeEvent): New field.
10302         (listenerList): Likewise.
10303         (changes): Removed.
10304         (addChangeListener): Reimplemented.
10305         (removeChangeListener): Likewise.
10306         (getListeners): New method.
10307         (getChangeListeners): Likwise.
10308         (getComponent): Likewise.
10309         * javax/swing/text/GapContent.java
10310         (GapContent): Implements java.io.Serializable.
10311         (serialVerionUID): New field.
10312
10313 2004-06-16  Michael Koch  <konqueror@gmx.de>
10314
10315         * javax/swing/JTree.java
10316         (treeModel): New field.
10317         (JTree): New constructors, one existing one made public.
10318         (createTreeModel): New method.
10319         (addTreeExpansionListener): Likewise.
10320         (removeTreeExpansionListener): Likewise.
10321         (getTreeExpansionListeners): Likewise.
10322         (fireTreeCollapsed): Likewise.
10323         (fireTreeExpanded): Likewise.
10324         (addTreeSelectionListener): Likewise.
10325         (removeTreeSelectionListener): Likewise.
10326         (getTreeSelectionListeners): Likewise.
10327         (fireValueChanged): Likewise.
10328         (addTreeWillExpandListener): Likewise.
10329         (removeTreeWillExpandListener): Likewise.
10330         (getTreeWillExpandListeners): Likewise.
10331         (fireTreeWillCollapse): Likewise.
10332         (fireTreeWillExpand): Likewise.
10333
10334 2004-06-16  Michael Koch  <konqueror@gmx.de>
10335
10336         * javax/swing/JTree.java: Reformatted.
10337
10338 2004-06-16  Michael Koch  <konqueror@gmx.de>
10339
10340         * javax/swing/JTextArea.java: New file.
10341         * javax/swing/JTextField.java
10342         (actions): Removed.
10343         (notifyAction): New constant.
10344         (columns): New field.
10345         (JTextField): New constructors.
10346         (createDefaultModel): New method.
10347         (addActionListener): Reimplmemented.
10348         (removeActionListener): Reimplemented.
10349         (getActionListeners): New method.
10350         (fireActionPerformed): New method.
10351         (getColumns): New method.
10352         (setColumne): New method.
10353         * javax/swing/text/JTextComponent.java
10354         (AccessibleJTextComponent.serialVersionUID): New field.
10355         (serialVersionUID): Likewise.
10356         (DEFAULT_KEYMAP): Likewise.
10357         (FOCUS_ACCELERATOR_KEY): Likewise.
10358         (doc): Made private.
10359         (icon_gap): Likewise.
10360         (icon): Likewise.
10361         (align): Likewise.
10362         (JTextComponent): Some constructors removed.
10363         (getScrollableTracksViewportHeight): New method.
10364         (getScrollableTracksViewportWidth): Likewise.
10365         * Makefile.am: Added javax/swing/JTextArea.java.
10366         * Makefile.in: Regenerated.
10367
10368 2004-06-15  Graydon Hoare  <graydon@redhat.com>
10369
10370         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
10371         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
10372         * javax/swing/JViewport.java
10373         (getExtentSize): Return size rather than preferred size.
10374         (toViewCoordinates): New methods.
10375         (getViewSize): Return size rather than preferred size.
10376         (setViewSize): Note view size as set.
10377         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
10378         * javax/swing/plaf/basic/BasicScrollBarUI.java
10379         (getPreferredSize): Don't redo layout.
10380         * javax/swing/plaf/basic/BasicViewportUI.java
10381         (paint): Translate image properly and eat exceptions.
10382
10383 2004-06-15  Kim Ho  <kho@redhat.com>
10384
10385         * javax/swing/JTabbedPane.java
10386         (setComponent): Remove old component and
10387         add new component.
10388         (setSelectedIndex): Don't operate on the
10389         components if they're null. Don't set index
10390         on the model if the index is the same.
10391         (insertTab): Don't add or hide the component
10392         if it's null. Repaint the container.
10393         * javax/swing/plaf/basic/BasicLookAndFeel.java
10394         Change colors for TabbedPane.
10395         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
10396         (mousePressed): Re-layout and paint the component.
10397         (layoutContainer): Don't set location on the view.
10398         (ScrollingViewport::paint): Remove.
10399
10400 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
10401
10402         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10403         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
10404
10405         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10406         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
10407         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
10408         critical region.
10409         (drawLine): Call gdk_flush before leaving GDK critical region.
10410         (fillRect): Likewise.
10411         (drawRect): Likewise.
10412         (copyArea): Likewise.
10413         (copyPixmap): Likewise.
10414         (clearRect): Likewise.
10415         (drawArc): Likewise.
10416         (drawPolyline): Likewise.
10417         (drawPolygon): Likewise.
10418         (fillPolygon): Likewise.
10419         (fillArc): Likewise.
10420         (drawOval): Likewise.
10421         (fillOval): Likewise.
10422
10423         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
10424         style parameter.
10425         (GdkFontMetrics): Add style argument to initState call.
10426         (stringWidth(String,int,int,String)): Add style parameter.
10427         (stringWidth(String)): Add style argument to stringWidth call.
10428         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
10429         (initState): Set pango font style and weight based on AWT style
10430         parameter.  Pass default GTK language to
10431         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
10432         simply dividing by PANGO_SCALE.
10433         (stringWidth): Set pango font style and weight based on AWT style
10434         parameter.
10435
10436         * java/awt/Button.java (next_button_number): New field.
10437         (paramString): Change output.
10438         (generateName): New method.
10439         (getUniqueLong): New method.
10440
10441 2004-06-14  Kim Ho  <kho@redhat.com>
10442
10443         * javax/swing/JTabbedPane.java:
10444         (setComponentAt): Set the component, not
10445         the enabled status.
10446         * javax/swing/plaf/basic/BasicDesktopIconUI.java
10447         (actionPerformed): Let deiconize catch exception.
10448
10449 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
10450
10451         * javax/swing/JPopupMenu.java:
10452         (setVisible): Corrected location of a
10453         heavyweight popup menu.
10454
10455 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
10456
10457         * javax/swing/MenuSelectionManager.java:
10458         Ran through jalopy to fix formatting style.
10459
10460 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
10461
10462         * javax/swing/JLayeredPane.java:
10463         (remove): Revalidate and repaint layered pane after
10464         the component was removed.
10465         javax/swing/JMenu.java:
10466         (setVisible): Display popup menu at the user location,
10467         if one was set by the user.
10468         (setMenuLocation): Reimplemented. Fixed javadoc.
10469         * javax/swing/JMenuBar.java: Added javadoc.
10470         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
10471         (MODEL_CHANGED_PROPERTY): New Property.
10472         (isSelected): Implemented.
10473         (setBorderPainted): Fire PropertyChangeEvent
10474         if paintBorder property changes.
10475         (setSelected): Implemented.
10476         (setSelectionModel): Implemented.
10477         * javax/swing/JPopupMenu.java: Added Javadoc
10478         (pack): Implemented.
10479         (setVisible): Reimplemented.
10480         (show): Fixed location.
10481         (JPopupMenu.LigthWeightPopup): Reimplemented to use
10482         Container instead of JPanel.
10483         * javax/swing/MenuSelectionManager.java: Added Javadocs.
10484         (clearSelectedPath): Reimplemented to clear selectedPath
10485         in reverse order.
10486         (processMouseEvent): Reimplemented.
10487         (setSelectedPath): Fire stateChange event indicating that
10488         selected menu path has changed.
10489         (getPath): Change to use ArrayList instead of Vector.
10490         * javax/swing/plaf/basic/BasicMenuBarUI.java:
10491         (installUI): call installKeyboardActions().
10492         (uninstallUI): call uninstallKeyboardActions().
10493
10494 2004-06-13  Michael Koch  <konqueror@gmx.de>
10495
10496         * javax/swing/text/DefaultCaret.java,
10497         javax/swing/text/BadLocationException.java:
10498         Reformatted.
10499
10500 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
10501
10502         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
10503         DEFAULT_COLS): New variables.
10504         (create): Don't allow 0 rows or 0 columns.  Instead, set the
10505         values to DEFAULT_ROWS or DEFAULT_COLS.
10506         (getMinimumSize): Likewise.
10507         (getPreferredSize): Likewise.
10508         (minimumSize): Likewise.
10509         (preferredSize): Likewise.
10510         (create): Set peer's editable state.
10511         * java/awt/TextArea.java (TextArea()): Set rows and columns to
10512         zero.  Update javadocs.
10513         (TextArea(String)): Likewise.
10514         (TextArea(int,int)): Fix javadocs.
10515         (TextArea(String,int,int,int)): Only throw exception if one of
10516         rows or columns is zero.  Fix javadocs.
10517
10518 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
10519
10520         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
10521         addition to Components.
10522
10523         * java/awt/MenuItem.java (dispatchEventImpl): If the event
10524         wasn't consumed by normal processing, send it to the parent
10525         menu.
10526
10527         * gnu/java/awt/peer/gtk/GtkImagePainter.java
10528         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
10529         translation.
10530
10531 2004-06-11  David Jee  <djee@redhat.com>
10532
10533         * java/awt/MediaTracker.java
10534         (addImage(Image,int)): Call imageUpdate() to udpate image status.
10535         (addImage(Image,int,int,int)): Likewise.
10536
10537 2004-06-11  Michael Koch  <konqueror@gmx.de>
10538
10539         * javax/swing/text/AbstractDocument.java,
10540         javax/swing/text/Document.java,
10541         javax/swing/text/GapContent.java,
10542         javax/swing/text/JTextComponent.java,
10543         javax/swing/text/PlainDocument.java:
10544         Reformatted.
10545
10546 2004-06-11  Michael Koch  <konqueror@gmx.de>
10547
10548         * javax/swing/JRootPane.java
10549         (AccessibleJRootPane.serialVersionUID): New field.
10550         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
10551         (AccessibleJRootPane.getAccessibleRole): New method.
10552         (RootLayout): Implements Serializable.
10553         (RootLayout.serialVersionUID): New field.
10554         (RootLayout.RootLayout): New constructor.
10555         (setJMenuBar): Made public.
10556         (getJMenuBar): Likewise.
10557         (JRootPane): Likewise.
10558         (createContentPane): Likewise.
10559         (createGlassPane): Likewise.
10560         (createLayeredPane): Likewise.
10561
10562 2004-06-11  Michael Koch  <konqueror@gmx.de>
10563
10564         * javax/swing/SwingUtilities.java
10565         (isLeftMouseButton): Fixed javadoc.
10566         (isMiddleMouseButton): Likewise.
10567         (isRightMouseButton): Likewise.
10568
10569 2004-06-11  Michael Koch  <konqueror@gmx.de>
10570
10571         * javax/swing/JScrollPane.java
10572         (serialVersionUID): New field.
10573         (columnHeader): Made protected.
10574         (rowHeader): Likewise.
10575         (lowerLeft): Likewise.
10576         (lowerRight): Likewise.
10577         (upperLeft): Likewise.
10578         (upperRight): Likewise.
10579         (horizontalScrollBar): Likewise.
10580         (horizontalScrollBarPolicy): Likewise.
10581         (verticalScrollBar): Likewise.
10582         (verticalScrollBarPolicy): Likewise.
10583         (viewport): Likewise.
10584
10585 2004-06-11  Michael Koch  <konqueror@gmx.de>
10586
10587         * javax/swing/LookAndFeel.java: Fixed javadocs.
10588
10589 2004-06-11  Michael Koch  <konqueror@gmx.de>
10590
10591         * javax/swing/JEditorPane.java: Fixed javadocs.
10592         (JEditorPane): Removed redundant call to to this().
10593         (fireHyperlinkUpdate): Implemented.
10594
10595 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
10596
10597         * javax/swing/JMenu.java: Fixed file name
10598         in the file comment.
10599
10600 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
10601
10602         * javax/swing/JMenu.java: Added javadoc.
10603         (JMenu): Added MenuChangeListener to listen to
10604         ChangeEvents occuring in menu's model.
10605         (insert): Throw IllegalArgumentException if
10606         index is less than 0
10607         (setSelected): Reimplement.
10608         (setPopupMenuVisible): Call menu's model isEnabled()
10609         (setDelay): Throw IllegalArgumentException if
10610         given amount of delay is less than 0.
10611         (createActionComponent): Implemented.
10612         (createActionChangeListener): Implemented.
10613         (addSeparator): Implemented.
10614         (getItem): Throw IllegalArgumentException if index is
10615         less than 0.
10616         (getItemCount): Implemented.
10617         (fireMenuSelected): Changed to use menuEvent.
10618         (fireMenuDeselected): Likewise.
10619         (fireMenuCanceled): Likewise.
10620         (setAccelerator): Changed to throw an error if this
10621         method is used.
10622         (doClick): Implemented.
10623         (JMenu.ActionChangedListener): New inner class to handle
10624         PropertyChangeEvents occuring in the actions associated with menu.
10625         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
10626         (BasicMenuUI): Added PropertyChangeListener to the menu.
10627         (createChangeListener): Implemented.
10628         (createMenuDragMouseListener): Likewise.
10629         (createMenuKeyListener): Likewise.
10630         (createPropertyChangeListener): Likewise.
10631         (uninstallListeners): Likewise.
10632         (BasicMenuUI.MouseInputHandler): Reimplemented.
10633         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
10634         (BasicMenuUI.ChangeHandler): Likewise.
10635         (BasicMenuUI.MenuDragMouseHandler): Likewise.
10636         (BasicMenuUI.MenuKeyHandler): Likewise.
10637
10638 2004-06-10  David Jee  <djee@redhat.com>
10639
10640         * java/awt/MediaTracker.java
10641         (imageUpdate): Only do notifyAll() if the image is complete.
10642
10643 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
10644
10645         * javax/swing/JApplet.java:
10646         (getJMenuBar): Made public.
10647         (setJMenuBar): Likewise.
10648         * javax/swing/JFrame.java:
10649         (getJMenuBar): Made public.
10650         (setJMenuBar): Likewise.
10651         * javax/swing/JWindow.java:
10652         (getJMenuBar): Removed.
10653         (setJMenuBar): Removed.
10654
10655 2004-06-10  Michael Koch  <konqueror@gmx.de>
10656
10657         * javax/swing/JEditorPane.java
10658         (createEditorKitForContentType): Fixed visibility.
10659         (fireHyperlinkUpdate): Likewise.
10660         (getContentType): Likewise.
10661         (getEditorKit): Likewise.
10662         (getEditorKitForContentType): Likewise.
10663         (getPage): Likewise.
10664         (read): Likewise.
10665         (registerEditorKitForContentTyoe): Likewise.
10666         (replaceSelection): Likewise.
10667         (setContentType): Likewise.
10668         (setEditorKit): Likewise.
10669         (setPage): Likewise.
10670
10671 2004-06-10  Michael Koch  <konqueror@gmx.de>
10672
10673         * javax/swing/Timer.java
10674         (Timer): New constructor.
10675         * javax/swing/plaf/basic/BasicProgressBarUI.java
10676         (animationTimer): Don't initialize at construction.
10677         (startAnimationTimer): Added since tag.
10678         (stopAnimationTimer): Likewise.
10679         (installUI): Use new Timer constructor.
10680         * javax/swing/plaf/basic/BasicScrollBarUI.java
10681         (installUI): Likewise.
10682         * javax/swing/plaf/basic/BasicSliderUI.java
10683         (installUI): Likewise.
10684
10685 2004-06-10  Michael Koch  <konqueror@gmx.de>
10686
10687         * javax/swing/ButtonGroup.java
10688         (serialVersionUID): Made private.
10689         (buttons): Renamed from v, added javadoc.
10690         (sel): Added javadoc.
10691         (ButtonGroup): Likewise.
10692         (add): Likewise.
10693         (remove): Likewise.
10694         (getElements): Likewise.
10695         (getSelection): Likewise.
10696         (setSelected): Likewise.
10697         (isSelected): Likewise.
10698         (getButtonCount): Likewise.
10699
10700 2004-06-10  Michael Koch  <konqueror@gmx.de>
10701
10702         * javax/swing/ButtonGroup.java,
10703         javax/swing/ImageIcon.java,
10704         javax/swing/JEditorPane.java,
10705         javax/swing/JRootPane.java,
10706         javax/swing/JTextField.java,
10707         javax/swing/LookAndFeel.java,
10708         javax/swing/plaf/basic/BasicTextUI.java:
10709         Reindented.
10710
10711 2004-06-10  Michael Koch  <konqueror@gmx.de>
10712
10713         * javax/swing/text/Style.java: Added javadocs.
10714
10715 2004-06-10  Michael Koch  <konqueror@gmx.de>
10716
10717         * javax/swing/JComponent.java
10718         (fireVetoableChange): Removed redundant cast.
10719         * javax/swing/JLabel.java
10720         (getDisabledIcon): Save icon for next call.
10721
10722 2004-06-10  Michael Koch  <konqueror@gmx.de>
10723
10724         * javax/swing/KeyStroke.java
10725         (getKeyStroke(char,boolean)): Marked deprecated.
10726
10727 2004-06-10  Michael Koch  <konqueror@gmx.de>
10728
10729         * javax/swing/DefaultCellEditor.java,
10730         javax/swing/GrayFilter.java,
10731         javax/swing/event/DocumentEvent.java,
10732         javax/swing/text/JTextComponent.java,
10733         javax/swing/text/MutableAttributeSet.java:
10734         Reindented.
10735
10736 2004-06-10  Michael Koch  <konqueror@gmx.de>
10737
10738         * javax/swing/plaf/BorderUIResource.java:
10739         Added serialVersionUID all over.
10740
10741 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
10742
10743         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10744
10745 2004-06-10  Michael Koch  <konqueror@gmx.de>
10746
10747         * javax/swing/table/DefaultTableCellRenderer.java
10748         (noFocusBorder): Initialize directly.
10749
10750 2004-06-10  Michael Koch  <konqueror@gmx.de>
10751
10752         * javax/swing/plaf/basic/BasicArrowButton.java
10753         (setDirection): Use method argument.
10754
10755 2004-06-10  Michael Koch  <konqueror@gmx.de>
10756
10757         * javax/swing/plaf/BorderUIResource.java,
10758         javax/swing/plaf/ComponentUI.java,
10759         javax/swing/undo/CompoundEdit.java,
10760         javax/swing/undo/StateEdit.java:
10761         Fixed javadocs all over.
10762
10763 2004-06-10  Michael Koch  <konqueror@gmx.de>
10764
10765         * javax/swing/DefaultButtonModel.java
10766         (ARMED): Made public final, fixed value.
10767         (ENABLED): Likewise.
10768         (PRESSED): Likewise.
10769         (ROLLOVER): Likewise.
10770         (SELECTED): Likewise.
10771         (stateMask): Initialize directly.
10772         (listenerList): Likewise.
10773         (mnemonic): Likewise.
10774         (fireStateChanged): Removed argument, use changeEvent as event.
10775         All places where this method is called are fixed too.
10776         (getActionCommant): Fixed javadoc.
10777         (setGroup): Fixed javadoc.
10778         (getGroup): New method.
10779
10780 2004-06-09  Olga Rodimina <rodimina@redhat.com>
10781
10782         * javax/swing/AbstractButton.java
10783         (AbstractButton): Use init() to initialize the button.
10784         (init): New Method. Initializes AbstractButton.
10785         * javax/swing/JMenuItem.java: Documented.
10786         (JMenuItem): Reimplemented.
10787         (init): Implemented.
10788         (setEnabled): Changed to call super.setEnabled()
10789         (processMouseEvent): Reimplemented.
10790         (fireMenuKeyPressed): Implemented.
10791         (fireMenuKeyReleased): Implemented.
10792         (fireMenuKeyTyped): Implemented.
10793         (menuSelectionChanged): disarm the model if the menu item was
10794         deselected.
10795         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
10796         (getPath): Change to use ArrayList instead of Vector.
10797         (getPreferredSize): Renamed variable.
10798         (paintMenuItem): Paint margin area of menu item.
10799         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
10800         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
10801         menu item's bounds before clearing the selection.
10802
10803 2004-06-09  David Jee  <djee@redhat.com>
10804
10805         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
10806         (GtkTextComponentPeer): Set caret position to 0.
10807         * java/awt/TextComponent.java
10808         (setText): Set caret position to 0.
10809         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10810         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10811         Handle GtkScrolledWindow separately. Fix signal handler blocking.
10812         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10813         Likewise.
10814         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10815         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
10816         visible.
10817
10818 2004-06-09  Kim Ho  <kho@redhat.com>
10819
10820         * Makefile.am: New files
10821         * Makefile.in: Regenerated
10822         * java/awt/Container.java
10823         (getComponentAt): Removed.
10824         * javax/swing/AbstractAction.java
10825         (ENABLED_PROPERTY): New property.
10826         (putValue): Fire PropertyChangeEvents.
10827         (setEnabled): ditto.
10828         (firePropertyChange): Javadoc and implement
10829         convenience method.
10830         * javax/swing/AbstractButton.java
10831         (setAction): Don't create PropertyChangeListener
10832         if new Action is null.
10833         (setIcon): Don't set icon till after comparing
10834         it.
10835         (configurePropertiesFromAction): Check mnemonic
10836         key before calling intValue().
10837         (createActionPropertyChangeListener): Check
10838         properties rather than bulk change.
10839         * javax/swing/DefaultDesktopManager.java:
10840         Implement.
10841         * javax/swing/DesktopManager.java:
10842         Jalopy and javadoc.
10843         * javax/swing/JComponent.java
10844         (fireVetoableChange): Implement.
10845         (paintImmediately): Use root component.
10846         * javax/swing/JDesktopPane.java: Implement
10847         * javax/swing/JInternalFrame.java: Implement
10848         * javax/swing/JLabel.java
10849         (getDisabledIcon): Return grayscaled icon if
10850         no disabled icon specified.
10851         * javax/swing/JMenuBar.java
10852         (getComponentAtIndex): Use getComponent
10853         * javax/swing/JOptionPane.java
10854         (getDesktopPaneForComponent): Use SwingUtilities'
10855         getAncestorOfClass
10856         (getFrameForComponent): ditto.
10857         * javax/swing/JSplitPane.java
10858         (remove): Use getComponent.
10859         * javax/swing/SwingUtilities.java
10860         (convertPoint): Implement.
10861         * javax/swing/plaf/basic/BasicButtonUI.java
10862         (paintButtonNormal): Check opaqueness before
10863         filling background.
10864         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
10865         Implement
10866         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
10867         Implement.
10868         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
10869         Implement.
10870         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
10871         Implement.
10872         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10873         Change InternalFrame and Desktop colors.
10874
10875 2004-06-09  David Jee  <djee@redhat.com>
10876
10877         * java/awt/Container.java
10878         (remove): Do not set component to invisible.
10879
10880 2004-06-09  Michael Koch  <konqueror@gmx.de>
10881
10882         * javax/swing/tree/DefaultMutableTreeNode.java
10883         (getLeafCount): Renamed enum to e.
10884
10885 2004-06-09  Michael Koch  <konqueror@gmx.de>
10886
10887         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
10888         (positionForMouseEvent): Removed redundant semicolon.
10889         (continueDrag): Use method arguments.
10890
10891 2004-06-09  Michael Koch  <konqueror@gmx.de>
10892
10893         * javax/swing/border/TitledBorder.java,
10894         javax/swing/filechooser/FileSystemView.java,
10895         javax/swing/plaf/basic/BasicButtonListener.java,
10896         javax/swing/plaf/basic/BasicGraphicsUtils.java,
10897         javax/swing/plaf/basic/BasicLabelUI.java,
10898         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
10899         javax/swing/plaf/basic/BasicScrollBarUI.java,
10900         javax/swing/plaf/basic/BasicScrollPaneUI.java,
10901         javax/swing/plaf/basic/BasicSliderUI.java,
10902         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
10903         javax/swing/plaf/basic/BasicToggleButtonUI.java,
10904         javax/swing/table/JTableHeader.java,
10905         javax/swing/text/AbstractDocument.java,
10906         javax/swing/text/DefaultCaret.java,
10907         javax/swing/text/StyledEditorKit.java,
10908         javax/swing/tree/DefaultTreeCellEditor.java:
10909         Reworked import statements.
10910
10911 2004-06-08  Graydon Hoare  <graydon@redhat.com>
10912
10913         * javax/swing/Box.java: Temporarily comment out code
10914         broken due to visibility bug.
10915
10916 2004-06-09  Michael Koch  <konqueror@gmx.de>
10917
10918         * javax/swing/ImageIcon.java
10919         (ImageIcon): Added missing constructor.
10920
10921 2004-06-08  Michael Koch  <konqueror@gmx.de>
10922
10923         * javax/swing/JToggleButton.java
10924         (JToggleButton): New constructor.
10925         (getAccessibleContext): Moved documentation into javadoc.
10926         (getUIClassID): Likewise.
10927
10928 2004-06-08  Michael Koch  <konqueror@gmx.de>
10929
10930         * javax/swing/AbstractButton.java
10931         (getDisabledIcon): Create disabled icon if none exists yet.
10932
10933 2004-06-08  Michael Koch  <konqueror@gmx.de>
10934
10935         * javax/swing/plaf/basic/BasicLookAndFeel.java
10936         (initClassDefaults): Added FormattedTextFieldUI.
10937         (loadResourceBundle): Renamed enum to e.
10938
10939 2004-06-08  Michael Koch  <konqueror@gmx.de>
10940
10941         * javax/swing/plaf/basic/BasicButtonUI.java
10942         (paintIcon): Simplified.
10943         (paintText): Paint disabled button correctly.
10944
10945 2004-06-08  Michael Koch  <konqueror@gmx.de>
10946
10947         * javax/swing/JComponent.java
10948         (createToolTip): Use official JToolTip API.
10949
10950 2004-06-08  Michael Koch  <konqueror@gmx.de>
10951
10952         * javax/swing/JToolTip.java
10953         (JToolTip): No arguments in API.
10954         (setTipText): New method.
10955
10956 2004-06-08  Michael Koch  <konqueror@gmx.de>
10957
10958         * javax/swing/SwingUtilities.java
10959         (isLeftMouseButton): New method.
10960         (isMiddleMouseButton): New method.
10961         (isRightMouseButton): New method.
10962
10963 2004-06-08  Michael Koch  <konqueror@gmx.de>
10964
10965         * javax/swing/AbstractButton.java,
10966         javax/swing/CellRendererPane.java,
10967         javax/swing/JCheckBoxMenuItem.java,
10968         javax/swing/JColorChooser.java,
10969         javax/swing/JComboBox.java,
10970         javax/swing/JComponent.java,
10971         javax/swing/JDesktopPane.java,
10972         javax/swing/JFileChooser.java,
10973         javax/swing/JMenu.java,
10974         javax/swing/JMenuItem.java,
10975         javax/swing/JOptionPane.java,
10976         javax/swing/JPasswordField.java,
10977         javax/swing/JPopupMenu.java,
10978         javax/swing/JProgressBar.java,
10979         javax/swing/JRadioButtonMenuItem.java,
10980         javax/swing/JScrollBar.java,
10981         javax/swing/JSeparator.java,
10982         javax/swing/JSlider.java,
10983         javax/swing/JSplitPane.java,
10984         javax/swing/JTabbedPane.java,
10985         javax/swing/JTextField.java,
10986         javax/swing/JToolBar.java,
10987         javax/swing/text/JTextComponent.java:
10988         Fixed all constructors of accessibility classes.
10989
10990 2004-06-08  Michael Koch  <konqueror@gmx.de>
10991
10992         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
10993         over.
10994
10995 2004-06-08  Michael Koch  <konqueror@gmx.de>
10996
10997         * javax/swing/Box.java
10998         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
10999         (AccessibleBoxFiller.serialVersionUID): New member variable.
11000         * javax/swing/DefaultButtonModel.java
11001         (stateMask): Made protected.
11002         (listenerList): Likewise.
11003         (changeEvent): Likewise.
11004         (group): Likewise.
11005         (mnemonic): Likewise.
11006         (actionCommand): Likewise.
11007         (getListeners): New method.
11008         (getActionListeners): New method.
11009         (getItemListeners): New method.
11010         (getChangeListeners): New method.
11011         (fireItemStateChanged): Simplified.
11012         (fireActionPerformed): Simplified.
11013         (fireStateChanged): Simplified.
11014         * javax/swing/JFrame.java
11015         (JFrame): Implements WindowContants.
11016         (HIDE_ON_CLOSE): Removed.
11017         (EXIT_ON_CLOSE): Removed.
11018         (DISPOSE_ON_CLOSE): Removed.
11019         (DO_NOTHING_ON_CLOSE): Removed.
11020         (processWindowEvent): Exit with code 0.
11021         (setDefaultCloseOperation): Do security check before setting value.
11022         * javax/swing/JOptionPane.java
11023         (message): Initialize only in constructor.
11024         * javax/swing/JToolTip.java: Removed unused imports.
11025         * javax/swing/JViewport.java
11026         (serialVersionUID): New member variable.
11027         (SIMPLE_SCROLL_MODE): Made final, fixed value.
11028         (BLIT_SCROLL_MODE): Likewise.
11029         (BACKINGSTORE_SCROLL_MODE): Likewise.
11030         (scrollUnderway): Made protected.
11031         (isViewSizeSet): Likewise.
11032         * javax/swing/ListModel.java: Fixed javadoc.
11033         * javax/swing/Popup.java: Likewise.
11034         * javax/swing/RepaintManager.java
11035         (paintDirtyRegions): Don't use internal classes of
11036         java.util.AbstractMap.
11037         * javax/swing/ScrollPaneConstants.java: Reindented.
11038         * javax/swing/ScrollPaneLayout.java
11039         (viewport): Made protected.
11040         (verticalScrollBar): Made protected, renamed to vsb.
11041         (horizontalScrollBar): Made protected, renamed to hsb.
11042         (rowHeader): Made protected, renamed to rowHead.
11043         (columnHeader): Made protected, renamed to colHead.
11044         (lowerLeft): Made protected.
11045         (lowerRight): Made protected.
11046         (upperLeft): Made protected.
11047         (upperRight): Made protected.
11048         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
11049         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
11050
11051 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
11052
11053         * java/awt/MediaTracker.java (imageUpdate): Only set status to
11054         LOADING if flags has SOMEBITS set.
11055
11056 2004-06-07  Michael Koch  <konqueror@gmx.de>
11057
11058         * javax/swing/AbstractButton.java: Reorganized imports.
11059         * javax/swing/ActionMap.java: Likewise.
11060         * javax/swing/DefaultButtonModel.java: Likewise.
11061         * javax/swing/DefaultListModel.java: Likewise.
11062         * javax/swing/ImageIcon.java: Likewise.
11063         (serialVersionUID): New member variable.
11064         * javax/swing/JComboBox.java: Reorganized imports.
11065         * javax/swing/JComponent.java: Likewise.
11066         (ui): Made protected.
11067         (listenerList): Made protected.
11068         (TOOL_TIP_TEXT_KEY): New constant.
11069         (scrollRectToVisible): Removed redundant null check.
11070         * javax/swing/JFrame.java: Reorganized imports.
11071         * javax/swing/JInternalFrame.java: Reorganized imports.
11072         * javax/swing/JProgressBar.java: Likewise.
11073         * javax/swing/JRootPane.java: Likewise.
11074         * javax/swing/JScrollBar.java: Likewise.
11075         * javax/swing/JSeparator.java: Likewise.
11076         * javax/swing/JSlider.java: Likewise.
11077         * javax/swing/JTabbedPane.java: Likewise.
11078         * javax/swing/JTextField.java: Likewise.
11079         * javax/swing/JToolBar.java: Likewise.
11080         * javax/swing/JTree.java: Likewise.
11081         * javax/swing/JViewport.java: Likewise.
11082         * javax/swing/JWindow.java: Likewise.
11083         * javax/swing/KeyStroke.java: Likewise.
11084         * javax/swing/LookAndFeel.java: Likewise.
11085         * javax/swing/MenuSelectionManager.java: Likewise.
11086         * javax/swing/SwingUtilities.java: Likewise.
11087         * javax/swing/Timer.java: Likewise.
11088         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
11089         * javax/swing/JList.java
11090         (HORIZONTAL_WRAP): Made final, fixed value.
11091         (VERTICAL): Likewise.
11092         (VERTICAL_WRAP): Likewise.
11093
11094 2004-06-07  Michael Koch  <konqueror@gmx.de>
11095
11096         * javax/swing/AbstractButton.java
11097         (serialVersionUID): New member variable.
11098         (AccessibleAbstractButton.serialVersionUID): Likewise.
11099         (AbstractButton): Made public.
11100         * javax/swing/Box.java
11101         (AccessibleBox.serialVersionUID): New member variable.
11102         (Filler.serialVersionUID): Likewise.
11103         * javax/swing/DefaultListSelectionModel.java
11104         (serialVersionUID): Likewise.
11105         * javax/swing/JApplet.java
11106         (serialVersionUID): Likewise.
11107         * javax/swing/JCheckBox.java
11108         (serialVersionUID): Likewise.
11109         * javax/swing/JCheckBoxMenuItem.java
11110         (serialVersionUID): Likewise.
11111         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
11112         * javax/swing/JColorChooser.java
11113         (serialVersionUID): Likewise.
11114         (AccessibleJColorChooser.serialVersionUID): Likewise.
11115         * javax/swing/JComponent.java
11116         (serialVersionUID): Made private.
11117         (AccessibleJComponent.serialVersionUID): New member variable.
11118         * javax/swing/JDesktopPane.java
11119         (serialVersionUID): Likewise.
11120         * javax/swing/JDialog.java
11121         (serialVersionUID): Likewise.
11122         * javax/swing/JFormattedTextField.java
11123         (serialVersionUID): Fixed value.
11124         * javax/swing/JFrame.java
11125         (serialVersionUID): New member variable.
11126         (getDefaultCloseOpertation): Made public.
11127         * javax/swing/JLayeredPane.java
11128         (serialVersionUID): Likewise.
11129         (LAYER_PROPERTY): Made final, fixed value.
11130         (JLayeredPane): Made public.
11131         * javax/swing/JMenu.java
11132         (AccessibleJMenu.serialVersionUID): New member variable.
11133         (WinListener.serialVersionUID): Likewise.
11134         * javax/swing/JMenuBar.java
11135         (serialVersionUID): Likewise.
11136         (getComponentAtIndex): Added @deprecated tag.
11137         * javax/swing/JMenuItem.java
11138         (serialVersionUID): New member variable.
11139         (AccessibleJMenuItem.serialVersionUID): Likewise.
11140         * javax/swing/JOptionPane.java
11141         (serialVersionUID): Likewise.
11142         (AccessibleJOptionPane.serialVersionUID): Likewise.
11143         * javax/swing/JPopupMenu.java
11144         (serialVersionUID): Likewise.
11145         (AccessibleJPopupMenu.serialVersionUID): Likewise.
11146         (getPopupMenuListeners): New method.
11147         (getComponentAtIndex): Added @deprecated tag.
11148         * javax/swing/JProgressBar.java
11149         (serialVersionUID): New member variable.
11150         (AccessibleJProgressBar.serialVersionUID): Likewise.
11151         * javax/swing/JRadioButton.java
11152         (serialVersionUID): Likewise.
11153         * javax/swing/JRadioButtonMenuItem.java
11154         (serialVersionUID): Likewise.
11155         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
11156         * javax/swing/JScrollBar.java
11157         (serialVersionUID): Likewise.
11158         (AccessibleJScrollBar.serialVersionUID): Likewise.
11159         * javax/swing/JSeparator.java
11160         (serialVersionUID): Likewise.
11161         (AccessibleJSeparator.serialVersionUID): Likewise.
11162         * javax/swing/JSlider.java: Fixed javadocs.
11163         (AccessibleJSlider.serialVersionUID): New member variable.
11164         * javax/swing/JSplitPane.java: Added copyright statement.
11165         (serialVersionUID): New member variable.
11166         (AccessibleJSplitPane.serialVersionUID): Likewise.
11167         * javax/swing/JTabbedPane.java
11168         (serialVersionUID): Likewise.
11169         (AccessibleJTabbedPane.serialVersionUID): Likewise.
11170         (ModelListener.serialVersionUID): Likewise.
11171         (ModelListener.ModelListener): New constructor.
11172         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
11173         (WRAP_TAB_LAYOUT): Likewise.
11174         * javax/swing/JTable.java
11175         (serialVersionUID): New member variable.
11176         * javax/swing/JToggleButton.java
11177         (serialVersionUID): Likewise.
11178         (ToggleButtonModel): Made static.
11179         (ToggleButtonModel.serialVersionUID): New member variable.
11180         * javax/swing/JToolTip.java
11181         (serialVersionUID): Likewise.
11182         * javax/swing/JTree.java
11183         (serialVersionUID): Likewise.
11184         * javax/swing/JWindow.java
11185         (serialVersionUID): Likewise.
11186         * javax/swing/Timer.java
11187         (serialVersionUID): Likewise.
11188
11189 2004-06-06  Michael Koch  <konqueror@gmx.de>
11190
11191         * javax/swing/SwingConstants.java
11192         (NEXT): New constant.
11193         (PREVIOUS): Likewise.
11194         * javax/swing/UIManager.java
11195         (LookAndFeel): Made public.
11196         (LookAndFeel.getClassName): Likewise.
11197         (LookAndFeel.getName): Likewise.
11198
11199 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
11200
11201         * javax/swing/JCheckBoxMenuItem.java:
11202         Removed CVS tags.
11203         * javax/swing/JMenu.java: Likewise.
11204         * javax/swing/JMenuBar.java: Likewise.
11205         * javax/swing/JMenuItem.java: Likewise.
11206         * javax/swing/JPopupMenu.java: Likewise.
11207         * javax/swing/JRadioButtonMenuItem.java: Likewise.
11208         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
11209         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
11210         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
11211         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
11212         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
11213         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
11214
11215 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
11216
11217         * javax/swing/plaf/basic/BasicMenuUI.java:
11218         (MouseEntered): Do not call getPath() from MenuSelectionManager.
11219         Call getPath() from super class instead.
11220
11221 2004-05-31  David Jee  <djee@redhat.com>
11222
11223         * java/awt/Container.java
11224         (remove): Set component visibility to false after removing it.
11225
11226 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
11227
11228         * java/awt/Component.java (getForeground): Return SystemColor if
11229         parent is null.
11230         (getBackground): Likewise.
11231
11232         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
11233         (item_highlighted): New function.
11234         (connectSignals): Set item_highlighted as list's select
11235         function.
11236
11237         * java/applet/Applet.java: Revert changes from 2004-04-29,
11238         2004-03-15 and 2004-03-14.
11239
11240         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
11241         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
11242         factor.
11243
11244         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
11245         "Dialog" as the default font.
11246         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
11247         Likewise.
11248         * java/awt/Component.java (getFont): Return "Dialog" font by
11249         default.
11250         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
11251         Multiply size argument to pango_font_description_set_size by the
11252         DPI conversion factor rather than by PANGO_SCALE.
11253         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
11254         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
11255         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
11256         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
11257         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
11258         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
11259         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
11260         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
11261         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
11262         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
11263         Divide baseline y coordinate by DPI conversion factor rather
11264         than by PANGO_SCALE.
11265         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
11266         (area_prepared): Fix typo.
11267         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
11268         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
11269         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
11270         (dpi_conversion_factor): New global variable.
11271         (init_dpi_conversion_factor): New function to calculate and
11272         track DPI conversion factor.
11273         (dpi_changed_cb): New callback.
11274         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
11275
11276 2004-05-27  David Jee  <djee@redhat.com>
11277
11278         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11279         (getGraphics): Return a new GdkGraphics instance.
11280         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11281         (getGraphics): Call super.getGraphics().
11282
11283 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
11284
11285         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11286         (setNativeBounds): Clamp width and height values to >= 0.
11287
11288         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11289         (find_fg_color_widget): Handle GtkOptionMenu specially.
11290
11291         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11292         (pre_event_handler): Only post configure events to visible
11293         top-level windows.
11294
11295 2004-05-26  David Jee  <djee@redhat.com>
11296
11297         * java/awt/BorderLayout.java
11298         (layoutContainer): Fix size calculations.
11299
11300 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
11301
11302         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11303         (window_wm_protocols_filter): Remove function.
11304         (create): Remove filter that removes WM_TAKE_FOCUS client
11305         messages.
11306
11307 2004-06-17  Anthony Green  <green@redhat.com>
11308
11309         * java/util/zip/ZipFile.java (getInputStream): Return null if
11310         entry not found.
11311
11312         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
11313         directory contents to the class path.
11314
11315 2004-06-15  Andrew Haley  <aph@redhat.com>
11316
11317         * java/lang/natSystem.cc (getenv0): Don't assume environment
11318         variable is Latin 1 coded.
11319
11320 2004-06-14  Andreas Jaeger  <aj@suse.de>
11321
11322         * configure.in: Support --enable-version-specific-runtime-libs.
11323         * configure: Regenerated.
11324
11325 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
11326
11327         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
11328         to pass ClassLoader argument.
11329         * java/util/GregorianCalendar.java: Likewise.
11330         * java/util/Currency.java: Likewise.
11331         * java/text/BreakIterator.java: Likewise.
11332         * java/text/Collator.java: Likewise.
11333         * java/text/DateFormat.java: Likewise.
11334         * java/text/DateFormatSymbols.java: Likewise.
11335         * java/text/DecimalFormatSymbols.java: Likewise.
11336         * java/text/NumberFormat.java: Likewise.
11337         * java/awt/Window.java: Likewise.
11338
11339 2004-06-14  Andrew Haley  <aph@redhat.com>
11340
11341         * java/lang/System.java: (getenv0): New method.
11342         (getenv): Add security check.  Do the right thing.
11343         * java/lang/natSystem.cc (getenv0): New method.
11344
11345 2004-06-12  Mark Wielaard  <mark@klomp.org>
11346
11347         * javax/swing/RepaintManager.java
11348         (paintDirtyRegions): Use entrySet(), not values().
11349
11350 2004-06-10  Mark Wielaard  <mark@klomp.org>
11351
11352         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
11353         NoSuchMethodError.
11354
11355 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
11356
11357         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
11358         when we already know the answer.
11359         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
11360         (setStartRule,setEndRule): Don't take abs of day number.
11361         (getOffset): Clarify docs.  Add argument checks.
11362         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
11363         (equals,hasSameRules,toString,readObject): Use startTimeMode and
11364         endTimeMode.
11365
11366 2004-06-10  Tom Tromey  <tromey@redhat.com>
11367
11368         * interpret.cc (run): Handle wide fload.
11369
11370 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
11371
11372         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
11373
11374 2004-06-05  Michael Koch  <konqueror@gmx.de>
11375
11376         * javax/swing/SwingConstants.java
11377         (NEXT): New constant.
11378         (PREVIOUS): Likewise.
11379
11380 2004-06-05  Michael Koch  <konqueror@gmx.de>
11381
11382         * javax/swing/UIManager.java
11383         (LookAndFeel): Made public.
11384         (LookAndFeel.getName): Likewise.
11385         (LookAndFeel.getClassName): Likewise.
11386
11387 2004-06-03  Michael Koch  <konqueror@gmx.de>
11388
11389         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11390         (requestFocus): Revert last changes.
11391         (gtkRequestFocus): Removed.
11392         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11393         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
11394         Renamed to ...
11395         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
11396         Reverted last patch.
11397         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
11398         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
11399         Reverted comment change.
11400
11401 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
11402
11403         * javax/swing/JCheckBoxMenuItem.java:
11404         Removed CVS tags.
11405         * javax/swing/JMenu.java: Likewise.
11406         * javax/swing/JMenuBar.java: Likewise.
11407         * javax/swing/JMenuItem.java: Likewise.
11408         * javax/swing/JPopupMenu.java: Likewise.
11409         * javax/swing/JRadioButtonMenuItem.java: Likewise.
11410         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
11411         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
11412         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
11413         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
11414         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
11415         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
11416
11417 2004-06-01  Tom Tromey  <tromey@redhat.com>
11418
11419         * java/io/ObjectStreamField.java: Cleaned up imports.
11420
11421 2004-06-01  Michael Koch  <konqueror@gmx.de>
11422
11423         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
11424
11425 2004-06-01  Mark Wielaard  <mark@klomp.org>
11426
11427         * java/io/Writer.java (Writer(Object)): Fixed API doc.
11428
11429 2004-06-01  Michael Koch  <konqueror@gmx.de>
11430
11431         * java/security/Security.java
11432         (insertProviderAt): Use equals() instead of ==.
11433         (removeProvicer): Likewise.
11434         (getProvider): Likewise.
11435         * java/security/Signature.java
11436         (sign): Don't set state to UNINITIALIZED.
11437         (verify): Likewise.
11438
11439 2004-06-01  Mark Wielaard  <mark@klomp.org>
11440
11441         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
11442         Implement by calling gtkRequestFocus.
11443         (gtkRequestFocus): New native method.
11444         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11445         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
11446         Renamed to ...
11447         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
11448         New function name.
11449         (filter_expose_event_handler):
11450         Mark static.
11451         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
11452         (menu_pos): Mark static.
11453
11454 2004-06-01  Michael Koch  <konqueror@gmx.de>
11455
11456         * java/text/CollationElementIterator.java,
11457         java/text/CollationKey.java,
11458         java/text/RuleBasedCollator.java: New versions from GNU classpath.
11459         * testsuite/libjava.mauve/xfails: Removed all
11460         java.text.CollationElementIterator tests.
11461
11462 2004-06-01  Michael Koch  <konqueror@gmx.de>
11463
11464         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
11465         version.
11466         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
11467         Java 1.5 keyword usage.
11468
11469 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
11470
11471         * javax/swing/plaf/basic/BasicMenuUI.java:
11472         (MouseEntered): Do not call getPath() from MenuSelectionManager.
11473         Call getPath() from super class instead.
11474
11475 2004-05-31  Michael Koch  <konqueror@gmx.de>
11476
11477         * java/io/SequenceInputStream.java:
11478         Rename enum to e because enum is a keyword in Java 1.5.
11479
11480 2004-05-31  Michael Koch  <konqueror@gmx.de>
11481
11482         * gnu/java/rmi/rmic/CompilerProcess.java:
11483         Fixed javadoc to by XHTML compliant.
11484
11485 2004-05-30  Mark Wielaard  <mark@klomp.org>
11486
11487         * java/awt/Toolkit.java (loadSystemColors): Implement.
11488
11489 2004-05-30  Michael Koch  <konqueror@gmx.de>
11490
11491         * java/lang/System.java: Reordered imports.
11492
11493 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
11494
11495         * java/text/DecimalFormat.java
11496         (parse): Fixed parsing of decimal strings. Number of maximum
11497         digits to be read should now work.
11498         * java/text/SimpleDateFormat.java
11499         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
11500         formatter. This fixes DateFormatTest.
11501
11502 2004-05-30  Michael Koch  <konqueror@gmx.de>
11503
11504         * java/nio/Buffer.java
11505         (limit): Fixed off by one error.
11506         * java/nio/CharBuffer.java
11507         (wrap): Fixed arguments, added javadocs.
11508
11509 2004-05-30  Michael Koch  <konqueror@gmx.de>
11510
11511         * gnu/java/beans/BeanInfoEmbryo.java,
11512         java/awt/im/InputContext.java,
11513         javax/swing/tree/DefaultMutableTreeNode.java:
11514         Rename enum to e because enum is a keyword in Java 1.5.
11515
11516 2004-05-30  Michael Koch  <konqueror@gmx.de>
11517
11518         * gnu/java/math/MPN.java,
11519         java/awt/geom/Arc2D.java:
11520         Fixed javadocs all over.
11521
11522 2004-05-30  Michael Koch  <konqueror@gmx.de>
11523
11524         * java/awt/DefaultKeyboardFocusManager.java
11525         (dispatchEvent): Call method to get key event dispatchers.
11526         (dispatchKeyEvent): Call method to get key event post processors.
11527         * javax/swing/JComponent.java
11528         (listenerList): Made protected.
11529         * javax/swing/JOptionPane.java
11530         (message): Don't initialize.
11531         (JOptionPane): Set message text.
11532         * javax/swing/JPopupMenu.java
11533         (show): Fixed typo in argument name.
11534         * javax/swing/RepaintManager.java
11535         (paintDirtyRegions): Use public API of java.util.Map.
11536         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
11537         (positionForMouseEvent): Removed redundant ';'.
11538         (continueDrag): Use method arguments.
11539
11540 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
11541
11542         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
11543         results.
11544
11545 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
11546
11547         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
11548         _Jv_AllocBytes.
11549         * gnu/gcj/RawDataManaged.java: New file.
11550         * java/lang/Thread.java (data): Declare as RawDataManaged.
11551         * java/lang/natThread.cc (init_native): Cast natThread data to
11552         RawDataManaged, not jobject.
11553         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
11554         * Makefile.in: Rebuilt.
11555
11556 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
11557
11558         * java/util/SimpleTimeZone.java: Reverting my last change until I
11559         can fix it properly.
11560
11561 2004-05-27  Michael Koch  <konqueror@gmx.de>
11562
11563         * javax/swing/JPopupMenu.java
11564         (isVisible): Do not use visible directly.
11565         (setVisible): Likewise.
11566         * javax/swing/JWindow.java
11567         (JWindow): call accessible constructor.
11568         * javax/swing/RepaintManager.java
11569         (paintDirtyRegions): Use public methods to obtain iterator.
11570
11571 2004-05-25  David Jee  <djee@redhat.com>
11572
11573         * java/awt/Container.java
11574         (remove): Set component's parent to null only after we removed the
11575         component from its parent's layout manager.
11576
11577 2004-05-25  David Jee  <djee@redhat.com>
11578
11579         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11580         (GtkComponentPeer): Set bounds regardless of whether awtComponent
11581         is valid.
11582         * gnu/java/awt/peer/gtk/GtkListPeer.java
11583         (getSize): Change native method declaration.
11584         (minimumSize): Pass visible row count into getSize().
11585         (preferredSize): Likewise.
11586         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
11587         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
11588         natural size. Use visible row count to determine the final height
11589         value to return.
11590
11591 2004-05-21  Graydon Hoare  <graydon@redhat.com>
11592
11593         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11594         (setClip): Minor correction to order of operations.
11595
11596         * javax/swing/JScrollPane.java: Extend sketchy implementation.
11597         * javax/swing/ScrollPaneLayout.java: Likewise.
11598         * javax/swing/JViewPort.java: Likewise.
11599         * javax/swing/ViewportLayout.java: Likewise.
11600
11601         * javax/swing/JComponent.java: Rewrite.
11602         * javax/swing/RepaintManager.java: Likewise.
11603
11604         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
11605         * javax/swing/JList.java
11606         (setSelectedIndices):
11607         (getSelectedIndices):
11608         (getSelectedValues): New functions.
11609         (getPreferredScrollableViewportSize): Return preferred size.
11610         (getScrollableUnitIncrement):
11611         (getScrollableBlockIncrement): Initial implementations.
11612         * javax/swing/JRootPane.java: Clean up slightly.
11613         (getUI):
11614         (setUI):
11615         (updateUI):
11616         (getUIClassID):
11617         (isValidateRoot): Add overrides from JComponent.
11618         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
11619         * javax/swing/UIManager.java (getDimension): Return the dimension.
11620
11621         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
11622         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
11623         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
11624         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
11625         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
11626         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
11627         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
11628         * javax/swing/plaf/basic/BasicRootPaneUI.java:
11629         Likewise, and set background.
11630         * javax/swing/plaf/basic/BasicListUI.java:
11631         Likewise, and improve a bit.
11632         * javax/swing/plaf/basic/BasicScrollBarUI.java:
11633         Likewise, and adjust calculations.
11634         * javax/swing/plaf/basic/BasicViewportUI.java:
11635         Likewise, and improve a bit.
11636         * javax/swing/plaf/basic/BasicLookAndFeel.java
11637         (Button.margin): Shrink.
11638
11639         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
11640         Hack to set horizontal always, workaround pango.
11641
11642         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
11643         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
11644         Synchronize more often, check cairo status after ops,
11645         handle changes to cairo pattern API, check for disposal.
11646
11647 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
11648
11649         * javax/swing/plaf/basic/BasicMenuItemUI.java:
11650         (BasicMenuItemUI): Create propertyChangeListener.
11651         (getPath):Implemented.
11652         (installListeners): Add propertyChangeListener to menuItem.
11653         (uninstallListeners): Remove propertyChangeListener from menuItem.
11654         (update): Implemented.
11655         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
11656         (mouseEntered): Take insets of popup menu into account when
11657         calculating position of popup menu.
11658
11659 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
11660
11661         * Makefile.am: Added new file.
11662         * Makefile.in: Regenerate.
11663         * javax/swing/JMenuBar.java:
11664         Started implementation.
11665         * javax/swing/JPopupMenu.java:
11666         (setVisible): Fixed location of lightweight/mediumweight
11667         popup menu.
11668         (show): Fixed location of PopupMenu.
11669         * javax/swing/plaf/basic/BasicMenuBarUI.java:
11670         New file. UI Delegate for JMenuBar.
11671         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
11672         (mouseEntered): Corrected position of the submenu.
11673
11674 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
11675
11676         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
11677         to _gtk_accel_group_attach.
11678         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
11679         Likewise.
11680
11681         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
11682         package access.  Don't override setFont.
11683         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
11684         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
11685         gtkWidgetRequestFocus package access.
11686         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
11687         setFont.
11688         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
11689         Give gtkWidgetRequestFocus package access.
11690         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
11691         gtkWidgetRequestFocus package access.  Don't override setFont.
11692         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
11693         setFont.
11694         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
11695         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
11696         region.
11697         (gtkSetFont): Likewise.
11698         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
11699         Implement.
11700         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11701         (gtkSetFont): Whitespace fix.
11702
11703         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11704         (gtkWidgetSetUsize): Remove method.
11705
11706 2004-05-18  David Jee  <djee@redhat.com>
11707
11708         * java/awt/image/MemoryImageSource.java
11709         (newPixels(int,int,int,int,boolean)): Set only the specified
11710         rectangle of pixels.
11711         (newPixels(byte[],ColorModel,int,int)): Implement.
11712         (newPixels(int[],ColorModel,int,int)): Implement.
11713
11714 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
11715
11716         * Makefile.am: Added new file.
11717         * Makefile.in: Regenerate.
11718         * javax/swing/JMenu.java: Started
11719         implementation.
11720         * javax/swing/JPopupMenu.java:
11721         (insert): If specified index is -1, then
11722         add component at the end.
11723         (isPopupTrigger): Reimplemented.
11724         (JPopupMenu.LightWeightPopup): setBounds
11725         of the lightWeightPopup before adding it
11726         to the layeredPane.
11727         (javax/swing/plaf/basic/BasicIconFactory.java):
11728         (getMenuArrowIcon): Implemented.
11729         * javax/swing/plaf/basic/BasicMenuItemUI.java:
11730         (getPreferredSize): Add size of the arrow icon
11731         if this menu item is instance of JMenu.
11732         (paintMenuItem): Paint arrow icon if this
11733         menu item is a submenu.
11734         * javax/swing/plaf/basic/BasicMenuUI.java:
11735         New File. UI Delegate for JMenu.
11736
11737 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
11738
11739         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
11740         Post KEY_TYPED events.
11741         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11742         (generates_key_typed_event): Remove function.
11743
11744 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
11745
11746         * javax/swing/JRootPane.java
11747         (JRootPane.RootLayout): Reimplemented to
11748         set bounds of contentPane and menuBar.
11749         (setJMenuBar): Add menu bar to the layered pane.
11750         (createLayeredPane): Set layout of layeredPane
11751         to null.
11752         * javax/swing/JLayeredPane.java:
11753         (addImpl): Calculate index of the component in the
11754         layeredPane according to the specified position within
11755         the layer.
11756
11757 2004-05-17  David Jee  <djee@redhat.com>
11758
11759         * gnu/java/awt/peer/gtk/GtkImagePainter.java
11760         (setPixels): Change color model to the default model after
11761         converting pixels.
11762         * java/awt/image/MemoryImageSource.java
11763         (newPixels): Set only the specified rectangle of pixels.
11764
11765 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11766
11767         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
11768         -l-java-beans -l-javax-accessibility -l-javax-swing.
11769
11770         * java/awt/AWTEvent.java (toString): Print source's name rather
11771         than the source itself.
11772
11773 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
11774
11775         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
11776         native.
11777         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
11778         (gdk_color_to_java_color): New function.
11779         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
11780
11781 2004-05-12  David Jee  <djee@redhat.com>
11782
11783         * java/awt/image/RGBImageFilter.java:
11784         Initialize origmodel as null.
11785         (makeColor): Fix pixel component order.
11786         (filterRGBPixels): Fix pixel iteration.
11787         (setPixels): Add extra checks for index color model. Convert pixels
11788         to default color model if necessary.
11789         (convertColorModelToDefault): New override method for byte pixels.
11790         (convertColorModelToDefault): For int pixels, fix pixel iteration.
11791         (makeColorbyDefaultCM): New override method for byte pixels.
11792         (makeColorbyDefaultCM): For int pixel, add color model as argument.
11793         (makeColor): Fix pixel component order.
11794
11795 2004-05-11  Kim Ho  <kho@redhat.com>
11796
11797         * javax/swing/Box.java:
11798         Comment out more parts of Box.Filler.
11799
11800 2004-05-11  Kim Ho  <kho@redhat.com>
11801
11802         * javax/swing/Box.java:
11803         Remove reference to AccessibleAWTComponent so
11804         it compiles again.
11805
11806 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
11807
11808         * gnu/java/awt/peer/gtk/GtkListPeer.java,
11809         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
11810         implementation of list peer to use GtkTreeView instead of
11811         deprecated GtkCList.
11812
11813 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
11814
11815         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11816         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
11817         (handleEvent): Remove keyChar argument to
11818         gtkWidgetDispatchKeyEvent calls.
11819         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
11820         compiler warnings.
11821         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11822         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
11823         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
11824         Likewise.
11825
11826 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
11827
11828         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11829         (gtkWidgetRequestFocus): Mark protected.
11830         (GtkComponentPeer): Only set the peer's bounds if its component
11831         is valid.
11832         * java/awt/Component.java (static): Set the default keyboard
11833         focus manager.
11834         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
11835         requestFocusInWindow(temporary)): Don't request focus if the
11836         component is not showing.  Get tree lock before traversing
11837         component hierarchy.
11838         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
11839         Only set the global focus owner if it is not a Window.
11840         (processKeyEvent): Consume keystrokes associated with the focus
11841         traversal keystroke.
11842         (focusPreviousComponent, focusNextComponent, upFocusCycle,
11843         downFocusCycle): Call requestFocusInWindow instead of
11844         requestFocus.
11845         * java/awt/EventDispatchThread.java (run): Move setting of
11846         default keyboard focus manager to Component.java.
11847         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11848         (awt_keycode_to_keysym): New function.
11849         (gtkWidgetDispatchKeyEvent): Finish implementation.
11850         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11851         (pre_event_handler): Add FIXME comment.
11852
11853         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11854         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11855         (gtkWidgetRequestFocus): New method.
11856         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
11857         disable Tab and Shift-Tab keystrokes.
11858         (addNotify, appendText, insertText, replaceText): Simplify peer
11859         retrieval code.
11860         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
11861         (connectSignals): Remove connections to "commit" signals.
11862         Remove C++-style comments.
11863
11864         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
11865         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
11866         (handleEvent): Activate GTK button when the space bar key is
11867         pressed.
11868         (gtkActivate): New method.
11869
11870 2004-05-06  David Jee  <djee@redhat.com>
11871
11872         * java/awt/image/CropImageFilter.java
11873         (setPixels): Implement for byte array pixels.
11874         * java/awt/image/ReplicateScaleFilter.java
11875         (setPixels): Implement for byte array pixels.
11876         (replicatePixels): Overload for byte array pixels.
11877
11878 2004-05-06  Kim Ho  <kho@redhat.com>
11879
11880         * javax/swing/Box.java:
11881         (getAccessibleContext): Return an instance of the
11882         correct class.
11883
11884 2004-05-05  David Jee  <djee@redhat.com>
11885
11886         * gnu/java/awt/peer/gtk/GdkGraphics.java
11887         (drawImage): When component is null, use SystemColor.window as
11888         the default bgcolor.
11889         * gnu/java/awt/peer/gtk/GtkImage.java
11890         (setPixels): We can avoid iterating through the pixel rows only
11891         when height is 1.
11892         * java/awt/Image.java
11893         (getScaledInstance): Partially implement.
11894         * java/awt/image/CropImageFilter.java
11895         (setProperties): Fix "filter" property.
11896         (setPixels): Implement.
11897         * java/awt/image/ReplicateScaleFilter.java
11898         (setDimensions): Use scaled dimensions.
11899         (setPixels): Implement.
11900         (replicatePixels): New method.
11901
11902 2004-05-05  David Jee  <djee@redhat.com>
11903
11904         * gnu/java/awt/peer/gtk/GtkImagePainter.java
11905         (convertPixels): If either pixels or model is null, return null.
11906         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
11907         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
11908         is null, do nothing and return.
11909
11910 2004-05-03  Kim Ho  <kho@redhat.com>
11911
11912         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
11913         (getGraphics): Like GtkFramePeer, the Graphics
11914         object needs to be translate to account for
11915         window decorations.
11916         (postMouseEvent): New method. Account for
11917         translation.
11918         (postExposeEvent): ditto.
11919         * javax/swing/Box.java: Stubbed.
11920         * javax/swing/JDialog.java: Ran through jalopy
11921         to fix indentation.
11922         (JDialog): Call SwingUtilities' getOwnerFrame
11923         for null owners.
11924         (setLayout): Check isRootPaneCheckingEnabled
11925         * javax/swing/JOptionPane.java: Re-implemented.
11926         * javax/swing/SwingUtilities.java:
11927         (getOwnerFrame): Static method to grab a default
11928         owner frame for Dialogs that don't specify owners.
11929         * javax/swing/event/SwingPropertyChangeSupport.java:
11930         (firePropertyChange): Fix early exit condition.
11931         * javax/swing/plaf/basic/BasicLabelUI.java:
11932         (paint): Avoid painting text if it is null
11933         or empty.
11934         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
11935         Implement.
11936
11937 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
11938
11939         * Makefile.am: Added new file.
11940         * Makefile.in: Regenerate.
11941         * javax/swing/JPopupMenu.java:
11942         Started implementation.
11943         * javax/swing/JWindow.java
11944         (JWindow): call super() if parent for window
11945         is not specified.
11946         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
11947         New File. UI Delegate for JPopupMenu.
11948
11949 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
11950
11951         * javax/swing/JApplet.java: Indicated that JApplet
11952         implements RootPaneContainer and made method of this
11953         interface public.
11954         * javax/swing/JFrame.java: Ditto.
11955         * javax/swing/JWindow.java: Ditto.
11956
11957 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
11958
11959         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11960         (nativeSetBounds): Call gdk_window_move in addition to
11961         gtk_window_move.
11962
11963         * java/applet/Applet.java (preferredSize): Call parent's
11964         preferredSize if the applet stub is null.
11965         (minimumSize): Likewise for parent's minimumSize.
11966
11967 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
11968
11969         * javax/swing/JMenuItem.java
11970         (createActionPropertyChangeListener): Implemented.
11971         (processMouseEvent): Ditto.
11972         (fireMenuDragMouseEntered): Ditto.
11973         (fireMenuDragMouseExited): Ditto.
11974         (fireMenuDragMouseDragged): Ditto.
11975         (fireMenuDragMouseReleased): Ditto.
11976         (menuSelectionChanged): Ditto.
11977         (getSubElements): Ditto.
11978         (getComponent): Ditto.
11979         (addMenuDragMouseListener): Ditto.
11980         (removeMenuDragMouseListener):Ditto.
11981         (addMenuKeyListener): Ditto.
11982         (removeMenuKeyListener): Ditto.
11983         * javax/swing/plaf/basic/BasicMenuItemUI.java
11984         (doClick): Imlemented.
11985         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
11986         Don't handle mouse events here. Pass them to
11987         MenuSelectionManager.
11988
11989 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
11990         Used correct version of jalopy configuration
11991         file to fix style in the files below.
11992
11993 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
11994
11995         * javax/swing/JCheckBoxMenuItem.java:
11996         Fixed style and removed unnecessary comments.
11997         * javax/swing/JMenuItem.java: Ditto.
11998         * javax/swing/JRadioButtonMenuItem.java: Ditto.
11999         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
12000         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
12001         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
12002
12003 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
12004
12005         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
12006         C-style.
12007
12008         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
12009
12010         * java/awt/ContainerOrderFocusTraversalPolicy.java
12011         (getComponentAfter): Start from current component and work up
12012         the component hierarchy until an acceptable component is found.
12013         Synchronize on tree lock.
12014         (getComponentBefore): Likewise.
12015
12016 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
12017
12018         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
12019         focus-related debugging messages.
12020         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
12021         * java/awt/EventDispatchThread.java: Likewise.
12022         * java/awt/KeyboardFocusManager.java: Likewise.
12023         * java/awt/Window.java: Likewise.
12024         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
12025         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
12026
12027         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
12028         new C++-style comments to C-style comments.
12029         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
12030
12031         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12032         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12033         (handleEvent): Dispatch key press and key release events to
12034         backing widget.
12035         (requestFocus): Post a FOCUS_GAINED event to the event queue.
12036         (gtkWidgetRequestFocus): New method.
12037         (gtkWidgetDispatchKeyEvent): Likewise.
12038         * java/awt/Component.java (requestFocus, requestFocus(boolean),
12039         requestFocusInWindow, requestFocusInWindow(boolean),
12040         getFocusCycleRootAncestor, nextFocus, transferFocus,
12041         transferFocusBackward, transferFocusUpCycle, hasFocus,
12042         isFocusOwner): Implement and document focus-handling methods.
12043         (setFocusTraversalKeys): Inherit focus traversal keys when
12044         keystrokes argument is null.  Fix focus-handling documentation
12045         throughout class.
12046         * java/awt/Container.java (setFocusTraversalKeys,
12047         getFocusTraversalKeys, areFocusTraversalKeysSet,
12048         isFocusCycleRoot, setFocusTraversalPolicy,
12049         getFocusTraversalPolicy, isFocusTraversalPolicySet,
12050         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
12051         Implement and document focus-handling methods.
12052         (transferFocusBackward): Remove method.
12053         (readObject, writeObject): Implement and document serialization
12054         methods.
12055         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
12056         and document.
12057         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
12058         document.
12059         * java/awt/DefaultKeyboardFocusManager.java: Implement and
12060         partially document.
12061         * java/awt/EventDispatchThread.java (run): Set default keyboard
12062         focus manager.  Attempt to dispatch each event to the keyboard
12063         focus manager before normal dispatch.
12064         * java/awt/KeyboardFocusManager.java: Implement and partially
12065         document.
12066         * java/awt/Window.java (Window): Set focusCycleRoot to true.
12067         (show): Focus initial component when window is shown for the
12068         first time.
12069         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12070         (pre_event_handler): Replace complex key press and key release
12071         logic with simple callbacks into GtkComponentPeer.
12072         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
12073
12074 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
12075
12076         * javax/swing/MenuSelectionManager.java
12077         (componentForPoint): Added new method.
12078         (defaultManager): New Method. Implemented.
12079         (getSelectedPath): Ditto.
12080         (isComponentPartOfCurrentMenu): Ditto.
12081         (processKeyEvent): Added new method.
12082         (processMouseEvent): New Method. Implemented.
12083         (setSelectedPath): Ditto.
12084         (getPath): Ditto.
12085
12086 2004-04-19  Kim Ho  <kho@redhat.com>
12087
12088         * java/awt/Container.java:
12089         (remove): Set the component's parent to null.
12090         (getComponentAt): Implement.
12091         * javax/swing/JComponent.java:
12092         (JComponent): Initialize defaultLocale
12093         (getDefaultLocale): Implement.
12094         (setDefaultLocale): ditto.
12095         * javax/swing/JSlider.java:
12096         (JSlider): Fix calculation of value.
12097         * javax/swing/JSplitPane.java: Implement.
12098         * javax/swing/plaf/basic/BasicLookAndFeel.java:
12099         Change SplitPane's default divider size.
12100         * javax/swing/plaf/basic/BasicScrollBarUI.java:
12101         (paint): Remove unused code.
12102         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
12103         Added comments and ran through jalopy.
12104         (setBasicSplitPaneUI): Get reference to hidden divider
12105         and set up one touch buttons if necessary.
12106         (setBorder): Fire propertyChangeEvent only if
12107         borders are different.
12108         (getPreferredSize): Defer to layout manager.
12109         (propertyChange): Implement.
12110         (oneTouchExpandableChanged): ditto.
12111         (createLeftOneTouchButton): Use BasicArrowButton.
12112         (createRightOneTouchButton): ditto.
12113         (moveDividerTo): New method. Moves the divider
12114         to a set location based on the last divider location.
12115         (BasicSplitPaneDivider::MouseHandler): Implement.
12116         (BasicSplitPaneDivider::OneTouchButton): Removed.
12117         (BasicSplitPaneDivider::DragController): Implement.
12118         (BasicSplitPaneDivider::VerticalDragController):
12119         ditto.
12120         (BasicSplitPaneDivider::DividerLayout): ditto.
12121         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
12122         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
12123         (calculateLayoutInfo): Don't show component if it's
12124         null.
12125         (paintTab): Fix title paint logic.
12126
12127 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
12128
12129         PR libgcj/8321
12130         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
12131         (setStartRule,setEndRule): Don't take abs of day number.
12132         (getOffset): Clarify docs.  Add argument checks.
12133         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
12134         (equals,hasSameRules,toString,readObject): Use startTimeMode and
12135         endTimeMode.
12136         * testsuite/libjava.mauve/xfails
12137         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
12138
12139 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
12140
12141         Layout interfaces during preparation, not initialization.
12142         * java/lang/natClass.cc (initializeClass): Move
12143         _Jv_LayoutInterfaceMethods call...
12144         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
12145
12146 2004-05-19  Anthony Green  <green@localhost.localdomain>
12147
12148         * Makefile.am (awt_java_source_files): Remove javax.rmi and
12149         gnu.javax.rmi code.
12150         * Makefile.in: Rebuilt.
12151         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
12152         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
12153         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
12154         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
12155         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
12156         gnu/javax/rmi/CORBA/DelegateFactory.java,
12157         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
12158         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
12159         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
12160         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
12161         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
12162         gnu/javax/rmi/PortableServer.java: Remove files.
12163
12164 2004-05-19  Anthony Green  <green@redhat.com>
12165
12166         * Makefile.am: Define JAVA_EXT_DIRS.
12167         * Makefile.in: Rebuilt.
12168         * java/lang/natRuntime.cc (insertSystemProperties): Set
12169         java.ext.dirs property.
12170
12171 2004-05-16  Mark Wielaard  <mark@klomp.org>
12172
12173         * java/io/Writer.java (Writer(Object)): Check for null lock object.
12174
12175 2004-05-15  Mark Wielaard  <mark@klomp.org>
12176
12177         * doc/cni.sgml: Removed, merged into gcj.texi.
12178
12179 2004-05-15  Mark Wielaard  <mark@klomp.org>
12180
12181         * Makefile.am (ordinary_java_source_files): Add new javax.print
12182         classes.
12183         * Makefile.in: Regenerated.
12184
12185 2004-05-15  Michael Koch  <konqueror@gmx.de>
12186
12187         * javax/print/attribute/standard/DateTimeAtCompleted.java,
12188         javax/print/attribute/standard/DateTimeAtCreation.java,
12189         javax/print/attribute/standard/DateTimeAtProcessing.java,
12190         javax/print/attribute/standard/DocumentName.java,
12191         javax/print/attribute/standard/JobHoldUntil.java,
12192         javax/print/attribute/standard/JobImpressionsCompleted.java,
12193         javax/print/attribute/standard/JobMessageFromOperator.java,
12194         javax/print/attribute/standard/JobName.java,
12195         javax/print/attribute/standard/JobOriginatingUserName.java,
12196         javax/print/attribute/standard/JobPriority.java,
12197         javax/print/attribute/standard/JobPrioritySupported.java,
12198         javax/print/attribute/standard/NumberOfInterveningJobs.java,
12199         javax/print/attribute/standard/OutputDeviceAssigned.java,
12200         javax/print/attribute/standard/PrinterInfo.java,
12201         javax/print/attribute/standard/PrinterLocation.java,
12202         javax/print/attribute/standard/PrinterMakeAndModel.java,
12203         javax/print/attribute/standard/PrinterMessageFromOperator.java,
12204         javax/print/attribute/standard/PrinterName.java,
12205         javax/print/attribute/standard/QueuedJobCount.java,
12206         javax/print/attribute/standard/RequestingUserName.java:
12207         Fixed javadocs all over.
12208
12209 2004-05-15  Michael Koch  <konqueror@gmx.de>
12210
12211         * javax/print/DocFlavor.java,
12212         javax/print/attribute/standard/ColorSupported.java,
12213         javax/print/attribute/standard/Compression.java,
12214         javax/print/attribute/standard/CopiesSupported.java,
12215         javax/print/attribute/standard/Fidelity.java,
12216         javax/print/attribute/standard/Finishings.java,
12217         javax/print/attribute/standard/JobImpressionsSupported.java,
12218         javax/print/attribute/standard/JobKOctetsSupported.java,
12219         javax/print/attribute/standard/JobMediaSheetsSupported.java,
12220         javax/print/attribute/standard/JobSheets.java,
12221         javax/print/attribute/standard/JobState.java,
12222         javax/print/attribute/standard/JobStateReason.java,
12223         javax/print/attribute/standard/JobStateReasons.java,
12224         javax/print/attribute/standard/Media.java,
12225         javax/print/attribute/standard/MediaSizeName.java,
12226         javax/print/attribute/standard/MultipleDocumentHandling.java,
12227         javax/print/attribute/standard/NumberUpSupported.java,
12228         javax/print/attribute/standard/OrientationRequested.java,
12229         javax/print/attribute/standard/PDLOverrideSupported.java,
12230         javax/print/attribute/standard/PageRanges.java,
12231         javax/print/attribute/standard/PresentationDirection.java,
12232         javax/print/attribute/standard/PrintQuality.java,
12233         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
12234         javax/print/attribute/standard/PrinterMoreInfo.java,
12235         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
12236         javax/print/attribute/standard/PrinterResolution.java,
12237         javax/print/attribute/standard/PrinterState.java,
12238         javax/print/attribute/standard/PrinterStateReason.java,
12239         javax/print/attribute/standard/PrinterStateReasons.java,
12240         javax/print/attribute/standard/PrinterURI.java,
12241         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
12242         javax/print/attribute/standard/Severity.java,
12243         javax/print/attribute/standard/SheetCollate.java,
12244         javax/print/attribute/standard/Sides.java:
12245         Added serialVersionUID and removed final keyword where it doenst
12246         belong.
12247
12248 2004-05-15  Michael Koch  <konqueror@gmx.de>
12249
12250         * javax/print/PrintServiceLookup.java: New file.
12251
12252 2004-05-15  Michael Koch  <konqueror@gmx.de>
12253
12254         * javax/print/DocFlavor.java:
12255         Implemented all flavor classes.
12256
12257 2004-05-15  Michael Koch  <konqueror@gmx.de>
12258
12259         * javax/print/attribute/standard/ColorSupported.java,
12260         javax/print/attribute/standard/Compression.java,
12261         javax/print/attribute/standard/CopiesSupported.java,
12262         javax/print/attribute/standard/Fidelity.java,
12263         javax/print/attribute/standard/Finishings.java,
12264         javax/print/attribute/standard/JobImpressionsSupported.java,
12265         javax/print/attribute/standard/JobKOctetsSupported.java,
12266         javax/print/attribute/standard/JobMediaSheetsSupported.java,
12267         javax/print/attribute/standard/JobSheets.java,
12268         javax/print/attribute/standard/JobState.java,
12269         javax/print/attribute/standard/JobStateReason.java,
12270         javax/print/attribute/standard/JobStateReasons.java,
12271         javax/print/attribute/standard/Media.java,
12272         javax/print/attribute/standard/MediaSizeName.java,
12273         javax/print/attribute/standard/MultipleDocumentHandling.java,
12274         javax/print/attribute/standard/NumberUpSupported.java,
12275         javax/print/attribute/standard/OrientationRequested.java,
12276         javax/print/attribute/standard/PDLOverrideSupported.java,
12277         javax/print/attribute/standard/PageRanges.java,
12278         javax/print/attribute/standard/PresentationDirection.java,
12279         javax/print/attribute/standard/PrintQuality.java,
12280         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
12281         javax/print/attribute/standard/PrinterMoreInfo.java,
12282         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
12283         javax/print/attribute/standard/PrinterResolution.java,
12284         javax/print/attribute/standard/PrinterState.java,
12285         javax/print/attribute/standard/PrinterStateReason.java,
12286         javax/print/attribute/standard/PrinterStateReasons.java,
12287         javax/print/attribute/standard/PrinterURI.java,
12288         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
12289         javax/print/attribute/standard/Severity.java,
12290         javax/print/attribute/standard/SheetCollate.java,
12291         javax/print/attribute/standard/Sides.java: New files.
12292
12293 2004-05-15  Michael Koch  <konqueror@gmx.de>
12294
12295         * javax/print/Doc.java
12296         (getPrintData): Throws IOException.
12297         (getReaderForText): Likewise.
12298         (getStreamForBytes): Likewise.
12299         * javax/print/DocFlavor.java:
12300         Fixed filename in copyright.
12301         (serialVersionUID): New field.
12302         * javax/print/ServiceUIFactory.java:
12303         Made all constants final.
12304         * javax/print/AttributeException.java
12305         javax/print/MultiDoc.java
12306         javax/print/MultiDocPrintJob.java
12307         javax/print/MultiDocPrintService.java
12308         javax/print/StreamPrintService.java
12309         javax/print/URIException.java: New files.
12310         * javax/print/Makefile.am
12311         (EXTRA_DIST): Added all new files.
12312
12313 2004-05-15  Michael Koch  <konqueror@gmx.de>
12314
12315         * javax/print/attribute/standard/Copies.java,
12316         javax/print/attribute/standard/DateTimeAtCompleted.java,
12317         javax/print/attribute/standard/DateTimeAtCreation.java,
12318         javax/print/attribute/standard/DateTimeAtProcessing.java,
12319         javax/print/attribute/standard/DocumentName.java,
12320         javax/print/attribute/standard/JobHoldUntil.java,
12321         javax/print/attribute/standard/JobImpressions.java,
12322         javax/print/attribute/standard/JobImpressionsCompleted.java,
12323         javax/print/attribute/standard/JobKOctets.java,
12324         javax/print/attribute/standard/JobKOctetsProcessed.java,
12325         javax/print/attribute/standard/JobMediaSheets.java,
12326         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
12327         javax/print/attribute/standard/JobMessageFromOperator.java,
12328         javax/print/attribute/standard/JobName.java,
12329         javax/print/attribute/standard/JobOriginatingUserName.java,
12330         javax/print/attribute/standard/JobPriority.java,
12331         javax/print/attribute/standard/JobPrioritySupported.java,
12332         javax/print/attribute/standard/NumberOfDocuments.java,
12333         javax/print/attribute/standard/NumberOfInterveningJobs.java,
12334         javax/print/attribute/standard/NumberUp.java,
12335         javax/print/attribute/standard/OutputDeviceAssigned.java,
12336         javax/print/attribute/standard/PagesPerMinute.java,
12337         javax/print/attribute/standard/PagesPerMinuteColor.java:
12338         Fixed @return tag all over.
12339
12340 2004-05-15  Michael Koch  <konqueror@gmx.de>
12341
12342         * javax/print/attribute/AttributeSetUtilities.java
12343         (verifyCategoryForValue): Fixed typo in javadoc.
12344         * javax/print/attribute/HashAttributeSet.java
12345         (containsKey): Fixed @return tag.
12346         (comtainsValue): Likewise.
12347         (equals): Likewise.
12348         * javax/print/attribute/IntegerSyntax.java
12349         (equals): Likewise.
12350         * javax/print/attribute/ResolutionSyntax.java
12351         (equals): Likewise.
12352         (getCrossFeedResolution): Removed unused code.
12353         (getFeedResolution): Likewise.
12354         * javax/print/attribute/SetOfIntegerSyntax.java
12355         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
12356         (equals): Fixed @return tag.
12357         * javax/print/attribute/TextSyntax.java
12358         (TextSyntax): Take locale into account.
12359         (hashCode): Better implementation.
12360
12361 2004-05-15  Michael Koch  <konqueror@gmx.de>
12362
12363         * javax/print/CancelablePrintJob.java,
12364         javax/print/Doc.java,
12365         javax/print/DocFlavor.java,
12366         javax/print/DocPrintJob.java,
12367         javax/print/FlavorException.java,
12368         javax/print/PrintException.java,
12369         javax/print/PrintService.java,
12370         javax/print/ServiceUIFactory.java: New files.
12371
12372 2004-05-15  Mark Wielaard  <mark@klomp.org>
12373
12374         * gnu/regexp/CharIndexedReader.java: Removed.
12375         * gnu/regexp/REFilterReader.java: Likewise.
12376         * gnu/regexp/RETokenLookAhead.java: Likewise.
12377         * Makefile.am (ordinary_java_source_files): Remove above classes.
12378         * Makefile.in: Regenerated.
12379
12380 2004-05-14  Tom Tromey  <tromey@redhat.com>
12381
12382         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
12383         not `XGraphicsConfiguration.XOffScreenImage'.
12384
12385 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
12386
12387         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
12388
12389 2004-05-14  Steven Augart  <augart@watson.ibm.com>
12390
12391         * include/jni.h (_Jv_func): Removed.
12392         (struct JNINativeInterface): Use `void *' for reserved slots.
12393         (struct JNIInvokeInterface): Likewise.
12394
12395 2004-05-11  Michael Koch  <konqueror@gmx.de>
12396
12397         * gnu/java/net/natPlainSocketImplPosix.cc
12398         (read): Fixed typo in expression.
12399
12400 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
12401
12402         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
12403         ld_library_additions. Adjust all calls to libjava_invoke to match
12404         the new argument.
12405
12406         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
12407         path to cxxflagslist.
12408         Pass path of libstdc++ to libjava_invoke.
12409
12410         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
12411         libjava_invoke arguments.
12412
12413 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
12414
12415         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
12416         reality.
12417
12418 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
12419
12420         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
12421         main binary against the JNI shared library.
12422
12423 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
12424
12425         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
12426         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
12427         (SimpleTimeZone): Tweak docs.  Add new variation.
12428         (setStartRule,setEndRule): Add new variations.  Use
12429         startTimeMode and endTimeMode.
12430
12431 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
12432
12433         * java/util/Calendar.java (getActualMinimum,
12434         getActualMaximum):  Remove abstract.  Implement.
12435
12436 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
12437
12438         Run the jni tests using the interpreter.
12439         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
12440         options_cxx to shared lib compile command.
12441         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
12442         they are used to link the shared lib, not the main binary.
12443         Use libjava_invoke to run gij.
12444
12445 2004-05-06  Michael Koch  <konqueror@gmx.de>
12446
12447         * java/util/logging/Level.java
12448         (parse): Use == instead of String.equals().
12449
12450 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
12451
12452         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
12453         verify_field_signature and verify_method_signature, not
12454         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
12455         (_Jv_ClassReader::handleField): Likewise.
12456         (_Jv_ClassReader::handleMethod): Likewise.
12457
12458 2004-05-06  Michael Koch  <konqueror@gmx.de>
12459
12460         * javax/swing/table/TableColumn.java:
12461         Reformated.
12462
12463 2004-05-06  Michael Koch  <konqueror@gmx.de>
12464
12465         * javax/imageio/spi/ImageReaderWriterSpi.java
12466         (ImageReaderWriterSpi): Made it public.
12467         * javax/imageio/stream/ImageInputStream.java:
12468         Clean up imports.
12469
12470 2004-05-06  Michael Koch  <konqueror@gmx.de>
12471
12472         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12473         Removed empty line.
12474
12475 2004-05-06  Michael Koch  <konqueror@gmx.de>
12476
12477         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
12478         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
12479         New files.
12480         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
12481         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
12482         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
12483         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
12484         their own source file.
12485         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12486         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
12487         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
12488         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
12489         (create): Define variable on top of function.
12490         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
12491         (menu_pos): Prototyped.
12492         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12493         (setTitle): Removed.
12494         * jni/gtk-peer/gthread-jni.c
12495         (gdk_threads_wake): Removed.
12496         * Makefile.am (gtk_c_source_files): Added new files
12497         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
12498         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
12499         * Makefile.in: Regenerated.
12500
12501 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
12502
12503         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
12504         call.
12505
12506 2004-05-05  Mark Wielaard  <mark@klomp.org>
12507
12508         * javax/swing/AbstractButton.java: Replace special HTML entities with
12509         ASCII equivalent.
12510         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
12511         * javax/swing/DefaultButtonModel.java: Likewise.
12512         * javax/swing/DefaultListModel.java: Likewise.
12513         * javax/swing/JList.java: Likewise.
12514         * javax/swing/JSlider.java: Likewise.
12515         * javax/swing/ListModel.java: Likewise.
12516         * javax/swing/Popup.java: Likewise.
12517         * javax/swing/SwingUtilities.java: Likewise.
12518
12519 2004-05-05  Michael Koch  <konqueror@gmx.de>
12520
12521         * javax/swing/AbstractButton.java,
12522         javax/swing/ActionMap.java,
12523         javax/swing/DefaultButtonModel.java,
12524         javax/swing/DefaultListModel.java,
12525         javax/swing/ImageIcon.java,
12526         javax/swing/JComboBox.java,
12527         javax/swing/JComponent.java,
12528         javax/swing/JFrame.java,
12529         javax/swing/JInternalFrame.java,
12530         javax/swing/JMenuBar.java,
12531         javax/swing/JMenuItem.java,
12532         javax/swing/JOptionPane.java,
12533         javax/swing/JProgressBar.java,
12534         javax/swing/JRootPane.java,
12535         javax/swing/JScrollBar.java,
12536         javax/swing/JScrollPane.java,
12537         javax/swing/JSeparator.java,
12538         javax/swing/JSlider.java,
12539         javax/swing/JTabbedPane.java,
12540         javax/swing/JTable.java,
12541         javax/swing/JTextField.java,
12542         javax/swing/JToolBar.java,
12543         javax/swing/JToolTip.java,
12544         javax/swing/JTree.java,
12545         javax/swing/JViewport.java,
12546         javax/swing/JWindow.java,
12547         javax/swing/KeyStroke.java,
12548         javax/swing/LookAndFeel.java,
12549         javax/swing/SwingUtilities.java,
12550         javax/swing/Timer.java,
12551         javax/swing/ToolTipManager.java,
12552         javax/swing/UIDefaults.java,
12553         javax/swing/border/TitledBorder.java,
12554         javax/swing/filechooser/FileSystemView.java,
12555         javax/swing/plaf/basic/BasicButtonListener.java,
12556         javax/swing/plaf/basic/BasicButtonUI.java,
12557         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
12558         javax/swing/plaf/basic/BasicGraphicsUtils.java,
12559         javax/swing/plaf/basic/BasicLabelUI.java,
12560         javax/swing/plaf/basic/BasicMenuItemUI.java,
12561         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
12562         javax/swing/plaf/basic/BasicRootPaneUI.java,
12563         javax/swing/plaf/basic/BasicScrollBarUI.java,
12564         javax/swing/plaf/basic/BasicScrollPaneUI.java,
12565         javax/swing/plaf/basic/BasicSliderUI.java,
12566         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
12567         javax/swing/plaf/basic/BasicToggleButtonUI.java,
12568         javax/swing/table/JTableHeader.java,
12569         javax/swing/text/AbstractDocument.java,
12570         javax/swing/text/DefaultCaret.java,
12571         javax/swing/text/StyledEditorKit.java,
12572         javax/swing/tree/DefaultTreeCellEditor.java:
12573         Cleaned up imports.
12574
12575 2004-05-05  Michael Koch  <konqueror@gmx.de>
12576
12577         * java/util/prefs/AbstractPreferences.java
12578         (AbstractPreferences): Added parenthesis for clarity.
12579         Closes classpath bug #7940.
12580
12581 2004-05-05  Tom Tromey  <tromey@redhat.com>
12582
12583         * javax/naming/CompoundName.java (endsWith): Look at correct
12584         element of source name.
12585
12586 2004-05-05  Mark Wielaard  <mark@klomp.org>
12587
12588         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
12589         * java/util/HashMap.java (rehash): Add entry at start of bucket.
12590
12591 2004-05-05  Tom Tromey  <tromey@redhat.com>
12592
12593         * java/io/BufferedReader.java (skip): Removed unused
12594         variable.
12595
12596 2004-05-05  Michael Koch  <konqueror@gmx.de>
12597
12598         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
12599
12600 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
12601
12602         * java/text/AttributedString.java,
12603         java/text/AttributedStringIterator.java,
12604         java/text/Collator.java,
12605         java/text/DecimalFormatSymbols.java,
12606         java/text/NumberFormat.java,
12607         java/text/RuleBasedCollator.java:
12608         Cleaned up imports.
12609
12610 2004-05-05  Tom Tromey  <tromey@redhat.com>
12611
12612         * java/text/Format.java: Cleaned up imports.
12613         * java/text/DecimalFormat.java: Cleaned up imports.
12614         * java/security/SecureRandom.java: Cleaned up imports.
12615         (SecureRandom): Removed unused variable.
12616         * java/security/UnresolvedPermission.java: Cleaned up imports.
12617         * java/util/Date.java (parse): Removed unused variable.
12618         * java/util/ResourceBundle.java: Cleaned up imports.
12619         (getBundle): Removed unused variable.
12620         (tryBundle): Likewise.
12621         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
12622
12623 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
12624
12625         * java/text/SimpleDateFormat.java:
12626         (formatWithAttribute): New method. It implements
12627         the formatting process with attributes.
12628         (format): Use formatWithAttribute.
12629         (formatToCharacterIterator): New method. Use
12630         formatWithAttribute.
12631
12632 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
12633
12634         * java/text/MessageFormat.java:
12635         (class Field): New class.
12636         (formatToCharacterIterator): New method.
12637         (format): Use formatInternal now.
12638         (formatInternal): New method. String formatter should
12639         be done here (with attributes). Attributes merging supported.
12640         (parse): More documentation.
12641         (getFormatsByArgumentIndex): New method.
12642         (setFormatByArgumentIndex): New method.
12643         (setFormatsByArgumentIndex): New method.
12644
12645 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
12646
12647         * java/text/DecimalFormat.java
12648         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
12649         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
12650         (parse): Fixed handling of exponentiation notation and grouping.
12651
12652 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
12653
12654         * java/text/DecimalFormat.java
12655         (scanFix): Build attribute array. Fixed error reporting.
12656         (applyPatternWithSymbols): Store attributes for the prefix and
12657         suffix.
12658         (formatInternal): New method. Changed the way the string is
12659         computed. Implemented attributes. Cleant up rounding in
12660         exponential notation.
12661         (format): Use formatInternal.
12662         (formatToCharacterIterator): New method.
12663         (exponentRound, negativePrefixRanges, positivePrefixRanges,
12664         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
12665         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
12666         New fields.
12667
12668 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
12669
12670         * java/security/interfaces/DSAKeyPairGenerator.java,
12671         java/security/interfaces/DSAPrivateKey.java,
12672         java/security/interfaces/DSAPublicKey.java,
12673         java/security/interfaces/RSAPrivateKey.java,
12674         java/security/interfaces/RSAPublicKey.java:
12675         Cleaned up imports.
12676
12677 2004-05-04  Michael Koch  <konqueror@gmx.de>
12678
12679         * java/nio/ByteBuffer.java,
12680         java/nio/CharBuffer.java,
12681         java/nio/DoubleBuffer.java,
12682         java/nio/FloatBuffer.java,
12683         java/nio/IntBuffer.java,
12684         java/nio/LongBuffer.java,
12685         java/nio/ShortBuffer.java:
12686         (compareTo): Fixed bogus implementation in all buffer classes.
12687
12688 2004-05-04  Ingo Proetel  <proetel@aicas.com>
12689
12690         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
12691         32 bit pixels not 8 bit pixels.
12692         (isCompatibleRaster): Added javadoc comment.
12693
12694 2004-05-04  Ingo Proetel  <proetel@aicas.com>
12695
12696         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
12697         scanline stride.
12698
12699 2004-05-04  Ingo Proetel  <proetel@aicas.com>
12700
12701         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
12702         (getColorModel): Return the actual color model.
12703         (getRaster): Implemented.
12704         (ColorRaster): New inner class.
12705         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
12706         a PaintContext.
12707         * java/awt/Color.java (<init>): Make exception more verbose.
12708         (createContext): Use ColorModel when creating a PaintContext.
12709
12710 2004-05-04  Michael Koch  <konqueror@gmx.de>
12711
12712         * gnu/java/text/CharacterBreakIterator.java
12713         (previous): Removed unused variable.
12714
12715 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
12716
12717         * gnu/java/text/FormatBuffer.java,
12718         gnu/java/text/AttributedFormatBuffer.java,
12719         gnu/java/text/StringFormatBuffer.java: New classes to implement
12720         attributed iterators in java.text.
12721         * gnu/java/text/FormatCharacterIterator.java: Moved
12722         from java/text as it is an internal class.
12723         * java/text/FormatCharacterIterator.java: Removed.
12724         * java/text/Format.java:
12725         Import gnu.java.text.FormatCharacterIterator.
12726         * Makefile.am (java_source_files): Added new files.
12727         * Makefile.in: Regenerated.
12728
12729
12730 2004-05-04  Mark Wielaard  <mark@klomp.org>
12731
12732         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
12733
12734 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
12735
12736         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
12737         * Makefile.in: Rebuilt.
12738
12739 2004-05-03  Mark Wielaard  <mark@klomp.org>
12740
12741         * gnu/java/security/der/DERReader.java: Call static methods staticly.
12742         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
12743         * java/net/URL.java
12744         (set(String, String, int, String, String, String, String, String)):
12745         Assign this.file to path or path + "?" + query.
12746         * java/util/Arrays.java: Call static methods staticly.
12747         * java/util/zip/ZipEntry.java: Likewise.
12748         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
12749         dir to this.direction.
12750         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
12751         Assign static field only once.
12752         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
12753
12754 2004-05-03  Mark Wielaard  <mark@klomp.org>
12755
12756         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
12757         unused variables hScrollbarHeight and vScrollbarWidth.
12758         (preferredSize): Likewise.
12759         * gnu/java/security/provider/DSAParameters.java (engineToString):
12760         Removed unused call to System.getProperty("line.seperator");
12761         * java/security/Security.java (loadProviders): Return result.
12762
12763 2004-05-03  Tom Tromey  <tromey@redhat.com>
12764
12765         * java/net/URLStreamHandler.java (toExternalForm): Removed
12766         unused variables.
12767         unused constructor.
12768         * java/math/BigDecimal.java (divide): Removed unused variable.
12769         * java/lang/Throwable.java: Cleaned up imports.
12770         * java/lang/ClassLoader.java: Cleaned up imports.
12771         * java/io/FilePermission.java (implies): Removed unused
12772         variable.
12773         * java/awt/TextComponent.java: Removed unused import.
12774         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
12775         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
12776         * gnu/java/text/WordBreakIterator.java: Removed unused import.
12777         * gnu/java/text/SentenceBreakIterator.java: Removed unused
12778         import.
12779         * gnu/java/text/LineBreakIterator.java: Removed unused import.
12780         * gnu/java/text/CharacterBreakIterator.java: Removed
12781         unused import.
12782         * gnu/java/security/provider/DSAKeyPairGenerator.java:
12783         Cleaned up imports.
12784         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
12785         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
12786         unused method.
12787         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
12788         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
12789         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
12790         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
12791         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
12792         (lookupProviders): Removed unused variable.
12793         (loadNextServiceProvider): Likewise.
12794         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
12795
12796 2004-05-03  Michael Koch  <konqueror@gmx.de>
12797
12798         Fixes PR libgcj/14695:
12799         * java/net/NetworkInterface.java
12800         (getByName): Return null when no interface was found.
12801
12802 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
12803             Tom Tromey  <tromey@redhat.com>
12804
12805         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
12806         additional option "-Wmissing-prototypes" for compiling C sources.
12807         Print actual filename for pass/fail rather than $name.c.
12808         * testsuite/libjava.jni/PR15133.java: New testcase file.
12809         * testsuite/libjava.jni/PR15133.c: Likewise.
12810         * testsuite/libjava.jni/PR15133.out: Likewise.
12811
12812 2004-04-30  Roger Sayle  <roger@eyesopen.com>
12813
12814         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
12815         ceil and floor.
12816
12817 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
12818
12819         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
12820         limit the maximum heap size to avoid unnecessary thrashing.
12821
12822 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
12823
12824         * java/text/CollationElementIterator.java (reset): Reset
12825         lookahead variables.
12826
12827 2004-04-23  Mark Wielaard  <mark@klomp.org>
12828
12829         * jni/classpath/jcl.c: Changed C++ comments into C comments.
12830
12831 2004-04-23 Dalibor Topic <robilad@kaffe.org>
12832
12833         * java/sql/DriverManager.java:
12834         Cleaned up imports.
12835
12836 2004-04-23  Michael Koch  <konqueror@gmx.de>
12837
12838         * java/net/URL.java
12839         (hashcode): Don't initialize with default value explicitely.
12840         (getContent): Removed redundant "final" keyword.
12841         (openStream): Likewise.
12842         (getURLStreamHandler): Fixed coding style.
12843         * java/net/URLConnection.java
12844         (defaultAllowUserInteraction): Don't initialize with default value
12845         explicitely.
12846         (connected): Likewise.
12847         (doOutput): Likewise.
12848         (ifModifiedSince): Likewise.
12849         (dateformats_initialized): Likewise.
12850         (setURLStreamHander): Use StreamTokenizer where it belongs to.
12851
12852 2004-04-23  Michael Koch  <konqueror@gmx.de>
12853
12854         * gnu/java/nio/channels/FileChannelImpl.java
12855         (SET, CUR): Unused, removed.
12856         (read): Implement here directly.
12857         (implRead): Removed.
12858         (write): Implement here directly.
12859         (implWrite): Removed.
12860
12861 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
12862
12863         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
12864         javax/rmi/CORBA/Stub.java,
12865         javax/rmi/CORBA/Util.java,
12866         javax/rmi/CORBA/ValueHandler.java,
12867         javax/rmi/CORBA/ValueHandler.java,
12868         javax/rmi/PortableRemoteObject.java:
12869         Cleaned up imports.
12870
12871 2004-04-23 Dalibor Topic <robilad@kaffe.org>
12872
12873         * java/util/jar/JarFile.java,
12874         java/util/jar/JarInputStream.java,
12875         java/util/jar/JarOutputStream.java,
12876         java/util/jar/Manifest.java:
12877         Cleaned up imports.
12878
12879 2004-04-23 Dalibor Topic <robilad@kaffe.org>
12880
12881         * java/util/ArrayList.java,
12882         java/util/Calendar.java,
12883         java/util/Currency.java,
12884         java/util/HashMap.java,
12885         java/util/HashSet.java,
12886         java/util/Hashtable.java,
12887         java/util/LinkedList.java,
12888         java/util/Properties.java,
12889         java/util/PropertyPermission.java,
12890         java/util/TimeZone.java,
12891         java/util/TreeMap.java,
12892         java/util/TreeSet.java,
12893         java/util/Vector.java,
12894         java/util/WeakHashMap.java:
12895         Cleaned up imports.
12896
12897 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
12898
12899         * java/util/logging/FileHandler.java,
12900         java/util/logging/Formatter.java,
12901         java/util/logging/Handler.java,
12902         java/util/logging/Logger.java,
12903         java/util/logging/SimpleFormatter.java,
12904         java/util/logging/XMLFormatter.java:
12905         Cleaned up imports.
12906
12907 2004-04-22  Mark Wielaard  <mark@klomp.org>
12908
12909         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
12910         -Wno-long-long flags variable.
12911         (gtk_c_files): Use PEDANTIC_CFLAGS.
12912         * Makefile.in: Regenerated.
12913
12914 2004-04-22  Mark Wielaard  <mark@klomp.org>
12915
12916         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12917         Changed C++ comments into C comments.
12918         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
12919         Likewise.
12920
12921 2004-04-22  Michael Koch  <konqueror@gmx.de>
12922
12923         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
12924         Merged copyright year with GNU classpath.
12925
12926 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12927
12928         * javax/security/auth/x500/X500Principal.java:
12929         Cleaned up imports.
12930
12931 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12932
12933         * javax/swing/JSlider.java:
12934         Fixed HTML tags in comments.
12935
12936 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12937
12938         * javax/accessibility/AccessibleText.java:
12939         Cleaned up imports.
12940
12941 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
12942
12943         * java/net/URLStreamHandler.java
12944         (parseURL): Convert the file path to using '/' instead of native
12945         file separator.
12946
12947 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
12948
12949         * java/net/URL.java
12950         (userInfo): New field.
12951         (URL): Set authority to the right value.
12952         (setURL): Fixed authority and file initialization.
12953         * java/net/URLStreamHandler.java
12954         (parseURL): Take care of the query tag. Build authority.
12955         (toExternalForm): Fixed URL building using authority.
12956
12957 2004-04-22  Michael Koch  <konqueror@gmx.de>
12958
12959         * java/net/Socket.java
12960         (impl): Made package-private.
12961         * java/net/ServerSocket.java
12962         (implAccept): Access Socket.impl field directly.
12963
12964 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12965
12966         * java/util/prefs/Preferences.java,
12967         java/util/prefs/InvalidPreferencesFormatException.java,
12968         java/util/prefs/BackingStoreException.java,
12969         java/util/prefs/AbstractPreferences.java:
12970         Cleaned up imports.
12971
12972 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
12973
12974         * java/util/regex/Matcher.java,
12975         java/util/regex/Pattern.java:
12976         Cleaned up imports.
12977
12978 2004-04-22  Michael Koch  <konqueror@gmx.de>
12979
12980         * java/nio/charset/IllegalCharsetNameException.java
12981         (charsetName): Made private.
12982         (IllegalCharsetNameException): Added @param tag to javadoc.
12983         (getCharsetName): Added @return tag to javadoc.
12984         * java/nio/charset/MalformedInputException.java
12985         (MalformedInputException): Added @param tag to javadoc.
12986         (getInputLength): Revised method description, added @return tag.
12987         (getMessage): Added @return tag.
12988
12989 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
12990
12991         * java/awt/Font.java (deriveFont): Implement missing variants.
12992         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
12993         missing variants.
12994
12995 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
12996
12997         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
12998         Set method->index values for interface methods to their itable index.
12999         (initializeClass): Call _Jv_LayoutInterfaceMethods.
13000
13001 2004-04-21  Michael Koch  <konqueror@gmx.de>
13002
13003         * java/nio/DirectByteBufferImpl.java
13004         (shiftDown): Made static, give address as argument and
13005         provide a convenience method that overwrites shiftDown in
13006         ByteBufferImpl and calls the native shiftDown.
13007         * java/nio/MappedByteBufferImpl.java
13008         (): Use optimized method in DirectByteBufferImpl.
13009         * java/nio/natDirectByteBufferImpl.cc
13010         (shiftDown): Changed method signature. Removed usage of array_offset.
13011
13012 2004-04-21  Michael Koch  <konqueror@gmx.de>
13013
13014         * gnu/java/net/natPlainSocketImplPosix.cc
13015         (SocketInputStream::read): Make sure returned data is a byte value.
13016
13017 2004-04-21  Michael Koch  <konqueror@gmx.de>
13018
13019         * gnu/classpath/ServiceFactory.java,
13020         gnu/classpath/ServiceProviderLoadingAction.java,
13021         javax/imageio/ImageReader.java,
13022         javax/imageio/ImageTranscoder.java,
13023         javax/imageio/ImageWriter.java,
13024         javax/imageio/package.html,
13025         javax/imageio/spi/IIOServiceProvider.java,
13026         javax/imageio/spi/ImageInputStreamSpi.java,
13027         javax/imageio/spi/ImageOutputStreamSpi.java,
13028         javax/imageio/spi/ImageReaderWriterSpi.java,
13029         javax/imageio/spi/ImageTranscoderSpi.java,
13030         javax/imageio/spi/RegisterableService.java,
13031         javax/imageio/spi/ServiceRegistry.java,
13032         javax/imageio/spi/package.html,
13033         javax/imageio/stream/IIOByteBuffer.java,
13034         javax/imageio/stream/ImageInputStream.java,
13035         javax/imageio/stream/ImageOutputStream.java,
13036         javax/imageio/stream/package.html:
13037         New files.
13038         * Makefile.am
13039         (ordinary_java_source_files): Added
13040         gnu/classpath/ServiceFactory.java and
13041         gnu/classpath/ServiceProviderLoadingAction.java.
13042         (javax_source_files): Added
13043         javax/imageio/ImageReader.java,
13044         javax/imageio/ImageTranscoder.java,
13045         javax/imageio/ImageWriter.java,
13046         javax/imageio/spi/IIOServiceProvider.java,
13047         javax/imageio/spi/ImageInputStreamSpi.java,
13048         javax/imageio/spi/ImageOutputStreamSpi.java,
13049         javax/imageio/spi/ImageReaderWriterSpi.java,
13050         javax/imageio/spi/ImageTranscoderSpi.java,
13051         javax/imageio/spi/RegisterableService.java,
13052         javax/imageio/spi/ServiceRegistry.java,
13053         javax/imageio/stream/IIOByteBuffer.java,
13054         javax/imageio/stream/ImageInputStream.java and
13055         javax/imageio/stream/ImageOutputStream.java.
13056         * Makefile.in: Regenerated.
13057
13058 2004-04-21  Michael Koch  <konqueror@gmx.de>
13059
13060         * java/util/Properties.java
13061         (load): Fix wrongly merged fix.
13062
13063 2004-04-21  Mark Wielaard  <mark@klomp.org>
13064
13065         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
13066         malloc and free buf.
13067
13068 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
13069
13070         * javax/naming/AuthenticationException.java,
13071         javax/naming/AuthenticationNotSupportedException.java,
13072         javax/naming/CannotProceedException.java,
13073         javax/naming/CommunicationException.java,
13074         javax/naming/CompoundName.java,
13075         javax/naming/ConfigurationException.java,
13076         javax/naming/ContextNotEmptyException.java,
13077         javax/naming/InitialContext.java,
13078         javax/naming/InsufficientResourcesException.java,
13079         javax/naming/InterruptedNamingException.java,
13080         javax/naming/LimitExceededException.java,
13081         javax/naming/LinkException.java,
13082         javax/naming/LinkLoopException.java,
13083         javax/naming/LinkRef.java,
13084         javax/naming/MalformedLinkException.java,
13085         javax/naming/Name.java,
13086         javax/naming/NameAlreadyBoundException.java,
13087         javax/naming/NameNotFoundException.java,
13088         javax/naming/NamingSecurityException.java,
13089         javax/naming/NoInitialContextException.java,
13090         javax/naming/NoPermissionException.java,
13091         javax/naming/NotContextException.java,
13092         javax/naming/PartialResultException.java,
13093         javax/naming/ReferralException.java,
13094         javax/naming/ServiceUnavailableException.java,
13095         javax/naming/SizeLimitExceededException.java,
13096         javax/naming/TimeLimitExceededException.java,
13097         javax/naming/directory/Attribute.java,
13098         javax/naming/directory/Attributes.java,
13099         javax/naming/directory/SearchResult.java,
13100         javax/naming/event/NamingExceptionEvent.java,
13101         javax/naming/spi/ResolveResult.java:
13102         Cleaned up imports.
13103
13104 2004-04-21  Mark Wielaard  <mark@klomp.org>
13105
13106         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
13107         Changed C++ comments into C comments. Removed commented out code.
13108         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
13109         Likewise.
13110         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
13111         Likewise.
13112         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
13113         Likewise.
13114         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
13115         Likewise.
13116         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
13117         Likewise.
13118         * native/jni/gtk-peer/gthread-jni.c:
13119         Likewise.
13120
13121 2004-04-21  Mark Wielaard  <mark@klomp.org>
13122
13123         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
13124         static fields defined in interface.
13125         * javax/awt/JDialog.java: Likewise.
13126         (JDialog): Make constructors public.
13127         (getDefaultCloseOperation): Make public.
13128         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
13129         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
13130         * javax/swing/JViewport.java (JViewport): Make constructor public.
13131
13132 2004-04-21  Michael Koch  <konqueror@gmx.de>
13133
13134         * java/util/Map.java
13135         (Entry): Removed redundant "static" modifier.
13136         * java/text/AttributedCharacterIterator.java:
13137         Updated copyright year.
13138
13139 2004-04-20  Michael Koch  <konqueror@gmx.de>
13140
13141         * javax/naming/directory/SearchControls.java:
13142         Don't explicitely extend java.lang.Object.
13143         * javax/naming/spi/DirStateFactory.java:
13144         Merged copyright year with GNU classpath.
13145
13146 2004-04-20  Michael Koch  <konqueror@gmx.de>
13147
13148         * java/nio/channels/Channels.java:
13149         Merged coding style with GNU classpath.
13150
13151 2004-04-20  Michael Koch  <konqueror@gmx.de>
13152
13153         * java/net/ServerSocket.java
13154         Merged coding style from GNU classpath.
13155
13156 2004-04-20  Michael Koch  <konqueror@gmx.de>
13157
13158         * java/io/BufferedWriter.java:
13159         Reordered variables to be at top of the class.
13160         (localFlush): Removed redundant final keyword.
13161
13162 2004-04-20  Ingo Proetel  <proetel@aicas.com>
13163
13164         * java/awt/event/MouseEvent.java (<init>): fixed field assignment
13165
13166 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
13167
13168         * java/text/DecimalFormat.java (scanFix): Removed suffix check
13169         for percent and permill check.
13170
13171 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
13172
13173         * java/text/FieldPosition.java
13174         (FieldPosition) Constructor now behaves as it should according
13175         to the java documentation.
13176
13177 2004-04-20  Mark Wielaard  <mark@klomp.org>
13178
13179         * java/util/Properties.java: Use the word umlaut, not &auml; in api
13180         documentation.
13181
13182 2004-04-20  Michael Koch  <konqueror@gmx.de>
13183
13184         * java/nio/Buffer.java,
13185         java/nio/channels/AlreadyConnectedException.java,
13186         java/nio/channels/AsynchronousCloseException.java,
13187         java/nio/channels/ByteChannel.java,
13188         java/nio/channels/CancelledKeyException.java,
13189         java/nio/channels/Channel.java,
13190         java/nio/channels/Channels.java,
13191         java/nio/channels/ClosedByInterruptException.java,
13192         java/nio/channels/ClosedChannelException.java,
13193         java/nio/channels/ClosedSelectorException.java,
13194         java/nio/channels/ConnectionPendingException.java,
13195         java/nio/channels/DatagramChannel.java,
13196         java/nio/channels/FileChannel.java,
13197         java/nio/channels/FileLock.java,
13198         java/nio/channels/FileLockInterruptionException.java,
13199         java/nio/channels/GatheringByteChannel.java,
13200         java/nio/channels/IllegalBlockingModeException.java,
13201         java/nio/channels/IllegalSelectorException.java,
13202         java/nio/channels/InterruptibleChannel.java,
13203         java/nio/channels/NoConnectionPendingException.java,
13204         java/nio/channels/NonReadableChannelException.java,
13205         java/nio/channels/NonWritableChannelException.java,
13206         java/nio/channels/NotYetBoundException.java,
13207         java/nio/channels/NotYetConnectedException.java,
13208         java/nio/channels/OverlappingFileLockException.java,
13209         java/nio/channels/Pipe.java,
13210         java/nio/channels/ReadableByteChannel.java,
13211         java/nio/channels/ScatteringByteChannel.java,
13212         java/nio/channels/SelectableChannel.java,
13213         java/nio/channels/SelectionKey.java,
13214         java/nio/channels/Selector.java,
13215         java/nio/channels/ServerSocketChannel.java,
13216         java/nio/channels/SocketChannel.java,
13217         java/nio/channels/UnresolvedAddressException.java,
13218         java/nio/channels/UnsupportedAddressTypeException.java,
13219         java/nio/channels/WritableByteChannel.java,
13220         java/nio/channels/spi/AbstractInterruptibleChannel.java,
13221         java/nio/channels/spi/AbstractSelectableChannel.java,
13222         java/nio/channels/spi/AbstractSelectionKey.java,
13223         java/nio/channels/spi/AbstractSelector.java,
13224         java/nio/channels/spi/SelectorProvider.java,
13225         java/nio/charset/spi/CharsetProvider.java:
13226         Fixed javadocs and jalopied all over java.nio.
13227
13228 2004-04-20  Michael Koch  <konqueror@gmx.de>
13229
13230         * java/nio/ByteBufferImpl.java,
13231         java/nio/CharBufferImpl.java,
13232         java/nio/DirectByteBufferImpl.java,
13233         java/nio/DoubleBufferImpl.java,
13234         java/nio/DoubleViewBufferImpl.java,
13235         java/nio/FloatBufferImpl.java,
13236         java/nio/FloatViewBufferImpl.java,
13237         java/nio/IntBufferImpl.java,
13238         java/nio/IntViewBufferImpl.java,
13239         java/nio/LongBufferImpl.java,
13240         java/nio/LongViewBufferImpl.java,
13241         java/nio/MappedByteBufferImpl.java,
13242         java/nio/ShortBufferImpl.java,
13243         java/nio/ShortViewBufferImpl.java:
13244         Made sure all classes are final and removed final keyword from all
13245         methods.
13246
13247 2004-04-20  Michael Koch  <konqueror@gmx.de>
13248
13249         * java/rmi/MarshalledObject.java,
13250         java/rmi/Naming.java,
13251         java/rmi/RemoteException.java,
13252         java/rmi/activation/ActivationException.java,
13253         java/rmi/server/ServerCloneException.java,
13254         java/security/AccessController.java,
13255         java/security/AlgorithmParameterGenerator.java,
13256         java/security/AlgorithmParameters.java,
13257         java/security/CodeSource.java,
13258         java/security/Identity.java,
13259         java/security/IdentityScope.java,
13260         java/security/KeyPairGenerator.java,
13261         java/security/KeyStore.java,
13262         java/security/Security.java,
13263         java/security/Signature.java,
13264         java/security/SignatureSpi.java,
13265         java/security/SignedObject.java,
13266         java/security/spec/DSAParameterSpec.java,
13267         java/security/spec/DSAPrivateKeySpec.java,
13268         java/security/spec/DSAPublicKeySpec.java,
13269         java/sql/Array.java,
13270         java/sql/DatabaseMetaData.java,
13271         java/sql/ResultSet.java,
13272         java/text/ChoiceFormat.java,
13273         java/text/CollationElementIterator.java,
13274         java/text/CollationKey.java,
13275         java/text/Collator.java,
13276         java/text/DateFormat.java,
13277         java/text/DateFormatSymbols.java,
13278         java/text/DecimalFormatSymbols.java,
13279         java/text/Format.java,
13280         java/text/ParsePosition.java,
13281         java/text/RuleBasedCollator.java,
13282         java/text/SimpleDateFormat.java,
13283         java/text/StringCharacterIterator.java,
13284         java/util/Collections.java,
13285         java/util/PropertyResourceBundle.java,
13286         java/util/ResourceBundle.java,
13287         java/util/StringTokenizer.java,
13288         java/util/jar/Attributes.java,
13289         java/util/logging/ConsoleHandler.java,
13290         java/util/logging/LogManager.java,
13291         java/util/logging/MemoryHandler.java,
13292         java/util/logging/SocketHandler.java,
13293         javax/naming/NamingException.java:
13294         Fixed javadoc, coding style and argument names all over.
13295
13296 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
13297
13298         * java/io/FileDescriptor.java: (FileDescriptor) Added public
13299         constructor. (valid) Added null check.
13300
13301 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
13302
13303         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
13304         * java/io/FileOutputStream.java
13305         (FileOutputStream) Reorganized constructors. Constructors now
13306         check whether the given path is directory.
13307
13308 2004-04-20  Michael Koch  <konqueror@gmx.de>
13309
13310         * java/net/Authenticator.java,
13311         java/net/BindException.java,
13312         java/net/ConnectException.java,
13313         java/net/ContentHandler.java,
13314         java/net/ContentHandlerFactory.java,
13315         java/net/DatagramPacket.java,
13316         java/net/DatagramSocket.java,
13317         java/net/DatagramSocketImpl.java,
13318         java/net/DatagramSocketImplFactory.java,
13319         java/net/FileNameMap.java,
13320         java/net/HttpURLConnection.java,
13321         java/net/Inet4Address.java,
13322         java/net/Inet6Address.java,
13323         java/net/InetAddress.java,
13324         java/net/InetSocketAddress.java,
13325         java/net/JarURLConnection.java,
13326         java/net/MalformedURLException.java,
13327         java/net/MulticastSocket.java,
13328         java/net/NetPermission.java,
13329         java/net/NetworkInterface.java,
13330         java/net/NoRouteToHostException.java,
13331         java/net/PasswordAuthentication.java,
13332         java/net/PortUnreachableException.java,
13333         java/net/ProtocolException.java,
13334         java/net/ServerSocket.java,
13335         java/net/Socket.java,
13336         java/net/SocketAddress.java,
13337         java/net/SocketException.java,
13338         java/net/SocketImpl.java,
13339         java/net/SocketImplFactory.java,
13340         java/net/SocketOptions.java,
13341         java/net/SocketPermission.java,
13342         java/net/SocketTimeoutException.java,
13343         java/net/URI.java,
13344         java/net/URISyntaxException.java,
13345         java/net/URL.java,
13346         java/net/URLClassLoader.java,
13347         java/net/URLConnection.java,
13348         java/net/URLDecoder.java,
13349         java/net/URLEncoder.java,
13350         java/net/URLStreamHandler.java,
13351         java/net/URLStreamHandlerFactory.java,
13352         java/net/UnknownHostException.java,
13353         java/net/UnknownServiceException.java:
13354         Fixed javadocs, coding style and argument names all over.
13355
13356 2004-04-20  Michael Koch  <konqueror@gmx.de>
13357
13358         * java/lang/Byte.java,
13359         java/lang/CharSequence.java,
13360         java/lang/ClassLoader.java,
13361         java/lang/Compiler.java,
13362         java/lang/Double.java,
13363         java/lang/Float.java,
13364         java/lang/Integer.java,
13365         java/lang/Long.java,
13366         java/lang/Math.java,
13367         java/lang/Number.java,
13368         java/lang/Package.java,
13369         java/lang/Runtime.java,
13370         java/lang/RuntimePermission.java,
13371         java/lang/SecurityManager.java,
13372         java/lang/Short.java,
13373         java/lang/StringBuffer.java,
13374         java/lang/System.java,
13375         java/lang/ThreadGroup.java,
13376         java/lang/Throwable.java,
13377         java/lang/reflect/InvocationHandler.java,
13378         java/lang/reflect/Proxy.java:
13379         Fixed javadocs, coding style and argument names all over.
13380
13381 2004-04-20  Michael Koch  <konqueror@gmx.de>
13382
13383         * java/io/BufferedWriter.java,
13384         java/io/ByteArrayInputStream.java,
13385         java/io/CharArrayWriter.java,
13386         java/io/DataInput.java,
13387         java/io/DataInputStream.java,
13388         java/io/File.java,
13389         java/io/FilterInputStream.java,
13390         java/io/InputStream.java,
13391         java/io/InputStreamReader.java,
13392         java/io/ObjectInputStream.java,
13393         java/io/ObjectStreamClass.java,
13394         java/io/PipedInputStream.java,
13395         java/io/PipedReader.java,
13396         java/io/PushbackInputStream.java,
13397         java/io/PushbackReader.java,
13398         java/io/RandomAccessFile.java,
13399         java/io/SerializablePermission.java,
13400         java/io/StreamTokenizer.java,
13401         java/io/StringWriter.java,
13402         java/io/WriteAbortedException.java,
13403         java/io/Writer.java:
13404         Fixed javadocs all over, rename arguments to match javadocs,
13405         fixed coding style.
13406
13407 2004-04-20  Ingo Proetel  <proetel@aicas.com>
13408
13409         * java/awt/FontMetrics.java:
13410         (charsWidth): fixed accumulation of total_width
13411         (getWidth): simple default implementation
13412         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
13413         in Rectangle constructor.
13414         * java/awt/image/Raster.java (toString): Added method.
13415         * java/awt/image/SampleModel.java (<init>): Added error cause
13416         information to thrown exception.
13417         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
13418         New method.
13419         (setDataElements): New method.
13420         (setPixels): New method.
13421         (toString): New method.
13422
13423 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
13424
13425         * java/awt/image/ComponentColorModel.java
13426         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
13427         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
13428         Mauve tests on this method. Improved documentation.
13429
13430 2004-04-20  Michael Koch  <konqueror@gmx.de>
13431
13432         * javax/swing/JLayeredPane.java,
13433         javax/swing/plaf/BorderUIResource.java,
13434         javax/swing/plaf/ComponentUI.java,
13435         javax/swing/undo/CompoundEdit.java,
13436         javax/swing/undo/StateEdit.java:
13437         Fixed HTML tags in javadocs all over.
13438
13439 2004-04-20  Michael Koch  <konqueror@gmx.de>
13440
13441         * javax/print/attribute/EnumSyntax.java
13442         (getOffset): Made protected.
13443         * javax/print/attribute/HashAttributeSet.java
13444         (HashAttributeSet): Likewise.
13445         * javax/print/attribute/ResolutionSyntax.java
13446         (getFeedResolution): Fixed typo in exception name.
13447         (getCrossFeedResolution): Likewise.
13448         * javax/print/attribute/SetOfIntegerSyntax.java
13449         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
13450         * javax/print/attribute/TextSyntax.java
13451         (TextSyntax): Handle locale correctly.
13452         (hashCode): Calc better hashcode value.
13453         (equals): Fixed @return tag.
13454         (toString): New method.
13455
13456 2004-04-20  Michael Koch  <konqueror@gmx.de>
13457
13458         * gnu/java/nio/FileLockImpl.java
13459         (static): Removed, not needed anymore.
13460         * gnu/java/nio/channels/FileChannelImpl.java
13461         (FileChannelImpl): Made final.
13462         (mode): Made private.
13463         (READ, WRITE, APPEND): Made public.
13464         (EXCL, SYNC, DSYNC): Likewise.
13465         (static): Load native JNI library, when needed.
13466         (length): Unused, removed.
13467         (available): Made public.
13468         (implPosition): Throws IOException.
13469         (seek): Likewise.
13470         (implTruncate): Likewise.
13471         (unlock): Likewise.
13472         (lock): Likewise.
13473
13474 2004-04-20  Michael Koch  <konqueror@gmx.de>
13475
13476         * java/awt/AWTPermission.java,
13477         java/awt/Component.java,
13478         java/awt/ComponentOrientation.java,,
13479         java/awt/Dialog.java,
13480         java/awt/FontMetrics.java,
13481         java/awt/Graphics.java,
13482         java/awt/datatransfer/DataFlavor.java,
13483         java/beans/Introspector.java,
13484         java/beans/PropertyEditor.java,
13485         java/beans/PropertyEditorManager.java,
13486         java/beans/beancontext/BeanContextServiceProvider.java:
13487         Fixed HTML tags in javadocs all over.
13488
13489 2004-04-20  Mark Wielaard  <mark@klomp.org>
13490
13491         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
13492         MissingResourceException is thrown.
13493         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
13494         null when a MissingResourceException is thrown. Should never happen.
13495
13496 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
13497
13498         * java/awt/image/DataBufferShort.java,
13499         java/awt/image/DataBufferFloat.java,
13500         java/awt/image/DataBufferDouble.java,
13501         java/awt/image/PixelInterleavedSampleModel.java: New files.
13502         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
13503         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
13504
13505 2004-04-20  Michael Koch  <konqueror@gmx.de>
13506
13507         * Makefile.am (java_source_files): Added
13508         java/awt/image/DataBufferDouble.java,
13509         java/awt/image/DataBufferFloat.java,
13510         java/awt/image/DataBufferShort.java and
13511         java/awt/image/PixelInterleavedSampleModel.java.
13512         * Makefile.in: Regenerated.
13513
13514 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
13515
13516         * gcj/cni.h (JvAllocObject): Remove these obsolete,
13517         undocumented CNI calls.
13518         * include/java-interp.h (_Jv_InterpClass): No longer
13519         extends java.lang.Class.
13520         * java/lang/Class.h (Class): Add new field `aux_info'.
13521         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
13522         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
13523         Use Class->aux_info instead.
13524         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
13525         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
13526         Use Class->aux_info instead.
13527         * java/io/natObjectInputStream.cc (allocateObject): Use
13528         _Jv_AllocObject.
13529         * java/lang/natClass.cc (newInstance): Likewise.
13530         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
13531         * java/lang/natObject.cc (clone): Likewise.
13532         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
13533         * java/lang/natVMClassLoader.cc (defineClass): Don't use
13534         JvAllocObject. Allocate klass->aux_info here for interpreted
13535         class.
13536
13537 2004-04-17  Mark Wielaard  <mark@klomp.org>
13538
13539         * javax/swing/JToggleButton.java (ToggleButtonModel):
13540         Make public static inner class.
13541         * javax/swing/JTabbedPane.java (setComponentAt):
13542         Call Page.setComponent().
13543         (SCROLL_TAB_LAYOUT): Make public, value is 1.
13544         (WRAP_TAB_LAYOUT): Make public, value is 0.
13545         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
13546         Make private static inner class.
13547
13548 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
13549
13550         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
13551         arguments to match new signature. Remove FIXME comments.
13552
13553 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
13554
13555         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
13556         Remove method.
13557         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
13558         unused code.
13559
13560 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
13561
13562         * Makefile.am: Added new file.
13563         * Makefile.in: Regenerate.
13564         * javax/swing/ImageIcon.java:
13565         (ImageIcon(file)): set description of the icon
13566         to the file name
13567         * javax/swing/JCheckBoxMenuItem.java:
13568         Mostly Implemented. Work in progress.
13569         * javax/swing/JRadioButtonMenuItem.java:
13570         Reimplement constructors to use JToggleButtonModel.
13571         * javax/swing/plaf/basic/BasicIconFactory.java:
13572         (getCheckBoxMenuItemIcon): return check box
13573         icon.
13574         * javax/swing/plaf/basic/BasicMenuItemUI.java:
13575         paint menu item selected only when it is armed and
13576         pressed.
13577
13578 2004-04-02  David Jee  <djee@redhat.com>
13579
13580         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
13581         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
13582         * java/awt/Component.java
13583         (add): Set the parent of the popup as this component.
13584         * java/awt/PopupMenu.java
13585         (addNotify): Create popup menu when peer is null.
13586         (show): Call addNotify() if peer is null.
13587         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
13588         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
13589         argument for gtk_menu_popup() as zero. This causes the popup menu to
13590         respond to any mouse button.
13591
13592 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
13593
13594         * Makefile.am: Added new file.
13595         * Makefile.in: Regenerate.
13596         * javax/swing/JRadioButtonMenuItem.java:
13597         Implemented.
13598         * javax/swing/plaf/basic/BasicIconFactory.java:
13599         (getRadioButtonMenuItemIcon): Return
13600         radio button icon.
13601         * javax/swing/plaf/basic/BasicMenuItemUI.java:
13602         (getPreferredSize): Add size of checkIcon if it
13603         exists.
13604         (installDefaults): Don't initialize checkIcon.
13605         It's value will be set in subclasses.
13606         (uninstallDefaults): remove uninstallation of
13607         checkIcon.
13608         (paint): Moved code to paintMenuItem().
13609         (paintMenuItem): Implemented.
13610         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
13611         UI delegate for JRadioButtonMenuItem.
13612
13613 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
13614
13615         * javax/swing/plaf/basic/BasicMenuItemUI.java:
13616         Corrected position of the accelerator.
13617
13618 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
13619
13620         * Makefile.am: Added new file.
13621         * Makefile.in: Regenerate.
13622         * javax/swing/JMenuItem.java: Partly
13623         implemented. Work in progress
13624         * javax/swing/plaf/basic/BasicLookAndFeel.java:
13625         Changed default value of acceleratorDelimiter.
13626         * javax/swing/plaf/basic/BasicMenuItemUI.java:
13627         New class. Partly implemented.
13628
13629 2004-03-26  Mark Wielaard  <mark@klomp.org>
13630
13631         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
13632         (item_activate): Declare label before use.
13633         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13634         (gtkSetFont): Removed unused variable label.
13635         (addExposeFilter): Declare variables before use.
13636         (removeExposeFilter): Likewise.
13637         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
13638         (ok_clicked): Declare str_fileName before use.
13639
13640 2004-03-26  David Jee  <djee@redhat.com>
13641
13642         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
13643         (addSeparator): Remove.
13644         * java/awt/Menu.java
13645         (separator): Remove static final MenuItem field.
13646         (separatorLabel): New static final String field.
13647         (addSeparator): Do not use peer method; use add(MenuItem) instead.
13648         Use separatorLabel to denote that it is a separator.
13649         (insertSeparator): Create a new MenuItem with separatorLabel, instead
13650         of reusing the static separator instance, because a MenuItem instance
13651         can't be added more than once without being cloned.
13652         * java/awt/peer/MenuPeer.java
13653         (addSeparator): Remove from interface.
13654
13655 2004-03-26  David Jee  <djee@redhat.com>
13656
13657         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
13658         (connectSignals): New native method declaration.
13659         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
13660         * java/awt/MenuItem.java
13661         (getActionCommand): Return the label if the action command is not set.
13662         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
13663         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
13664         gtk_menu_shell_append().
13665         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
13666         (item_activate): Fix argument type.
13667         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
13668         signal here.
13669         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
13670         method.
13671         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
13672         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
13673         given. Add the menu widget's top-level GtkWindow to the global window
13674         group, so it can grab the pointer.
13675         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
13676         gtk_menu_shell_append().
13677
13678 2004-03-23  Graydon Hoare  <graydon@redhat.com>
13679
13680         * java/text/AttributedString.java
13681         (addAttribute): Fix off-by-one.
13682         (getIterator): Likewise.
13683         * java/text/AttributedStringIterator.java
13684         (getRunLimit): Correct logic.
13685         (getRunStart): Likewise.
13686         (getAttribute): Fix inequality.
13687         (getAttributes): Likewise.
13688         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
13689
13690 2004-03-23  Kim Ho  <kho@redhat.com>
13691
13692         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
13693         (calculateSizes): Return real width and height.
13694
13695 2004-03-23  Kim Ho  <kho@redhat.com>
13696
13697         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
13698         (calculateTabRects): Set the selectedRun before
13699         trying to rotate tabs.
13700
13701 2004-03-23  Kim Ho  <kho@redhat.com>
13702
13703         * Makefile.am: New file
13704         * Makefile.in: Regenerate
13705         * java/awt/Graphics.java: (drawRect):
13706         Draw to the correct point.
13707         * javax/swing/DefaultSingleSelectionModel.java
13708         (isSelected): Return true if the selected index
13709         is not -1.
13710         * javax/swing/JLabel.java: Do not change mnemonic
13711         index if text is null.
13712         * javax/swing/JProgressBar.java: Use JComponent's
13713         EventListenerList.
13714         * javax/swing/JScrollBar.java: Ditto.
13715         * javax/swing/JSlider.java: Ditto.
13716         * javax/swing/JTabbedPane.java: Reimplement.
13717         * javax/swing/plaf/basic/BasicLookAndFeel.java:
13718         Add defaults for TabbedPane.
13719         * javax/swing/plaf/basic/BasicArrowButton.java:
13720         Implement
13721         * javax/swing/plaf/basic/BasicProgressBarUI.java:
13722         (paintDeterminate): Don't paint String if it's
13723         empty.
13724         (paintIndeterminate): ditto.
13725         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
13726         Reimplement.
13727
13728 2004-03-19  Michael Koch  <konqueror@gmx.de>
13729
13730         * java/awt/image/AffineTransformOp.java
13731         (AffineTransformOp): Made public.
13732         * javax/swing/JComponent.java
13733         (listenerList): Made protected.
13734         (accessibleContext): Likewise.
13735         * javax/swing/JList.java
13736         (valueChanged): Dont use internal fields of ListSelectionEvent.
13737         * javax/swing/JViewport.java
13738         (getView): Dont use internal fields of Component.
13739         (addImpl): Likewise.
13740         * javax/swing/Timer.java
13741         (isRunning): Made public.
13742         (start): Likewise.
13743         (stop): Likewise.
13744         * javax/swing/UIDefaults.java
13745         (getInt): Made public.
13746         * javax/swing/plaf/basic/BasicListUI.java
13747         (mousePressed): Dont use internal fields of MouseEvent.
13748         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
13749         * javax/swing/plaf/basic/BasicScrollBarUI.java
13750         (arrowIcon): Made static.
13751         * javax/swing/plaf/basic/BasicViewportUI.java
13752         (stateChanged): Dont use internal field on ChangeEvent.
13753         * javax/swing/text/JTextComponent.java
13754         (getUI): Call UIManager.getUI().
13755         (updateUI): Use getUI().
13756
13757 2004-03-19  Graydon Hoare  <graydon@redhat.com>
13758
13759         * javax/swing/JComponent.java: Turn off double buffer by default.
13760         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
13761         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
13762         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
13763         Use cairo to copy areas.
13764         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
13765         Initialize and set clip region.
13766
13767 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
13768
13769         * java/applet/Applet.java (preferredSize): Override deprecated
13770         variant of getPreferredSize.
13771         (minimumSize): Override deprecated variant of getMinimumSize.
13772
13773 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
13774
13775         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13776         (drawImage(img,xform,bgcolor,obs)): New Method.
13777         Helper function that every drawImage method will
13778         use.
13779         (drawRaster): Added new parameter, bgcolor. All
13780         transparent pixels are changed to bgcolor before
13781         image is drawn.
13782         (drawRenderedImage): Fixed to use changed drawRaster().
13783         (drawImage(image,xform,obs): Fixed to use new helper function
13784         (drawImage(image,op,x,y)): Ditto.
13785         (drawImage (img,x,y,observer)): Ditto.
13786         ((PainterThread) bgcolor): New Field.
13787         ((PainterThread) (setPixels)): Changed all transparent pixels
13788         to bgcolor.
13789         (drawImage(img,x,y,width,height,bgcolor,observer)):
13790         Fixed FIXME - all the transparent pixels are
13791         changed to the specified bgcolor.
13792         (drawImage(img, x, y, width, height, observer): Changed to
13793         use function above.
13794         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
13795         Fixed FIXME- changed all transparent pixels to bgcolor.
13796         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
13797         Changed to use function above.
13798
13799 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
13800
13801         * java/applet/Applet.java (dimensions): New field.
13802         (getDimensions): New method.
13803         (getPreferredSize): Call getDimensions.
13804         (getMinimumSize): Likewise.
13805
13806 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
13807
13808         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
13809         * jni/classpath/jnilink.c: Likewise.
13810
13811         * java/applet/Applet.java (getPreferredSize): New method.
13812         (getMinimumSize): New method.
13813
13814 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
13815
13816         * prims.cc (_Jv_AllocObject): Remove `size' argument.
13817         (_Jv_AllocObjectNoFinalizer): Likewise.
13818         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
13819         (_Jv_AllocPtrFreeObject): Likewise.
13820         (_Jv_AllocString): Moved from natString.cc. Call collector interface
13821         directly even in the JVMPI case.
13822         * gcj/cni.h (JvAllocObject): Remove `size' argument from
13823         _Jv_AllocObject calls.
13824         * gcj/javaprims.h: Update prototypes.
13825         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
13826         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
13827         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
13828
13829 2004-04-14  Andrew Haley  <aph@redhat.com>
13830             Bryce McKinlay  <mckinlay@redhat.com>
13831
13832         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
13833         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
13834         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
13835
13836         * testsuite/libjava.lang/InvokeInterface.java: New file.
13837         * testsuite/libjava.lang/InvokeInterface.out: New file.
13838
13839 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
13840
13841         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
13842         modified lookup().
13843         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
13844         StackTraceElement directly.
13845         (newElement): New native helper method to create StackTraceElement
13846         bypassing Java access control.
13847         (createStackTraceElement): Use newElement() instead of directly
13848         calling StackTraceElement's constructor.
13849         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
13850
13851 2004-04-01  Michael Koch  <konqueror@gmx.de>
13852
13853         * java/lang/SecurityManager.java
13854         (checkAwtEventQueueAccess): Implemented.
13855
13856 2004-04-01  Gary Benson  <gbenson@redhat.com>
13857
13858         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
13859         (_Jv_SearchMethodInClass): Likewise.
13860
13861 2004-03-26  Peter Moon  <peterm@miraculum.com>
13862
13863         * java/text/NumberFormat.java: Fix spelling of setCurrency
13864         method.
13865
13866 2004-03-21  Anthony Green  <green@redhat.com>
13867
13868         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
13869         recursion when searching for the system ClassLoader.
13870
13871 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
13872
13873         * java/net/ServerSocket.java
13874         (accept): Close the socket when error occured.
13875
13876 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
13877
13878         * java/net/URI.java (parseURI): Added unquoting.
13879         (unquote): New method.
13880         (quoteAuthority): Implemented.
13881         (quote(String,String)): New method.
13882         (quotePath): Implemented.
13883         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
13884         (getSchemeSpecificPart): Removed FIXME comment.
13885         (getRawAuthority): Return new rawAuthority field.
13886         (getAuthority): Removed FIXME comment.
13887         (getRawUserInfo): Return new rawUserInfo field.
13888         (getUserInfo): Removed FIXME comment.
13889         (getRawPath): Return new rawPath field.
13890         (getPath): Removed FIXME comment.
13891         (getRawQuery): Return new rawQuery field.
13892         (getQuery): Removed FIXME comment.
13893         (getRawFragment): Return new rawFragment field.
13894         (getFragment): Removed FIXME comment.
13895
13896 2004-03-20  Michael Koch  <konqueror@gmx.de>
13897
13898         * java/net/URLConnection.java: Merged copyright year with classpath.
13899
13900 2004-03-20  Norbert Frese  <postfach@nfrese.net>
13901
13902         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
13903         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
13904         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
13905         rmi-message.
13906         (getObjectInputStream): Return object reference, throw IOException if null.
13907         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
13908         (getObjectOutputStream): Return object reference, throw IOException if null.
13909         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
13910         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
13911         (UnicastConnectionManager): Throw RemoteException if port is not available.
13912         (getInstance): Throw RemoteException.
13913         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
13914         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
13915         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
13916         Collect Exceptions which are returned by a rmi-call and fix void returns.
13917         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
13918         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
13919         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
13920         (dispatch): Answer ping messages which are sent by other java implementions.
13921         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
13922         for every rmi-message and fix void return problems.
13923         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
13924         (UnicastServerRef): Throw RemoteException.
13925         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
13926         In some situations it is necessary to export a subclass of the class which has the _Stub.
13927         For instance when the class with has the _Stub is abstract.
13928         (findStubSkelClass): New method which looks for the class which has the _Stub.
13929         (getClientHost): Implementated.
13930         * gcc/libjava/java/rmi/server/RemoteServer.java
13931         (getClientHost): Implementated.
13932         * gcc/libjava/Makefile.am (rmi_java_source_files):
13933         Added gnu/java/rmi/server/RMIIncomingThread.java.
13934         * Makefile.in: Regenerated.
13935
13936 2004-03-20  Michael Koch  <konqueror@gmx.de>
13937
13938         * java/net/InetAddress.java
13939         (getLocalHostname): Added javadoc.
13940
13941 2004-03-19  Per Bothner  <per@bothner.com>
13942
13943         * configure.in: FILE variable  overrides FLATFORM when linking
13944         natFileChannelXXX.cc.
13945
13946         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
13947         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
13948
13949 2004-03-19  Per Bothner  <per@bothner.com>
13950
13951         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
13952         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
13953         * Makefile.am:  Update accordingly.
13954         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
13955         as aliases for UnicodeLittle and UnicodeBig.
13956
13957 2004-03-20  Mark Wielaard  <mark@klomp.org>
13958
13959         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
13960         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
13961         Don't access ws when it is null.
13962         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
13963         Likewise.
13964
13965 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
13966
13967         * java/lang/ThreadGroup.java (list): Changed print to println.
13968
13969 2004-03-19  Mark Wielaard  <mark@klomp.org>
13970
13971         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
13972         happy.
13973
13974 2004-02-10  Randolph Chung  <tausq@debian.org>
13975
13976         * configure.in: Build java for hppa target.
13977         * configure: Regenerate.
13978         * libjava/configure.host (hppa-*): Add target.
13979         * libjava/sysdeps/pa/lock.h: New file.
13980
13981 2004-03-19  Mark Wielaard  <mark@klomp.org>
13982
13983         Reported by Stephen Crawley
13984         * java/io/FilePermission.java (implies): Use String.length() -1 to
13985         access last char of String.
13986
13987 2004-03-19  Michael Koch  <konqueror@gmx.de>
13988
13989         * java/awt/image/AffineTransformOp.java
13990         (AffineTransformOp): Made public.
13991         * javax/swing/JComponent.java
13992         (listenerList): Made protected.
13993         (accessibleContext): Likewise.
13994         * javax/swing/JList.java
13995         (valueChanged): Dont use internal fields of ListSelectionEvent.
13996         * javax/swing/JViewport.java
13997         (getView): Dont use internal fields of Component.
13998         (addImpl): Likewise.
13999         * javax/swing/Timer.java
14000         (isRunning): Made public.
14001         (start): Likewise.
14002         (stop): Likewise.
14003         * javax/swing/UIDefaults.java
14004         (getInt): Made public.
14005         * javax/swing/plaf/basic/BasicListUI.java
14006         (mousePressed): Dont use internal fields of MouseEvent.
14007         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
14008         * javax/swing/plaf/basic/BasicScrollBarUI.java
14009         (arrowIcon): Made static.
14010         * javax/swing/plaf/basic/BasicViewportUI.java
14011         (stateChanged): Dont use internal field on ChangeEvent.
14012         * javax/swing/text/JTextComponent.java
14013         (getUI): Call UIManager.getUI().
14014         (updateUI): Use getUI().
14015
14016 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14017
14018         * verify.cc: Undef PC.
14019
14020 2004-03-18  Michael Koch  <konqueror@gmx.de>
14021
14022         * java/nio/channels/spi/AbstractSelectableChannel.java
14023         (keys): Initialize at declaration.
14024         (locate): keys cant be null.
14025         (add): Removed.
14026         (addSelectionKey): New method.
14027         (removeSelectionKey): New method.
14028         * java/nio/channels/spi/AbstractSelectionKey.java
14029         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
14030         * java/nio/channels/spi/AbstractSelector.java
14031         (provider): Javadoc added.
14032         (cancelledKeys): Javadoc added.
14033         (cancelKey): Javadoc added, add key to cancelledKeys.
14034         (deregister): Implemented.
14035
14036 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14037
14038         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
14039         MAP_FAILED to void *.
14040
14041 2004-03-12  Graydon Hoare  <graydon@redhat.com>
14042
14043         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
14044         * javax/swing/JComponent.java (paint): Use persistent double buffer.
14045         * javax/swing/JList.java (ListListener): Revalidate on changes.
14046         * javax/swing/JScrollPane.java: Reimplement.
14047         * javax/swing/JViewport.java: Reimplement.
14048         * javax/swing/ScrollPaneLayout.java: Reimplement.
14049         * javax/swing/ViewportLayout.java: Tidy up.
14050         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
14051         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
14052         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
14053         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
14054         backing store only.
14055
14056 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
14057
14058         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14059         (window_wm_protocols_filter): New function.
14060         (window_focus_in_cb): Remove function.
14061         (window_focus_out_cb): Likewise.
14062         (window_focus_or_active_state_change_cb): New function.
14063         (create): Add filter that removes WM_TAKE_FOCUS client messages.
14064         (connectSignals): Don't attach handlers to focus-in-event or
14065         focus-out-event signals.  Handle notify signal.
14066
14067 2004-03-11  David Jee  <djee@redhat.com>
14068
14069         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14070         (gtkSetLabel): New native method declaration.
14071         (setLabel): Use gtkSetLabel.
14072         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
14073         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
14074
14075 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
14076
14077         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
14078         black when color argument is null.
14079
14080 2004-03-10  Kim Ho  <kho@redhat.com>
14081
14082         * java/awt/Container.java: Remove check
14083         for drag events.
14084
14085 2004-03-10  Kim Ho  <kho@redhat.com>
14086
14087         * java/awt/Container.java: (visitChild):
14088         Remove candidate clip. Use the component
14089         clip to intersect.
14090         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
14091         (handleEvent): Use the PaintEvent's clip.
14092
14093 2004-03-10  Kim Ho  <kho@redhat.com>
14094
14095         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
14096         (handleEvent): Don't set the clip for the
14097         Graphics object.
14098
14099 2004-03-09  Graydon Hoare  <graydon@redhat.com>
14100
14101         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
14102         Fix double <-> fixed macros, reset font transform.
14103         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
14104         Likewise.
14105
14106 2004-03-09  Kim Ho  <kho@redhat.com>
14107
14108         * java/awt/Container.java: (visitChild): Move
14109         the x and y coordinate of the component rectangle
14110         to correct position.
14111         (handleEvent): Forward drag events to the pressed
14112         component.
14113         * javax/swing/plaf/basic/BasicScrollBarUI.java:
14114         Fix comments.
14115         (ArrowButtonListener::mousePressed): Stop the
14116         existing timer.
14117         (mouseDragged): Implement.
14118         (TrackListener::mousePressed): Only react if
14119         the press doesn't occur on the thumb, otherwise
14120         just set the offset.
14121         (TrackListener::mouseReleased): Unset the isAdjusting
14122         value.
14123         (createIncreaseIcon): Switch icon.
14124         (createDecreaseIcon): Switch icon.
14125         (calculatePreferredSize): Use width.
14126         (getThumbBounds): Use the top as the lower value.
14127         (layoutVScrollBar): Switch the button locations.
14128         (paintIncreaseHighlight): Paint correct side of thumb.
14129         (paintDecreaseHighlight): ditto.
14130         (valueForYPosition): Use top as the lower value.
14131         * javax/swing/plaf/basic/BasicSliderUI.java:
14132         Fix comments.
14133         (mouseDragged): Implement.
14134         (mousePressed): Only react when the thumb isn't
14135         pressed, otherwise just set offset.
14136         (mouseReleased): Handle a release of the thumb.
14137         (scrollDueToClickInTrack): Stop the timer first.
14138         * javax/swing/JProgressBar.java:
14139         (setString): Fix change condition.
14140         * javax/swing/JSeparator.java:
14141         Remove println's.
14142
14143 2004-03-08  David Jee  <djee@redhat.com>
14144
14145         * java/awt/image/AffineTransformOp.java:
14146         (filter): Use Graphics2D interface instead of directly using the
14147         GdkGraphics2D peer.
14148
14149 2004-03-05  David Jee  <djee@redhat.com>
14150
14151         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
14152         (handleEvent): Action events are generated upon MOUSE_RELEASED.
14153         * java/awt/Container.java
14154         (acquireComponentForMouseEvent): Fixed.
14155         (handleEvent): Fixed.
14156         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
14157         (state_to_awt_mods_with_button_states): New method.
14158         (pre_event_handler): Fixed mouse event generation.
14159
14160 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
14161
14162         gnu/java/awt/peer/gtk/GdkGraphics2D.java
14163         (GdkGraphics2D (BufferedImage)): Initialize
14164         pixmap associated with specified BufferedImage.
14165         (setPaint): Changed implementation of Texture
14166         Paint to use AffineTransformOp.
14167         * java/awt/image/AffineTransformOp.java
14168         (createCompatibleDestRaster): Throw RasterFormatException
14169         if resulting width or height of raster is 0.
14170
14171 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
14172
14173         * java/awt/image/AffineTransformOp.java:
14174         Removed unnecessary field interpolationType.
14175         Formatted some of the lines to be consistent with
14176         the GNU style.
14177         (AffineTransformOp): Create new RenderingHints
14178         containing specified interpolation type.
14179         (createCompatibleDestImage): Implemented.
14180         (createCompatibleDestRaster): Implemented.
14181         (filter): Implemented.
14182         (getBounds2D(BufferedImage)): Implemented.
14183         (getBounds2D(Raster)): Implemented.
14184         (getInterpolationType): Get interpolation value from
14185         rendering hints.
14186
14187 2004-03-04  David Jee  <djee@redhat.com>
14188
14189         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
14190         (setFont): Check if child peers are null.
14191
14192 2004-03-04  Graydon Hoare  <graydon@redhat.com>
14193
14194         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
14195         .libs in -L option.
14196         (libjava_arguments): Add new libraries to argument list.
14197
14198 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
14199
14200         * Makefile.am: Added java/awt/image/AffineTransformOp.java
14201         * Makefile.in: Re-generated.
14202         * java/awt/image/AffineTransformOp.java: New Class.
14203
14204 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
14205
14206         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
14207         (setPaint): Interpret correctly TexturePaint's
14208         anchor rectangle.
14209         (drawImage): Fixed scale factors of the affine
14210         transform.
14211
14212 2004-02-27  David Jee  <djee@redhat.com>
14213
14214         * gnu/java/awt/peer/gtk/GdkGraphics.java
14215         (GdkGraphics(Component)): Inherit font from component.
14216         (drawString): Use font style.
14217         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14218         (gtkSetFont): New native method declaration.
14219         (setFont): New method.
14220         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
14221         (gtkSetFont): New native method declaration.
14222         (setFont): Call new native method gtkSetFont.
14223         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
14224         (setFont): For all child components who do not their fonts set,
14225         set their peers' fonts with this container's font.
14226         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
14227         Move all native method declarations to the top for readability.
14228         (gtkSetFont): New native method declaration.
14229         (setFont): New method.
14230         * java/awt/Component.java
14231         (setFont): Invalidate after setting the font.
14232         * java/awt/Container.java
14233         (invalidateTree): New method.
14234         (setFont): Invalidate the container tree after setting the font.
14235         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
14236         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
14237         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
14238         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
14239         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14240         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
14241         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14242         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
14243
14244 2004-02-27  Olga Rodimina <rodimina@redhat.com>
14245
14246         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
14247         (updateBufferedImage): New helper function.
14248         Updates BufferedImage in memory if it was changed.
14249         (draw): changed to update BufferedImage in memory after
14250         this drawing operation
14251         (fill): Ditto.
14252         (draw3DRect): Ditto.
14253         (fill3DRect): Ditto.
14254         (clearRect): Ditto.
14255         (drawRaster): Ditto.
14256         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
14257         no affine transformation.
14258         (drawGlyphVector): Ditto.
14259
14260 2004-02-26  Olga Rodimina <rodimina@redhat.com>
14261
14262         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
14263         (isBufferedImageGraphics): New Helper function.
14264         Returns true if this graphics2d can be used to draw
14265         into buffered image and false otherwise.
14266         (updateImagePixels): New Helper function.
14267         Updates pixels in the BufferedImage.
14268         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
14269         (getImagePixels): New function. Returns pixels
14270         of the buffered image associated with
14271         this Graphics2D.
14272
14273 2004-02-26  David Jee  <djee@redhat.com>
14274
14275         * java/awt/BorderLayout.java
14276         (layoutContainer): Fix width and height calculations to ensure
14277         that they're non-negative.
14278         * java/awt/Component.java
14279         (setBackground): If c is null, inherit from closest ancestor whose
14280         background color is set.
14281
14282 2004-02-26  Kim Ho  <kho@redhat.com>
14283
14284         * Makefile.am: Add new files.
14285         * Makefile.in: Re-generate.
14286         * javax/swing/JProgressBar.java:
14287         (JProgressBar(int, int int)): Throw
14288         IllegalArgumentException if orientation is
14289         invalid.
14290         (JProgressBar(BoundedRangeModel)): Create
14291         ChangeListener and register it. UpdateUI.
14292         (getChangeListeners): Implement.
14293         (setModel): Reset ChangeListener.
14294         * javax/swing/JScrollBar.java: Implement.
14295         * javax/swing/JSeparator.java: Implement.
14296         * javax/swing/JSlider.java:
14297         (JSlider(int, int, int, int)): Throw
14298         IllegalArgumentException if orientation
14299         is invalid.
14300         (getChangeListeners): Fix method name.
14301         * javax/swing/SwingUtilities.java:
14302         (layoutCompoundLabel): If there is no text,
14303         set the text rectangle dimensions to 0.
14304         * javax/swing/plaf/basic/BasicButtonUI.java:
14305         (paint): If there is no text, don't paint it.
14306         * javax/swing/plaf/basic/BasicScrollBarUI.java:
14307         Implement.
14308         * javax/swing/plaf/basic/BasicSeparatorUI.java:
14309         Implement.
14310         * javax/swing/plaf/basic/BasicSliderUI.java:
14311         (propertyChange): If the model changes, change
14312         the listeners accordingly.
14313
14314 2004-02-25  Graydon Hoare  <graydon@redhat.com>
14315
14316         * javax/swing/AbstractButton.java: Add "final" qualifiers.
14317         * javax/swing/JList.java: Reimplement.
14318         * javax/swing/DefaultListSelectionModel.java: Reimplement.
14319         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
14320         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
14321         * javax/swing/ListModel.java: Javadoc.
14322         * javax/swing/ListSelectionModel.java: Add missing methods.
14323         * javax/swing/AbstractListModel.java: Javadoc and corrections.
14324         * javax/swing/DefaultListModel.java: Javadoc and corrections.
14325         * javax/swing/ListModel.java: Javadoc and corrections.
14326         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
14327
14328 2004-02-25  David Jee  <djee@redhat.com>
14329
14330         * gnu/java/awt/peer/gtk/GtkFontPeer.java
14331         (GtkFontPeer): Change default size to 12.
14332         * gnu/java/awt/peer/gtk/GtkToolkit.java
14333         (getFontPeer): Change default size to 12.
14334         (getClasspathFontPeer): Likewise. Set default name to "Default".
14335         * java/awt/Font.java
14336         (Font(Map)): Call Font(String,Map).
14337         (Font(String,Map)): If attrs is null, initialize it as an empty
14338         HashMap, which will ensure that the Font will get default attributes.
14339
14340 2004-02-25  David Jee  <djee@redhat.com>
14341
14342         * gnu/java/awt/peer/gtk/GtkFontPeer.java
14343         (GtkFontPeer(String,int)): Call the new constructor with size 1.
14344         (GtkFontPeer(String,int,int)): New constructor with size attribute.
14345         * gnu/java/awt/peer/gtk/GtkToolkit.java
14346         (getFontPeer(String,int)): Call the new overload method with size 1.
14347         (getFontPeer(String,int,int)): New method. Overloaded with size
14348         attribute.
14349         (getClasspathFontPeer): Set the size of the font.
14350
14351 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
14352
14353         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
14354         (bimage): New field.
14355         (GdkGraphics2D): New Constructor. Constructs Graphics
14356         object that can be used to draw into the Buffered Image.
14357         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
14358         (GdkGraphicsEnvironment): Fixed to include public
14359         keyword.
14360         (createGraphics): Implemented.
14361         * gnu/java/awt/peer/gtk/GtkToolkit.java
14362         (getLocalGraphicsEnvironment): Implemented.
14363         * java/awt/GraphicsEnvironment.java:
14364         (getLocalGraphicsEnvironment): Implemented.
14365         * java/awt/image/BufferedImage.java:
14366         (createGraphics): Implemented.
14367
14368 2004-02-24  David Jee  <djee@redhat.com>
14369
14370         * java/awt/Component.java
14371         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
14372         * java/awt/Container.java
14373         (addNotifyContainerChildren): Fix event enabling.
14374
14375 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
14376
14377         * Makefile.am: Added
14378         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
14379         * Makefile.in: Re-generated.
14380         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
14381         New Class.
14382
14383 2004-02-19  Kim Ho  <kho@redhat.com>
14384
14385         * Makefile.am: Add BasicProgressBarUI
14386         * Makefile.in: Regenerate.
14387         * javax/swing/JProgressBar.java:
14388         Re-implement.
14389         * javax/swing/plaf/basic/BasicLookAndFeel.java
14390         Add constants for JProgressBar.
14391         * javax/swing/plaf/basic/BasicProgressBarUI.java
14392         Implement.
14393         * javax/swing/plaf/basic/BasicSliderUI.java
14394         Change comments.
14395         (calculateGeometry): New method
14396         (paint): Remove unnecessary size calculations.
14397
14398 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
14399
14400         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
14401         (drawRaster): Fixed small error that caused
14402         imageToUser transformation to be set incorrectly.
14403         (toString): Implemented.
14404
14405 2004-02-18  David Jee  <djee@redhat.com>
14406
14407         * java/awt/CardLayout.java
14408         (addLayoutComponent): Show the first component added as the default.
14409         (removeLayoutComponent): After removing, show the next component.
14410         (gotoComponent): If there is only one component, show it and return.
14411
14412 2004-02-18  Kim Ho  <kho@redhat.com>
14413
14414         * javax/swing/JSlider.java: Re-order
14415         modifiers.
14416         * javax/swing/JLabel.java: Re-order
14417         modifiers.
14418         * javax/swing/JComponent.java:
14419         (addPropertyChangeListener):
14420         Implement.
14421         (removePropertyChangeListener):
14422         ditto.
14423         (firePropertyChangeEvent):
14424         ditto.
14425
14426 2004-02-17  David Jee  <djee@redhat.com>
14427
14428         * java/awt/Component.java
14429         (show): Dispatch ComponentEvent via system event queue.
14430         (hide): Likewise.
14431         (move): Likewise.
14432         (resize): Likewise.
14433         (reshape): Likewise.
14434         * java/awt/Window.java
14435         (setBoundsCallback): Likewise.
14436
14437 2004-02-17  David Jee  <djee@redhat.com>
14438
14439         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14440         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
14441         Use gtk_widget_set_size_request() instead of the deprecated
14442         gtk_widget_set_usize().
14443
14444 2004-02-17  Kim Ho  <kho@redhat.com>
14445
14446         * javax/swing/JSlider.java: Fix comments and
14447         make property strings constants.
14448         (createStandardLabels): Use the labels
14449         preferred size as bounds.
14450         * javax/swing/plaf/basic/BasicSliderUI.java
14451         Fix comments.
14452         (ScrollHandler::actionPerformed): Don't
14453         calculate the timer stop value. Let the
14454         MouseListeners find the stop location.
14455         (getPreferredHorizontalSize): Re-implement.
14456         (getPreferredVerticalSize): ditto.
14457         (getMinimumHorizontalSize): ditto.
14458         (getMinimumVerticalSize): ditto.
14459         (getPreferredSize): ditto.
14460         (getMinimumSize): ditto.
14461         (getMaximumSize): ditto.
14462         (paintTicks): Use doubles to find the
14463         tick location.
14464         (paintHorizontalLabel):  Use preferredSize
14465         as initial width and height.
14466         (paintVerticalLabel): ditto.
14467
14468 2004-02-17  Kim Ho  <kho@redhat.com>
14469
14470         * javax/swing/JLabel.java: Changed
14471         property strings to constants.
14472         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
14473         New property.
14474         (setText): Change mnemonic index if
14475         text is too short.
14476         (setDisplayedMnemonicIndex): Fire property
14477         change event.
14478         (getDisplayedMnemonicIndex): Remove check
14479         against short text.
14480
14481 2004-02-17 Olga Rodimina <rodimina@redhat.com>
14482
14483         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
14484         (drawImage(img,xform,obs)): Invert xform before
14485         passing the xform to cairo.
14486         (drawImage(img,x,y,bgcolor,obs)): Implemented.
14487         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
14488         implemented.
14489         (drawImage (img,x,y,w,h,obs)): Implemented.
14490         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
14491         bgcolor,obs)): Partly implemented.
14492         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
14493         Implemented.
14494         * java/awt/image/BufferedImage.java:
14495         (copyData): if dest is null, create raster with same
14496         dimensions as the current image.
14497
14498 2004-02-16  Graydon Hoare  <graydon@redhat.com>
14499
14500         * javax/swing/plaf/basic/BasicLabelUI.java
14501         (getPreferredSize): Use layoutCL.
14502         * javax/swing/plaf/basic/BasicGraphicsUtils.java
14503         (getPreferredButtonSize): Start with empty view rect, layout using
14504         component's preferred alignment.
14505         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
14506         List defaults.
14507
14508 2004-02-16  David Jee  <djee@redhat.com>
14509
14510         * java/awt/Component.java
14511         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
14512         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
14513         (move): Erase old bounds and repaint new bounds. Dispatch
14514         COMPONENT_MOVED ComponentEvent.
14515         (resize): Erase old bounds and repaint new bounds. Dispatch
14516         COMPONENT_RESIZED ComponentEvent.
14517         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
14518         ComponentEvents.
14519         * java/awt/Window.java
14520         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
14521         ComponentEvents.
14522
14523 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
14524
14525         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
14526         (setRenderingHint): Added implementation of
14527         Interpolation rendering hints.
14528         (setRenderingHints): Ditto.
14529         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
14530         (drawPixels): fixed to allow user to choose type
14531         of filtering that should be used when displaying images.
14532         (cairoSurfaceSetFilter): New method. Sets filter type for
14533         interpolation of pixel values.
14534
14535 2004-02-16  David Jee  <djee@redhat.com>
14536
14537         * java/awt/GridBagLayout.java
14538         (calcCellSizes): Rows or columns with zero sizes should still be
14539         considered for extra space distribution.
14540
14541 2004-02-16  Kim Ho  <kho@redhat.com>
14542
14543         * javax/swing/JLabel.java: Re-implement.
14544         * javax/swing/plaf/basic/BasicLabelUI.java
14545         Re-implement.
14546         * javax/swing/plaf/basic/BasicLookAndFeel.java:
14547         Added constant.
14548
14549 2004-02-16  Kim Ho  <kho@redhat.com>
14550
14551         * javax/swing/JSlider.java: Fix indentation and comments.
14552         (setModel): Remove null check to conform with Sun's.
14553         (setOrientation): Throw exception if not
14554         HORIZONTAL or VERTICAL.
14555         (getInverted): Use private variable instead of
14556         ComponentOrientation.
14557         (setInverted): ditto.
14558         * javax/swing/plaf/basic/BasicSliderUI.java:
14559         Fix indentation and comments.
14560         (propertyChange): Remove check for inverted slider, handle
14561         in main paint.
14562         (getMinimumSize): Return preferred size.
14563         (getMaximumSize): ditto.
14564         (calculateFocusRect): Don't relocate rectangle.
14565         (drawInverted): Return XOR of the slider's inversion and
14566         the component's orientation.
14567         (paint): Update leftToRightCache
14568
14569 2004-02-13  David Jee  <djee@redhat.com>
14570
14571         * java/awt/GridBagLayout.java
14572         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
14573         code to helper methods.
14574         (sortBySpan): New helper method.
14575         (distributeSizeAndWeight): Likewise.
14576         (calcCellWeights): Likewise.
14577         (calcCellSizes): Add comments.
14578
14579 2004-02-13  David Jee  <djee@redhat.com>
14580
14581         * java/awt/Component.java
14582         (show): Only do something if component is invisible at the moment.
14583         (hide): Only do something if component is visible at the moment.
14584         (reshape): If lightweight, erase old bounds and repaint new bounds.
14585
14586 2004-02-13  Kim Ho  <kho@redhat.com>
14587
14588         * Makefile.am: Updated for new file.
14589         * Makefile.in: Regenerated.
14590         * javax/swing/JSlider.java: Reimplement.
14591         * javax/swing/SwingUtilities.java
14592         (layoutCompoundLabel): Use icon height
14593         instead of width.
14594         (paintComponent): Implement.
14595         * javax/swing/plaf/basic/BasicLookAndFeel.java:
14596         Add JSlider defaults.
14597         * javax/swing/plaf/basic/BasicSliderUI.java:
14598         Implement. New file.
14599
14600 2004-03-17  Michael Koch  <konqueror@gmx.de>
14601
14602         * gnu/java/net/PlainDatagramSocketImpl.java
14603         (RECEIVE_LOCK): New member field.
14604         (SEND_LOCK): New member field.
14605         (send0): New method.
14606         (send): Synchronize on SEND_LOCK.
14607         (receive0): New method.
14608         (receive): Synchronize on RECEIVE_LOCK.
14609         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
14610         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
14611         gnu/java/net/natPlainDatagramSocketImplWin32.cc
14612         (send0): Renamed from send.
14613         (receive0): Renamed from receive.
14614 2004-03-17  Michael Koch  <konqueror@gmx.de>
14615
14616         * gnu/java/net/natPlainSocketImplPosix.cc
14617         (write): Just call write(jbyteArray, offset, len).
14618         (read): Just call read(jbyteArray, offset, len).
14619
14620 2004-03-16  Michael Koch  <konqueror@gmx.de>
14621
14622         * javax/swing/JTabbedPane.java
14623         (serialVersionUID): New field.
14624
14625 2004-03-16  Norbert Frese  <postfach@nfrese.net>
14626
14627         * java/net/InetAddress.java
14628         (getByName): Handle hostname == "" case.
14629
14630 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
14631
14632         Reported by: Adam Heath <doogie@debian.org>
14633         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
14634         class loader.
14635
14636 2004-03-15  Michael Koch  <konqueror@gmx.de>
14637
14638         * java/util/Locale.java: Reverting my last patch
14639         and add a comment why the original version was okay.
14640
14641 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
14642
14643         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
14644         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
14645         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
14646         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
14647
14648 2004-03-12  Michael Koch  <konqueror@gmx.de>
14649
14650         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
14651
14652 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
14653
14654         * java/net/URI.java (toURL): Implemented.
14655
14656 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
14657
14658         * java/net/URI.java
14659         (URI_REGEXP) updated to contain scheme specific part.
14660         (SCHEME_SPEC_PART_GROUP) new constant.
14661         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
14662         updated to make room for SCHEME_SPEC_PART_GROUP.
14663         (parseURI) parse scheme specific part.
14664         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
14665         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
14666         getQuery, getFragment) implemented.
14667
14668 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
14669
14670         * libraries/javalib/java/net/URI.java
14671         partially implemented using java.util.regex.
14672         (URI_REGEXP) new constant. Used to parse URIs.
14673         (SCHEME_GROUP) new constant representing index of scheme group
14674         in parsed URI.
14675         (AUTHORITY_GROUP) new constant representing index of authority
14676         group in parsed URI.
14677         (PATH_GROUP) new constant representing index of path group in
14678         parsed URI.
14679         (QUERY_GROUP) new constant representing index of query group in
14680         parsed URI.
14681         (FRAGMENT_GROUP) new constant representing index of fragment
14682         group in parsed URI.
14683         (getURIGroup) new static utility method.
14684         (parseURI) implemented.
14685         (quote) stub for new static utility method.
14686         (quoteAuthority) stub for new static utility method.
14687         (quoteHost) stub for new static utility method.
14688         (quotePath) stub for new static utility method.
14689         (quoteUserInfo) stub for new static utility method.
14690         (URI) implemented.
14691         (create) don't throw URISyntaxException. Implemented.
14692         (toString) implemented.
14693
14694 2004-03-12  Michael Koch  <konqueror@gmx.de>
14695
14696         * java/net/HttpURLConnection.java
14697         (getResponseCode): Fix another typo in javadoc.
14698
14699 2004-03-11  Michael Koch  <konqueror@gmx.de>
14700
14701         * java/util/logging/Level.java
14702         (parse): Use String.equals() instead of ==.
14703
14704 2004-03-11  Michael Koch  <konqueror@gmx.de>
14705
14706         * gnu/java/net/protocol/jar/Connection.java
14707         (getContentLength): New method.
14708
14709 2004-03-11  Michael Koch  <konqueror@gmx.de>
14710
14711         * gnu/java/net/PlainSocketImpl.java:
14712         Reformated to merge better with classpath's version.
14713
14714 2004-03-11  Michael Koch  <konqueror@gmx.de>
14715
14716         * java/util/Locale.java
14717         (getISO3Language): Use String.equals() instead of ==.
14718         (getISO3Country): Likewise.
14719
14720 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
14721
14722         * java/text/AttributedString.java
14723         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
14724         Use HashMap instead of Hashtable since value can be null, and
14725         you can not store a null value in a Hashtable.
14726
14727 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
14728
14729         * java/text/AttributedStringIterator.java
14730         (getAllAttributesKey): Return only keys concerned
14731         by the current iterator.
14732         (getAttributes): Use strict inequality for
14733         end_index.
14734
14735 2004-03-11  Michael Koch  <konqueror@gmx.de>
14736
14737         * java/net/HttpURLConnection.java:
14738         Fixed typo in javadoc.
14739
14740 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
14741
14742         * java/io/BufferedInputStream.java (marktarget): New field for max
14743         mark limit.
14744         (CHUNKSIZE): New constant for incremental mark buffer allocation.
14745         (mark): Use new fields.
14746         (read): Likewise.
14747         (read(byte[],int,int)): Likewise.
14748         (skip): Likewise.
14749         (refill): Likewise.
14750
14751 2004-03-11  Mark Wielaard  <mark@klomp.org>
14752
14753         * java/beans/BeanDescriptor.java (BeanDescriptor):
14754         Set the FeatureDescriptor programmatic name.
14755
14756 2004-03-11  Michael Koch  <konqueror@gmx.de>
14757
14758         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
14759         This file was was just copied form java/io/natFileDescriptorEcos.cc
14760         and never changed to compile correctly.
14761
14762 2004-03-11  Michael Koch  <konqueror@gmx.de>
14763
14764         * gnu/java/nio/PipeImpl.java
14765         (SourceChannelImpl): Made final.
14766         (read): Implemented.
14767         (SinkChannelImpl): Made final.
14768         (write): Implemented.
14769
14770 2004-03-11  Michael Koch  <konqueror@gmx.de>
14771
14772         * gnu/java/net/PlainDatagramSocketImpl.java:
14773         Reformated to match classpath's version more.
14774
14775 2004-03-11  Michael Koch  <konqueror@gmx.de>
14776
14777         * gnu/java/awt/peer/ClasspathFontPeer.java:
14778         Fixed javadoc to be correct xhtml.
14779         * gnu/java/awt/peer/gtk/GtkArgList.java
14780         (add): Use Boolean.valueOf() instead of new Boolean().
14781
14782 2004-03-09  Michael Koch  <konqueror@gmx.de>
14783
14784         * java/lang/Thread.java
14785         (runnable): Moved around.
14786         (daemon): Renamed from daemon_flag.
14787         (contextClassLoader): Renamed from context_class_loader.
14788         (Thread): Reordered constructors.
14789         (activeCount): Use group directly.
14790         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
14791         (holdsLock): Reworked javadoc.
14792         (setDaemon): Reworked.
14793         * java/lang/natThread.cc
14794         (destroy): Removed.
14795
14796 2004-03-08  Anthony Green  <green@redhat.com>
14797
14798         * Makefile.am: Build property resource files into libgcj.
14799         * Makefile.in: Rebuilt.
14800         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
14801         java/util/regex/PatternSyntaxException.java,
14802         gnu/regexp/CharIndexed.java,
14803         gnu/regexp/CharIndexedCharArray.java,
14804         gnu/regexp/CharIndexedInputStream.java,
14805         gnu/regexp/CharIndexedReader.java,
14806         gnu/regexp/CharIndexedString.java,
14807         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
14808         gnu/regexp/REException.java,
14809         gnu/regexp/REFilterInputStream.java,
14810         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
14811         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
14812         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
14813         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
14814         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
14815         gnu/regexp/RETokenLookAhead.java,
14816         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
14817         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
14818         gnu/regexp/RETokenStart.java,
14819         gnu/regexp/RETokenWordBoundary.java,
14820         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
14821
14822 2004-03-03  Per Bothner  <per@bothner.com>
14823
14824         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
14825         Optimize when argument is a FileChannelImpl.
14826         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
14827         New native methods.
14828         * java/nio/channels/natChannels.cc:  New file for new native methods.
14829         * Makefile.am:  Update accordingly.
14830
14831 2004-03-02  Jan Hubicka  <jh@suse.cz>
14832
14833         * configure.host: Pass -fno-omit-frame-pointer for i386.
14834         * configure.in: Likewise.
14835         * configure: Regenerate.
14836
14837 2004-03-01  Per Bothner  <per@bothner.com>
14838
14839         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
14840
14841 2004-02-29  Per Bothner  <per@bothner.com>
14842
14843         * java/nio/channels/FileChannelImpl.java:  Moved to package
14844         gnu/java/nio/channels, since we need to refer to it from java.io.
14845         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
14846         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
14847         from java/nio/channels.  Don't depend on FileDescriptor.
14848         (in, out, err):  New static fields.
14849         (mode):  New field.
14850         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
14851         from FileDescriptor.
14852         (by):  Removed MappedByteBuffer field.
14853         (map):  New working implementation.
14854         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
14855         some code "ported" from natFileDescriptoPosix.cc.
14856         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
14857         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
14858         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
14859         Remove native methods.
14860         * Makefile.am, configure.in:  Updated accordingly.
14861
14862         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
14863         (ch):  New FileChannelImpl field.  Update constructor to match.
14864         (releaseImpl):  Remove native method.  Instead ...
14865         (release):  Call unlock on channel.
14866         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
14867
14868         * java/io/natFileDescriptorEcos.cc:  Remove file.
14869         * java/io/natFileDescriptorPosix.cc:  Remove file.
14870         * java/io/natFileDescriptorWin32.cc:  Remove file.
14871         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
14872         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
14873         (<init>(FileChannelImpl)):  New package-private constructor.
14874         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
14875         (available, close, read, skip):  Implement using FileChannelImpl.
14876         (getFD):  Allocate FileDescriptor if needed.
14877         (getChannel):  Is now trivial.
14878         * java/io/FileOutputStream.java:  Corresponding changes.
14879         * java/io/RandomAccessFile.java:  Corresponding changes.
14880
14881         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
14882         unmapImpl):  New dummy methods, to be overridden by subclass.
14883         (finalize, isLoaded, load, force):  New methods.
14884         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
14885         Now works, at least for read mapping.
14886
14887         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
14888         streams using FileChannelImpl, not FileDescriptor.
14889         * java/lang/natWin32Process.cc (startProcess):  Likewise.
14890
14891 2004-02-28  Michael Koch  <konqueror@gmx.de>
14892
14893         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
14894         wrong code.
14895
14896 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
14897
14898         * java/io/ObjectInputStream.java
14899         (readClassDescriptor): Keep elements of the mapping non null.
14900         (checkTypeConsistency): New method.
14901         (readFields): Fixed main loop and base logic. Small reindentation.
14902         * java/io/ObjectStreamField.java
14903         (lookupField): New method to update the field reference.
14904         (checkFieldType): New method.
14905         * java/io/ObjectStreamClass.java
14906         (setClass, setFields): Call lookupField when building the field
14907         database. Check the real field type.
14908
14909 2004-02-28  Michael Koch  <konqueror@gmx.de>
14910
14911         * java/nio/ByteOrder.java
14912         (nativeOrder): Use equals() to compare strings.
14913
14914 2004-02-26  Michael Koch  <konqueror@gmx.de>
14915
14916         * gnu/java/nio/FileLockImpl.java
14917         (finalize): Made protected.
14918         * java/nio/channels/FileChannel.java
14919         (MapMode.READ_ONLY): Made final.
14920         (MapMode.READ_WRITE): Made final.
14921         (MapMode.PRIVATE): Made final.
14922         * java/nio/channels/SocketChannel.java
14923         (open): Simplified code.
14924         * java/nio/channels/spi/AbstractSelectableChannel.java
14925         (registered): Unused, removed.
14926         (keyFor): Check channel is open, only locate key
14927         and not add a new one.
14928         (register): Don't delete attachments.
14929
14930 2004-02-26  Michael Koch  <konqueror@gmx.de>
14931
14932         * gnu/java/awt/ComponentDataBlitOp.java
14933         (INSTANCE): Made final.
14934         * gnu/java/awt/image/ImageDecoder.java:
14935         Reworked imports.
14936         (cm): Unused, removed.
14937
14938 2004-02-26  Michael Koch  <konqueror@gmx.de>
14939
14940         * gnu/java/nio/DatagramChannelImpl.java
14941         (send): Check if target address is resolved.
14942
14943 2004-02-26  Michael Koch  <konqueror@gmx.de>
14944
14945         * Makefile.am: Generate and install headers for inner classes in
14946         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
14947         * Makefile.in: Regenerated.
14948
14949 2004-02-24  Anthony Green  <green@redhat.com>
14950
14951         * java/lang/StringBuffer.java: No need to NULL out remainder of
14952         buffer since ensureCapacity_unsynchronized will have done this for
14953         us.
14954
14955 2004-02-20  Michael Koch  <konqueror@gmx.de>
14956
14957         * gnu/java/net/protocol/jar/Handler.java
14958         (): Removed unneeded check for file != null. java.net.URL.getFile()
14959         returns an empty string but never null.
14960
14961 2004-02-20  Michael Koch  <konqueror@gmx.de>
14962
14963         * gnu/gcj/convert/Convert.java
14964         (main): Use equals() to compare strings.
14965
14966 2004-02-20  Michael Koch  <konqueror@gmx.de>
14967
14968         * javax/swing/AbstractButton.java: Made several constants final.
14969         (getRolloverSelectedIcon): Made public.
14970         (getSelectedIcon): Made public.
14971
14972 2004-02-16  Per Bothner  <per@bothner.com>
14973
14974         * java/nio/CharBufferImpl.java:  Inline super constructor.
14975         * java/nio/DoubleBufferImpl.java:  Likewise.
14976         * java/nio/FloatBufferImpl.java:  Likewise.
14977         * java/nio/IntBufferImpl.java:  Likewise.
14978         * java/nio/LongBufferImpl.java:  Likewise.
14979         * java/nio/ShortBufferImpl.java:  Likewise.
14980         * java/nio/CharBuffer.java:  Remove unused constructor.
14981         * java/nio/DoubleBuffer.java:  Likewise.
14982         * java/nio/FloatBuffer.java:  Likewise.
14983         * java/nio/IntBuffer.java:  Likewise.
14984         * java/nio/LongBuffer.java:  Likewise.
14985         * java/nio/ShortBuffer.java:  Likewise.
14986         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
14987         Fix buggy call to super constructor.
14988         * java/nio/DoubleViewBufferImpl.java:  Likewise.
14989         * java/nio/FloatViewBufferImpl.java:  Likewise.
14990         * java/nio/IntViewBufferImpl.java:  Likewise.
14991         * java/nio/LongViewBufferImpl.java:  Likewise.
14992         * java/nio/ShortViewBufferImpl.java:  Likewise.
14993
14994         * java/nio/ByteBuffer.java (endian):  Make non-private so other
14995         java.nio classes can inherit it.
14996         (<init>):  Don't bother clearing array_offset.
14997         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
14998         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
14999         Remove redundant test.
15000
15001         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
15002         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
15003         Use new XxxViewBufferImpl constructors.
15004         * java/nio/MappedByteBufferImpl.java:  Likewise.
15005         * java/nio/DirectByteBufferImpl.java:  Likewise.
15006
15007         * java/nio/ByteBufferImpl.java:  Remove one constructor.
15008         Inline super in remaining constructor.
15009         * java/nio/ByteBuffer.java:  Remove unused constructor.
15010
15011         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
15012
15013         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
15014         * java/nio/DirectByteBufferImpl.java (owner):  New field.
15015         (offset):  Remove unused field.
15016         (<init>):  Modify one and add another constructor.  Change callers.
15017         (allocateDirect):  Removed - not used.
15018         (getImpl, putImpl):  Make static and pass address explicitly,
15019         to make them useful for MappedByteBufferImpl.
15020         (get, put):  Check for underflow.  Modify for new getImpl.
15021         (getImpl):  New native method where target is array.
15022         (get(byte[],int,int)):  Use the above.
15023         (adjustAddress):  New static native method.
15024         (slice, duplicate, asReadOnly):  New implementations.
15025         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
15026         adjustAddress):  New or updated native methods.
15027
15028 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
15029
15030         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
15031         overflow of fieldmapping.
15032
15033 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
15034
15035         * javax/swing/undo/UndoManager.java: Re-written from scratch.
15036
15037 2004-02-14  Per Bothner  <per@bothner.com>
15038
15039         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
15040         Set closed before calling implCloseChannel, as in the spec.
15041
15042 2004-02-09  Graydon Hoare  <graydon@redhat.com>
15043
15044         * javax/swing/ToggleButtonModel.java: Remove dead class.
15045         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
15046         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
15047         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
15048         * Makefile.am: Update for new and removed files.
15049         * Makefile.in: Regenerate.
15050
15051         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
15052         * javax/swing/AbstractButton.java
15053         (AbstractButton): Initialize fields correctly in ctor.
15054         * javax/swing/JCheckbox.java
15055         (JCheckBox): Override painting flags.
15056         * javax/swing/DefaultButtonModel.java: Conform to sun.
15057         * javax/swing/JComponent.java (paint): Fill with background color
15058         if available.
15059         (processComponentKeyEvent)
15060         (processFocusEvent)
15061         (processKeyEvent)
15062         (processMouseMotionEvent): Remove event-consuming empty methods.
15063         (getUIClassID): Return "ComponentUI" not "JComponent"
15064         * javax/swing/JFrame.java: Remove some debugging chatter.
15065         (JFrame): Subscribe to window events.
15066         * javax/swing/JRadioButton.java
15067         (JRadioButton): Override painting flags.
15068         * javax/swing/JRootPane.java
15069         (JRootPane): Set background from UIDefaults.
15070         * javax/swing/JToggleButton.java
15071         (ToggleButtonModel): New inner class.
15072         (JToggleButton): Override layout alighment.
15073         * javax/swing/SwingUtilities.java:
15074         (getLocalBounds): Return width and height, not x and y.
15075         (calculateInnerArea): Use local bounds, not bounds.
15076         (layoutCompoundLabel): Provide overridden form.
15077         (layoutCompoundLabel): Correct bugs.
15078         * javax/swing/UIDefaults.java: Correct comment.
15079         * javax/swing/plaf/basic/BasicButtonUI.java:
15080         Move most logic into defaults, external listener.
15081         (paintIcon): Implement icon painting.
15082         (paint): Fix state painting to conform to changes in model.
15083         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
15084         Remove most dead/wrong methods.
15085         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
15086         * javax/swing/plaf/basic/BasicIconFactory.java:
15087         (DummyIcon): New class.
15088         (getMenuItemCheckIcon)
15089         (getMenuItemArrowIcon)
15090         (getMenuArrowIcon)
15091         (getCheckBoxMenuItemIcon)
15092         (getRadioButtonMenuItemIcon)
15093         (createEmptyFrameIcon): Return DummyIcons, not null.
15094         (getCheckBoxIcon): Implement an icon that looks like sun's.
15095         (getRadioButtonIcon): Implement an icon that looks like sun's.
15096         * javax/swing/plaf/basic/BasicLookAndFeel.java
15097         (initComponentDefaults): Fix impossible values, add some missing.
15098         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
15099         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15100         Remove most dead/wrong methods.
15101         (icon): New field.
15102         (getDefaultIcon): New method.
15103         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
15104         Remove most dead/wrong methods.
15105         * javax/swing/plaf/metal/MetalLookAndFeel.java
15106         (getDefaults): Return super.getDefaults(), not BasicDefaults.
15107         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
15108         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
15109         Implement "clearing" as drawing, when on pixmap drawables.
15110
15111         * javax/swing/JButton.java (getUIClassID):
15112         * javax/swing/JCheckBox.java (getUIClassID):
15113         * javax/swing/JEditorPane.java (getUIClassID):
15114         * javax/swing/JLabel.java (getUIClassID):
15115         * javax/swing/JList.java (getUIClassID):
15116         * javax/swing/JOptionPane.java (getUIClassID):
15117         * javax/swing/JPanel.java (getUIClassID):
15118         * javax/swing/JPasswordField.java (uiClassID):
15119         * javax/swing/JRadioButton.java (getUIClassID):
15120         * javax/swing/JRootPane.java (getUIClassID):
15121         * javax/swing/JScrollPane.java (getUIClassID):
15122         * javax/swing/JTabbedPane.java (getUIClassID):
15123         * javax/swing/JToggleButton.java (getUIClassID):
15124         * javax/swing/JTree.java (getUIClassID):
15125         * javax/swing/JViewport.java (getUIClassID):
15126         * javax/swing/text/JTextComponent.java (getUIClassID):
15127         Return "fooUI" not "Jfoo"
15128
15129 2004-02-11  Michael Koch  <konqueror@gmx.de>
15130
15131         * java/net/DatagramSocket.java
15132         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
15133         Boolean object.
15134         (setBroadcast): Likewise.
15135         * java/net/MulticastSocket.java
15136         (setLoopbackMode): Likewise.
15137         * java/net/ServerSocket.java
15138         (setReuseAddress): Likewise.
15139         * java/net/Socket.java
15140         (setTcpNoDelay): Likewise.
15141         (setSoLinger): Likewise.
15142         (setOOBInline): Likewise.
15143         (setKeepAlive): Likewise.
15144         (setReuseAddress): Likewise.
15145         * java/net/URLConnection.java
15146         (setContentHandler): Replace == with equals().
15147         * java/net/URLStreamHandler.java
15148         (hostSEquals): Fix checking host addresses.
15149         (toExternalForm): Dont check protocol for null. We know already its
15150         not null.
15151
15152 2004-02-10  David Jee  <djee@redhat.com>
15153
15154         * java/awt/BorderLayout.java
15155         (calcCompSize): Invisible components get zero dimensions.
15156         * java/awt/Button.java
15157         (setLabel): Set actionCommand.
15158         * java/awt/Component.java
15159         (show): Invalidate component and parent container.
15160         (hide): Likewise.
15161
15162 2004-02-10  David Jee  <djee@redhat.com>
15163
15164         * java/awt/GridBagLayout.java
15165         (GridBagLayout): New private field, internalcomptable.
15166         (lookupInternalConstraints): New method.
15167         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
15168         (GetLayoutInfo): Reimplement.
15169         (calcCellSizes): Ignore rows/columns with size 0.
15170
15171 2004-02-10  Michael Koch  <konqueror@gmx.de>
15172
15173         * gnu/java/awt/EmbeddedWindow.java
15174         (setHandle): Use java.awt.Component.getPeer() instead of
15175         java.awt.Component.peer directly.
15176
15177 2004-02-10  David Jee  <djee@redhat.com>
15178
15179         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
15180         (gtkSetLabel): New native method definition.
15181         (setLabel): Use gtkSetLabel.
15182         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
15183         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
15184
15185 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
15186
15187         * include/powerpc-signal.h: Revert 2004-01-21 change.
15188         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
15189         from syscall for ppc32 versions.
15190
15191 2004-02-08  Per Bothner  <per@bothner.com>
15192
15193         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
15194         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
15195         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
15196         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
15197         Pass ByteOrder parameter to most methods, since the underlying
15198         ByteBuffer's order isn't always what we should use.
15199         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
15200         * java/nio/DirectByteBufferImpl.java:  Likewise.
15201         Use ByteBufferHelper methods.
15202         * java/nio/MappedByteBufferImpl.java:  Likewise.
15203         (compact):  Use shiftDown.
15204         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
15205         (get, put):  Use ByteBufferHelper.
15206         (compact):  Use new shiftDown method.
15207         (duplicate(boolean)):  New helper method.
15208         (duplicate, asReadOnlyBuffer):  Use it.
15209         (order):  Return endian field.
15210         * java/nio/DoubleViewBufferImpl.java:  Likewise.
15211         * java/nio/FloatViewBufferImpl.java:  Likewise.
15212         * java/nio/IntViewBufferImpl.java:  Likewise.
15213         * java/nio/LongViewBufferImpl.java:  Likewise.
15214         * java/nio/ShortViewBufferImpl.java:  Likewise.
15215         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
15216         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
15217         (compact):  Re-implement using shiftDown.
15218
15219 2004-02-08  Andreas Jaeger  <aj@suse.de>
15220
15221         * include/x86_64-signal.h: Fix typo.
15222
15223 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
15224
15225         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
15226         qualifier to _regs.
15227         (HANDLE_DIVIDE_OVERFLOW): Likewise.
15228
15229 2004-02-06  Michael Koch  <konqueror@gmx.de>
15230
15231         * java/io/ObjectInputStream.java
15232         (currentClassLoader): Reverted to old version of this method.
15233
15234 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
15235
15236         * java/io/ObjectInputStream.java: Made all calls
15237         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
15238         use cached info from ObjectStreamClass. (readClassDescriptor):
15239         Cache more information in ObjectStreamClass. (processResolution,
15240         readFields): Use cached info from ObjectStreamClass.
15241         (newObject): Throw exception instead of returning null for failure.
15242         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
15243         setCharField, setDoubleField, setFloatField, setIntField,
15244         setLongField, setShortField, setObjectField, readObjectParams):
15245         Removed. (dumpElement, dumpElementln): Removed dump flag condition
15246         check.
15247         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
15248         (setClass): Added call to cacheMethods() (findMethod): New method.
15249         (cacheMethods): New method. (ObjectStreamClass): Added call to
15250         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
15251         AccessController.doPrivileged to invoke setAccessible.
15252         (readObjectMethod, readResolveMethod, realClassIsSerializable,
15253         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
15254         New fields.
15255         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
15256         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
15257         isPrimitive): Made safe for cases where type == null.
15258         (setBooleanField, setByteField, setCharField, setShortField,
15259         setIntField, setLongField, setFloatField, setDoubleField,
15260         setObjectField): New methods.
15261
15262 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
15263
15264         * java/awt/Component.java (getFont): Return a default font
15265         instead of null.
15266
15267         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
15268         (Scrollbar (int, int, int, int, int)): Make default page
15269         increment 10.
15270         (setValues): Only call peer.setValues if one of the values has
15271         changed.
15272         (generateName): New method.
15273         (getUniqueLong): New method.
15274         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
15275         (range_scrollbar): Remove structure.
15276         (post_adjustment_event): Remove function.
15277         (post_change_event): Accept jobject argument.
15278         (create): Cast jints to gdoubles.  Round scrollbar values to the
15279         nearest integer.  Clamp min, max and value settings.
15280         (connectJObject): Connect hook to widget->window.
15281         (connectSignals): Remove range_scrollbar structure variables.
15282         Remove "move-slider" connection.  Pass global peer reference to
15283         "value-changed" callback.
15284         (setLineIncrement): Cast jint value to gdouble.
15285         (setPageIncrement): Likewise.
15286         (setValues): Likewise.  Clamp min, max and value settings.
15287
15288 2004-02-05  Michael Koch  <konqueror@gmx.de>
15289
15290         * javax/swing/AbstractCellEditor.java
15291         (getCellEditorValue): Removed.
15292         * javax/swing/Box.java: Reformated.
15293         (serialVersionUID): New field.
15294         * javax/swing/ButtonGroup.java:
15295         Removed some weird whitespace.
15296         * javax/swing/CellEditor.java: Reformated.
15297         * javax/swing/CellRendererPane.java
15298         (serialVersionUID): New field.
15299         (AccessibleCellRendererPaneserialVersionUID): New field.
15300         * javax/swing/DefaultListModel.java
15301         (serialVersionUID): New field.
15302         * javax/swing/JEditorPane.java
15303         (serialVersionUID): New field.
15304         (setPage): Throws IOException.
15305         (addHyperlinkListener): Implemented.
15306         (removeHyperlinkListener): Implemented.
15307         (getHyperlinkListener): New method.
15308         * javax/swing/JFileChooser.java
15309         (serialVersionUID): New field.
15310         (AccessibleJFileChooser.serialVersionUID): New field.
15311         (addActionListener): Implemented.
15312         (removeActionListener): Implemented.
15313         (getActionListeners): New method.
15314         * javax/swing/JFormattedTextField.java
15315         (serialVersionUID): New field.
15316         (AbstractFormatter.serialVersionUID): New field.
15317         (clone): Throws CloneNotSupportedException
15318         (setEditValid): Add missing argument.
15319         (stringToValue): Throws ParseExcpetion.
15320         (valueToString): Throws ParseException.
15321         (commitEdit): Throws ParseException.
15322         * javax/swing/JLabel.java
15323         (serialVersionUID): New field.
15324         * javax/swing/JList.java
15325         (serialVersionUID): New field.
15326         (addListSelectionListener): Reformated.
15327         (removeListSelectionListener): Reformated.
15328         (getListSelectionListeners): New method.
15329         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
15330         Reformated.
15331         (serialVersionUID): New field.
15332         * javax/swing/table/AbstractTableModel.java
15333         (getValueAt): Removed.
15334         (getColumnCount): Removed.
15335         (getRowCount): Removed.
15336
15337 2004-02-05  Michael Koch  <konqueror@gmx.de>
15338
15339         * java/awt/datatransfer/DataFlavor.java
15340         (imageFlavor): Javadoc added.
15341         (javaJVMLocalObjectType): Fixed.
15342
15343 2004-02-05  Michael Koch  <konqueror@gmx.de>
15344
15345         * java/lang/Thread.java
15346         (Thread): Reordered.
15347         (setContextClassLoader): Fixed javadoc comment.
15348         (setPriority): Reordered.
15349         (yield): Reordered.
15350         (initialize_native): Reordered.
15351         (gen_name): Reordered.
15352
15353 2004-02-05  Michael Koch  <konqueror@gmx.de>
15354
15355         * java/lang/Thread.java: Reordered fields, reformated much code,
15356         no functional changes, some variables renamed, javadoc comments
15357         merged.
15358
15359 2004-02-05  Michael Koch  <konqueror@gmx.de>
15360
15361         * java/util/zip/Deflater.java,
15362         java/util/zip/DeflaterOutputStream.java,
15363         java/util/zip/GZIPInputStream.java:
15364         Reformated and javadoc comments merged from classpath.
15365
15366 2004-02-05  Michael Koch  <konqueror@gmx.de>
15367
15368         * gnu/java/nio/NIOServerSocket.java
15369         (impl): Unused, removed.
15370         * gnu/java/nio/SocketChannelImpl.java
15371         (finnishConnect): Don't throw NoConnectionPendingException if not
15372         connected or no connection pending.
15373
15374 2004-02-02  Graydon Hoare  <graydon@redhat.com>
15375
15376         * javax/swing/SwingUtilities.java: Many new functions.
15377         * java/awt/Container.java (LightweightDispatcher): Reimplement.
15378         * javax/swing/basic/BasicGraphicsUtils.java
15379         (getPreferredButtonSize): Start layout from top-left corner.
15380
15381 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
15382
15383         * java/awt/geom/AffineTransform.java:
15384         Corrected comments on the field definitions for
15385         m11 and m10.
15386         (shear): Fixed few errors that caused shear
15387         transformation to be performed incorrectly.
15388         (createInverse): Fixed to return correct
15389         inverse of the given matrix.
15390
15391 2004-02-03  Tom Tromey  <tromey@redhat.com>
15392
15393         * java/lang/natPosixProcess.cc (startProcess): Handle case where
15394         PATH or LD_LIBRARY_PATH is not set in parent environment.
15395
15396 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
15397
15398         * gnu/java/awt/peer/gtk/GtkListPeer.java,
15399         java/awt/BorderLayout.java, java/awt/CardLayout.java,
15400         java/awt/CheckboxGroup.java, java/awt/Choice.java,
15401         java/awt/Component.java, java/awt/Container.java,
15402         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
15403         java/awt/LayoutManager2.java, java/awt/List.java,
15404         java/awt/Menu.java, java/awt/MenuBar.java,
15405         java/awt/MenuItem.java, java/awt/Polygon.java,
15406         java/awt/Rectangle.java, java/awt/ScrollPane.java,
15407         java/awt/Scrollbar.java, java/awt/TextArea.java,
15408         java/awt/TextField.java,
15409         java/awt/image/renderable/RenderContext.java,
15410         javax/swing/JApplet.java: Fix handling of alias methods, where a
15411         method has been deprecated in favour of a new one with the same
15412         funtion but a different name.  Put the method implementation in
15413         the deprecated method and have the new method call the
15414         deprecated one.  Make all other code call the new method.
15415
15416 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
15417
15418         * gnu/java/nio/DatagramChannelImpl.java
15419         (inChannelOperation): New field.
15420         (isInChannelOperation): New accessor.
15421         (setInChannelOperation): New modifier.
15422         (receive): Use capacity() - position() of destination
15423         buffer instead of remaining(). Set and reset our "in
15424         channel operation indicator" before and after delegating
15425         the receive to our datagram socket. Removed testing code.
15426         Update destination buffer's current position if it is
15427         backed by a byte array (hasArray() is true).
15428         (send): Set and reset our "in channel operation indicator"
15429         before and after delegating the send to our datagram socket.
15430         Removed testing code. Update source buffer's current position
15431         if it is backed by a byte array (hasArray() is true).
15432         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
15433         Use capacity() - position() of destination buffer instead
15434         of remaining().
15435         * java/net/DatagramSocket.java (receive): Don't throw an
15436         IllegalBlockingModeException if we have a non-blocking
15437         channel which initiated this operation.
15438         (send): Likewise.
15439
15440 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
15441
15442         * configure.in: Add pkgconfig check for glib and gthread.
15443         * configure: Regenerate.
15444
15445 2004-02-01  Michael Koch  <konqueror@gmx.de>
15446
15447         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
15448         arguments.
15449         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
15450         * verify.cc (debug_print): Mark 'fmt' unused.
15451
15452 2004-01-30  Michael Koch  <konqueror@gmx.de>
15453
15454         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
15455         * configure: Regenerated.
15456         * glib-2.0.m4: Removed.
15457         * gtk-2.0.m4: Removed.
15458         * libart.m4: Removed.
15459         * pkg.m4: New file.
15460
15461 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
15462
15463         * gnu/java/net/PlainSocketImpl.java
15464         (inChannelOperation): New field.
15465         (isInChannelOperation): New accessor.
15466         (setInChannelOperation): New modifier.
15467         * gnu/java/nio/ServerSocketChannelImpl.java
15468         (accept): Set and reset our server socket's PlainSocketImpl's
15469         "in channel operation" indicator before and after delegating
15470         the accept to our server socket.
15471         * gnu/java/nio/SocketChannelImpl.java
15472         (connect): Set and reset our socket's PlainSocketImpl's "in channel
15473         operation" indicator before and after delegating the operation to
15474         our socket.
15475         (read): Likewise.
15476         (write): Likewise.
15477         * java/net/ServerSocket.java (implAccept): Don't throw an
15478         IllegalBlockingModeException if we have a non-blocking
15479         channel which initiated this accept operation.
15480         * java/net/Socket.java (connect): Don't throw an
15481         IllegalBlockingModeException if we have a non-blocking
15482         channel which initiated this connect operation.
15483         * java/nio/channels/spi/AbstractSelectableChannel.java
15484         (configureBlocking): Only call implConfigureBlocking() if
15485         the desired blocking mode is different from our current one.
15486
15487 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
15488
15489         * java/io/BufferedReader.java (sbuf): New field.
15490         (readLine): Use String.valueOf instead of new String() as per
15491         Per Bothner's suggestion. Use instance sbuf field instead of a
15492         local StringBuffer instance.
15493         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
15494         caller's buffer to refill().
15495         (read(void)): Pass our internal work buffer to refill if our
15496         input queue is empty.
15497         (refill): Changed return type to int. Use the specified buffer
15498         instead of our work buffer as per Bryce McKinlay's suggestion.
15499         Return the number of characters read or -1 for EOF.
15500
15501 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
15502
15503         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
15504
15505 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
15506
15507         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
15508         * Makefile.in: Re-generated.
15509         * gnu/awt/xlib/XFontPeer.java: New file.
15510         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
15511         (setClip): Commented out debug printout.
15512         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
15513         (getFontPeer): Return XFontPeer.
15514         (getLocalGraphicsEnvironment): New method.
15515         (getClasspathFontPeer): New method.
15516         (createFont): New method.
15517
15518 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
15519
15520         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
15521         return null.
15522
15523 2004-01-29  Kim Ho  <kho@redhat.com>
15524
15525         * gnu/java/awt/peer/gtk/GtkFramePeer.java
15526         (gtkLayoutSetVisible): New method
15527         (setMenuBar): Hide layout before setting MenuBar
15528         and reshow it after.
15529         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15530         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
15531
15532 2004-01-28  Michael Koch  <konqueror@gmx.de>
15533
15534         * gnu/java/lang/ClassHelper.java
15535         (getPackagePortion): Removed.
15536
15537 2004-01-28  Michael Koch  <konqueror@gmx.de>
15538
15539         * javax/swing/JComponent.java
15540         (listenerList): Initalize globally.
15541         (ancestor_list): Removed.
15542         (veto_list): Removed.
15543         (change_list): Removed.
15544         (get_veto_list): Removed.
15545         (get_change_list): Removed.
15546         (get_ancestor_list): Removed.
15547         (removeAncestorListener): Reimplemented.
15548         (removePropertyChangeListener): Likewise.
15549         (removeVetoableChangeListener): Likewise.
15550         (addAncestorListener): Likewise.
15551         (addPropertyChangeListener): Likewise.
15552         (addVetoableChangeListener): Likewise.
15553         (getListeners): New method.
15554         (getAncestorListeners): Likewise.
15555         (getVetoableChangeListeners): Likewise.
15556         (fireVetoableChange): Throws PropertyVetoException.
15557         * javax/swing/JEditorPane.java
15558         (JEditorPane): Throws IOException.
15559
15560 2004-01-28  David Jee  <djee@redhat.com>
15561
15562         * gnu/java/awt/peer/gtk/GtkFramePeer.java
15563         (create): Set the default foreground color to
15564         java.awt.SystemColor.windowText.
15565
15566 2004-01-27  Michael Koch  <konqueror@gmx.de>
15567
15568         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
15569         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
15570         Reindented to merge with classpath.
15571
15572 2004-01-27  David Jee  <djee@redhat.com>
15573
15574         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15575         (addExposeFilter): Handle GtkFramePeer separately.
15576         (removeExposeFilter): Likewise.
15577
15578 2004-01-27  Michael Koch  <konqueror@gmx.de>
15579
15580         * gnu/java/net/protocol/http/Connection.java
15581         (getOutputStream): Fixed typo.
15582
15583 2004-01-27  Michael Koch  <konqueror@gmx.de>
15584
15585         * java/lang/Class.java
15586         (getConstructor): Removed SecurityException from throws clause.
15587         (_getConstructors): Likewise.
15588         (getConstructors): Likewise.
15589         (getDeclaredConstructor): Likewise.
15590         (getDeclaredClasses): Likewise.
15591         (getDeclaredConstructors): Likewise.
15592         (getDeclaredField): Likewise.
15593         (getDeclaredMethod): Likewise.
15594         (getDeclaredMethods): Likewise.
15595         (getField): Likewise.
15596         (getMethod): Likewise.
15597         (getMethods): Likewise.
15598
15599 2004-01-27  Kim Ho  <kho@redhat.com>
15600
15601         * gnu/java/awt/peer/gtk/GtkFramePeer.java
15602         (removeMenuBarPeer): Remove MenuBarPeer argument.
15603         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
15604         (dispose): Call native method.
15605         * java/awt/Frame.java (setMenuBar): Create and remove
15606         MenuBar peers only if the Frame has a peer.
15607         (addNotify): Create the MenuBar peer if one exists.
15608         (removeNotify): Remove MenuBar peer if one exists.
15609         * java/awt/Menu.java: Fix imports.
15610         (addNotify): Don't use full class name.
15611         (removeNotify): Call removeNotify on all children.
15612         * java/awt/MenuBar.java (removeNotify): Call
15613         removeNotify on all children.
15614         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15615         (removeMenuBarPeer): Remove MenuBarPeer argument.
15616         Iterate through children to find the Frame's MenuBar.
15617         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
15618         New file.
15619         (dispose): Remove references to the MenuComponent.
15620
15621 2004-01-27  Michael Koch  <konqueror@gmx.de>
15622
15623         * javax/swing/AbstractCellEditor.java: Reformated.
15624         * javax/swing/DefaultListSelectionModel.java
15625         (listenerList): Made protected.
15626         (addListSelectionListener): Javadoc added.
15627         (removeListSelectionListener): Likewise.
15628         (getListeners): Likewise.
15629         (getListSelectionListeners): Likewise.
15630         * javax/swing/JComboBox.java: Merged copyright year.
15631         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
15632
15633 2004-01-26  Andrew Haley  <aph@redhat.com>
15634
15635         * javax/swing/table/JTableHeader.java: Extend JComponent
15636
15637 2004-01-26  Kim Ho  <kho@redhat.com>
15638
15639         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
15640         Fix spacing.
15641
15642 2004-01-26  Kim Ho  <kho@redhat.com>
15643
15644         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
15645         method.
15646         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
15647         height and let the Layout Managers readjust anything that
15648         needs to move.
15649         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15650         (moveLayout): New method. Shift everything in the Gtk
15651         layout in the Y direction by an offset.
15652
15653 2004-01-26  David Jee  <djee@redhat.com>
15654
15655         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15656         (handleEvent): Implemented. Handles PaintEvents.
15657         (paint): Implemented. Use GTK native methods to queue updates
15658         for this heavyweight peer.
15659         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
15660         (handleEvent): Removed.
15661         * java/awt/Component.java
15662         (paint): Implemented. Explictly paint the heavyweight peer.
15663         (update): Clear the background for heavyweight components.
15664         (paintAll): No need to call peer.paint() anymore.
15665         (processEvent): Don't process PaintEvents here. It's now done in
15666         the peer's handleEvent().
15667         (processPaintEvent): Removed.
15668         * java/awt/Container.java
15669         (paint): No need to call super.paint(). Visit heavyweight
15670         children as well.
15671         (update): Don't clear the background here.  It's done in
15672         Component.update().
15673         (visitChildren): Added check to not recurse into Containers.
15674         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15675         (filter_expose_event_handler): New method.  Filter unwanted
15676         expose events while painting heavyweight peers.
15677         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
15678         New method. Connect filter and block pre_event_handler.
15679         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
15680         New method. Disconnect filter and unblock pre_event_handler.
15681         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
15682         New method. Invalidate and update given area.
15683         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15684         (pre_event_handler): Add checks for unwanted expose events.
15685
15686 2004-01-26  David Jee  <djee@redhat.com>
15687
15688         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15689         (find_bg_color_widget): For GtkButton, return its child.
15690
15691 2004-01-26  Kim Ho  <kho@redhat.com>
15692
15693         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
15694         private.
15695         (setMenuBar): Grab MenuBar height and change insets.
15696         (setBounds): Account for MenuBar height.
15697         (postInsetsChangedEvent): Ditto.
15698         (postSizeAllocateEvent): Remove.
15699         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15700         (menubar_resize_cb): Remove
15701         (setMenuBarPeer): Remove callback.
15702         (getMenuBarHeight): Use size requisition instead of
15703         allocation.
15704
15705 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
15706
15707         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
15708         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
15709         when peer is null.
15710         (setColumns): Remove FIXME -- peer will retrieve number of
15711         columns by calling getColumns.
15712         (setRows): Likewise for number of rows.
15713         (next_text_number): New field.
15714         (paramString): Fix param string.
15715         (generateName): New method.
15716         (getUniqueLong): New method.
15717
15718 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
15719
15720         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
15721         image observer of image loading status.
15722         (getImage (String)): Start image production.
15723         (getImage (URL)): Likewise.
15724
15725 2004-01-25  Michael Koch  <konqueror@gmx.de>
15726
15727         * java/lang/Class.java: Imports reworked, reformated.
15728         (Class): Javadoc added.
15729         (forName): Likewise.
15730         (getClasses): Likewise.
15731         (getClassLoader): Likewise.
15732         (getComponentType): Likewise.
15733         (getConstructor): Likewise.
15734         (getConstructors): Likewise.
15735         (getDeclaredConstructor): Likewise.
15736         (getDeclaredClasses): Likewise.
15737         (getDeclaredConstructors): Likewise.
15738         (getDeclaredField): Likewise.
15739         (getDeclaredMethod): Likewise.
15740         (getDeclaredMethods): Likewise.
15741         (getDeclaringClass): Likewise.
15742         (getField): Likewise.
15743         (getInterfaces): Likewise.
15744         (getMethod): Likewise.
15745         (getMethods): Likewise.
15746         (getModifiers): Likewise.
15747         (getName): Likewise.
15748         (getResource): Likewise.
15749         (getResourceAsStream): Likewise.
15750         (getSigners): Likewise.
15751         (setSigners): Likewise.
15752         (getSuperclass): Likewise.
15753         (isArray): Likewise.
15754         (isAssignableFrom): Likewise.
15755         (isInstance): Likewise.
15756         (isInterface): Likewise.
15757         (isPrimitive): Likewise.
15758         (newInstance): Likewise.
15759         (getProtectionDomain): Likewise.
15760         (toString): Likewise.
15761         (Class): Moved.
15762         (initializeClass): Likewise.
15763         (finalize): Likewise.
15764
15765 2004-01-24  Michael Koch  <konqueror@gmx.de>
15766
15767         * gnu/java/net/protocol/jar/Connection.java
15768         (hdrHash): Removed.
15769         (hdrVec): Removed.
15770         (gotHeaders): Removed.
15771         (getHeaderField): Removed.
15772         (getHeaderFields): Removed.
15773         (getHeaderFieldKey): Removed.
15774         (getKey): Removed.
15775         (getField): Removed.
15776         (getHeaders): Removed.
15777
15778 2004-01-24  Michael Koch  <konqueror@gmx.de>
15779
15780         * Makefile.am: Added library version to gtk peer lib.
15781         * Makefile.in: Regenerated.
15782
15783 2004-01-24  Michael Koch  <konqueror@gmx.de>
15784
15785         * java/util/zip/InflaterInputStream.java: Merged class documentation
15786         with classpath.
15787
15788 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
15789
15790         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
15791         header.  For __powerpc64__ provide the default-signal.h definitions
15792         for now.
15793         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
15794         instead of the dummy definitions.
15795         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
15796         (powerpc64*-*): Remove with_libffi_default.
15797         Only add -mminimal-toc for 64-bit compilations.
15798         * configure.in: Use powerpc-signal.h on powerpc64 as well.
15799         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
15800         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
15801         * configure: Rebuilt.
15802
15803 2004-01-23  Michael Koch  <konqueror@gmx.de>
15804
15805         * gnu/java/nio/FileLockImpl.java: Compile fixes.
15806
15807 2004-01-23  Michael Koch  <konqueror@gmx.de>
15808
15809         * java/lang/VMClassLoader.java: Reworked imports.
15810
15811 2004-01-23  Michael Koch  <konqueror@gmx.de>
15812
15813         * javax/swing/AbstractAction.java: Reformated.
15814
15815 2004-01-23  Michael Koch  <konqueror@gmx.de>
15816
15817         * java/text/CollationElementIterator.java:
15818         (setText): New method.
15819
15820 2004-01-23  Michael Koch  <konqueror@gmx.de>
15821
15822         * gnu/java/nio/FileLockImpl.java:
15823         Fixed filename in copyright.
15824         (released): Removed.
15825         (finalize): New method.
15826         * gnu/java/nio/natFileLockImpl.cc
15827         (releaseImpl): Implemented.
15828         * java/nio/channels/FileChannelImpl.java:
15829         Reworked imports.
15830         (lock): Implemented.
15831         (lockImpl): New method.
15832         (tryLock): Implemented.
15833         (tryLockImpl): New method.
15834         * java/nio/channels/natFileChannelImpl.cc
15835         (lockImpl): New method.
15836         (tryLockImpl): New method.
15837
15838 2004-01-23  Michael Koch  <konqueror@gmx.de>
15839
15840         * java/io/FileDescriptor.java
15841         (lock): New method.
15842         (tryLock): New method.
15843         (unlock): New method.
15844         * java/io/natFileDescriptorEcos.cc
15845         (lock): New method.
15846         (tryLock): New method.
15847         (unlock): New method.
15848         * java/io/natFileDescriptorPosix.cc
15849         (lock): New method.
15850         (tryLock): New method.
15851         (unlock): New method.
15852         * java/io/natFileDescriptorWin32.cc
15853         (lock): New method.
15854         (tryLock): New method.
15855         (unlock): New method.
15856
15857 2004-01-23  Michael Koch  <konqueror@gmx.de>
15858
15859         * java/io/FileDescriptor.java
15860         (sync): Moved around, added javadoc.
15861         (valid): Likewise.
15862         (open): Likewise.
15863         (write): Likewise.
15864         (close): Likewise.
15865         (setLength): Likewise.
15866         (seek): Likewise.
15867         (getLength): Likewise.
15868         (getFilePointer): Likewise.
15869         (read): Likewise.
15870         (available): Likewise.
15871         (finalize): Likewise.
15872
15873 2004-01-23  Michael Koch  <konqueror@gmx.de>
15874
15875         * javax/swing/AbstractAction.java: Reformated.
15876         (getPropertyChangeListeners): New method.
15877         * javax/swing/AbstractCellEditor.java: Reformated.
15878         (getCellEditorListeners): New method.
15879         * javax/swing/DefaultListSelectionModel.java
15880         (listenerList): New field.
15881         (listeners): Removed.
15882         (get_listeners): Removed.
15883         (addListSelectionListener): Rewritten.
15884         (removeListSelectionListener): Rewritten.
15885         (getListSelectionListeners): New method.
15886         (getListeners): New method.
15887         * javax/swing/JComboBox.java: Imports reworked.
15888         (addActionListener): Implemented.
15889         (removeActionListener): Implemented.
15890         (addItemListener): Implemented.
15891         (removeItemListener): Implemented.
15892         (addPopupMenuListener): Implemented.
15893         (removePopupMenuListener): Implemented.
15894         (getActionListeners): New method.
15895         (getItemListeners): New method.
15896         (getPopupMenuListeners): New method.
15897
15898 2004-01-23  Michael Koch  <konqueror@gmx.de>
15899
15900         * gnu/java/net/protocol/http/Connection.java
15901         (connect): Don't initialize bufferedOutputStream if not needed.
15902         (sendRequest): Set property for content length if content is present.
15903         Write content only if present.
15904         (getOutputStream): Check if already connected, dont connect,
15905         initalize bufferedOutputStream if needed.
15906
15907 2004-01-23  Michael Koch  <konqueror@gmx.de>
15908
15909         * java/io/FileDescriptor.java
15910         (in, out, err): Added javadoc.
15911         (static): Merged loading code.
15912         (fd, position): Moved around.
15913
15914 2004-01-23  Michael Koch  <konqueror@gmx.de>
15915
15916         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
15917         New file.
15918
15919 2004-01-23  Michael Koch  <konqueror@gmx.de>
15920
15921         * java/lang/Class.java,
15922         java/lang/Object.java,
15923         java/lang/Thread.java: Merged copyright with classpath.
15924
15925 2004-01-23  Michael Koch  <konqueror@gmx.de>
15926
15927         * java/io/FileDescriptor.java: Merged copyright with classpath to
15928         start merging this class.
15929
15930 2004-01-22  Tom Tromey  <tromey@redhat.com>
15931
15932         PR libgcj/13107:
15933         * testsuite/libjava.lang/pr13107_2.xfail: New file.
15934         * testsuite/libjava.lang/pr13107_3.xfail: New file.
15935         * testsuite/libjava.lang/pr13107_3.java: New file.
15936         * testsuite/libjava.lang/pr13107_3.out: New file.
15937         * testsuite/libjava.lang/pr13107_2.java: New file.
15938         * testsuite/libjava.lang/pr13107_2.out: New file.
15939         * testsuite/libjava.lang/pr13107.java: New file.
15940         * testsuite/libjava.lang/pr13107.out: New file.
15941         * verify.cc (jsr_ptrs): Removed.
15942         (entry_points): Likewise.
15943         (struct subr_info): Likewise.
15944         (struct subr_entry_info): Likewise.
15945         (type_val::unused_by_subroutine_type): Likewise.
15946         (type::merge): Don't handle unused_by_subroutine_type.
15947         (type::print): Likewise.
15948         (state::flags): Removed.
15949         (state::subroutine): Likewise.
15950         (state::seen_subrs): Likewise.
15951         (state::NO_STACK): Likewise.
15952         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
15953         (state): Updated all methods.
15954         (state::clean_subrs): Removed.
15955         (state::state): Removed `ret_semantics' flag.
15956         (state::copy): Likewise.
15957         (state::add_subr): Removed.
15958         (state::enter_subroutine): Likewise.
15959         (type::set_return_address): New method.
15960         (handle_jsr_insn): Set return address on the type.  Always
15961         invalidate PC after call.
15962         (check_nonrecursive_call): Removed.
15963         (~_Jv_BytecodeVerifier): Updated.
15964         (branch_prepass): Removed special handling of jsr.
15965         (note_branch_target): Likewise.
15966         (get_subroutine): Removed.
15967         (state::merge): Don't merge subroutines and don't handle
15968         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
15969         (state::note_variable): Removed.
15970         (state::is_unmerged_ret_state): Likewise.
15971         (state::print): Updated.
15972         (set_variable): Likewise.
15973         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
15974         and jsr_semantics arguments.  Updated for new reverification
15975         list.
15976         (pop_jump): Rewrote.
15977         (construct_primitive_array_type): Updated.
15978         (state::next): Removed.
15979         (INVALID_STATE): New define.
15980         (state::INVALID): Removed.
15981         (state::NO_NEXT): New value.
15982         (state::pc, state::next): New fields.
15983         (state::get_pc): New method.
15984         (next_verify_pc): Removed.
15985         (next_verify_state): New field.
15986         (verify_instructions_0): Always check for falling off end.
15987         (linked): New type.
15988         (linked_utf8): Removed.
15989         (states): Changed type.
15990         (type::state_mergeable_p): New method.
15991         (state::state_mergeable_p): Likewise.
15992         (handle_ret_insn): Removed most code.
15993         (state::reverify): New method.
15994         (add_new_state): Likewise.
15995         (state::set_pc): Likewise.
15996
15997 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
15998
15999         PR java/13733
16000         * testsuite/libjava.compile/PR13733.java: New file.
16001         * testsuite/libjava.compile/PR13733.xfail: New file.
16002
16003 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
16004             Michael Koch  <konqueror@gmx.de>
16005
16006         * javax/swing/table/DefaultTableCellRenderer.java
16007         (DefaultTableCellRenderer): Added javadoc for the class and for
16008         the constructor, Border instance, create an EmptyBorder.
16009         (UIResource): Removed the comment at the end of the class
16010         (setForeground): New method.
16011         (setBackground): New method.
16012         (updateUI): New method.
16013         (getTableCellRendererComponent): Rewritten with the help of
16014         dvholten and Stephane Meslin-Weber.
16015         (validate): New method.
16016         (repaint): New method.
16017         (firePropertyChange): New method.
16018         (setValue): New method.
16019
16020 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
16021
16022         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16023         (connectJObject): Replace printf calls with g_assert statements.
16024         Move property-notify-event signal connection to ...
16025         (connectSignals): Connect property-notify-event signal.  Iterate
16026         through the vbox's children to find layout.
16027
16028 2004-01-22  Graydon Hoare  <graydon@redhat.com>
16029
16030         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
16031         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
16032         Predicate static initialization on GtkToolkit.useGraphics2D().
16033         * java/awt/Component.java (processPaintEvent): Consume event.
16034         * javax/swing/AbstractButton.java: Reimplement, document.
16035         * javax/swing/DefaultButtonModel.java: Reimplement, document.
16036         * javax/swing/JComponent.java (paint): Use double buffer.
16037         (listenerList): Enable member.
16038         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
16039         * javax/swing/JToggleButton.java
16040         (JToggleButton): Modify model constructor.
16041         * javax/swing/SwingUtilities.java
16042         (layoutCompoundLabel): Adjust arithmetic.
16043         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
16044         * javax/swing/plaf/basic/BasicGraphicsUtils.java
16045         (getPreferredButtonSize): Include margins in calculation.
16046         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16047         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
16048         Receive up events from subordinate layout component.
16049
16050 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
16051
16052         * java/awt/Component.java (show): Set visible to true before
16053         showing the peer.
16054
16055 2004-01-21  Kim Ho  <kho@redhat.com>
16056
16057         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
16058         Fix comments.
16059         (removeMenuBarPeer): Make package private.
16060         (setMenuBarPeer): Make package private.
16061         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16062         (menubar_resize_cb): Mark attributes unused.
16063         (getMenuBarHeight): ditto.
16064
16065 2004-01-21  David Jee  <djee@redhat.com>
16066
16067         * java/awt/Container.java
16068         (LightweightDispatcher.handleEvent): Add an extra check to avoid
16069         dispatching MOUSE_ENTERED event twice. Translate the point for
16070         the mouse event target before dispatching the event.
16071
16072 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
16073
16074         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
16075         lib_org_w3c_dom_la_LDFLAGS): New.
16076         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
16077         * Makefile.in: Rebuilt.
16078
16079 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
16080
16081         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
16082         Calculate proper offsets for heavyweight components packed in
16083         lightweight containers.
16084
16085         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
16086         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
16087         (native create): Add width parameter.
16088         (create): Calculate text entry width based on current font's
16089         metrics and number of columns.  Set TextField's font if not
16090         already set.  Call native create.
16091         (gtkEntryGetBorderWidth): New native method.
16092         (gtkEntryGetSize): Remove method.
16093         (getMinimumSize): Call minimumSize.
16094         (getPreferredSize): Call preferredSize.
16095         (minimumSize): Calculate minimum size based on backing
16096         GtkEntry's borders, font metrics and number of columns.
16097         (preferredSize): Likewise for preferred size.
16098         (get_border_width): New static function.
16099
16100         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
16101         Override GtkWindowPeer's setResizable method to account for menu
16102         bar height when setting the frame's size.
16103
16104 2004-01-19  Matthias Klose  <doko@debian.org>
16105
16106         * libtool-version: Increased `current' to 6.
16107
16108 2004-01-19  Kim Ho  <kho@redhat.com>
16109
16110         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16111         (connectJObject): Iterate through the vbox's children to find layout.
16112
16113 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
16114
16115         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
16116         isDispatchThread method to replace wrong test condition.
16117
16118 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
16119
16120         * java/awt/EventQueue.java (pop): Prevent racing condition to add
16121         events to the queue out of order by acquiring locks in the proper
16122         order and not by releasing one before acquiring the other.
16123
16124 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
16125
16126         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
16127         visible so that dialog can be reused.
16128
16129 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
16130
16131         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
16132         events may be handled by any queue in the stack.
16133
16134 2004-01-19  Kim Ho  <kho@redhat.com>
16135
16136         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
16137         MenuBarPeer parameter.
16138         (removeMenuBarPeer): New native method.
16139         (setMenuBar): Call remove if menu bar is null. Adjust insets
16140         appropriately.
16141         (postSizeAllocateEvent): New method. Called when menu bar size is
16142         allocated. Adjust insets and redo layout.
16143         (GtkFramePeer): Set menu bar during frame creation.
16144         (postConfigureEvent): Adjust position and size to accomodate
16145         menu bar.
16146         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
16147         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
16148         (addNotify): Create the peer if it doesn't exist and call addNotify
16149         for the menu's items.
16150         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
16151         * java/awt/MenuItem.java (addNotify): Create the peer if it
16152         doesn't exist.
16153         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16154         (removeMenuBarPeer): New method. Remove menu bar on the current
16155         frame.
16156         (setMenuBarPeer): Add the menu bar to the current frame and the
16157         callback for size-allocate events on the menu bar.
16158         (getMenuBarHeight): Add menu bar parameter.
16159         (menubar_resize_cb): New callback method for postSizeAllocate events.
16160
16161         Also: Fix indentation on last ChangeLog entry.
16162
16163 2004-01-16  Kim Ho  <kho@redhat.com>
16164
16165         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
16166         (gtkWidgetGetDimensions): Remove.
16167         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16168         (gtkWidgetGetDimensions): Remove.
16169
16170 2004-01-16  Tom Tromey  <tromey@redhat.com>
16171
16172         * java/awt/Container.java: Typo and indentation fixes.
16173
16174         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
16175         * java/lang/natVMClassLoader.cc: ...here.  New file.
16176         * Makefile.in: Rebuilt.
16177         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
16178
16179 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
16180
16181         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
16182         Discard GDK_ENTER_NOTIFY related to ungrabs.
16183
16184 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
16185
16186         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
16187         is called for an intermediate queue.
16188
16189 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
16190
16191         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16192         (window_property_changed_cb): Set id_set.
16193
16194 2004-01-16  Kim Ho  <kho@redhat.com>
16195
16196         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
16197         it is a FileDialog and has dimensions of 0 by 0, then the initial
16198         size is set to size request plus insets.
16199         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
16200         (gtkWidgetGetDimensions): Override method.
16201         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16202         (gtkWidgetGetDimensions): Override method. Returns size request plus
16203         insets.
16204
16205 2004-01-16  Andrew Haley  <aph@redhat.com>
16206
16207         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
16208         * sysdep/i386/locks.h: Likewise.
16209
16210 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
16211
16212         * java/awt/EventDispatchThread.java (run): Stop running when
16213         interrupted.
16214         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
16215         Reset the queue after transferring its contents.
16216         (push): Start a new dispatch thread if none is running.
16217
16218 2004-01-16  Olga Rodimina <rodimina@redhat.com>
16219
16220         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
16221         (doPolygon): set fill rule of polygon to
16222         WIND_EVEN_ODD by default.
16223
16224 2004-01-15  Olga Rodimina <rodimina@redhat.com>
16225
16226         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
16227         Implemented rendering hints related methods.
16228         (getDefaultHints): New helper method. Returns
16229         default rendering hints.
16230         (walkPath): changed to normalize path if
16231         the KEY_STROKE_CONTROL key is in "normalize" mode.
16232         (draw3DRect): changed coordinates of rectangle by +0.5
16233         if in "normalize" mode.
16234
16235 2004-01-15  Tom Tromey  <tromey@redhat.com>
16236
16237         * Makefile.in: Rebuilt.
16238         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
16239         (%.lo: %.java) Filter out StackTrace.lo.
16240
16241 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
16242
16243         * configure.in: Add in AC_PREREQ(2.13)
16244         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete
16245         FIXME comment.
16246
16247 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
16248             Tom Tromey  <tromey@redhat.com>
16249
16250         PR libgcj/12001:
16251         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
16252         array to superclass.
16253         (init): Changed interface; add URLs here.
16254         (initialize): New static method.
16255         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
16256         (_Jv_RunMain): ... not here.
16257
16258 2004-01-14  Michael Koch  <konqueror@gmx.de>
16259
16260         * java/text/MessageFormat.java:
16261         Added descriptions to exceptions.
16262         This fixes PR libgcj/2429.
16263
16264 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
16265
16266         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
16267         (push): Make sure push is performed at the top of the thread stack.
16268
16269 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
16270
16271         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
16272         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
16273         (native create): Add width and height parameters.  Set text
16274         view's size request according to new parameters.
16275         (create): Calculate text view size based on current font's
16276         metrics and number of rows and columns.  Set TextArea's font if
16277         not already set.  Call native create.
16278         (getMinimumSize): Call minimumSize.
16279         (getPreferredSize): Call preferredSize.
16280         (getHScrollbarHeight): New method.
16281         (getVScrollbarWidth): New method.
16282         (minimumSize): Calculate minimum size based on scrollbar
16283         visibility, scrollbar sizes, font metrics and number of rows and
16284         columns.
16285         (preferredSize): Likewise for preferred size.
16286         (gtkTextGetSize): Remove method.
16287
16288 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
16289
16290         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
16291         (initializeInsets): Remove method.
16292         (GtkComponentPeer): Initialize insets field.  Remove call to
16293         initializeInsets.
16294         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
16295         Remove method.
16296         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
16297         Remove method.
16298         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
16299         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
16300         (latestInsets): Remove field.
16301         (native create): Add insets parameter.  Call
16302         window_get_frame_extents.  Set the window's default size and
16303         size request based on its frame extents.
16304         (create): Initialize insets.
16305         (postInsetsChangedEvent): New method.
16306         (postConfigureEvent): Remove parameters top, left, bottom,
16307         right.  Remove insets-related logic.
16308         (connectJObject): Handle property-notify-event.
16309         (window_get_frame_extents, request_frame_extents,
16310         property_notify_predicate, window_property_changed_cb): New
16311         static functions.
16312         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
16313         (pre_event_handler): Remove insets-related logic for configure
16314         events.
16315         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
16316         Update postConfigureEvent signature.
16317
16318 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
16319
16320         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
16321         to handle Window "Closing" events.
16322
16323 2004-01-13  David Jee  <djee@redhat.com>
16324
16325         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
16326         (setBackground): New method. Children with no explicitly-set
16327         background will be repainted with the parent container's new
16328         background color.
16329
16330 2004-01-13  David Jee  <djee@redhat.com>
16331
16332         * Makefile.am: Add BitwiseXORComposite.java.
16333         * Makefile.in: Regenerated.
16334         * gcj/Makefile.in: Regenerated.
16335         * include/Makefile.in: Regenerated.
16336         * testsuite/Makefile.in: Regenerated.
16337
16338 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
16339
16340         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
16341         not show modal dialogs twice and so that it allows showing a modal
16342         dialog from another modal dialog.
16343
16344 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
16345
16346         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
16347         and run secondary dispatch thread to process event queue while this
16348         thread is blocked.
16349
16350 2004-01-12  Graydon Hoare  <graydon@redhat.com>
16351
16352         * gnu/java/awt/gtk/GdkGraphics2D.java
16353         (static): Check GtkToolkit before initializing static state.
16354         (Graphics2D): Don't construct transform with 0.5 unit offset.
16355
16356 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
16357
16358         * gnu/java/awt/BitwiseXORComposite.java: Add.
16359         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
16360         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
16361         (BitwiseXORComposite): Remove inner class.
16362
16363 2004-01-11  Michael Koch  <konqueror@gmx.de>
16364
16365         * gnu/java/lang/reflect/TypeSignature.java
16366         (getEncodingOfClass): Documentation fixed.
16367         (getClassForEncoding): Give class loader to Class.forName().
16368         Documentation fixed.
16369
16370 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
16371
16372         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
16373
16374 2004-01-11  Michael Koch  <konqueror@gmx.de>
16375
16376         * javax/swing/undo/StateEditable.java
16377         (RCSID): Removed redundant modifiers.
16378
16379 2004-01-10  Michael Koch  <konqueror@gmx.de>
16380
16381         * javax/print/attribute/EnumSyntax.java
16382         (getStringTable): Made protected.
16383         (getEnumValueTable): Likewise.
16384         * javax/print/attribute/standard/JobKOctetsProcessed.java
16385         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
16386         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
16387         (JobMediaSheetsCompleted): Made class final.
16388         * javax/print/attribute/standard/OutputDeviceAssigned.java
16389         (getName): Fixed typo.
16390         * javax/print/attribute/standard/RequestingUserName.java
16391         (serialVersionUID): Fixed value.
16392
16393 2004-01-10  Michael Koch  <konqueror@gmx.de>
16394
16395         * javax/swing/plaf/basic/BasicButtonUI.java,
16396         javax/swing/plaf/basic/BasicCheckBoxUI.java,
16397         javax/swing/plaf/basic/BasicListUI.java,
16398         javax/swing/plaf/basic/BasicOptionPaneUI.java,
16399         javax/swing/plaf/basic/BasicPanelUI.java,
16400         javax/swing/plaf/basic/BasicRadioButtonUI.java,
16401         javax/swing/plaf/basic/BasicScrollPaneUI.java,
16402         javax/swing/plaf/basic/BasicToggleButtonUI.java,
16403         javax/swing/plaf/basic/BasicViewportUI.java:
16404         Fixed import statements.
16405
16406 2004-01-10  Michael Koch  <konqueror@gmx.de>
16407
16408         * gnu/java/awt/image/ImageDecoder.java
16409         (produce): Made public.
16410         * gnu/java/awt/peer/GLightweightPeer.java,
16411         gnu/java/awt/peer/gtk/GtkToolkit.java:
16412         Reformated.
16413
16414 2004-01-10  Michael Koch  <konqueror@gmx.de>
16415
16416         * javax/swing/JRadioButtonMenuItem.java,
16417         javax/swing/JSeparator.java,
16418         javax/swing/JSplitPane.java,
16419         javax/swing/JTextPane.java,
16420         javax/swing/JToolBar.java,
16421         javax/swing/ListCellRenderer.java,
16422         javax/swing/ListModel.java,
16423         javax/swing/MenuElement.java,
16424         javax/swing/OverlayLayout.java,
16425         javax/swing/ProgressMonitor.java,
16426         javax/swing/ProgressMonitorInputStream.java,
16427         javax/swing/Renderer.java,
16428         javax/swing/RootPaneContainer.java,
16429         javax/swing/Scrollable.java,
16430         javax/swing/SingleSelectionModel.java,
16431         javax/swing/ToolTipManager.java,
16432         javax/swing/ViewportLayout.java,
16433         javax/swing/event/DocumentEvent.java,
16434         javax/swing/event/SwingPropertyChangeSupport.java,
16435         javax/swing/event/TreeSelectionEvent.java,
16436         javax/swing/event/UndoableEditEvent.java,
16437         javax/swing/text/AbstractDocument.java,
16438         javax/swing/text/AttributeSet.java,
16439         javax/swing/text/Caret.java,
16440         javax/swing/text/ComponentView.java,
16441         javax/swing/text/DefaultCaret.java,
16442         javax/swing/text/DefaultEditorKit.java,
16443         javax/swing/text/Document.java,
16444         javax/swing/text/EditorKit.java,
16445         javax/swing/text/GapContent.java,
16446         javax/swing/text/Keymap.java,
16447         javax/swing/text/MutableAttributeSet.java,
16448         javax/swing/text/PlainEditorKit.java,
16449         javax/swing/text/Segment.java,
16450         javax/swing/text/Style.java,
16451         javax/swing/text/StyledDocument.java,
16452         javax/swing/text/StyledEditorKit.java,
16453         javax/swing/text/TextAction.java,
16454         javax/swing/text/View.java: Fixed import statements.
16455
16456 2004-01-08  Graydon Hoare  <graydon@redhat.com>
16457
16458         * javax/swing/JLayeredPane.java: Rewrite to accomodate
16459         djee@redhat.com's recent inverse ordering of Container elements.
16460
16461 2004-01-09  Michael Koch  <konqueror@gmx.de>
16462
16463         * gnu/java/lang/ArrayHelper.java
16464         (equalsArray): Removed.
16465
16466 2004-01-09  Andrew Haley  <aph@redhat.com>
16467
16468         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
16469         a Utf8Const field before looking at its class.
16470
16471 2004-01-09  Michael Koch  <konqueror@gmx.de>
16472
16473         * javax/print/attribute/standard/DocumentName.java,
16474         javax/print/attribute/standard/JobHoldUntil.java,
16475         javax/print/attribute/standard/JobMessageFromOperator.java,
16476         javax/print/attribute/standard/JobName.java,
16477         javax/print/attribute/standard/JobOriginatingUserName.java,
16478         javax/print/attribute/standard/OutputDeviceAssigned.java,
16479         javax/print/attribute/standard/PrinterInfo.java,
16480         javax/print/attribute/standard/PrinterLocation.java,
16481         javax/print/attribute/standard/PrinterMakeAndModel.java,
16482         javax/print/attribute/standard/PrinterMessageFromOperator.java,
16483         javax/print/attribute/standard/PrinterName.java,
16484         javax/print/attribute/standard/RequestingUserName.java: New files.
16485         * Makefile.am (javax_source_files): Added new files.
16486         * Makefile.in: Regenerated.
16487
16488 2004-01-09  Michael Koch  <konqueror@gmx.de>
16489
16490         * javax/swing/AbstractAction.java,
16491         javax/swing/AbstractSet.java,
16492         javax/swing/Action.java,
16493         javax/swing/ActionMap.java,
16494         javax/swing/BoundedRangeModel.java,
16495         javax/swing/ButtonModel.java,
16496         javax/swing/CellEditor.java,
16497         javax/swing/CellRendererPane.java,
16498         javax/swing/ComboBoxEditor.java,
16499         javax/swing/DebugGraphics.java,
16500         javax/swing/DefaultCellEditor.java,
16501         javax/swing/DefaultCellRenderer.java,
16502         javax/swing/DefaultComboBoxModel.java,
16503         javax/swing/DefaultDesktopManager.java,
16504         javax/swing/DefaultFocusManager.java,
16505         javax/swing/DefaultListCellRenderer.java,
16506         javax/swing/Icon.java,
16507         javax/swing/JButton.java,
16508         javax/swing/JCheckBoxMenuItem.java,
16509         javax/swing/JDesktopPane.java,
16510         javax/swing/JEditorPane.java,
16511         javax/swing/JMenu.java,
16512         javax/swing/JPanel.java,
16513         javax/swing/JPasswordField.java,
16514         javax/swing/JPopupMenu.java,
16515         javax/swing/JProgressBar.java: Reworked imports.
16516
16517 2004-01-09  Michael Koch  <konqueror@gmx.de>
16518
16519         * java/awt/geom/PathIterator.java
16520         (WIND_EVEN_ODD): Removed redundant modifiers.
16521         (WIND_NON_ZERO): Likewise.
16522         (SEG_MOVETO): Likewise.
16523         (SEG_LINETO): Likewise.
16524         (SEG_QUADTO): Likewise.
16525         (SEG_CUBICTO): Likewise.
16526         (SEG_CLOSE): Likewise.
16527         * java/awt/image/SinglePixelPackedSampleModel.java:
16528         Removed redundant semicolon.
16529         * java/io/ObjectInputStream.java
16530         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
16531         * java/util/logging/Filter.java
16532         (isLoggable): Removed redundant modifier.
16533         * java/util/logging/LogManager.java:
16534         Removed redundant semicolon.
16535         * java/util/logging/XMLFormatter.java
16536         (format): Removed unused variable "key".
16537
16538 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
16539
16540         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
16541         New name for the former setFile native method.
16542         (setFile): New method.
16543         (setDirectory): Implemented.
16544         (connectSignals): New native method.
16545         (setFilenameFilter): Improve comment.
16546         (getGraphics): Comment.
16547         (gtkHideFileDialog): New method.
16548         (gtkDisposeFileDialog): New method.
16549         (gtkSetFilename): New method.
16550         * java/awt/Dialog.java (show): Block on modal dialogs, but only
16551         for FileDialog for now.
16552         (hide): New method.
16553         (dispose): New method.
16554         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
16555         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
16556         deprecated creation functions.  Make dialog modal.  Add it to the
16557         window group.
16558         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
16559         function.
16560         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
16561         Rename to...
16562         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
16563         name.
16564         (window_closed): New function.
16565         (ok_clicked): New function.
16566         (cancel_clicked): New function.
16567
16568 2004-01-08  Michael Koch  <konqueror@gmx.de>
16569
16570         * javax/swing/JLayeredPane.java: Revert changes to standard
16571         boilerplate, reworked imports.
16572
16573 2004-01-07  Tom Tromey  <tromey@redhat.com>
16574
16575         PR libgcj/13439:
16576         * verify.cc (state::merge): Copy changed locals out of subroutine
16577         in NO_STACK case.
16578         (state::FLAG_CHANGED): New const.
16579         (state::FLAG_UNUSED): Likewise.
16580         (state::local_changed): Removed.  Updated all users.
16581         (state::flags): New field.
16582         (state::merge): Added jsr_semantics argument, more logic.
16583         (push_jump_merge): Added jsr_semantics argument.
16584         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
16585         merging through the jsr instruction.
16586
16587 2004-01-07  Tom Tromey  <tromey@redhat.com>
16588
16589         * scripts/MakeDefaultMimeTypes.java: Use \n, not
16590         backslash-newline.
16591
16592 2004-01-07  Graydon Hoare  <graydon@redhat.com>
16593
16594         * java/awt/Container.java (LightweightDispatcher): Implement.
16595         (visitChild): Reuse graphics object.
16596         (dispatchEventImpl): Optionally dispatch to lightweight.
16597         (addNotifyContainerChildren): Build LightweightDispatcher.
16598
16599 2004-01-07  David Jee  <djee@redhat.com>
16600
16601         * java/awt/Container.java
16602         (update): Clear only the clipped region, instead of clearing the
16603         entire Container.
16604         (visitChildren): Visit children in descending order.
16605
16606 2004-01-07  Michael Koch  <konqueror@gmx.de>
16607
16608         * java/lang/reflect/Array.java: Merged documentation with classpath.
16609
16610 2004-01-07  Michael Koch  <konqueror@gmx.de>
16611
16612         * java/text/CollationElementIterator.java
16613         (textIndex): Renamed from index.
16614         * java/text/CollationKey.java
16615         (collator): New member.
16616         (CollationKey): New argument for parent collator.
16617         (equals): Check for same collator, source string and key array.
16618         * java/text/RuleBasedCollator.java:
16619         Reformated.
16620         (RuleBasedCollator): Don't re-initialize frenchAccents with default
16621         value.
16622         (getCollationElementIterator): Rewritten.
16623         (getCollationKey): Added new argument to CollationKey constructor.
16624
16625 2004-01-07  Michael Koch  <konqueror@gmx.de>
16626
16627         * gnu/java/nio/DatagramChannelImpl.java
16628         (blocking): Removed.
16629         (DatagramChannelImpl): Call configureBlocking().
16630         (implConfigureBlocking): Dont initialize blocking.
16631         * gnu/java/nio/ServerSocketChannelImpl.java
16632         (blocking): Removed.
16633         (ServerSocketChannelImpl): Call configureBlocking().
16634         (implConfigureBlocking): Dont initialize blocking.
16635         * gnu/java/nio/SocketChannelImpl.java
16636         (blocking): Removed.
16637         (SocketChannelImpl): Call configureBlocking().
16638         (implConfigureBlocking): Dont initialize blocking.
16639         (connect): Use isBlocking().
16640         * java/nio/channels/spi/AbstractSelectableChannel.java
16641         (configureBlocking): Use blockingLock() instead of LOCK.
16642         Set blocking after successfully called implConfigureBlocking().
16643         (register): Use blockingLock() instead of LOCK.
16644
16645 2004-01-07  Michael Koch  <konqueror@gmx.de>
16646
16647         * java/net/ServerSocket.java (isBound): Fixed documentation.
16648
16649 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
16650
16651         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
16652         (changeEvent): Create event object on demand.
16653         (DefaultBoundedRangeModel, toString, setValue, setExtent,
16654         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
16655         fireStateChanged): Re-written.
16656         * javax/swing/event/EventListenerList.java: Reformatted, document
16657         typical usage.
16658         (toString): Implemented.
16659         (getListeners): Re-written.
16660         (remove): Re-written.
16661         (add): Re-written.
16662         (NO_LISTENERS): New singleton field.
16663         (listenerList): Declare as transient; document.
16664         (serialVersionUID): Document.
16665         (getListenerCount(Class)): More efficient implementation,
16666         also accepts null argument.  Improve Javadoc.
16667         (getListenerCount()): Remove unnecessary cast; docfix.
16668         * javax/swing/undo/UndoableEditSupport.java:
16669         Re-format, document.
16670         (UndoableEditSupport): Set realSource field. Improve documentation.
16671         (_postEdit): Iterate over cloned listener vector.
16672         (toString): Don't emit realSource.
16673         (beginUpdate, endUpdate): Support nested updates.
16674         (postEdit): Use compound edit if present.
16675
16676 2004-01-06  Graydon Hoare  <graydon@redhat.com>
16677
16678         * java/awt/Container.java (swapComponents): Add forgotten
16679         function, required for JLayeredPane change.
16680
16681 2004-01-06  Michael Koch  <konqueror@gmx.de>
16682
16683         * java/text/CollationElementIterator.java: Reformated.
16684         (CollationElementIterator): Changed order of arguments.
16685         * java/text/RuleBasedCollator.java
16686         (RuleBasedCollator): Merged class documentation.
16687         (CollationElement): Added documentation.
16688         (compare): Reformated, renamed arguments.
16689         (equals): Likewise.
16690         (getCollationElementIterator): Likewise.
16691         (getCollationKey): Likewise.
16692
16693 2004-01-06  Graydon Hoare  <graydon@redhat.com>
16694
16695         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
16696
16697 2004-01-06  Michael Koch  <konqueror@gmx.de>
16698
16699         * gnu/java/net/protocol/file/Connection.java:
16700         Reformated copyright.
16701         (hdrHash): Removed.
16702         (hdrVec): Removed.
16703         (gotHeaders): Removed.
16704         (getHeaderField): Removed.
16705         (getHeaderField): Removed.
16706         (getHeaderFieldKey): Removed.
16707         (getKey): Removed.
16708         (getField): Removed.
16709         (getHeaders): Removed.
16710
16711 2004-01-06  Michael Koch  <konqueror@gmx.de>
16712
16713         * javax/print/attribute/standard/DateTimeAtCompleted.java,
16714         javax/print/attribute/standard/DateTimeAtCreation.java,
16715         javax/print/attribute/standard/DateTimeAtProcessing.java,
16716         javax/print/attribute/standard/JobImpressionsCompleted.java,
16717         javax/print/attribute/standard/JobKOctets.java,
16718         javax/print/attribute/standard/JobKOctetsProcessed.java,
16719         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
16720         javax/print/attribute/standard/JobPrioritySupported.java: New files.
16721         * Makefile.am (javax_source_files): Added new files.
16722         * Makefile.in: Regenerated.
16723
16724 2004-01-06  Michael Koch  <konqueror@gmx.de>
16725
16726         * java/net/URLConnection.java
16727         (contentHandler): Removed.
16728         (locale): Removed.
16729         (getHeaderFields): Return an empty map instead of null.
16730         (getContent): Connect if needed, renamed "cType" to "type" and
16731         "contentHandler" to "ch" and made it a local variable.
16732         (getPermission): Don't use package in class name.
16733         (setDefaultRequestProperty): Fixed typo in documentation.
16734         (initializeDateFormats): Made locale a local variable.
16735
16736 2004-01-06  Michael Koch  <konqueror@gmx.de>
16737
16738         * java/lang/Package.java
16739         (getPackage): Get the current class loader directly.
16740         * java/lang/SecurityManager.java
16741         (currentLoadedClass): Dont iterate over class contexts.
16742         (classLoaderDepth): Don't check class loaders if everything is allowed.
16743
16744 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
16745
16746         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
16747         (pre_event_handler): Set all insets to 0 when a Configure event
16748         is received for a GtkPlug.
16749         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
16750         Make handle long, not int.
16751         (EmbeddedWindow()): New constructor.
16752         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
16753         long, not int.
16754         (setHandle): New method.
16755         (getHandle): Return long, not int.
16756         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
16757         declaration.
16758         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
16759         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
16760         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
16761         argument to GdkNativeWindow.
16762         (construct): New method.
16763         (embed): New method.
16764
16765         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
16766         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
16767         (create(int, int)): New method.
16768         (create): Call new create method.
16769         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
16770         methods.
16771         (childResized): Remove native implementation.  Implement in
16772         Java.
16773         (getHScrollbarHeight, getVScrollbarWidth): Call
16774         gtk_widget_size_request to get scrollbar dimensions.
16775         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
16776         call getVScrollbarWidth and getHScrollbarHeight when vertical
16777         and horizontal scrollbars respectively are needed.
16778         (doLayout): Enlarge child if it is smaller than the viewport.
16779
16780 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
16781
16782         * java/awt/Dialog.java (constructor): Accept null title as per spec.
16783         * java/awt/FileDialog.java (constructor): Throw exception on invalid
16784         argument as per spec.
16785
16786 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
16787
16788         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
16789         (insert): Ditto.
16790         (remove): Ditto.  Also, Check for valid argument.
16791         (removeAll): Use peer interface method.
16792         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
16793         native add function.
16794         (nativeRemove): New name for native remove function.
16795         (getHistory): New native function.
16796         (constructor): Generate ItemEvent.
16797         (add): Ditto, if selection is changed.
16798         (remove): Ditto, ditto.
16799         (removeAll): Add implementation.
16800         (handleEvent): Remove.  Dead code.
16801         (choicePostItemEvent): Add comment.
16802         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
16803         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
16804         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
16805         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
16806         comments and fix condition to change selection.
16807         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
16808         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
16809         remove all capability.
16810         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
16811         (item_activate): Add cast to remove compiler warning.
16812
16813 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
16814
16815         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
16816         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
16817         (getPreferredSize): Call preferredSize.
16818         (preferredSize): Call gtkWidgetGetPreferredDimensions.
16819         (getMinimumSize): Call minimumSize.
16820         (minimumSize): Call gtkWidgetGetPreferredDimensions.
16821         (gtkWidgetGetDimensions): Return the peer widget's current size
16822         request.
16823         (gtkWidgetGetPreferredDimensions): Return the peer widget's
16824         natural size request.
16825
16826 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
16827
16828         Thanks to Brian Gough <bjg@network-theory.com>
16829         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
16830         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
16831
16832 2004-01-04  Matthias Klose  <doko@debian.org>
16833
16834         * aclocal.m4: Rebuilt using "aclocal -I .".
16835         * configure: Rebuilt.
16836
16837 2004-01-03  Per Bothner  <per@bothner.com>
16838
16839         * java/util/Date.java (parse):  Fix a number of problems.
16840         (skipParens):  Remove no-longer-needed method.