OSDN Git Service

2005-02-16 Mark Wielaard <mark@klomp.org>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2005-02-16  Mark Wielaard  <mark@klomp.org>
2
3         * Makefile.am (gnu_xml_source_files): Removed
4         gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
5         gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6         gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
7         gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
8         gnu/xml/dom/DomDocumentFragment.java,
9         gnu/xml/dom/DomProcessingInstruction.java and
10         gnu/xml/dom/ls/DomLSException.java.
11         * Makefile.in: Regenerated.
12
13 2005-02-16  Tom Tromey  <tromey@redhat.com>
14
15         * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
16         attribute index is out of bounds.
17
18 2005-02-16  Chris Burdess  <dog@gnu.org>
19
20         * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
21         isDeclared methods. Improved performance of isSpecified methods.
22
23 2005-02-16  Chris Burdess  <dog@gnu.org>
24
25         Fixes bug libgcj/19864
26         * gnu/xml/dom/DomAttr.java,
27         gnu/xml/dom/DomCDATA.java,
28         gnu/xml/dom/DomCDATASection.java,
29         gnu/xml/dom/DomCharacterData.java,
30         gnu/xml/dom/DomDOMException.java,
31         gnu/xml/dom/DomDoctype.java,
32         gnu/xml/dom/DomDocument.java,
33         gnu/xml/dom/DomDocumentConfiguration.java,
34         gnu/xml/dom/DomDocumentFragment.java,
35         gnu/xml/dom/DomElement.java,
36         gnu/xml/dom/DomEx.java,
37         gnu/xml/dom/DomFragment.java,
38         gnu/xml/dom/DomImpl.java,
39         gnu/xml/dom/DomIterator.java,
40         gnu/xml/dom/DomNamedNodeMap.java,
41         gnu/xml/dom/DomNode.java,
42         gnu/xml/dom/DomNsNode.java,
43         gnu/xml/dom/DomPI.java,
44         gnu/xml/dom/DomProcessingInstruction.java,
45         gnu/xml/dom/DomText.java,
46         gnu/xml/dom/DomLSEx.java,
47         gnu/xml/dom/DomLSException.java,
48         gnu/xml/dom/DomLSParser.java,
49         gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
50         implementation class names to conform to Classpath guidelines.  Make
51         DomLSException use JDK 1.4+ exception chaining.
52         * gnu/xml/util/SAXNullTransformerFactory.java,
53         gnu/xml/xpath/Predicate.java: Use constants relative to 
54         declaring class or interface.
55
56 2005-02-16  Andrew Haley  <aph@redhat.com>
57
58
59 2005-02-08  Andrew Haley  <aph@redhat.com>
60
61         * javax/security/auth/Subject.java (doAsPrivileged): If acc is
62         null, create a new AccessControlContext.
63         * java/security/SecureClassLoader.java (protectionDomainCache):
64         new field.
65         (defineClass): Create a new protection domain and add it to our
66         cache.
67
68         * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
69         addStub() to keep track of the stub we've exported.
70         (unexportObject): Call deleteStub().
71         * java/rmi/server/RemoteObject.java (stubs): New field.
72         (addStub): New method.
73         (deleteStub): New method.
74         (toStub): Rewrite.
75         
76         * java/lang/VMCompiler.java (loadSharedLibrary): Pass
77         true to findHelper (tryParents).
78         * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
79         Likewise.
80         * java/net/URLClassLoader.java (SoURLLoader): Likewise.
81         * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
82         ProtectionDomain.  
83         If tryParents is false, don't scan parent class loaders.
84
85         * java/security/Permissions.java (PermissionsHash.implies):
86         Iterate over the collection and invoke implies() on each
87         element.
88
89 2005-02-16  Andrew Haley  <aph@redhat.com>
90
91         * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
92         fields.
93         (PersistentByteMap): Set name
94         Magic number changed to 0x67636a64 ("gcjd").
95         (init): Force the map to be prime.
96         (emptyPersistentByteMap): File name was a string, now a File.
97         (addBytes): Share srings between entries.
98         (stringTableSize): New method.
99         (capacity): Scale by load factor.
100         (force): New method.
101         (getFile): New method.
102         (close): New method.
103         (putAll): New method.
104         (ByteWrapper): New class.
105         * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
106         (main): Guess the average string size as 32, not 64.
107         Copy a database before modifying it, so that we can update a
108         database in a running system.
109         If a database isn't big enough, resize it.
110         "-m": new option: merges databases.
111         "-a": Create a new detabase if it doesn't exist.
112         (usage): Correct, add new option.
113         (addJar): Copy a database before modifying it.
114         (resizeMap): New method.
115
116 2005-02-15  David Daney <ddaney@avtrex.com>
117             Bryce McKinlay  <mckinlay@redhat.com>
118             
119         * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
120         * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
121         ensure that GC threads inherit the new signal mask.
122         (block_sigchld): Call JvFail rather than throwing exception if
123         pthread_sigmask() fails.
124
125 2005-02-15  Mark Wielaard  <mark@klomp.org>
126
127         * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
128         file path elements are separated by spaces.
129
130 2005-02-15  Mark Wielaard  <mark@klomp.org>
131
132         * java/util/jar/Attributes.java (Attributes.Name): Add documentation
133         to describe attributes without a constant field value in this class.
134
135 2005-02-15  Michael Koch  <konqueror@gmx.de>
136
137         * java/util/jar/Attributes.java
138         (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
139
140 2005-02-15  Mark Wielaard  <mark@klomp.org>
141
142         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
143         space for parsing CLASS_PATH attribute.
144
145 2005-02-15  Mark Wielaard  <mark@klomp.org>
146
147         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
148         aside for "GCJLIBS" in directory where jarfiles are loaded.
149         (JarURLLoader.getClass): Removed method.
150         (JarURLLoader.toString): Removed method.
151         (FileResource.toString): Removed method.
152
153 2005-02-15  Mark Wielaard  <mark@klomp.org>
154  
155         * javax/net/ssl/SSLContext.java (getInstance): Add exception message
156         and/or cause before throwing.
157
158 2005-02-15  Richard Henderson  <rth@redhat.com>
159
160         * Makefile.am (libgcj_la_SOURCES): Move all sources ...
161         (libgcj0_convenience_la_SOURCES): ... here.
162         (libgcj_la_LIBADD): Add libgcj0_convenience.la.
163         (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
164         * Makefile.in: Regenerate.
165
166 2005-02-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
167
168         * jawt.c: New file.
169         * include/jawt.h: Likewise.
170         * include/jawt_md.h: Likewise.
171         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
172         jawt_md.h files.
173         * include/Makefile.in: Regenerate.
174         * jni/classpath/classpath_jawt.h: Likewise.
175         * jni/gtk-peer/gtk_jawt.c: Likewise.
176         * Makefile.am: Build libjawt.so.
177         * Makefile.in: Regenerate.
178
179 2005-02-14  Tom Tromey  <tromey@redhat.com>
180
181         * testsuite/libjava.lang/PR19921.java: Use correct class name.
182
183 2005-02-14  Tom Tromey  <tromey@redhat.com>
184
185         * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
186         * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
187
188 2005-02-14  Tom Tromey  <tromey@redhat.com>
189
190         For PR java/19929:
191         * testsuite/libjava.lang/PR19929.out: New file.
192         * testsuite/libjava.lang/PR19929.java: New file.
193
194 2005-02-14  Anthony Green  <green@redhat.com>
195
196         PR libgcj/18116
197         * testsuite/libjava.jni/PR18116.c: New file.
198         * testsuite/libjava.jni/PR18116.java: New file.
199         * testsuite/libjava.jni/PR18116.out: New file.
200
201 2005-02-13  Anthony Green  <green@redhat.com>
202
203         PR libgcj/18116
204         * jni.cc (nathash_add): Don't strdup the method signature.
205         (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
206         method signature.
207         Update copyright.
208
209 2005-02-12  Mark Wielaard  <mark@klomp.org>
210
211         Fixes bug libgcj/8170
212         * java/lang/ClassLoader.java (loadClass): Don't rewrap
213         ClassNotFoundException.
214         * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
215         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
216         (remove_internal): New field superceding remove_interpreter.
217         (sanitizeStack): Remove all no-package classes starting with "_Jv_".
218         Remove no-class methods starting with "_Jv_". And Replace null
219         class or method names with the empty string. Stop at either the
220         MainThread or a real Thread run() method.
221         (newElement): Made static.
222         * java/net/URLClassLoader.java (findClass): Throw
223         ClassNotFoundExceptions including urls, plus parent using toString().
224         (thisString): New field.
225         (toString): New method.
226
227 2005-02-10  Tom Tromey  <tromey@redhat.com>
228
229         * external/sax/Makefile.in: Rebuilt.
230         * external/sax/Makefile.am (all-local): Removed.
231         (BUILT_SOURCES): New variable.
232         (mostlyclean-local): No error if no classes to delete.
233         * external/w3c_dom/Makefile.in: Rebuilt.
234         * external/w3c_dom/Makefile.am (all-local): Removed.
235         (BUILT_SOURCES): New variable.
236         (mostlyclean-local): No error if no classes to delete.
237
238 2005-02-10  Bryce McKinlay  <mckinlay@redhat.com>
239
240         * testsuite/libjava.mauve/xfails: Updated to reflect current state 
241         of mauve and libjava.
242
243 2005-02-09  Tom Tromey  <tromey@redhat.com>
244
245         * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
246         jar file with OPEN_DELETE.
247         * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
248         OPEN_DELETE is used.
249
250 2005-02-09  Tom Tromey  <tromey@redhat.com>
251
252         * java/util/zip/InflaterInputStream.java (markSupported):
253         Override.
254         (mark, reset): Likewise.
255
256 2005-02-08  Tom Tromey  <tromey@redhat.com>
257
258         * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
259         name or port is missing.
260         (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
261         AUTHORITY_PORT_GROUP): Updated.
262
263 2005-02-08  Tom Tromey  <tromey@redhat.com>
264
265         * configure: Rebuilt.
266         * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
267         AC_CHECK_HEADERS.
268
269 2005-02-07  Tom Tromey  <tromey@redhat.com>
270
271         * java/lang/natRuntime.cc (insertSystemProperties): Set
272         sun.boot.class.path earlier.
273
274 2005-02-07  Tom Tromey  <tromey@redhat.com>
275
276         * defineclass.cc (handleClassBegin): Use
277         _Jv_RegisterInitiatingLoader.
278         * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
279         * java/lang/natVMClassLoader.cc (resolveClass): Don't register
280         class.  Use _Jv_UnregisterInitiatingLoader.
281         * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
282         New function.
283
284 2005-02-07  Mark Wielaard  <mark@klomp.org>
285
286         Reported by Timo Lindfors <timo.lindfors@iki.fi>
287         java/util/regex/Matcher.java (lookingAt): Set position when match
288         found.
289         (matches): Implemented through lookingAt().
290
291 2005-02-07  Mark Wielaard  <mark@klomp.org>
292
293         Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
294         * java/util/regex/Pattern.java (split(CharSequence,int)):
295         Fix while empties > 0 loops.
296
297 2005-02-07  Robert Schuster  <thebohemian@gmx.net>
298
299         * gnu/java/nio/charset/ISO_8859_1.java,
300         gnu/java/nio/charset/US_ASCII.java, 
301         gnu/java/nio/charset/UTF_16.java,
302         gnu/java/nio/charset/UTF_16_LE.java,
303         gnu/java/nio/charset/UTF_16_BE.java,
304         gnu/java/nio/charset/UTF_8.java: Fixed canonical names
305          and aliases according to
306          "http://www.iana.org/assignments/character-sets",
307          "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
308          and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
309         * gnu/java/nio/charset/Provider.java: Made charset lookup
310          case-insensitive which fixes bug #11740. 
311
312 2005-02-07  Tom Tromey  <tromey@redhat.com>
313
314         PR libgcj/19611:
315         * Makefile.in: Rebuilt.
316         * Makefile.am (src.zip): New target.
317         (install-src.zip): Likewise.
318         (sourcesdir): New variable.
319
320 2005-02-06  Jerry Quinn  <jlquinn@optonline.net>
321
322         * javax/imageio/metadata/IIOMetadataNode.java:
323         Implemented.
324         * javax/imageio/metadata/IIOAttr.java,
325         javax/imageio/metadata/IIONamedNodeMap.java,
326         javax/imageio/metadata/IIONodeList.java:
327         New files
328
329 2005-02-06  Graydon Hoare  <graydon@redhat.com>
330
331         * gnu/java/awt/ClasspathToolkit.java
332         (registerImageIOSpis): New method.
333         * javax/imageio/ImageIO.java
334         (WriterFormatFilter.filter): Fix copy-and-paste typos.
335         (WriterMIMETypeFilter.filter): Likewise.
336         (ImageReaderIterator): Pass extension argument through to SPI.
337         (getReadersByFilter): Likewise.
338         (getWritersByFilter): Likewise.
339         (getImageReadersByFormatName): Likewise.
340         (getImageReadersByMIMEType): Likewise.
341         (getImageReadersBySuffix): Likewise.
342         (getImageWritersByFormatName): Likewise.
343         (getImageWritersByMIMEType): Likewise.
344         (getImageWritersBySuffix): Likewise.
345         (read): Implement.
346         (write): Implement.
347         * javax/imageio/ImageReader.java
348         (progressListeners): Initialize.
349         (setInput): Implement.
350         * javax/imageio/ImageWriter.java
351         (progressListeners): Initialize.
352         (warningListeners): Likewise.
353         (warningLocales): Likewise.
354         (setOutput): Test "isInstance" rather than class equality.
355         * javax/imageio/spi/IIORegistry.java
356         (static): Add reader and writer SPIs.
357         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
358
359 2004-02-06  Michael Koch  <konqueror@gmx.de>
360
361         * javax/imageio/metadata/IIOInvalidTreeException.java
362         (IIOInvalidTreeException): Reformatted.
363         * javax/imageio/spi/IIORegistry.java
364         (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
365         * javax/imageio/stream/MemoryCacheImageInputStream.java:
366         Reworked import statements.
367
368 2004-02-06  Michael Koch  <konqueror@gmx.de>
369
370         * javax/imageio/stream/FileImageOutputStream.java:
371         Implemented.
372
373 2004-02-06  Michael Koch  <konqueror@gmx.de>
374
375         * javax/imageio/stream/FileCacheImageInputStream.java,
376         javax/imageio/stream/FileCacheImageOutputStream.java,
377         javax/imageio/stream/FileImageInputStream.java,
378         javax/imageio/stream/ImageInputStreamImpl.java,
379         javax/imageio/stream/ImageOutputStreamImpl.java,
380         javax/imageio/stream/MemoryCacheImageInputStream.java,
381         javax/imageio/stream/MemoryCacheImageOutputStream.java:
382         Added all missing methods in javax.imageio.stream.
383
384 2005-02-02  David Daney  <ddaney@avtrex.com>
385
386         * java/net/InetAddress.java (InetAddress): Make a private copy of
387         the address.
388         * java/net/Inet4Address.java (getAddress): Return a copy of the
389         address.
390         * java/net/Inet6Address.java (Inet6Address): Use private copy of
391         the address
392         (getAddress): Return a copy of the address.
393         (equals): Rewrote.
394
395 2005-02-02  Tom Tromey  <tromey@redhat.com>
396
397         * Makefile.in: Rebuilt.
398         * Makefile.am (classes.stamp): New target, broken out from
399         libgcj.jar target.
400         ($(all_java_class_files)): Depend on it.
401         (libgcj-@gcc_version@.jar): Likewise.
402         (all-recursive): Likewise.
403         (CLEANFILES): Include classes.stamp.
404
405 2005-02-02  Hans Boehm  <Hans.Boehm@hp.com>
406
407         * link.cc: Include <stdio.h>
408
409 2005-02-02  Tom Tromey  <tromey@redhat.com>
410
411         PR libgcj/19681:
412         * Makefile.in: Rebuilt.
413         * Makefile.am (ordinary_java_source_files): Added new class.
414         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
415         Use system_instance, not instance.
416         * gnu/gcj/runtime/SystemClassLoader.java: New file.
417         * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
418         java.class.path.
419         (system_instance): New field.
420         (initialize): Initialize the system loader as well.
421         (VMClassLoader): Default to LIB_CACHE.
422
423 2005-02-02  Tom Tromey  <tromey@redhat.com>
424
425         * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
426         * prims.cc: Fixed comment.
427
428 2005-02-01  Tom Tromey  <tromey@redhat.com>
429
430         * Makefile.in: Rebuilt.
431         * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
432         (.java.class): Use BOOTCLASSPATH.
433
434 2005-02-01  Tom Tromey  <tromey@redhat.com>
435
436         * external/w3c_dom/Makefile.am: New file.
437         * external/w3c_dom/Makefile.in: New file.
438         * external/sax/Makefile.am: New file.
439         * external/sax/Makefile.in: New file.
440         * external/Makefile.in: New file.
441         * external/Makefile.am: New file.
442         * external/README: New file from Classpath.
443         * configure, aclocal.m4, Makefile.in: Rebuilt.
444         * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
445         * Makefile.am (SUBDIRS): Added external.
446         (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
447         lib-org-w3c-dom.la, lib-org-ietf-gss.la.
448         (BOOTCLASSPATH): New variable.
449         (AM_GCJFLAGS): Use it.
450         (gnu_xml_source_files): New variable.
451         (libgcj_la_SOURCES): Use it.
452         (libgcj_la_LDADD): Include new convenience libraries.
453         (lib_org_ietf_jgss_la_SOURCES): Removed.
454         (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
455         (lib_org_ietf_jgss_la_LIBADD): Likewise.
456         (lib_org_w3c_dom_la_SOURCES): Removed.
457         (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
458         (lib_org_w3c_dom_la_LIBADD): Likewise.
459         (lib_org_xml_sax_la_SOURCES): Removed.
460         (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
461         (lib_org_xml_sax_la_LIBADD): Likewise.
462         (all_java_source_files): Updated.
463         (property_files): Likewise.
464         (libgcj-@gcc_version@.jar): Include classes from external/.
465         (javax_source_files): Updated.
466         (ordinary_java_source_files): Updated.
467         * javax/xml/XMLConstants.java,
468         javax/xml/datatype/DatatypeConfigurationException.java,
469         javax/xml/datatype/DatatypeConstants.java,
470         javax/xml/datatype/DatatypeFactory.java,
471         javax/xml/datatype/Duration.java,
472         javax/xml/datatype/XMLGregorianCalendar.java,
473         javax/xml/datatype/package.html,
474         javax/xml/namespace/NamespaceContext.java,
475         javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
476         javax/xml/parsers/DocumentBuilder.java,
477         javax/xml/parsers/DocumentBuilderFactory.java,
478         javax/xml/parsers/FactoryConfigurationError.java,
479         javax/xml/parsers/ParserConfigurationException.java,
480         javax/xml/parsers/SAXParser.java,
481         javax/xml/parsers/SAXParserFactory.java,
482         javax/xml/parsers/package.html,
483         javax/xml/transform/ErrorListener.java,
484         javax/xml/transform/OutputKeys.java,
485         javax/xml/transform/Result.java, javax/xml/transform/Source.java,
486         javax/xml/transform/SourceLocator.java,
487         javax/xml/transform/Templates.java,
488         javax/xml/transform/Transformer.java,
489         javax/xml/transform/TransformerConfigurationException.java,
490         javax/xml/transform/TransformerException.java,
491         javax/xml/transform/TransformerFactory.java,
492         javax/xml/transform/TransformerFactoryConfigurationError.java,
493         javax/xml/transform/URIResolver.java,
494         javax/xml/transform/package.html,
495         javax/xml/transform/dom/DOMLocator.java,
496         javax/xml/transform/dom/DOMResult.java,
497         javax/xml/transform/dom/DOMSource.java,
498         javax/xml/transform/dom/package.html,
499         javax/xml/transform/sax/SAXResult.java,
500         javax/xml/transform/sax/SAXSource.java,
501         javax/xml/transform/sax/SAXTransformerFactory.java,
502         javax/xml/transform/sax/TemplatesHandler.java,
503         javax/xml/transform/sax/TransformerHandler.java,
504         javax/xml/transform/sax/package.html,
505         javax/xml/transform/stream/StreamResult.java,
506         javax/xml/transform/stream/StreamSource.java,
507         javax/xml/transform/stream/package.html,
508         javax/xml/validation/Schema.java,
509         javax/xml/validation/SchemaFactory.java,
510         javax/xml/validation/TypeInfoProvider.java,
511         javax/xml/validation/Validator.java,
512         javax/xml/validation/ValidatorHandler.java,
513         javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
514         javax/xml/xpath/XPathConstants.java,
515         javax/xml/xpath/XPathException.java,
516         javax/xml/xpath/XPathExpression.java,
517         javax/xml/xpath/XPathExpressionException.java,
518         javax/xml/xpath/XPathFactory.java,
519         javax/xml/xpath/XPathFactoryConfigurationException.java,
520         javax/xml/xpath/XPathFunction.java,
521         javax/xml/xpath/XPathFunctionException.java,
522         javax/xml/xpath/XPathFunctionResolver.java,
523         javax/xml/xpath/XPathVariableResolver.java,
524         javax/xml/xpath/package.html: New files, from GNU JAXP.
525         * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
526         org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
527         org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
528         org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
529         org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
530         org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
531         org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
532         org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
533         org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
534         org/w3c/dom/ranges/DocumentRange.java,
535         org/w3c/dom/ranges/Range.java,
536         org/w3c/dom/ranges/RangeException.java,
537         org/w3c/dom/traversal/DocumentTraversal.java,
538         org/w3c/dom/traversal/NodeFilter.java,
539         org/w3c/dom/traversal/NodeIterator.java,
540         org/w3c/dom/traversal/TreeWalker.java,
541         org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
542         org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
543         org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
544         org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
545         org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
546         org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
547         org/xml/sax/SAXNotRecognizedException.java,
548         org/xml/sax/SAXNotSupportedException.java,
549         org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
550         org/xml/sax/XMLReader.java, org/xml/sax/package.html,
551         org/xml/sax/ext/DeclHandler.java,
552         org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
553         org/xml/sax/helpers/AttributeListImpl.java,
554         org/xml/sax/helpers/AttributesImpl.java,
555         org/xml/sax/helpers/DefaultHandler.java,
556         org/xml/sax/helpers/LocatorImpl.java,
557         org/xml/sax/helpers/NamespaceSupport.java,
558         org/xml/sax/helpers/NewInstance.java,
559         org/xml/sax/helpers/ParserAdapter.java,
560         org/xml/sax/helpers/ParserFactory.java,
561         org/xml/sax/helpers/XMLFilterImpl.java,
562         org/xml/sax/helpers/XMLReaderAdapter.java,
563         org/xml/sax/helpers/XMLReaderFactory.java,
564         org/xml/sax/helpers/package.html: Moved to external/.
565         * external/sax/README,
566         external/sax/org/xml/sax/AttributeList.java,
567         external/sax/org/xml/sax/Attributes.java,
568         external/sax/org/xml/sax/ContentHandler.java,
569         external/sax/org/xml/sax/DTDHandler.java,
570         external/sax/org/xml/sax/DocumentHandler.java,
571         external/sax/org/xml/sax/EntityResolver.java,
572         external/sax/org/xml/sax/ErrorHandler.java,
573         external/sax/org/xml/sax/HandlerBase.java,
574         external/sax/org/xml/sax/InputSource.java,
575         external/sax/org/xml/sax/Locator.java,
576         external/sax/org/xml/sax/Parser.java,
577         external/sax/org/xml/sax/SAXException.java,
578         external/sax/org/xml/sax/SAXNotRecognizedException.java,
579         external/sax/org/xml/sax/SAXNotSupportedException.java,
580         external/sax/org/xml/sax/SAXParseException.java,
581         external/sax/org/xml/sax/XMLFilter.java,
582         external/sax/org/xml/sax/XMLReader.java,
583         external/sax/org/xml/sax/package.html,
584         external/sax/org/xml/sax/ext/Attributes2.java,
585         external/sax/org/xml/sax/ext/Attributes2Impl.java,
586         external/sax/org/xml/sax/ext/DeclHandler.java,
587         external/sax/org/xml/sax/ext/DefaultHandler2.java,
588         external/sax/org/xml/sax/ext/EntityResolver2.java,
589         external/sax/org/xml/sax/ext/LexicalHandler.java,
590         external/sax/org/xml/sax/ext/Locator2.java,
591         external/sax/org/xml/sax/ext/Locator2Impl.java,
592         external/sax/org/xml/sax/ext/package.html,
593         external/sax/org/xml/sax/helpers/AttributeListImpl.java,
594         external/sax/org/xml/sax/helpers/AttributesImpl.java,
595         external/sax/org/xml/sax/helpers/DefaultHandler.java,
596         external/sax/org/xml/sax/helpers/LocatorImpl.java,
597         external/sax/org/xml/sax/helpers/NamespaceSupport.java,
598         external/sax/org/xml/sax/helpers/NewInstance.java,
599         external/sax/org/xml/sax/helpers/ParserAdapter.java,
600         external/sax/org/xml/sax/helpers/ParserFactory.java,
601         external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
602         external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
603         external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
604         external/sax/org/xml/sax/helpers/package.html,
605         external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
606         external/w3c_dom/org/w3c/dom/Attr.java,
607         external/w3c_dom/org/w3c/dom/CDATASection.java,
608         external/w3c_dom/org/w3c/dom/CharacterData.java,
609         external/w3c_dom/org/w3c/dom/Comment.java,
610         external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
611         external/w3c_dom/org/w3c/dom/DOMError.java,
612         external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
613         external/w3c_dom/org/w3c/dom/DOMException.java,
614         external/w3c_dom/org/w3c/dom/DOMImplementation.java,
615         external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
616         external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
617         external/w3c_dom/org/w3c/dom/DOMLocator.java,
618         external/w3c_dom/org/w3c/dom/DOMStringList.java,
619         external/w3c_dom/org/w3c/dom/Document.java,
620         external/w3c_dom/org/w3c/dom/DocumentFragment.java,
621         external/w3c_dom/org/w3c/dom/DocumentType.java,
622         external/w3c_dom/org/w3c/dom/Element.java,
623         external/w3c_dom/org/w3c/dom/Entity.java,
624         external/w3c_dom/org/w3c/dom/EntityReference.java,
625         external/w3c_dom/org/w3c/dom/NameList.java,
626         external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
627         external/w3c_dom/org/w3c/dom/Node.java,
628         external/w3c_dom/org/w3c/dom/NodeList.java,
629         external/w3c_dom/org/w3c/dom/Notation.java,
630         external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
631         external/w3c_dom/org/w3c/dom/Text.java,
632         external/w3c_dom/org/w3c/dom/TypeInfo.java,
633         external/w3c_dom/org/w3c/dom/UserDataHandler.java,
634         external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
635         external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
636         external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
637         external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
638         external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
639         external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
640         external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
641         external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
642         external/w3c_dom/org/w3c/dom/css/CSSRule.java,
643         external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
644         external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
645         external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
646         external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
647         external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
648         external/w3c_dom/org/w3c/dom/css/CSSValue.java,
649         external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
650         external/w3c_dom/org/w3c/dom/css/Counter.java,
651         external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
652         external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
653         external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
654         external/w3c_dom/org/w3c/dom/css/RGBColor.java,
655         external/w3c_dom/org/w3c/dom/css/Rect.java,
656         external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
657         external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
658         external/w3c_dom/org/w3c/dom/events/Event.java,
659         external/w3c_dom/org/w3c/dom/events/EventException.java,
660         external/w3c_dom/org/w3c/dom/events/EventListener.java,
661         external/w3c_dom/org/w3c/dom/events/EventTarget.java,
662         external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
663         external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
664         external/w3c_dom/org/w3c/dom/events/UIEvent.java,
665         external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
666         external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
667         external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
668         external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
669         external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
670         external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
671         external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
672         external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
673         external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
674         external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
675         external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
676         external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
677         external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
678         external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
679         external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
680         external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
681         external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
682         external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
683         external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
684         external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
685         external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
686         external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
687         external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
688         external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
689         external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
690         external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
691         external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
692         external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
693         external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
694         external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
695         external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
696         external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
697         external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
698         external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
699         external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
700         external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
701         external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
702         external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
703         external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
704         external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
705         external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
706         external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
707         external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
708         external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
709         external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
710         external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
711         external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
712         external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
713         external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
714         external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
715         external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
716         external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
717         external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
718         external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
719         external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
720         external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
721         external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
722         external/w3c_dom/org/w3c/dom/ls/LSException.java,
723         external/w3c_dom/org/w3c/dom/ls/LSInput.java,
724         external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
725         external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
726         external/w3c_dom/org/w3c/dom/ls/LSParser.java,
727         external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
728         external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
729         external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
730         external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
731         external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
732         external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
733         external/w3c_dom/org/w3c/dom/ranges/Range.java,
734         external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
735         external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
736         external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
737         external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
738         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
739         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
740         external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
741         external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
742         external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
743         external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
744         external/w3c_dom/org/w3c/dom/views/AbstractView.java,
745         external/w3c_dom/org/w3c/dom/views/DocumentView.java,
746         external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
747         external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
748         external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
749         external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
750         external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
751         external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
752         from Classpath.
753
754 2005-01-31  Anthony Green  <green@redhat.com>
755
756         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
757         Support IP_MULTICAST_LOOP.
758         (setOption): Support IP_MULTICAST_LOOP.
759
760         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
761         SO_REUSEADDR support.
762         (getOption): Support SO_REUSEADDR.
763
764 2004-01-28  Jeroen Frijters  <jeroen@frijters.net>
765
766         PR libgcj/19649
767         * java/util/Date.java
768         (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
769         constructor.
770         (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
771         arguments.
772         (getTimezoneOffset): Inverted sign.
773
774 2005-01-26  Ranjit Mathew  <rmathew@hotmail.com>
775
776         * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
777         remove other passing tests and add new XFAILs.
778
779 2005-01-24  Tom Tromey  <tromey@redhat.com>
780
781         * java/lang/Class.h (next): Updated documentation.  Renamed to
782         'next_or_version'.
783         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
784         _Jv_CheckABIVersion.
785         (_Jv_RegisterClasses_Counted): Likewise.
786         (_Jv_RegisterClassHookDefault): Fix starting condition of
787         duplicate-checking loop.
788         * include/jvm.h (GCJ_VERSION): New define.
789         (GCJ_BINARYCOMPAT_ADDITION): Likewise.
790         (_Jv_CheckABIVersion): New function.
791
792 2005-01-24  Jakub Jelinek  <jakub@redhat.com>
793
794         * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
795         (libgij_la_LDFLAGS): Add.
796         * Makefile.in: Rebuilt.
797
798 2005-01-24  Roger Sayle  <roger@eyesopen.com>
799
800         PR java/19295
801         * testsuite/libjava.compile/PR19295.java: New test case.
802
803 2005-01-19  Tom Tromey  <tromey@redhat.com>
804
805         * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
806         * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
807         if 'handler' is valid.
808
809 2005-01-17  Tom Tromey  <tromey@redhat.com>
810
811         * java/text/MessageFormat.java (scanString): Changed how quoting
812         is handled.
813         (scanFormatElement): Likewise.
814
815 2004-12-07  Mark Wielaard  <mark@klomp.org>
816
817         * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
818
819 2005-01-15  Michael Koch  <konqueror@gmx.de>
820
821         PR libgcj/19444
822         * java/net/URI.java
823         (AUTHORITY_REGEXP): New regexp constant.
824         (AUTHORITY_USERINFO_GROUP): New constant.
825         (AUTHORITY_HOST_GROUP): Likewise.
826         (AUTHORITY_PORT_GROUP): Likewise.
827         (port): Changed default value to -1.
828         (parseURI): Parse authority part and initialize host,
829         port and userInfo.
830
831 2005-01-14  Robin Green  <greenrd@greenrd.org>
832
833         * java/io/File.java (toURI): Generate a URI which we understand.
834
835 2005-01-13  Graydon Hoare  <graydon@redhat.com>
836
837         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
838         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
839         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
840         * jni.cc: Reuse bottom frame between calls, avoid clearing
841         frame when no local references are made.
842
843 2005-01-13  Michael Koch  <konqueror@gmx.de>
844
845         PR libgcj/17784
846         * java/lang/Thread.java
847         (Thread): Call checkAccess().
848         (stop): Fixed argument name to match javadoc.
849         * java/lang/natThread.cc
850         (interrupt): Call checkAccess().
851         (stop): Likewise.
852
853 2005-01-11  Michael Koch  <konqueror@gmx.de>
854
855         PR libgcj/13972
856         * java/net/URL.java (URL): Handle specs like
857         "/redir?http://domain2.com/index.html" which start with a slash.
858
859 2005-01-11  Michael Koch  <konqueror@gmx.de>
860
861         PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
862         * gnu/java/net/BASE64.java,
863         gnu/java/net/EmptyX509TrustManager.java,
864         gnu/java/net/LineInputStream.java,
865         gnu/java/net/protocol/http/Authenticator.java,
866         gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
867         gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
868         gnu/java/net/protocol/http/ChunkedInputStream.java,
869         gnu/java/net/protocol/http/Cookie.java,
870         gnu/java/net/protocol/http/CookieManager.java,
871         gnu/java/net/protocol/http/Credentials.java,
872         gnu/java/net/protocol/http/HTTPConnection.java,
873         gnu/java/net/protocol/http/HTTPDateFormat.java,
874         gnu/java/net/protocol/http/HTTPURLConnection.java,
875         gnu/java/net/protocol/http/Headers.java,
876         gnu/java/net/protocol/http/Request.java,
877         gnu/java/net/protocol/http/RequestBodyWriter.java,
878         gnu/java/net/protocol/http/Response.java,
879         gnu/java/net/protocol/http/ResponseBodyReader.java,
880         gnu/java/net/protocol/http/ResponseHeaderHandler.java,
881         gnu/java/net/protocol/http/SimpleCookieManager.java,
882         gnu/java/net/protocol/http/event/ConnectionEvent.java,
883         gnu/java/net/protocol/http/event/ConnectionListener.java,
884         gnu/java/net/protocol/http/event/RequestEvent.java,
885         gnu/java/net/protocol/http/event/RequestListener.java: New files.
886         * gnu/java/net/protocol/http/Connection.java: Removed.
887         * gnu/java/net/protocol/http/Handler.java,
888         javax/net/ssl/HttpsURLConnection.java: Updated.
889         * Makefile.am: Added new files and remove old ones.
890         * Makefile.in: Regenerated.
891
892 2005-01-11  Tom Tromey  <tromey@redhat.com>
893
894         PR libgcj/18840:
895         * java/io/BufferedInputStream.java (read): Repeatedly read to
896         fill buffer.
897         (refill): Change test to see if buffer must be grown.
898
899 2005-01-10  Tom Tromey  <tromey@redhat.com>
900
901         * mauve-libgcj: Exclude some swing tests.
902
903 2005-01-10  Tom Tromey  <tromey@redhat.com>
904
905         PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
906         * java/lang/Package.java (getPackages): Use VMClassLoader when
907         appropriate.
908         (getPackage): Likewise.
909         * prims.cc (_Jv_CreateJavaVM): Call
910         _Jv_RegisterBootstrapPackages.
911         * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
912         * java/lang/VMClassLoader.java (getPackage): Rewrote.
913         (getPackages): Likewise.
914         (definedPackages): New field.
915         (definePackageForNative): New method.
916         * java/lang/Class.h (_Jv_FindClassInCache): Updated.
917         * java/lang/natVMClassLoader.cc (loadClass): Updated.
918         * defineclass.cc (handleClassBegin): Use
919         ClassLoader.findLoadedClass.
920         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
921         Rewrote.
922         (struct _Jv_LoaderInfo): Removed.
923         (initiated_classes): Likewise.
924         (_Jv_UnregisterClass): Don't use initiated_classes.
925         (_Jv_FindClassInCache): Likewise.  Removed 'loader' argument.
926         (_Jv_FindClass): Register classes found during boostrap.
927         (BOOTSTRAP_CLASS_LIST_SIZE): New define.
928         (bootstrap_class_list): New global.
929         (bootstrap_index): Likewise.
930         (_Jv_RegisterBootstrapPackages): New function.
931         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
932         definePackageForNative.
933         (findClass): Updated.
934         * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
935         New method.
936
937 2005-01-10  Tom Tromey  <tromey@redhat.com>
938
939         PR libgcj/18868:
940         * include/jvm.h (_Jv_Linker::find_field): Declare.
941         (_Jv_Linker::find_field_helper): Likewise.
942         * link.cc (find_field_helper): New method.
943         (find_field): Likewise.
944         (resolve_pool_entry): Use it.  Throw NoSuchFieldError when field
945         not found.
946         (link_symbol_table): Use find_field.
947
948 2005-01-10  Michael Koch  <konqueror@gmx.de>
949
950         PR libgcj/18014
951         * java/util/Locale.java (Locale): Don't uppercase variant.
952         (getISOCountries): Fixed typo in javadoc.
953
954 2005-01-10  Michael Koch  <konqueror@gmx.de>
955
956         * java/util/SimpleTimeZone.java (checkRule):
957         Throw IllegalArgumentException on invalid month values.
958         * java/util/TimeZone.java (setID):
959         Throw NullPointerException if needed.
960
961 2005-01-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
962
963         * java/util/SimpleTimeZone.java (getOffset):
964         offset end date with daylight savings
965
966 2005-01-10  Ranjit Mathew  <rmathew@hotmail.com>
967
968         * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
969         * testsuite/libjava.compile/PR19277.xfail: Likewise.
970
971 2005-01-09  Michael Koch  <konqueror@gmx.de>
972
973         PR libgcj/17069
974         * java/net/InetAddress.java (getLocalHost):
975         Throw UnknownHostException if local hostname cannot be determined.
976
977 2005-01-06  Tom Tromey  <tromey@redhat.com>
978
979         * java/lang/ClassLoader.java (findClass): Fixed documentation.
980
981 2005-01-07  Michael Koch  <konqueror@gmx.de>
982
983         PR libgcj/18115
984         * java/nio/Buffer.java (address): New field.
985         * java/nio/DirectByteBufferImpl.java (address): Removed.
986         * java/nio/MappedByteBufferImpl.java (address): Likewise.
987         * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
988         Explicitly initialize Buffer.address if needed.
989         * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
990         * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
991         * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
992         * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
993         * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
994         * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
995         DirectByteBufferImpl object.
996         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
997         * testsuite/libjava.jni/directbuffer.c,
998         testsuite/libjava.jni/directbuffer.java,
999         testsuite/libjava.jni/directbuffer.out,
1000         testsuite/libjava.jni/bytebuffer.c,
1001         testsuite/libjava.jni/bytebuffer.java,
1002         testsuite/libjava.jni/bytebuffer.out: New files.
1003
1004 2005-01-05  Tom Tromey  <tromey@redhat.com>
1005
1006         * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
1007         argument.
1008         (compressedSize): Now 'long'.  Default to -1.
1009         (getCompressedSize): Rewrote.
1010         * java/util/zip/DeflaterOutputStream.java (deflate): Don't
1011         deflate at all if we need input.
1012
1013 2005-01-05  Tom Tromey  <tromey@redhat.com>
1014
1015         PR libgcj/15719:
1016         * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
1017         correctly.
1018
1019 2005-01-05  Tom Tromey  <tromey@redhat.com>
1020
1021         * java/lang/natRuntime.cc (insertSystemProperties): Set
1022         java.ext.dirs earlier.
1023
1024 2005-01-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
1025
1026         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
1027         sync_info element of the object if needed.
1028
1029 2005-01-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
1030
1031         * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
1032         a non-zero exit status from 'false'.
1033
1034 2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>
1035
1036         * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.
1037
1038 2004-12-31  Andreas Jaeger  <aj@suse.de>
1039
1040         * testsuite/lib/libjava.exp (libjava_find_gij): Handle multilibs.
1041
1042 2004-12-20  Tom Tromey  <tromey@redhat.com>
1043
1044         * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
1045         Re-enable duplicate class registration error.
1046
1047         * testsuite/libjava.jar/jar.exp (gcj_jar_interpret): Updated.
1048         * testsuite/libjava.verify/verify.exp (gcj_verify_run): Updated.
1049         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Updated.
1050         * testsuite/lib/libjava.exp (libjava_find_spec): Don't use
1051         get_multilibs.
1052         (libjava_find_gij): Likewise.  Changed return result if gij not
1053         found.
1054         (test_libjava_from_javac): Updated.
1055
1056         PR java/15001
1057         * testsuite/libjava.jni/iface.c: New file.
1058         * testsuite/libjava.jni/iface.out: New file.
1059         * testsuite/libjava.jni/iface.java: New file.
1060
1061 2004-12-19  Kelley Cook  <kcook@gcc.gnu.org>
1062
1063         * include/config.h.in: Regenerate.
1064
1065 2004-12-10  Andrew Haley  <aph@redhat.com>
1066
1067         PR java/15001
1068         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Look up
1069         abstract methods by name.
1070
1071 2004-12-08  Ranjit Mathew  <rmathew@hotmail.com>
1072
1073         * java/util/IdentityHashMap.java (put): Replace mistaken use
1074         of "<<" by "*".
1075
1076 2004-12-06  Tom Tromey  <tromey@redhat.com>
1077
1078         For PR java/14853:
1079         * testsuite/libjava.compile/PR14853.java: New file.
1080         * testsuite/libjava.compile/PR14853.xfail: New file.
1081
1082 2004-12-03  Richard Sandiford  <rsandifo@redhat.com>
1083
1084         PR libgcj/7305
1085         * configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
1086         * Makefile.am (install-data-local): Install headers into
1087         $(gxx_include_dir) rather than $(includedir).
1088         (AM_MAKEFLAGS): Pass down gxx_include_dir.
1089         * gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
1090         * include/Makefile.am (tool_include__HEADERS): Define this...
1091         (include_HEADERS): ...instead of this.
1092         * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
1093         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1094
1095 2004-12-02  Tom Tromey  <tromey@redhat.com>
1096
1097         For PR java/16675:
1098         * testsuite/libjava.compile/PR16675.java: New file.
1099
1100 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
1101
1102         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
1103         * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
1104         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1105
1106 2004-12-01  Tom Tromey  <tromey@redhat.com>
1107
1108         * include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
1109         name.
1110         (_Jv_ThreadRegister): Likewise.
1111         (_Jv_MutexCheckMonitor): Likewise.
1112
1113         * link.cc: Include limits.h.
1114
1115 2004-12-01  Bryce McKinlay  <mckinlay@redhat.com>
1116
1117         PR libgcj/18699
1118         * testsuite/libjava.lang/PR18699.java,
1119         testsuite/libjava.lang/PR18699.out: New test.
1120
1121 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1122
1123         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawImage variants):
1124         Update image observer.
1125         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
1126         Start image production.
1127         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Protect
1128         against negative menu bar widths.
1129         (setBounds): Likewise.
1130         (postConfigureEvent): Likewise.
1131         * gnu/java/awt/peer/gtk/GtkImage.java (imageComplete): Don't
1132         remove consumer unless only a single frame has completed.
1133         * gnu/java/awt/peer/gtk/GtkImagePainter.java (GtkImagePainter):
1134         Add observer parameter.
1135         (setPixels): Update image observer.
1136         (imageComplete): Likewise.
1137         * java/applet/Applet.java (width): New field.
1138         (height): Likewise.
1139         (setStub): Set size if width or height field has been set.
1140         (resize): If stub is null save width and height values.
1141         * java/awt/Component.java (reshape): Protect against null
1142         parent.
1143         * java/awt/image/MemoryImageSource.java
1144         (MemoryImageSource(int,int,ColorModel,byte[],int,int)):
1145         Document.
1146         (MemoryImageSource(int,int,ColorModel,int[],int,int)):
1147         Likewise.
1148         (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable)):
1149         Reference pixel array directly, rather than creating a local
1150         copy.
1151         (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable)):
1152         Likewise.
1153         (newPixels(int,int,int,int)): Fix for loop and array copy
1154         bounds.
1155         (newPixels(int,int,int,int,boolean)): Likewise.
1156         (startProduction): If animated call imageComplete with
1157         SINGLEFRAME.
1158         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Uncomment
1159         gdk_flush lines.
1160         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
1161         (drawPixels): Return if g is null or g->drawable is not a gdk
1162         drawable.
1163
1164 2004-11-30  Michael Koch  <konqueror@gmx.de>
1165
1166         * javax/swing/DefaultSingleSelectionModel.java,
1167         javax/swing/JPasswordField.java,
1168         javax/swing/tree/AbstractLayoutCache.java:
1169         Reformatted and javadocs cleaned up.
1170
1171 2004-11-30  Michael Koch  <konqueror@gmx.de>
1172
1173         * java/awt/Component.java:
1174         Fixed argument names to match javadocs.
1175         (setFont): Rewritten set property first and then fire event.
1176         (setLocale): Likewise.
1177         * javax/swing/text/JTextComponent.java
1178         (setEditable): Likewise.
1179
1180 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1181
1182         * java/awt/Button.java
1183         (AccessibleAWTButton.getAccessibleActionDescription): Explain the
1184         source of 'click'.
1185
1186 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1187
1188         * java/awt/Checkbox.java: Remove stub comments.
1189
1190 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1191
1192         * java/awt/Button.java
1193         (AccessibleAWTButton.getAccessibleActionDescription): Return
1194         'click'.
1195
1196 2004-11-30  Michael Koch  <konqueror@gmx.de>
1197
1198         * java/awt/CardLayout.java:
1199         Made some constants static.
1200         (serialVersionUID): Made private.
1201         (addLayoutComponent): Simplified code.
1202         * java/awt/event/InputEvent.java
1203         (getModifiersEx): Added missing @param tag.
1204         * java/awt/image/RGBImageFilter.java
1205         (filterRGBPixels): Reformatted, removed wrong @param tag.
1206
1207 2004-11-30  Michael Koch  <konqueror@gmx.de>
1208
1209         * javax/swing/text/FieldView.java,
1210         javax/swing/text/JTextComponent.java:
1211         Removed debug code.
1212
1213 2004-11-30  Michael Koch  <konqueror@gmx.de>
1214
1215         * javax/swing/BorderFactory.java
1216         (BorderFactory): Added private constructor.
1217         * javax/swing/SwingUtilities.java
1218         (SwingUtilities): Likewise.
1219         (computeStringWidth): New method.
1220
1221 2004-11-30  Michael Koch  <konqueror@gmx.de>
1222
1223         * java/awt/color/ICC_Profile.java
1224         (icSigNamedColorTag): Removed.
1225         * java/awt/datatransfer/DataFlavor.java
1226         (isMimeTypeEqual): Made final.
1227         * java/awt/image/AffineTransformOp.java:
1228         Reworked javadocs.
1229         (TYPE_BICUBIC): Added @since tag.
1230
1231 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1232
1233         * java/awt/Checkbox.java (AccessibleAWTCheckBox): Remove todo
1234         comments.
1235
1236 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1237
1238         * java/awt/Checkbox.java (itemStateChanged): Implement function.
1239         (getAccessibleContext): Add AccessibleAWTCheckBox to item listeners.
1240
1241 2004-11-30  Sven de Marothy  <sven@physto.se>
1242
1243         * java/awt/Polygon.java (contains): Reimplemented.
1244
1245 2004-11-30  Michael Koch  <konqueror@gmx.de>
1246
1247         * java/awt/print/PrinterJob.java: Reformatted.
1248
1249 2004-11-30  Michael Koch  <konqueror@gmx.de>
1250
1251         * java/awt/image/AffineTransformOp.java,
1252         java/awt/image/ColorConvertOp.java,
1253         java/awt/image/LookupOp.java,
1254         java/awt/image/RescaleOp.java:
1255         Added final keywords where they belong.
1256
1257 2004-11-30  Michael Koch  <konqueror@gmx.de>
1258
1259         * java/awt/CardLayout.java,
1260         java/awt/Component.java,
1261         java/awt/Font.java,
1262         java/awt/image/SinglePixelPackedSampleModel.java:
1263         Fixed javadocs and argument names all over.
1264
1265 2004-11-30  Michael Koch  <konqueror@gmx.de>
1266
1267         * java/awt/image/DataBufferShort.java: Fixed file header.
1268         * java/awt/image/DataBufferUShort.java: Likewise.
1269         (DataBufferUShort): Throw NullPointerException if dataArray is null.
1270
1271 2004-11-30  Sven de Marothy  <sven@physto.se>
1272
1273         * java/awt/geom/Arc2D.java
1274         (setAngleStart): Corrected (wrong sign on atan2 y parameter).
1275         (setAngles): Likewise.
1276         (containsAngle): Return false on zero extent, don't include
1277         final angle.
1278         (contains): Treat OPEN-type arcs like CHORD ones, not as PIE
1279         ones.
1280
1281 2004-11-30  Sven de Marothy  <sven@physto.se>
1282
1283         * java/awt/geom/AffineTransform.java,
1284         (inverseTransform): Fixed bug and simplified code.
1285         (createTransformedShape): Return null on null parameter.
1286
1287 2004-11-30  Michael Koch  <konqueror@gmx.de>
1288
1289         * java/awt/color/ICC_ColorSpace.java,
1290         java/awt/color/ICC_Profile.java,
1291         java/awt/color/ICC_ProfileGray.java,
1292         java/awt/color/ICC_ProfileRGB.java:
1293         Re-indent copyright header to be standardish.
1294         * java/awt/datatransfer/StringSelection.java:
1295         Reformatted.
1296         * java/awt/geom/Area.java
1297         (EPSILON): Made static.
1298         (RS_EPSILON): Likewise.
1299         (PE_EPSILON): Likewide.
1300
1301 2004-11-30  Sven de Marothy  <sven@physto.se>
1302
1303         * javax/swing/SwingUtilities.java:
1304         (computeDifference): Implemented
1305         (computeIntersection): Likewise
1306         (computeUnion): Likewise
1307         (isRectangleContainingRectangle): Likewise
1308
1309 2004-11-30  Michael Koch  <konqueror@gmx.de>
1310
1311         * java/awt/BasicStroke.java,
1312         java/awt/Button.java,
1313         java/awt/Canvas.java,
1314         java/awt/CheckboxMenuItem.java,
1315         java/awt/Container.java,
1316         java/awt/EventQueue.java,
1317         java/awt/FileDialog.java,
1318         java/awt/FlowLayout.java,
1319         java/awt/FontMetrics.java,
1320         java/awt/Graphics.java,
1321         java/awt/GridLayout.java,
1322         java/awt/KeyboardFocusManager.java,
1323         java/awt/Label.java,
1324         java/awt/LayoutManager2.java,
1325         java/awt/List.java,
1326         java/awt/MenuBar.java,
1327         java/awt/Scrollbar.java,
1328         java/awt/Toolkit.java,
1329         java/awt/Window.java,
1330         java/awt/datatransfer/DataFlavor.java,
1331         java/awt/datatransfer/FlavorTable.java,
1332         java/awt/event/ActionListener.java,
1333         java/awt/event/HierarchyBoundsAdapter.java,
1334         java/awt/geom/Arc2D.java,
1335         java/awt/geom/Rectangle2D.java,
1336         java/awt/geom/RectangularShape.java,
1337         java/awt/im/spi/InputMethod.java,
1338         java/awt/image/ByteLookupTable.java,
1339         java/awt/image/ColorModel.java,
1340         java/awt/image/DirectColorModel.java,
1341         java/awt/image/ShortLookupTable.java,
1342         java/awt/print/Book.java:
1343         Fixed javadocs and method argument names all over.
1344
1345 2004-11-30  Michael Koch  <konqueror@gmx.de>
1346
1347         * gnu/java/awt/peer/gtk/GdkFontPeer.java
1348         (buildString): Optimise String building.
1349
1350 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1351
1352         * java/awt/TextArea.java (AccessibleAWTTextArea,
1353         getAccessibleContext): Implement.
1354         * java/awt/TextField.java (AccessibleAWTTextField,
1355         getAccessibleContext): Implement.
1356
1357 2004-11-30  Tom Tromey  <tromey@redhat.com>
1358
1359         * Makefile.in: Rebuilt.
1360         * Makefile.am (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.lo):
1361         Fixed typo.
1362
1363 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1364
1365         * java/awt/Menu.java (AccessibleAWTMenu, getAccessibleContext):
1366         Implement.
1367         * java/awt/PopupMenu.java (AccessibleAWTMenu, getAccessibleContext):
1368         Implement.
1369
1370 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1371
1372         * java/awt/print/PrinterJob.java (lookupPrintServices,
1373         getPrintService, setPrintService): Implement.
1374         (lookupStreamPrintServices): Add commented out implementation.
1375         (printer): New field.
1376
1377 2004-11-30  Mark Wielaard  <mark@klomp.org>
1378
1379         * javax/swing/ToolTipManager.java (mouseMoved): Set currentComponent
1380         when not yet set.
1381
1382 2004-11-30  Sven de Marothy  <sven@physto.se>
1383
1384         * java/awt/geom/GeneralPath.java (evaluateCrossings):
1385         Fixed epsilon value, should always be nonzero.
1386
1387 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
1388
1389         * java/awt/image/Raster.java
1390         (createPackedRaster): Implemented.
1391
1392 2004-11-30  Graydon Hoare  <graydon@redhat.com>
1393
1394         * javax/swing/plaf/basic/BasicTextUI.java:
1395         Listen to focus events, indicate focus via caret.
1396         * javax/swing/text/GapContent.java (getString): Return substring.
1397         * javax/swing/text/PlainDocument.java (reindex): New method.
1398         (createDefaultRoot): Call it.
1399         (insertUpdate): Likewise.
1400         (removeUpdate): Likewise.
1401         * javax/swing/text/Utilities.java (drawTabbedText): Always advance
1402         on tab and newline, even if no painting happens.
1403
1404 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1405
1406         * Makefile.am: List peer JNI header: Java source file
1407         dependencies explicitly.  Likewise for JNI .lo: JNI header
1408         dependencies.
1409         * Makefile.in: Regenerate.
1410
1411 2004-11-30  Graydon Hoare  <graydon@redhat.com>
1412
1413         * Makefile.am: Add entry for BasicTextPaneUI.java
1414         * Makefile.in: Regenerate.
1415         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1416         (GdkGraphics2D): Set clip after transform.
1417         (drawImage): Protect against null image.
1418         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1419         (setIconImage): Protect against non-GtkImage args.
1420         * gnu/java/awt/peer/gtk/GtkToolkit.java
1421         (checkImage): Protect against non-GtkImage args.
1422         * java/awt/print/PrinterJob.java:
1423         (print): Add variant taking PrintRequestAttributeSet.
1424         (printDialog): Likewise.
1425         * javax/swing/JComponent.java:
1426         (transferHandler): New field.
1427         (getComponentGraphics): Build new Graphics for each sub-paint.
1428         (getTransferHandler): New method.
1429         (setTransferHandler): New method.
1430         * javax/swing/JDesktopPane.java
1431         (setDragMode): Force LIVE_DRAG_MODE.
1432         * javax/swing/JMenuItem.java
1433         (menuSelectionChanged): Protect against null parent.
1434         * javax/swing/JTable.java (setDefaultRenderer): New method.
1435         * javax/swing/JTree.java: Get basic ctors and UI working.
1436         * javax/swing/JViewport.java (JViewport): Set scroll mode.
1437         * javax/swing/RepaintManager.java
1438         (addDirtyRegion): Skip empty regions.
1439         * javax/swing/ScrollPaneLayout.java (minimumLayoutSize): Do not
1440         bound scrollpane minimum by central view minimum.
1441         * javax/swing/ToolTipManager.java
1442         (showTip): Guard against null component.
1443         * javax/swing/TransferHandler.java: Stub out.
1444         * javax/swing/plaf/basic/BasicLookAndFeel.java:
1445         Add entry for TextPaneUI, change Tree icons to pngs.
1446         * javax/swing/plaf/basic/BasicMenuItemUI.java:
1447         (installDefaults): Set text position and alignment.
1448         (paintMenuItem): Layout icon with normal compound function.
1449         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
1450         (getMaximumSize): Delete.
1451         (getMinimumSize): Delete.
1452         (getPreferredSize): Use column model's total width.
1453         * javax/swing/plaf/basic/BasicTextPaneUI.java: New file.
1454         * javax/swing/plaf/basic/BasicTextUI.java
1455         (modelChanged): Make resilient against nulls.
1456         * javax/swing/plaf/basic/BasicTreeUI.java:
1457         Add some simplistic config / painting functions.
1458         * javax/swing/plaf/basic/BasicViewportUI.java
1459         (paintSimple): Add new non-backingstore paint mode.
1460         (paintBackingStore): Split out backing store code.
1461         (paint): Switch on painting mode.
1462         * javax/swing/text/SimpleAttributeSet.java
1463         (SimpleAttributeSet): Resist nulls.
1464         * javax/swing/tree/DefaultTreeCellRenderer.java: Implement.
1465         * javax/swing/tree/DefaultTreeModel.java: Partially implement.
1466
1467 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1468
1469         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (setFont):
1470         Set pango context's description and language.
1471
1472 2004-11-30  Mark Wielaard  <mark@klomp.org>
1473
1474         * java/awt/image/LookupOp.java: Comments and indentation fixes.
1475
1476 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1477
1478         * java/awt/Checkbox.java (AccessibleAWTCheckBox): Implement.
1479         (getAccessibleContext): Implement.
1480
1481 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1482
1483         * java/awt/TextComponent.java (AccessibleAWTTextComponent):
1484         Implement.
1485         (getIndexAtPoint, getCharacterBounds): New methods.
1486
1487 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1488
1489         * java/awt/Button.java (AccessibleAWTButton): Implement.
1490
1491 2004-11-30  Mark Wielaard  <mark@klomp.org>
1492
1493         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1494         (filenameFilterCallback): Made static.
1495
1496 2004-11-30  Michael Koch  <konqueror@gmx.de>
1497
1498         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1499         (cairoShowGlyphs) Removed.
1500
1501 2004-11-30  Sven de Marothy <sven@physto.se>
1502
1503         * gnu/java/awt/color/RgbProfileConverter.java (RgbProfileConverter):
1504         Don't invert matrix when reverse CLUT is available.
1505         * gnu/java/awt/color/LinearRGBConverter.java: Documentation update.
1506         * java/awt/color/ICC_ColorSpace.java: Likewise.
1507         * java/awt/color/ICC_Profile.java: Likewise.
1508         * java/awt/color/ICC_ProfileGray.java: Likewise.
1509         * java/awt/color/ICC_ProfileRGB.java: Likewise.
1510
1511 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1512
1513         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Implement.
1514
1515 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1516
1517         * java/awt/Choice.java (AccessibleAWTChoice): Implement.
1518
1519 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1520
1521         * java/awt/image/BandedSampleModel.java (scanlineStride): Remove
1522         field hiding ComponentSampleModel.scanlineStride.
1523
1524 2004-11-30  Noa Resare  <noa@resare.com>
1525
1526         * java/awt/geom/GeneralPath.java (currentSegment):
1527         Fix typo in transform.transform() invocation.
1528
1529 2004-11-30  Sven de Marothy <sven@physto.se>
1530
1531         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1532         (createImage): Created bitmap should be filled with bg color
1533
1534 2004-11-30  Noa Resare  <noa@resare.com>
1535
1536         * java/awt/Choice.java (add):
1537         Implement correct selection behavior when peer == null.
1538         (insert): Likewise.
1539         (remove): Likewise.
1540
1541 2004-11-30  Mark Wielaard  <mark@klomp.org>
1542
1543         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
1544         Call select() when Choice has a selected item.
1545
1546 2004-11-30  Michael Koch  <address@bogus.example.com>
1547
1548         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
1549         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
1550         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
1551         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c,
1552         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
1553         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
1554         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
1555         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
1556         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
1557         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
1558         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
1559         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1560         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
1561         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
1562         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
1563         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
1564         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
1565         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
1566         Fixed method names to start at begin of line. This is desired by GNU
1567         coding style guide.
1568
1569 2004-11-30  Michael Koch  <konqueror@gmx.de>
1570
1571         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1572         (gtkWidgetSetVisible): Unused. Removed.
1573         (connectJObject): Likewise.
1574         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
1575         (gtkScrolledWindowSetScrollPosition): Commented out.
1576
1577 2004-11-30  Mark Wielaard  <mark@klomp.org>
1578
1579         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
1580         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_setText): Installed and
1581         renamed from Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText.
1582
1583 2004-11-30  Mark Wielaard  <mark@klomp.org>
1584
1585         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
1586         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText): Removed.
1587         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1588         (init_dpi_conversion_factor): Correct prototype.
1589
1590 2004-11-30  Sven de Marothy  <sven@physto.se>
1591
1592         * java/awt/image/ConvolveOp.java: Added missing
1593         copyright notice.
1594
1595 2004-11-30  Robert Schuster  <theBohemian@gmx.net>
1596
1597         Fixes bug #10908
1598         * gnu/java/beans/IntrospectionIncubator.java:
1599         (addMethod): static methods are discarded now, too.
1600
1601 2004-11-30  Mark Wielaard  <mark@klomp.org>
1602
1603         * Makefile.am (awt_java_source_files): Add new gnu/java/awt/color
1604         java source files.
1605         * Makefile.in: Regenerated.
1606
1607 2004-11-30  Sven de Marothy  <sven@physto.se>
1608
1609         * gnu/java/awt/color/CieXyzConverter.java,
1610         gnu/java/awt/color/GrayScaleConverter.java,
1611         gnu/java/awt/color/SrgbConverter.java,
1612         gnu/java/awt/color/ClutProfileConverter.java,
1613         gnu/java/awt/color/LinearRGBConverter.java,
1614         gnu/java/awt/color/TagEntry.java,
1615         gnu/java/awt/color/ColorLookUpTable.java,
1616         gnu/java/awt/color/ProfileHeader.java,
1617         gnu/java/awt/color/ToneReproductionCurve.java,
1618         gnu/java/awt/color/ColorSpaceConverter.java,
1619         gnu/java/awt/color/PyccConverter.java,
1620         gnu/java/awt/color/GrayProfileConverter.java,
1621         gnu/java/awt/color/RgbProfileConverter.java:
1622         New files.
1623         * java/awt/color/ICC_ColorSpace.java,
1624         java/awt/color/ICC_Profile.java,
1625         java/awt/color/ICC_ProfileGray.java,
1626         java/awt/color/ICC_ProfileRGB.java:
1627         Implemented (sans PhotoYCC color space).
1628
1629 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1630
1631         * java/awt/image/AffineTransformOp.java (filter):  Implement
1632         bilinear interpolation for Rasters.
1633
1634 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1635
1636         * java/awt/image/IndexColorModel.java (IndexColorModel): Actually
1637         use the provided colormap.  Throw documented exceptions.  Document
1638         exceptions.
1639
1640 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
1641
1642         * java/awt/image/IndexColorModel.java (IndexColorModel): Fix
1643         constructor.
1644
1645 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1646
1647         * java/awt/image/AffineTransformOp.java: Add TYPE_BICUBIC.
1648
1649 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1650
1651         * java/awt/image/AffineTransformOp.java (filter): Implement Raster
1652         filtering.
1653
1654 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1655
1656         * java/awt/image/ComponentSampleModel.java (getDataElements,
1657         setDataElements): Implement SHORT, FLOAT, and INT transfer types.
1658
1659 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1660
1661         * java/awt/Font.java (name): New field.
1662         (size): Likewise.
1663         (style): Likewise.
1664
1665 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1666
1667         * java/awt/image/Raster.java (createBandedRaster): Implement.
1668
1669 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1670
1671         * java/awt/image/ConvolveOp.java: New class.
1672         * Makefile.am: Add ConvolveOp.
1673         * Makefile.in: Regenerate.
1674
1675 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1676
1677         * java/awt/image/RescaleOp.java (BandCombineOp, ColorConvertOp,
1678         LookupOp, RescaleOp): Fix loop bounds.
1679
1680 2004-11-30  jlquinn  <jlquinn@optonline.net>
1681
1682         * Makefile.am: Fix typo in BandCombineOp.
1683         * Makefile.in: Regenerate.
1684
1685 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1686
1687         * java/awt/image/BandCombineOp.java: New class.
1688         * Makefile.am: Add BandCombineOp.
1689         * Makefile.in: Regenerate.
1690
1691 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1692
1693         * java/awt/image/LookupOp.java: New class.
1694         * Makefile.am: Add LookupOp.
1695         * Makefile.in: Regenerate.
1696
1697 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1698
1699         * java/awt/image/SampleModel.java (createSubsetSampleModel): Add
1700         javadocs.
1701
1702 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1703
1704         * java/awt/image/ColorModel.java (cloneColorModel): Fix line
1705         wrap.  Use Boolean.valueOf.
1706
1707 2004-11-30  Michael Koch  <konqueror@gmx.de>
1708
1709         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1710         (releasePeerGraphicsResource): Fixed typo in method name.
1711         * gnu/java/awt/peer/gtk/GdkFontPeer.java
1712         (finalize): Fixed typo in releasePeerGraphicsResource.
1713
1714 2004-11-30  Michael Koch  <konqueror@gmx.de>
1715
1716         * java/awt/font/TextAttribute.java
1717         (RUN_DIRECTION_LTR): Initialie with static value instead of
1718         calculating it.
1719         (RUN_DIRECTION_RTL): Likewise.
1720         (STRIKETHROUGH_ON): Likewise.
1721         (SWAP_COLORS_ON): Likewise.
1722
1723 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
1724
1725         * java/awt/image/ColorConvertOp.java: New class.
1726         * java/awt/image/ColorModel.java (cloneColorModel): New method.
1727         * Makefile.am: Add ColorConvertOp.
1728         * Makefile.in: Regenerate.
1729
1730 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1731
1732         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
1733         Track Window focus owner on FOCUS_GAINED events.
1734
1735 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1736
1737         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
1738         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1739
1740 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1741
1742         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
1743         (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
1744         Fix pointer warning.
1745
1746 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
1747
1748         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1749         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
1750         Fix pointer warning.
1751
1752         * jni/gtk-peer/gtkpeer.h: Introduce widget_union to fix type punned
1753         warnings.
1754         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1755         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Use widget_union
1756         to fix type punned pointer warning.
1757         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
1758         Likewise.
1759
1760         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1761         (window_get_new_state): Introduce unions to fix warnings as above.
1762         (window_property_changed_cb): Likewise.
1763         (window_active_state_change_cb): Mark unused variables unused.
1764         (window_focus_state_change_cb): Likewise.
1765         (window_focus_in_cb): Likewise.
1766         (window_focus_out_cb): Likewise.
1767
1768         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
1769         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Convert
1770         PangoFontMap correctly with PANGO_FT2FONT_MAP macro.
1771
1772 2004-11-30  Michael Koch  <konqueror@gmx.de>
1773
1774         * javax/swing/JMenuBar.java
1775         (updateUI): Simplified.
1776         * javax/swing/tree/DefaultTreeSelectionModel.java:
1777         Reorganized import statements.
1778
1779 2004-11-30  Michael Koch  <konqueror@gmx.de>
1780
1781         * java/awt/font/TextAttribute.java,
1782         javax/swing/JComponent.java,
1783         javax/swing/JInternalFrame.java,
1784         javax/swing/table/TableColumn.java,
1785         javax/swing/text/StyleConstants.java:
1786         Replaced "new Boolean(boolean)" with "Boolean.valueOf(boolean)".
1787
1788 2004-11-30  Michael Koch  <konqueror@gmx.de>
1789
1790         * javax/swing/tree/DefaultTreeCellEditor.java,
1791         javax/swing/tree/DefaultTreeModel.java,
1792         javax/swing/tree/DefaultTreeSelectionModel.java:
1793         Jalopied.
1794
1795 2004-11-30  Michael Koch  <konqueror@gmx.de>
1796
1797         * javax/swing/tree/DefaultTreeCellEditor.java
1798         (EditorContainer.EditorContainer): Fixed arguments.
1799         (EditorContainer.EditorContainer): New method.
1800         (DefaultTextField.DefaultTextField): Fixed arguments, implemented.
1801         (DefaultTextField.getBorder): Implemented.
1802         (listenerList): New field.
1803         (addCellEditorListener): Implemented.
1804         (removeCellEditorListener): Implemented.
1805         (getCellEditorListeners): New method.
1806         * javax/swing/tree/DefaultTreeModel.java
1807         (addTreeModelListener): Fixed javadoc.
1808         (removeTreeModelListener): Likewise.
1809         (getTreeModelListeners): New method.
1810         (fireTreeNodesChanged): Implemented.
1811         (fireTreeNodesInserted): Likewise.
1812         (fireTreeNodesRemoved): Likewise.
1813         (fireTreeStructureChanged): Likewise.
1814         (getListeners): Fixed javadoc.
1815         * javax/swing/tree/DefaultTreeSelectionModel.java
1816         (addTreeSelectionListener): Implemented.
1817         (removeTreeSelectionListener): Likewise.
1818         (fireValueChanged): Likewise.
1819         (getListeners): Likewise.
1820         (addPropertyChangeListener): Likewise.
1821         (removePropertyChangeListener): Likewise.
1822         (getTreeSelectionListeners): New method.
1823         (getPropertyChangeListeners): Likewise.
1824
1825 2004-11-30  Michael Koch  <konqueror@gmx.de>
1826
1827         * javax/swing/plaf/basic/BasicScrollBarUI.java
1828         (maximumThumbSize): Removed static keyword.
1829         (minimumThumbSize): Likewise.
1830         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
1831         (CloseAction): Made public.
1832         (IconifyAction): Likewise.
1833         (MaximizeAction): Likewise.
1834         (MoveAction): Likewise.
1835         (RestoreAction): Likewise.
1836         (SizeAction): Likewise.
1837         (SystemMenuBar): Likewise.
1838         * javax/swing/plaf/basic/BasicSliderUI.java
1839         (TrackListener): Likewise.
1840         * javax/swing/plaf/basic/BasicSplitPaneUI.java
1841         (KeyboardDownRightHandler): Likewise.
1842         (KeyboardEndHandler): Likewise.
1843         (KeyboardHomeHandler): Likewise.
1844         (KeyboardResizeToggleHandler): Likewise.
1845         (KeyboardUpLeftHandler): Likewise.
1846         (PropertyHandler): Likewise.
1847         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1848         (PropertyChangeHandler): Likewise.
1849         (TabSelectionHandler): Likewise.
1850
1851 2004-11-30  Michael Koch  <konqueror@gmx.de>
1852
1853         * javax/swing/text/JTextComponent.java
1854         (getKeymap): Made public.
1855
1856 2004-11-30  Michael Koch  <konqueror@gmx.de>
1857
1858         * javax/swing/JEditorPane.java
1859         (getStream): Throws IOException.
1860         (read): Likewise.
1861         * javax/swing/JRootPane.java
1862         (createContentPane): Fixed return type.
1863         * javax/swing/JSpinner.java
1864         (commitEdit): Throws ParseException.
1865         * javax/swing/plaf/metal/MetalLookAndFeel.java
1866         (serialVersionUID): New field.
1867         * javax/swing/table/TableColumn.java
1868         (resizedPostingDisableCount): Added @deprecated tag.
1869         (disableResizedPosting): Likewise.
1870         (enableResizedPosting): Likewise.
1871         * javax/swing/text/Document.java
1872         (TitleProperty): Fixed value.
1873         * javax/swing/tree/TreeCellEditor.java
1874         (TreeCellEditor): Extends CellEditor.
1875
1876 2004-11-30  Michael Koch  <konqueror@gmx.de>
1877
1878         * javax/swing/JWindow.java
1879         javax/swing/SpinnerModel.java
1880         javax/swing/Timer.java
1881         javax/swing/event/MenuKeyEvent.java
1882         javax/swing/plaf/basic/BasicButtonUI.java
1883         javax/swing/plaf/basic/BasicIconFactory.java
1884         javax/swing/plaf/basic/BasicTabbedPaneUI.java
1885         javax/swing/text/AttributeSet.java
1886         javax/swing/text/Highlighter.java
1887         javax/swing/text/StyleConstants.java
1888         javax/swing/tree/TreeCellEditor.java:
1889         Removed redundant and reordered modifiers.
1890
1891 2004-11-30  Michael Koch  <konqueror@gmx.de>
1892
1893         * javax/swing/plaf/basic/BasicToolTipUI.java:
1894         Reformatted copyright header.
1895
1896 2004-11-30  Michael Koch  <konqueror@gmx.de>
1897
1898         * javax/swing/AbstractAction.java,
1899         javax/swing/AbstractButton.java,
1900         javax/swing/AbstractCellEditor.java,
1901         javax/swing/AbstractListModel.java,
1902         javax/swing/AbstractSpinnerModel.java,
1903         javax/swing/ActionMap.java,
1904         javax/swing/BorderFactory.java,
1905         javax/swing/Box.java,
1906         javax/swing/ButtonModel.java,
1907         javax/swing/CellEditor.java,
1908         javax/swing/CellRendererPane.java,
1909         javax/swing/DefaultBoundedRangeModel.java,
1910         javax/swing/DefaultButtonModel.java,
1911         javax/swing/DefaultCellEditor.java,
1912         javax/swing/DefaultDesktopManager.java,
1913         javax/swing/DefaultListCellRenderer.java,
1914         javax/swing/DefaultListSelectionModel.java,
1915         javax/swing/DefaultSingleSelectionModel.java,
1916         javax/swing/GrayFilter.java,
1917         javax/swing/InputMap.java,
1918         javax/swing/JApplet.java,
1919         javax/swing/JCheckBoxMenuItem.java,
1920         javax/swing/JColorChooser.java,
1921         javax/swing/JComboBox.java,
1922         javax/swing/JComponent.java,
1923         javax/swing/JDesktopPane.java,
1924         javax/swing/JDialog.java,
1925         javax/swing/JEditorPane.java,
1926         javax/swing/JFileChooser.java,
1927         javax/swing/JFormattedTextField.java,
1928         javax/swing/JFrame.java,
1929         javax/swing/JInternalFrame.java,
1930         javax/swing/JLabel.java,
1931         javax/swing/JLayeredPane.java,
1932         javax/swing/JList.java,
1933         javax/swing/JMenu.java,
1934         javax/swing/JMenuBar.java,
1935         javax/swing/JMenuItem.java,
1936         javax/swing/JOptionPane.java,
1937         javax/swing/JPanel.java,
1938         javax/swing/JPasswordField.java,
1939         javax/swing/JPopupMenu.java,
1940         javax/swing/JRadioButtonMenuItem.java,
1941         javax/swing/JRootPane.java,
1942         javax/swing/JSpinner.java,
1943         javax/swing/JSplitPane.java,
1944         javax/swing/JTabbedPane.java,
1945         javax/swing/JTable.java,
1946         javax/swing/JTextArea.java,
1947         javax/swing/JTextPane.java,
1948         javax/swing/JToggleButton.java,
1949         javax/swing/JToolBar.java,
1950         javax/swing/JToolTip.java,
1951         javax/swing/JTree.java,
1952         javax/swing/JViewport.java,
1953         javax/swing/ListModel.java,
1954         javax/swing/LookAndFeel.java,
1955         javax/swing/MenuSelectionManager.java,
1956         javax/swing/ProgressMonitorInputStream.java,
1957         javax/swing/RepaintManager.java,
1958         javax/swing/RootPaneContainer.java,
1959         javax/swing/ScrollPaneLayout.java,
1960         javax/swing/SpringLayout.java,
1961         javax/swing/SwingUtilities.java,
1962         javax/swing/Timer.java,
1963         javax/swing/ToolTipManager.java,
1964         javax/swing/UIDefaults.java,
1965         javax/swing/UIManager.java,
1966         javax/swing/border/MatteBorder.java,
1967         javax/swing/colorchooser/AbstractColorChooserPanel.java,
1968         javax/swing/colorchooser/ColorSelectionModel.java,
1969         javax/swing/colorchooser/DefaultColorSelectionModel.java,
1970         javax/swing/colorchooser/DefaultHSBChooserPanel.java,
1971         javax/swing/colorchooser/DefaultPreviewPanel.java,
1972         javax/swing/colorchooser/DefaultRGBChooserPanel.java,
1973         javax/swing/colorchooser/DefaultSwatchChooserPanel.java,
1974         javax/swing/event/AncestorEvent.java,
1975         javax/swing/event/HyperlinkEvent.java,
1976         javax/swing/event/InternalFrameEvent.java,
1977         javax/swing/event/MenuDragMouseEvent.java,
1978         javax/swing/event/TableColumnModelEvent.java,
1979         javax/swing/event/TableModelEvent.java,
1980         javax/swing/event/TreeExpansionEvent.java,
1981         javax/swing/event/TreeModelEvent.java,
1982         javax/swing/event/TreeSelectionEvent.java,
1983         javax/swing/event/TreeWillExpandListener.java,
1984         javax/swing/event/UndoableEditEvent.java,
1985         javax/swing/filechooser/FileView.java,
1986         javax/swing/plaf/BorderUIResource.java,
1987         javax/swing/plaf/ComponentUI.java,
1988         javax/swing/plaf/FileChooserUI.java,
1989         javax/swing/plaf/IconUIResource.java,
1990         javax/swing/plaf/ListUI.java,
1991         javax/swing/plaf/PopupMenuUI.java,
1992         javax/swing/plaf/SplitPaneUI.java,
1993         javax/swing/plaf/TabbedPaneUI.java,
1994         javax/swing/plaf/TextUI.java,
1995         javax/swing/plaf/TreeUI.java,
1996         javax/swing/plaf/basic/BasicArrowButton.java,
1997         javax/swing/plaf/basic/BasicBorders.java,
1998         javax/swing/plaf/basic/BasicButtonUI.java,
1999         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
2000         javax/swing/plaf/basic/BasicColorChooserUI.java,
2001         javax/swing/plaf/basic/BasicComboBoxEditor.java,
2002         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
2003         javax/swing/plaf/basic/BasicComboBoxUI.java,
2004         javax/swing/plaf/basic/BasicComboPopup.java,
2005         javax/swing/plaf/basic/BasicDesktopIconUI.java,
2006         javax/swing/plaf/basic/BasicDesktopPaneUI.java,
2007         javax/swing/plaf/basic/BasicIconFactory.java,
2008         javax/swing/plaf/basic/BasicInternalFrameTitlePane.java,
2009         javax/swing/plaf/basic/BasicInternalFrameUI.java,
2010         javax/swing/plaf/basic/BasicListUI.java,
2011         javax/swing/plaf/basic/BasicLookAndFeel.java,
2012         javax/swing/plaf/basic/BasicMenuBarUI.java,
2013         javax/swing/plaf/basic/BasicMenuItemUI.java,
2014         javax/swing/plaf/basic/BasicMenuUI.java,
2015         javax/swing/plaf/basic/BasicOptionPaneUI.java,
2016         javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java,
2017         javax/swing/plaf/basic/BasicPopupMenuUI.java,
2018         javax/swing/plaf/basic/BasicProgressBarUI.java,
2019         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
2020         javax/swing/plaf/basic/BasicRootPaneUI.java,
2021         javax/swing/plaf/basic/BasicScrollBarUI.java,
2022         javax/swing/plaf/basic/BasicSeparatorUI.java,
2023         javax/swing/plaf/basic/BasicSliderUI.java,
2024         javax/swing/plaf/basic/BasicSpinnerUI.java,
2025         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
2026         javax/swing/plaf/basic/BasicSplitPaneUI.java,
2027         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2028         javax/swing/plaf/basic/BasicTableHeaderUI.java,
2029         javax/swing/plaf/basic/BasicTableUI.java,
2030         javax/swing/plaf/basic/BasicTextAreaUI.java,
2031         javax/swing/plaf/basic/BasicTextFieldUI.java,
2032         javax/swing/plaf/basic/BasicTextUI.java,
2033         javax/swing/plaf/basic/BasicToolBarSeparatorUI.java,
2034         javax/swing/plaf/basic/BasicToolBarUI.java,
2035         javax/swing/plaf/basic/BasicToolTipUI.java,
2036         javax/swing/plaf/basic/BasicTreeUI.java,
2037         javax/swing/plaf/basic/BasicViewportUI.java,
2038         javax/swing/plaf/basic/ComboPopup.java,
2039         javax/swing/table/AbstractTableModel.java,
2040         javax/swing/table/DefaultTableCellRenderer.java,
2041         javax/swing/table/DefaultTableColumnModel.java,
2042         javax/swing/table/DefaultTableModel.java,
2043         javax/swing/table/JTableHeader.java,
2044         javax/swing/table/TableCellEditor.java,
2045         javax/swing/table/TableCellRenderer.java,
2046         javax/swing/table/TableColumn.java,
2047         javax/swing/table/TableColumnModel.java,
2048         javax/swing/text/AbstractDocument.java,
2049         javax/swing/text/Caret.java,
2050         javax/swing/text/DefaultCaret.java,
2051         javax/swing/text/DefaultEditorKit.java,
2052         javax/swing/text/DefaultHighlighter.java,
2053         javax/swing/text/EditorKit.java,
2054         javax/swing/text/JTextComponent.java,
2055         javax/swing/text/LayeredHighlighter.java,
2056         javax/swing/text/PasswordView.java,
2057         javax/swing/text/SimpleAttributeSet.java,
2058         javax/swing/text/StyleConstants.java,
2059         javax/swing/text/StyleContext.java,
2060         javax/swing/text/StyledEditorKit.java,
2061         javax/swing/text/TextAction.java,
2062         javax/swing/text/View.java,
2063         javax/swing/tree/AbstractLayoutCache.java,
2064         javax/swing/tree/DefaultTreeCellRenderer.java,
2065         javax/swing/tree/DefaultTreeModel.java,
2066         javax/swing/tree/DefaultTreeSelectionModel.java,
2067         javax/swing/tree/FixedHeightLayoutCache.java,
2068         javax/swing/tree/TreeCellRenderer.java,
2069         javax/swing/tree/TreeSelectionModel.java,
2070         javax/swing/tree/VariableHeightLayoutCache.java,
2071         javax/swing/undo/AbstractUndoableEdit.java,
2072         javax/swing/undo/UndoableEditSupport.java:
2073         Imports cleaned up.
2074
2075 2004-11-30  Michael Koch  <konqueror@gmx.de>
2076
2077         * java/awt/Container.java,
2078         java/awt/Font.java,
2079         java/awt/font/TextLayout.java:
2080         Imports cleaned up.
2081
2082 2004-11-30  Michael Koch  <konqueror@gmx.de>
2083
2084         * javax/swing/AbstractButton.java
2085         (getLabel): Added @deprecated tag.
2086         (setLabel): Likewise.
2087         * javax/swing/FocusManager.java
2088         (disableSwingFocusManager): Likewise.
2089         (isFocusManagerEnabled): Likewise.
2090         * javax/swing/JComponent.java
2091         (isManagingFocus): Added version to @deprecated tag.
2092         (getNextFocusableComponent): Moved @deprecated tag to bottom of
2093         javadoc.
2094         (getConditionForKeyStroke): Likewise.
2095         (getActionForKeyStroke): Likewise.
2096         * javax/swing/JDesktopPane.java
2097         (LIVE_DRAG_MODE): Added @specnote tag.
2098         (OUTLINE_DRAG_MODE): Likewise.
2099         * javax/swing/JInternalFrame.java
2100         (MENU_BAR_PROPERTY): Fixed value.
2101         (getMenuBar): Added @deprecated tag.
2102         (setMenuBar): Likewise.
2103         * javax/swing/JViewport.java
2104         (isBackingStoreEnabled): Likewise.
2105         (setBackingStoreEnabled): Likewise.
2106         * javax/swing/plaf/basic/BasicDesktopPaneUI.java
2107         (closeKey): Likewise.
2108         (maximizeKey): Likewise.
2109         (minimizeKey): Likewise.
2110         (navigateKey): Likewise.
2111         (navigateKey2): Likewise.
2112         * javax/swing/plaf/basic/BasicInternalFrameUI.java
2113         (openMenuKey): Likewise.
2114         * javax/swing/plaf/basic/BasicSplitPaneUI.java
2115         (keyboardDownRightListener): Likewise.
2116         (keyboardEndListener): Likewise.
2117         (keyboardHomeListener): Likewise.
2118         (keyboardResizeToggleListener): Likewise.
2119         (keyboardUpLeftListener): Likewise.
2120         (dividerResizeToggleKey): Likewise.
2121         (downKey): Likewise.
2122         (endKey): Likewise.
2123         (homeKey): Likewise.
2124         (leftKey): Likewise.
2125         (rightKey): Likewise.
2126         (upKey): Likewise.
2127         (createKeyboardUpLeftListener): Likewise.
2128         (createKeyboardDownRightListener): Likewise.
2129         (createKeyboardHomeListener): Likewise.
2130         (createKeyboardEndListener): Likewise.
2131         (createKeyboardResizeToggleListener): Likewise.
2132         (getDividerBorderSize): Likewise.
2133         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2134         (downKey): Likewise.
2135         (leftKey): Likewise.
2136         (rightKey): Likewise.
2137         (upKey): Likewise.
2138
2139 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
2140
2141         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2142         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Use the
2143         GTK_TEXT_VIEW macro.
2144
2145         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2146         (connect_awt_hook_cb): Mark unused variable unused.
2147
2148         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (selection_get):
2149         Do the cast right.
2150
2151         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2152         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): According to
2153         the gtk API gtk_combo_box_new_text actually returns a GtkWidget.
2154         Remove unused var menu.
2155         (selection_changed): Remove unused value.
2156
2157         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2158         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_setNativeBounds): Fix pointer
2159         warning with using an intermediate variable.
2160
2161         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2162         (area_updated): Fix unused var warning for BE archs.
2163
2164         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2165         (Java_gnu_java_awt_peer_gtk_GdkGraphics_connectSignals): Remove unused
2166         var.
2167         (realize_cb): Mark unused variable unused.
2168
2169         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
2170         (seek_glyphstring_idx): Fix a C90 warning.
2171
2172         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
2173         (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
2174         Mark unused arguments unused.
2175
2176         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
2177         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_initState),
2178         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setGlyphCodes),
2179         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphCharIndex),
2180         (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphIsHorizontal):
2181         Likewise.
2182
2183         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
2184         (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerFontMetrics),
2185         (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerTextMetrics):
2186         Likewise.
2187
2188         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2189         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
2190         Likewise.
2191         (filenameFilterCallback): Remove unused var.
2192         (handle_response): Declare str_fileName and remove last else statement.
2193
2194         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
2195         New File.
2196         (nativeGetNumFontsFamilies) New function.
2197         (nativeGetFontFamilies) Likewise.
2198         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
2199         (getAvailableFontFamilyNames): Implement.
2200         * Makefile.am (gtk_c_source_files): Add GdkGraphicsEnvironment.c.
2201         * Makefile.in: Regenerate.
2202
2203 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2204
2205         * gnu/java/awt/peer/ClasspathFontPeer.java
2206         (setStandardAttributes(String,Map)): If size attribute doesn't
2207         exist, default to size 12.  Clamp size value to a minimum of 1.
2208
2209 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
2210
2211         * javax/swing/JDialog.java
2212         (decorated): Likewise.
2213         * javax/swing/JFrame.java
2214         (defaultLookAndFeelDecorated): Likewise.
2215
2216 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
2217
2218         * javax/swing/plaf/basic/BasicToolBarUI.java
2219         (offset, regular): Made final.
2220         * javax/swing/plaf/basic/BasicScrollBarUI.java
2221         (DECREASE_HIGHLIGHT, INCREASE_HIGHLIGHT, NO_HIGHLIGHT,
2222         POSITIVE_SCROLL, NEGATIVE_SCROLL): Made final.
2223
2224 2004-11-30  Michael Koch  <konqueror@gmx.de>
2225
2226         * gnu/java/awt/BitwiseXORComposite.java,
2227         gnu/java/awt/ClasspathToolkit.java,
2228         gnu/java/awt/image/XBMDecoder.java,
2229         gnu/java/awt/peer/GLightweightPeer.java,
2230         gnu/java/awt/peer/gtk/GdkGlyphVector.java:
2231         Reorganized import statements.
2232
2233 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
2234
2235         * java/awt/Button.java
2236         (next_button_number): Removed useless initializer.
2237         * java/awt/Frame.java
2238         (next_frame_number): Likewise.
2239         * java/awt/Panel.java
2240         (next_panel_number): Likewise,
2241         * java/awt/Scrollbar.java
2242         (next_scrollbar_number): Likewise.
2243         * java/awt/TextArea.java
2244         (next_text_number): Likewise.
2245
2246 2004-11-30  Michael Koch  <konqueror@gmx.de>
2247
2248         * java/awt/image/ByteLookupTable.java
2249         (ByteLookupTable) :Fixed HTML entities in javadocs.
2250         (lookupPixel): Fix case when dst is null.
2251         * java/awt/image/ShortLookupTable.java
2252         (ShortLookupTable) :Fixed HTML entities in javadocs.
2253         (lookupPixel): Fix case when dst is null.
2254         * java/awt/image/DataBufferByte.java,
2255         java/awt/image/DataBufferDouble.java,
2256         java/awt/image/DataBufferFloat.java,
2257         java/awt/image/DataBufferInt.java,
2258         java/awt/image/DataBufferShort.java,
2259         java/awt/image/DataBufferUShort.java:
2260         Fix initialization of bankData in constructors.
2261
2262 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2263
2264         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2265         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2266         (setNativeBounds): Set GtkEventBox, GtkButton and GtkLabel size
2267         requests.
2268         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2269         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2270         (setNativeBounds): Make package private.  Set size request even
2271         if GTK parent is NULL.
2272         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
2273         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
2274         (setNativeBounds): Set GtkEventBox and GtkLabel size requests.
2275
2276 2004-11-30  Mark Wielaard  <mark@klomp.org>
2277
2278         Workaround for bug #17952.
2279         *  jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2280         (request_frame_extents): Check window->window != NULL.
2281
2282 2004-11-30  Mark Wielaard  <mark@klomp.org>
2283
2284         * jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.
2285
2286 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
2287
2288         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Use
2289         native_text_layout_state_table here.
2290
2291         * jni/gtk-peer/gdkfont.h: Mark native_text_layout_state_table extern.
2292
2293 2004-11-30  Mark Wielaard  <mark@klomp.org>
2294
2295         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
2296         (setChars): Only call pango_itemize() when vec->glyphitems != NULL.
2297         Only call pango_shape() when gi->glyphs->num_glyphs > 0.
2298
2299 2004-11-30  Michael Koch  <konqueror@gmx.de>
2300
2301         * gnu/java/awt/peer/gtk/GtkToolkit.java:
2302         Merged import statements.
2303
2304 2004-11-30  Michael Koch  <konqueror@gmx.de>
2305
2306         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2307         (isBufferedImageGraphics): Simplified.
2308
2309 2004-11-30  Paul Jenner  <psj.home@ntlworld.com>
2310
2311         * javax/swing/JTree.java
2312         (isRootVisible): Fixed typo in method name.
2313         * javax/swing/JScrollBar.java
2314         (setValues): Likewise.
2315         * javax/swing/JScrollPane.java
2316         (createScrollListener): Call JScrollBar.setValues.
2317
2318 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2319
2320         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
2321         Don't call setParentAndBounds on GtkWindowPeers.
2322
2323         * java/awt/Component.java (static): Don't set default keyboard
2324         focus manager.
2325         * java/awt/KeyboardFocusManager.java
2326         (getCurrentKeyboardFocusManager): If current keyboard focus
2327         manager is null set a default.
2328
2329         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2330         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2331         (gtkWidgetSetBackground): New method.
2332         (block_expose_events_cb): New function.
2333         (connectSignals): Block the AWT's expose event processing on
2334         button press and release.
2335         (gtkSetLabel): Set text on proper widget.
2336         (gtkWidgetModifyFont): Modify font on proper widget.
2337         (gtkWidgetSetBackground): Set normal, active and prelight
2338         colours.
2339         (gtkWidgetSetForeground): Set forground colour of proper widget.
2340         (gtkActivate): Activate the correct widget.
2341         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
2342         Only clear rectangle if the backing component is not an event
2343         box.
2344         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2345         (beginNativeRepaintID): New variable.
2346         (endNativeRepaintID): Likewise.
2347         (gtkInit): Initialize new fields with method IDs.
2348         * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
2349         (endNativeRepaintID): Likewise.
2350
2351 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2352
2353         * javax/swing/JList.java (init): Revert accidental commit.
2354
2355         * gnu/java/awt/peer/gtk/GdkGraphics.java,
2356         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
2357         Call initComponentGraphics or connectSignals depending on
2358         component's realization status.
2359         (realize_cb): New function.
2360         (initComponentGraphics): New method.
2361         (connectSignals): New method.
2362         (clipRect): Return immediately if component is not realized.
2363         (setClip): Likewise.
2364         (translate): Likewise.
2365         (drawImage variants): Return false immediately if component is
2366         not realized.
2367         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2368         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2369         (connectSignals): New method.
2370         (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
2371         depending on component's realization status.  Move other
2372         initialization calls to ...
2373         (initComponentGraphics2D): New method.
2374         (realize_cb): New function.
2375         (cairoSetMatrix): Return immediately if gr is NULL.
2376         (cairoNewPath): Likewise.
2377         (cairoRectangle): Likewise.
2378         (cairoClip): Likewise.
2379         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2380         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2381         (gtkWidgetRepaintArea): Remove method.
2382         (isRealized): New method.
2383         (GtkComponentPeer): Move setParent, connectJObject and setCursor
2384         calls to setParentAndBounds.  Call setParentAndBounds.
2385         (setParentAndBounds): New method.
2386         (setComponentBounds): Return immediately if bounds are all zero.
2387         (repaint): Remove call to gtkWidgetRepaintArea.  Return
2388         immediately if requested paint region is 0x0.
2389         (setCursor): New method.
2390         (gtkWidgetSetParent): Only set widget's parent if its parent is
2391         currently NULL.
2392         (setNativeBounds): Only set widget's bounds if it has a parent.
2393         (connectSignals): Don't call gtk_widget_realize.  Connect
2394         "realize" signal to connect_awt_hook_cb handler.
2395         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
2396         New field.
2397         (beginValidate): Set isValidating true.
2398         (endValidate): Set parents and bounds for children first, then
2399         for this.  Set isValidating false.
2400         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
2401         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2402         (connectJObject): Remove method.
2403         (connectSignals): Don't call gtk_widget_realize.
2404         * gnu/java/awt/peer/gtk/GtkListPeer.java,
2405         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
2406         (connectJObject): Remove method.
2407         (connectSignals): Don't call gtk_widget_realize.
2408         * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
2409         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
2410         (connectJObject): Remove method.
2411         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
2412         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
2413         (connectJObject): Remove method.
2414         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2415         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2416         (create): Don't call gtk_widget_realize.
2417         (connectJObject): Remove method.
2418         (connectSignals): Don't call gtk_widget_realize.  Connect
2419         "realize" signal to connect_awt_hook_cb handler.
2420         (nativeSetBounds): Don't attempt to move GDK window if it is
2421         NULL.
2422         * java/awt/Container.java (addImpl): Don't call comp.addNotify
2423         if peer is not null.
2424         (validateTree): Create peers for all children before calling
2425         doLayout.
2426         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2427         (connectSignals): Don't call gtk_widget_realize.
2428         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2429         (connect_awt_hook_cb): New function.
2430         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2431         (initComponentGraphicsID): New variable.
2432         (initComponentGraphics2DID): Likewise.
2433         (setCursorID): Likewise.
2434         (gtkInit): Initialize new fields with method IDs.
2435         * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
2436         extern.
2437         (initComponentGraphics2DID): Declare extern.
2438         (setCursorID): Likewise.
2439         (connect_awt_hook_cb): Declare function.
2440
2441 2004-11-30  Michael Koch  <konqueror@gmx.de>
2442
2443         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
2444         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2445         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2446         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
2447         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2448         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2449         gnu/java/awt/peer/gtk/GtkClipboard.java,
2450         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
2451         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
2452         gnu/java/awt/peer/gtk/GtkFontPeer.java,
2453         gnu/java/awt/peer/gtk/GtkListPeer.java,
2454         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
2455         gnu/java/awt/peer/gtk/GtkToolkit.java,
2456         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
2457         Import statements reworked.  Some little reformattings.
2458
2459 2004-11-30  Michael Koch  <konqueror@gmx.de>
2460
2461         * java/awt/image/AffineTransformOp.java
2462         (TYPE_BILINEAR): Initialize with 2.
2463         * java/awt/print/Printable.java: Jalopied.
2464         (PAGE_EXISTS): Initialize with 0;
2465         (NO_SUCH_PAGE): Initialized with 1.
2466
2467 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2468
2469         * Makefile.am: Add BufferedImageFilter.java.
2470         * Makefile.in: Regenerate.
2471
2472 2004-11-30  Graydon Hoare  <graydon@redhat.com>
2473
2474         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2475         (install_font_peer): Minor bug fixes to track cairo font semantics.
2476
2477 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2478
2479         * java/awt/image/BufferedImageFilter.java: Implement.
2480
2481 2004-11-30  Graydon Hoare  <graydon@redhat.com>
2482
2483         * Makefile.am
2484         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c)
2485         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c)
2486         (gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java)
2487         (gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java): Remove.
2488         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c)
2489         (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c)
2490         (gnu/java/awt/peer/gtk/GdkTextLayout.java)
2491         (gnu/java/awt/peer/gtk/GdkFontPeer.java)
2492         (gnu/java/awt/peer/ClasspathTextLayoutPeer.java): Add
2493         * Makefile.in: Regenerate.
2494         * gnu/awt/xlib/XToolkit.java
2495         (getClasspathTextLayoutPeer): Add stub.
2496         * gnu/java/awt/ClasspathToolkit.java
2497         (getClasspathTextLayoutPeer) Add.
2498         * gnu/java/awt/peer/ClasspathFontPeer.java
2499         (copyStyleToAttrs)
2500         (copySizeToAttrs): Make public.
2501         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
2502         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.
2503         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
2504         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
2505         * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
2506         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
2507         * gnu/java/awt/peer/gtk/GdkGraphics.java
2508         (getFontPeer): New function.
2509         (drawString): Pass font peer to native side.
2510         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2511         (cairoSetFont)
2512         (cairoShowGlyphs)
2513         (PainterThread): Remove.
2514         (GdkGraphics2D): Set hints during construction.
2515         (shifted)
2516         (walkPath)
2517         (draw)
2518         (setRenderingHint)
2519         (setRenderingHints): Reimplement normalization logic.
2520         (getDefaultHints)
2521         (updateBufferedImage)
2522         (isBufferedImageGraphics)
2523         (updateImagePixels)
2524         (drawImage): Make final.
2525         (drawImage): Always paint synchronously.
2526         (drawString)
2527         (drawGlyphVector): Rewrite.
2528         (releasePeerGraphicResource)
2529         (getPeerTextMetrics)
2530         (getPeerFontMetrics)
2531         (drawGdkGlyphVector)
2532         (drawGdkTextLayout)
2533         (cairoDrawGdkGlyphVector)
2534         (cairoDrawGdkTextLayout)
2535         (cairoDrawString)
2536         (getFontPeer): New functions.
2537         * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
2538         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2539         (getFontMetrics): Get metrics via toolkit, to hit cache.
2540         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
2541         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2542         * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
2543         (fontCache)
2544         (metricsCache)
2545         (imageCache): New members.
2546         (getFontMetrics)
2547         (getImage)
2548         (getClasspathFontPeer): Use caches.
2549         (getFontPeer): Route through getClasspathFontPeer.
2550         * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
2551         * java/awt/font/TextLayout.java: Implement in terms of peer.
2552         * javax/swing/plaf/basic/BasicSliderUI.java
2553         (paintThumb): Use polyline rather than polygon.
2554         * javax/swing/plaf/basic/BasicGraphicsUtils.java:
2555         Update comment but, alas, still do not switch to using TextLayouts.
2556         * javax/swing/text/Utilities.java (drawTabbedText):
2557         Draw text run-at-a-time, not char-at-a-time.
2558         * jni/gtk-peer/gdkfont.h: Publicize some of the font interface, add
2559         layout table.
2560         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2561         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2562         Remove files.
2563         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Rewrite to
2564         incorporate brains of old GdkClasspathFontPeerMetrics.
2565         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Rewrite to
2566         incorporate brains of old GdkClasspathFontPeer.
2567         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: New file.
2568         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2569         (drawString): Rewrite to use persistent layout in peer font.
2570         Comment out extraneous gdk_flush calls.
2571         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2572         (metrics_cairo)
2573         (metrics_surface): New static variables.
2574         (paint_glyph_run)
2575         (install_font_peer): New helper functions.
2576         (releasePeerGraphicResource)
2577         (getPeerTextMetrics)
2578         (getPeerFontMetrics)
2579         (cairoDrawGdkTextLayout)
2580         (cairoDrawGdkGlyphVector): New native methods.
2581         (cairoDrawString): Rewrite, leaving layout-based version
2582         commented out for the time being.
2583         * jni/gtk-peer/gtkpeer.h (graphics): Add fields for pango stuff.
2584
2585 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
2586
2587         * java/awt/geom/AffineTransform.java:
2588         Fixed javadocs overall.
2589
2590 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2591
2592         * java/awt/image/ComponentColorModel.java: Remove FIXME comment since
2593         it's correct.
2594
2595 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2596
2597         * java/awt/image/IndexColorModel.java: Fix use of immutable
2598         BigIntegers.
2599
2600 2004-11-30  Tom Tromey  <tromey@redhat.com>
2601
2602         * javax/swing/plaf/basic/BasicOptionPaneUI.java (MessageIcon):
2603         Renamed from 'messageIcon'.
2604         (errorIcon, infoIcon, warningIcon, questionIcon): Updated.
2605
2606 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2607
2608         * java/awt/image/RescaleOp.java: Fix formatting.
2609
2610 2004-11-30   Olga Rodimina  <rodimina@redhat.com>
2611
2612         * javax/swing/plaf/basic/BasicComboPopup.java
2613         (SCROLL_DOWN): made final.
2614         (SCROLL_UP): made final.
2615
2616 2004-11-30   Olga Rodimina  <rodimina@redhat.com>
2617
2618         * javax/swing/plaf/basic/BasicComboPopup.java:
2619         Added javadocs for undocumented fields.
2620         (show): scroll down to the selected item and
2621         highlight selected item.
2622         (startAutoScrolling): Implemented.
2623         (stopAutoScrolling): Implemented.
2624         (autoScrollUp): Implemented.
2625         (autoScrollDown): Implemented.
2626         (InvocationMouseHandler.mouseReleased): Implemented.
2627         (InvocationMouseMotionHandler.mouseDragged): Implemented.
2628
2629 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2630
2631         * java/awt/image/RescaleOp.java: Implement.
2632
2633 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2634
2635         * java/awt/image/IndexColorModel.java (getRGBs,
2636         convertToIntDiscrete): Implement.
2637
2638 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2639
2640         * java/awt/image/IndexColorModel.java: Add class docs.
2641
2642 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2643
2644         * java/awt/image/IndexColorModel.java (isValid, getValidPixels):
2645         Implement.
2646
2647 2004-11-30  Michael Koch  <konqueror@gmx.de>
2648
2649         * java/awt/MenuBar.java,
2650         java/awt/peer/MenuBarPeer.java:
2651         Revert accidentally commited changes.
2652
2653 2004-11-30  Michael Koch  <konqueror@gmx.de>
2654
2655         * java/awt/AWTKeyStroke.java,
2656         java/awt/Canvas.java,
2657         java/awt/CardLayout.java,
2658         java/awt/CheckboxMenuItem.java,
2659         java/awt/Component.java,
2660         java/awt/Container.java,
2661         java/awt/DefaultKeyboardFocusManager.java,
2662         java/awt/EventDispatchThread.java,
2663         java/awt/FileDialog.java,
2664         java/awt/FlowLayout.java,
2665         java/awt/Font.java,
2666         java/awt/Frame.java,
2667         java/awt/Graphics2D.java,
2668         java/awt/GraphicsEnvironment.java,
2669         java/awt/GridBagConstraints.java,
2670         java/awt/GridBagLayout.java,
2671         java/awt/GridLayout.java,
2672         java/awt/Image.java,
2673         java/awt/KeyboardFocusManager.java,
2674         java/awt/Label.java,
2675         java/awt/List.java,
2676         java/awt/MediaTracker.java,
2677         java/awt/Menu.java,
2678         java/awt/MenuBar.java,
2679         java/awt/MenuComponent.java,
2680         java/awt/Panel.java,
2681         java/awt/PopupMenu.java,
2682         java/awt/ScrollPane.java,
2683         java/awt/Scrollbar.java,
2684         java/awt/SystemColor.java,
2685         java/awt/TextArea.java,
2686         java/awt/TextField.java,
2687         java/awt/Toolkit.java,
2688         java/awt/Window.java,
2689         java/awt/color/ICC_Profile.java,
2690         java/awt/datatransfer/DataFlavor.java,
2691         java/awt/datatransfer/StringSelection.java,
2692         java/awt/datatransfer/SystemFlavorMap.java,
2693         java/awt/dnd/Autoscroll.java,
2694         java/awt/dnd/DropTarget.java,
2695         java/awt/dnd/DropTargetContext.java,
2696         java/awt/dnd/DropTargetDragEvent.java,
2697         java/awt/dnd/peer/DropTargetContextPeer.java,
2698         java/awt/event/AdjustmentEvent.java,
2699         java/awt/event/InputEvent.java,
2700         java/awt/event/InvocationEvent.java,
2701         java/awt/event/KeyEvent.java,
2702         java/awt/event/MouseEvent.java,
2703         java/awt/font/TextLayout.java,
2704         java/awt/geom/GeneralPath.java,
2705         java/awt/geom/Point2D.java,
2706         java/awt/im/InputContext.java,
2707         java/awt/im/spi/InputMethodContext.java,
2708         java/awt/image/AffineTransformOp.java,
2709         java/awt/image/BufferedImage.java,
2710         java/awt/image/ColorModel.java,
2711         java/awt/image/ComponentColorModel.java,
2712         java/awt/image/CropImageFilter.java,
2713         java/awt/image/DirectColorModel.java,
2714         java/awt/image/MemoryImageSource.java,
2715         java/awt/image/PackedColorModel.java,
2716         java/awt/image/PixelGrabber.java,
2717         java/awt/image/RasterOp.java,
2718         java/awt/peer/MenuBarPeer.java:
2719         Some fixes for checkstyle. Import statement and modifier order
2720         redordering.
2721
2722 2004-11-30  Michael Koch  <konqueror@gmx.de>
2723
2724         * javax/swing/JTable.java
2725         (setModel): Reimplemented.
2726
2727 2004-11-30  Michael Koch  <konqueror@gmx.de>
2728
2729         * javax/swing/JTextArea.java
2730         (append): Re-implemented.
2731         (insert): Likewise.
2732
2733 2004-11-30  Michael Koch  <konqueror@gmx.de>
2734
2735         * javax/swing/JSpinner.java
2736         (serialVersionUID): New static field.
2737         * javax/swing/JToggleButton.java
2738         (JToggleButton): Fixed email addresses.
2739         * javax/swing/SpinnerNumberModel.java
2740         (serialVersionUID): Added javadoc.
2741
2742 2004-11-30  Michael Koch  <konqueror@gmx.de>
2743
2744         * javax/swing/JTextArea.java:
2745         Don't use JTextComponent.doc directly. GCJ from java-gui-branch has a
2746         bug here which is fixed in HEAD ...
2747
2748 2004-11-30  Andrew John Hughes  <address@hidden>
2749
2750         * javax/swing/JTextArea.java: Added additional
2751         documentation.
2752
2753 2004-11-30  Andrew John Hughes  <address@hidden>
2754
2755         * javax/swing/JRadioButton.java:
2756         Implemented additional constructors and accessibility
2757         classes.  Added documentation and fixed a typo in
2758         AbstractButton.
2759
2760 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2761
2762         * java/awt/image/IndexColorModel.java (IndexColorModel): Implement
2763         missing constructor.
2764
2765 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2766
2767         * java/awt/image/ComponentColorModel.java (ComponentColorModel):
2768         Implement missing 1.4 constructor.
2769
2770 2004-11-30  Andrew John Hughes  <address@hidden>
2771
2772         * javax/swing/JToggleButton.java:
2773         Implemented additional constructors and accessibility
2774         classes.  Added documentation and fixed a typo in
2775         AbstractButton.
2776
2777 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2778
2779         * java/awt/image/ColorModel.java (getDataElement,
2780         getDataElements): Document since 1.4.
2781
2782 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2783
2784         * java/awt/image/BandedSampleModel.java: Implement.
2785         * Makefile.am: Add java/awt/image/BandedSampleModel.java.
2786         * Makefile.in: Regenerated.
2787
2788 2004-11-30  Michael Koch  <konqueror@gmx.de>
2789
2790         * java/awt/Window.java: Fixed whitespace difference with GNU
2791         classpath.
2792
2793 2004-11-30  Mark Wielaard  <mark@klomp.org>
2794
2795         * Makefile.am: Add javax/swing/SpinnerListModel.java.
2796         * Makefile.in: Regenerated.
2797
2798 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2799
2800         * javax/swing/SpinnerListModel.java, javax/swing/SpinnerModel.java
2801         Implemented SpinnerListModel.  Added documentation to
2802         SpinnerModel.
2803
2804 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
2805
2806         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2807         (init_dpi_conversion_factor): Apply the patch from main correctly.
2808         2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
2809
2810 2004-11-30  Tom Tromey  <tromey@redhat.com>
2811
2812         Bug 9948.
2813         * javax/swing/JDesktopPane.java (LIVE_DRAG_MODE): Now final.
2814         (OUTLINE_DRAG_MODE): LIVE_DRAG_MODE.
2815         * javax/swing/plaf/basic/BasicSplitPaneUI.java
2816         (NON_CONTINUOUS_DIVIDER): Now final.  Initialize.
2817
2818 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2819
2820         * java/awt/Canvas.java
2821         (AccessibleAWTCanvas): added serialization UID
2822         * java/awt/Label.java
2823         (AccessibleAWTLabel): added serialization UID
2824         * javax/swing/JRootPane.java
2825         (AccessibleJRootPane): added comment to existing UID
2826         * javax/swing/JSpinner.java
2827         (DefaultEditor): added serialization UID
2828         (NumberEditor): added serialization UID
2829         * javax/swing/text/html/HTML.java
2830         (UnknownTag): added serialization UID
2831
2832 2004-11-30  Jeroen Frijters  <jeroen@frijters.net>
2833
2834         * javax/swing/JInternalFrame.java
2835         (CONTENT_PANE_PROPERTY,FRAME_ICON_PROPERTY,GLASS_PANE_PROPERTY,
2836         IS_CLOSED_PROPERTY,IS_ICON_PROPERTY,IS_MAXIMUM_PROPERTY,
2837         IS_SELECTED_PROPERTY,LAYERED_PANE_PROPERTY,MENU_BAR_PROPERTY,
2838         ROOT_PANE_PROPERTY,TITLE_PROPERTY): Made final as per API spec.
2839         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
2840         (CLOSE_CMD,ICONIFY_CMD,MAXIMIZE_CMD,MOVE_CMD,RESTORE_CMD,SIZE_CMD):
2841         Made final as per API spec.
2842
2843 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
2844
2845         * jni/gtk-peer/gtkpeer.h: Remove duplicated copyright string.
2846
2847 2004-11-30  Sven de Marothy  <sven@physto.se>
2848
2849         * java/awt/geom/Arc2D.java: Reformatted.
2850         (setArc): Correct documentation to say 'upper left corner'.
2851         (setArcByTangent,contains,intersects): Implemented.
2852         (containsAngle): Corrected to handle negative extents.
2853         (ArcIterator): Set to private.
2854         (ArcIterator): Corrected for CHORD-type arcs, negative extents.
2855         (intersects): Fix: Now checks the arc segment.
2856         (contains): Cleaned up.
2857         * java/awt/geom/CubicCurve2a.javaD: Fix insideness-test. Reindent.
2858         (contains): Implemented.
2859         (intersects): Implemented.
2860         * java/awt/geom/QuadCurve2D.java: Fix insideness-test. Reindent.
2861         * java/awt/geom/GeneralPath: Fix insideness-test. Reindent and
2862         document.  Fully (re)implemented using separate xpoints and ypoints
2863         float[] coords.
2864
2865 2004-11-30  Andreas Tobler  <a.tobler@schweiz.ch>
2866
2867         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
2868         * configure: Regenerate.
2869         * include/config.h.in: Likewise.
2870         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
2871         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
2872         macro to gtkpeer.h.
2873         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2874         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
2875         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
2876         architectures.
2877         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
2878         Likewise.
2879
2880 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
2881
2882         * java/awt/SystemColor.java: Fix @link doc entries.
2883
2884 2004-11-30  David Gilbert  <david.gilbert@object-refinery.com>
2885
2886         * java/awt/RenderingHints.java: Documented.
2887         (RenderingHints): Accept null init Map.
2888         (putAll): Preprocess map to generate appropriate exceptions.
2889         (remove): Cast object to Key and remove from hintMap.
2890
2891 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2892
2893         * java/awt/MenuComponent.java, java/awt/MenuBar.java:
2894         Implementation of accessibility classes and methods
2895         for these two components.
2896
2897 2004-11-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2898
2899         * java/awt/KeyboardFocusManager.java:
2900         Added missing documentation.
2901
2902 2004-11-30  Andrew John Hughes <gnu_andrew@member.fsf.org>
2903
2904         * java/awt/Label.java, java/awt/Canvas.java:
2905         Added accessibility classes to AWT Label and Canvas,
2906         as well as additional documentation for Canvas.
2907
2908 2004-11-30  David Gilbert  <address@bogus.example.com>
2909
2910         * java/awt/image/DataBuffer.java: Update API documentation.
2911         * java/awt/image/DataBufferByte.java: Likewise.
2912         * java/awt/image/DataBufferDouble.java: Likewise.
2913         * java/awt/image/DataBufferFloat.java: Likewise.
2914         * java/awt/image/DataBufferInt.java: Likewise.
2915         * java/awt/image/DataBufferShort.java: Likewise.
2916         * java/awt/image/DataBufferUShort.java: Likewise.
2917
2918 2004-11-30  Dalibor Topic  <robilad@kaffe.org>
2919
2920         * java/awt/Component.java (postEvent):
2921         Only delegate to parent if a parent exists.
2922         Reported by: Stephane Meslin-Weber <steph@tangency.co.uk>
2923
2924 2004-11-30  Sven de Marothy  <sven@physto.se>
2925
2926         *java/awt/AWTEventMulticaster.java,
2927         java/awt/Adjustable.java,
2928         java/awt/Point.java,
2929         java/awt/Polygon.java,
2930         java/awt/Rectangle.java,
2931         java/awt/Shape.java,
2932         java/awt/geom/Area.java,
2933         java/awt/geom/Ellipse2D.java,
2934         java/awt/geom/PathIterator.java,
2935         java/awt/geom/Point2D.java,
2936         java/awt/geom/Rectangle2D.java,
2937         java/lang/Comparable.java,
2938         java/util/Arrays.java:
2939         Fixed documentation errors
2940
2941 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2942
2943         * java/awt/image/ComponentSampleModel.java: Add documentation.
2944
2945
2946 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2947
2948         * java/awt/image/ComponentSampleModel.java (constructor):
2949         Initialize numBanks when figuring out the max bank index.
2950
2951 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2952
2953         * java/awt/image/Raster.java (createPackedRaster): Implement
2954         MultiPixelPackedSampleModel codepath.
2955
2956 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2957
2958         * java/awt/image/MultiPixelPackedSampleModel.java: Implement.
2959         * Makefile.am: Add MultiPixelPackedSampleModel.java.
2960         * Makefile.in: Regenerate.
2961
2962 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2963
2964         * java/awt/image/Raster.java (getNumBands): Implement.
2965
2966 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2967
2968         * java/awt/image/Raster.java
2969         (createPackedRaster(int,int,int,int,int,Point)): Implement for
2970         bands>1.
2971
2972 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2973
2974         * java/awt/image/SinglePixelPackedSampleModel.java
2975         (SinglePixelPackedSampleModel): Throw exception for unsupported
2976         datatype.
2977
2978 2004-11-30  Jerry Quinn  <jlquinn@optonline.net>
2979
2980         * java/awt/image/ColorModel.java (getDataElement): Implemented.
2981         Update javadoc.
2982         (getDataElements): Add missing version.  Remove bogus version.
2983         Update javadoc.
2984
2985 2004-11-30  Olga Rodimina  <rodimina@redhat.com>
2986
2987         * javax/swing/plaf/basic/BasicComboBoxUI.java:
2988         (paintCurrentValue): Pass correct parameters to
2989         getListCellRendererComponent().
2990         (ListDataHandler.intervalRemoved): Implemented.
2991         (PropertyChangeHandler.propertyChange): Handle changes in
2992         MODEL_CHANGED_PROPERTY of the JComboBox
2993         * javax/swing/plaf/basic/BasicComboPopup.java:
2994         (BasicComboPopup): Moved code that configures popup to
2995         configurePopup() and call it instead.
2996         (firePopupMenuWillBecomeVisible): Implemented.
2997         (firePopupMenuWillBecomeInvisible): Likewise.
2998         (firePopupMenuCanceled): Likewise.
2999         (configureList): Set list's visibleRowCount same as
3000         comboBox's visibleRowCount.
3001         (configurePopup): Implemented.
3002         (getPopupHeightForRowCount): Get item's from JComboBox's model and
3003         not from model of the JList.
3004         (ListMouseMotionHandler.mouseMoved): Implemented.
3005         (PropertyChangeHandler.propertyChange): Handles change in the
3006         JComboBox's model.
3007
3008 2004-11-30  Michael Koch  <konqueror@gmx.de>
3009
3010         * javax/swing/JComponent.java
3011         (isMaximumSizeSet): New method.
3012         (isMinimumSizeSet): Likewise.
3013         (isPreferredSizeSet): Likewise.
3014
3015 2004-11-30  Michael Koch  <konqueror@gmx.de>
3016
3017         * javax/swing/JSpinner.java:
3018         Some Re-formatting.
3019         (spinner): New field.
3020         (DefaultEditor): New method.
3021         (getSpinner): Likewise.
3022         (NumberEdito): Likewise.
3023         (getModel): Likewise
3024
3025 2004-11-30  Michael Koch  <konqueror@gmx.de>
3026
3027         * javax/swing/InputVerifier.java:
3028         Re-formatted.
3029         * javax/swing/JComponent.java
3030         (inputVerifier): New property field.
3031         (getInputVerifier): New method.
3032         (setInputVerifier): Likewise.
3033
3034 2004-11-30  Michael Koch  <konqueror@gmx.de>
3035
3036         * javax/swing/JComponent.java
3037         (JComponent): Added javadoc comment.
3038         (setBorder): Fire property change eventr.
3039         (setEnabled): Likewise.
3040         (setMaximumSize): Likewise.
3041         (setMinimumSize): Likewise.
3042         (setPreferredSize): Likewise.
3043         (setOpaque): Likewise.
3044
3045 2004-11-30  Michael Koch  <konqueror@gmx.de>
3046
3047         * javax/swing/JTextField.java
3048         (action): New field.
3049         (actionCommand): Likewise.
3050         (actionPropertyChangeListener): Likewise.
3051         (setHorizontalAlignment): Abort soon if new value == old value. Fire
3052         event before repainting.
3053         (postActionEvent): New method.
3054         (getAction): Likewise.
3055         (setAction): Likewise.
3056         (getActionCommand): Likewise.
3057         (setActionCommand): Likewise.
3058         (createActionPropertyChangeListener): Likewise.
3059         (configurePropertiesFromAction): Likewise.
3060
3061 2004-11-30  Michael Koch  <konqueror@gmx.de>
3062
3063         * javax/swing/DebugGraphics.java:
3064         Re-formatted. Fixed some javadocs.
3065         * javax/swing/JApplet.java
3066         (rootPaneCheckingEnabled): Renamed from checking.
3067         * javax/swing/JCheckBox.java
3068         (BORDER_PAINTED_FLAT_CHANGED_PROPERTY): New statif field.
3069         * javax/swing/JFrame.java:
3070         Re-formatted a bit and reordered some methods.
3071         (rootPaneCheckingEnabled): Renamed from checking.
3072         (getPreferredSize): Simplified.
3073         * javax/swing/JTextArea.java
3074         (getColumnWidth): New method.
3075         (getLineCount): Likewise.
3076         (getLineStartOffset): Likewise.
3077         (getLineEndOffset): Likewise.
3078         (getLineOfOffset): Likewise.
3079         (getRowHeight): Likewise.
3080         (insert): Likewise.
3081         (replaceRange): Likewise.
3082         * javax/swing/JTextField.java
3083         (scrollOffset): new field.
3084         (getScrollOffset): New method.
3085         (setScrollOffset): Likewise.
3086         (getColumnWidth): Likewise.
3087         * javax/swing/JTree.java
3088         (ANCHOR_SELECTION_PATH_PROPERTY): New static field.
3089         (CELL_EDITOR_PROPERTY): Likewise.
3090         (CELL_RENDERER_PROPERTY): Likewise.
3091         (EDITABLE_PROPERTY): Likewise.
3092         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
3093         (INVOKES_STOP_CELL_EDITING_PROPERTY): Likewise.
3094         (LARGE_MODEL_PROPERTY): Likewise.
3095         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
3096         (ROOT_VISIBLE_PROPERTY): Likewise.
3097         (ROW_HEIGHT_PROPERTY): Likewise.
3098         (SCROLLS_ON_EXPAND_PROPERTY): Likewise.
3099         (SELECTION_MODEL_PROPERTY): Likewise.
3100         (SHOWS_ROOT_HANDLES_PROPERTY): Likewise.
3101         (TOGGLE_CLICK_COUNT_PROPERTY): Likewise.
3102         (TREE_MODEL_PROPERTY): Likewise.
3103         (VISIBLE_ROW_COUNT_PROPERTY): Likewise.
3104         (cellEditor): New field.
3105         (invokesStopCellEditing): Likewise.
3106         (largeModel): Likewise.
3107         (rowHeight): Likewise.
3108         (scrollsOnExpand): Likewise.
3109         (selectionModel): Likewise.
3110         (toggleClickCount): Likewise.
3111         (visibleRowCount): Likewise.
3112         (setShowsRootHandles): Fixed typo in method name.
3113         (getCellEditor): New method.
3114         (setCellEditor): Likewise.
3115         (getSelectionModel): Likewise.
3116         (setSelectionModel): Likewise.
3117         (getVisibleRowCount): Likewise.
3118         (setVisibleRowCount): Likewise.
3119         (isLargeModel): Likewise.
3120         (setLargeModel): Likewise.
3121         (getRowHeight): Likewise.
3122         (setRowHeight): Likewise.
3123         (getInvokesStopCellEditing): Likewise.
3124         (setInvokesStopCellEditing): Likewise.
3125         (getToggleClickCount): Likewise.
3126         (setToggleClickCount): Likewise.
3127         (getScrollsOnExpand): Likewise.
3128         (setScrollsOnExpand): Likewise.
3129         * javax/swing/table/DefaultTableColumnModel.java
3130         (addColumnModelListener): Fixed javadoc.
3131         (removeColumnModelListener): Implemented. Fixed javadoc.
3132         (getColumnModelListeners): New method.
3133         * javax/swing/table/JTableHeader.java
3134         (columnModel): Made protected.
3135         (draggedColumn): Likewise.
3136         (draggedDistance): Likewise.
3137         (reorderingAllowed): Likewise.
3138         (resizingAllowed): Likewise.
3139         (resizingColumn): Likewise.
3140         (table): Likewise.
3141         (updateTableInRealTime): Likewise.
3142         (createDefaultColumnModel): Renamed from
3143         createDefaultTableColumnModel.
3144         (setDefaultRenderer): New method.
3145         * javax/swing/table/TableColumn.java
3146         (getPropertyChangeListeners): New method.
3147         * javax/swing/text/DefaultHighlighter.java
3148         (drawsLayeredHighlights): New field.
3149         (getDrawsLayeredHighlights): New method.
3150         (setDrawsLayeredHighlights): Likewise.
3151         * javax/swing/text/DocumentFilter.java
3152         (FilterBypass): New inner class.
3153         (insertString): New method.
3154         (remove): Likewise.
3155         (replace): Likewise.
3156         * javax/swing/text/JTextComponent.java
3157         (dragEnabled): New field.
3158         (getSelectedText): New method.
3159         (getDragEnabled): Likewise.
3160         (setDragEnabled): Likewise.
3161         (replaceSelection): Reimplemented.
3162         * javax/swing/text/NavigationFilter.java
3163         (FilterBypass): New inner class.
3164         (NavigationFilter): New method.
3165         (moveDot): Likewise.
3166         (setDot): Likewise.
3167         * javax/swing/text/SimpleAttributeSet.java
3168         (EMPTY): Made public final.
3169
3170 2004-11-30  Michael Koch  <konqueror@gmx.de>
3171
3172         * javax/swing/SpinnerNumberModel.java
3173         (getMinimum): New method.
3174         (setMinimum): Likewise.
3175         (getMaximum): Likewise.
3176         (setMaximum): Likewise.
3177         (getStepSize): Likewise.
3178         (setStepSize): Likewise.
3179
3180 2004-11-30  Michael Koch  <konqueror@gmx.de>
3181
3182         * javax/swing/JMenu.java
3183         (getMenuListeners): New method.
3184         (fireMenuSelected): Simplified.
3185         * javax/swing/JRootPane.java
3186         (NONE): New static field.
3187         (FRAME): Likewise.
3188         (PLAIN_DIALOG): Likewise.
3189         (INFORMATION_DIALOG): Likewise.
3190         (ERROR_DIALOG): Likewise.
3191         (COLOR_CHOOSER_DIALOG): Likewise.
3192         (FILE_CHOOSER_DIALOG): Likewise.
3193         (QUESTION_DIALOG): Likewise.
3194         (WARNING_DIALOG): Likewise.
3195         (defaultButton): New field.
3196         (getDefaultButton): New method.
3197         (setDefaultButton): Likewise.
3198         * javax/swing/JScrollPane.java
3199         (getUI): New method.
3200         (setUI): Likewise.
3201         * javax/swing/JTable.java
3202         (getUI): Javadoc added.
3203         (setUI): New method.
3204         * javax/swing/JViewport.java
3205         (getUI): New method.
3206         (setUI): Likewise.
3207         * javax/swing/UIDefaults.java
3208         (removePropertyChangeListener): Made public.
3209
3210 2004-11-30  Michael Koch  <konqueror@gmx.de>
3211
3212         * javax/swing/JApplet.java, javax/swing/JFrame.java:
3213         Re-indented.
3214
3215 2004-11-30  Michael Koch  <konqueror@gmx.de>
3216
3217         * javax/swing/AbstractButton.java:
3218         Little re-formatting.
3219         (changeEvent): Made protected.
3220         (fireStateChanged): Removed argument.
3221         (setHorizontalAlignment): Abort method when old value is equal too new
3222         value.
3223         (setHorizontalTextPosition): Likewise.
3224         (setVerticalAlignment): Likewise.
3225         (setVerticalTextPosition): Likewise.
3226         (setBorderPainted): Likewise.
3227         (setIcon): Likewise.
3228         (setText): Likewise.
3229         (setIconTextGap): Likewise.
3230         (setMargin): Likewise.
3231         (setPressedIcon): Likewise.
3232         (setFocusPainted): Likewise.
3233         (setDisabledSelectedIcon): Likewise.
3234         (setRolloverIcon): Likewise.
3235         (setRolloverSelectedIcon): Likewise.
3236         (setSelectedIcon): Likewise.
3237         (setContentAreaFilled): Likewise.
3238
3239 2004-11-30  Kim Ho  <kho@redhat.com>
3240
3241         * javax/swing/plaf/basic/BasicArrowButton.java:
3242         Jalopy. Reimplement.
3243         * javax/swing/plaf/basic/BasicScrollBarUI.java:
3244         Jalopy.
3245         (arrowIcon, upIcon, downIcon, leftIcon,
3246         rightIcon): Removed.
3247         (createIncreaseButton): Use BasicArrowButton.
3248         (createDecreaseButton): Ditto.
3249         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3250         (createRightOneTouchButton): Remove button border.
3251         (createLeftOneTouchButton): Ditto.
3252
3253 2004-11-30  Michael Koch  <konqueror@gmx.de>
3254
3255         * javax/swing/JSpinner.java
3256         (setModel): New method.
3257         * javax/swing/SpringLayout.java
3258         (Constraints): May not be final.
3259
3260 2004-11-30  Michael Koch  <konqueror@gmx.de>
3261
3262         * gnu/java/awt/peer/gtk/GtkClipboard.java,
3263         java/awt/datatransfer/Clipboard.java,
3264         java/awt/datatransfer/ClipboardOwner.java:
3265         Reformated to make it use our coding standard.
3266
3267 2004-11-30  Michael Koch  <konqueror@gmx.de>
3268
3269         * javax/swing/SpinnerNumberModel.java
3270         (SpinnerNumberModel): Implements java.io.Serializable.
3271         (serialVersionUID): New field.
3272         (SpinnerNumberModel): Added missing @throws tags to javadocs.
3273         * javax/swing/UIManager.java
3274         (get): New method.
3275         (getBoolean): Likewise.
3276         (getBorder): Likewise.
3277         (getColor): Likewise.
3278         (getDimension): Likewise.
3279         (getFont): Likewise.
3280         (getIcon): Likewise.
3281         (getInsets): Likewise.
3282         (getInt): Likewise.
3283         (getString): Likewise.
3284
3285 2004-11-30  Michael Koch  <konqueror@gmx.de>
3286
3287         * javax/swing/JPasswordField.java:
3288         Reformated. Implemented construtors.
3289         * javax/swing/plaf/basic/BasicPasswordFieldUI.java
3290         (create): New method.
3291         * javax/swing/text/PlainView.java
3292         (selectedColor): Made package-private to allow access from sub-classes
3293         in same package too.
3294         (unselectedColor): Likewise.
3295         (font): Likewise.
3296         (drawSelectedText): Make protected.
3297         (drawUnselectedText): Likewise.
3298         * javax/swing/text/PasswordView.java: New file.
3299         * Makefile.am: Added javax/swing/text/PasswordView.java.
3300         * Makefile.in: Regenerated.
3301
3302 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3303
3304         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Set menu
3305         bar's width.
3306         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (nativeSetHelpMenu):
3307         Add FIXME comment.
3308         (addHelpMenu): Elide call to nativeSetHelpMenu.
3309         * java/awt/Menu.java (isTearOff): Rename to tearOff.
3310         (menuSerializedDataVersion): Initialize to 1.
3311         (separatorLabel): Mark transient.
3312         (insert(MenuItem,int)): Implement.
3313         * java/awt/MenuBar.java (setHelpMenu): Call getPeer to retrieve
3314         peer.
3315         (countMenus): Count help menu.
3316         * java/awt/MenuComponent.java (nameExplicitlySet, newEventsOnly,
3317         accessibleContext): Add fields.
3318         * java/awt/MenuItem.java: Remove event mask FIXME.
3319         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3320         (gtkWidgetModifyFont): Only set font if label is non-NULL.
3321         (setLabel): Don't treat "-" specially.
3322
3323 2004-11-30  Kim Ho  <kho@redhat.com>
3324
3325         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
3326         (stateChanged): Only update the image and the track if
3327         the values are not being adjusted.
3328         (updateChooser): Grab the new mouse point from the
3329         spinner values. Update the image and track only if
3330         the values are not being adjusted.
3331         (getHSBValues): New method.
3332         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
3333         (SliderHandler::stateChanged): Changed internalChange
3334         to updateChange. Set sliderChange.
3335         (SpinnerHandler::stateChanged): Ditto. Set spinnerChange.
3336         (spinnerChange): New variable.
3337         (sliderChange): Ditto.
3338         (updateChange): Renamed from internalChange.
3339         (updateChooser): Do not update sliders if the sliders
3340         were the original source of the change. Ditto for spinners.
3341         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
3342         (mousePress): Don't scroll the JViewport if there will
3343         be extra space at the end of the run. Change layout() to
3344         revalidate().
3345         (calculateSize): Use the component's width/height unless
3346         it is smaller than the max tab width/height.
3347         (calculateTabRects): Subtract the tab run overlay.
3348         (rotateTabRuns): Don't rotate if there's only one run.
3349         (layoutContainer): Reuse the viewport point.
3350         (createLayoutManager): Set the viewport to use no layout.
3351         (paintTabArea): Don't paint the tabs that are not visible
3352         to the JViewport.
3353         (paintContentBorderTopEdge): Check for scroll tab layout before
3354         looking for gap.
3355         (paintContentBorderLeftEdge): Ditto.
3356         (paintContentBorderBottomEdge): Ditto.
3357         (paintContentBorderRightEdge): Ditto.
3358
3359 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3360
3361         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetSetFont):
3362         Rename ...
3363         (gtkWidgetModifyFont): New method.
3364         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
3365         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3366         (setMenuBarWidth): New method.
3367         (setBounds): Set the menu bar width.
3368         (postConfigureEvent): Set the menu bar width if the window's
3369         width has changed.
3370         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (GtkMenuBarPeer):
3371         Don't call create.
3372         (setFont): New method.
3373         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): New
3374         method.
3375         (setFont): Likewise.
3376         (GtkMenuComponentPeer): Call create and setFont.
3377         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3378         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3379         (connectSignals): Make package private.
3380         (gtkWidgetModifyFont): New method.
3381         (create): Likewise.
3382         (GtkMenuItemPeer): Don't call create.
3383         (setFont): New method.
3384         * java/awt/CheckboxMenuItem.java (addNotify): Fix peer == null
3385         condition.
3386         * java/awt/Container.java (validateTree): Fix comment typos.
3387         * java/awt/MenuComponent.java (getFont): Return parent's font if
3388         our font is null.
3389         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
3390         (create): Remove call to deprecated
3391         gtk_check_menu_item_set_show_toggle function.
3392
3393 2004-11-30  Hans Boehm <Hans.Boehm@hp.com>
3394
3395         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3396         (Almost everywhere): add LOG calls, fix, add comments.
3397         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3398         Add explicit check for LOCKED bit in slow case (PR 16662).
3399         (_Jv_MonitorExit): Add casts in debug-only code.
3400         Always release LOCKED bit before throwing exception.
3401         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3402         isn't.  Handle easy cases without lock acquisition.
3403         (Object::wait): Use NotifyAll for lock inflation.
3404
3405 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3406
3407         * gnu/java/awt/peer/gtk/GtkFramePeer.java,
3408         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3409         (gtkFixedMove): Remove method.
3410
3411 2004-11-30  Sven de Marothy  <sven@physto.se>
3412
3413         * java/awt/geom/Area.java: Implemented.
3414
3415 2004-11-30  Mark Wielaard  <mark@klomp.org>
3416
3417         * java/awt/geom/Arc2D.java (ArcIterator): Make package private.
3418
3419 2004-11-30 Sven de Marothy <sven@physto.se>
3420
3421         * java/awt/geom/Arc2D.java
3422         Reformatted.
3423         (setArc): Correct documentation to say 'upper left corner'.
3424         (setArcByTangent,contains,intersects): Implemented.
3425         (containsAngle): Corrected to handle negative extents.
3426         (ArcIterator): Set to private.
3427         (ArcIterator): Corrected for CHORD-type arcs, negative extents.
3428         * java/awt/geom/Ellipse2D.java
3429         Documented.
3430         (contains,intersects): Implemented.
3431         * java/awt/geom/Line2D.java
3432         (linesIntersect): Correct handling of special cases.
3433
3434 2004-11-30  Mark Wielaard  <mark@klomp.org>
3435
3436         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Use
3437         Color.BLACK if c == null, don't create new Color object each time.
3438         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (comp): New private
3439         field.
3440         (setColor): Use Color.BLACK when argument null.
3441         (setComposite): Set this.comp field.
3442         (getComposite): Return this.comp, or AlphaComposite.SrcOver when null.
3443         (DrawState.comp): New private field.
3444         (DrawState.save): Save Composite.
3445         (DrawState.restore): Restore comp field.
3446         * java/awt/FontMetrics.java (gRC): New static final private field.
3447         (getLineMetrics(String, Graphics)): New method.
3448         (getLineMetrics(String, int, int, Graphics)): Likewise.
3449         (getLineMetrics(char[], int, int, Graphics)): Likewise.
3450         (getLineMetrics(CharacterIterator, int, int, Graphics)): Likewise.
3451         * javax/swing/JMenu.java (JMenu(String, boolean)): Ignore tearoff
3452         argument. PR SWING/17294.
3453         * javax/swing/plaf/basic/BasicGraphicsUtils.java (): Always use
3454         the fall-back code since none of the TextArea methods are really
3455         implemented now. PR SWING/17296.
3456         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
3457         (GdkGlyphVector_setChars): Replace assert() with if block when
3458         pango_itemize() returns null. PR AWT/17295.
3459         (GdkGlyphVector_allInkExtents): Likewise when vec->glyphitems is null.
3460
3461 2004-11-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3462
3463         * Makefile.am (gtk_c_source_files): Add
3464         gnu_java_awt_peer_gtk_GtkFramePeer.c.
3465         * Makefile.in: Regenerate.
3466         * gnu/java/awt/peer/gtk/GdkGraphics.java (getClipBounds): Remove
3467         comment.
3468         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3469         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3470         (create): Pack GtkButton in GtkEventBox.
3471         (connectJObject): Remove.
3472         (focus_in_cb): New function.
3473         (focus_out_cb): Likewise.
3474         (connectSignals): Connect focus-in-event and focus-out-event
3475         signals.
3476         (gtkSetFont): Rename to ...
3477         (gtkWidgetModifyFont): New method.
3478         (gtkWidgetRequestFocus): New method.
3479         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
3480         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
3481         (gtkSetFont): Rename to ...
3482         (gtkWidgetModifyFont): New method.
3483         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3484         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3485         (isInRepaint): New field.
3486         (gtkSetFont): Remove method.
3487         (addExposeFilter): Likewise.
3488         (removeExposeFilter): Likewise.
3489         (gtkWidgetQueueDrawArea): Rename to ...
3490         (gtkWidgetRepaintArea): New method.
3491         (beginNativeRepaint): New method.
3492         (endNativeRepaint): New method.
3493         (setComponentBounds): Move implementation here from
3494         GtkComponentPeer.
3495         (paint): Remove implementation.
3496         (repaint): Wrap call to gtkWidgetRepaintArea with calls to
3497         beginNativeRepaint and endNativeRepaint.
3498         (setBounds): Use menu bar height in bounds calculation.
3499         (postExposeEvent): Only post paint event if we're not doing a
3500         native repaint.
3501         (gtkWidgetSetParent): Replace gtk_layout_put with gtk_fixed_put.
3502         (setNativeBounds): Replace gtk_layout_move with gtk_fixed_move.
3503         (find_gtk_layout): Remove function.
3504         (filter_expose_event_handler): Likewise.
3505         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (postExposeEvent):
3506         Likewise.
3507         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3508         (setComponentBounds): Call GtkComponentPeer's
3509         setComponentBounds.
3510         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight):
3511         New method.
3512         (moveLayout): Rename to ...
3513         (gtkFixedMove): New method.
3514         (gtkLayoutSetVisible): Rename to ...
3515         (gtkFixedSetVisible): New method.
3516         (setMenuBar): Rearrange, to make the three separate cases
3517         clearer.
3518         (postExposeEvent): Only post paint event if we're not doing a
3519         native repaint.
3520         * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
3521         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
3522         (gtkWidgetModifyFont): New method.
3523         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3524         (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,Color)):
3525         Call run directly, rather than spawning a new thread.
3526         (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,int,int,int,int,Color)):
3527         Likewise.
3528         * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3529         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (gtkSetFont):
3530         Rename to ...
3531         (gtkWidgetModifyFont): New method.
3532         (create): Rename ebox to eventbox.
3533         * gnu/java/awt/peer/gtk/GtkListPeer.java,
3534         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
3535         Rename to ...
3536         (gtkWidgetModifyFont): New method.
3537         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
3538         (GtkMenuComponentPeer): Set the default font.
3539         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3540         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3541         (gtkSetFont): Rename to ...
3542         (gtkWidgetModifyFont): New method.
3543         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3544         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3545         * java/awt/Component.java (locale): Initialize to default
3546         locale.
3547         * java/awt/Container.java (invalidateTree): Make
3548         package-private.
3549         (paint): Paint self first.
3550         (setMenuBar): Call invalidateTree.
3551         * java/awt/Panel.java (dispatchEventImpl): Remove method.
3552         * java/awt/Window.java (show): Call no-parameter variant of
3553         requestFocusInWindow.
3554         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (initState):
3555         Remove special case for window widget.
3556         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
3557         (grab_current_drawable): Likewise.
3558         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
3559         (create): Replace GtkLayout with GtkFixed.
3560         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3561         (pre_event_handler): Remove special cases for GDK_EXPOSE events.
3562         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: New file.
3563         Move all GtkFramePeer native method implementations here from
3564         gnu_java_awt_peer_gtk_GtkWindowPeer.c.
3565         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3566         Replace GtkLayout with GtkFixed.
3567         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3568         (find_layout): Remove function.
3569         (create): Replace GtkLayout with GtkFixed.
3570         (connectSignals): Remove find_layout call.
3571         (toBack): Replace XFlush with gdk_flush.
3572         (toFront): Replace XFlush with gdk_flush.
3573         Move GtkFramePeer native method implementations to
3574         gnu_java_awt_peer_gtk_GtkFramePeer.c.
3575         * jni/gtk-peer/gtkpeer.h: Remove declaration of find_gtk_layout.
3576
3577 2004-11-30  Michael Koch  <konqueror@gmx.de>
3578
3579         * javax/swing/JTextArea.java
3580         (lineWrap): Renamed from "wrapping".
3581         (wrapStyleWord): NEw field.
3582         (getLineWrap): Re-edited javadoc comment.
3583         (setLineWrap): Likewise.
3584         (getWrapStyleWord): New method.
3585         (setWrapStyleWord): Likewise.
3586
3587 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
3588
3589         * configure: Regenerate for libtool change.
3590
3591 2004-11-29  Tom Tromey  <tromey@redhat.com>
3592
3593         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
3594         Recognize --help and --version.
3595         (usage): Mention gcj-dbtool.  Added "out" argument.
3596         (insist): Updated.
3597
3598 2004-11-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
3599
3600         * link.cc (link_symbol_table): Do not use intptr_t.
3601
3602 2004-11-28  Mark Wielaard  <mark@klomp.org>
3603
3604         * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
3605         XMLDecoder tests which currently don't compile.
3606
3607 2004-11-27  Andrew Haley  <aph@redhat.com>
3608
3609         * link.cc (ensure_class_linked): Conditionally compile
3610         _Jv_IsInterpretedClass on INTERPRETER.
3611         (print_class_loaded): Likewise.
3612         (wait_for_state): Likewise.
3613         * include/jvm.h (ROUND): Move to here from include/java-interp.h.
3614         * include/java-interp.h (ROUND): Remove.
3615
3616 2004-11-25  Tom Tromey  <tromey@redhat.com>
3617
3618         * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
3619         * java/lang/Class.h (_Jv_Linker): Declare.
3620         (Class): Fix names of friends.
3621         (_Jv_getInterfaceMethod): Declare.
3622
3623 2004-11-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3624
3625         * testsuite/lib/libjava.exp (libjava_arguments): Add new global
3626         variable libjava_ld_library_path.
3627         (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
3628
3629 2004-11-25  Bryce McKinlay  <mckinlay@redhat.com>
3630
3631         * java/util/ResourceBundle.java (BundleKey): Don't implement
3632         Cloneable.
3633         (BundleKey.clone): Removed.
3634         (getBundle): Copy BundleKey using constructor, not clone().
3635
3636 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
3637
3638         * configure: Regenerate for libtool reversion.
3639
3640 2004-11-25  Michael Koch  <konqueror@gmx.de>
3641
3642         * Makefile.am: Added most of javax.print again.
3643         * Makefile.in: Regenerated.
3644
3645 2004-11-25  Michael Koch  <konqueror@gmx.de>
3646
3647         * Makefile.am: Added most of javax.print again.
3648         * Makefile.in: Regenerated.
3649
3650 2004-11-24  Tom Tromey  <tromey@redhat.com>
3651
3652         * Merged gcj-abi-2-dev-branch to trunk.
3653
3654 2004-11-16  Tom Tromey  <tromey@redhat.com>
3655
3656         * include/java-interp.h (_Jv_DefineClass): Updated.
3657         * java/lang/natVMClassLoader.cc (defineClass): Pass protection
3658         domain to class reader.
3659         * defineclass.cc (parse): Use print_class_loaded.
3660         Include ProtectionDomain.h.
3661         (_Jv_DefineClass): Added ProtectionDomain argument.
3662         (_Jv_ClassReader): Likewise.
3663         * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
3664         * link.cc: Include CodeSource.h.
3665         (print_class_loaded): New function.
3666         (wait_for_state): Use it.
3667
3668 2004-11-16  Andrew Haley  <aph@redhat.com>
3669
3670         * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
3671
3672 2004-11-16  Andrew Haley  <aph@redhat.com>
3673
3674         * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
3675         * configure.host: Define libgcj_ld_symbolic for Linux hosts.
3676         * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
3677         * configure: Regenerate.
3678         * Makefile.in: Regenerate.
3679
3680 2004-11-15  Andrew Haley  <aph@redhat.com>
3681
3682         * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
3683         gc-allocated object.
3684
3685 2004-11-15  Andrew Haley  <aph@redhat.com>
3686
3687         * java/net/URLClassLoader.java
3688         (URLLoader.getClassPath): New method.
3689         (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
3690         attribute and add URLs for each entry.
3691         (JarURLLoader.classPath): New field.
3692         (JarURLLoader.getClassPath): New method.
3693         (addURLImpl): Scan through the list of extraUrls in the new
3694         loader, adding them to our urlinfos.
3695         (definePackage, findURLResource, findResources): Use
3696         urlinfos.size(), not urls.size().
3697
3698 2004-11-11  Tom Tromey  <tromey@redhat.com>
3699
3700         * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
3701         method.
3702         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
3703         linked.
3704         (ensureSupersLinked): Declare.
3705         * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
3706         linked.
3707
3708 2004-11-10  Tom Tromey  <tromey@redhat.com>
3709
3710         * gij.cc (main): Treat -verbose the same as -verbose:class.
3711         (help): Document -verbose and -verbose:class.
3712
3713         * link.cc (verbose_class_flag): Declare.
3714         (wait_for_state): Print message when handling precompiled class.
3715         * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
3716
3717 2004-11-09  Tom Tromey  <tromey@redhat.com>
3718
3719         * testsuite/libjava.lang/assign2.out: New file.
3720         * testsuite/libjava.lang/assign2.java: New file.
3721
3722         * java/lang/natRuntime.cc (insertSystemProperties): Set
3723         java.version to 1.4.2 and java.specification.version to 1.4.  Set
3724         java.runtime.version.
3725
3726 2004-11-08  Tom Tromey  <tromey@redhat.com>
3727
3728         * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
3729         supers installed.
3730         * link.cc (verify_type_assertions): Don't link supers.
3731
3732         * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
3733         * include/java-interp.h (class _Jv_InterpClass)
3734         <_Jv_PrepareMissingMethods>: No longer `friend'.
3735         * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
3736         `friend'.
3737         (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
3738         _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
3739         _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
3740         _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
3741         _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
3742         * link.cc (search_method_in_class): Renamed from
3743         _Jv_SearchMethodInClass.
3744         (resolve_pool_entry): Updated.
3745
3746         * include/jvm.h (_Jv_CheckAssignment): Removed.
3747         * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
3748
3749 2004-11-05  Tom Tromey  <tromey@redhat.com>
3750
3751         * link.cc (verify_type_assertions): Ensure classes have supers
3752         linked.  Strip off array types first.
3753
3754 2004-11-05  Bryce McKinlay  <mckinlay@redhat.com>
3755
3756         * link.cc: Include VerifyError.h.
3757         (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
3758         in the type assertion table.
3759         * include/execution.h (_Jv_CompiledEngine::do_verify): Use
3760         verify_type_assertions.
3761         * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
3762         * java/lang/Class.h (JV_ASSERT_END_OF_TABLE,
3763         JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
3764         assertion code values.
3765         (struct _Jv_TypeAssertion): Declare.
3766         (assertion_table): New class field.
3767         (verify): Remove class field.
3768
3769 2004-11-05  Andrew Haley  <aph@redhat.com>
3770
3771         * Makefile.am: Move jv_dbtool.java to
3772         gnu/gcj/tools/gcj_dbtool/Main.java.
3773         * Makefile.in: Rebuild.
3774         * java/lang/VMCompiler.java: Rename property
3775         "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
3776         * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
3777         jv_dbtool.java.
3778
3779 2004-11-05  Andrew Haley  <aph@redhat.com>
3780
3781         * jv_dbtool.java (main): Allow the user to specify the size of the
3782         database.  Display the capacity and the size.
3783         (usage): Show the new option.
3784
3785 2004-11-04  Tom Tromey  <tromey@redhat.com>
3786
3787         * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
3788         * link.cc (make_vtable): Use correct index when searching for
3789         missing method's name.  Don't use `flags'.
3790         (set_vtable_entries): Removed `flags' argument.  Don't recurse
3791         into superclasses.
3792         (link_symbol_table): Ensure target class method table is
3793         complete.  Ensure target fields are laid out before entering
3794         loop.
3795
3796         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
3797         fix.
3798
3799         * interpret.cc (do_verify): Don't verify abstract methods.
3800
3801 2004-11-01  Tom Tromey  <tromey@redhat.com>
3802
3803         * link.cc (wait_for_state): Call verify_class.
3804
3805         * verify.cc (state::check_no_uninitialized_objects): Removed.
3806         (push_jump): Updated.
3807         (push_exception_jump): Likewise.
3808         (handle_ret_insn): Likewise.
3809         (handle_jsr_insn): Likewise.
3810
3811 2004-10-28  Andrew Haley  <aph@redhat.com>
3812
3813         * gnu/gcj/runtime/PersistentByteMap.java: New file.
3814         * jv_dbtool.java: New file.
3815         * Makefile.am (bin_PROGRAMS): Add jv-dbtool
3816         (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
3817         (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
3818         * Makefile.in: Regenerate,
3819         * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
3820         Enumeration, StringTokenizer, Vector, PersistentByteMap.
3821         (precompiledMapFiles): New variable.
3822         (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
3823         initialize precompiledMapFiles.
3824         (compileClass): Look at the database of precompiled class files
3825         before firing up gcj.
3826
3827         * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
3828
3829 2004-10-27  Andrew Haley  <aph@redhat.com>
3830
3831         * java/lang/VMCompiler.java (compileClass): try looking for
3832         precompiledMapFiles.
3833         * gnu/gcj/runtime/PersistentByteMap.java: New file.
3834
3835 2004-10-27  Tom Tromey  <tromey@redhat.com>
3836
3837         * link.cc (ensure_class_linked): Only resolve classes for
3838         compiled classes.
3839         (add_miranda_methods): Ensure interface supers are installed.
3840         (resolve_pool_entry): Better error message.
3841
3842 2004-10-25  Tom Tromey  <tromey@redhat.com>
3843
3844         * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
3845
3846         * java/util/ResourceBundle.java (tryBundle): Use
3847         Class.isAssignableFrom rather than catching ClassCastException.
3848
3849         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
3850         exception if we hit EOF of `in'.
3851         (read): Handle case where inflating returns -1.
3852
3853         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
3854         initialize `iter'.
3855         * gnu/java/text/SentenceBreakIterator.java
3856         (SentenceBreakIterator): Don't initialize `iter'.
3857         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
3858         initialize `iter'.
3859         * gnu/java/text/CharacterBreakIterator.java
3860         (CharacterBreakIterator): Don't initialize `iter'.
3861         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
3862         constructor.
3863         * java/text/BreakIterator.java: Updated documentation.
3864
3865 2004-10-20  Tom Tromey  <tromey@redhat.com>
3866
3867         * java/util/ResourceBundle.java (tryBundle): Also ignore
3868         ClassCastException.
3869
3870 2004-10-18  Tom Tromey  <tromey@redhat.com>
3871
3872         * interpret.cc (do_post_miranda_hook): New method.
3873         * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
3874         New field.
3875         (_Jv_CompiledEngine::do_post_miranda_hook): New method.
3876         (_Jv_CompiledEngine): Initialize new field.
3877         (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
3878         (_Jv_InterpreterEngine): Initialize new field.
3879         * link.cc (resolve_pool_entry): Put Miranda methods in target
3880         class.
3881         (ensure_method_table_complete): Call post_miranda_hook.
3882         * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
3883         aux_info.
3884         * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
3885         (parse): Set class' aux_info here.
3886
3887         * boehm.cc (_Jv_MarkObj): Mark `throws'.
3888
3889         * boehm.cc: Re-merged with trunk.
3890
3891 2004-10-18  Andrew Haley  <aph@redhat.com>
3892
3893         PR java/18036:
3894         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
3895         and correct logic used to find interpreter.
3896
3897 2004-10-13  Andrew Haley  <aph@redhat.com>
3898
3899         * interpret.cc (_Jv_InterpMethod::run): Initialize
3900         _Jv_StartOfInterpreter.
3901         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
3902         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
3903         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
3904         _Unwind_FindEnclosingFunction to discover whether PC is within the
3905         interpreter.
3906
3907 2004-10-13  Tom Tromey  <tromey@redhat.com>
3908
3909         * link.cc (find_iindex): Copy correct number of slots to new
3910         ioffsets.
3911
3912 2004-10-12  Tom Tromey  <tromey@redhat.com>
3913
3914         * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
3915         proc.
3916         (gcj_loader_test_one): Use it.
3917         (gcj_loader_run): Likewise.
3918
3919         * prims.cc: Don't include FirstThread.h.
3920
3921 2004-10-06  Tom Tromey  <tromey@redhat.com>
3922
3923         * link.cc (ensure_method_table_complete): Ensure superclass
3924         Miranda methods installed.
3925
3926         * include/java-interp.h (class _Jv_JNIMethod): Added
3927         JV_MARKOBJ_DECL as a friend.
3928         * interpret.cc (ncode): Allocate jni_arg_types field with GC.
3929         * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
3930         interpreter method structures.  Mark jni_arg_types of JNI
3931         methods.
3932
3933         * defineclass.cc (parse): Use JV_STATE_READ.
3934         * java/lang/Class.h (JV_STATE_READ): New enum value.
3935
3936 2004-10-05  Tom Tromey  <tromey@redhat.com>
3937
3938         * link.cc (resolve_pool_entry): Add signature info to missing
3939         method's information.
3940
3941         * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
3942         * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
3943
3944 2004-10-04  Tom Tromey  <tromey@redhat.com>
3945
3946         * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
3947         marking IDT.
3948
3949 2004-09-29  Tom Tromey  <tromey@redhat.com>
3950
3951         * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
3952         resolve.cc.
3953         * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
3954         * jni.cc: Use _Jv_Linker.
3955         * interpret.cc: Use _Jv_Linker.
3956         * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
3957         * java/lang/natClassLoader.cc: Use _Jv_Linker.
3958         * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
3959         * java/lang/Class.h: Use _Jv_Linker.
3960         * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
3961         * resolve.cc: Renamed ...
3962         * link.cc: ... here.  Use _Jv_Linker.
3963         * defineclass.cc (checkExtends): Use _Jv_Linker.
3964
3965 2004-09-17  Tom Tromey  <tromey@redhat.com>
3966
3967         * defineclass.cc (handleCodeAttribute): Don't reference
3968         `deferred'.
3969         (handleMethodsEnd): Likewise.
3970         * include/java-interp.h (_Jv_MethodBase::deferred): Removed
3971         field.
3972         (_Jv_Defer_Resolution): Don't declare or define.
3973         * interpret.cc (do_create_ncode): Don't resolve deferred method
3974         pointers.
3975         * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
3976         * resolve.cc (link_symbol_table): No need to defer resolution.
3977
3978 2004-09-14  Tom Tromey  <tromey@redhat.com>
3979
3980         * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
3981         (_Jv_MarkObj): Updated.
3982         (_Jv_MarkArray): Likewise.
3983
3984         * include/jvm.h (StringClass): Removed.
3985         * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
3986         * interpret.cc (_Jv_InitField): Don't use StringClass.
3987         * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
3988         StringClass.
3989         (rehash): Likewise
3990         (intern): Likewise.
3991         (_Jv_FinalizeString): Likewise.
3992         (_Jv_NewStringUtf8Const): Likewise.
3993         (equals): Likewise.
3994         * prims.cc (JvConvertArgv): Don't use StringClass.
3995
3996         * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
3997         * resolve.cc (ensure_fields_laid_out): Don't mention
3998         COMPACT_FIELDS.
3999         * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
4000         * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
4001
4002         * java/lang/reflect/natField.cc (getType): Use resolve_field.
4003         * java/lang/natVMClassLoader.cc (resolveClass): New native
4004         implementation.
4005         (linkClass0): Removed.
4006         (markClassErrorState0): Likewise.
4007         * java/lang/natClassLoader.cc: Include execution.h.  Moved class
4008         preparation code to resolve.cc.
4009         (_Jv_RegisterClassHookDefault): Set class's execution engine if
4010         not already set.
4011         (_Jv_FindClass): Use wait_for_state.
4012         (_Jv_NewArrayClass): Likewise.  Simplified permissions setting.
4013         * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
4014         Moved interface table and class preparation code to resolve.cc.
4015         (finalize): Rewrote.
4016         (initializeClass): Simplified locking and class preparation.
4017         * java/lang/VMClassLoader.java (linkClass0): Removed.
4018         (markClassErrorState0): Likewise.
4019         (resolveClass): Now native.
4020         (transformException): New method.
4021         * java/lang/Class.h (getSuperclass): Don't try to resolve super
4022         reference.
4023         (getInterface): Likewise.
4024         (size): Likewise.
4025         (set_state): New method.
4026         (Class): Updated friend declarations.
4027         (verify): Field now private.
4028         (engine): New field.
4029         * include/jvm.h (class _Jv_Resolver): New class declaration.
4030         (_Jv_ResolveField): Removed declaration.
4031         (_Jv_CheckAccessNoInit): Likewise.
4032         (_Jv_isBinaryCompatible): Removed.
4033         * include/java-interp.h (class _Jv_MethodBase): Updated friend
4034         declarations.
4035         (class _Jv_InterpMethod): Likewise.
4036         (class _Jv_InterpClass): Likewise.
4037         (class _Jv_JNIMethod): Likewise.
4038         * include/execution.h: New file.
4039         * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
4040         (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
4041         Register class after setting fields.
4042         * resolve.cc: Include execution.h, VerifyError.h.  Moved
4043         interpreter-specific code to interpret.cc.
4044         (uaddr): New location.
4045         (struct aligner): Likewise.
4046         (ALIGNOF): Likewise.
4047         (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
4048         (INITIAL_IFACES_LEN): Likewise.
4049         (null_idt): Likewise.
4050         (_Jv_GetMethodString): Likewise.
4051         (_Jv_ThrowNoSuchMethodError): Likewise.
4052         (_Jv_abstractMethodError): Likewise.
4053         (_Jv_Resolver::get_alignment_from_class): Renamed.
4054         (_Jv_Resolver::resolve_field): Likewise.
4055         (_Jv_Resolver::resolve_pool_entry): Likewise.
4056         (_Jv_Resolver::resolve_class_ref): Likewise.
4057         (_Jv_Resolver::prepare_constant_time_tables): Likewise.
4058         (_Jv_Resolver::indexof): Likewise.
4059         (_Jv_Resolver::get_interfaces): Likewise.
4060         (_Jv_Resolver::generate_itable): Likewise.
4061         (_Jv_Resolver::append_partial_itable): Likewise.
4062         (_Jv_Resolver::find_iindex): Likewise.
4063         (_Jv_Resolver::link_symbol_table): Likewise.
4064         (_Jv_Resolver::link_exception_table): Likewise.
4065         (_Jv_Resolver::layout_interface_methods): Likewise.
4066         (_Jv_Resolver::layout_vtable_methods): Likewise.
4067         (_Jv_Resolver::set_vtable_entries): Likewise.
4068         (_Jv_Resolver::make_vtable): Likewise.
4069         (_Jv_Resolver::ensure_fields_laid_out): Likewise.
4070         (_Jv_Resolver::ensure_class_linked): Likewise.
4071         (_Jv_Resolver::ensure_supers_installed): Likewise.
4072         (_Jv_Resolver::add_miranda_methods): Likewise.
4073         (_Jv_Resolver::ensure_method_table_complete): Likewise.
4074         (_Jv_Resolver::verify_class): Likewise.
4075         (_Jv_Resolver::wait_for_state): Likewise.
4076         * prims.cc (_Jv_soleCompiledEngine): New global.
4077         (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
4078         (_Jv_CheckAccessNoInit): Removed.
4079         * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
4080         * interpret.cc: Include platform.h, ClassFormatError.h,
4081         Modifier.h, execution.h.
4082         (_Jv_soleInterpreterEngine): New global.
4083         (compile): Use resolve_pool_entry.
4084         (run): Likewise.
4085         (_Jv_InitField): New location.
4086         (skip_one_type): Likewise.
4087         (get_ffi_type_from_signature): Likewise.
4088         (_Jv_count_arguments): Likewise.
4089         (init_cif): Likewise.
4090         (ncode_closure): Likewise.
4091         (ffi_closure_fun): Likewise.
4092         (ncode): Likewise.
4093         (throw_class_format_error): Likewise.
4094         (throw_class_format_error): Likewise.
4095         (_Jv_InterpreterEngine::do_verify): New method.
4096         (_Jv_InterpreterEngine::do_create_ncode): Likewise.
4097         (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
4098         (_Jv_InterpreterEngine::do_resolve_method): Likewise.
4099         * defineclass.cc: Include execution.h.
4100         (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
4101         engine.
4102         (checkExtends): Ensure superclass has supers installed.
4103         (_Jv_ClassNameSamePackage): Clarify usage constraints.
4104         * boehm.cc (GC_enable, GC_disable): Declare at top of file.
4105         (_Jv_MarkObj): Unconditionally mark vtable.  Mark interface
4106         dispatch tables.
4107
4108 2004-09-13  Tom Tromey  <tromey@redhat.com>
4109
4110         * mauve-libgcj: List some classes we don't have.
4111
4112 2004-09-10  Andrew Haley  <aph@redhat.com>
4113
4114         * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
4115         * java/lang/natClass.cc (initializeClass): Check itable.
4116         (_Jv_getInterfaceMethod): New.
4117         (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
4118         Check that an interface method isn't called with invokevirtual.
4119
4120         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
4121         super_meth is virtual.
4122
4123 2004-09-01  Tom Tromey  <tromey@redhat.com>
4124
4125         * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
4126         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
4127         _Jv_CheckAccessNoInit.
4128         * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
4129         * prims.cc (_Jv_CheckAccessNoInit): New method.
4130
4131         * java/lang/reflect/natMethod.cc (invoke): Check access against
4132         declaring class, not object's class.
4133         * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
4134         argument.
4135         (_Jv_LayoutVTableMethods): Perform checks of accessibility of
4136         overridden method.
4137         * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
4138         argument.
4139
4140 2004-08-30  Andrew Haley  <aph@redhat.com>
4141
4142         * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
4143         ClassNotFoundException.
4144         Throw NoClassDefFoundError.
4145
4146         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
4147         to klass->verify() from here ...
4148         (_Jv_PrepareCompiledClass): ...and put it here.
4149
4150 2004-08-27  Andrew Haley  <aph@redhat.com>
4151
4152         * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
4153         klass->verify().
4154         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
4155         (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
4156
4157 2004-08-27  Tom Tromey  <tromey@redhat.com>
4158
4159         * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
4160         friend.
4161         * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
4162         (_Jv_IsAssignableFromSlow): New function.
4163         Include VerifyError.h.
4164         * include/jvm.h (_Jv_CheckAssignment): Declare.
4165
4166 2004-08-18  Andrew Haley  <aph@redhat.com>
4167
4168         * java/lang/VMCompiler.java (loadSharedLibrary): Add className
4169         argument.  Pass it to findClass instead of fileName.
4170         (compileClass): Pass class name to loadSharedLibrary.
4171
4172 2004-06-22  Andrew Haley  <aph@redhat.com>
4173
4174         * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
4175
4176 2004-06-15  Andrew Haley  <aph@redhat.com>
4177
4178         * java/lang/natSystem.cc (getenv0): Don't assume environment
4179         variable is Latin 1 coded.
4180
4181 2004-06-07  Andrew Haley  <aph@redhat.com>
4182
4183         * java/lang/System.java: (getenv0): New method.
4184         (getenv): Add security check.  Do the right thing.
4185         * java/lang/natSystem.cc (getenv0): New method.
4186
4187 2004-04-19    Andrew Haley  <aph@redhat.com>
4188
4189         * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
4190         we destroy.
4191
4192         * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
4193         is returned as an int in the range 0 to 255.
4194
4195 2004-08-13  Tom Tromey  <tromey@redhat.com>
4196
4197         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
4198         class if it is interpreted.
4199
4200 2004-08-12  Tom Tromey  <tromey@redhat.com>
4201
4202         * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
4203         * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
4204         (Class::getSuperclass): Updated.
4205         (Class::getInterfaces): Likewise.
4206         (Class::size): Updated.
4207         (_Jv_LayoutClass): Updated declaration.
4208         * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
4209         Synchronize on class.
4210         (_Jv_LayoutClass): Changed interface.
4211         (initializeClass): Updated.
4212         (_Jv_LinkSymbolTable): Likewise.
4213
4214         * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
4215         friend.
4216         * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
4217         _Jv_isBinaryCompatible.
4218         * java/lang/natClass.cc (initializeClass): Use
4219         _Jv_isBinaryCompatible.
4220         (_Jv_LinkSymbolTable): Likewise.
4221         * include/jvm.h (_Jv_isBinaryCompatible): New function.
4222
4223 2004-08-11  Tom Tromey  <tromey@redhat.com>
4224
4225         * gcj/javaprims.h: Regenerated.
4226         * java/lang/natClassLoader.cc (getClassLoader0): Removed.
4227         (_registerClass): Likewise.
4228         * Makefile.in: Rebuilt.
4229         * Makefile.am (core_java_source_files): Added VMCompiler.
4230         * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
4231         * java/lang/VMCompiler.java: New file.
4232         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
4233         `verbose' code.
4234         (copyFile): Don't use fully-qualified name.
4235         (h): Removed.
4236         * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
4237         (defineClass): Use VMCompiler.
4238         * java/lang/ClassLoader.java (defineClass): Removed jit
4239         compilation code and `verbose' code.
4240         (getClassLoader0): Removed.
4241         (_registerClass): Likewise.
4242         (SharedLibHelpers): Removed.
4243
4244 2004-08-10  Tom Tromey  <tromey@redhat.com>
4245
4246         * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
4247         URL)): New constructor.
4248         (SoURLLoader): Likewise.
4249         (JarURLLoader): Create SoURLLoader with override URL.
4250
4251 2004-08-10  Mark Wielaard  <mark@klomp.org>
4252
4253         * Makefile.in: Rebuilt.
4254         * Makefile.am (interpret.lo): New rule.
4255
4256 2004-08-05  Andrew Haley  <aph@redhat.com>
4257
4258         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
4259         aside for "GCJLIBS" in directory where jarfiles are loaded.
4260         (JarURLLoader.getClass): New method.
4261         (JarURLLoader.toString):  New method.
4262         (FileResource.toString):  New method.
4263         * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
4264         Remove "Duplicate class registration: " bug.
4265         (_registerClass): New method.
4266         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
4267         (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
4268         Add debugging.
4269         (_Jv_LayoutClass): Use getSuperclass() rather than directly
4270         accessing the field.
4271         * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
4272         (defineClass): Call gcj to JIT-compile a class.
4273         (_registerClass): New method.
4274         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
4275         library name can refer to more than one loaded library, so use a
4276         Set of SharedLibHelpers.
4277         If a shared library is already loaded, take a copy.
4278         (copyFile): New function.
4279
4280         * testsuite/libjava.compile/compile.exp: Force
4281         -findirect-dispatch.
4282
4283         * java/security/BasicPermission.java: Remove bogus checks.
4284
4285         * java/lang/System.java (getenv0): New method.
4286         * java/lang/natSystem.cc (getenv0): New method.
4287
4288 2004-05-24  Andrew Haley  <aph@redhat.com>
4289
4290         * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
4291
4292 2004-04-20  Bryce McKinlay  <mckinlay@redhat.com>
4293
4294         * Merged with HEAD as of 20040514. Diff against
4295         gcj-abi-2-merge-20040514.
4296
4297 2004-04-16  Andrew Haley  <aph@redhat.com>
4298
4299         * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
4300         _Jv_LayoutClass.
4301         (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
4302         (_Jv_PrepareCompiledClass): If we throw an exception during
4303         preparation, restore state.
4304         (ClassLoader::getClassLoader0): New method.
4305
4306         * java/lang/natClass.cc (get_alignment_from_class): Moved here
4307         from resolve.cc.
4308         (ALIGNOF): Use offsetof, not __alignof__.
4309         (_Jv_ResolveClassRef): Resolve a reference to a class in a
4310         constant pool.
4311         (getInterfaces): Emit debug output if interface hasn't been
4312         resolved.
4313         (initializeClass): Call _Jv_LayoutClass.
4314         (_Jv_LinkSymbolTable): Add debugging output.
4315         (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
4316         found.
4317         (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
4318         (_Jv_LinkSymbolTable): Pass the real class loader to
4319         _Jv_FindClass.
4320         (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
4321         exception class.
4322         (_Jv_LinkSymbolTable): Assert if we find a static field reference
4323         to an interpreted class.
4324         (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
4325         superclass.
4326         (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
4327         resolve.cc.
4328
4329         * java/lang/VMSecurityManager.java: Check for the system class
4330         loader as well as loader != null.
4331
4332         * java/lang/SecurityManager.java (checkPermission): Remove
4333         security check.
4334         (checkRead): Likewise.
4335         (checkConnect): Likewise.
4336
4337         * java/lang/ClassLoader.java (loadClass): Include all class
4338         loaders in stack trace string.
4339         Look for class in "gcjlib.so" in the same directory.
4340         (getSystemClassLoader) Use getClassLoader0.
4341         (getClassLoader0): New native method.
4342
4343         * java/lang/Class.h (getSuperclass): New method.
4344         (getInterface): New method.
4345         (size): Lay out class if needed.
4346         (firstMethodIndex): New method.
4347         (Jv_ResolveClassRef): New declaration.
4348         (_Jv_LinkSymbolTable): New declaration.
4349
4350         * java/io/ObjectOutputStream.java: Add DEBUG statements
4351         everywhere.
4352         (dumpElementln): New method.
4353         (depth): New field.
4354         * java/io/ObjectInputStream.java (MyIOException): new, for
4355         debugging.
4356         Everywhere: use MyIOException rather than IOException.
4357         Indent debugging output to make nesting visible.
4358         (currentClassLoader): Make native
4359         (callersClassLoader): New field.
4360         (depth): New field.
4361         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4362         method.
4363
4364         (readObject): ENDBLOCKDATA is generated if the class has a write
4365         method, not if it has a read method.
4366
4367         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
4368
4369         * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
4370         getContextClassLoader form the current thread after our own class
4371         loader.
4372
4373         * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
4374         debugging.
4375         (toString): New method.
4376
4377         * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
4378         interfaces array.
4379
4380         * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
4381         a constant pool entry, resolve it now.
4382         (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
4383         in natClass.cc.
4384         Move get_alignment_from_class to natClass.cc.
4385
4386         * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
4387         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
4388
4389         * defineclass.cc (checkExtends): Don't access superclass field
4390         directly.
4391
4392         * Makefile.in: regenerate.
4393
4394         * gnu/gcj/util/natDebug.cc: New
4395         * gnu/gcj/util/Debug.java: New.
4396
4397         * Makefile.am (java/io/ObjectInputStream.lo): Use
4398         -fno-optimize-sibling-calls.
4399
4400         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
4401         _Jv_LookupInterfaceMethodIdx to calculate the address of a method
4402         in an interface.
4403         * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
4404
4405 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
4406
4407         * configure: Regenerate for libtool change.
4408
4409 2004-11-24  Michael Koch  <konqueror@gmx.de>
4410
4411         * gnu/java/security/PolicyFile.java: New file.
4412         * Makefile.am: Added gnu/java/security/PolicyFile.java.
4413         * Makefile.in: Regenerated.
4414
4415 2004-11-24  Michael Koch  <konqueror@gmx.de>
4416
4417         * java/lang/Character.java, scripts/unicode-blocks.pl:
4418         Reorder "final static" to "static final".
4419
4420 2004-11-24  Michael Koch  <konqueror@gmx.de>
4421
4422         * java/util/ResourceBundle.java: Reformatted.
4423         (tryBundle): Fixed javadoc.
4424
4425 2004-11-24  Jeroen Frijters  <jeroen@frijters.net>
4426
4427         * java/text/MessageFormat.java
4428         (formatInternal): Made private.
4429
4430 2004-11-24  Michael Koch  <konqueror@gmx.de>
4431
4432         * java/nio/DirectByteBufferImpl.java
4433         (ReadWrite.ReadWrite): New constructor.
4434         (DirectByteBufferImpl): Likewise.
4435         * jni.cc (_Jv_JNI_NewDirectByteBuffer):
4436         Use DirectByteBufferImpl.ReadWrite.
4437         * Makefile.am:
4438         Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
4439         * Makefile.in: Rgenerated.
4440
4441 2004-11-24  Jeroen Frijters  <address@bogus.example.com>
4442
4443         * java/nio/DirectByteBufferImpl.java
4444         (ReadOnly): New inner subclass.
4445         (ReadWrite): New inner subclass.
4446         (owner): Made final and private.
4447         (address): Made final.
4448         (DirectByteBufferImpl(int)): New constructor.
4449         (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
4450         (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
4451         (allocate): Modified to instantiate ReadWrite subclass.
4452         (finalize): Fixed to only free the buffer, if we own it.
4453         (put): Removed read-only check.
4454         (slice, duplicate): Modified to instantiate appropriate subclass.
4455         (isReadOnly): Removed.
4456         * java/nio/MappedByteBufferImpl.java
4457         (slice, duplicate): Modified to instantiate appropriate
4458         DirectByteBufferImpl subclass.
4459
4460 2004-11-24  Michael Koch  <konqueror@gmx.de>
4461
4462         * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
4463         * java/nio/DirectByteBufferImpl.java:
4464         Moved native methods to java.nio.VMDirectByteBuffer class.
4465         * java/nio/MappedByteBufferImpl.java:
4466         Use native methods from java.nio.VMDirectByteBuffer class.
4467         * java/nio/VMDirectByteBuffer.java: New file,
4468         * java/nio/natDirectByteBufferImpl.cc:
4469         Moved all methods into java.nio.VMDirectByteBuffer class.
4470         * java/nio/channels/spi/AbstractSelectableChannel.java
4471         (register): Only re-use valid keys.
4472         * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
4473         * Makefile.in: Regenerated.
4474
4475 2004-11-24  Michael Koch  <konqueror@gmx.de>
4476
4477         * java/nio/DirectByteBufferImpl.java,
4478         java/nio/MappedByteBufferImpl.java:
4479         Reformatted.
4480
4481 2004-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4482
4483         * testsuite/lib/libjava.exp,
4484         testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
4485
4486 2004-11-23  Richard Sandiford  <rsandifo@redhat.com>
4487
4488         * configure.host: Enable the interpreter for mips*-*-linux*.
4489
4490 2004-11-23  Michael Koch  <konqueror@gmx.de>
4491
4492         * java/lang/String.java (rehash): Removed.
4493         * java/lang/natString.cc (rehash): Made static.
4494         (_Jv_NewStringUtf8Const): Use static rehash method.
4495
4496 2004-11-23  Michael Koch  <konqueror@gmx.de>
4497
4498         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
4499         include/Makefile.in, testsuite/Makefile.in: Regenerated.
4500
4501 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
4502
4503         PR target/18444
4504         * configure.ac (threading): Accept 'posix95'.
4505         * configure: Regenerate.
4506
4507 2004-11-22  Michael Koch  <konqueror@gmx.de>
4508
4509         * gnu/java/nio/SocketChannelImpl.java
4510         (read): Made check for blocking un-ambiguous.
4511         Removed wrong check for data array length.
4512
4513 2004-11-21  Michael Koch  <konqueror@gmx.de>
4514
4515         * gnu/java/nio/SocketChannelImpl.java
4516         (read): Only return 0 when no bytes for reading available in
4517         non-blocking mode.
4518         * java/nio/channels/SocketChannel.java:
4519         Added some missing @return tags.
4520
4521 2004-11-21  Michael Koch  <konqueror@gmx.de>
4522
4523         * java/beans/PropertyChangeSupport.java
4524         (propertyChangeSupportSerializedDataVersion): Made static.
4525         * java/beans/VetoableChangeSupport.java
4526         (propertyChangeSupportSerializedDataVersion): Likewise.
4527
4528 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
4529
4530         * java/net/URLStreamHandler.java
4531         (parseURL): Fixed file path canonicalisation.
4532
4533 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
4534
4535         * java/net/URLStreamHandler.java
4536         (parseURL): Fixed file path canonicalisation.
4537
4538 2004-11-18  Michael Koch  <konqueror@gmx.de>
4539
4540         * java/net/URLClassLoader.java: Whitespace cleanup.
4541
4542 2004-11-18  Robert Schuster <address@bogus.example.com>
4543
4544         Complete 1.4 support
4545         * java/beans/PropertyDescriptor.java:
4546         (setReadMethod): New method
4547         (setWriteMethod): New method
4548         (equals): Implemented (1.4)
4549         (checkMethods): operates on arguments now (private)
4550
4551
4552 2004-11-18  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
4553
4554         * java/net/Inet6Address.java (getHostAddress): Fix textual
4555         representation of IPv6 address with embedded zeroes
4556         to conform to RFC 2373.
4557
4558 2004-11-18  Jeroen Frijters  <address@bogus.example.com>
4559
4560         * java/lang/StackTraceElement.java: Made final.
4561         * java/nio/channels/Channels.java: Added private constructor.
4562         * java/rmi/Naming.java: Added private constructor.
4563         * java/rmi/registry/LocateRegistry.java: Added private constructor.
4564         * java/rmi/server/RMIClassLoader.java: Added private constructor.
4565         * java/security/KeyPairGeneratorSpi.java
4566         (clone): Made protected and simplified implementation.
4567         * java/text/DateFormat.java
4568         (allFields): Made package accessible.
4569         * java/text/DecimalFormat.java
4570         (formatInternal): Made private.
4571         * java/text/Format.java
4572         (formatInternal): Made private.
4573         * java/util/logging/Handler.java: Made constructor protected.
4574         * java/util/regex/Matcher.java: Made final.
4575         * java/util/regex/Pattern.java: Made final.
4576         * javax/crypto/CipherInputStream.java
4577         (mark): Corrected mark parameter type (from long to int).
4578         * javax/crypto/ExemptionMechanism.java
4579         (finalize): Added.
4580         * javax/crypto/Mac.java
4581         (getMacLength): Made final.
4582         (clone): Made final.
4583         * javax/imageio/ImageIO.java: Added private constructor.
4584         * javax/imageio/stream/ImageInputStreamImpl.java
4585         (checkClosed): Made final.
4586         * javax/net/ssl/SSLPermission.java: Made final.
4587         * javax/print/DocFlavor.java
4588         (hostEncoding): Added work-around to prevent the field from being
4589         a compile time constant.
4590         * javax/print/attribute/AttributeSetUtilities.java: Added private
4591         constructor.
4592         (UnmodifiableDocAttributeSet): Made private.
4593         (UnmodifiablePrintJobAttributeSet): Made private.
4594         (UnmodifiablePrintRequestAttributeSet): Made private.
4595         (UnmodifiablePrintServiceAttributeSet): Made private.
4596         (SynchronizedAttributeSet): Made private.
4597         (SynchronizedDocAttributeSet): Made private.
4598         (SynchronizedPrintJobAttributeSet): Made private.
4599         (SynchronizedPrintRequestAttributeSet): Made private.
4600         (SynchronizedPrintServiceAttributeSet): Made private.
4601         * javax/security/auth/PrivateCredentialPermission.java: Made final.
4602
4603 2004-11-18  Craig Black  <craig.black@aonix.com>
4604
4605         * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
4606
4607 2004-11-18  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
4608
4609         * Makefile.am: Correct friend function declaration.
4610         * Makefile.in: Regenerated.
4611         * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
4612         scope to function names.  Declare functions directly.
4613         * libjava/java/lang/Class.h
4614         (java::lang::Class): Correct friend class declaration.
4615         (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
4616         scope.
4617         * libjava/java/lang/Class.h
4618         (java::lang::Object): Correct friend class declaration.
4619
4620 2004-11-17  David Daney  <ddaney@avtrex.com>
4621
4622         * java/io/BufferedInputStream.java (skip): Return zero on EOF.
4623
4624 2004-11-17  Michael Koch  <konqueror@gmx.de>
4625
4626         * java/net/Socket.java (getPort): Return 0 in error case.
4627
4628 2004-11-17  Michael Koch  <konqueror@gmx.de>
4629
4630         *  java/nio/DirectByteBufferImpl.java
4631         (owner): Updated comment.
4632         (allocate): New method.
4633
4634 2004-11-17  Michael Koch  <konqueror@gmx.de>
4635
4636         * java/net/URL.java (URL): Handle case when argument is null.
4637
4638 2004-11-17  Michael Koch  <konqueror@gmx.de>
4639
4640         * java/beans/Beans.java,
4641         java/beans/PropertyChangeEvent.java,
4642         java/beans/PropertyEditorSupport.java:
4643         Fixed javadocs.
4644
4645 2004-11-17  Michael Koch  <konqueror@gmx.de>
4646
4647         * java/util/Timer.java (DEFAULT_SIZE): Made static.
4648
4649 2004-11-17  Michael Koch  <konqueror@gmx.de>
4650
4651         * java/net/InetAddress.java (getCanonicalHostName):
4652         Support IPv6 addresses.
4653
4654 2004-11-16  Michael Koch  <konqueror@gmx.de>
4655
4656         * java/lang/Object.java: Added javadocs all over (merged from GNU
4657         classpath).
4658
4659 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
4660
4661         * java/security/Security.java (Security): Silence the warning about no
4662         providers found in the no debug case.
4663
4664 2004-11-16  Michael Koch  <konqueror@gmx.de>
4665
4666         * java/net/InetAddress.java
4667         (toString): Merged from GNU classpath.
4668
4669 2004-11-16  Michael Koch  <konqueror@gmx.de>
4670
4671         * java/awt/geom/doc-files/Area-1.png,
4672         java/awt/geom/doc-files/Ellipse-1.png,
4673         java/awt/geom/doc-files/GeneralPath-1.png:
4674         New files.
4675
4676 2004-11-16  Michael Koch  <konqueror@gmx.de>
4677
4678         * java/util/Currency.java (cache): Fix modifier order.
4679
4680 2004-11-16  Michael Koch  <konqueror@gmx.de>
4681
4682         * java/io/BufferedReader.java,
4683         java/io/FileInputStream.java,
4684         java/io/FileOutputStream.java,
4685         java/io/FileWriter.java,
4686         java/io/OutputStreamWriter.java,
4687         java/io/PipedInputStream.java,
4688         java/io/PipedOutputStream.java,
4689         java/io/PipedReader.java,
4690         java/io/PipedWriter.java,
4691         java/io/PrintStream.java,
4692         java/io/PushbackInputStream.java,
4693         java/io/RandomAccessFile.java,
4694         java/io/Reader.java,
4695         java/io/StreamTokenizer.java,
4696         java/io/StringReader.java,
4697         java/net/NetworkInterface.java,
4698         java/net/URLClassLoader.java,
4699         java/nio/ByteOrder.java,
4700         java/nio/channels/Channel.java:
4701         Fixed javadocs all over.
4702
4703 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
4704
4705         * Makefile.am: Add imported files.
4706         * Makefile.in: Regenerate.
4707
4708         2004-10-24  Casey Marshall  <csm@gnu.org>
4709
4710         * javax/security/auth/login/LoginContext.java: Implemented.
4711         * javax/security/auth/login/Configuration.java (getConfig): New method.
4712         * javax/security/auth/spi/LoginModule.java,
4713         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
4714
4715 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
4716
4717         Import/Merge the X.509 certificate code from Classpath.
4718
4719         * Makefile.am: Add imported files.
4720         * Makefile.in: Regenerate.
4721
4722         2004-11-07  Casey Marshall  <csm@gnu.org>
4723
4724         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
4725         priviliged action. Add new algorithms.
4726         * gnu/java/security/provider/X509CertificateFactory.java
4727         (engineGenerateCertificate): Chain exceptions.
4728         (engineGenerateCertificates): Likewise.
4729         (engineGenerateCRL): Likewise.
4730         (engineGenerateCRLs): Likewise.
4731         (engineGenerateCertPath): New methods.
4732         (generateCert): Throw exception if 'inStream' is null.
4733         (generateCRL): Likewise.
4734         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
4735         version from GNU Crypto CVS.
4736         * gnu/java/security/x509/X509CRL.java: Likewise.
4737         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
4738         * gnu/java/security/x509/X509Certificate.java: Likewise.
4739         * java/security/cert/TrustAnchor.java: Call 'toString' and not
4740         toRFC2253.
4741         * gnu/java/security/provider/CollectionCertStoreImpl.java,
4742         * gnu/java/security/provider/EncodedKeyFactory.java,
4743         * gnu/java/security/provider/GnuDHPublicKey.java,
4744         * gnu/java/security/provider/GnuRSAPrivateKey.java,
4745         * gnu/java/security/provider/GnuRSAPublicKey.java,
4746         * gnu/java/security/provider/MD2withRSA.java,
4747         * gnu/java/security/provider/MD4withRSA.java,
4748         * gnu/java/security/provider/MD5withRSA.java,
4749         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4750         * gnu/java/security/provider/RSA.java,
4751         * gnu/java/security/provider/RSAKeyFactory.java,
4752         * gnu/java/security/provider/SHA1withRSA.java,
4753         * gnu/java/security/x509/GnuPKIExtension.java,
4754         * gnu/java/security/x509/PolicyNodeImpl.java,
4755         * gnu/java/security/x509/Util.java,
4756         * gnu/java/security/x509/X509CRLSelectorImpl.java,
4757         * gnu/java/security/x509/X509CertPath.java,
4758         * gnu/java/security/x509/X509CertSelectorImpl.java,
4759         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4760         * gnu/java/security/x509/ext/BasicConstraints.java,
4761         * gnu/java/security/x509/ext/CRLNumber.java,
4762         * gnu/java/security/x509/ext/CertificatePolicies.java,
4763         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
4764         * gnu/java/security/x509/ext/Extension.java,
4765         * gnu/java/security/x509/ext/GeneralNames.java,
4766         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
4767         * gnu/java/security/x509/ext/KeyUsage.java,
4768         * gnu/java/security/x509/ext/PolicyConstraint.java,
4769         * gnu/java/security/x509/ext/PolicyMappings.java,
4770         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
4771         * gnu/java/security/x509/ext/ReasonCode.java,
4772         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
4773         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
4774
4775         2004-11-07  Casey Marshall  <csm@gnu.org>
4776
4777         * gnu/java/security/x509/X509CRL.java:
4778         Missed import statements in previous checkin.
4779
4780         2004-11-07  Casey Marshall  <csm@gnu.org>
4781
4782         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
4783         to 'X509CertificateImpl' from previous checkin.
4784
4785 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
4786
4787         PR other/14264
4788         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
4789
4790 2004-11-11  Casey Marshall  <csm@gnu.org>
4791
4792         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
4793         channel is open.
4794         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
4795         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
4796
4797 2004-11-11  Robert Schuster <thebohemian@gmx.net>
4798
4799         Fixed regression:
4800         * gnu/java/beans/IntrospectionIncubator.java:
4801         (addMethod): Corrected classification of normal and property methods.
4802         (capitalize): Added documentation.
4803         (DoubleKey): [class] Added documentation.
4804
4805 2004-11-09  Tom Tromey  <tromey@redhat.com>
4806
4807         * include/jni.h: Added FIXME.
4808
4809 2004-11-08  Tom Tromey  <tromey@redhat.com>
4810
4811         * java/util/GregorianCalendar.java: Removed unused imports.
4812         * java/util/Vector.java: Removed unused import.
4813
4814 2004-11-07  Michael Koch  <konqueror@gmx.de>
4815
4816         * java/lang/Process.java:
4817         Import cleanups.
4818
4819 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
4820
4821         * java/util/zip/ZipEntry.java
4822         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
4823
4824 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
4825
4826         Fixes bug #10908
4827         * gnu/java/beans/IntrospectionIncubator.java:
4828         (addMethod): static methods are discarded now, too.
4829
4830 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
4831
4832         * java/util/GregorianCalendar.java
4833         Added/amended documentation.
4834
4835 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
4836
4837         * java/util/Collections.java
4838         Added documentation.
4839         * java/util/SortedMap.java
4840         Clarified some method examples.
4841         * java/util/SortedSet.java
4842         Clarified some method examples.
4843
4844 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
4845
4846         * java/util/Currency.java
4847         Documented variables and methods more fully.
4848         Caches the currency instances, so that a request
4849         for a locale, l, only ever returns the same
4850         instance (i.e. successive calls to getInstance(l)
4851         are reference equivalent (==)).
4852
4853 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4854
4855         * java/util/Date.java
4856         Added missing documentation.
4857
4858 2004-11-06  Michael Koch  <konqueror@gmx.de>
4859
4860         * java/util/zip/CheckedInputStream.java,
4861         java/util/zip/InflaterInputStream.java,
4862         java/util/zip/ZipFile.java,
4863         java/util/zip/ZipInputStream.java:
4864         Import cleanups.
4865
4866 2004-11-06  Tom Tromey  <tromey@redhat.com>
4867
4868         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
4869         package-private.
4870         (connections): Likewise.
4871         (scavenger): Likewise.
4872         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
4873         package-private.
4874         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
4875         package-private.
4876         (ptr): Likewise.
4877         * gnu/classpath/ServiceFactory.java (log): Now package-private.
4878
4879 2004-11-06  Tom Tromey  <tromey@redhat.com>
4880
4881         * javax/naming/directory/BasicAttributes.java (attributes): Now
4882         package-private.
4883         * javax/imageio/spi/ServiceRegistry.java (categories): Now
4884         package-private.
4885
4886 2004-11-06  Tom Tromey  <tromey@redhat.com>
4887
4888         * java/net/URLClassLoader.java (URLClassLoader): Now
4889         package-private.
4890         * java/nio/charset/CoderResult.java (CoderResult): Now
4891         package-private.
4892         (get): Likewise.
4893         (Cache): Likewise.  Don't synchronize on `this'.
4894         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
4895         package-private.
4896         * java/util/TimeZone.java (timezones): Now package-private.
4897
4898 2004-11-06  Tom Tromey  <tromey@redhat.com>
4899
4900         * java/security/Permissions.java (perms): Now package-private.
4901         * java/security/UnresolvedPermission.java (permissions): Now
4902         package-private.
4903
4904 2004-11-06  Tom Tromey  <tromey@redhat.com>
4905
4906         * java/io/FilePermission.java: Reindented.
4907
4908 2004-11-06  Tom Tromey  <tromey@redhat.com>
4909
4910         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
4911         package-private.
4912         (setBlockDataMode): Likewise.
4913
4914 2004-11-06  Tom Tromey  <tromey@redhat.com>
4915
4916         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
4917         package-private.
4918         (Encoder): Likewise.
4919         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
4920         (Encoder): Likewise.
4921         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
4922         package-private.
4923         (Encoder): Likewise.
4924
4925 2004-11-06  Mark Wielaard  <mark@klomp.org>
4926
4927         * Makefile.am: Add new javax.imageio files.
4928         * Makefile.in: Regenerated.
4929
4930 2004-11-06  Michael Koch  <konqueror@gmx.de>
4931
4932         * javax/imageio/event/IIOReadProgressListener.java,
4933         javax/imageio/event/IIOReadUpdateListener.java,
4934         javax/imageio/event/IIOReadWarningListener.java,
4935         javax/imageio/event/IIOWriteProgressListener.java,
4936         javax/imageio/event/IIOWriteWarningListener.java,
4937         javax/imageio/metadata/IIOMetadataFormat.java,
4938         javax/imageio/stream/FileCacheImageInputStream.java,
4939         javax/imageio/stream/FileCacheImageOutputStream.java,
4940         javax/imageio/stream/ImageInputStreamImpl.java:
4941         Import cleanup.
4942         * javax/imageio/metadata/package.html: New file.
4943
4944 2004-11-06  Michael Koch  <konqueror@gmx.de>
4945
4946         * javax/imageio/spi/ImageReaderSpi.java
4947         (isOwnReader): New method.
4948         * javax/imageio/spi/ImageWriterSpi.java
4949         (isOwnWriter): Likewise.
4950
4951 2004-11-06  Michael Koch  <konqueror@gmx.de>
4952
4953         * javax/imageio/ImageWriter.java
4954         (convertImageMetadata): New abstract method.
4955         (convertStreamMetadata): Likewise.
4956         (write): Likewise.
4957         * javax/imageio/stream/FileCacheImageInputStream.java
4958         (close): Fixed setting of stream to null.
4959         (checkStreamClosed): Throws IOException.
4960
4961 2004-11-06  Michael Koch  <konqueror@gmx.de>
4962
4963         * javax/imageio/stream/FileCacheImageInputStream.java,
4964         javax/imageio/stream/FileCacheImageOutputStream.java,
4965         javax/imageio/stream/FileImageInputStream.java,
4966         javax/imageio/stream/FileImageOutputStream.java,
4967         javax/imageio/stream/MemoryCacheImageInputStream.java,
4968         javax/imageio/stream/MemoryCacheImageOutputStream.java:
4969         New files.
4970
4971 2004-11-06  Michael Koch  <konqueror@gmx.de>
4972
4973         * javax/imageio/metadata/IIOInvalidTreeException.java,
4974         javax/imageio/metadata/IIOMetadataFormatImpl.java,
4975         javax/imageio/metadata/IIOMetadataNode.java:
4976         New stub files.
4977
4978 2004-11-06  Michael Koch  <konqueror@gmx.de>
4979
4980         * javax/imageio/stream/ImageInputStreamImpl.java,
4981         javax/imageio/stream/ImageOutputStreamImpl.java:
4982         New files.
4983
4984 2004-11-06  Michael Koch  <konqueror@gmx.de>
4985
4986         * javax/imageio/ImageIO.java:
4987         Added much new methods.
4988
4989 2004-11-06  Michael Koch  <konqueror@gmx.de>
4990
4991         * javax/imageio/ImageReader.java,
4992         javax/imageio/ImageWriter.java,
4993         javax/imageio/spi/ImageWriterSpi.java:
4994         Add SOME new methods.
4995
4996 2004-11-06  Michael Koch  <konqueror@gmx.de>
4997
4998         * javax/imageio/IIOParam.java,
4999         javax/imageio/ImageReadParam.java,
5000         javax/imageio/ImageReader.java,
5001         javax/imageio/ImageWriter.java:
5002         Mostly implemented.
5003         * javax/imageio/spi/ImageReaderSpi.java,
5004         javax/imageio/spi/ImageWriterSpi.java:
5005         New files.
5006
5007 2004-11-06  Michael Koch  <konqueror@gmx.de>
5008
5009         * javax/imageio/ImageWriteParam.java,
5010         javax/imageio/metadata/IIOMetadataFormat.java:
5011         Implemented.
5012
5013 2004-11-06  Michael Koch  <konqueror@gmx.de>
5014
5015         * javax/imageio/ImageTypeSpecifier.java:
5016         Mostly implemented.
5017
5018 2004-11-06  Michael Koch  <konqueror@gmx.de>
5019
5020         * javax/imageio/metadata/IIOMetadata.java:
5021         Mostly implemented.
5022
5023 2004-11-06  Michael Koch  <konqueror@gmx.de>
5024
5025         * javax/imageio/IIOImage.java,
5026         javax/imageio/ImageReadParam.java,
5027         javax/imageio/metadata/IIOMetadataController.java,
5028         javax/imageio/metadata/IIOMetadataFormat.java:
5029         New files.
5030         * javax/imageio/stream/ImageOutputStream.java:
5031         Implemented.
5032
5033 2004-11-06  Michael Koch  <konqueror@gmx.de>
5034
5035         * javax/imageio/IIOParam.java,
5036         javax/imageio/IIOParamController.java,
5037         javax/imageio/ImageTypeSpecifier.java,
5038         javax/imageio/ImageWriteParam.java,
5039         javax/imageio/metadata/IIOMetadata.java:
5040         New files.
5041         * javax/imageio/ImageTranscoder.java:
5042         Implemented.
5043
5044 2004-11-06  Michael Koch  <konqueror@gmx.de>
5045
5046         * javax/imageio/spi/ImageInputStreamSpi.java,
5047         javax/imageio/spi/ImageOutputStreamSpi.java:
5048         Reworked import startments.
5049         * javax/imageio/spi/ServiceRegistry.java:
5050         Reworked import startments. Fixed XHTML in javadocs.
5051         (ServiceRegistry): Added @param tag to javadoc.
5052         * javax/imageio/stream/ImageInputStream.java
5053         (mark): Doesn't throws IOException;
5054
5055 2004-11-06  Michael Koch  <konqueror@gmx.de>
5056
5057         * javax/imageio/ImageIO.java:
5058         New file.
5059
5060 2004-11-06  Michael Koch  <konqueror@gmx.de>
5061
5062         * javax/imageio/spi/IIORegistry.java
5063         (static): Don't register ImageReaderSpi.class and
5064         ImageWriterSpi.class yet.
5065
5066 2004-11-06  Michael Koch  <konqueror@gmx.de>
5067
5068         * javax/imageio/spi/IIORegistry.java:
5069         New file.
5070
5071 2004-11-06  Noa Resare  <noa@resare.com>
5072
5073         * java/net/Socket.java (getPort): Return 0 instead of -1 on
5074         unconnected sockets.
5075
5076 2004-11-06  Michael Koch  <konqueror@gmx.de>
5077
5078         * java/lang/StringBuffer.java,
5079         java/lang/Throwable.java,
5080         java/security/spec/DSAParameterSpec.java,
5081         java/util/zip/ZipEntry.java,
5082         java/util/zip/ZipFile.java,
5083         java/util/zip/ZipInputStream.java,
5084         java/util/zip/ZipOutputStream.java:
5085         Removed redundant and reordered modifiers.
5086
5087 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
5088
5089         * java/io/Vector.java
5090         (writeObject): New function to serialized output thread safe.
5091
5092         * java/io/ObjectOutputStream.java
5093         (writeObject): Move the assignment of the class handle to after
5094         the assignment of class descriptor handle.
5095
5096 2004-11-06  Robert Schuster <thebohemian@gmx.net>
5097
5098         Fixes documentation and indentation
5099         * java/beans/PropertyEditorSupport.java:
5100         reworked initial API doc
5101         (value): changed name from val
5102
5103 2004-11-06  Robert Schuster <thebohemian@gmx.net>
5104
5105         Updates to 1.5
5106         * java/beans/PropertyEditorSupport.java
5107         (PropertyEditorSupport()): Changed modifier to public
5108         (PropertyEditorSupport(Object): Changed modifier to public
5109         (setSource): New method
5110         (getSource): New method
5111
5112 2004-11-06  Robert Schuster <thebohemian@gmx.net>
5113
5114         Fixes bug #10799
5115         * java/beans/PropertyEditorSupport.java
5116         (setValue): Fire property change event
5117
5118 2004-11-03  Tom Tromey  <tromey@redhat.com>
5119
5120         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
5121         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
5122         returns jobjectArray.
5123         (_Jv_JNIEnv::NewObjectArray): Likewise.
5124
5125 2004-11-01  Tom Tromey  <tromey@redhat.com>
5126
5127         * verify.cc (state::check_no_uninitialized_objects): Removed.
5128         (push_jump): Updated.
5129         (push_exception_jump): Likewise.
5130         (handle_ret_insn): Likewise.
5131         (handle_jsr_insn): Likewise.
5132
5133 2004-10-30  Mark Wielaard  <mark@klomp.org>
5134
5135         PR libgcj/18234
5136         * java/lang/Runtime.java (static): Call init().
5137         (Runtime): Remove call to init().
5138         (init): Make static.
5139
5140 2004-10-28  David Daney  <ddaney@avtrex.com>
5141
5142         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
5143         * Makefile.am: Build it.
5144         * Makefile.in: Regenerate.
5145
5146 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
5147
5148         PR libgcj/18104
5149         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
5150         colon.
5151         * Makefile.in: Regenerate.
5152         * configure: Regenerate.
5153         * configure.ac (CLASSPATH_SEPARATOR): Define.
5154         * gcj/Makefile.in: Regenerate.
5155         * include/Makefile.in: Regenerate.
5156         * testsuite/Makefile.in: Regenerate.
5157         * testsuite/lib/libjava.exp (libjava_arguments): Fix
5158         CLASSPATH separator handling for Windows.
5159
5160 2004-10-26  Michael Koch  <konqueror@gmx.de>
5161
5162         * gnu/java/net/protocol/http/Connection.java
5163         (getOutputStream): Implicitely switch to POST method.
5164
5165 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
5166
5167         * libjava/java/lang/Class.h
5168         (java::lang::Class): Correct friend class declaration.
5169
5170 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
5171
5172         * Makefile.am (DARWIN_CRT_SRC): New.
5173         (libgcj_la_SOURCES): Use it.
5174         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
5175         * darwin.cc: New file.
5176         * include/jvm.h (_Jv_RegisterClasses): Constify.
5177         (_Jv_RegisterClasses_Counted): New prototype.
5178         * java/lang/Class.h: Include stddef.h.
5179         (_Jv_RegisterClasses): Constify.
5180         (_Jv_RegisterClasses_Counted): New prototype.
5181         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
5182         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
5183         (_Jv_RegisterClasses_Counted): New function.
5184         * configure: Regenerate.
5185         * Makefile.in: Regenerate.
5186         * gcj/Makefile.in: Regenerate.
5187         * include/Makefile.in: Regenerate.
5188         * testsuite/Makefile.in: Regenerate.
5189
5190 2004-10-25  Tom Tromey  <tromey@redhat.com>
5191
5192         * java/util/ResourceBundle.java (tryBundle): Use
5193         Class.isAssignableFrom rather than catching ClassCastException.
5194
5195 2004-10-25  Tom Tromey  <tromey@redhat.com>
5196
5197         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
5198         initialize `iter'.
5199         * gnu/java/text/SentenceBreakIterator.java
5200         (SentenceBreakIterator): Don't initialize `iter'.
5201         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
5202         initialize `iter'.
5203         * gnu/java/text/CharacterBreakIterator.java
5204         (CharacterBreakIterator): Don't initialize `iter'.
5205         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
5206         constructor.
5207         * java/text/BreakIterator.java: Updated documentation.
5208
5209 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
5210
5211         PR other/18138
5212         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
5213
5214 2004-10-23  Michael Koch  <konqueror@gmx.de>
5215
5216         * javax/print/DocFlavor.java,
5217         javax/print/attribute/standard/JobStateReason.java,
5218         javax/print/attribute/standard/MultipleDocumentHandling.java:
5219         Added missing constants.
5220
5221 2004-10-22  Tom Tromey  <tromey@redhat.com>
5222
5223         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
5224         typo.
5225
5226 2004-10-22  Michael Koch  <konqueror@gmx.de>
5227
5228         PR libjava/14009
5229         * gnu/java/net/protocol/http/Connection.java
5230         (sendRequest): Handle case when url.getFile() returns an empty string.
5231
5232 2004-10-22  Michael Koch  <konqueror@gmx.de>
5233
5234         * java/lang/Math.java,
5235         java/lang/StackTraceElement.java,
5236         java/nio/Buffer.java,
5237         java/nio/ByteBuffer.java,
5238         java/nio/CharBuffer.java,
5239         java/nio/DoubleBuffer.java,
5240         java/nio/FloatBuffer.java,
5241         java/nio/IntBuffer.java,
5242         java/nio/LongBuffer.java,
5243         java/nio/ShortBuffer.java,
5244         java/nio/charset/Charset.java,
5245         java/rmi/server/RMIClassLoader.java,
5246         java/rmi/server/RMISocketFactory.java,
5247         java/security/Policy.java,
5248         java/text/ChoiceFormat.java,
5249         java/text/CollationElementIterator.java,
5250         java/text/DateFormat.java,
5251         java/text/DecimalFormat.java,
5252         java/text/DecimalFormatSymbols.java,
5253         java/text/MessageFormat.java,
5254         java/text/NumberFormat.java,
5255         java/text/RuleBasedCollator.java,
5256         java/text/SimpleDateFormat.java,
5257         java/util/BitSet.java,
5258         java/util/Calendar.java,
5259         java/util/Collections.java,
5260         java/util/IdentityHashMap.java,
5261         java/util/Locale.java,
5262         java/util/TreeMap.java,
5263         java/util/logging/LogRecord.java,
5264         java/util/logging/XMLFormatter.java,
5265         java/util/prefs/AbstractPreferences.java,
5266         java/util/prefs/Preferences.java,
5267         javax/crypto/interfaces/DHPrivateKey.java,
5268         javax/crypto/interfaces/DHPublicKey.java,
5269         javax/crypto/interfaces/PBEKey.java,
5270         javax/net/ssl/HandshakeCompletedEvent.java,
5271         javax/security/auth/Subject.java:
5272         Removed redundant and reordered modifiers.
5273
5274 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
5275
5276         * gnu/java/net/natPlainSocketImplPosix.cc
5277         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
5278         with 'int *' argument instead of 'long *'.
5279
5280 2004-10-21  Michael Koch  <konqueror@gmx.de>
5281
5282         * java/net/NetworkInterface.java,
5283         java/text/Format.java,
5284         javax/security/auth/x500/X500Principal.java,
5285         javax/security/auth/x500/X500PrivateCredential.java,
5286         javax/security/cert/X509CertBridge.java,
5287         javax/security/sasl/Sasl.java,
5288         javax/sql/XAConnection.java:
5289         Import cleanup.
5290
5291 2004-10-21  Michael Koch  <konqueror@gmx.de>
5292
5293         * javax/net/ssl/HandshakeCompletedEvent.java,
5294         javax/net/ssl/KeyManagerFactory.java,
5295         javax/net/ssl/SSLContext.java,
5296         javax/net/ssl/SSLServerSocketFactory.java,
5297         javax/net/ssl/SSLSession.java,
5298         javax/net/ssl/SSLSocketFactory.java,
5299         javax/net/ssl/TrustManagerFactory.java:
5300         Import cleanup.
5301
5302 2004-10-21  Michael Koch  <konqueror@gmx.de>
5303
5304         * javax/naming/directory/BasicAttribute.java,
5305         javax/naming/directory/BasicAttributes.java,
5306         javax/naming/directory/InitialDirContext.java,
5307         javax/naming/event/NamingEvent.java,
5308         javax/naming/ldap/ControlFactory.java,
5309         javax/naming/ldap/ExtendedRequest.java,
5310         javax/naming/ldap/InitialLdapContext.java,
5311         javax/naming/ldap/LdapReferralException.java,
5312         javax/naming/spi/DirObjectFactory.java,
5313         javax/naming/spi/DirStateFactory.java,
5314         javax/naming/spi/DirectoryManager.java,
5315         javax/naming/spi/InitialContextFactory.java,
5316         javax/naming/spi/InitialContextFactoryBuilder.java,
5317         javax/naming/spi/NamingManager.java,
5318         javax/naming/spi/ObjectFactory.java,
5319         javax/naming/spi/ObjectFactoryBuilder.java,
5320         javax/naming/spi/StateFactory.java:
5321         Import cleanup.
5322
5323 2004-10-21  Michael Koch  <konqueror@gmx.de>
5324
5325         * javax/crypto/Cipher.java,
5326         javax/crypto/EncryptedPrivateKeyInfo.java,
5327         javax/crypto/ExemptionMechanism.java,
5328         javax/crypto/KeyAgreement.java,
5329         javax/crypto/KeyGenerator.java,
5330         javax/crypto/Mac.java,
5331         javax/crypto/SecretKeyFactory.java,
5332         javax/crypto/SecretKeyFactorySpi.java,
5333         javax/crypto/spec/SecretKeySpec.java:
5334         Import cleanup.
5335
5336 2004-10-21  Michael Koch  <konqueror@gmx.de>
5337
5338         * java/security/AlgorithmParameterGenerator.java,
5339         java/security/AlgorithmParameters.java,
5340         java/security/AlgorithmParametersSpi.java,
5341         java/security/AllPermission.java,
5342         java/security/BasicPermission.java,
5343         java/security/Certificate.java,
5344         java/security/CodeSource.java,
5345         java/security/DigestInputStream.java,
5346         java/security/DigestOutputStream.java,
5347         java/security/GuardedObject.java,
5348         java/security/KeyFactory.java,
5349         java/security/KeyFactorySpi.java,
5350         java/security/KeyPairGenerator.java,
5351         java/security/KeyStore.java,
5352         java/security/KeyStoreSpi.java,
5353         java/security/Permissions.java,
5354         java/security/Security.java,
5355         java/security/Signature.java,
5356         java/security/UnresolvedPermission.java,
5357         java/security/cert/CertPathBuilder.java,
5358         java/security/cert/CertPathValidator.java,
5359         java/security/cert/CertStore.java,
5360         java/security/cert/Certificate.java,
5361         java/security/cert/CertificateFactory.java,
5362         java/security/cert/PolicyQualifierInfo.java,
5363         java/security/cert/TrustAnchor.java,
5364         java/security/cert/X509CRL.java,
5365         java/security/cert/X509CRLSelector.java,
5366         java/security/cert/X509CertSelector.java:
5367         Import cleanup.
5368
5369 2004-10-21  Michael Koch  <konqueror@gmx.de>
5370
5371         * java/rmi/MarshalledObject.java,
5372         java/rmi/Naming.java,
5373         java/rmi/activation/Activatable.java,
5374         java/rmi/activation/ActivationGroup.java,
5375         java/rmi/activation/ActivationGroupDesc.java,
5376         java/rmi/activation/ActivationInstantiator.java,
5377         java/rmi/activation/ActivationMonitor.java,
5378         java/rmi/activation/ActivationSystem.java,
5379         java/rmi/activation/Activator.java,
5380         java/rmi/registry/LocateRegistry.java,
5381         java/rmi/registry/Registry.java,
5382         java/rmi/server/LogStream.java,
5383         java/rmi/server/ObjID.java,
5384         java/rmi/server/RMIClientSocketFactory.java,
5385         java/rmi/server/RMIServerSocketFactory.java,
5386         java/rmi/server/RMISocketFactory.java,
5387         java/rmi/server/RemoteCall.java,
5388         java/rmi/server/RemoteServer.java,
5389         java/rmi/server/ServerRef.java,
5390         java/rmi/server/UID.java,
5391         java/rmi/server/UnicastRemoteObject.java:
5392         Import cleanup.
5393
5394 2004-10-21  Tom Tromey  <tromey@redhat.com>
5395
5396         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
5397         exception if we hit EOF of `in'.
5398         (read): Handle case where inflating returns -1.
5399
5400 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
5401
5402         * gnu/java/nio/channels/natFileChannelPosix.cc
5403         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
5404         argument instead of 'long *'.
5405
5406 2004-10-21  Tom Tromey  <tromey@redhat.com>
5407
5408         * java/util/ResourceBundle.java (tryBundle): Also ignore
5409         ClassCastException.
5410
5411 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
5412
5413         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
5414         for all sh*-*-linux* targets.
5415         * configure: Regenerate.
5416         * include/sh-signal.h: New file.
5417
5418 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
5419
5420         * java/lang/ieeefp.h: Add m32r support.
5421
5422 2004-10-20  Andreas Schwab  <schwab@suse.de>
5423
5424         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
5425         to uaddr, not int.
5426         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
5427         Likewise.
5428
5429 2004-10-20  Michael Koch  <konqueror@gmx.de>
5430
5431         * javax/print/attribute/standard/ColorSupported.java,
5432         javax/print/attribute/standard/Compression.java,
5433         javax/print/attribute/standard/Copies.java,
5434         javax/print/attribute/standard/CopiesSupported.java,
5435         javax/print/attribute/standard/DateTimeAtCompleted.java,
5436         javax/print/attribute/standard/DateTimeAtCreation.java,
5437         javax/print/attribute/standard/DateTimeAtProcessing.java,
5438         javax/print/attribute/standard/DocumentName.java,
5439         javax/print/attribute/standard/Fidelity.java,
5440         javax/print/attribute/standard/Finishings.java,
5441         javax/print/attribute/standard/JobHoldUntil.java,
5442         javax/print/attribute/standard/JobImpressions.java,
5443         javax/print/attribute/standard/JobImpressionsCompleted.java,
5444         javax/print/attribute/standard/JobImpressionsSupported.java,
5445         javax/print/attribute/standard/JobKOctets.java,
5446         javax/print/attribute/standard/JobKOctetsProcessed.java,
5447         javax/print/attribute/standard/JobKOctetsSupported.java,
5448         javax/print/attribute/standard/JobMediaSheets.java,
5449         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
5450         javax/print/attribute/standard/JobMediaSheetsSupported.java,
5451         javax/print/attribute/standard/JobMessageFromOperator.java,
5452         javax/print/attribute/standard/JobName.java,
5453         javax/print/attribute/standard/JobOriginatingUserName.java,
5454         javax/print/attribute/standard/JobPriority.java,
5455         javax/print/attribute/standard/JobPrioritySupported.java,
5456         javax/print/attribute/standard/JobSheets.java,
5457         javax/print/attribute/standard/JobState.java,
5458         javax/print/attribute/standard/JobStateReason.java,
5459         javax/print/attribute/standard/JobStateReasons.java,
5460         javax/print/attribute/standard/Media.java,
5461         javax/print/attribute/standard/MultipleDocumentHandling.java,
5462         javax/print/attribute/standard/NumberOfDocuments.java,
5463         javax/print/attribute/standard/NumberOfInterveningJobs.java,
5464         javax/print/attribute/standard/NumberUp.java,
5465         javax/print/attribute/standard/NumberUpSupported.java,
5466         javax/print/attribute/standard/OrientationRequested.java,
5467         javax/print/attribute/standard/OutputDeviceAssigned.java,
5468         javax/print/attribute/standard/PDLOverrideSupported.java,
5469         javax/print/attribute/standard/PageRanges.java,
5470         javax/print/attribute/standard/PagesPerMinute.java,
5471         javax/print/attribute/standard/PagesPerMinuteColor.java,
5472         javax/print/attribute/standard/PrintQuality.java,
5473         javax/print/attribute/standard/PrinterInfo.java,
5474         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
5475         javax/print/attribute/standard/PrinterLocation.java,
5476         javax/print/attribute/standard/PrinterMakeAndModel.java,
5477         javax/print/attribute/standard/PrinterMessageFromOperator.java,
5478         javax/print/attribute/standard/PrinterMoreInfo.java,
5479         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
5480         javax/print/attribute/standard/PrinterName.java,
5481         javax/print/attribute/standard/PrinterStateReason.java,
5482         javax/print/attribute/standard/PrinterStateReasons.java,
5483         javax/print/attribute/standard/PrinterURI.java,
5484         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
5485         javax/print/attribute/standard/RequestingUserName.java:
5486         Reorganized imports and removed redundant final modifiers.
5487
5488 2004-10-20  Michael Koch  <konqueror@gmx.de>
5489
5490         * javax/security/sasl/SaslClient.java,
5491         javax/security/sasl/SaslClientFactory.java,
5492         javax/security/sasl/SaslException.java,
5493         javax/security/sasl/SaslServer.java,
5494         javax/security/sasl/SaslServerFactory.java:
5495         Remvoed CVS tags.
5496
5497 2004-10-20  Michael Koch  <konqueror@gmx.de>
5498
5499         * javax/security/auth/login/NullConfiguration.java,
5500         javax/security/auth/x500/X500Principal.java,
5501         javax/security/cert/X509Certificate.java,
5502         javax/security/sasl/AuthenticationException.java,
5503         javax/security/sasl/AuthorizeCallback.java,
5504         javax/security/sasl/RealmCallback.java,
5505         javax/security/sasl/RealmChoiceCallback.java,
5506         javax/security/sasl/Sasl.java,
5507         javax/security/sasl/SaslClient.java,
5508         javax/security/sasl/SaslClientFactory.java,
5509         javax/security/sasl/SaslException.java,
5510         javax/security/sasl/SaslServer.java,
5511         javax/security/sasl/SaslServerFactory.java:
5512         Cleaned up import statements and copyright notices.
5513
5514 2004-10-20  Michael Koch  <konqueror@gmx.de>
5515
5516         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
5517
5518 2004-10-20  Michael Koch  <konqueror@gmx.de>
5519
5520         * java/sql/Timestamp.java,
5521         java/text/AttributedCharacterIterator.java,
5522         java/text/AttributedString.java,
5523         java/util/zip/CheckedOutputStream.java,
5524         java/util/zip/DeflaterOutputStream.java,
5525         java/util/zip/ZipFile.java,
5526         javax/crypto/Cipher.java,
5527         javax/crypto/ExemptionMechanismException.java,
5528         javax/crypto/SecretKey.java,
5529         javax/crypto/SecretKeyFactory.java,
5530         javax/naming/directory/ModificationItem.java,
5531         javax/naming/directory/SearchControls.java,
5532         javax/naming/event/NamingListener.java,
5533         javax/naming/ldap/Control.java,
5534         javax/naming/ldap/ExtendedResponse.java,
5535         javax/net/ssl/SSLSocketFactory.java:
5536         Reorganized imports and fixed copyright headers.
5537
5538 2004-10-20  Michael Koch  <konqueror@gmx.de>
5539
5540         * java/util/logging/ConsoleHandler.java,
5541         java/util/logging/ErrorManager.java,
5542         java/util/logging/FileHandler.java,
5543         java/util/logging/Filter.java,
5544         java/util/logging/Formatter.java,
5545         java/util/logging/Handler.java,
5546         java/util/logging/Level.java,
5547         java/util/logging/LogManager.java,
5548         java/util/logging/LogRecord.java,
5549         java/util/logging/Logger.java,
5550         java/util/logging/LoggingPermission.java,
5551         java/util/logging/MemoryHandler.java,
5552         java/util/logging/SimpleFormatter.java,
5553         java/util/logging/SocketHandler.java,
5554         java/util/logging/StreamHandler.java,
5555         java/util/logging/XMLFormatter.java:
5556         Standardized copyrigth header.
5557
5558 2004-10-20  Michael Koch  <konqueror@gmx.de>
5559
5560         * java/security/AlgorithmParameterGenerator.java,
5561         java/security/AlgorithmParameters.java,
5562         java/security/DigestInputStream.java,
5563         java/security/Identity.java,
5564         java/security/KeyFactory.java,
5565         java/security/KeyPairGenerator.java,
5566         java/security/KeyStore.java,
5567         java/security/MessageDigest.java,
5568         java/security/MessageDigestSpi.java,
5569         java/security/Policy.java,
5570         java/security/SecureRandom.java,
5571         java/security/Security.java,
5572         java/security/Signature.java,
5573         java/security/SignatureSpi.java,
5574         java/security/cert/CertPathBuilder.java,
5575         java/security/cert/CertPathValidator.java,
5576         java/security/cert/CertStore.java,
5577         java/security/cert/Certificate.java,
5578         java/security/cert/CertificateFactory.java,
5579         java/security/cert/PolicyQualifierInfo.java,
5580         java/security/cert/TrustAnchor.java,
5581         java/security/cert/X509CRL.java,
5582         java/security/cert/X509CRLEntry.java,
5583         java/security/cert/X509Certificate.java,
5584         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
5585         Import statements reorganized, some little formatting issues,
5586         used java-style array declarations, added comments in empty catch
5587         blocks.
5588
5589 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
5590
5591         * java/security/Security.java
5592         (static): Use AccessController.doPrivileged to get system property.
5593
5594 2004-10-18  Sven de Marothy  <sven@physto.se>
5595
5596         * java/nio/ByteBufferHelper.java
5597         (putDouble): Use Double.toRawLongBits instead.
5598
5599 2004-10-18  Mark Wielaard  <mark@klomp.org>
5600         Andrew Haley  <aph@redhat.com>
5601
5602         * testsuite/libjava.lang/ExtraClassLoader.java: New.
5603
5604 2004-10-18  Andrew Haley  <aph@redhat.com>
5605
5606         PR java/18036:
5607         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
5608         and correct logic used to find interpreter.
5609
5610 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
5611
5612         * java/util/logging/LogManager.java
5613         (findAncestor): Fixed IndexOutOfBoundsException.
5614
5615 2004-10-18  Michael Koch  <konqueror@gmx.de>
5616
5617         * java/io/BufferedInputStream.java: Fixed @author tag.
5618         (read): Simplified expression.
5619         (read): Merged javadoc a bit more.
5620         (read): Renamed 'remain' to 'totalBytesRead'.
5621         * java/io/DataInputStream.java,
5622         java/io/DataOutputStream.java,
5623         java/io/ObjectInputStream.java,
5624         java/io/ObjectOutputStream.java:
5625         Reworked modifier order.
5626
5627 2004-10-18  Michael Koch  <konqueror@gmx.de>
5628
5629         * java/net/Inet4Address.java: Merged file header and javadocs.
5630         * java/net/Inet6Address.java: Likewise.
5631         * java/net/InetAddress.java
5632         (getCanonicalHostName): Create Inet4Address object instead of
5633         InetAddress and add comment regarding IPv6.
5634         (toString): Simplified.
5635
5636 2004-10-18  Michael Koch  <konqueror@gmx.de>
5637
5638         * gnu/java/net/protocol/http/Connection.java,
5639         java/nio/MappedByteBufferImpl.java,
5640         java/text/RuleBasedCollator.java,
5641         java/util/ResourceBundle.java:
5642         Reworked import statements.
5643
5644 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
5645
5646         * java/security/IdentityScope.java
5647         (systemScope): Removed useless initializer.
5648         * java/security/Policy.java
5649         (currentPolicy): Likewise.
5650
5651 2004-10-18  Michael Koch  <konqueror@gmx.de>
5652
5653         * java/lang/System.java: Revert accidential change.
5654
5655 2004-10-18  Michael Koch  <konqueror@gmx.de>
5656
5657         * java/lang/Math.java,
5658         java/lang/Package.java,
5659         java/lang/Runtime.java,
5660         java/lang/StrictMath.java,
5661         java/lang/System.java,
5662         java/lang/Thread.java,
5663         java/lang/ThreadLocal.java,
5664         java/lang/Void.java:
5665         Reworked import statements, HTML in javadocs and modifier orders.
5666
5667 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
5668
5669         * java/util/Timer.java
5670         (nr): Removed useless initializer.
5671         * java/util/logging/LogRecord.java
5672         (lastSeqNum): Likewise.
5673         * javax/naming/spi/NamingManager.java
5674         (icfb, ofb): Likewise.
5675
5676 2004-10-18  Michael Koch  <konqueror@gmx.de>
5677
5678         * gnu/java/net/PlainDatagramSocketImpl.java:
5679         Reworked import statements.
5680         * gnu/java/security/provider/DSAParameters.java:
5681         Fixed copyrigth years.
5682         * java/net/JarURLConnection.java:
5683         Fixed HTML in @author tags.
5684
5685
5686 2004-10-18  Michael Koch  <konqueror@gmx.de>
5687
5688         * java/rmi/activation/ActivationSystem.java
5689         (SYSTEM_PORT): Initialize with correct port number.
5690
5691 2004-10-18  Michael Koch  <konqueror@gmx.de>
5692
5693         * java/lang/reflect/Proxy.java: Improved javadocs.
5694
5695 2004-10-18  Michael Koch  <konqueror@gmx.de>
5696
5697         * java/lang/reflect/AccessibleObject.java
5698         (checkPermission): Removed redundant final modifier.
5699         (secureSetAccessible): Likewise.
5700         * java/lang/reflect/Proxy.java:
5701         Reworked import statements.
5702         (generate): Removed redundant final modifier.
5703         * java/lang/reflect/ReflectPermission.java:
5704         Reorder package declaration and import statement.
5705
5706 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
5707
5708         * java/lang/reflect/Proxy.java
5709         (count): Removed useless initializer.
5710
5711 2004-10-17  Michael Koch  <konqueror@gmx.de>
5712
5713         * java/net/BindException.java,
5714         java/net/ConnectException.java,
5715         java/net/ContentHandler.java,
5716         java/net/ContentHandlerFactory.java,
5717         java/net/DatagramPacket.java,
5718         java/net/DatagramSocket.java,
5719         java/net/DatagramSocketImpl.java,
5720         java/net/DatagramSocketImplFactory.java,
5721         java/net/FileNameMap.java,
5722         java/net/HttpURLConnection.java,
5723         java/net/MalformedURLException.java,
5724         java/net/MulticastSocket.java,
5725         java/net/NetworkInterface.java,
5726         java/net/NoRouteToHostException.java,
5727         java/net/PasswordAuthentication.java,
5728         java/net/PortUnreachableException.java,
5729         java/net/ProtocolException.java,
5730         java/net/ServerSocket.java,
5731         java/net/Socket.java,
5732         java/net/SocketException.java,
5733         java/net/SocketImpl.java,
5734         java/net/SocketImplFactory.java,
5735         java/net/SocketOptions.java,
5736         java/net/SocketPermission.java,
5737         java/net/SocketTimeoutException.java,
5738         java/net/URI.java,
5739         java/net/URISyntaxException.java,
5740         java/net/URL.java,
5741         java/net/URLDecoder.java,
5742         java/net/URLEncoder.java,
5743         java/net/URLStreamHandler.java,
5744         java/net/URLStreamHandlerFactory.java,
5745         java/net/UnknownHostException.java,
5746         java/net/UnknownServiceException.java:
5747         Big import statement and @author tag cleanup.
5748
5749 2004-10-17  Michael Koch  <konqueror@gmx.de>
5750
5751         * gnu/java/security/OID.java,
5752         gnu/java/security/provider/DSAParameters.java,
5753         gnu/java/security/provider/DSASignature.java,
5754         gnu/java/security/x509/X500DistinguishedName.java,
5755         gnu/java/security/x509/X509CRL.java:
5756         Import statements cleaned up.
5757
5758 2004-10-16  Michael Koch  <konqueror@gmx.de>
5759
5760         * gnu/java/nio/NIODatagramSocket.java,
5761         gnu/java/nio/ServerSocketChannelImpl.java:
5762         Reorganized import statements.
5763
5764 2004-10-16  Michael Koch  <konqueror@gmx.de>
5765
5766         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
5767         gnu/java/rmi/rmic/RMIC.java,
5768         gnu/java/rmi/server/RMIHashes.java,
5769         gnu/java/rmi/server/RMIObjectInputStream.java,
5770         gnu/java/rmi/server/RMIObjectOutputStream.java,
5771         gnu/java/rmi/server/UnicastConnection.java,
5772         gnu/java/rmi/server/UnicastConnectionManager.java,
5773         gnu/java/rmi/server/UnicastRemoteCall.java,
5774         gnu/java/rmi/server/UnicastServer.java,
5775         gnu/java/rmi/server/UnicastServerRef.java,
5776         java/rmi/MarshalledObject.java,
5777         java/rmi/Naming.java,
5778         java/rmi/RMISecurityManager.java,
5779         java/rmi/Remote.java,
5780         java/rmi/activation/Activatable.java,
5781         java/rmi/activation/ActivationDesc.java,
5782         java/rmi/activation/ActivationGroup.java,
5783         java/rmi/activation/ActivationGroupDesc.java,
5784         java/rmi/activation/ActivationGroupID.java,
5785         java/rmi/activation/ActivationID.java,
5786         java/rmi/activation/ActivationInstantiator.java,
5787         java/rmi/activation/ActivationMonitor.java,
5788         java/rmi/activation/ActivationSystem.java,
5789         java/rmi/activation/Activator.java,
5790         java/rmi/dgc/DGC.java,
5791         java/rmi/dgc/Lease.java,
5792         java/rmi/dgc/VMID.java,
5793         java/rmi/registry/LocateRegistry.java,
5794         java/rmi/registry/Registry.java,
5795         java/rmi/registry/RegistryHandler.java,
5796         java/rmi/server/LoaderHandler.java,
5797         java/rmi/server/LogStream.java,
5798         java/rmi/server/ObjID.java,
5799         java/rmi/server/Operation.java,
5800         java/rmi/server/RMIClassLoader.java,
5801         java/rmi/server/RMIClassLoaderSpi.java,
5802         java/rmi/server/RMIClientSocketFactory.java,
5803         java/rmi/server/RMIFailureHandler.java,
5804         java/rmi/server/RMIServerSocketFactory.java,
5805         java/rmi/server/RMISocketFactory.java,
5806         java/rmi/server/RemoteCall.java,
5807         java/rmi/server/RemoteObject.java,
5808         java/rmi/server/RemoteRef.java,
5809         java/rmi/server/RemoteServer.java,
5810         java/rmi/server/RemoteStub.java,
5811         java/rmi/server/ServerRef.java,
5812         java/rmi/server/Skeleton.java,
5813         java/rmi/server/SkeletonMismatchException.java,
5814         java/rmi/server/UID.java,
5815         java/rmi/server/UnicastRemoteObject.java,
5816         java/rmi/server/Unreferenced.java:
5817         File headers and import statements cleaned up.
5818
5819 2004-10-16  Michael Koch  <konqueror@gmx.de>
5820
5821         * libjava/gnu/java/nio/charset/UTF_16.java,
5822         libjava/gnu/java/nio/charset/UTF_16BE.java,
5823         libjava/gnu/java/nio/charset/UTF_16LE.java,
5824         libjava/java/nio/ByteOrder.java,
5825         libjava/java/nio/MappedByteBuffer.java,
5826         libjava/java/nio/channels/Channels.java,
5827         libjava/java/nio/channels/spi/SelectorProvider.java,
5828         libjava/java/nio/charset/Charset.java:
5829         Cleanup.
5830
5831 2004-10-16  Michael Koch  <konqueror@gmx.de>
5832
5833         * gnu/java/nio/charset/UTF_16Encoder.java
5834         (UTF_16Encoder): Fixed maxBytesPerChar handling.
5835
5836 2004-10-16  Michael Koch  <konqueror@gmx.de>
5837
5838         * java/math/BigDecimal.java, java/math/BigInteger.java:
5839         Reorganized import statements, removed redundant and
5840         reorganized modifiers.
5841
5842 2004-10-16  Michael Koch  <konqueror@gmx.de>
5843
5844         * gnu/java/beans/ExplicitBeanInfo.java:
5845         Explicitely import java.awt.Image.
5846         (getIcon): Fixed off-by-one error.
5847
5848 2004-10-15  Andrew Haley  <aph@redhat.com>
5849
5850         * Makefile.am (nat_files, xlib_nat_files): New.
5851         * Makefile.in: Regenerate.
5852
5853 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
5854
5855         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
5856         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
5857
5858 2004-10-13  Andrew Haley  <aph@redhat.com>
5859
5860         * interpret.cc (_Jv_InterpMethod::run): Initialize
5861         _Jv_StartOfInterpreter.
5862         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
5863         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
5864         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
5865         _Unwind_FindEnclosingFunction to discover whether PC is within the
5866         interpreter.
5867
5868 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
5869
5870         PR libgcj/17903:
5871         * testsuite/libjava.lang/md5test.java: New file.
5872         * testsuite/libjava.lang/md5test.out: Likewise.
5873         * testsuite/libjava.lang/shatest.java: Likewise.
5874         * testsuite/libjava.lang/shatest.out: Likewise.
5875
5876 2004-10-11  Richard Henderson  <rth@redhat.com>
5877
5878         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
5879         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
5880
5881 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
5882
5883         * java/util/Calendar.java (set): Invalidate DST_OFFSET
5884         field as a DST boundary may have been crossed.
5885         * java/util/GregorianCalendar.java (add): Throw
5886         IllegalArgumentException on attempt to add to DST_OFFSET or
5887         ZONE_OFFSET fields. Update javadoc.
5888
5889 2004-10-09  Michael Koch  <konqueror@gmx.de>
5890
5891         * java/io/CharArrayWriter.java
5892         (resize): Removed redundant 'final' modifier.
5893         * java/io/DataInputStream.java
5894         (readFully): Throw IndexOutOfBoundsException of len < 0.
5895         * java/io/FileDescriptor.java,
5896         java/io/FileInputStream.java,
5897         java/io/FileOutputStream.java,
5898         java/io/ObjectOutputStream.java,
5899         java/io/ObjectStreamClass.java,
5900         java/io/PipedInputStream.java,
5901         java/io/RandomAccessFile.java:
5902         Reorganized import statements.
5903
5904 2004-10-09  Michael Koch  <konqueror@gmx.de>
5905
5906         * gnu/java/rmi/rmic/RMIC.java,
5907         gnu/java/rmi/server/RMIHashes.java,
5908         gnu/java/rmi/server/RMIObjectInputStream.java,
5909         gnu/java/rmi/server/UnicastConnection.java,
5910         gnu/java/rmi/server/UnicastConnectionManager.java,
5911         gnu/java/rmi/server/UnicastRemoteCall.java,
5912         gnu/java/rmi/server/UnicastServerRef.java:
5913         Reworked import statements and fixed file headers.
5914
5915 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
5916
5917         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
5918         emission rule.
5919         * configure: Rebuilt.
5920
5921 2004-09-30  Tom Tromey  <tromey@redhat.com>
5922
5923         * java/text/MessageFormat.java (Field): Constructor now
5924         protected.
5925
5926 2004-09-30  Tom Tromey  <tromey@redhat.com>
5927
5928         * javax/crypto/MacSpi.java: Fixed typo.
5929
5930 2004-09-30  Michael Koch  <konqueror@gmx.de>
5931
5932         * java/net/InetAddress.java: Reformatted.
5933         (loopback): Initialize with Inet4Address object.
5934         (static): Initialize ANY_IF with Inet4Address object.
5935         (InetAddress): Removed unused package-private constructor.
5936
5937 2004-09-30  Michael Koch  <konqueror@gmx.de>
5938
5939         * java/beans/Beans.java,
5940         java/beans/EventHandler.java,
5941         java/beans/EventSetDescriptor.java,
5942         java/beans/Introspector.java,
5943         java/beans/PropertyEditorManager.java,
5944         java/beans/beancontext/BeanContext.java,
5945         java/beans/beancontext/BeanContextChild.java,
5946         java/beans/beancontext/BeanContextChildSupport.java,
5947         java/beans/beancontext/BeanContextMembershipEvent.java:
5948         Reordered import statements and removed redundant modifiers.
5949
5950 2004-09-29  Tom Tromey  <tromey@redhat.com>
5951
5952         PR libgcj/17715:
5953         * Makefile.in: Rebuilt.
5954         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
5955         files.
5956         (all_property_files): New macro.
5957
5958         * Makefile.in: Rebuilt.
5959         * Makefile.am (ordinary_java_source_files): Re-sorted.
5960         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
5961
5962 2004-09-28  Tom Tromey  <tromey@redhat.com>
5963
5964         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
5965
5966         PR libgcj/17222:
5967         * Makefile.am (libgcj.la): Restored.
5968         * Makefile.in: Rebuilt.
5969
5970 2004-09-28  Michael Koch  <konqueror@gmx.de>
5971
5972         * java/net/URLConnection.java: Reformatted.
5973         * java/net/URLClassLoader.java: Reformatted.
5974         (getContent): Reordered return of content.
5975         (getContentHandler): Don't check for null explicitely.
5976
5977 2004-09-27  Michael Koch  <konqueror@gmx.de>
5978
5979         * java/io/BufferedInputStream.java
5980         (BufferedInputStream): Added Jeroen Frijters to authors.
5981         (count): Don't explicitely initialize with default value.
5982         (pos): Likewise.
5983         (marklimit): Likewise.
5984         (read): Changed boolean expression to match GNU classpath' version.
5985         (reset): Add proper message to exception.
5986         (skip): Check for closed stream.
5987         (refill): Likewise.
5988
5989 2004-09-26  Per Bothner  <per@bothner.com>
5990
5991         * prims.cc (unblock_signal): Annotate signum with __unused__ to
5992         avoid warnings in the non-POSIX_VERSION case.
5993         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
5994         so place it inside an #if block.
5995         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
5996         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
5997         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
5998         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
5999
6000 2004-09-26  Per Bothner  <per@bothner.com>
6001
6002         * prims.cc (process_gcj_properties):  Optimization.
6003
6004 2004-09-26  Per Bothner  <per@bothner.com>
6005
6006         * java/util/Collections.java (sort):  Copy from array in forwards
6007         order, rather than reverse order which may be much less efficient.
6008
6009 2004-09-26  Mark Wielaard  <mark@klomp.org>
6010
6011         * java/lang/System.java (properties): Make package private.
6012         * java/lang/Throwable.java (StaticData.nl): Initialize through
6013         directly accessing System.properties.getProperty().
6014
6015         * java/lang/Throwable.java (nl): Remove static field.
6016         (StaticData): New private static inner class.
6017         (stackTraceStringBuffer): Use StaticData.nl.
6018
6019 2004-09-26  Casey Marshall <csm@gnu.org>
6020
6021         * java/security/ProtectionDomain.java
6022         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
6023         `true'.
6024
6025         * java/security/SecureClassLoader.java
6026         (defineClass): make protection domain dynamically bound.
6027         (getPermissions): call `getCurrentPolicy' to avoid permission
6028         check.
6029
6030 2004-09-25  Mark Wielaard  <mark@klomp.org>
6031
6032         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
6033         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
6034         * Makefile.in: Regenerated.
6035
6036         * gcj/javaprims.h: Regenerated.
6037
6038         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
6039         (getDefaultTimeZone): Make package private. Check that GMToffset
6040         contains at least one digit.
6041         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
6042         VMTimeZone.
6043         * util/VMTimeZone.java: New file with above methods.
6044
6045         * java/util/natTimeZone.cc: Removed (renamed).
6046         * java/util/natVMTimeZone.cc: Added (renamed).
6047
6048 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
6049
6050         * java/util/TimeZone.java
6051         (getDefaultTimeZone): Fixed test to distinguish between hours and
6052         minutes in specified timezone.
6053
6054 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
6055
6056         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
6057         handling of default package. (generate): Removed confused comments
6058         and code about making Method and Field accessible.
6059
6060 2004-09-25  Tom Tromey  <tromey@redhat.com>
6061
6062         PR java/17500:
6063         * testsuite/libjava.compile/pr17500.java: New file.
6064
6065 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
6066             Mark Wielaard  <mark@klomp.org>
6067
6068         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
6069         * gnu/regexp/RETokenLookAhead.java: New file.
6070
6071         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
6072         * Makefile.in: Regenerated.
6073
6074 2004-09-25  Michael Koch  <konqueror@gmx.de>
6075
6076         * java/io/ObjectStreamField.java:
6077         Removed unused import statement.
6078
6079 2004-09-24  Tom Tromey  <tromey@redhat.com>
6080
6081         PR java/15656:
6082         * testsuite/libjava.compile/pr15656.xfail: New file.
6083         * testsuite/libjava.compile/pr15656.java: new file.
6084
6085         PR java/16789:
6086         * testsuite/libjava.lang/pr16789.out: New file.
6087         * testsuite/libjava.lang/pr16789.java: New file.
6088
6089 2004-09-24  Andrew Haley  <aph@redhat.com>
6090
6091         PR java/16927
6092         * testsuite/libjava.compile/AssertBug.java: New file.
6093
6094 2004-09-24  Casey Marshall <csm@gnu.org>
6095
6096         * java/util/PropertyPermissionCollection.java
6097         (implies): avoid infinite loop.
6098
6099 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6100
6101         * javax/security/auth/PrivateCredentialPermission.java
6102         (PrivateCredentialPermission): added serialization UID
6103
6104
6105 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
6106
6107         * gnu/java/rmi/server/UnicastServer.java
6108         (incomingMessageCall): Added code to handle Errors.
6109         * gnu/java/rmi/server/UnicastServerRef.java
6110         (incomingMessageCall): Added code to handle Errors.
6111
6112
6113 2004-09-24  Tom Tromey  <tromey@redhat.com>
6114
6115         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
6116         (definedPackages): Likewise.
6117
6118 2004-09-24  Michael Koch  <konqueror@gmx.de>
6119
6120         * java/io/ObjectInputStream.java:
6121         Re-ordered imports.
6122
6123 2004-09-24  Casey Marshall <csm@gnu.org>
6124
6125         * java/io/ObjectInputStream.java (callReadMethod): re-throw
6126         `ClassNotFoundException'.
6127
6128 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
6129
6130         * java/io/ObjectInputStream.java (readObject): Delegate instantation
6131         of Externalizable classes to ObjectStreamClass.
6132         * java/io/ObjectStreamClass.java (newInstance): New method to
6133         instantiate Externalizable (while ignoring the accessibility of
6134         the constructor). (constructor): New field to cache the constructor.
6135
6136 2004-09-24  Mark Wielaard  <mark@klomp.org>
6137
6138         * java/net/URL.java (systemClassLoader): New static field.
6139         (getURLStreamHandler): Always use system/application classloader
6140         for finding URLStreamhandler. Remove unecessary instanceof checks.
6141
6142 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
6143
6144         * java/net/URL.java
6145         (set): This method now matches the behaviour of the JDK.
6146         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
6147
6148 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
6149
6150         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
6151
6152 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
6153
6154         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
6155         Don't set authority if host isn't specified.
6156
6157 2004-09-24  Michael Koch  <konqueror@gmx.de>
6158
6159         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
6160         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
6161         * gnu/java/nio/VMPipe.java,
6162         gnu/java/nio/VMSelector.java:
6163         New files.
6164         * gnu/java/nio/natPipeImplEcos.cc,
6165         gnu/java/nio/natPipeImplPosix.cc,
6166         gnu/java/nio/natPipeImplWin32.cc:
6167         Ported to VMPipe.
6168         * gnu/java/nio/natSelectorImplEcos.cc,
6169         gnu/java/nio/natSelectorImplPosix.cc,
6170         gnu/java/nio/natSelectorImplWin32.cc:
6171         Ported to VMSelector.
6172         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
6173         gnu/java/nio/VMSelector.java.
6174         * Makefile.in: Regenerated.
6175
6176 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
6177
6178         * java/lang/StackTraceElement.java
6179         (className): Renamed field to declaringClass to be compatible
6180         with Sun serialization format.
6181
6182 2004-09-23  Michael Koch  <konqueror@gmx.de>
6183
6184         * java/applet/AppletContext.java,
6185         java/applet/Applet.java,
6186         java/applet/AppletStub.java,
6187         java/applet/AudioClip.java:
6188         Jalopied and checkstyle clean.
6189
6190         * javax/swing/JCheckBox.java: Reformated.
6191         (JCheckBox): Fixed all constructors.
6192         (isBorderPaintedFlat): New method.
6193         (setBorderPaintedFlat): New method.
6194         * javax/swing/JEditorPane.java
6195         (createEditorKitForContentType): Made public.
6196         (scrollToReference): Likewise.
6197         * javax/swing/JTextArea.java
6198         (setLineWrap): Fire property change.
6199         * javax/swing/JToggleButton.java
6200         (JToggleButton): New constructor.
6201         (JToggleButton): Simplified.
6202         * javax/swing/text/AttributeSet.java
6203         (FontAttribute): Renamed from FontCharacterAttribute.
6204         * javax/swing/text/JTextComponent.java
6205         (KeyBinBinding): Added javadoc.
6206         (JTextComponent): Likewise.
6207         (getAccessibleContext): Fixed javadoc.
6208         * javax/swing/text/View.java
6209         (View): Added javadoc.
6210         * javax/swing/text/TabableView.java: New file.
6211         * Makefile.am: Added javax/swing/text/TabableView.java.
6212         * Makefile.in: Regenerated.
6213 2004-09-23  Mark Wielaard  <mark@klomp.org>
6214
6215         * java/util/Collections.java
6216         (binarySearch(List, Object, Comparator)): Explicitly
6217         reverse direction in list iterator.
6218         (rotate): Just return when list is empty.
6219
6220 2004-09-23  Tom Tromey  <tromey@redhat.com>
6221
6222         PR java/17329:
6223         * testsuite/libjava.compile/pr17329.java: New file.
6224
6225         PR java/17380:
6226         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
6227         9.2-implicit-7.
6228
6229 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
6230
6231         * Makefile.am: Run aclocal with -I ../config
6232         * acinclude.m4: Delete macros picked up from ../config and tidy.
6233         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
6234         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
6235         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
6236
6237 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
6238
6239         * aclocal.m4: Regenerate with aclocal 1.9.2.
6240         * configure: Regenerate.
6241         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
6242         * include/Makefile.in, testsuite/Makefile.in: Likewise.
6243
6244 2004-09-22  David Daney  <ddaney@avtrex.com>
6245
6246         PR libgcj/17623
6247         * java/net/URL.java (URL): Copy userInfo from context.
6248         (getUserInfo): Return cached userInfo if present.
6249
6250 2004-09-22  Tom Tromey  <tromey@redhat.com>
6251
6252         PR libgcj/6182:
6253         * mauve-libgcj: Enable java.lang.Character tests.
6254
6255 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
6256
6257         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
6258         dependencies.
6259         (lib_org_ietf_jgss_la_LIBADD): Likewise.
6260         * Makefile.in: Regenerated.
6261
6262 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
6263
6264         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
6265         * configure: Regenerate.
6266         * include/config.h.in: Likewise.
6267         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
6268         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
6269         macro to gtkpeer.h.
6270         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6271         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
6272         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
6273         architectures.
6274         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
6275         Likewise.
6276
6277 2004-09-22  Tom Tromey  <tromey@redhat.com>
6278
6279         PR libgcj/14446:
6280         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
6281         when comparing CRCs.
6282         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
6283         field.
6284         (read()): New overload.
6285
6286 2004-09-21  Tom Tromey  <tromey@redhat.com>
6287
6288         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
6289         Indentation fix.
6290
6291 2004-09-21  Michael Koch  <konqueror@gmx.de>
6292
6293         * java/net/Socket.java
6294         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
6295
6296 2004-09-21  Casey Marshall  <csm@gnu.org>
6297
6298         * javax/crypto/MacSpi.java (clone): Provide meaningful
6299         implementation.
6300
6301 2004-09-21  Tom Tromey  <tromey@redhat.com>
6302
6303         PR libgcj/16869:
6304         * Makefile.in: Rebuilt.
6305         * Makefile.am (MOSTLYCLEANFILES): Removed.
6306         (mostlyclean-local): Remove header files.
6307
6308 2004-09-21  Casey Marshall  <csm@gnu.org>
6309
6310         * java/security/cert/X509CRLSelector.java:
6311         (match): remove unreachable try-catch clauses.
6312         Reported by: Dalibor Topic <robilad@kaffe.org>
6313
6314 2004-09-21  Mark Wielaard  <mark@klomp.org>
6315
6316         * java/util/TreeMap.java (root): Don't initialize.
6317         (TreeMap(Comparator)): Call fabricateTree(0).
6318         (fabricateTree): Initialize root and size when count is 0.
6319
6320 2004-09-21  Sven de Marothy <sven@physto.se>
6321
6322         * java/nio/ByteBuffer.java (hashCode): Implemented.
6323         * java/nio/CharBuffer.java: Likewise.
6324         * java/nio/DoubleBuffer.java: Likewise.
6325         * java/nio/FloatBuffer.java: Likewise.
6326         * java/nio/LongBuffer.java: Likewise.
6327         * java/nio/IntBuffer.java: Likewise.
6328         * java/nio/ShortBuffer.java: Likewise.
6329
6330 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
6331
6332         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
6333
6334 2004-09-21  Michael Koch  <konqueror@gmx.de>
6335
6336         * javax/net/ssl/SSLServerSocket.java:
6337         Removed comment about "Do not edit this file, it's generated.".
6338
6339 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
6340
6341         Import the big Crypto/Jessie/Security merge from Classpath.
6342
6343         * Makefile.am: Add imported files.
6344         * Makefile.in: Regenerate.
6345
6346         2004-08-14  Casey Marshall <csm@gnu.org>
6347
6348         The Big Crypto Merge of 2004.
6349
6350         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
6351         Crypto's version.
6352
6353         Files imported from GNU Crypto.
6354         * javax/crypto/BadPaddingException.java
6355         * javax/crypto/Cipher.java
6356         * javax/crypto/CipherInputStream.java
6357         * javax/crypto/CipherOutputStream.java
6358         * javax/crypto/CipherSpi.java
6359         * javax/crypto/EncryptedPrivateKeyInfo.java
6360         * javax/crypto/ExemptionMechanism.java
6361         * javax/crypto/ExemptionMechanismException.java
6362         * javax/crypto/ExemptionMechanismSpi.java
6363         * javax/crypto/IllegalBlockSizeException.java
6364         * javax/crypto/KeyAgreement.java
6365         * javax/crypto/KeyAgreementSpi.java
6366         * javax/crypto/KeyGenerator.java
6367         * javax/crypto/KeyGeneratorSpi.java
6368         * javax/crypto/Mac.java
6369         * javax/crypto/MacSpi.java
6370         * javax/crypto/Makefile.am
6371         * javax/crypto/NoSuchPaddingException.java
6372         * javax/crypto/NullCipher.java
6373         * javax/crypto/NullCipherImpl.java
6374         * javax/crypto/SealedObject.java
6375         * javax/crypto/SecretKey.java
6376         * javax/crypto/SecretKeyFactory.java
6377         * javax/crypto/SecretKeyFactorySpi.java
6378         * javax/crypto/ShortBufferException.java
6379         * javax/crypto/interfaces/DHKey.java
6380         * javax/crypto/interfaces/DHPrivateKey.java
6381         * javax/crypto/interfaces/DHPublicKey.java
6382         * javax/crypto/interfaces/PBEKey.java
6383         * javax/crypto/spec/DESKeySpec.java
6384         * javax/crypto/spec/DESedeKeySpec.java
6385         * javax/crypto/spec/DHGenParameterSpec.java
6386         * javax/crypto/spec/DHParameterSpec.java
6387         * javax/crypto/spec/DHPrivateKeySpec.java
6388         * javax/crypto/spec/DHPublicKeySpec.java
6389         * javax/crypto/spec/IvParameterSpec.java
6390         * javax/crypto/spec/PBEKeySpec.java
6391         * javax/crypto/spec/PBEParameterSpec.java
6392         * javax/crypto/spec/RC2ParameterSpec.java
6393         * javax/crypto/spec/RC5ParameterSpec.java
6394         * javax/crypto/spec/SecretKeySpec.java
6395         * javax/security/auth/AuthPermission.java
6396         * javax/security/auth/DestroyFailedException.java
6397         * javax/security/auth/Destroyable.java
6398         * javax/security/auth/Policy.java
6399         * javax/security/auth/PrivateCredentialPermission.java
6400         * javax/security/auth/RefreshFailedException.java
6401         * javax/security/auth/Refreshable.java
6402         * javax/security/auth/Subject.java
6403         * javax/security/auth/SubjectDomainCombiner.java
6404         * javax/security/auth/callback/Callback.java
6405         * javax/security/auth/callback/CallbackHandler.java
6406         * javax/security/auth/callback/ChoiceCallback.java
6407         * javax/security/auth/callback/ConfirmationCallback.java
6408         * javax/security/auth/callback/LanguageCallback.java
6409         * javax/security/auth/callback/NameCallback.java
6410         * javax/security/auth/callback/PasswordCallback.java
6411         * javax/security/auth/callback/TextInputCallback.java
6412         * javax/security/auth/callback/TextOutputCallback.java
6413         * javax/security/auth/callback/UnsupportedCallbackException.java
6414         * javax/security/auth/login/AccountExpiredException.java
6415         * javax/security/auth/login/AppConfigurationEntry.java
6416         * javax/security/auth/login/Configuration.java
6417         * javax/security/auth/login/CredentialExpiredException.java
6418         * javax/security/auth/login/FailedLoginException.java
6419         * javax/security/auth/login/LoginContext.java
6420         * javax/security/auth/login/LoginException.java
6421         * javax/security/auth/login/NullConfiguration.java
6422         * javax/security/auth/x500/X500PrivateCredential.java
6423         * javax/security/sasl/AuthenticationException.java
6424         * javax/security/sasl/AuthorizeCallback.java
6425         * javax/security/sasl/RealmCallback.java
6426         * javax/security/sasl/RealmChoiceCallback.java
6427         * javax/security/sasl/Sasl.java
6428         * javax/security/sasl/SaslClient.java
6429         * javax/security/sasl/SaslClientFactory.java
6430         * javax/security/sasl/SaslException.java
6431         * javax/security/sasl/SaslServer.java
6432         * javax/security/sasl/SaslServerFactory.java
6433         * org/ietf/jgss/ChannelBinding.java
6434         * org/ietf/jgss/GSSContext.java
6435         * org/ietf/jgss/GSSCredential.java
6436         * org/ietf/jgss/GSSException.java
6437         * org/ietf/jgss/GSSManager.java
6438         * org/ietf/jgss/GSSName.java
6439         * org/ietf/jgss/MessageProp.java
6440         * org/ietf/jgss/Oid.java
6441         * org/ietf/jgss/MessagesBundle.properties
6442
6443         Files imported from Jessie <http://www.nongnu.org/jessie/>
6444         * javax/net/ServerSocketFactory.java
6445         * javax/net/SocketFactory.java
6446         * javax/net/VanillaServerSocketFactory.java
6447         * javax/net/VanillaSocketFactory.java
6448         * javax/net/ssl/HandshakeCompletedEvent.java
6449         * javax/net/ssl/HandshakeCompletedListener.java
6450         * javax/net/ssl/HostnameVerifier.java
6451         * javax/net/ssl/HttpsURLConnection.java
6452         * javax/net/ssl/KeyManager.java
6453         * javax/net/ssl/KeyManagerFactory.java
6454         * javax/net/ssl/KeyManagerFactorySpi.java
6455         * javax/net/ssl/ManagerFactoryParameters.java
6456         * javax/net/ssl/SSLContext.java
6457         * javax/net/ssl/SSLContextSpi.java
6458         * javax/net/ssl/SSLException.java
6459         * javax/net/ssl/SSLHandshakeException.java
6460         * javax/net/ssl/SSLKeyException.java
6461         * javax/net/ssl/SSLPeerUnverifiedException.java
6462         * javax/net/ssl/SSLPermission.java
6463         * javax/net/ssl/SSLProtocolException.java
6464         * javax/net/ssl/SSLServerSocket.java
6465         * javax/net/ssl/SSLServerSocketFactory.java
6466         * javax/net/ssl/SSLSession.java
6467         * javax/net/ssl/SSLSessionBindingEvent.java
6468         * javax/net/ssl/SSLSessionBindingListener.java
6469         * javax/net/ssl/SSLSessionContext.java
6470         * javax/net/ssl/SSLSocket.java
6471         * javax/net/ssl/SSLSocketFactory.java
6472         * javax/net/ssl/TrivialHostnameVerifier.java
6473         * javax/net/ssl/TrustManager.java
6474         * javax/net/ssl/TrustManagerFactory.java
6475         * javax/net/ssl/TrustManagerFactorySpi.java
6476         * javax/net/ssl/X509KeyManager.java
6477         * javax/net/ssl/X509TrustManager.java
6478         * javax/security/cert/Certificate.java
6479         * javax/security/cert/CertificateEncodingException.java
6480         * javax/security/cert/CertificateException.java
6481         * javax/security/cert/CertificateExpiredException.java
6482         * javax/security/cert/CertificateNotYetValidException.java
6483         * javax/security/cert/CertificateParsingException.java
6484         * javax/security/cert/X509CertBridge.java
6485         * javax/security/cert/X509Certificate.java
6486
6487         2004-08-20  Casey Marshall  <csm@gnu.org>
6488
6489         * java/security/cert/X509CRLSelector.java: New file.
6490         * java/security/cert/X509CertSelector.java: New file.
6491
6492 2004-09-15  Michael Koch  <konqueror@gmx.de>
6493
6494         * gnu/java/net/protocol/file/Handler.java
6495         (openConnection): Don't throw exception if host part for file: URI is
6496         present. setURL() keeps file: protocol if ftp: protocol is not
6497         available.
6498
6499 2004-09-14  Richard Henderson  <rth@redhat.com>
6500
6501         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
6502         value of sigsuspend.
6503
6504 2004-09-12  Tom Tromey  <tromey@redhat.com>
6505
6506         * javax/naming/CompoundName.java (CompoundName): Don't check for
6507         separator in "flat" case.
6508
6509 2004-09-12  Michael Koch  <konqueror@gmx.de>
6510
6511         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
6512         AM_CONFIG_HEADER by AC_CONFIG_FILES.
6513         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
6514         Regenerate.
6515
6516 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
6517
6518         PR libgcj/14751
6519         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
6520         handle in newly-allocated _Jv_Thread_t.
6521         (_Jv_ThreadDestroyData): Close thread handle.
6522         (_Jv_ThreadStart): Remove obsolete comment.
6523         Store handle of newly-created thread in _Jv_Thread_t.
6524         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
6525         before including <windows.h>
6526         #define _Jv_HaveCondDestroy
6527
6528 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
6529
6530         * java/lang/natThread.cc (finalize_native): Destroy
6531         join conditional variable and mutex if these destroy
6532         operations are supported.
6533
6534 2004-09-10  Dalibor Topic <robilad@kaffe.org>
6535
6536         * gnu/java/net/protocol/file/Connection.java (permission): New field.
6537         (DEFAULT_PERMISSION): New constant.
6538         (Connection): Create a FilePermission with permission to read file.
6539
6540 2004-09-10  Michael Koch  <konqueror@gmx.de>
6541
6542         * gnu/java/net/protocol/file/Connection.java
6543         (getLastModified): Moved around.
6544         (getPermission): Return stored permission.
6545
6546 2004-09-10  Michael Koch  <konqueror@gmx.de>
6547
6548         * Makefile.in: Regenerate.
6549
6550 2004-09-10  Michael Koch  <konqueror@gmx.de>
6551
6552         * Makefile.am: Reverted accidently commited stuff.
6553         * configure: Regenerated.
6554
6555 2004-09-10  Michael Koch  <konqueror@gmx.de>
6556
6557         * gnu/java/net/protocol/file/Connection.java
6558         (lineSeparator): Made non-final.
6559         (static): Removed.
6560         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
6561         instead of StringBufferInputStream.
6562
6563 2004-09-10  Michael Koch  <konqueror@gmx.de>
6564
6565         * gnu/java/net/protocol/file/Connection.java
6566         (connect): Handle file is a directory case.
6567
6568 2004-09-10  Michael Koch  <konqueror@gmx.de>
6569
6570         * Makefile.am
6571         (xlib_includes): Removed.
6572         (AM_CPPFLAGS): Renamed from INCLUDES.
6573         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
6574         * Makefile.in: Regenerate.
6575
6576 2004-09-09  Michael Koch  <konqueror@gmx.de>
6577
6578         * java/security/ProtectionDomain.java,
6579         * java/util/PropertyPermissionCollection.java:
6580         Fixed javadocs all over.
6581
6582 2004-09-09  Sven de Marothy  <sven@physto.se>
6583
6584         Patch from David Gilbert <david.gilbert@object-refinery.com>
6585         * java/lang/Comparable.java: Fixed documentation errors.
6586         * java/util/Arrays.java: Likewise.
6587
6588 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6589
6590         * java/net/Inet4Address.java
6591         (Inet4Address): Added comment to serialization UID.
6592         * java/text/Format.java
6593         (Format): Added comment to serialization UID.
6594
6595 2004-09-09  Michael Koch  <konqueror@gmx.de>
6596
6597         * java/lang/System.java
6598         (err): Fixed javadoci to point to setErr() and not setOut().
6599
6600 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
6601
6602         (normalizePath): Added special case for windows systems.
6603
6604 2004-09-09  Michael Koch  <konqueror@gmx.de>
6605
6606         * java/io/File.java
6607         (dupSeparator): Made private.
6608         (File(URI)): New constructor.
6609         (getParentFile): Fixed javadoc.
6610         (createTempFile): Reformated.
6611         (setReadOnly): Added comment.
6612         (deleteOnExit): Merged javadoc with classpath version.
6613
6614 2004-09-09  Michael Koch  <konqueror@gmx.de>
6615
6616         * Makefile.am: Don't try to include deps.mk.
6617         * Makefile.in: Regenerated.
6618
6619 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
6620
6621         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
6622         .d files.
6623         * configure: Rebuilt.
6624
6625 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
6626
6627         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
6628         Changed pfn from static local to local.
6629
6630 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
6631             H.J. Lu  <hongjiu.lu@intel.com>
6632
6633         PR libgcj/17290
6634         * Makefile.am (GCJCOMPILE): Remove definition.
6635         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
6636         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
6637         * Makefile.in: Rebuilt.
6638
6639 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
6640
6641         * configure.ac (enable-gc-debug): Update help for new syntax.
6642         * configure: Regenerate.
6643
6644 2004-09-03  David Daney  <ddaney@avtrex.com>
6645
6646         * include/mips-signal.h: Update copyright.
6647
6648 2004-09-03  David Daney  <ddaney@avtrex.com>
6649
6650         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
6651         * include/mips-signal.h: Added HANDLE_FPE support.
6652
6653 2004-08-31  Michael Koch  <konqueror@gmx.de>
6654
6655         * javax/swing/plaf/basic/BasicTextAreaUI.java
6656         (create): New method.
6657         * javax/swing/text/DefaultHighlighter.java
6658         (DefaultHighlightPainter.debugRect): Removed.
6659         * javax/swing/text/StyleContext.java
6660         (DEFAULT_STYLE): New field.
6661
6662 2004-08-31  Michael Koch  <konqueror@gmx.de>
6663
6664         * javax/swing/plaf/basic/BasicLookAndFeel.java
6665         (initComponentDefaults): Add keybindings for selection.backward and
6666         selection-forward for text components.
6667         * javax/swing/plaf/basic/BasicTextUI.java
6668         (paintSafely): Paint highlight only when something is actually
6669         selected.
6670         * javax/swing/text/DefaultCaret.java
6671         (handleHighlight): New method.
6672         (setSelectionVisible): Don't do anything when nothing changes.
6673         Handle highlight.
6674         (moveDot): Reimplemented. Handle highlight.
6675         (setDot): Set mark too. Handle highlight.
6676         (getSelectionPainter): New method.
6677         * javax/swing/text/DefaultEditorKit.java
6678         (defaultActions): Added new actions for text selection.
6679         * javax/swing/text/DefaultHighlighter.java
6680         (DefaultHighlightPainter): New inner class.
6681         (DefaultPainter): New field.
6682         (paint): Implemented.
6683         * javax/swing/text/PlainView.java
6684         (paint): Don't draw background here again.
6685         * javax/swing/text/Utilities.java
6686         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
6687         (drawTabbedText): Likewise.
6688
6689 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6690
6691         * javax/swing/JComponent.java
6692         (resetKeyboardActions): Add null checks.
6693
6694 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6695
6696         * javax/swing/DefaultButtonModel.java:
6697         Skip group notification when no group is set.
6698
6699 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6700
6701         * javax/swing/JColorChooser.java:
6702         Make a couple inner classes static, for jikes.
6703
6704 2004-08-31  Michael Koch  <konqueror@gmx.de>
6705
6706         * javax/swing/plaf/basic/BasicTextUI.java
6707         (RottView.modelToView): New method.
6708         (UpdateHandler): Renamed from EventHandler.
6709         (updateHandler): Renamed from eventHandler.
6710         (modelToView): Implemented.
6711         * javax/swing/text/AbstractDocument.java
6712         (BranchElement.getElement): Return null for non-existing indeces.
6713         (BranchElement.getElementIndex): Return 0 in some corner cases.
6714         * javax/swing/text/FieldView.java
6715         (modelToView): New method.
6716         * javax/swing/text/PlainView.java
6717         (modelToView): Made public.
6718
6719 2004-08-31  Kim Ho  <kho@redhat.com>
6720
6721         * Makefile.am: New files.
6722         * Makefile.in: Regenerate.
6723         * gcj/Makefile.in: Regenerate.
6724         * include/Makefile.in: Regenerate.
6725         * java/awt/Color.java: Fix documentation.
6726         (RGBtoHSB): Use floats for conversions.
6727         * javax/swing/ButtonGroup.java: Run Jalopy.
6728         (setSelected): Reimplement.
6729         * javax/swing/DefaultButtonModel.java: Run Jalopy.
6730         (changeState): Let ButtonGroup know that the button
6731         is changing state.
6732         * javax/swing/JColorChooser.java: Implement.
6733         * javax/swing/JLabel.java: Run Jalopy.
6734         * javax/swing/JSpinner.java: Run Jalopy.
6735         (setValue): New method.
6736         * javax/swing/JTabbedPane.java: Run Jalopy.
6737         (removeTabAt): Call correct remove method.
6738         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
6739         (getPreviousValue): Compare minimum value.
6740         * javax/swing/Timer.java: Run Jalopy.
6741         (run): Comment out println.
6742         * javax/swing/ToolTipManager.java:
6743         (mouseMoved): Get new tooltip text for location.
6744         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
6745         Jalopy and Javadoc.
6746         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
6747         Implement.
6748         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
6749         Run Jalopy.
6750         (setSelectedColor): Fire ChangeEvent.
6751         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
6752         New file. Implement.
6753         * javax/swing/colorchooser/DefaultPreviewPanel.java:
6754         Ditto.
6755         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
6756         Ditto.
6757         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
6758         Ditto.
6759         * javax/swing/plaf/basic/BasicArrowButton.java:
6760         (getArrow): Fix size of upward pointing button.
6761         * javax/swing/plaf/basic/BasicColorChooserUI.java:
6762         Implement.
6763         * javax/swing/plaf/basic/BasicSliderUI.java:
6764         (getWidthOfWidestLabel): Use preferred dimensions.
6765         (getHeightOfTallestLabel): Ditto.
6766         * javax/swing/plaf/basic/BasicSpinnerUI.java:
6767         Run Jalopy.
6768         (mousePressed): Disable changes to spinner if it is not enabled.
6769         * testsuite/Makefile.in: Regenerate.
6770
6771
6772 2004-08-31  Michael Koch  <konqueror@gmx.de>
6773
6774         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
6775         javax/swing/plaf/basic/BasicTableUI.java:
6776         Added copyright notice.
6777
6778 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
6779
6780         * Makefile.am: Added new files.
6781         * Makefile.in: Regenerate.
6782         * javax/swing/ComboBoxEditor.java: Added javadocs.
6783         * javax/swing/ComboBoxModel.java: Likewise.
6784         * javax/swing/DefaultComboBoxModel.java: Implemented.
6785         * javax/swing/DefaultListCellRenderer.java: Added javadocs
6786         and ran through jalopy to fix formatting style.
6787         (getListCellRendererComponent): Use appropriate border
6788         if renderer has focus and use noFocusBorder when it doesn't.
6789         * javax/swing/JComboBox.java: Implemented.
6790         * javax/swing/JList.java:
6791         (locationToIndex): New Method. Implemented.
6792         (indexToLocation): New Method.
6793         * javax/swing/JPopupMenu.java:
6794         (visible): New field.
6795         (isVisible): Changed to use new field above.
6796         (setVisible): Likewise.
6797         * javax/swing/MutableComboBoxModel.java: Added javadocs.
6798         * javax/swing/plaf/basic/BasicArrowButton.java:
6799         (shadow): Changed default color to Color.gray.
6800         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
6801         UI delegate for JComboBox.
6802         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
6803         Popup menu containing list of JComboBox's items.
6804         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
6805         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
6806         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
6807         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
6808         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6809         (popupMenuWillBecomeVisible): Set selected path to the first
6810         element only if it is of type MenuElement. Also fix formatting
6811         style.
6812         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
6813         methods signatures.
6814
6815 2004-08-31  Michael Koch  <konqueror@gmx.de>
6816
6817         * javax/swing/text/AbstractDocument.java
6818         (createBranchElement): Use new constructor of BranchElement.
6819         (createLeafElement): Renamed arguments.
6820         (getRootElements): Implemented.
6821         (BranchElement.start): Removed.
6822         (BranchElement.end): Likewise.
6823         (BranchElement.BranchElement): Fixed arguments.
6824         (BranchElement.getEndOffset): Reimplemented.
6825         (BranchElement.getStartOffset): Likewis.
6826         * javax/swing/text/DefaultCaret.java
6827         (paint): Draw simple vertical line as caret instead of a rectangle.
6828         * javax/swing/text/JTextComponent.java
6829         (setText): Use doc directly.
6830         * javax/swing/text/PlainView.java
6831         (nextTabStop): Implemented.
6832         * javax/swing/text/Utilities.java
6833         (drawTabbedText): nextTabStop() returns an absolute x position.
6834         (getTabbedTextWidth): Likewise.
6835
6836 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6837
6838         * java/awt/Component.java
6839         (isFocusTraversable): Predicate on isLightweight()
6840         (setFocusable): Set isFocusTraversableOverridden.
6841         (requestFocus): Predicate peer dispatch on !isLightweight()
6842         (requestFocusInWindow): Likewise.
6843         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
6844         * java/awt/Container.java
6845         (dispatchEventImpl): Predicate on event mask.
6846         (LightweightDispatcher): Remove focus machinery.
6847         * java/awt/DefaultFocusTraversalPolicy.java
6848         (accept): Expand predicate to include isFocusable().
6849         * java/awt/DefaultKeyboardFocusManager.java:
6850         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
6851         * java/awt/KeyboardFocusManager.java
6852         (redispatchEvent): Synchronize on event to prevent feedback.
6853         * javax/swing/AbstractButton.java
6854         (ButtonFocusListener): Remove class.
6855         (init): Set focusPainted, focusable.
6856         * javax/swing/ActionMap.java (get): Check parent for null.
6857         * javax/swing/InputMap.java (get): Likewise.
6858         * javax/swing/JComponent.java
6859         (inputMap_whenFocused): New InputMap.
6860         (inputMap_whenAncestorOfFocused): Likewise.
6861         (inputMap_whenInFocusedWindow): Likewise.
6862         (getActionForKeyStroke): Rewrite.
6863         (getConditionForKeystroke): Likewise.
6864         (ActionListenerProxy): New private class.
6865         (setInputMap): Implement.
6866         (getInputMap): Likewise.
6867         (setActionMap): Likewise.
6868         (getActionMap): Likewise.
6869         (processComponentKeyEvent): New empty method.
6870         (processKeyEvent): Implement.
6871         (processKeyBinding): Likewise.
6872         (resetKeyboardActions): Rewrite.
6873         * javax/swing/KeyStroke.java: Rewrite.
6874         * javax/swing/SwingUtilities.java
6875         (notifyAction): Implement.
6876         (replaceUIActionMap): Likewise.
6877         (replaceUIInputMap): Likewise.
6878         * javax/swing/plaf/basic/BasicButtonListener.java
6879         (focusGained): Implement.
6880         (focusLost): Repaint if focusPainted().
6881         (installKeyboardActions): Install pressed / released actions.
6882         (uninstallKeyboardActions): Implement.
6883         * javax/swing/plaf/basic/BasicButtonUI.java
6884         (focusColor): New field.
6885         (installDefaults): Load focus color, install input map.
6886         (installKeyboardActions): Implement.
6887         (uninstallKeyboardActions): Likewise.
6888         (paintFocus): Rewrite.
6889         * javax/swing/plaf/basic/BasicLookAndFeel.java
6890         (Button.focus): New default, midPurple.
6891         * javax/swing/plaf/basic/BasicTextUI.java
6892         (kit): Make static.
6893         (installUI): Get doc from kit, load defaults.
6894         (getKeymapName): Implement.
6895         (createKeymap): Likewise.
6896         (installKeyboardActions): Likewise.
6897         (getInputMap): Likewise.
6898         (getActionMap): Likewise.
6899         (createActionMap): Likewise.
6900         * javax/swing/text/AbstractDocument.java
6901         (getStartPosition): Implement.
6902         (getEndPosition): Likewise.
6903         * javax/swing/text/DefaultEditorKit.java
6904         (CopyAction): New class.
6905         (CutAction): Likewise.
6906         (DefaultKeyTypedAction): Likewise.
6907         (InsertBreakAction): Likewise.
6908         (InsertContentAction): Likewise.
6909         (InsertTabAction): Likewise.
6910         (PasteAction): Likewise.
6911         (defaultActions): New static table.
6912         (createCaret): Implement.
6913         (getActions): Likewise.
6914         * javax/swing/text/JTextComponent.java
6915         (KeymapWrapper): New private class.
6916         (KeymapActionMap): Likewise.
6917         (DefaultKeymap): New class.
6918         (keymaps): New static table.
6919         (keymap): New field.
6920         (getKeymap): Implement.
6921         (removeKeymap): Likewise.
6922         (addKeymap): Likewise.
6923         (setKeymap): Likewise.
6924         (loadKeymap): Likewise.
6925         (getActions): Likewise.
6926         (margin): New field.
6927         (JTextComponent): Build and install default keymap.
6928         * javax/swing/text/TextAction.java
6929         (textAction): Call super properly.
6930         (getTextComponent): Implement.
6931         * javax/swing/text/Utilities.java
6932         (drawTabbedText): Adjust position by ascent.
6933
6934 2004-08-31  David Jee  <djee@redhat.com>
6935
6936         PR AWT/17156
6937
6938         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
6939         (setEnabled): Make it a native method.
6940         * java/awt/DefaultKeyboardFocusManager.java
6941         (postProcessKeyEvent): Only post event if the menu item
6942         is active.
6943         * java/awt/MenuItem.java:
6944         Private field 'enabled' should be true by default.
6945         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
6946         (setEnabled): New function.
6947
6948 2004-08-31  David Jee  <djee@redhat.com>
6949
6950         PR AWT/17059
6951
6952         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
6953         (nativeSetHelpMenu): New native method declaration.
6954         (addHelpMenu): Call nativeSetHelpMenu().
6955         (addMenu): Remove.
6956         * java/awt/MenuBar.java
6957         (setHelpMenu): Call addNotify() on the new help menu.
6958         (add): Call addNotify() on the new menu.
6959         (addNotify): Set the help menu if one exists.
6960         * java/awt/peer/MenuBarPeer.java
6961         (addMenu): Remove.
6962         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
6963         (nativeSetHelpMenu): New method.
6964
6965 2004-08-31  Graydon Hoare  <graydon@redhat.com>
6966
6967         * Makefile.am: Add new files.
6968         * Makefile.in: Regenerate.
6969         * javax/swing/Box.java: Fix setting of layout in ctor.
6970         * javax/swing/JScrollPane.java: Scroll headers as well.
6971         * javax/swing/JTable.java: Reimplement.
6972         * javax/swing/JViewPort.java: Only add non-null children.
6973         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
6974         * javax/swing/Timer.java: Fix stopping null waker.
6975         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
6976         * javax/swing/plaf/basic/BasicTableUI.java: New file.
6977         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
6978         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
6979         * javax/swing/table/DefaultTableModel.java: Clean up.
6980         * javax/swing/table/JTableHeader.java: Implement.
6981
6982 2004-08-31  Mark Wielaard  <mark@klomp.org>
6983
6984         * javax/swing/JSpinner.java (getChangeListeners): Remove double
6985         semi-colon.
6986
6987 2004-08-31  Mark Wielaard  <mark@klomp.org>
6988
6989         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
6990         Declare variables at top of functions/block.
6991         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
6992
6993 2004-08-31  Mark Wielaard  <mark@klomp.org>
6994
6995         * java/lang/Rectangle.java (intersects): Check r.width and r.height
6996         first.
6997
6998 2004-08-31  Michael Koch  <konqueror@gmx.de>
6999
7000         * javax/swing/text/PlainView.java
7001         (selectedColor): New field.
7002         (unselectedColor): Likewise.
7003         (font): Likewise.
7004         (updateMetrics): New method.
7005         (lineToRect): Likewise.
7006         (modelToView): Likewise.
7007         (drawSelectedText): Use color from JTextComponent ad draw with
7008         Utilities class.
7009         (drawUnselectedText): Likewise.
7010         (paint): Initialize helper fields.
7011         * javax/swing/text/View.java
7012         (getChildAllocation): New method.
7013         (getViewIndex): Likewise.
7014         (getToolTipText): Likewise.
7015
7016 2004-08-31  Michael Koch  <konqueror@gmx.de>
7017
7018         * javax/swing/text/Utilities.java
7019         (drawTabbedText): Reimplemented.
7020         (getTabbedTextWidth): Likewise.
7021
7022 2004-08-31  Michael Koch  <konqueror@gmx.de>
7023
7024         * javax/swing/plaf/basic/BasicTextUI.java
7025         (installDefaults): Install caret and highlighter.
7026         (modelToView): Use Bias.Forward when calling sibling.
7027         * javax/swing/text/AbstractDocument.java
7028         (ElementEdit): Implements DocumentEvent.ElementChange.
7029         (ElementEdit.ElementEdit): New method.
7030         (ElementEdit.getChildrenAdded): Likewise.
7031         (ElementEdit.getChildrenRemoved): Likewise.
7032         (ElementEdit.getElement): Likewise.
7033         (ElementEdit.getIndex): Likewise.
7034         * javax/swing/text/DefaultCaret.java
7035         (color): Removed.
7036         (textComponent): Renamed from parent, made private.
7037         (selectionVisible): Renamed from vis_sel, made private.
7038         (blinkRate): Renamed from blink, made private.
7039         (magicCaretPosition): Renamed from magic, made private.
7040         (visible): Renamed from vis, made private.
7041         (dot): Made private.
7042         (mark): Likewise.
7043         (deinstall): Remove as MouseMotionListener.
7044         (install): Initialize textComponent first. Add as MouseMotionListener.
7045         (paint): Reimplemented.
7046         * javax/swing/text/JTextComponent.java
7047         (setCaret): Deinstall old caret, install new one and fire property
7048         change after setting property.
7049         (setHighlighter): Deinstall old highlighter, install new one and fire
7050         property change after setting property.
7051         (setCaretColor): Fire property change after setting property.
7052         (setDisabledTextColor): Likewise.
7053         (setSelectedTextColor): Likewise.
7054         (setSelectionColor): Likewise.
7055         (modelToView): New method.
7056
7057 2004-08-31  Michael Koch  <konqueror@gmx.de>
7058
7059         * javax/swing/text/AbstractDocument.java
7060         (getText): Simplified.
7061         * javax/swing/text/Segment.java
7062         (current): New field.
7063         (current): Reimplemented.
7064         (first): Likewise.
7065         (getIndex): Likewise.
7066         (last): Likewise.
7067         (next): Likewise.
7068         (previous): Likewise.
7069         (setIndex): Likewise.
7070
7071 2004-08-31  Michael Koch  <konqueror@gmx.de>
7072
7073         * javax/swing/plaf/basic/BasicButtonUI.java
7074         (defaultTextIconGap): Made protected.
7075         (defaultTextShiftOffset): Likewise.
7076         (textShiftOffset): New field.
7077         (clearTextShiftOffset): New method.
7078         (getTextShiftOffset): Likewise.
7079         (setTextShiftOffset): Likewise.
7080
7081 2004-08-31  Michael Koch  <konqueror@gmx.de>
7082
7083         * javax/swing/plaf/basic/BasicTextUI.java
7084         (installUI): Add eventHandler as property listener.
7085         (uninstallUI): remove eventHandler as propert listener.
7086         (installDefaults): Added comment.
7087         (installListeners): Likewise.
7088         (installKeyboardActions): Likewise.
7089         (uninstallDefaults): Likewise.
7090         (uninstallListeners): Likewise.
7091         (uninstallKeyboardActions): Likewise.
7092
7093 2004-08-31  Michael Koch  <konqueror@gmx.de>
7094
7095         * javax/swing/text/AbstractDocument.java:
7096         Fixed some typos in comments.
7097         (insertString): Reimplemented.
7098         (remove): Likewise.
7099         (replace): New method.
7100         (children): Dont use fully qualified class name.
7101         (DefaultDocumentEvent.offset): Renamed from off.
7102         (DefaultDocumentEvent.length): Renamed from len.
7103         (DefaultDocumentEvent.type): New field.
7104         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
7105         (DefaultDocumentEvent.getType): Implemented.
7106
7107 2004-08-31  Michael Koch  <konqueror@gmx.de>
7108
7109         * javax/swing/plaf/basic/BasicTextUI.java
7110         (RootView.textComponent): Removed.
7111         (RootView.RootView): Don't initialize textComponent.
7112         (RootView.getViewFactory): New method.
7113         (EventHandler): New inner class.
7114         (rootView): Initialize at instance creation.
7115         (eventHandler): New field.
7116         (installUI): Don't create view hierarchy directly,
7117         call modelChanged() instead.
7118         (modelChanged): New method.
7119         * javax/swing/text/JTextComponent.java
7120         (setDocument): Fire property change event.
7121
7122 2004-08-31  Michael Koch  <konqueror@gmx.de>
7123
7124         * javax/swing/plaf/basic/BasicTextUI.java
7125         (RootView.paint): Removed debug output.
7126         (paintSafely): Draw highlighter before text.
7127         (paintBackground): Use background color of text component.
7128         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
7129         Reformatted.
7130
7131 2004-08-31  Michael Koch  <konqueror@gmx.de>
7132
7133         * javax/swing/plaf/basic/BasicToolBarUI.java
7134         (BasicToolBarUI): Fixed arguments for constructor.
7135         (createUI): Fixed creation of object.
7136
7137 2004-08-31  Michael Koch  <konqueror@gmx.de>
7138
7139         * javax/swing/DefaultListSelectionModel.java
7140         (fireValueChanged): Renamed from fireSelectionValueChanged,
7141         made protected.
7142
7143 2004-08-31  Michael Koch  <konqueror@gmx.de>
7144
7145         * javax/swing/text/TabSet.java
7146         (TabSet): Implements java.io.Serializable.
7147         * javax/swing/text/TabStop.java
7148         (TabStop): Implements java.io.Serializable.
7149         (TabStop): Made public.
7150
7151 2004-08-31  Michael Koch  <konqueror@gmx.de>
7152
7153         * javax/swing/JComponent.java
7154         (setUI): Fire PropertyChange.
7155         * javax/swing/JLabel.java
7156         (text): Renamed from labelText.
7157         (horizontalAlignment): New default vlaue.
7158         (icon): Renamed from activeIcon.
7159         (displayedMnemonic): Renamed from mnemonicKey, added default value.
7160         (displayedMnemonicIndex): Renamed from underlineChar.
7161         (setDisplayedMnemonic): Reimplemented.
7162         * javax/swing/JRadioButton.java
7163         (JRadioButton): New constructors.
7164         * javax/swing/JTextField.java
7165         (JTextField): Throw exception if colums < 0, initialitialz
7166         this.columns directly and initialize document with text conditionally.
7167
7168 2004-08-31  Michael Koch  <konqueror@gmx.de>
7169
7170         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
7171         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
7172         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
7173         * javax/swing/text/FieldView.java
7174         (paint): Just call super method for now.
7175         * Makefile.am: Added new files.
7176         * Makefile.in: Regenerated.
7177
7178 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
7179
7180         * javax/swing/AbstractSpinnerModel.java,
7181         javax/swing/JSpinner.java,
7182         javax/swing/SpinnerNumberModel.java,
7183         javax/swing/plaf/basic/BasicSpinnerUI.java:
7184         New files.
7185         * javax/swing/plaf/basic/BasicLookAndFeel.java
7186         (initClassDefaults): Added defaults for BasicSpinnerUI.
7187
7188 2004-08-31  Michael Koch  <konqueror@gmx.de>
7189
7190         * Makefile.am: Added new files.
7191         * Makefile.in: Regenerated.
7192
7193 2004-08-31  Michael Koch  <konqueror@gmx.de>
7194
7195         * javax/swing/TransferHandler.java,
7196         javax/swing/plaf/basic/ComboPopup.java: New files
7197         * Makefile.am: Added javax/swing/TransferHandler.java and
7198         javax/swing/plaf/basic/ComboPopup.java
7199         * Makefile.in: Regenerated.
7200
7201 2004-08-31  Roman Kennke  <roman@ontographics.com>
7202
7203         * javax/swing/text/Utilities.java: New file.
7204
7205 2004-08-31  Michael Koch  <konqueror@gmx.de>
7206
7207         * Makefile.am: Added javax/swing/text/Utilities.java.
7208         * Makefile.in: Regenerated.
7209
7210 2004-08-31  Graydon Hoare  <graydon@redhat.com>
7211
7212         * javax/swing/text/SimpleAttributeSet.java: New file.
7213         * javax/swing/text/StyleConstants.java: New file.
7214         * javax/swing/text/StyleContext.java: New file.
7215         * javax/swing/text/TabSet.java: New file.
7216         * javax/swing/text/TabStop.java: New file.
7217         * javax/swing/text/AbstactDocument.java:
7218         (AbstractElement): Implement attribute support.
7219         * javax/swing/text/AttributeSet.java
7220         (NameAttribute): New static field.
7221         (ResolveAttribute): New static field.
7222         * Makefile.am: Update for new files.
7223         * Makefile.in: Regenerate.
7224
7225 2004-08-31  Craig Black  <craig.black@aonix.com>
7226
7227         * gnu/java/awt/peer/gtk/GdkGraphics.java
7228         (drawImage): Add support for scaling pixmaps.
7229         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
7230         (copyAndScalePixmap): New native method.
7231
7232 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
7233
7234         PR AWT/16121
7235         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
7236         type-punning compiler warnings using unions.
7237         (throw): Replace bzero with memset.
7238
7239 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
7240             Thomas Fitzsimmons  <fitzsim@redhat.com>
7241
7242         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
7243         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
7244         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
7245         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7246         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
7247
7248 2004-08-31  Mark Wielaard  <mark@klomp.org>
7249
7250         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
7251         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
7252         and stdlib.h, not gtkpeer.h.
7253         (*vm): New static variable.
7254         (areaPreparedID): Make static.
7255         (areaUpdatedID): Likewise.
7256         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
7257         (area_prepared): Likewise.
7258         (area_updated): Likewise.
7259         (closed): Likewise.
7260         (initStaticState): Initialize *vm javaVM.
7261         (pumpBytes): Use given env, not global gdk_env.
7262
7263 2004-08-31  Mark Wielaard  <mark@klomp.org>
7264
7265         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
7266         comments.
7267
7268 2004-08-31  Sven de Marothy  <sven@physto.se>
7269
7270         * java/awt/geom/CubicCurve2D.java: Reindent.
7271         (contains): Implemented.
7272         (intersects): Implemented.
7273         * java/awt/geom/QuadCurve2D.java: Likewise.
7274         * java/awt/geom/GeneralPath.java: Reindent and document.
7275         Fully (re)implemented using separate xpoints and ypoints
7276         float[] coords.
7277         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
7278
7279 2004-08-31  Michael Koch  <konqueror@gmx.de>
7280
7281         * javax/swing/JMenuItem.java
7282         (getMenuDragMouseListeners): New method.
7283         (getMenuKeyListeners): Likewise.
7284
7285 2004-08-31  Michael Koch  <konqueror@gmx.de>
7286
7287         * javax/swing/AbstractButton.java
7288         (model): Made protected.
7289         (actionListener): Likewise.
7290         (changeListener): Likewise.
7291         (itemListener): Likewise.
7292         (multiClickThreshhold): New field.
7293         (getActionListeners): New method.
7294         (getChangeListeners): Likewise.
7295         (getItemListeners): Likewise.
7296         (fireItemStateChanged): Simplified implementation.
7297         (fireActionPerformed): Likewise.
7298         (fireStateChanged): Likewise.
7299         (getMultiClickThreshhold): New method.
7300         (setMultiClickThreshhold): Likewise.
7301
7302 2004-08-31  Tom Tromey  <tromey@redhat.com>
7303
7304         * java/awt/image/Kernel.java (clone): Use super.clone().
7305
7306 2004-08-31  David Jee  <djee@redhat.com>
7307
7308         PR AWT/16682
7309         * gnu/java/awt/peer/gtk/GtkFramePeer.java
7310         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
7311         (nativeSetIconImageFromData): New native method declaration.
7312         (setIconImage): Handle images not produced from GdkPixbufDecoder.
7313         * gnu/java/awt/peer/gtk/GtkImage.java
7314         (getPixelCache): New method.
7315         (getColorModel): New method.
7316         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7317         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
7318         (free_pixbuf_data): New helper function.
7319         (nativeSetIconImageFromData): New function.
7320
7321 2004-08-31  Graydon Hoare  <graydon@redhat.com>
7322
7323         PR SWING/16576
7324         * javax/swing/JLayeredPane.java
7325         (setLayer): Permit changing layer after addition.
7326         (setPosition): Permit over-length positions.
7327         (layerToRange): Compare intValue()s.
7328         * javax/swing/Box.java (createHorizontalBox): Implement.
7329         (createRigidArea): Likewise.
7330         (createVerticalBox): Likewise.
7331
7332 2004-08-31  Kim Ho  <kho@redhat.com>
7333
7334         * java/awt/Component.java:
7335         (processMouseEvent): Consume event after
7336         listeners process it.
7337         (processMouseMotionEvent): ditto.
7338         (processMouseWheelEvent): ditto.
7339         * java/awt/Container.java:
7340         (acquireComponentForMouseEvent):
7341         Do not dispatch to events that have been
7342         removed from the Container.
7343         (handleEvent): Consume the MouseEvents.
7344         * javax/swing/RepaintManager.java:
7345         (paintDirtyRegions): Do not add to list of
7346         damaged areas if the component has no root.
7347
7348 2004-08-31  Michael Koch  <konqueror@gmx.de>
7349
7350         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
7351
7352 2004-08-31  Mark Wielaard  <mark@klomp.org>
7353
7354         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
7355         null when a MissingResourceException is thrown. Should never happen.
7356
7357 2004-08-31  Mark Wielaard  <mark@klomp.org>
7358
7359         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
7360         when argument is null.
7361
7362 2004-08-31  Mark Wielaard  <mark@klomp.org>
7363
7364         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7365         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
7366         Define hid at start of function.
7367         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
7368         Likewise.
7369
7370 2004-08-31  Mark Wielaard  <mark@klomp.org>
7371
7372         * gnu/java/awt/EmbeddedWindow.java: Reindent.
7373         * javax/swing/JButton.java: Reindent.
7374         * javax/swing/JCheckBox.java: Reindent.
7375
7376 2004-08-31  Mark Wielaard  <mark@klomp.org>
7377
7378         * Makefile.am (gtk_c_source_files): Added
7379         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
7380         (gtk_awt_peer_sources): Added
7381         gnu/java/awt/peer/gtk/GThreadMutex.java and
7382         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
7383         * Makefile.in: Regenerated.
7384
7385 2004-08-31  Archie Cobbs  <archie@dellroad.org>
7386
7387         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
7388
7389 2004-08-31  Steven Augart  <augart@watson.ibm.com>
7390
7391         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
7392         Added jfieldID, jmethodID.
7393
7394 2004-08-31  Mark Wielaard  <mark@klomp.org>
7395
7396         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
7397         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
7398         gdk_env before calling any gdk or gtk function.
7399
7400         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
7401         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
7402         (run): Set gtkInitCalled.
7403
7404 2004-08-31  Steven Augart  <augart@watson.ibm.com>
7405
7406         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
7407         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
7408
7409         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
7410         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
7411         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
7412         init_glib_threads.
7413         (init_glib_threads): New function.
7414
7415 2004-08-31  Mark Wielaard  <mark@klomp.org>
7416
7417         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
7418         PRIORITY when not already defined in header file.
7419
7420 2004-08-31  Mark Wielaard  <mark@klomp.org>
7421
7422         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
7423         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
7424
7425 2004-08-31  Steven Augart  <augart@watson.ibm.com>
7426
7427         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
7428         Implemented missing functions for GTK2.
7429         Added error handling.
7430         Renamed static functions out of the g_ namespace.
7431         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
7432         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
7433         Rewrote global-reference code.
7434         Eliminated cascading errors.
7435         (mutex_trylock_jni_impl) Fully implemented.
7436         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
7437         resolution.
7438         (setup_cache) New function.
7439         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
7440         bug where they were not unlocking the GMutex associated with the
7441         condition variable during the wait on that condition variable.
7442
7443         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
7444         native/jni/gtk-peer/gthread-jni.c,
7445         native/jni/gtk-peer/gthread-jni.h
7446         (g_thread_jni_functions): Renamed to ...
7447         (portable_native_sync_jni_functions): this name.
7448         (gdk_vm): Renamed to...
7449         (the_vm): this name.
7450
7451         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
7452         (gdk_vm): Removed duplicate definition.
7453         (gtkInit): Removed stray message to stdout.
7454         (gtkInit): Use g_malloc and g_free instead of malloc and free.
7455         (gtkInit): Fix a const assignment bug.
7456         (gtkInit): Simplified code.
7457
7458         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
7459         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
7460         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
7461         gnu/java/awt/peer/gtk/GThreadMutex.java:
7462         New files.
7463
7464 2004-08-31  Mark Wielaard  <mark@klomp.org>
7465
7466         * javax/swing/Box.java: Put FIXME comment above class declaration.
7467         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
7468         * javax/swing/JCheckBox.java: Likewise.
7469         * javax/swing/JDialog.java: Likewise.
7470         * javax/swing/JRadioButton.java: Likewise.
7471         * javax/swing/JToggleButton.java: Likewise.
7472         * javax/swing/UIManager.java: Likewise.
7473         * javax/swing/border/TitledBorder.java: Likewise.
7474         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
7475         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
7476         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
7477         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
7478         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
7479         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
7480         * javax/swing/text/JTextComponent.java: Likewise.
7481
7482 2004-08-31  David Jee  <djee@redhat.com>
7483
7484         PR AWT/16682
7485         * gnu/java/awt/peer/gtk/GtkFramePeer.java
7486         (setIconImage): Add a FIXME for unhandled cases.
7487
7488 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
7489
7490         PR AWT/16040
7491         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
7492         getModifiers.  Replace old button masks with new ones.
7493         * gnu/awt/xlib/XEventLoop.java: Likewise.
7494         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
7495         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7496         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7497         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
7498         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
7499         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
7500         * java/awt/Component.java: Replace old modifier masks with new
7501         ones.
7502         * java/awt/Container.java: Call getModifiersEx, not
7503         getModifiers.
7504         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
7505         old modifier masks.
7506         * javax/swing/JMenuItem.java: Replace old button masks with new
7507         ones.
7508         * javax/swing/KeyStroke.java: Call getModifiersEx, not
7509         getModifiers.
7510         * javax/swing/SwingUtilities.java: Likewise.
7511         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
7512         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
7513         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
7514         mask macros with new ones.
7515         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
7516         macros with new ones representing new masks.
7517
7518 2004-08-31  Craig Black  <craig.black@aonix.com>
7519
7520         * gnu/java/awt/peer/gtk/GdkGraphics.java
7521         (drawRoundRect): Implemented.
7522         (fillRoundRect): Implemented.
7523         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7524         (drawRoundRect): Reimplemented to match GdkGraphics.
7525         (fillRoundRect): Reimplemented to match GdkGraphics.
7526
7527 2004-08-31  Mark Wielaard  <mark@klomp.org>
7528
7529         * Makefile.in: Regenerated.
7530
7531 2004-08-31  Michael Koch  <konqueror@gmx.de>
7532
7533         * gnu/java/awt/EmbeddedWindow.java
7534         (addNotify): Use AccessController to allow execution of privileged
7535         code.
7536
7537 2004-08-31  Michael Koch  <konqueror@gmx.de>
7538
7539         * gnu/java/awt/EmbeddedWindow.java
7540         (static): Removed.
7541         (addNotify): Set peer via reflection.
7542         (setWindowPeer): Removed.
7543         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
7544         * Makefile.am (nat_source_files):
7545         Removed gnu/java/awt/natEmbeddedWindow.cc.
7546
7547 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
7548
7549         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
7550         and gnu/java/security/action/SetAccessibleAction.java.
7551
7552 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
7553
7554         * gnu/java/security/action/GetPropertyAction.java (setParameters):
7555         Renamed from 'setName'. New 2-argument form with default value.
7556         (run): Pass default 'value' parameter to System.getProperty().
7557         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
7558         typos.
7559
7560 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
7561
7562         * gnu/java/security/action/GetPropertyAction.java: New class.
7563         * gnu/java/security/action/SetAccessibleAction.java: New class.
7564
7565 2004-08-31  David Jee  <djee@redhat.com>
7566
7567         * gnu/java/awt/peer/gtk/GtkFramePeer.java
7568         (setIconImage): Check if image is null.
7569
7570 2004-08-31  David Jee  <djee@redhat.com>
7571
7572         * gnu/java/awt/peer/gtk/GtkFramePeer.java
7573         (create): Set the icon image.
7574         (nativeSetIconImage): New native method declaration.
7575         (setIconImage): Implement.
7576         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7577         (nativeSetIconImage): New function.
7578
7579 2004-08-31  Dalibor Topic <robilad@kaffe.org>
7580
7581         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7582         (filenameFilterCallback): Declare local variable accepted before use.
7583
7584 2004-08-31  Dalibor Topic <robilad@kaffe.org>
7585
7586         * gnu/java/awt/ComponentDataBlitOp.java:
7587         Cleaned up imports.
7588
7589 2004-08-31  Tom Tromey  <tromey@redhat.com>
7590
7591         * gnu/java/awt/peer/GLightweightPeer.java,
7592         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
7593         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7594         javax/swing/JScrollPane.java: Removed
7595         redundant imports.
7596
7597 2004-08-31  David Jee  <djee@redhat.com>
7598
7599         * java/awt/DefaultKeyboardFocusManager.java
7600         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
7601         event.  Fix shift modifier checking.
7602         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7603         (accel_attach): Remove.
7604         (setupAccelGroup): Remove calls to accel_attach.
7605
7606 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
7607
7608         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
7609         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
7610
7611         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
7612         GtkArgList.java.
7613         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
7614         * Makefile.in: Regenerate.
7615         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7616         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7617         (create(String)): New method.
7618         (create): Call new create method.
7619         (getArgs): Remove method.
7620         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
7621         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
7622         (nativeCreate): Rename to create.
7623         (gtkSetLabel): Rename to gtkButtonSetLabel.
7624         (gtkToggleButtonSetActive): New method.
7625         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
7626         (setState): Replace set call with gtkToggleButtonSetActive.
7627         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
7628         (getArgs): Remove method.
7629         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7630         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7631         (gtkWidgetSetSensitive): New method.
7632         (gtkWidgetSetParent): Likewise.
7633         (GtkComponentPeer): Call setParent, setComponentBounds and
7634         setVisibleAndEnabled.
7635         (setParent): New method.
7636         (setComponentBounds): New method.
7637         (setVisibleAndEnabled): New method.
7638         (setEnabled): Call gtkWidgetSetSensitive.
7639         (getArgs): Remove method.
7640         Remove all set methods.
7641         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
7642         gtkWindowSetModal, setTitle and setResizable.
7643         (getArgs): Remove method.
7644         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
7645         (setComponentBounds): New method.
7646         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
7647         Replace set call with gtkWindowSetResizable.
7648         (getArgs): Remove method.
7649         (create): Call setTitle and setResizable.
7650         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
7651         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7652         (gtkWindowSetTitle): New method.
7653         (gtkWindowSetResizable): New method.
7654         (gtkWindowSetModal): New method.
7655         (setParent): New method.
7656         (setVisibleAndEnabled): New method.
7657         (getArgs): Remove method.
7658         (setTitle): Call gtkWindowSetTitle.
7659         (setResizable): Call gtkWindowSetResizable.
7660         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
7661         and off locking instrumentation.
7662
7663 2004-08-31  Kim Ho  <kho@redhat.com>
7664
7665         * Makefile.am: Add new file.
7666         * Makefile.in: Regenerate.
7667         * gcj/Makefile.in: Regenerate
7668         * include/Makefile.in:
7669         * java/awt/Container.java:
7670         (acquireComponentForMouseEvent): Respect
7671         the event mask when looking for candidate.
7672         * javax/swing/JComponent.java:
7673         Remove toolTip field.
7674         (createToolTip): Create a tooltip on demand.
7675         (setToolTipText): Register with the ToolTipManager.
7676         (getToolTipText(MouseEvent)): Return getToolTipText().
7677         * javax/swing/JToolTip.java: Implement.
7678         * javax/swing/Timer.java: Jalopy.
7679         (restart): Call stop, then start.
7680         (stop): Interrupt the timer rather than wait for
7681         the timer to come to a stop naturally.
7682         * javax/swing/ToolTipManager.java: Implement.
7683         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7684         Change ToolTip.background color.
7685         * javax/swing/plaf/basic/BasicToolTipUI.java:
7686         Implement.
7687         * testsuite/Makefile.in: Regenerate
7688
7689 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
7690
7691         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
7692         constructor param comments.
7693
7694 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
7695
7696         * java/awt/Component.java: Document AWT 1.0 event handler
7697         methods.
7698
7699 2004-08-31  Roman Kennke  <roman@ontographics.com>
7700
7701         * javax/swing/Box.java:
7702         (createGlue): Implemented
7703         (createHorizontalGlue): Implemented
7704         (createHorizontalStrut): Implemented
7705         (createVerticalGlue): Implemented
7706         (createVerticalStrut): Implemented
7707
7708 2004-08-31  David Jee  <djee@redhat.com>
7709
7710         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
7711         (GtkChoicePeer): Do not automatically select first item.
7712         (getHistory): Remove.
7713         (nativeGetSelected): New method.
7714         (nativeRemoveAll): New method.
7715         (add): Use nativeGetSelected() instead of getHistory().
7716         (remove): Likewise.
7717         (removeAll): Call nativeRemoveAll().
7718         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7719         (create): Migrate to GtkComboBox.
7720         (append): Likewise.
7721         (nativeAdd): Likewise.
7722         (nativeRemove): Likewise.
7723         (select): Likewise.
7724         (nativeRemoveAll): New method.
7725         (nativeGetSelected): New method.
7726         (selection_changed): New method.
7727         (getHistory): Remove.
7728         (item_activate): Remove.
7729         (item_removed): Remove.
7730         (connect_choice_item_selectable_hook): Remove.
7731
7732 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
7733
7734         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
7735         variable in setEditable call.
7736
7737         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7738         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
7739         (gtkWidgetSetBackground): New method.
7740         (gtkWidgetSetForeground): Likewise.
7741         (create): Set peer's editable state based on awtComponent's.
7742
7743         * java/awt/Button.java (Button()): Use empty string rather than
7744         null in no-label constructor.
7745
7746 2004-08-31  Roman Kennke  <roman@ontographics.com>
7747
7748         * javax/swing/BoxLayout.java: Reimplement.
7749
7750 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
7751
7752         * gnu/java/awt/peer/gtk/GdkGraphics.java,
7753         gnu_java_awt_peer_gtk_GdkGraphics.c
7754         (initState(GtkComponentPeer)): Don't return array of colour
7755         values.
7756         (GdkGraphics(int,int)): Set default font to size 12.
7757         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
7758         component's foreground colour.
7759         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
7760         gnu_java_awt_peer_gtk_GdkGraphics2D.c
7761         (initState(GtkComponentPeer)): Don't return array of colour
7762         values.
7763         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
7764         colours to component's colours.
7765         (current_colors_of_widget): Remove function.
7766         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
7767         Return a new graphics object.
7768         * java/awt/Font.java (toString): Fix format.
7769         * java/awt/Graphics.java (toString): Likewise.
7770
7771 2004-08-31  Craig Black  <craig.black@aonix.com>
7772
7773         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7774         (addTearOff): New function.
7775         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
7776         New native method.
7777         (init): Call addTearOff() when menu.isTearOff().
7778
7779 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
7780
7781         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
7782         Default implementation.
7783         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
7784         Implement using GdkPixbufDecoder.
7785
7786 2004-08-31  David Jee  <djee@redhat.com>
7787
7788         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7789         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
7790         setting the size of GtkFileDialogPeers.
7791         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7792         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
7793         use their default sizes rather than their natural requisitions.
7794
7795 2004-08-31  Michael Koch  <konqueror@gmx.de>
7796
7797         * javax/swing/JFormattedTextField.java
7798         (JFormattedTextField): Implemented.
7799         * javax/swing/text/DefaultEditorKit.java
7800         (BeepAction): New inner class.
7801         * javax/swing/text/Segment.java
7802         (partialReturn): New field.
7803         (setPartialReturn): New method.
7804         (isPartialReturn): Likewise.
7805         * javax/swing/text/View.java
7806         (createFragment): Fixed typo.
7807         (getStartOffset): New method.
7808         (getEndOffset): Likewise.
7809
7810 2004-08-31  Michael Koch  <konqueror@gmx.de>
7811
7812         * javax/swing/table/DefaultTableColumnModel.java
7813         (serialVersionUID): Made private.
7814         (listenerList): Initialize.
7815         (changeEvent): Initialize.
7816         * javax/swing/table/JTableHeader.java
7817         (JTableHeader): New constructors.
7818         (createDefaultColumnModel): New method.
7819         * javax/swing/table/TableColumn.java
7820         (setHeaderRenderer): Simplified code.
7821         (setCellRenderer): Likewise.
7822         (setWidth): Likewise.
7823
7824 2004-08-31  Tom Tromey  <tromey@redhat.com>
7825
7826         * java/text/AttributedString.java (AttributedString): Use
7827         ArrayList to build array of attribute ranges.  Don't use
7828         `attribs' before it is set.
7829
7830 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
7831
7832         * HACKING: Remove reference to special automake. No longer needed.
7833
7834 2004-08-30  Tom Tromey  <tromey@redhat.com>
7835
7836         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
7837         return result from `add'.
7838
7839 2004-08-30  Tom Tromey  <tromey@redhat.com>
7840
7841         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
7842
7843 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
7844
7845         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
7846
7847 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
7848
7849         * java/io/File.java File(String,String): Fixed handling of empty
7850         path.
7851
7852 2004-08-30  Casey Marshall  <csm@gnu.org>
7853
7854         Author e-mail updated for all files.
7855         * gnu/java/security/OID.java (equals): Test if the aurgment is an
7856         instance of OID.
7857         (compareTo): Use `equals'.
7858         * gnu/java/security/der/BitString.java (equals): Test if the
7859         argument is an instance of BitString.
7860         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
7861         class final. Made fields private.
7862         (<init>): New constructor.
7863         (skip): New method.
7864         (makeString): Made static; don't use NIO.
7865         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
7866         * gnu/java/security/der/DERWriter.java: Fixed imports.
7867         (writeString): Don't use NIO.
7868         (toIso88591, toUtf16Be, toUtf8): New methods.
7869         * gnu/java/security/der/DERValue.java: Formatting changes only.
7870         * gnu/java/security/der/DER.java: Likewise.
7871
7872 2004-08-30  Tom Tromey  <tromey@redhat.com>
7873
7874         * java/nio/CharBuffer.java (put): Fix typo.
7875         * java/nio/DoubleBuffer.java (put): Fix typo.
7876         * java/nio/FloatBuffer.java (put): Fix typo.
7877         * java/nio/IntBuffer.java (put): Fix typo.
7878         * java/nio/LongBuffer.java (put): Fix typo.
7879         * java/nio/ShortBuffer.java (put): Fix typo.
7880
7881 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
7882
7883         * java/nio/ByteBuffer.java (put): Fix typo.
7884
7885 2004-08-30  Casey Marshall  <csm@gnu.org>
7886
7887         * java/security/DummyKeyPairGenerator.java (clone): Removed
7888         useless instanceof check.
7889         * java/security/DummyMessageDigest.java (clone): Likewise.
7890         * java/security/DummySignature.java (clone): Likewise.
7891         * java/security/MessageDigest.java (clone): Remove useless
7892         instanceof check.
7893         * java/security/MessageDigestSpi.java (clone): Likewise.
7894         * java/security/Signature.java (clone): Provide meaningful
7895         implementation.
7896         * java/security/SignatureSpi.java (clone): Likewise.
7897
7898 2004-08-29  Mark Wielaard  <mark@klomp.org>
7899
7900         * java/util/Arrays.java
7901         (sort(byte[], int, int)): Check fromIndex < 0.
7902         (sort(char[], int, int)): Likewise.
7903         (sort(short[], int, int)): Likewise.
7904         (sort(int[], int, int)): Likewise.
7905         (sort(long[], int, int)): Likewise.
7906         (sort(float[], int, int)): Likewise.
7907         (sort(double[], int, int)): Likewise.
7908         (sort(Object[], int, int, Comparator)): Likewise.
7909         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
7910         (qsort(char[], int, int)): Likewise.
7911         (qsort(short[], int, int)): Likewise.
7912         (qsort(int[], int, int)): Likewise.
7913         (qsort(long[], int, int)): Likewise.
7914         (qsort(float[], int, int)): Likewise.
7915         (qsort(double[], int, int)): Likewise.
7916
7917 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7918
7919         * java/util/AbstractCollection.java, java/util/AbstractList.java,
7920         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
7921         java/util/ArrayList.java, java/util/Arrays.java,
7922         java/util/BitSet.java, java/util/Calendar.java,
7923         java/util/Collection.java, java/util/ListIterator.java,
7924         java/util/Map.java, java/util/SortedSet.java:
7925         Added additional exceptions to documentation, along
7926         with some additions and corrections.
7927
7928 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
7929
7930         * configure.ac: Handle --enable-gc-debug.
7931         * configure: Regenerate.
7932         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
7933         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
7934         Rearrange include file order.
7935         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
7936         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
7937         (disable_gc_mutex): Delete along with all references.
7938         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
7939         adjust for debug header size.
7940         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
7941         debug case.
7942         (_Jv_AllocArray): Declare min_heap_addr only if needed.
7943         (gcj_describe_type_fn): New.
7944         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
7945         Register gcj_describe_type_fn.
7946         * include/boehm-gc.h:
7947         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
7948         Don't define, but declare, for debug case.
7949         * java/lang/natObject.cc:
7950         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
7951
7952 2004-08-26  Mark Wielaard  <mark@klomp.org>
7953
7954         Fixes PR libgcj/17002:
7955         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
7956         a TimeZoneId string and then try to convert that to a TimeZone with
7957         getDefaultSystemTimeZone(String).
7958         (timezones0): Changed type from Hashtable to HashMap.
7959         (timezones): Create HashMap, not Hashtable.
7960         (getDefaultTimeZone): New method, rewritten from CNI version.
7961         (readTimeZoneFile): New method.
7962         (readtzFile): Likewise.
7963         (skipFully): Likewise.
7964         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
7965         getDefaultTimeZoneId and rewritten.
7966         (getDefaultTimeZoneId): Rewritten in java.
7967
7968 2004-08-25  David Daney  <daney@avtrex.com>
7969
7970         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
7971         * Makefile.in: Regenerated.
7972
7973 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
7974
7975         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
7976         only if jvmpi is enabled.
7977         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
7978         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
7979         (_Jv_AllocString): Likewise.
7980         (_Jv_AllocPtrFreeObject): Likewise.
7981
7982 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
7983
7984         * defineclass.cc: Include <stdio.h>.
7985         * java/lang/natClassLoader.cc: Include <stdio.h>.
7986
7987 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
7988             Michael Koch  <konqueror@gmx.de>
7989
7990         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
7991         * Makefile.in: Regenerated.
7992
7993 2004-08-20  Michael Koch  <konqueror@gmx.de>
7994
7995         * configure.ac: Replaced all AC_TRY_COMPILE macros with
7996         AC_COMPILE_IFELSE macros.
7997
7998 2004-08-20  Michael Koch  <konqueror@gmx.de>
7999
8000         * configure.in: Renamed to configure.ac.
8001         * configure.ac: New file.
8002         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
8003         include/config.h.in, testsuite/Makefile.in: Regenerated.
8004
8005 2004-08-20  Michael Koch  <konqueror@gmx.de>
8006
8007         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
8008         * aclocal.m4, configure: Regenerated.
8009
8010 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
8011             Michael Koch  <konqueror@gmx.de>
8012
8013         * configure.in, Makefile.am: Ported to automake 1.9.
8014         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
8015         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
8016         Regenerated.
8017
8018 2004-08-19  Tom Tromey  <tromey@redhat.com>
8019
8020         * java/net/DatagramSocket.java: Fixed typo.
8021
8022 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
8023
8024         PR libgcj/17081
8025         * java/net/URI.java (string): New field. Make all other fields
8026         transient.
8027         (readObject): Implemented.
8028         (writeObject): Implemented.
8029         (URI): Set 'string'.
8030
8031 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
8032
8033         PR libgcj/17079
8034         * java/util/logging/Handler.java (isLoggable): Accept record if its
8035         log level equals the threshold level. From Robin Green.
8036
8037 2004-08-18  David Daney  <ddaney@avtrex.com>
8038
8039         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
8040         instead of sigwait.
8041
8042 2004-08-17  Michael Koch  <konqueror@gmx.de>
8043
8044         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
8045         * Makefile.in: Regenerated.
8046
8047 2004-08-16  Tom Tromey  <tromey@redhat.com>
8048
8049         PR java/8473:
8050         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
8051
8052 2004-08-16  Michael Koch  <konqueror@gmx.de>
8053
8054         * Makefile.am
8055         (math_c_files): Renamed from c_files.
8056         (math_c_source_files): Renamed from c_source_files.
8057         * Makefile.in,
8058         gcj/Makefile.in,
8059         include/Makefile.in,
8060         testsuite/Makefile.in: Regenerated.
8061
8062 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
8063
8064         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
8065         to avoid autoconf warning.
8066         * configure: Rebuilt.
8067
8068 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
8069
8070         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
8071         localhostAddress to loopbackAddress.
8072         * java/net/natInetAddressWin32.cc (lookup): Likewise.
8073
8074 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
8075
8076         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
8077         boehm-gc's include dirs.
8078         * configure: Rebuilt.
8079         * include/boehm-gc.h: Include gc_config.h.
8080
8081 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
8082
8083         * java/net/InetAddress.java (loopbackAddress): Renamed from
8084         localhostAddress.
8085         (getByName): Return loopback address for null hostname, without
8086         security check. Use lookup(), not getAllByName.
8087         (getAllByName): Return loopback address for null hostname, without
8088         security check.
8089         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
8090         check here.
8091
8092 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
8093
8094         PR libgcj/17020
8095         Reported by Robin Green.
8096         * defineclass.cc (handleField): Don't throw exception on unrecognised
8097         modifier. Add FIXME comments for spec compliance.
8098         (handleMethod): Likewise.
8099
8100 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
8101
8102         PR libgcj/16662
8103         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
8104         (Almost everywhere): add LOG calls, fix, add comments.
8105         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
8106         Add explicit check for LOCKED bit in slow case (PR 16662).
8107         (_Jv_MonitorExit): Add casts in debug-only code.
8108         Always release LOCKED bit before throwing exception.
8109         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
8110         isn't.  Handle easy cases without lock acquisition.
8111         (Object::wait): Use NotifyAll for lock inflation.
8112
8113 2004-08-12  David Daney  <ddaney@avtrex.com>
8114
8115         * testsuite/libjava.lang/Process_1.java: New test.
8116         * testsuite/libjava.lang/Process_2.java: New test.
8117         * testsuite/libjava.lang/Process_3.java: New test.
8118         * testsuite/libjava.lang/Process_4.java: New test.
8119         * testsuite/libjava.lang/Process_5.java: New test.
8120         * testsuite/libjava.lang/Process_6.java: New test.
8121         * testsuite/libjava.lang/Process_1.out: Expected result.
8122         * testsuite/libjava.lang/Process_2.out: Expected result.
8123         * testsuite/libjava.lang/Process_3.out: Expected result.
8124         * testsuite/libjava.lang/Process_4.out: Expected result.
8125         * testsuite/libjava.lang/Process_5.out: Expected result.
8126         * testsuite/libjava.lang/Process_6.out: Expected result.
8127
8128 2004-08-12  David Daney  <ddaney@avtrex.com>
8129
8130         PR libgcj/11801
8131         * java/lang/PosixProcess.java: Rewrote.
8132         * java/lang/natPosixProcess.cc: Rewrote.
8133         * java/lang/Runtime.java (execInternal): Declare throws IOException.
8134         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
8135         * posix-threads.cc (block_sigchld) New function.
8136         (_Jv_ThreadRegister) Use it.
8137         (_Jv_ThreadStart) Use it.
8138         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
8139         * Makefile.am: ... to specify extra native headers.
8140         * configure: Regenerated.
8141         * include/config.h: Regenerated.
8142         * Makefile.in: Regenerated.
8143         * gcj/Makefile.in: Regenerated.
8144         * include/Makefile.in: Regenerated.
8145         * testsuite/Makefile.in: Regenerated.
8146
8147 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
8148
8149         PR tree-optimization/16867
8150         * testsuite/libjava.lang/PR16867.java: New test.
8151
8152 2004-08-09  Per Bothner  <per@bothner.com>
8153
8154         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
8155         with private fields and access methods.
8156         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
8157         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
8158         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
8159         ( _Jv_makeUtf8Const): Rewrite using new constructors.
8160         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
8161         * defineclass.cc: Use new _Utf8Const access/convenience methods.
8162         * jni.cc: Likewise.
8163         * resolve.cc: Likewise.
8164         * gcj/field.h: Likewise.
8165         * include/jvm.h: Likewise.
8166         * java/lang/Class.h: Likewise.
8167         * java/lang/natClass.cc: Likwise.
8168         * java/lang/natClassLoader.cc: Likewise
8169         * java/lang/reflect/natMethod.cc: Likewise
8170         * verify.cc: Likewise.
8171         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
8172         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
8173
8174 2004-08-10  Andrew Haley  <aph@redhat.com>
8175
8176         * testsuite/libjava.lang/err14.java: New file.
8177         * testsuite/libjava.lang/err14.out: New file.
8178
8179 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
8180
8181         * Makefile.am: Fix missing rename from x_nat_headers to
8182         xlib_nat_headers.
8183         * Makefile.in: Regenerated.
8184
8185 2004-08-04  Andrew Haley  <aph@redhat.com>
8186
8187         * java/security/BasicPermission.java: Don't check wildcards.
8188
8189 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
8190             Michael Koch  <konqueror@gmx.de>
8191
8192         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
8193         * configure.in: Replaced all usages of AC_LINK_FILES by
8194         AC_CONFIG_LINKS.
8195         * aclocal.m4,
8196         configure: Regenerated.
8197
8198 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
8199             Michael Koch  <konqueror@gmx.de>
8200
8201         * acconfig.h: Removed.
8202         * Makefile.am: Rename variables for xlib peer to include xlib and
8203         gtk_c_headers to gtk_jni_headers.
8204         * Makefile.in: Regenerated.
8205
8206 2004-08-04  Andrew Haley  <aph@redhat.com>
8207
8208         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
8209         debugging.
8210
8211 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
8212
8213         * configure.in: Eliminate uses of changequote (mostly by quoting []).
8214         Replace most top level 'dnl' comments with '#' comments, conforming
8215         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
8216         help strings.
8217         * configure: Rebuilt.
8218
8219 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
8220
8221         * acinclude.m4: Include no-executables.m4.
8222         * aclocal.m4: Rebuild.
8223         * configure.in: Convert to the autoconf 2.59 version of
8224         of the no-executables hack, and also of the nonstandard CXX
8225         hack and the multilibbed CC and CXX hack.  Change prerequisite
8226         to autoconf 2.59.
8227         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
8228         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8229         testsuite/Makefile.in: Regenerate.
8230
8231 2004-08-03  Tom Tromey  <tromey@redhat.com>
8232
8233         * jni.cc: Reindented.
8234
8235 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
8236
8237         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
8238
8239 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
8240
8241         * testsuite/libjava.compile/PR16701.java: New test.
8242
8243 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8244
8245         * java/util/Collection.java, java/util/List.java,
8246         java/util/Map.java, java/util/Set.java,
8247         java/util/SortedMap.java, java/util/SortedSet.java:
8248         Added additional exceptions to documentation.
8249
8250 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
8251
8252         PR libgcj/16814
8253         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
8254         * configure. Regenerate.
8255         * include/win32.h: Explicitly include winsock2.h
8256         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
8257         Winsock api.
8258
8259 2004-07-30  Michael Koch  <konqueror@gmx.de>
8260
8261         * java/util/zip/GZIPInputStream.java
8262         (GZIPInputStream): Increase buffer size to 4k.
8263         * java/util/zip/GZIPOutputStream.java
8264         (GZIPOutputStream): Likewise.
8265         * java/util/zip/Inflater.java
8266         (setInput): Merged formating with GNU classpath.
8267         * java/util/zip/InflaterInputStream.java
8268         (InflaterInputStream): Increase buffer size to 4k.
8269         (fill): Throw exception if stream ends early.
8270         (read): Merged endless-loop with GNU classpath.
8271         (skip): Increase buffer size to 2k.
8272
8273 2004-07-30  Michael Koch  <konqueror@gmx.de>
8274
8275         * gnu/java/awt/EmbeddedWindow.java
8276         (addNotify): Use AccessController to allow execution of privileged
8277         code.
8278
8279 2004-07-29  Michael Koch  <konqueror@gmx.de>
8280
8281         * gnu/java/lang/MainThread.java:
8282         Explicitely import used classes.
8283         (args): Make it type String[].
8284
8285 2004-07-29 Dalibor Topic <robilad@kaffe.org>
8286
8287         * gnu/java/awt/ComponentDataBlitOp.java,
8288         gnu/java/beans/ExplicitBeanInfo.java,
8289         gnu/java/beans/IntrospectionIncubator.java,
8290         gnu/java/beans/editors/ColorEditor.java,
8291         gnu/java/beans/editors/FontEditor.java,
8292         gnu/java/beans/editors/NativeBooleanEditor.java,
8293         gnu/java/beans/editors/NativeByteEditor.java,
8294         gnu/java/beans/editors/NativeDoubleEditor.java,
8295         gnu/java/beans/editors/NativeFloatEditor.java,
8296         gnu/java/beans/editors/NativeIntEditor.java,
8297         gnu/java/beans/editors/NativeLongEditor.java,
8298         gnu/java/beans/editors/NativeShortEditor.java,
8299         gnu/java/beans/editors/StringEditor.java,
8300         gnu/java/io/ClassLoaderObjectInputStream.java,
8301         gnu/java/io/decode/Decoder.java,
8302         gnu/java/io/encode/Encoder.java,
8303         gnu/java/lang/ClassHelper.java,
8304         gnu/java/locale/Calendar.java,
8305         gnu/java/locale/Calendar_de.java,
8306         gnu/java/locale/Calendar_en.java,
8307         gnu/java/locale/Calendar_nl.java,
8308         gnu/java/locale/LocaleInformation_de.java,
8309         gnu/java/locale/LocaleInformation_en.java,
8310         gnu/java/locale/LocaleInformation_nl.java:
8311         Cleaned up imports.
8312
8313 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
8314
8315         * README: Remove obsolete info. Update bug URL.
8316         * THANKS: Updated.
8317         * NEWS: Updated with news up to GCC 3.4 release.
8318
8319 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
8320
8321         * gnu/java/security/action/GetPropertyAction.java (setParameters):
8322         Renamed from 'setName'. New 2-argument form with default value.
8323         (run): Pass default 'value' parameter to System.getProperty().
8324         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
8325         typos.
8326         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
8327         not 'setName'.
8328
8329 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
8330
8331         * configure.in: Check for minimum GTK version 2.4 requirement.
8332         * configure: Rebuilt.
8333
8334 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
8335
8336         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
8337         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
8338         Reduce sleep time.
8339         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
8340         compiler bug.
8341         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
8342         address. Reduce sleep times. Synchronize with target threads before
8343         attempting to interrupt them. Don't try to calibrate yeild count,
8344         instead, always loop for a fixed time.
8345         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
8346         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
8347         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
8348         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
8349         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
8350         * testsuite/libjava.lang/pr179.java: Likewise.
8351         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
8352         time. Remove upper bounds check on sleep time.
8353
8354 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
8355
8356         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
8357         * testsuite/libjava.lang/Thread_HoldsLock.out: New.
8358
8359 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
8360
8361         * java/io/File.java (toURI): Throw RuntimeException, not
8362         InternalError.
8363         * java/lang/Runtime.java (exit): Qualify static sleep() call with
8364         class name, not instance.
8365
8366 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
8367
8368         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
8369         and gnu/java/security/action/SetAccessibleAction.java.
8370         * Makefile.in: Rebuilt.
8371
8372 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
8373
8374         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
8375         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
8376         _Jv_InitPrimClass.
8377         (DECLARE_PRIM_TYPE): Don't declare array vtables.
8378         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
8379         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
8380
8381 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
8382
8383         * Makefile.am: Replace jar, rmic and rmiregistry references with
8384         gjar, grmic and grmiregistry.
8385         * configure.in: Likewise.
8386         * Makefile.in: Regenerate.
8387         * configure: Likewise.
8388         * gcj/Makefile.in: Likewise.
8389         * include/Makefile.in: Likewise.
8390         * testsuite/Makefile.in: Likewise.
8391
8392 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
8393
8394         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
8395         for privileged getProperty calls.
8396         * java/io/ObjectOutputStream.java (getField): No longer static. Use
8397         SetAccessibleAction instead of anonymous class for doPrivileged call.
8398         (getMethod): Likewise.
8399         (setAccessible): New field. PrivilegedAction object to use when
8400         calling setAccessible.
8401         * java/io/ObjectStreamClass.java (calculateOffsets): Use
8402         SetAccessibleAction instead of anonymous class for diPrivileged call.
8403         (setFields): Likewise.
8404         (getClassUID): Likewise.
8405         (findMethod): Likewise.
8406         * gnu/java/security/action/GetPropertyAction.java: New class.
8407         * gnu/java/security/action/SetAccessibleAction.java: New class.
8408
8409 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
8410
8411         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
8412         for final fields.
8413         * testsuite/libjava.lang/Serialization.java: New test.
8414         * testsuite/libjava.lang/Serialization.out: New.
8415
8416 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
8417
8418         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
8419         missed in last commit.
8420
8421 2004-07-23  Mark Wielaard  <mark@klomp.org>
8422
8423         * java/lang/System.java (static): Set http.agent system property when
8424         not yet set.
8425         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
8426         from system property inside AccessController.doPrivileged() call.
8427         (proxyPort): Made package private.
8428         (proxyInUse): Likewise.
8429         (proxyHost): Likewise.
8430         (userAgent): Likewise.
8431
8432 2004-07-23  Mark Wielaard  <mark@klomp.org>
8433
8434         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
8435         implementation.
8436
8437 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
8438
8439         * Makefile.am (ordinary_java_source_files): Add
8440         DefaultContentHandlerFactory.java.
8441         * Makefile.in: Rebuilt.
8442         * java/net/URLConnection.java (defaultFactory): New field.
8443         (getContent):
8444         (getContentHandler): Renamed from 'setContentHandler'. Try
8445         defaultFactory after user-set factory, if any. Search for content
8446         handler implementations in gnu.java.net.content, not gnu.gcj.content.
8447         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
8448         Implemented.
8449         (getLastModified): Implemented.
8450         (getPermission): Create file permission here, instead of in
8451         constructor.
8452         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
8453         Implemented.
8454         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
8455         Implemented.
8456         (getLastModified): Implemented.
8457         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
8458         Default implementation.
8459         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
8460         Implement using GdkPixbufDecoder.
8461
8462 2004-07-21  Michael Koch  <konqueror@gmx.de>
8463
8464         * javax/swing/JTextArea.java
8465         (setLineWrap): Fire property change event after new value is set.
8466         (setTabSize): Likewise.
8467
8468 2004-07-21  Michael Koch  <konqueror@gmx.de>
8469
8470         * javax/swing/JTable.java
8471         (autoCreateColumnsFromModel): New field.
8472         (autoResizeMode): Likewise.
8473         (cellEditor): Likewise.
8474         (cellSelectionEnabled): Likewise.
8475         (columnModel): Likewise.
8476         (dataModel): Likewise.
8477         (defaultEditorsByColumnClass): Likewise.
8478         (defaultRenderersByColumnClass): Likewise.
8479         (editingColumn): Likewise.
8480         (editingRow): Likewise.
8481         (gridColor): Likewise.
8482         (preferredViewportSize): Likewise.
8483         (rowHeight): Likewise.
8484         (rowMargin): Likewise.
8485         (rowSelectionAllowed): Likewise.
8486         (selectionBackground): Likewise.
8487         (selectionForeground): Likewise.
8488         (selectionModel): Likewise.
8489         (showHorizontalLines): Likewise.
8490         (showVerticalLines): Likewise.
8491         (tableHeader): Likewise.
8492         (JTable): Implemented.
8493         (getColumnModel): Likewise.
8494         (getSelectedRow): Likewise.
8495         (getSelectionModel): Likewise.
8496         (setModel): Likewise.
8497         (setSelectionModel): Likewise.
8498         (createScrollPaneForTable): New method.
8499         (createDefaultDataModel): Likewise.
8500         (createDefaultListSelectionModel): Likewise.
8501         (getModel): Likewise.
8502         (getTableHeader): Likewise.
8503         (setTableHeader): Likewise.
8504         (getColumnSelectionAllowed): Likewise.
8505         (setColumnSelectionAllowed): Likewise.
8506         (getRowSelectionAllowed): Likewise.
8507         (setRowSelectionAllowed): Likewise.
8508         (getAutoResizeMode): Likewise.
8509         (setAutoResizeMode): Likewise.
8510         (getColumnCount): Likewise.
8511         (getRowCount): Likewise.
8512         (getCellRenderer): Likewise.
8513         * javax/swing/JTree.java
8514         (cellRenderer): New field.
8515         (editable): Likewise.
8516         (rootVisible): Likewise.
8517         (showsRootHandles): Likewise.
8518         (getModel): New method.
8519         (setModel): Likewise.
8520         (isEditable): Likewise.
8521         (setEditable): Likewise.
8522         (isRootVisbile): Likewise.
8523         (setRootVisible): Likewise.
8524         (getShowsRootHandles): Likewise.
8525         (setShowRootHandles): Likewise.
8526         (getCellRenderer): Likewise.
8527         (setCellRenderer): Likewise.
8528
8529 2004-07-21  Michael Koch  <konqueror@gmx.de>
8530
8531         * javax/swing/JFormattedTextField.java
8532         (setDocument): Implemented.
8533         * javax/swing/JRootPane.java:
8534         Fixed javadocs.
8535         * javax/swing/JTable.java
8536         (getDefaultRenderer): New method.
8537         * javax/swing/JTextField.java
8538         (setFont): Likewise.
8539         (getPreferredSize): Likewise.
8540         * javax/swing/JToggleButton.java
8541         (getAccessibleContext): Fix javadoc.
8542         * javax/swing/JTree.java:
8543         Add some javadocs.
8544         * javax/swing/JViewport.java:
8545         Likewise.
8546
8547 2004-07-21  David Jee  <djee@redhat.com>
8548
8549         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
8550         Collect all native method declaration at the top.
8551         (create): Set the filename filter if necessary.
8552         (setDirectory): Call nativeSetDirectory().
8553         (setFilenameFilter): Implement.
8554         (filenameFilterCallback): New method.
8555         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8556         (create): Configure dialog to show hidden files.
8557         (filenameFilterCallback): New function.
8558         (nativeSetFilenameFilter): New function.
8559         (nativeSetDirectory): New function.
8560
8561 2004-07-21  Kim Ho  <kho@redhat.com>
8562
8563         * javax/swing/plaf/basic/BasicSliderUI.java:
8564         Ran Jalopy.
8565         (paintTrack): Fill the track before painting
8566         the borders.
8567
8568 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8569
8570         patch from Roman Kennke <roman@ontographics.com>
8571         * javax/swing/Spring.java: New file.
8572         * javax/swing/SpringLayout.java: New file.
8573         * Makefile.am: Add new files.
8574         * Makefile.in: Regenerate.
8575
8576 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8577
8578         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
8579         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
8580         * javax/swing/ScrollPaneLayout.java: Likewise.
8581
8582 2004-07-21  Kim Ho  <kho@redhat.com>
8583
8584         * javax/swing/DefaultDesktopManager.java:
8585         (findMinimum): Removed.
8586         (resizeFrame): Trust the UI to pass valid
8587         bounds.
8588         * javax/swing/JOptionPane.java:
8589         Implemented showInternalXXXDialog methods.
8590         (startModal): New method.
8591         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
8592         (BorderListener::mouseDragged): Verify that the new
8593         bounds are valid before passing them to the DesktopManager.
8594         (preferredLayoutSize): Delegate
8595         to getSize.
8596         (minimumLayoutSize): Ditto.
8597         (getSize): New method.
8598         (GlassPaneDispatcher): Reimplemented by copying
8599         a stripped down LightweightDispatcher from Container.
8600         (getMinimumSize): Call minimumLayoutSize.
8601         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
8602         Ran Jalopy.
8603         (mousePressed): Add ability to properly close
8604         JInternalFrames.
8605         * javax/swing/plaf/basic/BasicToolBarUI.java:
8606         (DragWindow): Set owner for DragWindow.
8607
8608 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
8609
8610         * java/awt/image/ShortLookupTable.java: New file.
8611         * java/awt/image/ByteLookupTable.java: New file.
8612         * Makefile.am: Added new files.
8613         * Makefile.in: Regenerated.
8614
8615 2004-07-21  David Jee  <djee@redhat.com>
8616
8617         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
8618         (create(GtkContainerPeer)): New native method.
8619         (create()): Call native create(), passing in the parent frame
8620         as the paramter. Natively set the current file and directory.
8621         (setFile): Construct an absolute filename before passing it to
8622         the native peer.
8623         (nativeGetDirectory): New method.
8624         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8625         (window_closed): Removed.
8626         (ok_clicked): Likewise.
8627         (cancel_clicked): Likewise.
8628         (handle_response): New method.
8629         (create): Use GtkFileChooserDialog.
8630         (connectSignals): Connect to handle_response.
8631         (nativeGetDirectory): New method.
8632         (nativeSetFile): Use GtkFileChooserDialog.
8633
8634 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
8635
8636         * java/awt/image/LookupTable.java: New file.
8637         * Makefile.am: Added new file.
8638         * Makefile.in: Regenerated.
8639
8640 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
8641
8642         * java/awt/image/Kernel.java: New file.
8643         * Makefile.am: Added new file.
8644         * Makefile.in: Regenerated.
8645
8646 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8647
8648         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
8649         * javax/swing/JMenu.java: Likewise.
8650         * javax/swing/JMenuBar.java: Likewise.
8651         (MARGIN_CHANGED_PROPERTY): New property.
8652         (setMargin): Implemented.
8653         * javax/swing/JMenuItem.java: Fixed javadocs.
8654         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
8655         (LABEL_CHANGED_PROPERTY): New property.
8656         (add): changed to use createActionComponent.
8657         (createActionComponent): Implemented.
8658         (setLabel): Fire PropertyChangeEvent if label property
8659         changes.
8660         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
8661         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
8662         (ContainerHandler): Repaint if margin property has changed.
8663         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8664         (installUI): Call installComponents().
8665         (uninstallUI): Call uinstallComponents().
8666         * javax/swing/plaf/basic/BasicMenuUI.java:
8667         Fixed javadocs.
8668         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8669         Likewise.
8670
8671 2004-07-21  Kim Ho  <kho@redhat.com>
8672
8673         * javax/swing/plaf/basic/BasicToolBarUI.java:
8674         (DragWindow): Use the right constructor.
8675
8676 2004-07-21  Kim Ho  <kho@redhat.com>
8677
8678         * javax/swing/JToolBar.java:
8679         (layoutContainer): Use getComponents.
8680         * javax/swing/plaf/basic/BasicToolBarUI.java:
8681         (DragWindow): Don't use SwingUtilities'
8682         getOwnerFrame
8683         (ToolBarDialog): ditto.
8684
8685 2004-07-21  Kim Ho  <kho@redhat.com>
8686
8687         * javax/swing/JRootPane.java:
8688         Ran jalopy.
8689         (layoutContainer): Set the glasspane's size to
8690         be the same as the content pane.
8691         (createGlassPane): Set opaque property to false.
8692
8693 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8694
8695         * java/awt/Component.java (requestFocus()): Don't handle Panels
8696         specially.
8697         (requestFocus(boolean)): Likewise.
8698         (requestFocusInWindow(boolean)): Likewise.
8699         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
8700         Set GTK_CAN_FOCUS flag.
8701
8702 2004-07-21  Kim Ho  <kho@redhat.com>
8703
8704         * Makefile.am: Added new file.
8705         * Makefile.in: Regenerated.
8706         * gcj/Makefile.in: Regenerated.
8707         * include/Makefile.in: Regenerated.
8708         * javax/swing/AbstractButton.java:
8709         Add rollOverEnabled property.
8710         (setRolloverEnabled): Use new property.
8711         (isRolloverEnabled): Use new property.
8712         * javax/swing/JTabbedPane.java:
8713         (setComponent): Remove useless JTabbedPane.this.
8714         * javax/swing/JToolBar.java: Finish implementation.
8715         * javax/swing/plaf/basic/BasicArrowButton.java:
8716         (paint): Moved border painting to a border.
8717         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8718         Change JToolBar look and feel defaults.
8719         * javax/swing/plaf/basic/BasicOptionPaneUI.java
8720         (actionPerformed): Return Integer index instead of name.
8721         (addButtonComponents): Check to see if component is
8722         JButton last.
8723         (createMessageArea): Don't use components that are not
8724         completed yet.
8725         (getIconForType): Use temporary icons.
8726         * javax/swing/plaf/basic/BasicSliderUI.java:
8727         (mousePressed): Do not return if it's on thumb.
8728         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
8729         (paintMinorTickForVertSlider): ditto.
8730         (paintMajorTickForHorizSlider): ditto.
8731         (paintMajorTickForVertSlider): ditto.
8732         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
8733         Add a border around the SplitPaneDivider.
8734         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
8735         Remove comments.
8736         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
8737         New file. Implemented.
8738         * javax/swing/plaf/basic/BasicToolBarUI.java:
8739         Implemented.
8740         * testsuite/Makefile.in: Regenerated.
8741
8742 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8743
8744         * javax/swing/Timer.java (run): Queue events each time cycle.
8745
8746 2004-07-21  David Jee  <djee@redhat.com>
8747
8748         * gnu/java/awt/peer/gtk/GtkImagePainter.java
8749         (imageComplete): Call image.imageComplete().
8750         * java/awt/image/MemoryImageSource.java:
8751         Reimplement consumers as a Vector instead of a Hashtable.  This is
8752         because enumeration on a Hashtable is not thread-safe.
8753         (addConsumer): Adapt to Vector consumers.
8754         (isConsumer): Adapt to Vector consumers.
8755         (removeConsumer): Adapt to Vector consumers.
8756         (startProduction): Adapt to Vector consumers. Call imageComplete()
8757         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
8758         (newPixels): Adapt to Vector consumers.
8759         (sendPicture): Set the color model of the image consumer.
8760         (newPixels(IIII)): Adapt to Vector consumers.
8761         (newPixels(IIIIB)): Adapt to Vector consumers.
8762
8763 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8764
8765         * java/awt/Component.java (deliverEvent): Implement.
8766         (postEvent): Implement.
8767         (handleEvent): Implement.
8768         (translateEvent): New method.
8769         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
8770         * java/awt/Container.java (deliverEvent): Implement.
8771         * java/awt/Event.java (paramString): Fix formatting.
8772         * java/awt/Font.java (toString): Likewise.
8773         * java/awt/Window.java (postEvent): Implement.
8774
8775 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8776
8777         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
8778         Set window's focus owner upon receiving a FOCUS_LOST event.
8779         * java/awt/Window.java (Window()): Refocus the previously
8780         focused component within the window when the window regains the
8781         top-level focus.
8782         (setFocusOwner): New method.
8783         * java/awt/Component.java (requestFocus): Add FIXME.
8784
8785         * libgcj.pc.in: Remove library flags.
8786
8787 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
8788
8789         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
8790         MOUSE_PRESSED event.
8791         * java/awt/Component.java (requestFocus()): Handle Panel
8792         specially.  Post FOCUS_LOST event on opposite component.
8793         (requestFocus(boolean)): Likewise.
8794         (requestFocusInWindow(boolean)): Likewise.
8795         (paramString): Reorder dimension fields.
8796         * java/awt/Container.java (paramString): Fix string format.
8797         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
8798         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
8799         process key events if the focus owner is non-null.
8800         (dispatchKeyEvent): Likewise.
8801         * java/awt/Frame.java (paramString): Fix formatting.
8802         (generateName): New method.
8803         (getUniqueLong): Likewise.
8804         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
8805         the temporary focus owner is null.  If so, return the permanent
8806         focus owner.
8807         * java/awt/Panel.java (generateName): New method.
8808         (getUniqueLong): Likewise.
8809         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
8810         signal handling to make callbacks more specific.
8811
8812 2004-07-21  Michael Koch  <konqueror@gmx.de>
8813
8814         * javax/swing/text/Position.java
8815         (Bias): Implemented.
8816
8817 2004-07-21  Michael Koch  <konqueror@gmx.de>
8818
8819         * javax/swing/LookAndFeel.java
8820         (provideErrorFeedback): New method.
8821
8822 2004-07-21  Michael Koch  <konqueror@gmx.de>
8823
8824         * javax/swing/JTextArea.java
8825         (tabSize): New field.
8826         (getTabSize): New method.
8827         (setTabSize): Likewise.
8828
8829 2004-07-21  Michael Koch  <konqueror@gmx.de>
8830
8831         * javax/swing/ActionMap.java:
8832         Fixed javadocs all over.
8833         (serialVersionUID): Made private.
8834         (parent): Don't explicitely initialize with default value.
8835         (get): SImplified.
8836         (keys): Reimplemented.
8837         (allKeys): Likewise.
8838         (convertSet): Removed.
8839         * javax/swing/ComponentInputMap.java:
8840         Fixed javadocs all over.
8841         (ComponentInputMap): Implemented.
8842         (put): Likewise.
8843         (clear): Likewise.
8844         (remove): Likewise.
8845         (SetParent): Likewise.
8846         (getComponent): Likewise.
8847         * javax/swing/InputMap.java:
8848         Fixed javadocs all over.
8849         (serialVersionUID): Made private.
8850         (parent): Don't explicitely initialize with default value.
8851         (get): SImplified.
8852         (keys): Reimplemented.
8853         (allKeys): Likewise.
8854         (convertSet): Removed.
8855
8856 2004-07-21  Michael Koch  <konqueror@gmx.de>
8857
8858         * javax/swing/ActionMap.java,
8859         javax/swing/ComponentInputMap.java,
8860         javax/swing/InputMap.java,
8861         javax/swing/table/DefaultTableColumnModel.java,
8862         javax/swing/table/TableColumn.java,
8863         javax/swing/table/TableColumnModel.java,
8864         javax/swing/table/TableModel.java,
8865         javax/swing/text/AbstractDocument.java,
8866         javax/swing/text/TextAction.java:
8867         Reformated.
8868
8869 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8870
8871         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
8872         Make method non-static.
8873         * javax/swing/AbstractButton.java:
8874         Rename fields to match property names where possible.
8875         (iconTextGap): New property.
8876         * javax/swing/JCheckBox.java: Match AbstractButton changes.
8877         (init) New method, call from after various constructors.
8878         * javax/swing/JComponent.java (revalidate):
8879         Invalidate before queueing repair.
8880         * javax/swing/JList.java (getPreferredScrollableViewportSize):
8881         Reimplement in terms of visibleRowCount property.
8882         * javax/swing/JMenuButton.java: Match AbstractButton changes.
8883         * javax/swing/JScrollPane.java (createScrollListener):
8884         Remove tracing chatter.
8885         * javax/swing/JToggleButton.java: Match AbstractButton changes.
8886         * javax/swing/RepaintManager.java (addInvalidComponent):
8887         Don't invalidate.
8888         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
8889         calculations.
8890         * javax/swing/SwingUtilities.java (layoutCompoundLabel):
8891         Mimic sun behavior on top left/right positioning.
8892         * javax/swing/ViewportLayout.java (preferredLayoutSize):
8893         Remove mistaken use of preferredScrollableViewportSize here.
8894         (layoutContainer): Use view's preferred size as basis.
8895         * javax/swing/plaf/basic/BasicButtonUI.java:
8896         Set, get, and use textIconGap property.
8897         (paint) Paint text returned from layout (with ellipsis).
8898         * javax/swing/plaf/basic/BasicListUI.java:
8899         Remove tracing chatter, correct various minor calculations.
8900         (getCellBounds): Update layout state before calculating.
8901         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
8902         Use margin default similar to sun's.
8903         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
8904         (createIncreaseIcon): Center icon, minimize margins.
8905         (createDecreaseIcon): Likewise.
8906         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
8907         Implement.
8908         (installUI): Call it.
8909         (uninstallDefaults): Implement.
8910         (uninstallUI): Call it.
8911         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
8912         Call existing Window constructor.
8913         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
8914         Set clip before painting.
8915
8916 2004-07-21  Olga Rodimina <rodimina@redhat.com>
8917
8918         * javax/swing/JMenuItem.java:
8919         (processMouseEvent): Reimplemented to deal with
8920         mouse drag events.
8921         (createMenuDragMouseEvent): New private helper method.
8922         Creates MenuDragMouseEvent.
8923         * javax/swing/MenuSelectionManager.java
8924         (componentForPoint): Implemented.
8925         (isComponentPartOfCurrentMenu): Made public.
8926         (processMouseEvent): Reimplemented to deal with
8927         mouse drag events.
8928         (setSelectedPath): Corrected small mistake that caused
8929         path to be set incorrectly.
8930         (getPath): If given component is JMenu then also add this
8931         menu's popup menu to the selected path.
8932         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8933         (getPath): Ditto.
8934         (getPreferredSize): Call getPreferredMenuItemSize().
8935         (getPreferredItemSize): Moved code from getPreferredSize to here.
8936         (installListeners): Install MouseMotionListeners.
8937         (MouseInputHandler): Pass mouse release event to MenuSelectionManager
8938         if mouse wasn't released in the bounds of this menu item.
8939         (MenuDragMouseHandler): Implemented.
8940         * javax/swing/plaf/basic/BasicMenuUI.java:
8941         (installListeners): Install MouseMotionListener and
8942         MenuDrageMouseListener.
8943         (MenuDragMouseHandler): Implemented.
8944         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8945         (uninstallListeners): Implemented.
8946
8947 2004-07-21  Michael Koch  <konqueror@gmx.de>
8948
8949         * javax/swing/JCheckBox.java: Reformated.
8950         (JCheckBox): Fixed all constructors.
8951         (isBorderPaintedFlat): New method.
8952         (setBorderPaintedFlat): New method.
8953         * javax/swing/JEditorPane.java
8954         (createEditorKitForContentType): Made public.
8955         (scrollToReference): Likewise.
8956         * javax/swing/JTextArea.java
8957         (setLineWrap): Fire property change.
8958         * javax/swing/JToggleButton.java
8959         (JToggleButton): New constructor.
8960         (JToggleButton): Simplified.
8961         * javax/swing/text/AttributeSet.java
8962         (FontAttribute): Renamed from FontCharacterAttribute.
8963         * javax/swing/text/JTextComponent.java
8964         (KeyBinBinding): Added javadoc.
8965         (JTextComponent): Likewise.
8966         (getAccessibleContext): Fixed javadoc.
8967         * javax/swing/text/View.java
8968         (View): Added javadoc.
8969         * javax/swing/text/TabableView.java: New file.
8970         * Makefile.am: Added javax/swing/text/TabableView.java.
8971         * Makefile.in: Regenerated.
8972
8973 2004-07-21  Graydon Hoare  <graydon@redhat.com>
8974
8975         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
8976         * gnu/java/awt/peer/gtk/GtkToolkit.java
8977         (GtkErrorImage): New helper class.
8978         (bufferedImageOrError): New helper method.
8979         (createImage): Use it.
8980
8981 2004-07-21  David Jee  <djee@redhat.com>
8982
8983         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
8984         (setCaretPosition): Scroll the text view so the new caret position
8985         is visible on screen.
8986
8987 2004-07-21  David Jee  <djee@redhat.com>
8988
8989         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8990         (setBounds): Do not validate awtComponent here.
8991         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
8992         (getPreferredSize): New method.
8993         * java/awt/ScrollPane.java
8994         (ScrollPane): Set default size to 100x100.
8995         (addNotify): If child is not a Panel, wrap it with a new Panel.
8996         (paramString): Implement.
8997
8998 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
8999
9000         * javax/swing/JMenu.java:
9001         (setSelected): Display popup menu only if this menu
9002         is showing on the screen.
9003         * javax/swing/JPopupMenu.java:
9004         (processMouseEvent): Added comment.
9005         (processKeyEvent): Likewise.
9006         * javax/swing/MenuSelectionManager.java:
9007         (clearSelectedPath): Only fireStateChanged() after
9008         selected path was changed, not before.
9009         (setSelectedPath): Likewise.
9010         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9011         (paintMenuItem): Corrected position of menu item's
9012         icon.
9013         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
9014         (installUI): Correct setDefaultLightWeightPopupEnabled call.
9015         (popupMenuCanceled): Reimplemented.
9016         (popupMenuWillBecomeVisible): Select first menu item by default
9017         when displaying free floating popup menus.
9018         (TopWindowListener): Reimplemented.
9019
9020 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
9021
9022         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
9023         Panel from being painted twice when it is first shown.
9024
9025 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
9026
9027         * java/awt/Window.java: Reverted changes from my
9028         previous patch for creating window without an owner.
9029         * javax/swing/SwingUtilities.java:
9030         (SwingUtilities.OwnerFrame): made static.
9031         (OwnerFrame.setVisible): New method. Overridden with
9032         empty implementation.
9033         (OwnerFrame.isShowing): New method. Ovverridden
9034         to return always true.
9035
9036 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
9037
9038         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9039         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9040         (GtkComponentPeer): Remove temporary try/catch block.
9041         (setVisible): Call show and hide.
9042         (show): Make native.
9043         (hide): Likewise.
9044         (getArgs): Don't add "visible" argument.
9045         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9046         (property_notify_predicate): Return Bool instead of int.
9047         (find_layout): New function.
9048         (connectJObject): Call find_layout.
9049         (connectSignals): Likewise.
9050         (moveLayout): Likewise.
9051         (gtkLayoutSetVisible): Likewise.
9052
9053 2004-07-21  Mark Wielaard  <mark@klomp.org>
9054
9055         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
9056         on notifier object before calling notifyAll().
9057
9058 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
9059
9060         * java/awt/Window.java: Changed constructors to use new
9061         method that is described below. Constructors call this
9062         methods only if newly created window should have an owner.
9063         (setWindowOwner): New method. Implementation for
9064         this method is moved from this(owner,configuration).
9065         * javax/swing/JWindow.java:
9066         (JWindow): Reimplement to use SwingUtilities.ownerFrame
9067         instead of owner.
9068         * javax/swing/SwingUtilities.java:
9069         (ownerFrame): Change type of this field to OwnerFrame.
9070         (getOwnerFrame): Changed to return object of type OwnerFrame.
9071         (SwingUtilities.OwnerFrame): New class. Represents owner
9072         of a Window that is not provided with one.
9073
9074 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
9075
9076         *  javax/swing/AbstractButton.java:
9077         (configurePropertiesFromAction): Set action command
9078         to button's text by default if action command is not
9079         explicitely specified.
9080         * javax/swing/JMenu.java: Remove unnecessary listener
9081         and methods relevant to it.
9082         (setSelected): Reimplemented.
9083         (menuSelectionChanged): Moved most part of implementation to
9084         setSelected() and call it instead.
9085         * javax/swing/JMenuItem.java:
9086         (init): Comment out statement that sets paint_border to false.
9087         (configurePropertiesFromAction): Do not set accelerator
9088         for JMenu.
9089         (menuSelectionChanged): Change selected index in the selection
9090         model of menu item's parent.
9091         * javax/swing/JPopupMenu.java:
9092         (remove): Set constraints.fill field to GridBagConstraints.BOTH
9093         instead of GridBagConstraints.HORIZONTAL.
9094         (insert): Likewise.
9095         (createActionChangeListener): Implemented.
9096         (setVisible): Correct location of HeavyWeightMenu and
9097         don't firePopupMenuCanceled().
9098         (menuSelectionChanged): Implemented.
9099         (ActionChangeListener): New Listener. Implemented.
9100         * javax/swing/plaf/basic/BasicMenuBarUI.java:
9101         (BasicMenuBarUI.ContainerHandler): Implemented.
9102         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9103         (paintMenuItem): Uncommented out code that paints
9104         icon, now that icons are working properly.
9105         (PropertyChangeListener): Implemented.
9106         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
9107         Added javadocs.
9108         (topWindowListener): New field.
9109         (Constructor): initialize topWindowListener.
9110         (BasicPopupMenuUI.TopWindowListener): Implemented.
9111         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
9112         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
9113         Implemented.
9114
9115 2004-07-21  Michael Koch  <konqueror@gmx.de>
9116
9117         * javax/swing/plaf/basic/BasicButtonUI.java
9118         (paintFocus): Fixed method signature.
9119         (paintButtonPressed): Likewise.
9120         (paintButtonNormal): Likewise.
9121         (paintText): New method.
9122         * javax/swing/plaf/basic/BasicLabelUI.java
9123         (paint): Re-indented.
9124         * javax/swing/plaf/basic/BasicTextUI.java
9125         (installUI): Set parent textComponent to opaque.
9126         * javax/swing/text/DefaultHighlighter.java
9127         (checkPositions): New helper method.
9128         (addHighlight): Throws BadLocationException, check positions.
9129         (changeHighlight): Likewise.
9130         * javax/swing/text/EditorKit.java
9131         (EditorKit): Implements Serializable.
9132         * javax/swing/text/JTextComponent.java
9133         (getUI): Added javadoc.
9134         (setUI): Likewise.
9135         (upadteUI): Added javadoc, don't revalidate and repaint.
9136
9137 2004-07-21  David Jee  <djee@redhat.com>
9138
9139         * java/awt/GridBagLayout.java
9140         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
9141         * javax/swing/AbstractButton.java
9142         (setText): Reindent.
9143         * javax/swing/RepaintManager.java
9144         (addInvalidComponent): Find the first ancestor that isValidateRoot().
9145
9146 2004-07-21  Michael Koch  <konqueror@gmx.de>
9147
9148         * javax/swing/JFormattedTextField.java
9149         (value): New field.
9150         (JFormattedTextField): Implemented.
9151         (getValue): Likewise.
9152         (setValue): Likewise.
9153         * javax/swing/LookAndFeel.java
9154         (getSupportsWindowDecorations): New method.
9155         * javax/swing/UIDefaults.java:
9156         Use java.beans.PropertyChangeSupport instead of doing all ourself.
9157         (addPropertyChangeListener): Made public.
9158         (addResourceBundle): Likewise.
9159         (removeResourceBundle): Likewise.
9160         (setDefaultLocale): Likewise.
9161         * javax/swing/plaf/basic/BasicRootPaneUI.java
9162         (BasicRootPaneUI): Implements PropertyChangeListener.
9163         (propertyChange): New method.
9164         * javax/swing/plaf/basic/BasicTextUI.java
9165         (BasicHighlighter): New inner class.
9166         (createHighlighter): New method.
9167         * javax/swing/plaf/basic/BasicToolBarUI.java
9168         (DragWindow): Extends java.awt.Window.
9169         * javax/swing/text/JTextComponent.java
9170         (getDocument): Removed debug output.
9171         * javax/swing/plaf/basic/BasicTextFieldUI.java,
9172         javax/swing/text/DefaultHighlighter.java,
9173         javax/swing/text/FieldView.java,
9174         javax/swing/text/PlainView.java: New files.
9175         * Makefile.am: Added new files.
9176         * Makefile.in: Regenerated.
9177
9178 2004-07-21  Michael Koch  <konqueror@gmx.de>
9179
9180         * javax/swing/JEditorPane.java
9181         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
9182         (createEditorKitForContentType): Likewise.
9183         * javax/swing/text/DefaultEditorKit.java
9184         (serialVersionUID): Added constant field.
9185         (EndOfLineStringPropery): Fixed typo.
9186         (DefaultEditorKit): New constructor.
9187         * javax/swing/text/Segment.java:
9188         Import java.text.CharacterIterator.
9189         * javax/swing/text/CharacterIterator.java,
9190         javax/swing/text/PlainEditorKit.java: Removed.
9191         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
9192         javax/swing/text/PlainEditorKit.java.
9193         * Makefile.in: Regenerated.
9194
9195 2004-07-21  Michael Koch  <konqueror@gmx.de>
9196
9197         * javax/swing/JButton.java,
9198         javax/swing/text/DefaultEditorKit.java,
9199         javax/swing/text/EditorKit.java,
9200         javax/swing/text/Segment.java,
9201         javax/swing/text/StyledEditorKit.java:
9202         Reformatted.
9203
9204 2004-07-21  Michael Koch  <konqueror@gmx.de>
9205
9206         * javax/swing/ImageIcon.java
9207         (file): Removed.
9208         (description): Renamed from descr.
9209         (ImageIcon): Added missing constructors.
9210         (setParent): Removed.
9211         (setImageObserver): New method.
9212         (getImageObserver): New method.
9213         (paintIcon): Handle observer = null.
9214         * javax/swing/JButton.java
9215         (removeNotify): Fixed javadoc.
9216         (updateUI): Simplified.
9217         * javax/swing/JRootPane.java
9218         (serialVersionUID): New constant field.
9219         * javax/swing/UIManager.java:
9220         Fixed javadocs all over.
9221         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
9222         * javax/swing/text/AbstractDocument.java
9223         (createPosition): Throws BadLocationException.
9224         (getText): Likewise.
9225         (remove): Likewise.
9226         * javax/swing/text/ComponentView.java
9227         (modelToView): Likewise.
9228         * javax/swing/text/DefaultEditorKit.java:
9229         Made all public methods public.
9230         (read): Throws BadLocationException and IOException.
9231         (write): Likewise.
9232         * javax/swing/text/EditorKit.java:
9233         Made all public methods public.
9234         (serialVersionUID): New constant field.
9235         (clone): New method.
9236         (read): Throws BadLocationException and IOException.
9237         (write): Likewise.
9238         * javax/swing/text/Segment.java
9239         (array): Made public.
9240         (count): Likewise.
9241         (offset): Likewise.
9242         (Segment): New constructors.
9243         (clone): Reimplemented.
9244         * javax/swing/text/StyledEditorKit.java
9245         (serialVersionUID): New constant field.
9246
9247 2004-07-21  Graydon Hoare  <graydon@redhat.com>
9248
9249         * java/awt/image/BufferedImage.java
9250         (getSource): Implement.
9251         * javax/swing/ImageIcon.java
9252         (ImageIcon): Implement ctor.
9253         * javax/swing/ScrollPaneLayout.java
9254         (preferredLayoutSize): Be more careful about nulls.
9255
9256 2004-07-21  Michael Koch  <konqueror@gmx.de>
9257
9258         * javax/swing/text/AttributeSet.java
9259         (CharacterAttribute): New interface
9260         (ColorAttribute): Likewise.
9261         (FontCharacterAttribute): Likewise.
9262         (ParagraphAttribute): Likewise.
9263         * javax/swing/text/DefaultCaret.java
9264         (moveCaret): New method.
9265         (positionCaret): Likewise.
9266         (repaint): Made protected.
9267         * javax/swing/text/JTextComponent.java
9268         (KeyBinding): Made it static.
9269         * javax/swing/text/View.java
9270         (getContainer): Honor parent == null.
9271
9272 2004-07-21  Michael Koch  <konqueror@gmx.de>
9273
9274         * javax/swing/text/AbstractDocument.java:
9275         Reformatted.
9276
9277 2004-07-21  Michael Koch  <konqueror@gmx.de>
9278
9279         * javax/swing/plaf/basic/BasicRootPaneUI.java:
9280         Import javax.swing.UIManager explicitely.
9281         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9282         (ScrollingButton): Made it static.
9283
9284 2004-07-21  Michael Koch  <konqueror@gmx.de>
9285
9286         * javax/swing/UIDefaults.java
9287         (ActiveValue): Made public.
9288         (LazyValue): Likewise.
9289         * javax/swing/plaf/basic/BasicTextUI.java
9290         (RootView): Reintroduced.
9291         (view): Removed.
9292         (rootView): New field.
9293         (installUI): Create document if needed, initialize rootView.
9294         (uninstallUI): Hanle rootView.
9295         (paint): Likewise.
9296         (getRootView): Likewise.
9297         (setView): Likewise.
9298         * javax/swing/text/DefaultCaret.java:
9299         Renamed all "evt" variables to "event".
9300
9301 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
9302
9303         * libgcj.spec.in: Add -l-java-util-logging.
9304
9305 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
9306
9307         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
9308         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
9309         gtk-xft-dpi can no calculate the right value.
9310         (dpi_changed_cb): Mark *pspec as unsused.
9311
9312 2004-07-21  David Jee  <djee@redhat.com>
9313
9314         * java/awt/Component.java
9315         (move): Delegate to setBounds().
9316         (resize): Likewise.
9317         (reshape): Fix so it repaints parent and self only when necessary.
9318
9319 2004-07-21  David Jee  <djee@redhat.com>
9320
9321         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9322         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9323         (GtkComponentPeer): Revert previous patch from 2004-06-22.
9324         (setVisible): Likewise.
9325         (show): Likewise.
9326         (hide): Likewise.
9327         (getArgs): Likewise.
9328         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9329         (property_notify_predicate): Likewise.
9330         (find_layout): Likewise.
9331         (connectJObject): Likewise.
9332         (connectSignals): Likewise.
9333         (moveLayout): Likewise.
9334         (gtkLayoutSetVisible): Likewise.
9335
9336 2004-07-21  Graydon Hoare  <graydon@redhat.com>
9337
9338         * Makefile.am
9339         (jv_convert_LDADD):
9340         (gij_LDADD):
9341         (rmic_LDADD):
9342         (rmiregistry_LDADD): Add lib-java-util-logging.la
9343         * Makefile.in: Regenerate.
9344
9345 2004-07-21  Michael Koch  <konqueror@gmx.de>
9346
9347         * javax/swing/text/AbstractDocument.java
9348         (replace): Dont use protected method of java.util.Vector directly.
9349
9350 2004-07-21  Michael Koch  <konqueror@gmx.de>
9351
9352         * javax/swing/plaf/basic/BasicTextUI.java
9353         (installUI): Call specialized install methods.
9354         (installDefaults): New method.
9355         (installListeners): Likewise.
9356         (installKeyboardActions): Likewise.
9357         (uninstallUI): Likewise.
9358         (uninstallDefaults): New method.
9359         (uninstallListeners): Likewise.
9360         (uninstallKeyboardActions): Likewise.
9361         (getPropertyPrefix): New abstract method.
9362         (paint): Made final, just call paintSafely().
9363         (paintSavely): New method.
9364         (paintBackground): Likewise.
9365         (getVisibleEditorRect): Likewise.
9366         * javax/swing/text/LayeredHighlighter.java,
9367         javax/swing/text/TabExpander.java: New files.
9368         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
9369         and javax/swing/text/TabExpander.java.
9370         * Makefile.in: Regenerated.
9371
9372 2004-07-21  Michael Koch  <konqueror@gmx.de>
9373
9374         * javax/swing/plaf/basic/BasicTextUI.java
9375         (BasicTextUI): Made abstract.
9376         (BasicCaret): New inner class.
9377         (view): Don't explicitely initialize with "null".
9378         (textComponent): New field.
9379         (textColor): Removed.
9380         (disabledTextColor): Removed.
9381         (normalBackgroundColor): Removed.
9382         (RootView): Removed commented out inner class.
9383         (createUI): Removed.
9384         (createCaret): New method.
9385         (getComponent): Likewise.
9386         (installUI): Initialize textComponent only.
9387         (getPreferredSize): Use installed JTextComponent.
9388         (setView): New method.
9389         (create): Likewise.
9390         * javax/swing/text/JTextComponent.java
9391         (highlighter): New field.
9392         (caretColor): Likewise.
9393         (disabledTextColor): Likewise.
9394         (seletedTextColor): Likewise.
9395         (selectionColor): Likewise.
9396         (setUI): New method.
9397         (getCaretColor): Likewise.
9398         (setCaretColor): Likewise.
9399         (getDisabledColor): Likewise.
9400         (setDisabledColor): Likewise.
9401         (getSelectedTextColor): Likewise.
9402         (setSelectedTextColor): Likewise.
9403         (getSelectionColor): Likewise.
9404         (setSelectionColor): Likewise.
9405         (getHighlighter): Likewise.
9406         (setHighlighter): Likewise.
9407         (replaceSelection): Likewise.
9408
9409 2004-07-21  Michael Koch  <konqueror@gmx.de>
9410
9411         * javax/swing/plaf/basic/BasicScrollPaneUI.java
9412         (BasicScrollPaneUI): Implements ScrollPaneConstants.
9413         * javax/swing/plaf/basic/BasicToolBarUI.java
9414         (BasicToolBarUI): Implements SwingConstants.
9415
9416 2004-07-21  Michael Koch  <konqueror@gmx.de>
9417
9418         * javax/swing/JPopupMenu.java: Removed CVS tags.
9419         * javax/swing/UIDefaults.java: Reformatted.
9420         * javax/swing/plaf/basic/BasicRootPaneUI.java:
9421         Explicitely import used classes.
9422
9423 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
9424
9425         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9426         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9427         (GtkComponentPeer): Remove temporary try/catch block.
9428         (setVisible): Call show and hide.
9429         (show): Make native.
9430         (hide): Likewise.
9431         (getArgs): Don't add "visible" argument.
9432         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9433         (property_notify_predicate): Return Bool instead of int.
9434         (find_layout): New function.
9435         (connectJObject): Call find_layout.
9436         (connectSignals): Likewise.
9437         (moveLayout): Likewise.
9438         (gtkLayoutSetVisible): Likewise.
9439
9440 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
9441
9442         * javax/swing/AbstractButton.java:
9443         (setDisplayedMnemonicIndex): Check if button
9444         text is not null before checking its length.
9445         * javax/swing/JMenuItem.java:
9446         (processMouseEvent): Disarm menu item if mouse has
9447         exited it.
9448         * javax/swing/plaf/basic/BasicMenuUI.java:
9449         (MouseInputHandler.mouseEntered): Do not raise
9450         popup menu if this menu is already selected.
9451         (MouseInputHandler.mousePressed): Do not fire
9452         MenuEvents.
9453         (MenuHandler): Implemented.
9454
9455 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
9456
9457         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
9458         (getSelectedObjects): Implemented.
9459         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
9460         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
9461         Added javadoc for few methods.
9462         (processMouseEvent): Made public.
9463         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
9464         (processMouseEvent): Likewise.
9465
9466 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
9467
9468         * javax/swing/AbstractButton.java:
9469         (init): Set display mnemonic index to -1.
9470         (setMnemonic(char)): Use setMnemonic(int).
9471         (setMnemonic(int)): Set display mnemonic index.
9472         (getDisplayedMnemonicIndex): Change method signature
9473         by removing 'index' parameter.
9474         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9475         Added default for Menu.selectionBackground.
9476         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9477         (paintMenuItem): Change background color of the selected
9478         menu item.
9479         (paintText): Paint differently when menu item is disabled.
9480         Also paint mnemonic if it appears in the menu item's label.
9481         (paintAccelerator): Paint accelerator differently
9482         if menu item is disabled.
9483         * javax/swing/plaf/basic/BasicMenuUI.java:
9484         (installDefaults): Install defaults for
9485         selectionForeground and selectionBackground.
9486         (uninstallDefaults): Uninstall defauls for
9487         selectionForeground and selectionBackground.
9488
9489 2004-07-21  Michael Koch  <konqueror@gmx.de>
9490
9491         * javax/swing/text/AbstractDocument.java
9492         (BranchElement): Implemented.
9493         (LeafElement): Implemented.
9494         * javax/swing/text/DefaultCaret.java:
9495         Import used classes.
9496         (serialVersionUID): New constant.
9497         * javax/swing/text/JTextComponent.java
9498         (AccessibleJTextComponent): Removed dead declaration.
9499         (caretPos): Removed.
9500         (setCaret): New method.
9501         * javax/swing/text/PlainDocument.java
9502         (rootElement): New field.
9503         (PlainDocument): Initialize rootElement.
9504         (createDefaultRoot): New method.
9505         (getDefaultRootElement): Implemented.
9506         * javax/swing/text/View.java: Reformatted.
9507         * javax/swing/text/ViewFactory.java
9508         (create): Added javadoc.
9509
9510 2004-07-21  Michael Koch  <konqueror@gmx.de>
9511
9512         * javax/swing/ToolTipManager.java: Reformatted.
9513
9514 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
9515
9516         * javax/swing/AbstractButton.java
9517         (changeEvent): New field.
9518         (fireItemStateChanged): Change source of the event
9519         to 'this' before firing it to button listeners.
9520         (fireActionPerformed): Likewise.
9521         (fireStateChanged): Likewise.
9522         (createActionListener): Do not set source
9523         of the event to AbstractButton.
9524         * javax/swing/plaf/basic/BasicMenuBarUI.java:
9525         (ContainerHandler.componentAdded): Removed
9526         print out statement.
9527         (ContainerHandler.componentRemoved): Likewise.
9528
9529 2004-07-21  Michael Koch  <konqueror@gmx.de>
9530
9531         * javax/swing/text/Highlighter.java: New file.
9532         * Makefile.am: Added javax/swing/text/Highlighter.java.
9533         * Makefile.in: Regenerated.
9534
9535 2004-07-21  Michael Koch  <konqueror@gmx.de>
9536
9537         * javax/swing/ToolTipManager.java
9538         (stillInsideTimerAction): Fixed constructor arguments.
9539         (outsideTimerAction): Likewise.
9540         (insideTimerAction): Likewise.
9541
9542 2004-07-21  Michael Koch  <konqueror@gmx.de>
9543
9544         * javax/swing/JButton.java: Reformatted.
9545         * javax/swing/JFormattedTextField.java
9546         (getUIClassID): Implemented.
9547         * javax/swing/JRootPane.java
9548         (serialVersionUID): New constant.
9549         * javax/swing/JTextField.java
9550         (align): New field.
9551         (JTextField): Simplified.
9552         (getUIClassID): New method.
9553         (getActionListeners): Added @since tag.
9554         (setColumns): Invalidate layout and repaint.
9555         (getHorizontalAlignment): New method.
9556         (setHorizontalAlignment): New method.
9557         (selectAll): Removed.
9558         * javax/swing/SwingUtilities.java
9559         (getAncestorOfClass): Removed redundant @see tag.
9560         (isLeftMouseButton): Fixed implementation.
9561         (isMiddleMouseButton): Likewise.
9562         (isRightMouseButton): Likewise.
9563         * javax/swing/text/AbstractDocument.java
9564         (AttributeContext.addAttribute): New method.
9565         (AttributeContext.addAttributes): New method.
9566         (AttributeContext.getEmptySet): New method.
9567         (AttributeContext.reclaim): New method.
9568         (AttributeContext.removeAttribute): New method.
9569         (AttributeContext.removeAttributes): New method.
9570         * javax/swing/text/Document.java
9571         (createPosition): Throws BadLocationException.
9572         (getText): Likewise.
9573         (remove): Likewise.
9574         * javax/swing/text/JTextComponent.java
9575         (getText): Return null if no document is set. Catch
9576         BadLocationException.
9577         (getUI): Return ui.
9578         (updateUI): Simplified.
9579
9580 2004-07-21  Michael Koch  <konqueror@gmx.de>
9581
9582         * javax/swing/JButton.java
9583         (removeNotify): Fixed javadoc.
9584         (updateUI): Simplified.
9585
9586 2004-07-21  David Jee  <djee@redhat.com>
9587
9588         * gnu/java/awt/image/ImageDecoder.java
9589         (startProduction): Only add consumer if it's not added yet.
9590         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
9591         (GdkPixbufDecoder): Don't call initState() here.
9592         (produce): Call initState() here, to ensure area_prepared and
9593         area_updated signals are properly connected.
9594         * gnu/java/awt/peer/gtk/GtkImage.java
9595         (setColorModel): Use equals() to compare ColorModel objects.
9596         (setPixels): Likewise.
9597         * java/awt/image/ColorModel.java
9598         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
9599         * java/awt/image/RGBImageFilter.java
9600         (setColorModel): Set consumer's color model.
9601         (setPixels): Use equals() to compare ColorModel objects.
9602
9603 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
9604
9605         * java/net/URLConnection.java (position): New field.
9606         (dateFormat1, dateFormat2, dateFormat3): Removed.
9607         (dateFormats): New field.
9608         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
9609         each time instead of re-allocating.
9610         (initializeDateFormats): Initialize 'dateFormats'.
9611
9612 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
9613
9614         PR libgcj/16591
9615         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
9616         is defined.
9617
9618 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
9619
9620         * java/net/Socket.java (getImpl): Now private. Remove comment.
9621
9622 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
9623
9624         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
9625         of chained Writer when calling super-constructor.
9626         * java/io/FilterWriter.java (FilterWriter): Likewise.
9627         * java/io/PrintWriter.java (PrintWriter): Likewise.
9628
9629 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
9630
9631         * prims.cc (process_gcj_properties): Don't increment i within LHS
9632         of assignment.
9633
9634 2004-07-19  Per Bothner  <per@bothner.com>
9635
9636         Print -verbose:message on "loading", not initialization.
9637         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
9638         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
9639         gcj::verbose_class_flag.
9640         * java/lang/natClass.cc (initializeClass):  Don't print message here.
9641         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
9642         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
9643         (_Jv_PrepareCompiledClass):  Likewise.
9644
9645 2004-07-18  Matthias Klose  <doko@debian.org>
9646
9647         * configure.in: Substitute target_noncanonical.
9648         * configure: Regenerate
9649
9650 2004-07-17  Michael Koch  <konqueror@gmx.de>
9651
9652         * java/lang/String.java: Fixed javadocs all over.
9653
9654 2004-07-17  Mark Wielaard  <mark@klomp.org>
9655
9656         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
9657         when size is smaller.
9658         * java/io/RandomAccessFile.java (setLength): Use truncate for
9659         shrinking the file and seek plus write for expanding the file.
9660
9661 2004-07-17  Michael Koch  <konqueror@gmx.de>
9662
9663         * gnu/java/nio/channels/natFileChannelPosix.cc
9664         (implTruncate): Always save current position. Only reposition file
9665         pointer to where we started if not beyond new lenght. Reposition file
9666         pointer to file length if it points beyond the end of file.
9667
9668 2004-07-17  Mark Wielaard  <mark@klomp.org>
9669
9670         * javax/swing/Box.java: Put FIXME comment above class declaration.
9671         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
9672         * javax/swing/JCheckBox.java: Likewise.
9673         * javax/swing/JDialog.java: Likewise.
9674         * javax/swing/JRadioButton.java: Likewise.
9675         * javax/swing/JToggleButton.java: Likewise.
9676         * javax/swing/UIManager.java: Likewise.
9677         * javax/swing/border/TitledBorder.java: Likewise.
9678         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
9679         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
9680         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
9681         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
9682         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
9683         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
9684         * javax/swing/text/JTextComponent.java: Likewise.
9685
9686 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
9687
9688         * java/net/DatagramPacket.java (setAddress): Removed check for
9689         null address.
9690
9691 2004-07-17  Michael Koch  <konqueror@gmx.de>
9692
9693         * java/net/DatagramSocket.java
9694         (getLocalAddress): Check if socket is bound or not.
9695         * java/net/Socket.java
9696         (getLocalAddrss): Check if socket is bound or not.
9697         (getPort): Return -1 when not connected. Dont check getImpl() for
9698         null.
9699         (setReuseAddress): Check if socket is closed.
9700         (isConnected): Check if getImpl() returns null.
9701
9702 2004-07-17  Mark Wielaard  <mark@klomp.org>
9703
9704         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
9705         on notifier object before calling notifyAll().
9706
9707 2004-07-17  Michael Koch  <konqueror@gmx.de>
9708
9709         * gnu/java/nio/channels/FileChannelImpl.java
9710         (finalize): Added javadoc.
9711
9712 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
9713
9714         * java/text/CollationElementIterator.java
9715         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
9716         (setText): Use ArrayList instead of Vector.
9717
9718 2004-07-17  Michael Koch  <konqueror@gmx.de>
9719
9720         * java/nio/ByteOrder.java
9721         (static): Removed. Not needed.
9722         Thanks to Patrick Reali for noticing.
9723         * java/nio/charset/CharsetDecoder.java
9724         (decode): Fix for classpath bug #9177: Reset state before flipping.
9725
9726 2004-07-17  Michael Koch  <konqueror@gmx.de>
9727
9728         * java/security/Security.java: Fixed javadocs all over.
9729
9730 2004-07-17  Michael Koch  <konqueror@gmx.de>
9731
9732         * gnu/java/awt/EmbeddedWindow.java
9733         (static): Removed.
9734         (addNotify): Set peer via reflection.
9735         (setWindowPeer): Removed.
9736         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
9737         * Makefile.am (nat_source_files):
9738         Removed gnu/java/awt/natEmbeddedWindow.cc.
9739         * Makefile.in: Regenerated.
9740
9741 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
9742
9743         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
9744         assignment.
9745         * configure: Regenerated.
9746
9747 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
9748
9749         * configure.in: Use build_noncanonical rather than build_alias.
9750         * configure: Rebuild.
9751
9752         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
9753         by logic refactoring.  Move default definition of NATIVE closer
9754         to first alternate definition.
9755         * configure: Regenerate.
9756
9757         * Makefile.am: Set ZIP and GCJH directly using autoconf.
9758         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
9759         gcj/Makefile.in: Regenerate.
9760         * configure.in: Set ZIP and GCJH.  Remove redundant condition
9761         in AM_CONDITIONAL(NATIVE,...)
9762         * configure: Regenerate.
9763
9764 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
9765
9766         * configure.in: Use target_noncanonical rather than
9767         target_alias for forward-compatibility with autoconf 2.59.
9768         * configure: Regenerate.
9769         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
9770         testsuite/Makefile.am: Substitute target_noncanonical.
9771         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
9772         testsuite/Makefile.in: Regenerate.
9773
9774         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
9775         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
9776         * acinclude.m4: Include acx.m4.
9777         * aclocal.m4: Regenerate.
9778         * configure: Regenerate.
9779
9780 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
9781
9782         PR libgcj/16574
9783         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
9784         (decimalFormat): New static variable.
9785         (sbuf): Likewise.
9786         (getTime): New. Override Date.getTime().
9787         (toString): Synchronize. Use decimalFormat to format nanos value
9788         correctly. Truncate extra zeros.
9789         (before): Compare getNanos() only if getTime() is equal.
9790         (after): Likewise.
9791
9792 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
9793
9794         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
9795         * configure.in: ...here.
9796         * aclocal.m4: Regenerate.
9797         * configure: Regenerate.
9798
9799         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
9800         * configure: Rebuilt with autoconf 2.13.
9801         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
9802         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
9803
9804 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
9805
9806         PR libgcj/16204
9807         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
9808         large file support.
9809         * Makefile.in: Rebuilt.
9810         * testsuite/libjava.lang/LargeFile.java: New test case.
9811         * testsuite/libjava.lang/LargeFile.out: New file.
9812
9813 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
9814
9815         * java/beans/EventHandler.java: Remove debugging statements.
9816
9817 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
9818
9819         * java/beans/EventHandler.java: New file.
9820         * Makefile.am (awt_java_source_files): Add EventHandler.java.
9821         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
9822         testsuite/Makefile.in: Regenerate.
9823
9824 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
9825
9826         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
9827         flag to the gcj_setup.
9828         (gcj_jacks_run): Check tclsh version and launch jacks directly with
9829         the tclsh.
9830         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
9831         deprecation flag change. 58 XFAILS removed.
9832
9833 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
9834
9835         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
9836         -fno-use-divide-subroutine.
9837         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
9838         (HANDLE_FPE): Define.
9839         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
9840         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
9841         (HANDLE_DIVIDE_OVERFLOW): Define.
9842
9843 2004-07-14  Michael Koch  <konqueror@gmx.de>
9844             Matthias Klose  <doko@debian.org>
9845
9846         * java/awt/im/InputContext.java: Initialize in, line.
9847
9848 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
9849
9850         * interpret.cc (run): Correctly access libffi return values of
9851         integral smaller-than-int type; these are implicitly promoted.
9852
9853 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
9854
9855         PR libgcj/7587
9856         * interpret.cc (compile_mutex): New.
9857         (_Jv_InitInterpreter): New. Initialize compile_mutex.
9858         (run): Lock compile_mutex before calling compile() if compilation is
9859         required.
9860         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
9861         * include/java-interp.h (_Jv_InitInterpreter): Declare.
9862
9863 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
9864
9865         PR libgcj/15713
9866         * include/jvm.h (_Jv_value): New union type.
9867         * gcj/field.h (_Jv_Field): Add new _addr union field variants
9868         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
9869         union members.
9870
9871 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
9872
9873         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
9874         * gnu/awt/xlib/XOffScreenImage.java
9875           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
9876           constructor argument. Add constructor using ImageProducer.
9877           (getSource): Implement.
9878           (imageComplete): New method.
9879           (setColorModel): New method.
9880           (setDimensions): New method.
9881           (setHints): New method.
9882           (setPixels): New method.
9883           (setProperties): New method.
9884         * gnu/gcj/xlib/GC.java (drawPoint): New native method.
9885         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
9886
9887 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
9888
9889         PR libgcj/16478
9890         * prims.cc (_Jv_CreateJavaVM): Fix comment.
9891         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
9892         (finalizerReady): Now native.
9893         (run): Likewise.
9894         (runFinalizers): Removed.
9895         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
9896         a primitive lock, and don't hold it while running the finalizers.
9897         (runFinalizers): Implement. Don't aquire any Java lock.
9898         (finalizerReady): Use lock primitives to signal finalizer thread.
9899
9900 2004-07-11  Mark Wielaard  <mark@klomp.org>
9901
9902         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
9903         * java/net/URLStreamHandler.java (parseURL): When url file part
9904         doesn't contain a '/' just ignore context.
9905
9906 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
9907
9908         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
9909         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
9910         (MAKE_THROW_FRAME): Do not modify PSW address.
9911         (INIT_SEGV): Install SIGINFO-style signal handler.
9912         (INIT_FPE): Likewise.
9913
9914 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
9915
9916         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
9917         status. 21 xfail's removed, 1 added.
9918
9919 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
9920
9921         * gcj/javaprims.h: Regenerate CNI namespace definitions.
9922
9923 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
9924
9925         * java/text/MessageFormat.java
9926         (formatInternal): Append "{n}" if argument n is unavailable.
9927         (format(Object, StringBuffer, FieldPosition)): This
9928         should be equivalent to format(Object[],
9929         StringBuffer, FieldPosition).
9930
9931 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
9932
9933         * java.util.Calendar.java (cache): New private static field. Cached
9934         mappings of locales->calendar classes.
9935         (ctorArgTypes): New private static field. Singleton argument for
9936         calendar class constructor lookup.
9937         (getInstance): Cache Locale->Calendar class mappings using HashMap.
9938         Optimize by bypassing reflection instantiation for the
9939         GregorianCalendar case.
9940
9941 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
9942
9943         * java/util/Calendar.java: Use getSystemClassLoader as argument for
9944         ResourceBundle.getBundle() calls.
9945         * java/util/GregorianCalendar.java: Likewise.
9946         * java/util/Currency.java: Likewise.
9947         * java/text/BreakIterator.java: Likewise.
9948         * java/text/Collator.java: Likewise.
9949         * java/text/DateFormat.java: Likewise.
9950         * java/text/DateFormatSymbols.java: Likewise.
9951         * java/text/DecimalFormatSymbols.java: Likewise.
9952         * java/text/NumberFormat.java: Likewise.
9953         * java/awt/Window.java: Likewise.
9954
9955 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
9956
9957         * java/util/ResourceBundle.java (bundleCache): Renamed from
9958         resourceBundleCache. Update comments.
9959         (getObject): Don't catch MissingResourceException.
9960         (getBundle(String)): Remove 'final'. Use system classloader if
9961         getCallingClassLoader returned null.
9962         (getBundle(String, Locale)): Likewise.
9963         (BundleKey): New private class. HashMap key for bundle cache lookup.
9964         (lookupKey): New. Singleton instance of BundleKey.
9965         (nullEntry): New. Cache entry to represent failed lookups.
9966         (getBundle(String, Locale, ClassLoader)): Re-written to use new
9967         caching strategy, no-allocation lookup, and new tryBundle methods.
9968         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
9969         name using given classloader.
9970         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
9971         baseName for given Locale and attempt to load bundle.
9972
9973 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
9974
9975         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
9976         illegal protected method calls.
9977
9978 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
9979
9980         Fix or remove some bogus test cases.
9981         * testsuite/libjava.compile/pr10459_2.java: Removed.
9982         * testsuite/libjava.compile/pr10459.java: Test using its own method,
9983         not Object.clone().
9984         * testsuite/libjava.compile/inner_data.java: Test against its own
9985         protected field.
9986
9987 2004-07-09  Michael Koch  <konqueror@gmx.de>
9988
9989         * scripts/unicode-muncher.pl: Updated to version 2.1
9990         from GNU classpath. Added some clarifications on where to find the
9991         needed files from www.unicode.org.
9992         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
9993         gnu/gcj/convert/UnicodeData-3.0.0.txt:
9994         Removed, these can directly be downloaded from www.unicode.org if
9995         needed.
9996         * gnu/java/lang/CharData.java: Regenerated.
9997         * include/java-chartables.h: Regenerated.
9998         * Makefile.am (ordinary_java_source_files):
9999         Removed gnu/java/lang/CharData.java.
10000         * Makefile.in: Regenerated.
10001
10002 2004-07-09  Michael Koch  <konqueror@gmx.de>
10003
10004         * java/security/AccessControlContext.java,
10005         java/security/SecureClassLoader.java:
10006         Fixed javadocs.
10007
10008 2004-07-09  Michael Koch  <konqueror@gmx.de>
10009
10010         * java/io/ObjectInputStream.java (readFields): Use long datatype
10011         when shifting byte values more then 24 bits left.
10012
10013 2004-07-09  Michael Koch  <konqueror@gmx.de>
10014
10015         * java/util/zip/DeflaterOutputStream.java,
10016         java/util/zip/GZIPInputStream.java,
10017         java/util/zip/GZIPOutputStream.java,
10018         java/util/zip/InflaterInputStream.java:
10019         Reformatted. Added javadocs. Reordered all stuff.
10020         Renamed variables to be more clear.
10021
10022 2004-07-09  Michael Koch  <konqueror@gmx.de>
10023
10024         * javax/imageio/IIOException.java,
10025         javax/imageio/event/IIOReadProgressListener.java,
10026         javax/imageio/event/IIOReadUpdateListener.java,
10027         javax/imageio/event/IIOReadWarningListener.java,
10028         javax/imageio/event/IIOWriteProgressListener.java,
10029         javax/imageio/event/IIOWriteWarningListener.java:
10030         New files.
10031         * Makefile.am: Added new files.
10032         * Makefile.in: Regenerated.
10033
10034 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
10035
10036         * java/text/RuleBasedCollator.java
10037         (mergeRules): Use ArrayList instead of Vector.
10038         (subParseString): likewise.
10039         (parseString): likewise.
10040         (buildCollationVector): likewise.
10041         (getCollationKey): likewise.
10042
10043 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
10044
10045         * java/text/DateFormat.java (parse):
10046         Improved javadoc. Improved exception message.
10047
10048 2004-07-09  Mark Wielaard  <mark@klomp.org>
10049
10050         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
10051         interrupted() method to clear interupt flag of our Thread.
10052
10053 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
10054
10055         * java/nio/Buffer.java,
10056         java/nio/ByteBuffer.java,
10057         java/nio/ByteBufferHelper.java,
10058         java/nio/ByteBufferImpl.java,
10059         java/nio/CharBuffer.java,
10060         java/nio/CharBufferImpl.java,
10061         java/nio/CharViewBufferImpl.java,
10062         java/nio/DirectByteBufferImpl.java,
10063         java/nio/DoubleBuffer.java,
10064         java/nio/DoubleBufferImpl.java,
10065         java/nio/DoubleViewBufferImpl.java,
10066         java/nio/FloatBuffer.java,
10067         java/nio/FloatBufferImpl.java,
10068         java/nio/FloatViewBufferImpl.java,
10069         java/nio/IntBuffer.java,
10070         java/nio/IntBufferImpl.java,
10071         java/nio/IntViewBufferImpl.java,
10072         java/nio/LongBuffer.java,
10073         java/nio/LongBufferImpl.java,
10074         java/nio/LongViewBufferImpl.java,
10075         java/nio/MappedByteBufferImpl.java,
10076         java/nio/ShortBuffer.java,
10077         java/nio/ShortBufferImpl.java,
10078         java/nio/ShortViewBufferImpl.java:
10079         Fixed javadocs all over. Improved input error
10080         checking.
10081
10082         * java/nio/Buffer.java
10083         (checkForUnderflow, checkForOverflow, checkIndex,
10084         checkIfReadOnly, checkArraySize): New helper methods
10085         for error checking.
10086
10087         * java/nio/ByteBufferHelper.java
10088         (checkRemainingForRead, checkRemainingForWrite,
10089         checkAvailableForRead, checkAvailableForWrite): Removed
10090         no longer needed methods.
10091
10092 2004-07-09  Michael Koch  <konqueror@gmx.de>
10093
10094         * gnu/regexp/CharIndexedInputStream.java:
10095         Reordered imports to match classpath.
10096
10097 2004-07-09  Michael Koch  <konqueror@gmx.de>
10098
10099         * gnu/java/awt/EmbeddedWindow.java:
10100         Load native library for setWindowPeer method.
10101
10102 2004-07-08  Randolph Chung  <tausq@debian.org>
10103
10104         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
10105         * configure: Regenerate.
10106         * configure.host: Set can_unwind_signal for hppa*-linux.
10107         * include/pa-signal.h: New file.
10108
10109 2004-07-07  Per Bothner  <per@bothner.com>
10110
10111         * Makefile.am:  Add rules to build libgij from just gij.cc.
10112
10113         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
10114         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
10115         (initializeClass):  If verbose_class_flag, print message.
10116         * gij.cc (main):  Handle -verbose:class flag.
10117
10118 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
10119
10120         * configure.host: Enable hash synchronization on Darwin.
10121         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
10122         ';', since this is a comment on Darwin.
10123         (compare_and_swap_release): Likewise.
10124
10125 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
10126
10127         * java/net/URLStreamHandler.java (parseURL): Canonicalize
10128         file portion of URL in addition to spec for file: protocol.
10129
10130 2004-07-05  Anthony Green  <green@redhat.com>
10131
10132         * java/io/File.java (toURI): Merge from Classpath.
10133
10134 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
10135
10136         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
10137         before passing to URL constructor. Rethrow any MalformedURLException
10138         as a RuntimeException. Catch MalformedURLException specifically, not
10139         all exceptions.
10140
10141 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
10142
10143         * java/util/Locale.java (readObject): Intern strings read from object
10144         stream.
10145
10146 2004-07-04  Michael Koch  <konqueror@gmx.de>
10147
10148         * gnu/gcj/runtime/FirstThread.java,
10149         gnu/gcj/runtime/natFirstThread.cc: Removed.
10150         * gnu/java/lang/MainThread.java,
10151         gnu/java/lang/natMainThread.cc: New files.
10152         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
10153         * Makefile.am: Added new files and removed deleted ones.
10154         * Makefile.in: Regenerated.
10155
10156 2004-07-03  Mark Wielaard  <mark@klomp.org>
10157             Anthony Green  <green@redhat.com>
10158
10159         * java/net/URL.java (getFile): Clarify return value doc.
10160         (getPath): Return null if file is empty - not empty String.
10161         (set): Convert protocol to lower case before doing anything.
10162         Only change the protocol handler if it's different.
10163
10164 2004-07-03  Anthony Green  <green@redhat.com>
10165
10166         * java/net/URL.java (URL): Convert protocol to lower case before
10167         doing anything, so we getURLStreamHandler() with the proper value.
10168
10169 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
10170
10171         * java/util/Locale.java (hashcode): Made transient.
10172         (hashCode): No longer synchronized.
10173         (equals): Remove comment.
10174         (writeObject): No longer synchronized. Implement using writeObject
10175         calls instead of tweaking hashCode field. Update doc.
10176         (readObject): Implement using readObject calls.
10177
10178 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
10179             Andreas Tobler  <a.tobler@schweiz.ch>
10180
10181         * configure.host (powerpc-*-darwin*): New case, define
10182         can_unwind_signal.
10183         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
10184         * configure: Regenerate.
10185         * include/darwin-signal.h: New.
10186
10187 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
10188
10189         * java/beans/Statement.java (doExecute): Fix formatting.
10190
10191 2004-06-29  Per Bothner  <per@bothner.com>
10192
10193         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
10194         etc etc):  Remove needless parenthesis, which causes __stdcall__
10195         attribute on MinGW to get ignored.
10196
10197 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
10198
10199         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
10200
10201 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
10202
10203         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
10204
10205 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
10206
10207         * java/beans/Expression.java: New file.
10208         * java/beans/Statement.java: New file.
10209         * Makefile.am: Added new files.
10210         * Makefile.in: Re-generate.
10211
10212 2004-06-27 Mark Wielaard  <mark@klomp.org>
10213
10214         * java/io/FilePermission.java (usingPerms): Removed.
10215         (actionsString): Made final.
10216         (cachePerms): Renamed to checkPerms.
10217         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
10218         on action String.
10219         (FilePermission): Check arguments, call checkPerms().
10220         (equals): Remove cachePerms() call.
10221         (implies): Likewise.
10222
10223 2004-06-27  Mark Wielaard  <mark@klomp.org>
10224
10225         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
10226         final field.
10227         (sendRequest): Use new field in user-agent http agent.
10228
10229 2004-06-27  Mark Wielaard  <mark@klomp.org>
10230
10231         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
10232         when argument is null.
10233
10234 2004-06-26  Mark Wielaard  <mark@klomp.org>
10235
10236         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
10237         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
10238         GetMethodID call.
10239         (cancel_clicked): Likewise.
10240
10241 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
10242
10243         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
10244         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
10245         can not calculate the right value.
10246         (dpi_changed_cb): Likewise. Mark *pspec as unused.
10247
10248 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
10249
10250         * testsuite/libjava.jacks/jacks.xfail: Remove
10251         15.9.1-qualified-concrete-20.
10252
10253 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
10254
10255         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
10256         encoding name to iconv.
10257         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
10258
10259 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
10260
10261         PR libgcj/16134:
10262         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
10263         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
10264         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
10265
10266 2004-06-21  Andrew Haley  <aph@redhat.com>
10267
10268         * java/io/ObjectOutputStream.java: Add DEBUG statements
10269         everywhere.
10270         (dumpElementln): New method.
10271         (depth): New field.
10272         * java/io/ObjectInputStream.java
10273         (currentClassLoader): Make native.
10274         (callersClassLoader): New field.
10275         (depth): New field.
10276         (readObject): ENDBLOCKDATA is generated if the class has a write
10277         method, not if it has a read method.
10278         (readObject): Save and restore this.currentObject and
10279         this.currentObjectStreamClass around calls to callReadMethod().
10280         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
10281         method.
10282
10283 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
10284
10285         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
10286         darwin.
10287
10288 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
10289
10290         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
10291         if desired, before the default class loader is initialised.
10292         Call INIT_SEGV only if HANDLE_SEGV is defined.
10293
10294 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
10295
10296         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
10297         directory only if it actually exists.
10298
10299 2004-06-18  Graydon Hoare  <graydon@redhat.com>
10300
10301         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
10302         Fix up non-ansi comments.
10303
10304 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
10305
10306         * javax/swing/text/AbstractDocument.java: Adding missing import
10307         for javax.swing.event.EventListenerList.
10308         * javax/swing/text/DefaultCaret.java: Likewise.
10309
10310 2004-06-17  Michael Koch  <konqueror@gmx.de>
10311
10312         * javax/swing/JToolBar.java
10313         (name): Removed.
10314         (JToolBar): Use Component.setName(String) instead of doing it all
10315         alone.
10316         * javax/swing/Timer.java
10317         (queueEvent): Added missing modifier.
10318
10319 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
10320
10321         * Makefile.am: Added new file.
10322         * Makefile.in: Re-generate.
10323         * javax/swing/JMenu.java:
10324         (insertSeparator): Implemented.
10325         * javax/swing/JPopupMenu.java:
10326         (JPopupMenu.Separator): Implemented.
10327         * javax/swing/MenuSelectionManager.java:
10328         (processMouseEvent): Use java.awt.Component
10329         for event source instead of javax.swing.JComponent.
10330         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
10331         New File. Implemented.
10332
10333 2004-06-16  David Jee  <djee@redhat.com>
10334
10335         * java/awt/GridBagLayout.java
10336         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
10337         Make sure pos_x and pos_y are never negative.
10338
10339 2004-04-16  Andrew Overholt  <overholt@redhat.com>
10340
10341         * Makefile.am: Add new file.
10342         * Makefile.in: Re-generate.
10343         * javax/swing/JToolBar.java
10344         Partially implemented.
10345         * javax/swing/plaf/basic/BasicToolBarUI.java
10346         New file. Partially implemented.
10347
10348 2004-06-16  Graydon Hoare  <graydon@redhat.com>
10349
10350         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10351         (setComposite): Accept AlphaComposite arguments.
10352         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
10353         (createBufferedImage): Add new overloads.
10354         * gnu/java/awt/peer/gtk/GtkToolkit.java
10355         (createImage): Use GdkPixbufDecoder.createBufferedImage
10356         when useGraphics2D() is true.
10357         (getImage): Delegate to createImage.
10358         * javax/swing/JList.java
10359         (isSelectionEmpty):
10360         (getFirstVisibleIndex):
10361         (getLastVisibleIndex):
10362         (setSelectedValue):
10363         (ensureIndexIsVisible): New methods.
10364         * javax/swing/Timer.java: Reimplement.
10365
10366 2004-06-16  Michael Koch  <konqueror@gmx.de>
10367
10368         * javax/swing/text/AbstractDocument.java
10369         (AbstracElement): Made public, implements java.io.Serializable.
10370         (AttributeContext): Made public.
10371         (BranchElement): Likewise.
10372         (Content): Likewise.
10373         (DefaultDocumentEvent): Made public, extends
10374         javax.swing.undo.CompoundEdit.
10375         (ElementEdit): Made public, extends
10376         javax.swing.undo.AbstractUndoableEdit.
10377         (LeafElement): Made public.
10378         (LeafElement.LeafElement): Made public.
10379
10380 2004-06-16  Michael Koch  <konqueror@gmx.de>
10381
10382         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
10383         methods (that were obviously never be intended to get included hi this
10384         class. Added some methods too.
10385
10386 2004-06-16  Michael Koch  <konqueror@gmx.de>
10387
10388         * javax/swing/text/PlainDocument.java
10389         (serialVersionUID): New constant.
10390         (lineLimitAttribute): Likewise.
10391         (tabSizeAttribute): Likewise.
10392         (tabSize): New field.
10393         (PlainDocument): Made public.
10394         (PlainDocument): New constructor.
10395
10396 2004-06-16  Michael Koch  <konqueror@gmx.de>
10397
10398         * javax/swing/text/AbstractDocument.java
10399         (insertString): Throws BadLocationException.
10400         * javax/swing/text/Document.java
10401         (insertString): Likewise.
10402         * javax/swing/text/JTextComponent.java:
10403         Javadocs and comments cleaned up.
10404
10405 2004-06-16  Michael Koch  <konqueror@gmx.de>
10406
10407         * javax/swing/event/UndoableEditListener.java: Reformatted.
10408         * javax/swing/text/AbstractDocument.java
10409         (AbstractDocument): Implements java.io.Serializable.
10410         (doc_list): Removed.
10411         (undo_list): Removed.
10412         (AbstractElement.serialVerionUID): New field.
10413         (BranchElement.serialVerionUID): Likewise.
10414         (DefaultDocumentEvent.serialVerionUID): Likewise.
10415         (ElementEdit.serialVerionUID): Likewise.
10416         (LeafElement.serialVerionUID): Likewise.
10417         (serialVerionUID): Likewise.
10418         (BAD_LOCATION): New constant.
10419         (BidiElementName): Likewise.
10420         (ContentElementName): Likewise.
10421         (ParagraphElementName): Likewise.
10422         (SectionElementName): Likewise.
10423         (ElementNameAttribute): Likewise.
10424         (AbstractDocument): Made protected.
10425         (AbstractDocument): New construtor.
10426         (listenerList): New field.
10427         (fireChangedUpdate): Implemented.
10428         (fireInsertUpdate): Likewise.
10429         (fireRemoveUpdate): Likewise.
10430         (fireUndoableEditUpdate): Likewise.
10431         (getListeners): Likewise.
10432         (addDocumentListener): Likewise.
10433         (removeDocumentListener): Likewise.
10434         (addUndoableEditListener): Likewise.
10435         (removeUndoableEditListener): Likewise.
10436         (getDocumentListeners): New method.
10437         (getUndoableEditListeners): Likewise.
10438         (getAsynchronousLoadPriority): Made public.
10439         (getBidiRootElement): Likewise.
10440         (setAsynchronousLoadPriority): Likewise.
10441         (setDocumentProperties): Likewise.
10442         * javax/swing/text/BadLocationException.java
10443         (serialVerionUID): New field.
10444         * javax/swing/text/DefaultCaret.java
10445         (changeEvent): New field.
10446         (listenerList): Likewise.
10447         (changes): Removed.
10448         (addChangeListener): Reimplemented.
10449         (removeChangeListener): Likewise.
10450         (getListeners): New method.
10451         (getChangeListeners): Likwise.
10452         (getComponent): Likewise.
10453         * javax/swing/text/GapContent.java
10454         (GapContent): Implements java.io.Serializable.
10455         (serialVerionUID): New field.
10456
10457 2004-06-16  Michael Koch  <konqueror@gmx.de>
10458
10459         * javax/swing/JTree.java
10460         (treeModel): New field.
10461         (JTree): New constructors, one existing one made public.
10462         (createTreeModel): New method.
10463         (addTreeExpansionListener): Likewise.
10464         (removeTreeExpansionListener): Likewise.
10465         (getTreeExpansionListeners): Likewise.
10466         (fireTreeCollapsed): Likewise.
10467         (fireTreeExpanded): Likewise.
10468         (addTreeSelectionListener): Likewise.
10469         (removeTreeSelectionListener): Likewise.
10470         (getTreeSelectionListeners): Likewise.
10471         (fireValueChanged): Likewise.
10472         (addTreeWillExpandListener): Likewise.
10473         (removeTreeWillExpandListener): Likewise.
10474         (getTreeWillExpandListeners): Likewise.
10475         (fireTreeWillCollapse): Likewise.
10476         (fireTreeWillExpand): Likewise.
10477
10478 2004-06-16  Michael Koch  <konqueror@gmx.de>
10479
10480         * javax/swing/JTree.java: Reformatted.
10481
10482 2004-06-16  Michael Koch  <konqueror@gmx.de>
10483
10484         * javax/swing/JTextArea.java: New file.
10485         * javax/swing/JTextField.java
10486         (actions): Removed.
10487         (notifyAction): New constant.
10488         (columns): New field.
10489         (JTextField): New constructors.
10490         (createDefaultModel): New method.
10491         (addActionListener): Reimplmemented.
10492         (removeActionListener): Reimplemented.
10493         (getActionListeners): New method.
10494         (fireActionPerformed): New method.
10495         (getColumns): New method.
10496         (setColumne): New method.
10497         * javax/swing/text/JTextComponent.java
10498         (AccessibleJTextComponent.serialVersionUID): New field.
10499         (serialVersionUID): Likewise.
10500         (DEFAULT_KEYMAP): Likewise.
10501         (FOCUS_ACCELERATOR_KEY): Likewise.
10502         (doc): Made private.
10503         (icon_gap): Likewise.
10504         (icon): Likewise.
10505         (align): Likewise.
10506         (JTextComponent): Some constructors removed.
10507         (getScrollableTracksViewportHeight): New method.
10508         (getScrollableTracksViewportWidth): Likewise.
10509         * Makefile.am: Added javax/swing/JTextArea.java.
10510         * Makefile.in: Regenerated.
10511
10512 2004-06-15  Graydon Hoare  <graydon@redhat.com>
10513
10514         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
10515         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
10516         * javax/swing/JViewport.java
10517         (getExtentSize): Return size rather than preferred size.
10518         (toViewCoordinates): New methods.
10519         (getViewSize): Return size rather than preferred size.
10520         (setViewSize): Note view size as set.
10521         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
10522         * javax/swing/plaf/basic/BasicScrollBarUI.java
10523         (getPreferredSize): Don't redo layout.
10524         * javax/swing/plaf/basic/BasicViewportUI.java
10525         (paint): Translate image properly and eat exceptions.
10526
10527 2004-06-15  Kim Ho  <kho@redhat.com>
10528
10529         * javax/swing/JTabbedPane.java
10530         (setComponent): Remove old component and
10531         add new component.
10532         (setSelectedIndex): Don't operate on the
10533         components if they're null. Don't set index
10534         on the model if the index is the same.
10535         (insertTab): Don't add or hide the component
10536         if it's null. Repaint the container.
10537         * javax/swing/plaf/basic/BasicLookAndFeel.java
10538         Change colors for TabbedPane.
10539         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
10540         (mousePressed): Re-layout and paint the component.
10541         (layoutContainer): Don't set location on the view.
10542         (ScrollingViewport::paint): Remove.
10543
10544 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
10545
10546         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10547         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
10548
10549         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10550         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
10551         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
10552         critical region.
10553         (drawLine): Call gdk_flush before leaving GDK critical region.
10554         (fillRect): Likewise.
10555         (drawRect): Likewise.
10556         (copyArea): Likewise.
10557         (copyPixmap): Likewise.
10558         (clearRect): Likewise.
10559         (drawArc): Likewise.
10560         (drawPolyline): Likewise.
10561         (drawPolygon): Likewise.
10562         (fillPolygon): Likewise.
10563         (fillArc): Likewise.
10564         (drawOval): Likewise.
10565         (fillOval): Likewise.
10566
10567         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
10568         style parameter.
10569         (GdkFontMetrics): Add style argument to initState call.
10570         (stringWidth(String,int,int,String)): Add style parameter.
10571         (stringWidth(String)): Add style argument to stringWidth call.
10572         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
10573         (initState): Set pango font style and weight based on AWT style
10574         parameter.  Pass default GTK language to
10575         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
10576         simply dividing by PANGO_SCALE.
10577         (stringWidth): Set pango font style and weight based on AWT style
10578         parameter.
10579
10580         * java/awt/Button.java (next_button_number): New field.
10581         (paramString): Change output.
10582         (generateName): New method.
10583         (getUniqueLong): New method.
10584
10585 2004-06-14  Kim Ho  <kho@redhat.com>
10586
10587         * javax/swing/JTabbedPane.java:
10588         (setComponentAt): Set the component, not
10589         the enabled status.
10590         * javax/swing/plaf/basic/BasicDesktopIconUI.java
10591         (actionPerformed): Let deiconize catch exception.
10592
10593 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
10594
10595         * javax/swing/JPopupMenu.java:
10596         (setVisible): Corrected location of a
10597         heavyweight popup menu.
10598
10599 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
10600
10601         * javax/swing/MenuSelectionManager.java:
10602         Ran through jalopy to fix formatting style.
10603
10604 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
10605
10606         * javax/swing/JLayeredPane.java:
10607         (remove): Revalidate and repaint layered pane after
10608         the component was removed.
10609         javax/swing/JMenu.java:
10610         (setVisible): Display popup menu at the user location,
10611         if one was set by the user.
10612         (setMenuLocation): Reimplemented. Fixed javadoc.
10613         * javax/swing/JMenuBar.java: Added javadoc.
10614         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
10615         (MODEL_CHANGED_PROPERTY): New Property.
10616         (isSelected): Implemented.
10617         (setBorderPainted): Fire PropertyChangeEvent
10618         if paintBorder property changes.
10619         (setSelected): Implemented.
10620         (setSelectionModel): Implemented.
10621         * javax/swing/JPopupMenu.java: Added Javadoc
10622         (pack): Implemented.
10623         (setVisible): Reimplemented.
10624         (show): Fixed location.
10625         (JPopupMenu.LigthWeightPopup): Reimplemented to use
10626         Container instead of JPanel.
10627         * javax/swing/MenuSelectionManager.java: Added Javadocs.
10628         (clearSelectedPath): Reimplemented to clear selectedPath
10629         in reverse order.
10630         (processMouseEvent): Reimplemented.
10631         (setSelectedPath): Fire stateChange event indicating that
10632         selected menu path has changed.
10633         (getPath): Change to use ArrayList instead of Vector.
10634         * javax/swing/plaf/basic/BasicMenuBarUI.java:
10635         (installUI): call installKeyboardActions().
10636         (uninstallUI): call uninstallKeyboardActions().
10637
10638 2004-06-13  Michael Koch  <konqueror@gmx.de>
10639
10640         * javax/swing/text/DefaultCaret.java,
10641         javax/swing/text/BadLocationException.java:
10642         Reformatted.
10643
10644 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
10645
10646         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
10647         DEFAULT_COLS): New variables.
10648         (create): Don't allow 0 rows or 0 columns.  Instead, set the
10649         values to DEFAULT_ROWS or DEFAULT_COLS.
10650         (getMinimumSize): Likewise.
10651         (getPreferredSize): Likewise.
10652         (minimumSize): Likewise.
10653         (preferredSize): Likewise.
10654         (create): Set peer's editable state.
10655         * java/awt/TextArea.java (TextArea()): Set rows and columns to
10656         zero.  Update javadocs.
10657         (TextArea(String)): Likewise.
10658         (TextArea(int,int)): Fix javadocs.
10659         (TextArea(String,int,int,int)): Only throw exception if one of
10660         rows or columns is zero.  Fix javadocs.
10661
10662 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
10663
10664         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
10665         addition to Components.
10666
10667         * java/awt/MenuItem.java (dispatchEventImpl): If the event
10668         wasn't consumed by normal processing, send it to the parent
10669         menu.
10670
10671         * gnu/java/awt/peer/gtk/GtkImagePainter.java
10672         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
10673         translation.
10674
10675 2004-06-11  David Jee  <djee@redhat.com>
10676
10677         * java/awt/MediaTracker.java
10678         (addImage(Image,int)): Call imageUpdate() to udpate image status.
10679         (addImage(Image,int,int,int)): Likewise.
10680
10681 2004-06-11  Michael Koch  <konqueror@gmx.de>
10682
10683         * javax/swing/text/AbstractDocument.java,
10684         javax/swing/text/Document.java,
10685         javax/swing/text/GapContent.java,
10686         javax/swing/text/JTextComponent.java,
10687         javax/swing/text/PlainDocument.java:
10688         Reformatted.
10689
10690 2004-06-11  Michael Koch  <konqueror@gmx.de>
10691
10692         * javax/swing/JRootPane.java
10693         (AccessibleJRootPane.serialVersionUID): New field.
10694         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
10695         (AccessibleJRootPane.getAccessibleRole): New method.
10696         (RootLayout): Implements Serializable.
10697         (RootLayout.serialVersionUID): New field.
10698         (RootLayout.RootLayout): New constructor.
10699         (setJMenuBar): Made public.
10700         (getJMenuBar): Likewise.
10701         (JRootPane): Likewise.
10702         (createContentPane): Likewise.
10703         (createGlassPane): Likewise.
10704         (createLayeredPane): Likewise.
10705
10706 2004-06-11  Michael Koch  <konqueror@gmx.de>
10707
10708         * javax/swing/SwingUtilities.java
10709         (isLeftMouseButton): Fixed javadoc.
10710         (isMiddleMouseButton): Likewise.
10711         (isRightMouseButton): Likewise.
10712
10713 2004-06-11  Michael Koch  <konqueror@gmx.de>
10714
10715         * javax/swing/JScrollPane.java
10716         (serialVersionUID): New field.
10717         (columnHeader): Made protected.
10718         (rowHeader): Likewise.
10719         (lowerLeft): Likewise.
10720         (lowerRight): Likewise.
10721         (upperLeft): Likewise.
10722         (upperRight): Likewise.
10723         (horizontalScrollBar): Likewise.
10724         (horizontalScrollBarPolicy): Likewise.
10725         (verticalScrollBar): Likewise.
10726         (verticalScrollBarPolicy): Likewise.
10727         (viewport): Likewise.
10728
10729 2004-06-11  Michael Koch  <konqueror@gmx.de>
10730
10731         * javax/swing/LookAndFeel.java: Fixed javadocs.
10732
10733 2004-06-11  Michael Koch  <konqueror@gmx.de>
10734
10735         * javax/swing/JEditorPane.java: Fixed javadocs.
10736         (JEditorPane): Removed redundant call to to this().
10737         (fireHyperlinkUpdate): Implemented.
10738
10739 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
10740
10741         * javax/swing/JMenu.java: Fixed file name
10742         in the file comment.
10743
10744 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
10745
10746         * javax/swing/JMenu.java: Added javadoc.
10747         (JMenu): Added MenuChangeListener to listen to
10748         ChangeEvents occuring in menu's model.
10749         (insert): Throw IllegalArgumentException if
10750         index is less than 0
10751         (setSelected): Reimplement.
10752         (setPopupMenuVisible): Call menu's model isEnabled()
10753         (setDelay): Throw IllegalArgumentException if
10754         given amount of delay is less than 0.
10755         (createActionComponent): Implemented.
10756         (createActionChangeListener): Implemented.
10757         (addSeparator): Implemented.
10758         (getItem): Throw IllegalArgumentException if index is
10759         less than 0.
10760         (getItemCount): Implemented.
10761         (fireMenuSelected): Changed to use menuEvent.
10762         (fireMenuDeselected): Likewise.
10763         (fireMenuCanceled): Likewise.
10764         (setAccelerator): Changed to throw an error if this
10765         method is used.
10766         (doClick): Implemented.
10767         (JMenu.ActionChangedListener): New inner class to handle
10768         PropertyChangeEvents occuring in the actions associated with menu.
10769         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
10770         (BasicMenuUI): Added PropertyChangeListener to the menu.
10771         (createChangeListener): Implemented.
10772         (createMenuDragMouseListener): Likewise.
10773         (createMenuKeyListener): Likewise.
10774         (createPropertyChangeListener): Likewise.
10775         (uninstallListeners): Likewise.
10776         (BasicMenuUI.MouseInputHandler): Reimplemented.
10777         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
10778         (BasicMenuUI.ChangeHandler): Likewise.
10779         (BasicMenuUI.MenuDragMouseHandler): Likewise.
10780         (BasicMenuUI.MenuKeyHandler): Likewise.
10781
10782 2004-06-10  David Jee  <djee@redhat.com>
10783
10784         * java/awt/MediaTracker.java
10785         (imageUpdate): Only do notifyAll() if the image is complete.
10786
10787 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
10788
10789         * javax/swing/JApplet.java:
10790         (getJMenuBar): Made public.
10791         (setJMenuBar): Likewise.
10792         * javax/swing/JFrame.java:
10793         (getJMenuBar): Made public.
10794         (setJMenuBar): Likewise.
10795         * javax/swing/JWindow.java:
10796         (getJMenuBar): Removed.
10797         (setJMenuBar): Removed.
10798
10799 2004-06-10  Michael Koch  <konqueror@gmx.de>
10800
10801         * javax/swing/JEditorPane.java
10802         (createEditorKitForContentType): Fixed visibility.
10803         (fireHyperlinkUpdate): Likewise.
10804         (getContentType): Likewise.
10805         (getEditorKit): Likewise.
10806         (getEditorKitForContentType): Likewise.
10807         (getPage): Likewise.
10808         (read): Likewise.
10809         (registerEditorKitForContentTyoe): Likewise.
10810         (replaceSelection): Likewise.
10811         (setContentType): Likewise.
10812         (setEditorKit): Likewise.
10813         (setPage): Likewise.
10814
10815 2004-06-10  Michael Koch  <konqueror@gmx.de>
10816
10817         * javax/swing/Timer.java
10818         (Timer): New constructor.
10819         * javax/swing/plaf/basic/BasicProgressBarUI.java
10820         (animationTimer): Don't initialize at construction.
10821         (startAnimationTimer): Added since tag.
10822         (stopAnimationTimer): Likewise.
10823         (installUI): Use new Timer constructor.
10824         * javax/swing/plaf/basic/BasicScrollBarUI.java
10825         (installUI): Likewise.
10826         * javax/swing/plaf/basic/BasicSliderUI.java
10827         (installUI): Likewise.
10828
10829 2004-06-10  Michael Koch  <konqueror@gmx.de>
10830
10831         * javax/swing/ButtonGroup.java
10832         (serialVersionUID): Made private.
10833         (buttons): Renamed from v, added javadoc.
10834         (sel): Added javadoc.
10835         (ButtonGroup): Likewise.
10836         (add): Likewise.
10837         (remove): Likewise.
10838         (getElements): Likewise.
10839         (getSelection): Likewise.
10840         (setSelected): Likewise.
10841         (isSelected): Likewise.
10842         (getButtonCount): Likewise.
10843
10844 2004-06-10  Michael Koch  <konqueror@gmx.de>
10845
10846         * javax/swing/ButtonGroup.java,
10847         javax/swing/ImageIcon.java,
10848         javax/swing/JEditorPane.java,
10849         javax/swing/JRootPane.java,
10850         javax/swing/JTextField.java,
10851         javax/swing/LookAndFeel.java,
10852         javax/swing/plaf/basic/BasicTextUI.java:
10853         Reindented.
10854
10855 2004-06-10  Michael Koch  <konqueror@gmx.de>
10856
10857         * javax/swing/text/Style.java: Added javadocs.
10858
10859 2004-06-10  Michael Koch  <konqueror@gmx.de>
10860
10861         * javax/swing/JComponent.java
10862         (fireVetoableChange): Removed redundant cast.
10863         * javax/swing/JLabel.java
10864         (getDisabledIcon): Save icon for next call.
10865
10866 2004-06-10  Michael Koch  <konqueror@gmx.de>
10867
10868         * javax/swing/KeyStroke.java
10869         (getKeyStroke(char,boolean)): Marked deprecated.
10870
10871 2004-06-10  Michael Koch  <konqueror@gmx.de>
10872
10873         * javax/swing/DefaultCellEditor.java,
10874         javax/swing/GrayFilter.java,
10875         javax/swing/event/DocumentEvent.java,
10876         javax/swing/text/JTextComponent.java,
10877         javax/swing/text/MutableAttributeSet.java:
10878         Reindented.
10879
10880 2004-06-10  Michael Koch  <konqueror@gmx.de>
10881
10882         * javax/swing/plaf/BorderUIResource.java:
10883         Added serialVersionUID all over.
10884
10885 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
10886
10887         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10888
10889 2004-06-10  Michael Koch  <konqueror@gmx.de>
10890
10891         * javax/swing/table/DefaultTableCellRenderer.java
10892         (noFocusBorder): Initialize directly.
10893
10894 2004-06-10  Michael Koch  <konqueror@gmx.de>
10895
10896         * javax/swing/plaf/basic/BasicArrowButton.java
10897         (setDirection): Use method argument.
10898
10899 2004-06-10  Michael Koch  <konqueror@gmx.de>
10900
10901         * javax/swing/plaf/BorderUIResource.java,
10902         javax/swing/plaf/ComponentUI.java,
10903         javax/swing/undo/CompoundEdit.java,
10904         javax/swing/undo/StateEdit.java:
10905         Fixed javadocs all over.
10906
10907 2004-06-10  Michael Koch  <konqueror@gmx.de>
10908
10909         * javax/swing/DefaultButtonModel.java
10910         (ARMED): Made public final, fixed value.
10911         (ENABLED): Likewise.
10912         (PRESSED): Likewise.
10913         (ROLLOVER): Likewise.
10914         (SELECTED): Likewise.
10915         (stateMask): Initialize directly.
10916         (listenerList): Likewise.
10917         (mnemonic): Likewise.
10918         (fireStateChanged): Removed argument, use changeEvent as event.
10919         All places where this method is called are fixed too.
10920         (getActionCommant): Fixed javadoc.
10921         (setGroup): Fixed javadoc.
10922         (getGroup): New method.
10923
10924 2004-06-09  Olga Rodimina <rodimina@redhat.com>
10925
10926         * javax/swing/AbstractButton.java
10927         (AbstractButton): Use init() to initialize the button.
10928         (init): New Method. Initializes AbstractButton.
10929         * javax/swing/JMenuItem.java: Documented.
10930         (JMenuItem): Reimplemented.
10931         (init): Implemented.
10932         (setEnabled): Changed to call super.setEnabled()
10933         (processMouseEvent): Reimplemented.
10934         (fireMenuKeyPressed): Implemented.
10935         (fireMenuKeyReleased): Implemented.
10936         (fireMenuKeyTyped): Implemented.
10937         (menuSelectionChanged): disarm the model if the menu item was
10938         deselected.
10939         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
10940         (getPath): Change to use ArrayList instead of Vector.
10941         (getPreferredSize): Renamed variable.
10942         (paintMenuItem): Paint margin area of menu item.
10943         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
10944         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
10945         menu item's bounds before clearing the selection.
10946
10947 2004-06-09  David Jee  <djee@redhat.com>
10948
10949         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
10950         (GtkTextComponentPeer): Set caret position to 0.
10951         * java/awt/TextComponent.java
10952         (setText): Set caret position to 0.
10953         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10954         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10955         Handle GtkScrolledWindow separately. Fix signal handler blocking.
10956         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10957         Likewise.
10958         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10959         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
10960         visible.
10961
10962 2004-06-09  Kim Ho  <kho@redhat.com>
10963
10964         * Makefile.am: New files
10965         * Makefile.in: Regenerated
10966         * java/awt/Container.java
10967         (getComponentAt): Removed.
10968         * javax/swing/AbstractAction.java
10969         (ENABLED_PROPERTY): New property.
10970         (putValue): Fire PropertyChangeEvents.
10971         (setEnabled): ditto.
10972         (firePropertyChange): Javadoc and implement
10973         convenience method.
10974         * javax/swing/AbstractButton.java
10975         (setAction): Don't create PropertyChangeListener
10976         if new Action is null.
10977         (setIcon): Don't set icon till after comparing
10978         it.
10979         (configurePropertiesFromAction): Check mnemonic
10980         key before calling intValue().
10981         (createActionPropertyChangeListener): Check
10982         properties rather than bulk change.
10983         * javax/swing/DefaultDesktopManager.java:
10984         Implement.
10985         * javax/swing/DesktopManager.java:
10986         Jalopy and javadoc.
10987         * javax/swing/JComponent.java
10988         (fireVetoableChange): Implement.
10989         (paintImmediately): Use root component.
10990         * javax/swing/JDesktopPane.java: Implement
10991         * javax/swing/JInternalFrame.java: Implement
10992         * javax/swing/JLabel.java
10993         (getDisabledIcon): Return grayscaled icon if
10994         no disabled icon specified.
10995         * javax/swing/JMenuBar.java
10996         (getComponentAtIndex): Use getComponent
10997         * javax/swing/JOptionPane.java
10998         (getDesktopPaneForComponent): Use SwingUtilities'
10999         getAncestorOfClass
11000         (getFrameForComponent): ditto.
11001         * javax/swing/JSplitPane.java
11002         (remove): Use getComponent.
11003         * javax/swing/SwingUtilities.java
11004         (convertPoint): Implement.
11005         * javax/swing/plaf/basic/BasicButtonUI.java
11006         (paintButtonNormal): Check opaqueness before
11007         filling background.
11008         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
11009         Implement
11010         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
11011         Implement.
11012         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
11013         Implement.
11014         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
11015         Implement.
11016         * javax/swing/plaf/basic/BasicLookAndFeel.java:
11017         Change InternalFrame and Desktop colors.
11018
11019 2004-06-09  David Jee  <djee@redhat.com>
11020
11021         * java/awt/Container.java
11022         (remove): Do not set component to invisible.
11023
11024 2004-06-09  Michael Koch  <konqueror@gmx.de>
11025
11026         * javax/swing/tree/DefaultMutableTreeNode.java
11027         (getLeafCount): Renamed enum to e.
11028
11029 2004-06-09  Michael Koch  <konqueror@gmx.de>
11030
11031         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
11032         (positionForMouseEvent): Removed redundant semicolon.
11033         (continueDrag): Use method arguments.
11034
11035 2004-06-09  Michael Koch  <konqueror@gmx.de>
11036
11037         * javax/swing/border/TitledBorder.java,
11038         javax/swing/filechooser/FileSystemView.java,
11039         javax/swing/plaf/basic/BasicButtonListener.java,
11040         javax/swing/plaf/basic/BasicGraphicsUtils.java,
11041         javax/swing/plaf/basic/BasicLabelUI.java,
11042         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
11043         javax/swing/plaf/basic/BasicScrollBarUI.java,
11044         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11045         javax/swing/plaf/basic/BasicSliderUI.java,
11046         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
11047         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11048         javax/swing/table/JTableHeader.java,
11049         javax/swing/text/AbstractDocument.java,
11050         javax/swing/text/DefaultCaret.java,
11051         javax/swing/text/StyledEditorKit.java,
11052         javax/swing/tree/DefaultTreeCellEditor.java:
11053         Reworked import statements.
11054
11055 2004-06-08  Graydon Hoare  <graydon@redhat.com>
11056
11057         * javax/swing/Box.java: Temporarily comment out code
11058         broken due to visibility bug.
11059
11060 2004-06-09  Michael Koch  <konqueror@gmx.de>
11061
11062         * javax/swing/ImageIcon.java
11063         (ImageIcon): Added missing constructor.
11064
11065 2004-06-08  Michael Koch  <konqueror@gmx.de>
11066
11067         * javax/swing/JToggleButton.java
11068         (JToggleButton): New constructor.
11069         (getAccessibleContext): Moved documentation into javadoc.
11070         (getUIClassID): Likewise.
11071
11072 2004-06-08  Michael Koch  <konqueror@gmx.de>
11073
11074         * javax/swing/AbstractButton.java
11075         (getDisabledIcon): Create disabled icon if none exists yet.
11076
11077 2004-06-08  Michael Koch  <konqueror@gmx.de>
11078
11079         * javax/swing/plaf/basic/BasicLookAndFeel.java
11080         (initClassDefaults): Added FormattedTextFieldUI.
11081         (loadResourceBundle): Renamed enum to e.
11082
11083 2004-06-08  Michael Koch  <konqueror@gmx.de>
11084
11085         * javax/swing/plaf/basic/BasicButtonUI.java
11086         (paintIcon): Simplified.
11087         (paintText): Paint disabled button correctly.
11088
11089 2004-06-08  Michael Koch  <konqueror@gmx.de>
11090
11091         * javax/swing/JComponent.java
11092         (createToolTip): Use official JToolTip API.
11093
11094 2004-06-08  Michael Koch  <konqueror@gmx.de>
11095
11096         * javax/swing/JToolTip.java
11097         (JToolTip): No arguments in API.
11098         (setTipText): New method.
11099
11100 2004-06-08  Michael Koch  <konqueror@gmx.de>
11101
11102         * javax/swing/SwingUtilities.java
11103         (isLeftMouseButton): New method.
11104         (isMiddleMouseButton): New method.
11105         (isRightMouseButton): New method.
11106
11107 2004-06-08  Michael Koch  <konqueror@gmx.de>
11108
11109         * javax/swing/AbstractButton.java,
11110         javax/swing/CellRendererPane.java,
11111         javax/swing/JCheckBoxMenuItem.java,
11112         javax/swing/JColorChooser.java,
11113         javax/swing/JComboBox.java,
11114         javax/swing/JComponent.java,
11115         javax/swing/JDesktopPane.java,
11116         javax/swing/JFileChooser.java,
11117         javax/swing/JMenu.java,
11118         javax/swing/JMenuItem.java,
11119         javax/swing/JOptionPane.java,
11120         javax/swing/JPasswordField.java,
11121         javax/swing/JPopupMenu.java,
11122         javax/swing/JProgressBar.java,
11123         javax/swing/JRadioButtonMenuItem.java,
11124         javax/swing/JScrollBar.java,
11125         javax/swing/JSeparator.java,
11126         javax/swing/JSlider.java,
11127         javax/swing/JSplitPane.java,
11128         javax/swing/JTabbedPane.java,
11129         javax/swing/JTextField.java,
11130         javax/swing/JToolBar.java,
11131         javax/swing/text/JTextComponent.java:
11132         Fixed all constructors of accessibility classes.
11133
11134 2004-06-08  Michael Koch  <konqueror@gmx.de>
11135
11136         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
11137         over.
11138
11139 2004-06-08  Michael Koch  <konqueror@gmx.de>
11140
11141         * javax/swing/Box.java
11142         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
11143         (AccessibleBoxFiller.serialVersionUID): New member variable.
11144         * javax/swing/DefaultButtonModel.java
11145         (stateMask): Made protected.
11146         (listenerList): Likewise.
11147         (changeEvent): Likewise.
11148         (group): Likewise.
11149         (mnemonic): Likewise.
11150         (actionCommand): Likewise.
11151         (getListeners): New method.
11152         (getActionListeners): New method.
11153         (getItemListeners): New method.
11154         (getChangeListeners): New method.
11155         (fireItemStateChanged): Simplified.
11156         (fireActionPerformed): Simplified.
11157         (fireStateChanged): Simplified.
11158         * javax/swing/JFrame.java
11159         (JFrame): Implements WindowContants.
11160         (HIDE_ON_CLOSE): Removed.
11161         (EXIT_ON_CLOSE): Removed.
11162         (DISPOSE_ON_CLOSE): Removed.
11163         (DO_NOTHING_ON_CLOSE): Removed.
11164         (processWindowEvent): Exit with code 0.
11165         (setDefaultCloseOperation): Do security check before setting value.
11166         * javax/swing/JOptionPane.java
11167         (message): Initialize only in constructor.
11168         * javax/swing/JToolTip.java: Removed unused imports.
11169         * javax/swing/JViewport.java
11170         (serialVersionUID): New member variable.
11171         (SIMPLE_SCROLL_MODE): Made final, fixed value.
11172         (BLIT_SCROLL_MODE): Likewise.
11173         (BACKINGSTORE_SCROLL_MODE): Likewise.
11174         (scrollUnderway): Made protected.
11175         (isViewSizeSet): Likewise.
11176         * javax/swing/ListModel.java: Fixed javadoc.
11177         * javax/swing/Popup.java: Likewise.
11178         * javax/swing/RepaintManager.java
11179         (paintDirtyRegions): Don't use internal classes of
11180         java.util.AbstractMap.
11181         * javax/swing/ScrollPaneConstants.java: Reindented.
11182         * javax/swing/ScrollPaneLayout.java
11183         (viewport): Made protected.
11184         (verticalScrollBar): Made protected, renamed to vsb.
11185         (horizontalScrollBar): Made protected, renamed to hsb.
11186         (rowHeader): Made protected, renamed to rowHead.
11187         (columnHeader): Made protected, renamed to colHead.
11188         (lowerLeft): Made protected.
11189         (lowerRight): Made protected.
11190         (upperLeft): Made protected.
11191         (upperRight): Made protected.
11192         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
11193         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
11194
11195 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
11196
11197         * java/awt/MediaTracker.java (imageUpdate): Only set status to
11198         LOADING if flags has SOMEBITS set.
11199
11200 2004-06-07  Michael Koch  <konqueror@gmx.de>
11201
11202         * javax/swing/AbstractButton.java: Reorganized imports.
11203         * javax/swing/ActionMap.java: Likewise.
11204         * javax/swing/DefaultButtonModel.java: Likewise.
11205         * javax/swing/DefaultListModel.java: Likewise.
11206         * javax/swing/ImageIcon.java: Likewise.
11207         (serialVersionUID): New member variable.
11208         * javax/swing/JComboBox.java: Reorganized imports.
11209         * javax/swing/JComponent.java: Likewise.
11210         (ui): Made protected.
11211         (listenerList): Made protected.
11212         (TOOL_TIP_TEXT_KEY): New constant.
11213         (scrollRectToVisible): Removed redundant null check.
11214         * javax/swing/JFrame.java: Reorganized imports.
11215         * javax/swing/JInternalFrame.java: Reorganized imports.
11216         * javax/swing/JProgressBar.java: Likewise.
11217         * javax/swing/JRootPane.java: Likewise.
11218         * javax/swing/JScrollBar.java: Likewise.
11219         * javax/swing/JSeparator.java: Likewise.
11220         * javax/swing/JSlider.java: Likewise.
11221         * javax/swing/JTabbedPane.java: Likewise.
11222         * javax/swing/JTextField.java: Likewise.
11223         * javax/swing/JToolBar.java: Likewise.
11224         * javax/swing/JTree.java: Likewise.
11225         * javax/swing/JViewport.java: Likewise.
11226         * javax/swing/JWindow.java: Likewise.
11227         * javax/swing/KeyStroke.java: Likewise.
11228         * javax/swing/LookAndFeel.java: Likewise.
11229         * javax/swing/MenuSelectionManager.java: Likewise.
11230         * javax/swing/SwingUtilities.java: Likewise.
11231         * javax/swing/Timer.java: Likewise.
11232         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
11233         * javax/swing/JList.java
11234         (HORIZONTAL_WRAP): Made final, fixed value.
11235         (VERTICAL): Likewise.
11236         (VERTICAL_WRAP): Likewise.
11237
11238 2004-06-07  Michael Koch  <konqueror@gmx.de>
11239
11240         * javax/swing/AbstractButton.java
11241         (serialVersionUID): New member variable.
11242         (AccessibleAbstractButton.serialVersionUID): Likewise.
11243         (AbstractButton): Made public.
11244         * javax/swing/Box.java
11245         (AccessibleBox.serialVersionUID): New member variable.
11246         (Filler.serialVersionUID): Likewise.
11247         * javax/swing/DefaultListSelectionModel.java
11248         (serialVersionUID): Likewise.
11249         * javax/swing/JApplet.java
11250         (serialVersionUID): Likewise.
11251         * javax/swing/JCheckBox.java
11252         (serialVersionUID): Likewise.
11253         * javax/swing/JCheckBoxMenuItem.java
11254         (serialVersionUID): Likewise.
11255         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
11256         * javax/swing/JColorChooser.java
11257         (serialVersionUID): Likewise.
11258         (AccessibleJColorChooser.serialVersionUID): Likewise.
11259         * javax/swing/JComponent.java
11260         (serialVersionUID): Made private.
11261         (AccessibleJComponent.serialVersionUID): New member variable.
11262         * javax/swing/JDesktopPane.java
11263         (serialVersionUID): Likewise.
11264         * javax/swing/JDialog.java
11265         (serialVersionUID): Likewise.
11266         * javax/swing/JFormattedTextField.java
11267         (serialVersionUID): Fixed value.
11268         * javax/swing/JFrame.java
11269         (serialVersionUID): New member variable.
11270         (getDefaultCloseOpertation): Made public.
11271         * javax/swing/JLayeredPane.java
11272         (serialVersionUID): Likewise.
11273         (LAYER_PROPERTY): Made final, fixed value.
11274         (JLayeredPane): Made public.
11275         * javax/swing/JMenu.java
11276         (AccessibleJMenu.serialVersionUID): New member variable.
11277         (WinListener.serialVersionUID): Likewise.
11278         * javax/swing/JMenuBar.java
11279         (serialVersionUID): Likewise.
11280         (getComponentAtIndex): Added @deprecated tag.
11281         * javax/swing/JMenuItem.java
11282         (serialVersionUID): New member variable.
11283         (AccessibleJMenuItem.serialVersionUID): Likewise.
11284         * javax/swing/JOptionPane.java
11285         (serialVersionUID): Likewise.
11286         (AccessibleJOptionPane.serialVersionUID): Likewise.
11287         * javax/swing/JPopupMenu.java
11288         (serialVersionUID): Likewise.
11289         (AccessibleJPopupMenu.serialVersionUID): Likewise.
11290         (getPopupMenuListeners): New method.
11291         (getComponentAtIndex): Added @deprecated tag.
11292         * javax/swing/JProgressBar.java
11293         (serialVersionUID): New member variable.
11294         (AccessibleJProgressBar.serialVersionUID): Likewise.
11295         * javax/swing/JRadioButton.java
11296         (serialVersionUID): Likewise.
11297         * javax/swing/JRadioButtonMenuItem.java
11298         (serialVersionUID): Likewise.
11299         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
11300         * javax/swing/JScrollBar.java
11301         (serialVersionUID): Likewise.
11302         (AccessibleJScrollBar.serialVersionUID): Likewise.
11303         * javax/swing/JSeparator.java
11304         (serialVersionUID): Likewise.
11305         (AccessibleJSeparator.serialVersionUID): Likewise.
11306         * javax/swing/JSlider.java: Fixed javadocs.
11307         (AccessibleJSlider.serialVersionUID): New member variable.
11308         * javax/swing/JSplitPane.java: Added copyright statement.
11309         (serialVersionUID): New member variable.
11310         (AccessibleJSplitPane.serialVersionUID): Likewise.
11311         * javax/swing/JTabbedPane.java
11312         (serialVersionUID): Likewise.
11313         (AccessibleJTabbedPane.serialVersionUID): Likewise.
11314         (ModelListener.serialVersionUID): Likewise.
11315         (ModelListener.ModelListener): New constructor.
11316         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
11317         (WRAP_TAB_LAYOUT): Likewise.
11318         * javax/swing/JTable.java
11319         (serialVersionUID): New member variable.
11320         * javax/swing/JToggleButton.java
11321         (serialVersionUID): Likewise.
11322         (ToggleButtonModel): Made static.
11323         (ToggleButtonModel.serialVersionUID): New member variable.
11324         * javax/swing/JToolTip.java
11325         (serialVersionUID): Likewise.
11326         * javax/swing/JTree.java
11327         (serialVersionUID): Likewise.
11328         * javax/swing/JWindow.java
11329         (serialVersionUID): Likewise.
11330         * javax/swing/Timer.java
11331         (serialVersionUID): Likewise.
11332
11333 2004-06-06  Michael Koch  <konqueror@gmx.de>
11334
11335         * javax/swing/SwingConstants.java
11336         (NEXT): New constant.
11337         (PREVIOUS): Likewise.
11338         * javax/swing/UIManager.java
11339         (LookAndFeel): Made public.
11340         (LookAndFeel.getClassName): Likewise.
11341         (LookAndFeel.getName): Likewise.
11342
11343 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
11344
11345         * javax/swing/JCheckBoxMenuItem.java:
11346         Removed CVS tags.
11347         * javax/swing/JMenu.java: Likewise.
11348         * javax/swing/JMenuBar.java: Likewise.
11349         * javax/swing/JMenuItem.java: Likewise.
11350         * javax/swing/JPopupMenu.java: Likewise.
11351         * javax/swing/JRadioButtonMenuItem.java: Likewise.
11352         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
11353         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
11354         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
11355         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
11356         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
11357         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
11358
11359 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
11360
11361         * javax/swing/plaf/basic/BasicMenuUI.java:
11362         (MouseEntered): Do not call getPath() from MenuSelectionManager.
11363         Call getPath() from super class instead.
11364
11365 2004-05-31  David Jee  <djee@redhat.com>
11366
11367         * java/awt/Container.java
11368         (remove): Set component visibility to false after removing it.
11369
11370 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
11371
11372         * java/awt/Component.java (getForeground): Return SystemColor if
11373         parent is null.
11374         (getBackground): Likewise.
11375
11376         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
11377         (item_highlighted): New function.
11378         (connectSignals): Set item_highlighted as list's select
11379         function.
11380
11381         * java/applet/Applet.java: Revert changes from 2004-04-29,
11382         2004-03-15 and 2004-03-14.
11383
11384         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
11385         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
11386         factor.
11387
11388         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
11389         "Dialog" as the default font.
11390         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
11391         Likewise.
11392         * java/awt/Component.java (getFont): Return "Dialog" font by
11393         default.
11394         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
11395         Multiply size argument to pango_font_description_set_size by the
11396         DPI conversion factor rather than by PANGO_SCALE.
11397         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
11398         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
11399         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
11400         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
11401         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
11402         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
11403         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
11404         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
11405         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
11406         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
11407         Divide baseline y coordinate by DPI conversion factor rather
11408         than by PANGO_SCALE.
11409         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
11410         (area_prepared): Fix typo.
11411         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
11412         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
11413         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
11414         (dpi_conversion_factor): New global variable.
11415         (init_dpi_conversion_factor): New function to calculate and
11416         track DPI conversion factor.
11417         (dpi_changed_cb): New callback.
11418         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
11419
11420 2004-05-27  David Jee  <djee@redhat.com>
11421
11422         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11423         (getGraphics): Return a new GdkGraphics instance.
11424         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11425         (getGraphics): Call super.getGraphics().
11426
11427 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
11428
11429         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11430         (setNativeBounds): Clamp width and height values to >= 0.
11431
11432         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11433         (find_fg_color_widget): Handle GtkOptionMenu specially.
11434
11435         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11436         (pre_event_handler): Only post configure events to visible
11437         top-level windows.
11438
11439 2004-05-26  David Jee  <djee@redhat.com>
11440
11441         * java/awt/BorderLayout.java
11442         (layoutContainer): Fix size calculations.
11443
11444 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
11445
11446         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11447         (window_wm_protocols_filter): Remove function.
11448         (create): Remove filter that removes WM_TAKE_FOCUS client
11449         messages.
11450
11451 2004-06-17  Anthony Green  <green@redhat.com>
11452
11453         * java/util/zip/ZipFile.java (getInputStream): Return null if
11454         entry not found.
11455
11456         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
11457         directory contents to the class path.
11458
11459 2004-06-15  Andrew Haley  <aph@redhat.com>
11460
11461         * java/lang/natSystem.cc (getenv0): Don't assume environment
11462         variable is Latin 1 coded.
11463
11464 2004-06-14  Andreas Jaeger  <aj@suse.de>
11465
11466         * configure.in: Support --enable-version-specific-runtime-libs.
11467         * configure: Regenerated.
11468
11469 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
11470
11471         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
11472         to pass ClassLoader argument.
11473         * java/util/GregorianCalendar.java: Likewise.
11474         * java/util/Currency.java: Likewise.
11475         * java/text/BreakIterator.java: Likewise.
11476         * java/text/Collator.java: Likewise.
11477         * java/text/DateFormat.java: Likewise.
11478         * java/text/DateFormatSymbols.java: Likewise.
11479         * java/text/DecimalFormatSymbols.java: Likewise.
11480         * java/text/NumberFormat.java: Likewise.
11481         * java/awt/Window.java: Likewise.
11482
11483 2004-06-14  Andrew Haley  <aph@redhat.com>
11484
11485         * java/lang/System.java: (getenv0): New method.
11486         (getenv): Add security check.  Do the right thing.
11487         * java/lang/natSystem.cc (getenv0): New method.
11488
11489 2004-06-12  Mark Wielaard  <mark@klomp.org>
11490
11491         * javax/swing/RepaintManager.java
11492         (paintDirtyRegions): Use entrySet(), not values().
11493
11494 2004-06-10  Mark Wielaard  <mark@klomp.org>
11495
11496         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
11497         NoSuchMethodError.
11498
11499 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
11500
11501         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
11502         when we already know the answer.
11503         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
11504         (setStartRule,setEndRule): Don't take abs of day number.
11505         (getOffset): Clarify docs.  Add argument checks.
11506         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
11507         (equals,hasSameRules,toString,readObject): Use startTimeMode and
11508         endTimeMode.
11509
11510 2004-06-10  Tom Tromey  <tromey@redhat.com>
11511
11512         * interpret.cc (run): Handle wide fload.
11513
11514 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
11515
11516         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
11517
11518 2004-06-05  Michael Koch  <konqueror@gmx.de>
11519
11520         * javax/swing/SwingConstants.java
11521         (NEXT): New constant.
11522         (PREVIOUS): Likewise.
11523
11524 2004-06-05  Michael Koch  <konqueror@gmx.de>
11525
11526         * javax/swing/UIManager.java
11527         (LookAndFeel): Made public.
11528         (LookAndFeel.getName): Likewise.
11529         (LookAndFeel.getClassName): Likewise.
11530
11531 2004-06-03  Michael Koch  <konqueror@gmx.de>
11532
11533         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11534         (requestFocus): Revert last changes.
11535         (gtkRequestFocus): Removed.
11536         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11537         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
11538         Renamed to ...
11539         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
11540         Reverted last patch.
11541         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
11542         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
11543         Reverted comment change.
11544
11545 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
11546
11547         * javax/swing/JCheckBoxMenuItem.java:
11548         Removed CVS tags.
11549         * javax/swing/JMenu.java: Likewise.
11550         * javax/swing/JMenuBar.java: Likewise.
11551         * javax/swing/JMenuItem.java: Likewise.
11552         * javax/swing/JPopupMenu.java: Likewise.
11553         * javax/swing/JRadioButtonMenuItem.java: Likewise.
11554         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
11555         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
11556         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
11557         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
11558         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
11559         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
11560
11561 2004-06-01  Tom Tromey  <tromey@redhat.com>
11562
11563         * java/io/ObjectStreamField.java: Cleaned up imports.
11564
11565 2004-06-01  Michael Koch  <konqueror@gmx.de>
11566
11567         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
11568
11569 2004-06-01  Mark Wielaard  <mark@klomp.org>
11570
11571         * java/io/Writer.java (Writer(Object)): Fixed API doc.
11572
11573 2004-06-01  Michael Koch  <konqueror@gmx.de>
11574
11575         * java/security/Security.java
11576         (insertProviderAt): Use equals() instead of ==.
11577         (removeProvicer): Likewise.
11578         (getProvider): Likewise.
11579         * java/security/Signature.java
11580         (sign): Don't set state to UNINITIALIZED.
11581         (verify): Likewise.
11582
11583 2004-06-01  Mark Wielaard  <mark@klomp.org>
11584
11585         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
11586         Implement by calling gtkRequestFocus.
11587         (gtkRequestFocus): New native method.
11588         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11589         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
11590         Renamed to ...
11591         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
11592         New function name.
11593         (filter_expose_event_handler):
11594         Mark static.
11595         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
11596         (menu_pos): Mark static.
11597
11598 2004-06-01  Michael Koch  <konqueror@gmx.de>
11599
11600         * java/text/CollationElementIterator.java,
11601         java/text/CollationKey.java,
11602         java/text/RuleBasedCollator.java: New versions from GNU classpath.
11603         * testsuite/libjava.mauve/xfails: Removed all
11604         java.text.CollationElementIterator tests.
11605
11606 2004-06-01  Michael Koch  <konqueror@gmx.de>
11607
11608         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
11609         version.
11610         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
11611         Java 1.5 keyword usage.
11612
11613 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
11614
11615         * javax/swing/plaf/basic/BasicMenuUI.java:
11616         (MouseEntered): Do not call getPath() from MenuSelectionManager.
11617         Call getPath() from super class instead.
11618
11619 2004-05-31  Michael Koch  <konqueror@gmx.de>
11620
11621         * java/io/SequenceInputStream.java:
11622         Rename enum to e because enum is a keyword in Java 1.5.
11623
11624 2004-05-31  Michael Koch  <konqueror@gmx.de>
11625
11626         * gnu/java/rmi/rmic/CompilerProcess.java:
11627         Fixed javadoc to by XHTML compliant.
11628
11629 2004-05-30  Mark Wielaard  <mark@klomp.org>
11630
11631         * java/awt/Toolkit.java (loadSystemColors): Implement.
11632
11633 2004-05-30  Michael Koch  <konqueror@gmx.de>
11634
11635         * java/lang/System.java: Reordered imports.
11636
11637 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
11638
11639         * java/text/DecimalFormat.java
11640         (parse): Fixed parsing of decimal strings. Number of maximum
11641         digits to be read should now work.
11642         * java/text/SimpleDateFormat.java
11643         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
11644         formatter. This fixes DateFormatTest.
11645
11646 2004-05-30  Michael Koch  <konqueror@gmx.de>
11647
11648         * java/nio/Buffer.java
11649         (limit): Fixed off by one error.
11650         * java/nio/CharBuffer.java
11651         (wrap): Fixed arguments, added javadocs.
11652
11653 2004-05-30  Michael Koch  <konqueror@gmx.de>
11654
11655         * gnu/java/beans/BeanInfoEmbryo.java,
11656         java/awt/im/InputContext.java,
11657         javax/swing/tree/DefaultMutableTreeNode.java:
11658         Rename enum to e because enum is a keyword in Java 1.5.
11659
11660 2004-05-30  Michael Koch  <konqueror@gmx.de>
11661
11662         * gnu/java/math/MPN.java,
11663         java/awt/geom/Arc2D.java:
11664         Fixed javadocs all over.
11665
11666 2004-05-30  Michael Koch  <konqueror@gmx.de>
11667
11668         * java/awt/DefaultKeyboardFocusManager.java
11669         (dispatchEvent): Call method to get key event dispatchers.
11670         (dispatchKeyEvent): Call method to get key event post processors.
11671         * javax/swing/JComponent.java
11672         (listenerList): Made protected.
11673         * javax/swing/JOptionPane.java
11674         (message): Don't initialize.
11675         (JOptionPane): Set message text.
11676         * javax/swing/JPopupMenu.java
11677         (show): Fixed typo in argument name.
11678         * javax/swing/RepaintManager.java
11679         (paintDirtyRegions): Use public API of java.util.Map.
11680         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
11681         (positionForMouseEvent): Removed redundant ';'.
11682         (continueDrag): Use method arguments.
11683
11684 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
11685
11686         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
11687         results.
11688
11689 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
11690
11691         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
11692         _Jv_AllocBytes.
11693         * gnu/gcj/RawDataManaged.java: New file.
11694         * java/lang/Thread.java (data): Declare as RawDataManaged.
11695         * java/lang/natThread.cc (init_native): Cast natThread data to
11696         RawDataManaged, not jobject.
11697         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
11698         * Makefile.in: Rebuilt.
11699
11700 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
11701
11702         * java/util/SimpleTimeZone.java: Reverting my last change until I
11703         can fix it properly.
11704
11705 2004-05-27  Michael Koch  <konqueror@gmx.de>
11706
11707         * javax/swing/JPopupMenu.java
11708         (isVisible): Do not use visible directly.
11709         (setVisible): Likewise.
11710         * javax/swing/JWindow.java
11711         (JWindow): call accessible constructor.
11712         * javax/swing/RepaintManager.java
11713         (paintDirtyRegions): Use public methods to obtain iterator.
11714
11715 2004-05-25  David Jee  <djee@redhat.com>
11716
11717         * java/awt/Container.java
11718         (remove): Set component's parent to null only after we removed the
11719         component from its parent's layout manager.
11720
11721 2004-05-25  David Jee  <djee@redhat.com>
11722
11723         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11724         (GtkComponentPeer): Set bounds regardless of whether awtComponent
11725         is valid.
11726         * gnu/java/awt/peer/gtk/GtkListPeer.java
11727         (getSize): Change native method declaration.
11728         (minimumSize): Pass visible row count into getSize().
11729         (preferredSize): Likewise.
11730         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
11731         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
11732         natural size. Use visible row count to determine the final height
11733         value to return.
11734
11735 2004-05-21  Graydon Hoare  <graydon@redhat.com>
11736
11737         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11738         (setClip): Minor correction to order of operations.
11739
11740         * javax/swing/JScrollPane.java: Extend sketchy implementation.
11741         * javax/swing/ScrollPaneLayout.java: Likewise.
11742         * javax/swing/JViewPort.java: Likewise.
11743         * javax/swing/ViewportLayout.java: Likewise.
11744
11745         * javax/swing/JComponent.java: Rewrite.
11746         * javax/swing/RepaintManager.java: Likewise.
11747
11748         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
11749         * javax/swing/JList.java
11750         (setSelectedIndices):
11751         (getSelectedIndices):
11752         (getSelectedValues): New functions.
11753         (getPreferredScrollableViewportSize): Return preferred size.
11754         (getScrollableUnitIncrement):
11755         (getScrollableBlockIncrement): Initial implementations.
11756         * javax/swing/JRootPane.java: Clean up slightly.
11757         (getUI):
11758         (setUI):
11759         (updateUI):
11760         (getUIClassID):
11761         (isValidateRoot): Add overrides from JComponent.
11762         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
11763         * javax/swing/UIManager.java (getDimension): Return the dimension.
11764
11765         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
11766         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
11767         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
11768         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
11769         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
11770         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
11771         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
11772         * javax/swing/plaf/basic/BasicRootPaneUI.java:
11773         Likewise, and set background.
11774         * javax/swing/plaf/basic/BasicListUI.java:
11775         Likewise, and improve a bit.
11776         * javax/swing/plaf/basic/BasicScrollBarUI.java:
11777         Likewise, and adjust calculations.
11778         * javax/swing/plaf/basic/BasicViewportUI.java:
11779         Likewise, and improve a bit.
11780         * javax/swing/plaf/basic/BasicLookAndFeel.java
11781         (Button.margin): Shrink.
11782
11783         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
11784         Hack to set horizontal always, workaround pango.
11785
11786         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
11787         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
11788         Synchronize more often, check cairo status after ops,
11789         handle changes to cairo pattern API, check for disposal.
11790
11791 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
11792
11793         * javax/swing/plaf/basic/BasicMenuItemUI.java:
11794         (BasicMenuItemUI): Create propertyChangeListener.
11795         (getPath):Implemented.
11796         (installListeners): Add propertyChangeListener to menuItem.
11797         (uninstallListeners): Remove propertyChangeListener from menuItem.
11798         (update): Implemented.
11799         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
11800         (mouseEntered): Take insets of popup menu into account when
11801         calculating position of popup menu.
11802
11803 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
11804
11805         * Makefile.am: Added new file.
11806         * Makefile.in: Regenerate.
11807         * javax/swing/JMenuBar.java:
11808         Started implementation.
11809         * javax/swing/JPopupMenu.java:
11810         (setVisible): Fixed location of lightweight/mediumweight
11811         popup menu.
11812         (show): Fixed location of PopupMenu.
11813         * javax/swing/plaf/basic/BasicMenuBarUI.java:
11814         New file. UI Delegate for JMenuBar.
11815         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
11816         (mouseEntered): Corrected position of the submenu.
11817
11818 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
11819
11820         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
11821         to _gtk_accel_group_attach.
11822         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
11823         Likewise.
11824
11825         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
11826         package access.  Don't override setFont.
11827         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
11828         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
11829         gtkWidgetRequestFocus package access.
11830         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
11831         setFont.
11832         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
11833         Give gtkWidgetRequestFocus package access.
11834         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
11835         gtkWidgetRequestFocus package access.  Don't override setFont.
11836         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
11837         setFont.
11838         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
11839         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
11840         region.
11841         (gtkSetFont): Likewise.
11842         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
11843         Implement.
11844         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11845         (gtkSetFont): Whitespace fix.
11846
11847         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11848         (gtkWidgetSetUsize): Remove method.
11849
11850 2004-05-18  David Jee  <djee@redhat.com>
11851
11852         * java/awt/image/MemoryImageSource.java
11853         (newPixels(int,int,int,int,boolean)): Set only the specified
11854         rectangle of pixels.
11855         (newPixels(byte[],ColorModel,int,int)): Implement.
11856         (newPixels(int[],ColorModel,int,int)): Implement.
11857
11858 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
11859
11860         * Makefile.am: Added new file.
11861         * Makefile.in: Regenerate.
11862         * javax/swing/JMenu.java: Started
11863         implementation.
11864         * javax/swing/JPopupMenu.java:
11865         (insert): If specified index is -1, then
11866         add component at the end.
11867         (isPopupTrigger): Reimplemented.
11868         (JPopupMenu.LightWeightPopup): setBounds
11869         of the lightWeightPopup before adding it
11870         to the layeredPane.
11871         (javax/swing/plaf/basic/BasicIconFactory.java):
11872         (getMenuArrowIcon): Implemented.
11873         * javax/swing/plaf/basic/BasicMenuItemUI.java:
11874         (getPreferredSize): Add size of the arrow icon
11875         if this menu item is instance of JMenu.
11876         (paintMenuItem): Paint arrow icon if this
11877         menu item is a submenu.
11878         * javax/swing/plaf/basic/BasicMenuUI.java:
11879         New File. UI Delegate for JMenu.
11880
11881 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
11882
11883         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
11884         Post KEY_TYPED events.
11885         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11886         (generates_key_typed_event): Remove function.
11887
11888 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
11889
11890         * javax/swing/JRootPane.java
11891         (JRootPane.RootLayout): Reimplemented to
11892         set bounds of contentPane and menuBar.
11893         (setJMenuBar): Add menu bar to the layered pane.
11894         (createLayeredPane): Set layout of layeredPane
11895         to null.
11896         * javax/swing/JLayeredPane.java:
11897         (addImpl): Calculate index of the component in the
11898         layeredPane according to the specified position within
11899         the layer.
11900
11901 2004-05-17  David Jee  <djee@redhat.com>
11902
11903         * gnu/java/awt/peer/gtk/GtkImagePainter.java
11904         (setPixels): Change color model to the default model after
11905         converting pixels.
11906         * java/awt/image/MemoryImageSource.java
11907         (newPixels): Set only the specified rectangle of pixels.
11908
11909 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11910
11911         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
11912         -l-java-beans -l-javax-accessibility -l-javax-swing.
11913
11914         * java/awt/AWTEvent.java (toString): Print source's name rather
11915         than the source itself.
11916
11917 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
11918
11919         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
11920         native.
11921         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
11922         (gdk_color_to_java_color): New function.
11923         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
11924
11925 2004-05-12  David Jee  <djee@redhat.com>
11926
11927         * java/awt/image/RGBImageFilter.java:
11928         Initialize origmodel as null.
11929         (makeColor): Fix pixel component order.
11930         (filterRGBPixels): Fix pixel iteration.
11931         (setPixels): Add extra checks for index color model. Convert pixels
11932         to default color model if necessary.
11933         (convertColorModelToDefault): New override method for byte pixels.
11934         (convertColorModelToDefault): For int pixels, fix pixel iteration.
11935         (makeColorbyDefaultCM): New override method for byte pixels.
11936         (makeColorbyDefaultCM): For int pixel, add color model as argument.
11937         (makeColor): Fix pixel component order.
11938
11939 2004-05-11  Kim Ho  <kho@redhat.com>
11940
11941         * javax/swing/Box.java:
11942         Comment out more parts of Box.Filler.
11943
11944 2004-05-11  Kim Ho  <kho@redhat.com>
11945
11946         * javax/swing/Box.java:
11947         Remove reference to AccessibleAWTComponent so
11948         it compiles again.
11949
11950 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
11951
11952         * gnu/java/awt/peer/gtk/GtkListPeer.java,
11953         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
11954         implementation of list peer to use GtkTreeView instead of
11955         deprecated GtkCList.
11956
11957 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
11958
11959         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11960         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
11961         (handleEvent): Remove keyChar argument to
11962         gtkWidgetDispatchKeyEvent calls.
11963         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
11964         compiler warnings.
11965         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11966         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
11967         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
11968         Likewise.
11969
11970 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
11971
11972         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11973         (gtkWidgetRequestFocus): Mark protected.
11974         (GtkComponentPeer): Only set the peer's bounds if its component
11975         is valid.
11976         * java/awt/Component.java (static): Set the default keyboard
11977         focus manager.
11978         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
11979         requestFocusInWindow(temporary)): Don't request focus if the
11980         component is not showing.  Get tree lock before traversing
11981         component hierarchy.
11982         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
11983         Only set the global focus owner if it is not a Window.
11984         (processKeyEvent): Consume keystrokes associated with the focus
11985         traversal keystroke.
11986         (focusPreviousComponent, focusNextComponent, upFocusCycle,
11987         downFocusCycle): Call requestFocusInWindow instead of
11988         requestFocus.
11989         * java/awt/EventDispatchThread.java (run): Move setting of
11990         default keyboard focus manager to Component.java.
11991         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11992         (awt_keycode_to_keysym): New function.
11993         (gtkWidgetDispatchKeyEvent): Finish implementation.
11994         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11995         (pre_event_handler): Add FIXME comment.
11996
11997         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11998         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11999         (gtkWidgetRequestFocus): New method.
12000         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
12001         disable Tab and Shift-Tab keystrokes.
12002         (addNotify, appendText, insertText, replaceText): Simplify peer
12003         retrieval code.
12004         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
12005         (connectSignals): Remove connections to "commit" signals.
12006         Remove C++-style comments.
12007
12008         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
12009         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
12010         (handleEvent): Activate GTK button when the space bar key is
12011         pressed.
12012         (gtkActivate): New method.
12013
12014 2004-05-06  David Jee  <djee@redhat.com>
12015
12016         * java/awt/image/CropImageFilter.java
12017         (setPixels): Implement for byte array pixels.
12018         * java/awt/image/ReplicateScaleFilter.java
12019         (setPixels): Implement for byte array pixels.
12020         (replicatePixels): Overload for byte array pixels.
12021
12022 2004-05-06  Kim Ho  <kho@redhat.com>
12023
12024         * javax/swing/Box.java:
12025         (getAccessibleContext): Return an instance of the
12026         correct class.
12027
12028 2004-05-05  David Jee  <djee@redhat.com>
12029
12030         * gnu/java/awt/peer/gtk/GdkGraphics.java
12031         (drawImage): When component is null, use SystemColor.window as
12032         the default bgcolor.
12033         * gnu/java/awt/peer/gtk/GtkImage.java
12034         (setPixels): We can avoid iterating through the pixel rows only
12035         when height is 1.
12036         * java/awt/Image.java
12037         (getScaledInstance): Partially implement.
12038         * java/awt/image/CropImageFilter.java
12039         (setProperties): Fix "filter" property.
12040         (setPixels): Implement.
12041         * java/awt/image/ReplicateScaleFilter.java
12042         (setDimensions): Use scaled dimensions.
12043         (setPixels): Implement.
12044         (replicatePixels): New method.
12045
12046 2004-05-05  David Jee  <djee@redhat.com>
12047
12048         * gnu/java/awt/peer/gtk/GtkImagePainter.java
12049         (convertPixels): If either pixels or model is null, return null.
12050         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
12051         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
12052         is null, do nothing and return.
12053
12054 2004-05-03  Kim Ho  <kho@redhat.com>
12055
12056         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
12057         (getGraphics): Like GtkFramePeer, the Graphics
12058         object needs to be translate to account for
12059         window decorations.
12060         (postMouseEvent): New method. Account for
12061         translation.
12062         (postExposeEvent): ditto.
12063         * javax/swing/Box.java: Stubbed.
12064         * javax/swing/JDialog.java: Ran through jalopy
12065         to fix indentation.
12066         (JDialog): Call SwingUtilities' getOwnerFrame
12067         for null owners.
12068         (setLayout): Check isRootPaneCheckingEnabled
12069         * javax/swing/JOptionPane.java: Re-implemented.
12070         * javax/swing/SwingUtilities.java:
12071         (getOwnerFrame): Static method to grab a default
12072         owner frame for Dialogs that don't specify owners.
12073         * javax/swing/event/SwingPropertyChangeSupport.java:
12074         (firePropertyChange): Fix early exit condition.
12075         * javax/swing/plaf/basic/BasicLabelUI.java:
12076         (paint): Avoid painting text if it is null
12077         or empty.
12078         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
12079         Implement.
12080
12081 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
12082
12083         * Makefile.am: Added new file.
12084         * Makefile.in: Regenerate.
12085         * javax/swing/JPopupMenu.java:
12086         Started implementation.
12087         * javax/swing/JWindow.java
12088         (JWindow): call super() if parent for window
12089         is not specified.
12090         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
12091         New File. UI Delegate for JPopupMenu.
12092
12093 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
12094
12095         * javax/swing/JApplet.java: Indicated that JApplet
12096         implements RootPaneContainer and made method of this
12097         interface public.
12098         * javax/swing/JFrame.java: Ditto.
12099         * javax/swing/JWindow.java: Ditto.
12100
12101 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
12102
12103         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12104         (nativeSetBounds): Call gdk_window_move in addition to
12105         gtk_window_move.
12106
12107         * java/applet/Applet.java (preferredSize): Call parent's
12108         preferredSize if the applet stub is null.
12109         (minimumSize): Likewise for parent's minimumSize.
12110
12111 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
12112
12113         * javax/swing/JMenuItem.java
12114         (createActionPropertyChangeListener): Implemented.
12115         (processMouseEvent): Ditto.
12116         (fireMenuDragMouseEntered): Ditto.
12117         (fireMenuDragMouseExited): Ditto.
12118         (fireMenuDragMouseDragged): Ditto.
12119         (fireMenuDragMouseReleased): Ditto.
12120         (menuSelectionChanged): Ditto.
12121         (getSubElements): Ditto.
12122         (getComponent): Ditto.
12123         (addMenuDragMouseListener): Ditto.
12124         (removeMenuDragMouseListener):Ditto.
12125         (addMenuKeyListener): Ditto.
12126         (removeMenuKeyListener): Ditto.
12127         * javax/swing/plaf/basic/BasicMenuItemUI.java
12128         (doClick): Imlemented.
12129         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
12130         Don't handle mouse events here. Pass them to
12131         MenuSelectionManager.
12132
12133 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
12134         Used correct version of jalopy configuration
12135         file to fix style in the files below.
12136
12137 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
12138
12139         * javax/swing/JCheckBoxMenuItem.java:
12140         Fixed style and removed unnecessary comments.
12141         * javax/swing/JMenuItem.java: Ditto.
12142         * javax/swing/JRadioButtonMenuItem.java: Ditto.
12143         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
12144         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
12145         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
12146
12147 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
12148
12149         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
12150         C-style.
12151
12152         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
12153
12154         * java/awt/ContainerOrderFocusTraversalPolicy.java
12155         (getComponentAfter): Start from current component and work up
12156         the component hierarchy until an acceptable component is found.
12157         Synchronize on tree lock.
12158         (getComponentBefore): Likewise.
12159
12160 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
12161
12162         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
12163         focus-related debugging messages.
12164         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
12165         * java/awt/EventDispatchThread.java: Likewise.
12166         * java/awt/KeyboardFocusManager.java: Likewise.
12167         * java/awt/Window.java: Likewise.
12168         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
12169         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
12170
12171         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
12172         new C++-style comments to C-style comments.
12173         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
12174
12175         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12176         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12177         (handleEvent): Dispatch key press and key release events to
12178         backing widget.
12179         (requestFocus): Post a FOCUS_GAINED event to the event queue.
12180         (gtkWidgetRequestFocus): New method.
12181         (gtkWidgetDispatchKeyEvent): Likewise.
12182         * java/awt/Component.java (requestFocus, requestFocus(boolean),
12183         requestFocusInWindow, requestFocusInWindow(boolean),
12184         getFocusCycleRootAncestor, nextFocus, transferFocus,
12185         transferFocusBackward, transferFocusUpCycle, hasFocus,
12186         isFocusOwner): Implement and document focus-handling methods.
12187         (setFocusTraversalKeys): Inherit focus traversal keys when
12188         keystrokes argument is null.  Fix focus-handling documentation
12189         throughout class.
12190         * java/awt/Container.java (setFocusTraversalKeys,
12191         getFocusTraversalKeys, areFocusTraversalKeysSet,
12192         isFocusCycleRoot, setFocusTraversalPolicy,
12193         getFocusTraversalPolicy, isFocusTraversalPolicySet,
12194         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
12195         Implement and document focus-handling methods.
12196         (transferFocusBackward): Remove method.
12197         (readObject, writeObject): Implement and document serialization
12198         methods.
12199         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
12200         and document.
12201         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
12202         document.
12203         * java/awt/DefaultKeyboardFocusManager.java: Implement and
12204         partially document.
12205         * java/awt/EventDispatchThread.java (run): Set default keyboard
12206         focus manager.  Attempt to dispatch each event to the keyboard
12207         focus manager before normal dispatch.
12208         * java/awt/KeyboardFocusManager.java: Implement and partially
12209         document.
12210         * java/awt/Window.java (Window): Set focusCycleRoot to true.
12211         (show): Focus initial component when window is shown for the
12212         first time.
12213         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12214         (pre_event_handler): Replace complex key press and key release
12215         logic with simple callbacks into GtkComponentPeer.
12216         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
12217
12218 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
12219
12220         * javax/swing/MenuSelectionManager.java
12221         (componentForPoint): Added new method.
12222         (defaultManager): New Method. Implemented.
12223         (getSelectedPath): Ditto.
12224         (isComponentPartOfCurrentMenu): Ditto.
12225         (processKeyEvent): Added new method.
12226         (processMouseEvent): New Method. Implemented.
12227         (setSelectedPath): Ditto.
12228         (getPath): Ditto.
12229
12230 2004-04-19  Kim Ho  <kho@redhat.com>
12231
12232         * java/awt/Container.java:
12233         (remove): Set the component's parent to null.
12234         (getComponentAt): Implement.
12235         * javax/swing/JComponent.java:
12236         (JComponent): Initialize defaultLocale
12237         (getDefaultLocale): Implement.
12238         (setDefaultLocale): ditto.
12239         * javax/swing/JSlider.java:
12240         (JSlider): Fix calculation of value.
12241         * javax/swing/JSplitPane.java: Implement.
12242         * javax/swing/plaf/basic/BasicLookAndFeel.java:
12243         Change SplitPane's default divider size.
12244         * javax/swing/plaf/basic/BasicScrollBarUI.java:
12245         (paint): Remove unused code.
12246         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
12247         Added comments and ran through jalopy.
12248         (setBasicSplitPaneUI): Get reference to hidden divider
12249         and set up one touch buttons if necessary.
12250         (setBorder): Fire propertyChangeEvent only if
12251         borders are different.
12252         (getPreferredSize): Defer to layout manager.
12253         (propertyChange): Implement.
12254         (oneTouchExpandableChanged): ditto.
12255         (createLeftOneTouchButton): Use BasicArrowButton.
12256         (createRightOneTouchButton): ditto.
12257         (moveDividerTo): New method. Moves the divider
12258         to a set location based on the last divider location.
12259         (BasicSplitPaneDivider::MouseHandler): Implement.
12260         (BasicSplitPaneDivider::OneTouchButton): Removed.
12261         (BasicSplitPaneDivider::DragController): Implement.
12262         (BasicSplitPaneDivider::VerticalDragController):
12263         ditto.
12264         (BasicSplitPaneDivider::DividerLayout): ditto.
12265         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
12266         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
12267         (calculateLayoutInfo): Don't show component if it's
12268         null.
12269         (paintTab): Fix title paint logic.
12270
12271 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
12272
12273         PR libgcj/8321
12274         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
12275         (setStartRule,setEndRule): Don't take abs of day number.
12276         (getOffset): Clarify docs.  Add argument checks.
12277         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
12278         (equals,hasSameRules,toString,readObject): Use startTimeMode and
12279         endTimeMode.
12280         * testsuite/libjava.mauve/xfails
12281         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
12282
12283 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
12284
12285         Layout interfaces during preparation, not initialization.
12286         * java/lang/natClass.cc (initializeClass): Move
12287         _Jv_LayoutInterfaceMethods call...
12288         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
12289
12290 2004-05-19  Anthony Green  <green@localhost.localdomain>
12291
12292         * Makefile.am (awt_java_source_files): Remove javax.rmi and
12293         gnu.javax.rmi code.
12294         * Makefile.in: Rebuilt.
12295         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
12296         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
12297         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
12298         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
12299         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
12300         gnu/javax/rmi/CORBA/DelegateFactory.java,
12301         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
12302         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
12303         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
12304         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
12305         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
12306         gnu/javax/rmi/PortableServer.java: Remove files.
12307
12308 2004-05-19  Anthony Green  <green@redhat.com>
12309
12310         * Makefile.am: Define JAVA_EXT_DIRS.
12311         * Makefile.in: Rebuilt.
12312         * java/lang/natRuntime.cc (insertSystemProperties): Set
12313         java.ext.dirs property.
12314
12315 2004-05-16  Mark Wielaard  <mark@klomp.org>
12316
12317         * java/io/Writer.java (Writer(Object)): Check for null lock object.
12318
12319 2004-05-15  Mark Wielaard  <mark@klomp.org>
12320
12321         * doc/cni.sgml: Removed, merged into gcj.texi.
12322
12323 2004-05-15  Mark Wielaard  <mark@klomp.org>
12324
12325         * Makefile.am (ordinary_java_source_files): Add new javax.print
12326         classes.
12327         * Makefile.in: Regenerated.
12328
12329 2004-05-15  Michael Koch  <konqueror@gmx.de>
12330
12331         * javax/print/attribute/standard/DateTimeAtCompleted.java,
12332         javax/print/attribute/standard/DateTimeAtCreation.java,
12333         javax/print/attribute/standard/DateTimeAtProcessing.java,
12334         javax/print/attribute/standard/DocumentName.java,
12335         javax/print/attribute/standard/JobHoldUntil.java,
12336         javax/print/attribute/standard/JobImpressionsCompleted.java,
12337         javax/print/attribute/standard/JobMessageFromOperator.java,
12338         javax/print/attribute/standard/JobName.java,
12339         javax/print/attribute/standard/JobOriginatingUserName.java,
12340         javax/print/attribute/standard/JobPriority.java,
12341         javax/print/attribute/standard/JobPrioritySupported.java,
12342         javax/print/attribute/standard/NumberOfInterveningJobs.java,
12343         javax/print/attribute/standard/OutputDeviceAssigned.java,
12344         javax/print/attribute/standard/PrinterInfo.java,
12345         javax/print/attribute/standard/PrinterLocation.java,
12346         javax/print/attribute/standard/PrinterMakeAndModel.java,
12347         javax/print/attribute/standard/PrinterMessageFromOperator.java,
12348         javax/print/attribute/standard/PrinterName.java,
12349         javax/print/attribute/standard/QueuedJobCount.java,
12350         javax/print/attribute/standard/RequestingUserName.java:
12351         Fixed javadocs all over.
12352
12353 2004-05-15  Michael Koch  <konqueror@gmx.de>
12354
12355         * javax/print/DocFlavor.java,
12356         javax/print/attribute/standard/ColorSupported.java,
12357         javax/print/attribute/standard/Compression.java,
12358         javax/print/attribute/standard/CopiesSupported.java,
12359         javax/print/attribute/standard/Fidelity.java,
12360         javax/print/attribute/standard/Finishings.java,
12361         javax/print/attribute/standard/JobImpressionsSupported.java,
12362         javax/print/attribute/standard/JobKOctetsSupported.java,
12363         javax/print/attribute/standard/JobMediaSheetsSupported.java,
12364         javax/print/attribute/standard/JobSheets.java,
12365         javax/print/attribute/standard/JobState.java,
12366         javax/print/attribute/standard/JobStateReason.java,
12367         javax/print/attribute/standard/JobStateReasons.java,
12368         javax/print/attribute/standard/Media.java,
12369         javax/print/attribute/standard/MediaSizeName.java,
12370         javax/print/attribute/standard/MultipleDocumentHandling.java,
12371         javax/print/attribute/standard/NumberUpSupported.java,
12372         javax/print/attribute/standard/OrientationRequested.java,
12373         javax/print/attribute/standard/PDLOverrideSupported.java,
12374         javax/print/attribute/standard/PageRanges.java,
12375         javax/print/attribute/standard/PresentationDirection.java,
12376         javax/print/attribute/standard/PrintQuality.java,
12377         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
12378         javax/print/attribute/standard/PrinterMoreInfo.java,
12379         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
12380         javax/print/attribute/standard/PrinterResolution.java,
12381         javax/print/attribute/standard/PrinterState.java,
12382         javax/print/attribute/standard/PrinterStateReason.java,
12383         javax/print/attribute/standard/PrinterStateReasons.java,
12384         javax/print/attribute/standard/PrinterURI.java,
12385         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
12386         javax/print/attribute/standard/Severity.java,
12387         javax/print/attribute/standard/SheetCollate.java,
12388         javax/print/attribute/standard/Sides.java:
12389         Added serialVersionUID and removed final keyword where it doenst
12390         belong.
12391
12392 2004-05-15  Michael Koch  <konqueror@gmx.de>
12393
12394         * javax/print/PrintServiceLookup.java: New file.
12395
12396 2004-05-15  Michael Koch  <konqueror@gmx.de>
12397
12398         * javax/print/DocFlavor.java:
12399         Implemented all flavor classes.
12400
12401 2004-05-15  Michael Koch  <konqueror@gmx.de>
12402
12403         * javax/print/attribute/standard/ColorSupported.java,
12404         javax/print/attribute/standard/Compression.java,
12405         javax/print/attribute/standard/CopiesSupported.java,
12406         javax/print/attribute/standard/Fidelity.java,
12407         javax/print/attribute/standard/Finishings.java,
12408         javax/print/attribute/standard/JobImpressionsSupported.java,
12409         javax/print/attribute/standard/JobKOctetsSupported.java,
12410         javax/print/attribute/standard/JobMediaSheetsSupported.java,
12411         javax/print/attribute/standard/JobSheets.java,
12412         javax/print/attribute/standard/JobState.java,
12413         javax/print/attribute/standard/JobStateReason.java,
12414         javax/print/attribute/standard/JobStateReasons.java,
12415         javax/print/attribute/standard/Media.java,
12416         javax/print/attribute/standard/MediaSizeName.java,
12417         javax/print/attribute/standard/MultipleDocumentHandling.java,
12418         javax/print/attribute/standard/NumberUpSupported.java,
12419         javax/print/attribute/standard/OrientationRequested.java,
12420         javax/print/attribute/standard/PDLOverrideSupported.java,
12421         javax/print/attribute/standard/PageRanges.java,
12422         javax/print/attribute/standard/PresentationDirection.java,
12423         javax/print/attribute/standard/PrintQuality.java,
12424         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
12425         javax/print/attribute/standard/PrinterMoreInfo.java,
12426         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
12427         javax/print/attribute/standard/PrinterResolution.java,
12428         javax/print/attribute/standard/PrinterState.java,
12429         javax/print/attribute/standard/PrinterStateReason.java,
12430         javax/print/attribute/standard/PrinterStateReasons.java,
12431         javax/print/attribute/standard/PrinterURI.java,
12432         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
12433         javax/print/attribute/standard/Severity.java,
12434         javax/print/attribute/standard/SheetCollate.java,
12435         javax/print/attribute/standard/Sides.java: New files.
12436
12437 2004-05-15  Michael Koch  <konqueror@gmx.de>
12438
12439         * javax/print/Doc.java
12440         (getPrintData): Throws IOException.
12441         (getReaderForText): Likewise.
12442         (getStreamForBytes): Likewise.
12443         * javax/print/DocFlavor.java:
12444         Fixed filename in copyright.
12445         (serialVersionUID): New field.
12446         * javax/print/ServiceUIFactory.java:
12447         Made all constants final.
12448         * javax/print/AttributeException.java
12449         javax/print/MultiDoc.java
12450         javax/print/MultiDocPrintJob.java
12451         javax/print/MultiDocPrintService.java
12452         javax/print/StreamPrintService.java
12453         javax/print/URIException.java: New files.
12454         * javax/print/Makefile.am
12455         (EXTRA_DIST): Added all new files.
12456
12457 2004-05-15  Michael Koch  <konqueror@gmx.de>
12458
12459         * javax/print/attribute/standard/Copies.java,
12460         javax/print/attribute/standard/DateTimeAtCompleted.java,
12461         javax/print/attribute/standard/DateTimeAtCreation.java,
12462         javax/print/attribute/standard/DateTimeAtProcessing.java,
12463         javax/print/attribute/standard/DocumentName.java,
12464         javax/print/attribute/standard/JobHoldUntil.java,
12465         javax/print/attribute/standard/JobImpressions.java,
12466         javax/print/attribute/standard/JobImpressionsCompleted.java,
12467         javax/print/attribute/standard/JobKOctets.java,
12468         javax/print/attribute/standard/JobKOctetsProcessed.java,
12469         javax/print/attribute/standard/JobMediaSheets.java,
12470         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
12471         javax/print/attribute/standard/JobMessageFromOperator.java,
12472         javax/print/attribute/standard/JobName.java,
12473         javax/print/attribute/standard/JobOriginatingUserName.java,
12474         javax/print/attribute/standard/JobPriority.java,
12475         javax/print/attribute/standard/JobPrioritySupported.java,
12476         javax/print/attribute/standard/NumberOfDocuments.java,
12477         javax/print/attribute/standard/NumberOfInterveningJobs.java,
12478         javax/print/attribute/standard/NumberUp.java,
12479         javax/print/attribute/standard/OutputDeviceAssigned.java,
12480         javax/print/attribute/standard/PagesPerMinute.java,
12481         javax/print/attribute/standard/PagesPerMinuteColor.java:
12482         Fixed @return tag all over.
12483
12484 2004-05-15  Michael Koch  <konqueror@gmx.de>
12485
12486         * javax/print/attribute/AttributeSetUtilities.java
12487         (verifyCategoryForValue): Fixed typo in javadoc.
12488         * javax/print/attribute/HashAttributeSet.java
12489         (containsKey): Fixed @return tag.
12490         (comtainsValue): Likewise.
12491         (equals): Likewise.
12492         * javax/print/attribute/IntegerSyntax.java
12493         (equals): Likewise.
12494         * javax/print/attribute/ResolutionSyntax.java
12495         (equals): Likewise.
12496         (getCrossFeedResolution): Removed unused code.
12497         (getFeedResolution): Likewise.
12498         * javax/print/attribute/SetOfIntegerSyntax.java
12499         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
12500         (equals): Fixed @return tag.
12501         * javax/print/attribute/TextSyntax.java
12502         (TextSyntax): Take locale into account.
12503         (hashCode): Better implementation.
12504
12505 2004-05-15  Michael Koch  <konqueror@gmx.de>
12506
12507         * javax/print/CancelablePrintJob.java,
12508         javax/print/Doc.java,
12509         javax/print/DocFlavor.java,
12510         javax/print/DocPrintJob.java,
12511         javax/print/FlavorException.java,
12512         javax/print/PrintException.java,
12513         javax/print/PrintService.java,
12514         javax/print/ServiceUIFactory.java: New files.
12515
12516 2004-05-15  Mark Wielaard  <mark@klomp.org>
12517
12518         * gnu/regexp/CharIndexedReader.java: Removed.
12519         * gnu/regexp/REFilterReader.java: Likewise.
12520         * gnu/regexp/RETokenLookAhead.java: Likewise.
12521         * Makefile.am (ordinary_java_source_files): Remove above classes.
12522         * Makefile.in: Regenerated.
12523
12524 2004-05-14  Tom Tromey  <tromey@redhat.com>
12525
12526         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
12527         not `XGraphicsConfiguration.XOffScreenImage'.
12528
12529 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
12530
12531         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
12532
12533 2004-05-14  Steven Augart  <augart@watson.ibm.com>
12534
12535         * include/jni.h (_Jv_func): Removed.
12536         (struct JNINativeInterface): Use `void *' for reserved slots.
12537         (struct JNIInvokeInterface): Likewise.
12538
12539 2004-05-11  Michael Koch  <konqueror@gmx.de>
12540
12541         * gnu/java/net/natPlainSocketImplPosix.cc
12542         (read): Fixed typo in expression.
12543
12544 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
12545
12546         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
12547         ld_library_additions. Adjust all calls to libjava_invoke to match
12548         the new argument.
12549
12550         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
12551         path to cxxflagslist.
12552         Pass path of libstdc++ to libjava_invoke.
12553
12554         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
12555         libjava_invoke arguments.
12556
12557 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
12558
12559         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
12560         reality.
12561
12562 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
12563
12564         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
12565         main binary against the JNI shared library.
12566
12567 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
12568
12569         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
12570         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
12571         (SimpleTimeZone): Tweak docs.  Add new variation.
12572         (setStartRule,setEndRule): Add new variations.  Use
12573         startTimeMode and endTimeMode.
12574
12575 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
12576
12577         * java/util/Calendar.java (getActualMinimum,
12578         getActualMaximum):  Remove abstract.  Implement.
12579
12580 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
12581
12582         Run the jni tests using the interpreter.
12583         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
12584         options_cxx to shared lib compile command.
12585         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
12586         they are used to link the shared lib, not the main binary.
12587         Use libjava_invoke to run gij.
12588
12589 2004-05-06  Michael Koch  <konqueror@gmx.de>
12590
12591         * java/util/logging/Level.java
12592         (parse): Use == instead of String.equals().
12593
12594 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
12595
12596         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
12597         verify_field_signature and verify_method_signature, not
12598         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
12599         (_Jv_ClassReader::handleField): Likewise.
12600         (_Jv_ClassReader::handleMethod): Likewise.
12601
12602 2004-05-06  Michael Koch  <konqueror@gmx.de>
12603
12604         * javax/swing/table/TableColumn.java:
12605         Reformated.
12606
12607 2004-05-06  Michael Koch  <konqueror@gmx.de>
12608
12609         * javax/imageio/spi/ImageReaderWriterSpi.java
12610         (ImageReaderWriterSpi): Made it public.
12611         * javax/imageio/stream/ImageInputStream.java:
12612         Clean up imports.
12613
12614 2004-05-06  Michael Koch  <konqueror@gmx.de>
12615
12616         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12617         Removed empty line.
12618
12619 2004-05-06  Michael Koch  <konqueror@gmx.de>
12620
12621         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
12622         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
12623         New files.
12624         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
12625         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
12626         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
12627         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
12628         their own source file.
12629         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12630         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
12631         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
12632         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
12633         (create): Define variable on top of function.
12634         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
12635         (menu_pos): Prototyped.
12636         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12637         (setTitle): Removed.
12638         * jni/gtk-peer/gthread-jni.c
12639         (gdk_threads_wake): Removed.
12640         * Makefile.am (gtk_c_source_files): Added new files
12641         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
12642         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
12643         * Makefile.in: Regenerated.
12644
12645 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
12646
12647         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
12648         call.
12649
12650 2004-05-05  Mark Wielaard  <mark@klomp.org>
12651
12652         * javax/swing/AbstractButton.java: Replace special HTML entities with
12653         ASCII equivalent.
12654         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
12655         * javax/swing/DefaultButtonModel.java: Likewise.
12656         * javax/swing/DefaultListModel.java: Likewise.
12657         * javax/swing/JList.java: Likewise.
12658         * javax/swing/JSlider.java: Likewise.
12659         * javax/swing/ListModel.java: Likewise.
12660         * javax/swing/Popup.java: Likewise.
12661         * javax/swing/SwingUtilities.java: Likewise.
12662
12663 2004-05-05  Michael Koch  <konqueror@gmx.de>
12664
12665         * javax/swing/AbstractButton.java,
12666         javax/swing/ActionMap.java,
12667         javax/swing/DefaultButtonModel.java,
12668         javax/swing/DefaultListModel.java,
12669         javax/swing/ImageIcon.java,
12670         javax/swing/JComboBox.java,
12671         javax/swing/JComponent.java,
12672         javax/swing/JFrame.java,
12673         javax/swing/JInternalFrame.java,
12674         javax/swing/JMenuBar.java,
12675         javax/swing/JMenuItem.java,
12676         javax/swing/JOptionPane.java,
12677         javax/swing/JProgressBar.java,
12678         javax/swing/JRootPane.java,
12679         javax/swing/JScrollBar.java,
12680         javax/swing/JScrollPane.java,
12681         javax/swing/JSeparator.java,
12682         javax/swing/JSlider.java,
12683         javax/swing/JTabbedPane.java,
12684         javax/swing/JTable.java,
12685         javax/swing/JTextField.java,
12686         javax/swing/JToolBar.java,
12687         javax/swing/JToolTip.java,
12688         javax/swing/JTree.java,
12689         javax/swing/JViewport.java,
12690         javax/swing/JWindow.java,
12691         javax/swing/KeyStroke.java,
12692         javax/swing/LookAndFeel.java,
12693         javax/swing/SwingUtilities.java,
12694         javax/swing/Timer.java,
12695         javax/swing/ToolTipManager.java,
12696         javax/swing/UIDefaults.java,
12697         javax/swing/border/TitledBorder.java,
12698         javax/swing/filechooser/FileSystemView.java,
12699         javax/swing/plaf/basic/BasicButtonListener.java,
12700         javax/swing/plaf/basic/BasicButtonUI.java,
12701         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
12702         javax/swing/plaf/basic/BasicGraphicsUtils.java,
12703         javax/swing/plaf/basic/BasicLabelUI.java,
12704         javax/swing/plaf/basic/BasicMenuItemUI.java,
12705         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
12706         javax/swing/plaf/basic/BasicRootPaneUI.java,
12707         javax/swing/plaf/basic/BasicScrollBarUI.java,
12708         javax/swing/plaf/basic/BasicScrollPaneUI.java,
12709         javax/swing/plaf/basic/BasicSliderUI.java,
12710         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
12711         javax/swing/plaf/basic/BasicToggleButtonUI.java,
12712         javax/swing/table/JTableHeader.java,
12713         javax/swing/text/AbstractDocument.java,
12714         javax/swing/text/DefaultCaret.java,
12715         javax/swing/text/StyledEditorKit.java,
12716         javax/swing/tree/DefaultTreeCellEditor.java:
12717         Cleaned up imports.
12718
12719 2004-05-05  Michael Koch  <konqueror@gmx.de>
12720
12721         * java/util/prefs/AbstractPreferences.java
12722         (AbstractPreferences): Added parenthesis for clarity.
12723         Closes classpath bug #7940.
12724
12725 2004-05-05  Tom Tromey  <tromey@redhat.com>
12726
12727         * javax/naming/CompoundName.java (endsWith): Look at correct
12728         element of source name.
12729
12730 2004-05-05  Mark Wielaard  <mark@klomp.org>
12731
12732         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
12733         * java/util/HashMap.java (rehash): Add entry at start of bucket.
12734
12735 2004-05-05  Tom Tromey  <tromey@redhat.com>
12736
12737         * java/io/BufferedReader.java (skip): Removed unused
12738         variable.
12739
12740 2004-05-05  Michael Koch  <konqueror@gmx.de>
12741
12742         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
12743
12744 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
12745
12746         * java/text/AttributedString.java,
12747         java/text/AttributedStringIterator.java,
12748         java/text/Collator.java,
12749         java/text/DecimalFormatSymbols.java,
12750         java/text/NumberFormat.java,
12751         java/text/RuleBasedCollator.java:
12752         Cleaned up imports.
12753
12754 2004-05-05  Tom Tromey  <tromey@redhat.com>
12755
12756         * java/text/Format.java: Cleaned up imports.
12757         * java/text/DecimalFormat.java: Cleaned up imports.
12758         * java/security/SecureRandom.java: Cleaned up imports.
12759         (SecureRandom): Removed unused variable.
12760         * java/security/UnresolvedPermission.java: Cleaned up imports.
12761         * java/util/Date.java (parse): Removed unused variable.
12762         * java/util/ResourceBundle.java: Cleaned up imports.
12763         (getBundle): Removed unused variable.
12764         (tryBundle): Likewise.
12765         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
12766
12767 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
12768
12769         * java/text/SimpleDateFormat.java:
12770         (formatWithAttribute): New method. It implements
12771         the formatting process with attributes.
12772         (format): Use formatWithAttribute.
12773         (formatToCharacterIterator): New method. Use
12774         formatWithAttribute.
12775
12776 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
12777
12778         * java/text/MessageFormat.java:
12779         (class Field): New class.
12780         (formatToCharacterIterator): New method.
12781         (format): Use formatInternal now.
12782         (formatInternal): New method. String formatter should
12783         be done here (with attributes). Attributes merging supported.
12784         (parse): More documentation.
12785         (getFormatsByArgumentIndex): New method.
12786         (setFormatByArgumentIndex): New method.
12787         (setFormatsByArgumentIndex): New method.
12788
12789 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
12790
12791         * java/text/DecimalFormat.java
12792         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
12793         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
12794         (parse): Fixed handling of exponentiation notation and grouping.
12795
12796 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
12797
12798         * java/text/DecimalFormat.java
12799         (scanFix): Build attribute array. Fixed error reporting.
12800         (applyPatternWithSymbols): Store attributes for the prefix and
12801         suffix.
12802         (formatInternal): New method. Changed the way the string is
12803         computed. Implemented attributes. Cleant up rounding in
12804         exponential notation.
12805         (format): Use formatInternal.
12806         (formatToCharacterIterator): New method.
12807         (exponentRound, negativePrefixRanges, positivePrefixRanges,
12808         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
12809         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
12810         New fields.
12811
12812 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
12813
12814         * java/security/interfaces/DSAKeyPairGenerator.java,
12815         java/security/interfaces/DSAPrivateKey.java,
12816         java/security/interfaces/DSAPublicKey.java,
12817         java/security/interfaces/RSAPrivateKey.java,
12818         java/security/interfaces/RSAPublicKey.java:
12819         Cleaned up imports.
12820
12821 2004-05-04  Michael Koch  <konqueror@gmx.de>
12822
12823         * java/nio/ByteBuffer.java,
12824         java/nio/CharBuffer.java,
12825         java/nio/DoubleBuffer.java,
12826         java/nio/FloatBuffer.java,
12827         java/nio/IntBuffer.java,
12828         java/nio/LongBuffer.java,
12829         java/nio/ShortBuffer.java:
12830         (compareTo): Fixed bogus implementation in all buffer classes.
12831
12832 2004-05-04  Ingo Proetel  <proetel@aicas.com>
12833
12834         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
12835         32 bit pixels not 8 bit pixels.
12836         (isCompatibleRaster): Added javadoc comment.
12837
12838 2004-05-04  Ingo Proetel  <proetel@aicas.com>
12839
12840         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
12841         scanline stride.
12842
12843 2004-05-04  Ingo Proetel  <proetel@aicas.com>
12844
12845         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
12846         (getColorModel): Return the actual color model.
12847         (getRaster): Implemented.
12848         (ColorRaster): New inner class.
12849         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
12850         a PaintContext.
12851         * java/awt/Color.java (<init>): Make exception more verbose.
12852         (createContext): Use ColorModel when creating a PaintContext.
12853
12854 2004-05-04  Michael Koch  <konqueror@gmx.de>
12855
12856         * gnu/java/text/CharacterBreakIterator.java
12857         (previous): Removed unused variable.
12858
12859 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
12860
12861         * gnu/java/text/FormatBuffer.java,
12862         gnu/java/text/AttributedFormatBuffer.java,
12863         gnu/java/text/StringFormatBuffer.java: New classes to implement
12864         attributed iterators in java.text.
12865         * gnu/java/text/FormatCharacterIterator.java: Moved
12866         from java/text as it is an internal class.
12867         * java/text/FormatCharacterIterator.java: Removed.
12868         * java/text/Format.java:
12869         Import gnu.java.text.FormatCharacterIterator.
12870         * Makefile.am (java_source_files): Added new files.
12871         * Makefile.in: Regenerated.
12872
12873
12874 2004-05-04  Mark Wielaard  <mark@klomp.org>
12875
12876         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
12877
12878 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
12879
12880         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
12881         * Makefile.in: Rebuilt.
12882
12883 2004-05-03  Mark Wielaard  <mark@klomp.org>
12884
12885         * gnu/java/security/der/DERReader.java: Call static methods staticly.
12886         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
12887         * java/net/URL.java
12888         (set(String, String, int, String, String, String, String, String)):
12889         Assign this.file to path or path + "?" + query.
12890         * java/util/Arrays.java: Call static methods staticly.
12891         * java/util/zip/ZipEntry.java: Likewise.
12892         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
12893         dir to this.direction.
12894         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
12895         Assign static field only once.
12896         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
12897
12898 2004-05-03  Mark Wielaard  <mark@klomp.org>
12899
12900         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
12901         unused variables hScrollbarHeight and vScrollbarWidth.
12902         (preferredSize): Likewise.
12903         * gnu/java/security/provider/DSAParameters.java (engineToString):
12904         Removed unused call to System.getProperty("line.seperator");
12905         * java/security/Security.java (loadProviders): Return result.
12906
12907 2004-05-03  Tom Tromey  <tromey@redhat.com>
12908
12909         * java/net/URLStreamHandler.java (toExternalForm): Removed
12910         unused variables.
12911         unused constructor.
12912         * java/math/BigDecimal.java (divide): Removed unused variable.
12913         * java/lang/Throwable.java: Cleaned up imports.
12914         * java/lang/ClassLoader.java: Cleaned up imports.
12915         * java/io/FilePermission.java (implies): Removed unused
12916         variable.
12917         * java/awt/TextComponent.java: Removed unused import.
12918         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
12919         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
12920         * gnu/java/text/WordBreakIterator.java: Removed unused import.
12921         * gnu/java/text/SentenceBreakIterator.java: Removed unused
12922         import.
12923         * gnu/java/text/LineBreakIterator.java: Removed unused import.
12924         * gnu/java/text/CharacterBreakIterator.java: Removed
12925         unused import.
12926         * gnu/java/security/provider/DSAKeyPairGenerator.java:
12927         Cleaned up imports.
12928         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
12929         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
12930         unused method.
12931         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
12932         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
12933         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
12934         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
12935         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
12936         (lookupProviders): Removed unused variable.
12937         (loadNextServiceProvider): Likewise.
12938         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
12939
12940 2004-05-03  Michael Koch  <konqueror@gmx.de>
12941
12942         Fixes PR libgcj/14695:
12943         * java/net/NetworkInterface.java
12944         (getByName): Return null when no interface was found.
12945
12946 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
12947             Tom Tromey  <tromey@redhat.com>
12948
12949         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
12950         additional option "-Wmissing-prototypes" for compiling C sources.
12951         Print actual filename for pass/fail rather than $name.c.
12952         * testsuite/libjava.jni/PR15133.java: New testcase file.
12953         * testsuite/libjava.jni/PR15133.c: Likewise.
12954         * testsuite/libjava.jni/PR15133.out: Likewise.
12955
12956 2004-04-30  Roger Sayle  <roger@eyesopen.com>
12957
12958         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
12959         ceil and floor.
12960
12961 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
12962
12963         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
12964         limit the maximum heap size to avoid unnecessary thrashing.
12965
12966 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
12967
12968         * java/text/CollationElementIterator.java (reset): Reset
12969         lookahead variables.
12970
12971 2004-04-23  Mark Wielaard  <mark@klomp.org>
12972
12973         * jni/classpath/jcl.c: Changed C++ comments into C comments.
12974
12975 2004-04-23 Dalibor Topic <robilad@kaffe.org>
12976
12977         * java/sql/DriverManager.java:
12978         Cleaned up imports.
12979
12980 2004-04-23  Michael Koch  <konqueror@gmx.de>
12981
12982         * java/net/URL.java
12983         (hashcode): Don't initialize with default value explicitely.
12984         (getContent): Removed redundant "final" keyword.
12985         (openStream): Likewise.
12986         (getURLStreamHandler): Fixed coding style.
12987         * java/net/URLConnection.java
12988         (defaultAllowUserInteraction): Don't initialize with default value
12989         explicitely.
12990         (connected): Likewise.
12991         (doOutput): Likewise.
12992         (ifModifiedSince): Likewise.
12993         (dateformats_initialized): Likewise.
12994         (setURLStreamHander): Use StreamTokenizer where it belongs to.
12995
12996 2004-04-23  Michael Koch  <konqueror@gmx.de>
12997
12998         * gnu/java/nio/channels/FileChannelImpl.java
12999         (SET, CUR): Unused, removed.
13000         (read): Implement here directly.
13001         (implRead): Removed.
13002         (write): Implement here directly.
13003         (implWrite): Removed.
13004
13005 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
13006
13007         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
13008         javax/rmi/CORBA/Stub.java,
13009         javax/rmi/CORBA/Util.java,
13010         javax/rmi/CORBA/ValueHandler.java,
13011         javax/rmi/CORBA/ValueHandler.java,
13012         javax/rmi/PortableRemoteObject.java:
13013         Cleaned up imports.
13014
13015 2004-04-23 Dalibor Topic <robilad@kaffe.org>
13016
13017         * java/util/jar/JarFile.java,
13018         java/util/jar/JarInputStream.java,
13019         java/util/jar/JarOutputStream.java,
13020         java/util/jar/Manifest.java:
13021         Cleaned up imports.
13022
13023 2004-04-23 Dalibor Topic <robilad@kaffe.org>
13024
13025         * java/util/ArrayList.java,
13026         java/util/Calendar.java,
13027         java/util/Currency.java,
13028         java/util/HashMap.java,
13029         java/util/HashSet.java,
13030         java/util/Hashtable.java,
13031         java/util/LinkedList.java,
13032         java/util/Properties.java,
13033         java/util/PropertyPermission.java,
13034         java/util/TimeZone.java,
13035         java/util/TreeMap.java,
13036         java/util/TreeSet.java,
13037         java/util/Vector.java,
13038         java/util/WeakHashMap.java:
13039         Cleaned up imports.
13040
13041 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
13042
13043         * java/util/logging/FileHandler.java,
13044         java/util/logging/Formatter.java,
13045         java/util/logging/Handler.java,
13046         java/util/logging/Logger.java,
13047         java/util/logging/SimpleFormatter.java,
13048         java/util/logging/XMLFormatter.java:
13049         Cleaned up imports.
13050
13051 2004-04-22  Mark Wielaard  <mark@klomp.org>
13052
13053         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
13054         -Wno-long-long flags variable.
13055         (gtk_c_files): Use PEDANTIC_CFLAGS.
13056         * Makefile.in: Regenerated.
13057
13058 2004-04-22  Mark Wielaard  <mark@klomp.org>
13059
13060         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
13061         Changed C++ comments into C comments.
13062         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
13063         Likewise.
13064
13065 2004-04-22  Michael Koch  <konqueror@gmx.de>
13066
13067         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
13068         Merged copyright year with GNU classpath.
13069
13070 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
13071
13072         * javax/security/auth/x500/X500Principal.java:
13073         Cleaned up imports.
13074
13075 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
13076
13077         * javax/swing/JSlider.java:
13078         Fixed HTML tags in comments.
13079
13080 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
13081
13082         * javax/accessibility/AccessibleText.java:
13083         Cleaned up imports.
13084
13085 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
13086
13087         * java/net/URLStreamHandler.java
13088         (parseURL): Convert the file path to using '/' instead of native
13089         file separator.
13090
13091 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
13092
13093         * java/net/URL.java
13094         (userInfo): New field.
13095         (URL): Set authority to the right value.
13096         (setURL): Fixed authority and file initialization.
13097         * java/net/URLStreamHandler.java
13098         (parseURL): Take care of the query tag. Build authority.
13099         (toExternalForm): Fixed URL building using authority.
13100
13101 2004-04-22  Michael Koch  <konqueror@gmx.de>
13102
13103         * java/net/Socket.java
13104         (impl): Made package-private.
13105         * java/net/ServerSocket.java
13106         (implAccept): Access Socket.impl field directly.
13107
13108 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
13109
13110         * java/util/prefs/Preferences.java,
13111         java/util/prefs/InvalidPreferencesFormatException.java,
13112         java/util/prefs/BackingStoreException.java,
13113         java/util/prefs/AbstractPreferences.java:
13114         Cleaned up imports.
13115
13116 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
13117
13118         * java/util/regex/Matcher.java,
13119         java/util/regex/Pattern.java:
13120         Cleaned up imports.
13121
13122 2004-04-22  Michael Koch  <konqueror@gmx.de>
13123
13124         * java/nio/charset/IllegalCharsetNameException.java
13125         (charsetName): Made private.
13126         (IllegalCharsetNameException): Added @param tag to javadoc.
13127         (getCharsetName): Added @return tag to javadoc.
13128         * java/nio/charset/MalformedInputException.java
13129         (MalformedInputException): Added @param tag to javadoc.
13130         (getInputLength): Revised method description, added @return tag.
13131         (getMessage): Added @return tag.
13132
13133 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
13134
13135         * java/awt/Font.java (deriveFont): Implement missing variants.
13136         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
13137         missing variants.
13138
13139 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
13140
13141         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
13142         Set method->index values for interface methods to their itable index.
13143         (initializeClass): Call _Jv_LayoutInterfaceMethods.
13144
13145 2004-04-21  Michael Koch  <konqueror@gmx.de>
13146
13147         * java/nio/DirectByteBufferImpl.java
13148         (shiftDown): Made static, give address as argument and
13149         provide a convenience method that overwrites shiftDown in
13150         ByteBufferImpl and calls the native shiftDown.
13151         * java/nio/MappedByteBufferImpl.java
13152         (): Use optimized method in DirectByteBufferImpl.
13153         * java/nio/natDirectByteBufferImpl.cc
13154         (shiftDown): Changed method signature. Removed usage of array_offset.
13155
13156 2004-04-21  Michael Koch  <konqueror@gmx.de>
13157
13158         * gnu/java/net/natPlainSocketImplPosix.cc
13159         (SocketInputStream::read): Make sure returned data is a byte value.
13160
13161 2004-04-21  Michael Koch  <konqueror@gmx.de>
13162
13163         * gnu/classpath/ServiceFactory.java,
13164         gnu/classpath/ServiceProviderLoadingAction.java,
13165         javax/imageio/ImageReader.java,
13166         javax/imageio/ImageTranscoder.java,
13167         javax/imageio/ImageWriter.java,
13168         javax/imageio/package.html,
13169         javax/imageio/spi/IIOServiceProvider.java,
13170         javax/imageio/spi/ImageInputStreamSpi.java,
13171         javax/imageio/spi/ImageOutputStreamSpi.java,
13172         javax/imageio/spi/ImageReaderWriterSpi.java,
13173         javax/imageio/spi/ImageTranscoderSpi.java,
13174         javax/imageio/spi/RegisterableService.java,
13175         javax/imageio/spi/ServiceRegistry.java,
13176         javax/imageio/spi/package.html,
13177         javax/imageio/stream/IIOByteBuffer.java,
13178         javax/imageio/stream/ImageInputStream.java,
13179         javax/imageio/stream/ImageOutputStream.java,
13180         javax/imageio/stream/package.html:
13181         New files.
13182         * Makefile.am
13183         (ordinary_java_source_files): Added
13184         gnu/classpath/ServiceFactory.java and
13185         gnu/classpath/ServiceProviderLoadingAction.java.
13186         (javax_source_files): Added
13187         javax/imageio/ImageReader.java,
13188         javax/imageio/ImageTranscoder.java,
13189         javax/imageio/ImageWriter.java,
13190         javax/imageio/spi/IIOServiceProvider.java,
13191         javax/imageio/spi/ImageInputStreamSpi.java,
13192         javax/imageio/spi/ImageOutputStreamSpi.java,
13193         javax/imageio/spi/ImageReaderWriterSpi.java,
13194         javax/imageio/spi/ImageTranscoderSpi.java,
13195         javax/imageio/spi/RegisterableService.java,
13196         javax/imageio/spi/ServiceRegistry.java,
13197         javax/imageio/stream/IIOByteBuffer.java,
13198         javax/imageio/stream/ImageInputStream.java and
13199         javax/imageio/stream/ImageOutputStream.java.
13200         * Makefile.in: Regenerated.
13201
13202 2004-04-21  Michael Koch  <konqueror@gmx.de>
13203
13204         * java/util/Properties.java
13205         (load): Fix wrongly merged fix.
13206
13207 2004-04-21  Mark Wielaard  <mark@klomp.org>
13208
13209         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
13210         malloc and free buf.
13211
13212 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
13213
13214         * javax/naming/AuthenticationException.java,
13215         javax/naming/AuthenticationNotSupportedException.java,
13216         javax/naming/CannotProceedException.java,
13217         javax/naming/CommunicationException.java,
13218         javax/naming/CompoundName.java,
13219         javax/naming/ConfigurationException.java,
13220         javax/naming/ContextNotEmptyException.java,
13221         javax/naming/InitialContext.java,
13222         javax/naming/InsufficientResourcesException.java,
13223         javax/naming/InterruptedNamingException.java,
13224         javax/naming/LimitExceededException.java,
13225         javax/naming/LinkException.java,
13226         javax/naming/LinkLoopException.java,
13227         javax/naming/LinkRef.java,
13228         javax/naming/MalformedLinkException.java,
13229         javax/naming/Name.java,
13230         javax/naming/NameAlreadyBoundException.java,
13231         javax/naming/NameNotFoundException.java,
13232         javax/naming/NamingSecurityException.java,
13233         javax/naming/NoInitialContextException.java,
13234         javax/naming/NoPermissionException.java,
13235         javax/naming/NotContextException.java,
13236         javax/naming/PartialResultException.java,
13237         javax/naming/ReferralException.java,
13238         javax/naming/ServiceUnavailableException.java,
13239         javax/naming/SizeLimitExceededException.java,
13240         javax/naming/TimeLimitExceededException.java,
13241         javax/naming/directory/Attribute.java,
13242         javax/naming/directory/Attributes.java,
13243         javax/naming/directory/SearchResult.java,
13244         javax/naming/event/NamingExceptionEvent.java,
13245         javax/naming/spi/ResolveResult.java:
13246         Cleaned up imports.
13247
13248 2004-04-21  Mark Wielaard  <mark@klomp.org>
13249
13250         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
13251         Changed C++ comments into C comments. Removed commented out code.
13252         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
13253         Likewise.
13254         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
13255         Likewise.
13256         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
13257         Likewise.
13258         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
13259         Likewise.
13260         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
13261         Likewise.
13262         * native/jni/gtk-peer/gthread-jni.c:
13263         Likewise.
13264
13265 2004-04-21  Mark Wielaard  <mark@klomp.org>
13266
13267         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
13268         static fields defined in interface.
13269         * javax/awt/JDialog.java: Likewise.
13270         (JDialog): Make constructors public.
13271         (getDefaultCloseOperation): Make public.
13272         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
13273         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
13274         * javax/swing/JViewport.java (JViewport): Make constructor public.
13275
13276 2004-04-21  Michael Koch  <konqueror@gmx.de>
13277
13278         * java/util/Map.java
13279         (Entry): Removed redundant "static" modifier.
13280         * java/text/AttributedCharacterIterator.java:
13281         Updated copyright year.
13282
13283 2004-04-20  Michael Koch  <konqueror@gmx.de>
13284
13285         * javax/naming/directory/SearchControls.java:
13286         Don't explicitely extend java.lang.Object.
13287         * javax/naming/spi/DirStateFactory.java:
13288         Merged copyright year with GNU classpath.
13289
13290 2004-04-20  Michael Koch  <konqueror@gmx.de>
13291
13292         * java/nio/channels/Channels.java:
13293         Merged coding style with GNU classpath.
13294
13295 2004-04-20  Michael Koch  <konqueror@gmx.de>
13296
13297         * java/net/ServerSocket.java
13298         Merged coding style from GNU classpath.
13299
13300 2004-04-20  Michael Koch  <konqueror@gmx.de>
13301
13302         * java/io/BufferedWriter.java:
13303         Reordered variables to be at top of the class.
13304         (localFlush): Removed redundant final keyword.
13305
13306 2004-04-20  Ingo Proetel  <proetel@aicas.com>
13307
13308         * java/awt/event/MouseEvent.java (<init>): fixed field assignment
13309
13310 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
13311
13312         * java/text/DecimalFormat.java (scanFix): Removed suffix check
13313         for percent and permill check.
13314
13315 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
13316
13317         * java/text/FieldPosition.java
13318         (FieldPosition) Constructor now behaves as it should according
13319         to the java documentation.
13320
13321 2004-04-20  Mark Wielaard  <mark@klomp.org>
13322
13323         * java/util/Properties.java: Use the word umlaut, not &auml; in api
13324         documentation.
13325
13326 2004-04-20  Michael Koch  <konqueror@gmx.de>
13327
13328         * java/nio/Buffer.java,
13329         java/nio/channels/AlreadyConnectedException.java,
13330         java/nio/channels/AsynchronousCloseException.java,
13331         java/nio/channels/ByteChannel.java,
13332         java/nio/channels/CancelledKeyException.java,
13333         java/nio/channels/Channel.java,
13334         java/nio/channels/Channels.java,
13335         java/nio/channels/ClosedByInterruptException.java,
13336         java/nio/channels/ClosedChannelException.java,
13337         java/nio/channels/ClosedSelectorException.java,
13338         java/nio/channels/ConnectionPendingException.java,
13339         java/nio/channels/DatagramChannel.java,
13340         java/nio/channels/FileChannel.java,
13341         java/nio/channels/FileLock.java,
13342         java/nio/channels/FileLockInterruptionException.java,
13343         java/nio/channels/GatheringByteChannel.java,
13344         java/nio/channels/IllegalBlockingModeException.java,
13345         java/nio/channels/IllegalSelectorException.java,
13346         java/nio/channels/InterruptibleChannel.java,
13347         java/nio/channels/NoConnectionPendingException.java,
13348         java/nio/channels/NonReadableChannelException.java,
13349         java/nio/channels/NonWritableChannelException.java,
13350         java/nio/channels/NotYetBoundException.java,
13351         java/nio/channels/NotYetConnectedException.java,
13352         java/nio/channels/OverlappingFileLockException.java,
13353         java/nio/channels/Pipe.java,
13354         java/nio/channels/ReadableByteChannel.java,
13355         java/nio/channels/ScatteringByteChannel.java,
13356         java/nio/channels/SelectableChannel.java,
13357         java/nio/channels/SelectionKey.java,
13358         java/nio/channels/Selector.java,
13359         java/nio/channels/ServerSocketChannel.java,
13360         java/nio/channels/SocketChannel.java,
13361         java/nio/channels/UnresolvedAddressException.java,
13362         java/nio/channels/UnsupportedAddressTypeException.java,
13363         java/nio/channels/WritableByteChannel.java,
13364         java/nio/channels/spi/AbstractInterruptibleChannel.java,
13365         java/nio/channels/spi/AbstractSelectableChannel.java,
13366         java/nio/channels/spi/AbstractSelectionKey.java,
13367         java/nio/channels/spi/AbstractSelector.java,
13368         java/nio/channels/spi/SelectorProvider.java,
13369         java/nio/charset/spi/CharsetProvider.java:
13370         Fixed javadocs and jalopied all over java.nio.
13371
13372 2004-04-20  Michael Koch  <konqueror@gmx.de>
13373
13374         * java/nio/ByteBufferImpl.java,
13375         java/nio/CharBufferImpl.java,
13376         java/nio/DirectByteBufferImpl.java,
13377         java/nio/DoubleBufferImpl.java,
13378         java/nio/DoubleViewBufferImpl.java,
13379         java/nio/FloatBufferImpl.java,
13380         java/nio/FloatViewBufferImpl.java,
13381         java/nio/IntBufferImpl.java,
13382         java/nio/IntViewBufferImpl.java,
13383         java/nio/LongBufferImpl.java,
13384         java/nio/LongViewBufferImpl.java,
13385         java/nio/MappedByteBufferImpl.java,
13386         java/nio/ShortBufferImpl.java,
13387         java/nio/ShortViewBufferImpl.java:
13388         Made sure all classes are final and removed final keyword from all
13389         methods.
13390
13391 2004-04-20  Michael Koch  <konqueror@gmx.de>
13392
13393         * java/rmi/MarshalledObject.java,
13394         java/rmi/Naming.java,
13395         java/rmi/RemoteException.java,
13396         java/rmi/activation/ActivationException.java,
13397         java/rmi/server/ServerCloneException.java,
13398         java/security/AccessController.java,
13399         java/security/AlgorithmParameterGenerator.java,
13400         java/security/AlgorithmParameters.java,
13401         java/security/CodeSource.java,
13402         java/security/Identity.java,
13403         java/security/IdentityScope.java,
13404         java/security/KeyPairGenerator.java,
13405         java/security/KeyStore.java,
13406         java/security/Security.java,
13407         java/security/Signature.java,
13408         java/security/SignatureSpi.java,
13409         java/security/SignedObject.java,
13410         java/security/spec/DSAParameterSpec.java,
13411         java/security/spec/DSAPrivateKeySpec.java,
13412         java/security/spec/DSAPublicKeySpec.java,
13413         java/sql/Array.java,
13414         java/sql/DatabaseMetaData.java,
13415         java/sql/ResultSet.java,
13416         java/text/ChoiceFormat.java,
13417         java/text/CollationElementIterator.java,
13418         java/text/CollationKey.java,
13419         java/text/Collator.java,
13420         java/text/DateFormat.java,
13421         java/text/DateFormatSymbols.java,
13422         java/text/DecimalFormatSymbols.java,
13423         java/text/Format.java,
13424         java/text/ParsePosition.java,
13425         java/text/RuleBasedCollator.java,
13426         java/text/SimpleDateFormat.java,
13427         java/text/StringCharacterIterator.java,
13428         java/util/Collections.java,
13429         java/util/PropertyResourceBundle.java,
13430         java/util/ResourceBundle.java,
13431         java/util/StringTokenizer.java,
13432         java/util/jar/Attributes.java,
13433         java/util/logging/ConsoleHandler.java,
13434         java/util/logging/LogManager.java,
13435         java/util/logging/MemoryHandler.java,
13436         java/util/logging/SocketHandler.java,
13437         javax/naming/NamingException.java:
13438         Fixed javadoc, coding style and argument names all over.
13439
13440 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
13441
13442         * java/io/FileDescriptor.java: (FileDescriptor) Added public
13443         constructor. (valid) Added null check.
13444
13445 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
13446
13447         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
13448         * java/io/FileOutputStream.java
13449         (FileOutputStream) Reorganized constructors. Constructors now
13450         check whether the given path is directory.
13451
13452 2004-04-20  Michael Koch  <konqueror@gmx.de>
13453
13454         * java/net/Authenticator.java,
13455         java/net/BindException.java,
13456         java/net/ConnectException.java,
13457         java/net/ContentHandler.java,
13458         java/net/ContentHandlerFactory.java,
13459         java/net/DatagramPacket.java,
13460         java/net/DatagramSocket.java,
13461         java/net/DatagramSocketImpl.java,
13462         java/net/DatagramSocketImplFactory.java,
13463         java/net/FileNameMap.java,
13464         java/net/HttpURLConnection.java,
13465         java/net/Inet4Address.java,
13466         java/net/Inet6Address.java,
13467         java/net/InetAddress.java,
13468         java/net/InetSocketAddress.java,
13469         java/net/JarURLConnection.java,
13470         java/net/MalformedURLException.java,
13471         java/net/MulticastSocket.java,
13472         java/net/NetPermission.java,
13473         java/net/NetworkInterface.java,
13474         java/net/NoRouteToHostException.java,
13475         java/net/PasswordAuthentication.java,
13476         java/net/PortUnreachableException.java,
13477         java/net/ProtocolException.java,
13478         java/net/ServerSocket.java,
13479         java/net/Socket.java,
13480         java/net/SocketAddress.java,
13481         java/net/SocketException.java,
13482         java/net/SocketImpl.java,
13483         java/net/SocketImplFactory.java,
13484         java/net/SocketOptions.java,
13485         java/net/SocketPermission.java,
13486         java/net/SocketTimeoutException.java,
13487         java/net/URI.java,
13488         java/net/URISyntaxException.java,
13489         java/net/URL.java,
13490         java/net/URLClassLoader.java,
13491         java/net/URLConnection.java,
13492         java/net/URLDecoder.java,
13493         java/net/URLEncoder.java,
13494         java/net/URLStreamHandler.java,
13495         java/net/URLStreamHandlerFactory.java,
13496         java/net/UnknownHostException.java,
13497         java/net/UnknownServiceException.java:
13498         Fixed javadocs, coding style and argument names all over.
13499
13500 2004-04-20  Michael Koch  <konqueror@gmx.de>
13501
13502         * java/lang/Byte.java,
13503         java/lang/CharSequence.java,
13504         java/lang/ClassLoader.java,
13505         java/lang/Compiler.java,
13506         java/lang/Double.java,
13507         java/lang/Float.java,
13508         java/lang/Integer.java,
13509         java/lang/Long.java,
13510         java/lang/Math.java,
13511         java/lang/Number.java,
13512         java/lang/Package.java,
13513         java/lang/Runtime.java,
13514         java/lang/RuntimePermission.java,
13515         java/lang/SecurityManager.java,
13516         java/lang/Short.java,
13517         java/lang/StringBuffer.java,
13518         java/lang/System.java,
13519         java/lang/ThreadGroup.java,
13520         java/lang/Throwable.java,
13521         java/lang/reflect/InvocationHandler.java,
13522         java/lang/reflect/Proxy.java:
13523         Fixed javadocs, coding style and argument names all over.
13524
13525 2004-04-20  Michael Koch  <konqueror@gmx.de>
13526
13527         * java/io/BufferedWriter.java,
13528         java/io/ByteArrayInputStream.java,
13529         java/io/CharArrayWriter.java,
13530         java/io/DataInput.java,
13531         java/io/DataInputStream.java,
13532         java/io/File.java,
13533         java/io/FilterInputStream.java,
13534         java/io/InputStream.java,
13535         java/io/InputStreamReader.java,
13536         java/io/ObjectInputStream.java,
13537         java/io/ObjectStreamClass.java,
13538         java/io/PipedInputStream.java,
13539         java/io/PipedReader.java,
13540         java/io/PushbackInputStream.java,
13541         java/io/PushbackReader.java,
13542         java/io/RandomAccessFile.java,
13543         java/io/SerializablePermission.java,
13544         java/io/StreamTokenizer.java,
13545         java/io/StringWriter.java,
13546         java/io/WriteAbortedException.java,
13547         java/io/Writer.java:
13548         Fixed javadocs all over, rename arguments to match javadocs,
13549         fixed coding style.
13550
13551 2004-04-20  Ingo Proetel  <proetel@aicas.com>
13552
13553         * java/awt/FontMetrics.java:
13554         (charsWidth): fixed accumulation of total_width
13555         (getWidth): simple default implementation
13556         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
13557         in Rectangle constructor.
13558         * java/awt/image/Raster.java (toString): Added method.
13559         * java/awt/image/SampleModel.java (<init>): Added error cause
13560         information to thrown exception.
13561         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
13562         New method.
13563         (setDataElements): New method.
13564         (setPixels): New method.
13565         (toString): New method.
13566
13567 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
13568
13569         * java/awt/image/ComponentColorModel.java
13570         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
13571         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
13572         Mauve tests on this method. Improved documentation.
13573
13574 2004-04-20  Michael Koch  <konqueror@gmx.de>
13575
13576         * javax/swing/JLayeredPane.java,
13577         javax/swing/plaf/BorderUIResource.java,
13578         javax/swing/plaf/ComponentUI.java,
13579         javax/swing/undo/CompoundEdit.java,
13580         javax/swing/undo/StateEdit.java:
13581         Fixed HTML tags in javadocs all over.
13582
13583 2004-04-20  Michael Koch  <konqueror@gmx.de>
13584
13585         * javax/print/attribute/EnumSyntax.java
13586         (getOffset): Made protected.
13587         * javax/print/attribute/HashAttributeSet.java
13588         (HashAttributeSet): Likewise.
13589         * javax/print/attribute/ResolutionSyntax.java
13590         (getFeedResolution): Fixed typo in exception name.
13591         (getCrossFeedResolution): Likewise.
13592         * javax/print/attribute/SetOfIntegerSyntax.java
13593         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
13594         * javax/print/attribute/TextSyntax.java
13595         (TextSyntax): Handle locale correctly.
13596         (hashCode): Calc better hashcode value.
13597         (equals): Fixed @return tag.
13598         (toString): New method.
13599
13600 2004-04-20  Michael Koch  <konqueror@gmx.de>
13601
13602         * gnu/java/nio/FileLockImpl.java
13603         (static): Removed, not needed anymore.
13604         * gnu/java/nio/channels/FileChannelImpl.java
13605         (FileChannelImpl): Made final.
13606         (mode): Made private.
13607         (READ, WRITE, APPEND): Made public.
13608         (EXCL, SYNC, DSYNC): Likewise.
13609         (static): Load native JNI library, when needed.
13610         (length): Unused, removed.
13611         (available): Made public.
13612         (implPosition): Throws IOException.
13613         (seek): Likewise.
13614         (implTruncate): Likewise.
13615         (unlock): Likewise.
13616         (lock): Likewise.
13617
13618 2004-04-20  Michael Koch  <konqueror@gmx.de>
13619
13620         * java/awt/AWTPermission.java,
13621         java/awt/Component.java,
13622         java/awt/ComponentOrientation.java,,
13623         java/awt/Dialog.java,
13624         java/awt/FontMetrics.java,
13625         java/awt/Graphics.java,
13626         java/awt/datatransfer/DataFlavor.java,
13627         java/beans/Introspector.java,
13628         java/beans/PropertyEditor.java,
13629         java/beans/PropertyEditorManager.java,
13630         java/beans/beancontext/BeanContextServiceProvider.java:
13631         Fixed HTML tags in javadocs all over.
13632
13633 2004-04-20  Mark Wielaard  <mark@klomp.org>
13634
13635         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
13636         MissingResourceException is thrown.
13637         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
13638         null when a MissingResourceException is thrown. Should never happen.
13639
13640 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
13641
13642         * java/awt/image/DataBufferShort.java,
13643         java/awt/image/DataBufferFloat.java,
13644         java/awt/image/DataBufferDouble.java,
13645         java/awt/image/PixelInterleavedSampleModel.java: New files.
13646         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
13647         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
13648
13649 2004-04-20  Michael Koch  <konqueror@gmx.de>
13650
13651         * Makefile.am (java_source_files): Added
13652         java/awt/image/DataBufferDouble.java,
13653         java/awt/image/DataBufferFloat.java,
13654         java/awt/image/DataBufferShort.java and
13655         java/awt/image/PixelInterleavedSampleModel.java.
13656         * Makefile.in: Regenerated.
13657
13658 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
13659
13660         * gcj/cni.h (JvAllocObject): Remove these obsolete,
13661         undocumented CNI calls.
13662         * include/java-interp.h (_Jv_InterpClass): No longer
13663         extends java.lang.Class.
13664         * java/lang/Class.h (Class): Add new field `aux_info'.
13665         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
13666         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
13667         Use Class->aux_info instead.
13668         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
13669         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
13670         Use Class->aux_info instead.
13671         * java/io/natObjectInputStream.cc (allocateObject): Use
13672         _Jv_AllocObject.
13673         * java/lang/natClass.cc (newInstance): Likewise.
13674         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
13675         * java/lang/natObject.cc (clone): Likewise.
13676         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
13677         * java/lang/natVMClassLoader.cc (defineClass): Don't use
13678         JvAllocObject. Allocate klass->aux_info here for interpreted
13679         class.
13680
13681 2004-04-17  Mark Wielaard  <mark@klomp.org>
13682
13683         * javax/swing/JToggleButton.java (ToggleButtonModel):
13684         Make public static inner class.
13685         * javax/swing/JTabbedPane.java (setComponentAt):
13686         Call Page.setComponent().
13687         (SCROLL_TAB_LAYOUT): Make public, value is 1.
13688         (WRAP_TAB_LAYOUT): Make public, value is 0.
13689         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
13690         Make private static inner class.
13691
13692 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
13693
13694         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
13695         arguments to match new signature. Remove FIXME comments.
13696
13697 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
13698
13699         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
13700         Remove method.
13701         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
13702         unused code.
13703
13704 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
13705
13706         * Makefile.am: Added new file.
13707         * Makefile.in: Regenerate.
13708         * javax/swing/ImageIcon.java:
13709         (ImageIcon(file)): set description of the icon
13710         to the file name
13711         * javax/swing/JCheckBoxMenuItem.java:
13712         Mostly Implemented. Work in progress.
13713         * javax/swing/JRadioButtonMenuItem.java:
13714         Reimplement constructors to use JToggleButtonModel.
13715         * javax/swing/plaf/basic/BasicIconFactory.java:
13716         (getCheckBoxMenuItemIcon): return check box
13717         icon.
13718         * javax/swing/plaf/basic/BasicMenuItemUI.java:
13719         paint menu item selected only when it is armed and
13720         pressed.
13721
13722 2004-04-02  David Jee  <djee@redhat.com>
13723
13724         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
13725         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
13726         * java/awt/Component.java
13727         (add): Set the parent of the popup as this component.
13728         * java/awt/PopupMenu.java
13729         (addNotify): Create popup menu when peer is null.
13730         (show): Call addNotify() if peer is null.
13731         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
13732         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
13733         argument for gtk_menu_popup() as zero. This causes the popup menu to
13734         respond to any mouse button.
13735
13736 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
13737
13738         * Makefile.am: Added new file.
13739         * Makefile.in: Regenerate.
13740         * javax/swing/JRadioButtonMenuItem.java:
13741         Implemented.
13742         * javax/swing/plaf/basic/BasicIconFactory.java:
13743         (getRadioButtonMenuItemIcon): Return
13744         radio button icon.
13745         * javax/swing/plaf/basic/BasicMenuItemUI.java:
13746         (getPreferredSize): Add size of checkIcon if it
13747         exists.
13748         (installDefaults): Don't initialize checkIcon.
13749         It's value will be set in subclasses.
13750         (uninstallDefaults): remove uninstallation of
13751         checkIcon.
13752         (paint): Moved code to paintMenuItem().
13753         (paintMenuItem): Implemented.
13754         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
13755         UI delegate for JRadioButtonMenuItem.
13756
13757 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
13758
13759         * javax/swing/plaf/basic/BasicMenuItemUI.java:
13760         Corrected position of the accelerator.
13761
13762 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
13763
13764         * Makefile.am: Added new file.
13765         * Makefile.in: Regenerate.
13766         * javax/swing/JMenuItem.java: Partly
13767         implemented. Work in progress
13768         * javax/swing/plaf/basic/BasicLookAndFeel.java:
13769         Changed default value of acceleratorDelimiter.
13770         * javax/swing/plaf/basic/BasicMenuItemUI.java:
13771         New class. Partly implemented.
13772
13773 2004-03-26  Mark Wielaard  <mark@klomp.org>
13774
13775         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
13776         (item_activate): Declare label before use.
13777         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13778         (gtkSetFont): Removed unused variable label.
13779         (addExposeFilter): Declare variables before use.
13780         (removeExposeFilter): Likewise.
13781         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
13782         (ok_clicked): Declare str_fileName before use.
13783
13784 2004-03-26  David Jee  <djee@redhat.com>
13785
13786         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
13787         (addSeparator): Remove.
13788         * java/awt/Menu.java
13789         (separator): Remove static final MenuItem field.
13790         (separatorLabel): New static final String field.
13791         (addSeparator): Do not use peer method; use add(MenuItem) instead.
13792         Use separatorLabel to denote that it is a separator.
13793         (insertSeparator): Create a new MenuItem with separatorLabel, instead
13794         of reusing the static separator instance, because a MenuItem instance
13795         can't be added more than once without being cloned.
13796         * java/awt/peer/MenuPeer.java
13797         (addSeparator): Remove from interface.
13798
13799 2004-03-26  David Jee  <djee@redhat.com>
13800
13801         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
13802         (connectSignals): New native method declaration.
13803         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
13804         * java/awt/MenuItem.java
13805         (getActionCommand): Return the label if the action command is not set.
13806         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
13807         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
13808         gtk_menu_shell_append().
13809         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
13810         (item_activate): Fix argument type.
13811         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
13812         signal here.
13813         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
13814         method.
13815         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
13816         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
13817         given. Add the menu widget's top-level GtkWindow to the global window
13818         group, so it can grab the pointer.
13819         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
13820         gtk_menu_shell_append().
13821
13822 2004-03-23  Graydon Hoare  <graydon@redhat.com>
13823
13824         * java/text/AttributedString.java
13825         (addAttribute): Fix off-by-one.
13826         (getIterator): Likewise.
13827         * java/text/AttributedStringIterator.java
13828         (getRunLimit): Correct logic.
13829         (getRunStart): Likewise.
13830         (getAttribute): Fix inequality.
13831         (getAttributes): Likewise.
13832         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
13833
13834 2004-03-23  Kim Ho  <kho@redhat.com>
13835
13836         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
13837         (calculateSizes): Return real width and height.
13838
13839 2004-03-23  Kim Ho  <kho@redhat.com>
13840
13841         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
13842         (calculateTabRects): Set the selectedRun before
13843         trying to rotate tabs.
13844
13845 2004-03-23  Kim Ho  <kho@redhat.com>
13846
13847         * Makefile.am: New file
13848         * Makefile.in: Regenerate
13849         * java/awt/Graphics.java: (drawRect):
13850         Draw to the correct point.
13851         * javax/swing/DefaultSingleSelectionModel.java
13852         (isSelected): Return true if the selected index
13853         is not -1.
13854         * javax/swing/JLabel.java: Do not change mnemonic
13855         index if text is null.
13856         * javax/swing/JProgressBar.java: Use JComponent's
13857         EventListenerList.
13858         * javax/swing/JScrollBar.java: Ditto.
13859         * javax/swing/JSlider.java: Ditto.
13860         * javax/swing/JTabbedPane.java: Reimplement.
13861         * javax/swing/plaf/basic/BasicLookAndFeel.java:
13862         Add defaults for TabbedPane.
13863         * javax/swing/plaf/basic/BasicArrowButton.java:
13864         Implement
13865         * javax/swing/plaf/basic/BasicProgressBarUI.java:
13866         (paintDeterminate): Don't paint String if it's
13867         empty.
13868         (paintIndeterminate): ditto.
13869         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
13870         Reimplement.
13871
13872 2004-03-19  Michael Koch  <konqueror@gmx.de>
13873
13874         * java/awt/image/AffineTransformOp.java
13875         (AffineTransformOp): Made public.
13876         * javax/swing/JComponent.java
13877         (listenerList): Made protected.
13878         (accessibleContext): Likewise.
13879         * javax/swing/JList.java
13880         (valueChanged): Dont use internal fields of ListSelectionEvent.
13881         * javax/swing/JViewport.java
13882         (getView): Dont use internal fields of Component.
13883         (addImpl): Likewise.
13884         * javax/swing/Timer.java
13885         (isRunning): Made public.
13886         (start): Likewise.
13887         (stop): Likewise.
13888         * javax/swing/UIDefaults.java
13889         (getInt): Made public.
13890         * javax/swing/plaf/basic/BasicListUI.java
13891         (mousePressed): Dont use internal fields of MouseEvent.
13892         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
13893         * javax/swing/plaf/basic/BasicScrollBarUI.java
13894         (arrowIcon): Made static.
13895         * javax/swing/plaf/basic/BasicViewportUI.java
13896         (stateChanged): Dont use internal field on ChangeEvent.
13897         * javax/swing/text/JTextComponent.java
13898         (getUI): Call UIManager.getUI().
13899         (updateUI): Use getUI().
13900
13901 2004-03-19  Graydon Hoare  <graydon@redhat.com>
13902
13903         * javax/swing/JComponent.java: Turn off double buffer by default.
13904         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
13905         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
13906         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
13907         Use cairo to copy areas.
13908         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
13909         Initialize and set clip region.
13910
13911 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
13912
13913         * java/applet/Applet.java (preferredSize): Override deprecated
13914         variant of getPreferredSize.
13915         (minimumSize): Override deprecated variant of getMinimumSize.
13916
13917 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
13918
13919         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13920         (drawImage(img,xform,bgcolor,obs)): New Method.
13921         Helper function that every drawImage method will
13922         use.
13923         (drawRaster): Added new parameter, bgcolor. All
13924         transparent pixels are changed to bgcolor before
13925         image is drawn.
13926         (drawRenderedImage): Fixed to use changed drawRaster().
13927         (drawImage(image,xform,obs): Fixed to use new helper function
13928         (drawImage(image,op,x,y)): Ditto.
13929         (drawImage (img,x,y,observer)): Ditto.
13930         ((PainterThread) bgcolor): New Field.
13931         ((PainterThread) (setPixels)): Changed all transparent pixels
13932         to bgcolor.
13933         (drawImage(img,x,y,width,height,bgcolor,observer)):
13934         Fixed FIXME - all the transparent pixels are
13935         changed to the specified bgcolor.
13936         (drawImage(img, x, y, width, height, observer): Changed to
13937         use function above.
13938         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
13939         Fixed FIXME- changed all transparent pixels to bgcolor.
13940         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
13941         Changed to use function above.
13942
13943 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
13944
13945         * java/applet/Applet.java (dimensions): New field.
13946         (getDimensions): New method.
13947         (getPreferredSize): Call getDimensions.
13948         (getMinimumSize): Likewise.
13949
13950 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
13951
13952         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
13953         * jni/classpath/jnilink.c: Likewise.
13954
13955         * java/applet/Applet.java (getPreferredSize): New method.
13956         (getMinimumSize): New method.
13957
13958 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
13959
13960         * prims.cc (_Jv_AllocObject): Remove `size' argument.
13961         (_Jv_AllocObjectNoFinalizer): Likewise.
13962         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
13963         (_Jv_AllocPtrFreeObject): Likewise.
13964         (_Jv_AllocString): Moved from natString.cc. Call collector interface
13965         directly even in the JVMPI case.
13966         * gcj/cni.h (JvAllocObject): Remove `size' argument from
13967         _Jv_AllocObject calls.
13968         * gcj/javaprims.h: Update prototypes.
13969         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
13970         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
13971         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
13972
13973 2004-04-14  Andrew Haley  <aph@redhat.com>
13974             Bryce McKinlay  <mckinlay@redhat.com>
13975
13976         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
13977         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
13978         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
13979
13980         * testsuite/libjava.lang/InvokeInterface.java: New file.
13981         * testsuite/libjava.lang/InvokeInterface.out: New file.
13982
13983 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
13984
13985         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
13986         modified lookup().
13987         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
13988         StackTraceElement directly.
13989         (newElement): New native helper method to create StackTraceElement
13990         bypassing Java access control.
13991         (createStackTraceElement): Use newElement() instead of directly
13992         calling StackTraceElement's constructor.
13993         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
13994
13995 2004-04-01  Michael Koch  <konqueror@gmx.de>
13996
13997         * java/lang/SecurityManager.java
13998         (checkAwtEventQueueAccess): Implemented.
13999
14000 2004-04-01  Gary Benson  <gbenson@redhat.com>
14001
14002         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
14003         (_Jv_SearchMethodInClass): Likewise.
14004
14005 2004-03-26  Peter Moon  <peterm@miraculum.com>
14006
14007         * java/text/NumberFormat.java: Fix spelling of setCurrency
14008         method.
14009
14010 2004-03-21  Anthony Green  <green@redhat.com>
14011
14012         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
14013         recursion when searching for the system ClassLoader.
14014
14015 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
14016
14017         * java/net/ServerSocket.java
14018         (accept): Close the socket when error occured.
14019
14020 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
14021
14022         * java/net/URI.java (parseURI): Added unquoting.
14023         (unquote): New method.
14024         (quoteAuthority): Implemented.
14025         (quote(String,String)): New method.
14026         (quotePath): Implemented.
14027         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
14028         (getSchemeSpecificPart): Removed FIXME comment.
14029         (getRawAuthority): Return new rawAuthority field.
14030         (getAuthority): Removed FIXME comment.
14031         (getRawUserInfo): Return new rawUserInfo field.
14032         (getUserInfo): Removed FIXME comment.
14033         (getRawPath): Return new rawPath field.
14034         (getPath): Removed FIXME comment.
14035         (getRawQuery): Return new rawQuery field.
14036         (getQuery): Removed FIXME comment.
14037         (getRawFragment): Return new rawFragment field.
14038         (getFragment): Removed FIXME comment.
14039
14040 2004-03-20  Michael Koch  <konqueror@gmx.de>
14041
14042         * java/net/URLConnection.java: Merged copyright year with classpath.
14043
14044 2004-03-20  Norbert Frese  <postfach@nfrese.net>
14045
14046         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
14047         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
14048         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
14049         rmi-message.
14050         (getObjectInputStream): Return object reference, throw IOException if null.
14051         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
14052         (getObjectOutputStream): Return object reference, throw IOException if null.
14053         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
14054         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
14055         (UnicastConnectionManager): Throw RemoteException if port is not available.
14056         (getInstance): Throw RemoteException.
14057         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
14058         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
14059         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
14060         Collect Exceptions which are returned by a rmi-call and fix void returns.
14061         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
14062         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
14063         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
14064         (dispatch): Answer ping messages which are sent by other java implementions.
14065         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
14066         for every rmi-message and fix void return problems.
14067         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
14068         (UnicastServerRef): Throw RemoteException.
14069         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
14070         In some situations it is necessary to export a subclass of the class which has the _Stub.
14071         For instance when the class with has the _Stub is abstract.
14072         (findStubSkelClass): New method which looks for the class which has the _Stub.
14073         (getClientHost): Implementated.
14074         * gcc/libjava/java/rmi/server/RemoteServer.java
14075         (getClientHost): Implementated.
14076         * gcc/libjava/Makefile.am (rmi_java_source_files):
14077         Added gnu/java/rmi/server/RMIIncomingThread.java.
14078         * Makefile.in: Regenerated.
14079
14080 2004-03-20  Michael Koch  <konqueror@gmx.de>
14081
14082         * java/net/InetAddress.java
14083         (getLocalHostname): Added javadoc.
14084
14085 2004-03-19  Per Bothner  <per@bothner.com>
14086
14087         * configure.in: FILE variable  overrides FLATFORM when linking
14088         natFileChannelXXX.cc.
14089
14090         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
14091         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
14092
14093 2004-03-19  Per Bothner  <per@bothner.com>
14094
14095         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
14096         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
14097         * Makefile.am:  Update accordingly.
14098         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
14099         as aliases for UnicodeLittle and UnicodeBig.
14100
14101 2004-03-20  Mark Wielaard  <mark@klomp.org>
14102
14103         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
14104         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
14105         Don't access ws when it is null.
14106         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
14107         Likewise.
14108
14109 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
14110
14111         * java/lang/ThreadGroup.java (list): Changed print to println.
14112
14113 2004-03-19  Mark Wielaard  <mark@klomp.org>
14114
14115         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
14116         happy.
14117
14118 2004-02-10  Randolph Chung  <tausq@debian.org>
14119
14120         * configure.in: Build java for hppa target.
14121         * configure: Regenerate.
14122         * libjava/configure.host (hppa-*): Add target.
14123         * libjava/sysdeps/pa/lock.h: New file.
14124
14125 2004-03-19  Mark Wielaard  <mark@klomp.org>
14126
14127         Reported by Stephen Crawley
14128         * java/io/FilePermission.java (implies): Use String.length() -1 to
14129         access last char of String.
14130
14131 2004-03-19  Michael Koch  <konqueror@gmx.de>
14132
14133         * java/awt/image/AffineTransformOp.java
14134         (AffineTransformOp): Made public.
14135         * javax/swing/JComponent.java
14136         (listenerList): Made protected.
14137         (accessibleContext): Likewise.
14138         * javax/swing/JList.java
14139         (valueChanged): Dont use internal fields of ListSelectionEvent.
14140         * javax/swing/JViewport.java
14141         (getView): Dont use internal fields of Component.
14142         (addImpl): Likewise.
14143         * javax/swing/Timer.java
14144         (isRunning): Made public.
14145         (start): Likewise.
14146         (stop): Likewise.
14147         * javax/swing/UIDefaults.java
14148         (getInt): Made public.
14149         * javax/swing/plaf/basic/BasicListUI.java
14150         (mousePressed): Dont use internal fields of MouseEvent.
14151         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
14152         * javax/swing/plaf/basic/BasicScrollBarUI.java
14153         (arrowIcon): Made static.
14154         * javax/swing/plaf/basic/BasicViewportUI.java
14155         (stateChanged): Dont use internal field on ChangeEvent.
14156         * javax/swing/text/JTextComponent.java
14157         (getUI): Call UIManager.getUI().
14158         (updateUI): Use getUI().
14159
14160 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14161
14162         * verify.cc: Undef PC.
14163
14164 2004-03-18  Michael Koch  <konqueror@gmx.de>
14165
14166         * java/nio/channels/spi/AbstractSelectableChannel.java
14167         (keys): Initialize at declaration.
14168         (locate): keys cant be null.
14169         (add): Removed.
14170         (addSelectionKey): New method.
14171         (removeSelectionKey): New method.
14172         * java/nio/channels/spi/AbstractSelectionKey.java
14173         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
14174         * java/nio/channels/spi/AbstractSelector.java
14175         (provider): Javadoc added.
14176         (cancelledKeys): Javadoc added.
14177         (cancelKey): Javadoc added, add key to cancelledKeys.
14178         (deregister): Implemented.
14179
14180 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14181
14182         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
14183         MAP_FAILED to void *.
14184
14185 2004-03-12  Graydon Hoare  <graydon@redhat.com>
14186
14187         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
14188         * javax/swing/JComponent.java (paint): Use persistent double buffer.
14189         * javax/swing/JList.java (ListListener): Revalidate on changes.
14190         * javax/swing/JScrollPane.java: Reimplement.
14191         * javax/swing/JViewport.java: Reimplement.
14192         * javax/swing/ScrollPaneLayout.java: Reimplement.
14193         * javax/swing/ViewportLayout.java: Tidy up.
14194         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
14195         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
14196         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
14197         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
14198         backing store only.
14199
14200 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
14201
14202         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14203         (window_wm_protocols_filter): New function.
14204         (window_focus_in_cb): Remove function.
14205         (window_focus_out_cb): Likewise.
14206         (window_focus_or_active_state_change_cb): New function.
14207         (create): Add filter that removes WM_TAKE_FOCUS client messages.
14208         (connectSignals): Don't attach handlers to focus-in-event or
14209         focus-out-event signals.  Handle notify signal.
14210
14211 2004-03-11  David Jee  <djee@redhat.com>
14212
14213         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14214         (gtkSetLabel): New native method declaration.
14215         (setLabel): Use gtkSetLabel.
14216         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
14217         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
14218
14219 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
14220
14221         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
14222         black when color argument is null.
14223
14224 2004-03-10  Kim Ho  <kho@redhat.com>
14225
14226         * java/awt/Container.java: Remove check
14227         for drag events.
14228
14229 2004-03-10  Kim Ho  <kho@redhat.com>
14230
14231         * java/awt/Container.java: (visitChild):
14232         Remove candidate clip. Use the component
14233         clip to intersect.
14234         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
14235         (handleEvent): Use the PaintEvent's clip.
14236
14237 2004-03-10  Kim Ho  <kho@redhat.com>
14238
14239         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
14240         (handleEvent): Don't set the clip for the
14241         Graphics object.
14242
14243 2004-03-09  Graydon Hoare  <graydon@redhat.com>
14244
14245         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
14246         Fix double <-> fixed macros, reset font transform.
14247         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
14248         Likewise.
14249
14250 2004-03-09  Kim Ho  <kho@redhat.com>
14251
14252         * java/awt/Container.java: (visitChild): Move
14253         the x and y coordinate of the component rectangle
14254         to correct position.
14255         (handleEvent): Forward drag events to the pressed
14256         component.
14257         * javax/swing/plaf/basic/BasicScrollBarUI.java:
14258         Fix comments.
14259         (ArrowButtonListener::mousePressed): Stop the
14260         existing timer.
14261         (mouseDragged): Implement.
14262         (TrackListener::mousePressed): Only react if
14263         the press doesn't occur on the thumb, otherwise
14264         just set the offset.
14265         (TrackListener::mouseReleased): Unset the isAdjusting
14266         value.
14267         (createIncreaseIcon): Switch icon.
14268         (createDecreaseIcon): Switch icon.
14269         (calculatePreferredSize): Use width.
14270         (getThumbBounds): Use the top as the lower value.
14271         (layoutVScrollBar): Switch the button locations.
14272         (paintIncreaseHighlight): Paint correct side of thumb.
14273         (paintDecreaseHighlight): ditto.
14274         (valueForYPosition): Use top as the lower value.
14275         * javax/swing/plaf/basic/BasicSliderUI.java:
14276         Fix comments.
14277         (mouseDragged): Implement.
14278         (mousePressed): Only react when the thumb isn't
14279         pressed, otherwise just set offset.
14280         (mouseReleased): Handle a release of the thumb.
14281         (scrollDueToClickInTrack): Stop the timer first.
14282         * javax/swing/JProgressBar.java:
14283         (setString): Fix change condition.
14284         * javax/swing/JSeparator.java:
14285         Remove println's.
14286
14287 2004-03-08  David Jee  <djee@redhat.com>
14288
14289         * java/awt/image/AffineTransformOp.java:
14290         (filter): Use Graphics2D interface instead of directly using the
14291         GdkGraphics2D peer.
14292
14293 2004-03-05  David Jee  <djee@redhat.com>
14294
14295         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
14296         (handleEvent): Action events are generated upon MOUSE_RELEASED.
14297         * java/awt/Container.java
14298         (acquireComponentForMouseEvent): Fixed.
14299         (handleEvent): Fixed.
14300         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
14301         (state_to_awt_mods_with_button_states): New method.
14302         (pre_event_handler): Fixed mouse event generation.
14303
14304 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
14305
14306         gnu/java/awt/peer/gtk/GdkGraphics2D.java
14307         (GdkGraphics2D (BufferedImage)): Initialize
14308         pixmap associated with specified BufferedImage.
14309         (setPaint): Changed implementation of Texture
14310         Paint to use AffineTransformOp.
14311         * java/awt/image/AffineTransformOp.java
14312         (createCompatibleDestRaster): Throw RasterFormatException
14313         if resulting width or height of raster is 0.
14314
14315 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
14316
14317         * java/awt/image/AffineTransformOp.java:
14318         Removed unnecessary field interpolationType.
14319         Formatted some of the lines to be consistent with
14320         the GNU style.
14321         (AffineTransformOp): Create new RenderingHints
14322         containing specified interpolation type.
14323         (createCompatibleDestImage): Implemented.
14324         (createCompatibleDestRaster): Implemented.
14325         (filter): Implemented.
14326         (getBounds2D(BufferedImage)): Implemented.
14327         (getBounds2D(Raster)): Implemented.
14328         (getInterpolationType): Get interpolation value from
14329         rendering hints.
14330
14331 2004-03-04  David Jee  <djee@redhat.com>
14332
14333         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
14334         (setFont): Check if child peers are null.
14335
14336 2004-03-04  Graydon Hoare  <graydon@redhat.com>
14337
14338         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
14339         .libs in -L option.
14340         (libjava_arguments): Add new libraries to argument list.
14341
14342 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
14343
14344         * Makefile.am: Added java/awt/image/AffineTransformOp.java
14345         * Makefile.in: Re-generated.
14346         * java/awt/image/AffineTransformOp.java: New Class.
14347
14348 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
14349
14350         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
14351         (setPaint): Interpret correctly TexturePaint's
14352         anchor rectangle.
14353         (drawImage): Fixed scale factors of the affine
14354         transform.
14355
14356 2004-02-27  David Jee  <djee@redhat.com>
14357
14358         * gnu/java/awt/peer/gtk/GdkGraphics.java
14359         (GdkGraphics(Component)): Inherit font from component.
14360         (drawString): Use font style.
14361         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14362         (gtkSetFont): New native method declaration.
14363         (setFont): New method.
14364         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
14365         (gtkSetFont): New native method declaration.
14366         (setFont): Call new native method gtkSetFont.
14367         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
14368         (setFont): For all child components who do not their fonts set,
14369         set their peers' fonts with this container's font.
14370         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
14371         Move all native method declarations to the top for readability.
14372         (gtkSetFont): New native method declaration.
14373         (setFont): New method.
14374         * java/awt/Component.java
14375         (setFont): Invalidate after setting the font.
14376         * java/awt/Container.java
14377         (invalidateTree): New method.
14378         (setFont): Invalidate the container tree after setting the font.
14379         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
14380         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
14381         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
14382         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
14383         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14384         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
14385         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14386         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
14387
14388 2004-02-27  Olga Rodimina <rodimina@redhat.com>
14389
14390         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
14391         (updateBufferedImage): New helper function.
14392         Updates BufferedImage in memory if it was changed.
14393         (draw): changed to update BufferedImage in memory after
14394         this drawing operation
14395         (fill): Ditto.
14396         (draw3DRect): Ditto.
14397         (fill3DRect): Ditto.
14398         (clearRect): Ditto.
14399         (drawRaster): Ditto.
14400         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
14401         no affine transformation.
14402         (drawGlyphVector): Ditto.
14403
14404 2004-02-26  Olga Rodimina <rodimina@redhat.com>
14405
14406         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
14407         (isBufferedImageGraphics): New Helper function.
14408         Returns true if this graphics2d can be used to draw
14409         into buffered image and false otherwise.
14410         (updateImagePixels): New Helper function.
14411         Updates pixels in the BufferedImage.
14412         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
14413         (getImagePixels): New function. Returns pixels
14414         of the buffered image associated with
14415         this Graphics2D.
14416
14417 2004-02-26  David Jee  <djee@redhat.com>
14418
14419         * java/awt/BorderLayout.java
14420         (layoutContainer): Fix width and height calculations to ensure
14421         that they're non-negative.
14422         * java/awt/Component.java
14423         (setBackground): If c is null, inherit from closest ancestor whose
14424         background color is set.
14425
14426 2004-02-26  Kim Ho  <kho@redhat.com>
14427
14428         * Makefile.am: Add new files.
14429         * Makefile.in: Re-generate.
14430         * javax/swing/JProgressBar.java:
14431         (JProgressBar(int, int int)): Throw
14432         IllegalArgumentException if orientation is
14433         invalid.
14434         (JProgressBar(BoundedRangeModel)): Create
14435         ChangeListener and register it. UpdateUI.
14436         (getChangeListeners): Implement.
14437         (setModel): Reset ChangeListener.
14438         * javax/swing/JScrollBar.java: Implement.
14439         * javax/swing/JSeparator.java: Implement.
14440         * javax/swing/JSlider.java:
14441         (JSlider(int, int, int, int)): Throw
14442         IllegalArgumentException if orientation
14443         is invalid.
14444         (getChangeListeners): Fix method name.
14445         * javax/swing/SwingUtilities.java:
14446         (layoutCompoundLabel): If there is no text,
14447         set the text rectangle dimensions to 0.
14448         * javax/swing/plaf/basic/BasicButtonUI.java:
14449         (paint): If there is no text, don't paint it.
14450         * javax/swing/plaf/basic/BasicScrollBarUI.java:
14451         Implement.
14452         * javax/swing/plaf/basic/BasicSeparatorUI.java:
14453         Implement.
14454         * javax/swing/plaf/basic/BasicSliderUI.java:
14455         (propertyChange): If the model changes, change
14456         the listeners accordingly.
14457
14458 2004-02-25  Graydon Hoare  <graydon@redhat.com>
14459
14460         * javax/swing/AbstractButton.java: Add "final" qualifiers.
14461         * javax/swing/JList.java: Reimplement.
14462         * javax/swing/DefaultListSelectionModel.java: Reimplement.
14463         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
14464         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
14465         * javax/swing/ListModel.java: Javadoc.
14466         * javax/swing/ListSelectionModel.java: Add missing methods.
14467         * javax/swing/AbstractListModel.java: Javadoc and corrections.
14468         * javax/swing/DefaultListModel.java: Javadoc and corrections.
14469         * javax/swing/ListModel.java: Javadoc and corrections.
14470         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
14471
14472 2004-02-25  David Jee  <djee@redhat.com>
14473
14474         * gnu/java/awt/peer/gtk/GtkFontPeer.java
14475         (GtkFontPeer): Change default size to 12.
14476         * gnu/java/awt/peer/gtk/GtkToolkit.java
14477         (getFontPeer): Change default size to 12.
14478         (getClasspathFontPeer): Likewise. Set default name to "Default".
14479         * java/awt/Font.java
14480         (Font(Map)): Call Font(String,Map).
14481         (Font(String,Map)): If attrs is null, initialize it as an empty
14482         HashMap, which will ensure that the Font will get default attributes.
14483
14484 2004-02-25  David Jee  <djee@redhat.com>
14485
14486         * gnu/java/awt/peer/gtk/GtkFontPeer.java
14487         (GtkFontPeer(String,int)): Call the new constructor with size 1.
14488         (GtkFontPeer(String,int,int)): New constructor with size attribute.
14489         * gnu/java/awt/peer/gtk/GtkToolkit.java
14490         (getFontPeer(String,int)): Call the new overload method with size 1.
14491         (getFontPeer(String,int,int)): New method. Overloaded with size
14492         attribute.
14493         (getClasspathFontPeer): Set the size of the font.
14494
14495 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
14496
14497         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
14498         (bimage): New field.
14499         (GdkGraphics2D): New Constructor. Constructs Graphics
14500         object that can be used to draw into the Buffered Image.
14501         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
14502         (GdkGraphicsEnvironment): Fixed to include public
14503         keyword.
14504         (createGraphics): Implemented.
14505         * gnu/java/awt/peer/gtk/GtkToolkit.java
14506         (getLocalGraphicsEnvironment): Implemented.
14507         * java/awt/GraphicsEnvironment.java:
14508         (getLocalGraphicsEnvironment): Implemented.
14509         * java/awt/image/BufferedImage.java:
14510         (createGraphics): Implemented.
14511
14512 2004-02-24  David Jee  <djee@redhat.com>
14513
14514         * java/awt/Component.java
14515         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
14516         * java/awt/Container.java
14517         (addNotifyContainerChildren): Fix event enabling.
14518
14519 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
14520
14521         * Makefile.am: Added
14522         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
14523         * Makefile.in: Re-generated.
14524         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
14525         New Class.
14526
14527 2004-02-19  Kim Ho  <kho@redhat.com>
14528
14529         * Makefile.am: Add BasicProgressBarUI
14530         * Makefile.in: Regenerate.
14531         * javax/swing/JProgressBar.java:
14532         Re-implement.
14533         * javax/swing/plaf/basic/BasicLookAndFeel.java
14534         Add constants for JProgressBar.
14535         * javax/swing/plaf/basic/BasicProgressBarUI.java
14536         Implement.
14537         * javax/swing/plaf/basic/BasicSliderUI.java
14538         Change comments.
14539         (calculateGeometry): New method
14540         (paint): Remove unnecessary size calculations.
14541
14542 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
14543
14544         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
14545         (drawRaster): Fixed small error that caused
14546         imageToUser transformation to be set incorrectly.
14547         (toString): Implemented.
14548
14549 2004-02-18  David Jee  <djee@redhat.com>
14550
14551         * java/awt/CardLayout.java
14552         (addLayoutComponent): Show the first component added as the default.
14553         (removeLayoutComponent): After removing, show the next component.
14554         (gotoComponent): If there is only one component, show it and return.
14555
14556 2004-02-18  Kim Ho  <kho@redhat.com>
14557
14558         * javax/swing/JSlider.java: Re-order
14559         modifiers.
14560         * javax/swing/JLabel.java: Re-order
14561         modifiers.
14562         * javax/swing/JComponent.java:
14563         (addPropertyChangeListener):
14564         Implement.
14565         (removePropertyChangeListener):
14566         ditto.
14567         (firePropertyChangeEvent):
14568         ditto.
14569
14570 2004-02-17  David Jee  <djee@redhat.com>
14571
14572         * java/awt/Component.java
14573         (show): Dispatch ComponentEvent via system event queue.
14574         (hide): Likewise.
14575         (move): Likewise.
14576         (resize): Likewise.
14577         (reshape): Likewise.
14578         * java/awt/Window.java
14579         (setBoundsCallback): Likewise.
14580
14581 2004-02-17  David Jee  <djee@redhat.com>
14582
14583         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14584         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
14585         Use gtk_widget_set_size_request() instead of the deprecated
14586         gtk_widget_set_usize().
14587
14588 2004-02-17  Kim Ho  <kho@redhat.com>
14589
14590         * javax/swing/JSlider.java: Fix comments and
14591         make property strings constants.
14592         (createStandardLabels): Use the labels
14593         preferred size as bounds.
14594         * javax/swing/plaf/basic/BasicSliderUI.java
14595         Fix comments.
14596         (ScrollHandler::actionPerformed): Don't
14597         calculate the timer stop value. Let the
14598         MouseListeners find the stop location.
14599         (getPreferredHorizontalSize): Re-implement.
14600         (getPreferredVerticalSize): ditto.
14601         (getMinimumHorizontalSize): ditto.
14602         (getMinimumVerticalSize): ditto.
14603         (getPreferredSize): ditto.
14604         (getMinimumSize): ditto.
14605         (getMaximumSize): ditto.
14606         (paintTicks): Use doubles to find the
14607         tick location.
14608         (paintHorizontalLabel):  Use preferredSize
14609         as initial width and height.
14610         (paintVerticalLabel): ditto.
14611
14612 2004-02-17  Kim Ho  <kho@redhat.com>
14613
14614         * javax/swing/JLabel.java: Changed
14615         property strings to constants.
14616         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
14617         New property.
14618         (setText): Change mnemonic index if
14619         text is too short.
14620         (setDisplayedMnemonicIndex): Fire property
14621         change event.
14622         (getDisplayedMnemonicIndex): Remove check
14623         against short text.
14624
14625 2004-02-17 Olga Rodimina <rodimina@redhat.com>
14626
14627         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
14628         (drawImage(img,xform,obs)): Invert xform before
14629         passing the xform to cairo.
14630         (drawImage(img,x,y,bgcolor,obs)): Implemented.
14631         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
14632         implemented.
14633         (drawImage (img,x,y,w,h,obs)): Implemented.
14634         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
14635         bgcolor,obs)): Partly implemented.
14636         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
14637         Implemented.
14638         * java/awt/image/BufferedImage.java:
14639         (copyData): if dest is null, create raster with same
14640         dimensions as the current image.
14641
14642 2004-02-16  Graydon Hoare  <graydon@redhat.com>
14643
14644         * javax/swing/plaf/basic/BasicLabelUI.java
14645         (getPreferredSize): Use layoutCL.
14646         * javax/swing/plaf/basic/BasicGraphicsUtils.java
14647         (getPreferredButtonSize): Start with empty view rect, layout using
14648         component's preferred alignment.
14649         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
14650         List defaults.
14651
14652 2004-02-16  David Jee  <djee@redhat.com>
14653
14654         * java/awt/Component.java
14655         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
14656         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
14657         (move): Erase old bounds and repaint new bounds. Dispatch
14658         COMPONENT_MOVED ComponentEvent.
14659         (resize): Erase old bounds and repaint new bounds. Dispatch
14660         COMPONENT_RESIZED ComponentEvent.
14661         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
14662         ComponentEvents.
14663         * java/awt/Window.java
14664         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
14665         ComponentEvents.
14666
14667 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
14668
14669         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
14670         (setRenderingHint): Added implementation of
14671         Interpolation rendering hints.
14672         (setRenderingHints): Ditto.
14673         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
14674         (drawPixels): fixed to allow user to choose type
14675         of filtering that should be used when displaying images.
14676         (cairoSurfaceSetFilter): New method. Sets filter type for
14677         interpolation of pixel values.
14678
14679 2004-02-16  David Jee  <djee@redhat.com>
14680
14681         * java/awt/GridBagLayout.java
14682         (calcCellSizes): Rows or columns with zero sizes should still be
14683         considered for extra space distribution.
14684
14685 2004-02-16  Kim Ho  <kho@redhat.com>
14686
14687         * javax/swing/JLabel.java: Re-implement.
14688         * javax/swing/plaf/basic/BasicLabelUI.java
14689         Re-implement.
14690         * javax/swing/plaf/basic/BasicLookAndFeel.java:
14691         Added constant.
14692
14693 2004-02-16  Kim Ho  <kho@redhat.com>
14694
14695         * javax/swing/JSlider.java: Fix indentation and comments.
14696         (setModel): Remove null check to conform with Sun's.
14697         (setOrientation): Throw exception if not
14698         HORIZONTAL or VERTICAL.
14699         (getInverted): Use private variable instead of
14700         ComponentOrientation.
14701         (setInverted): ditto.
14702         * javax/swing/plaf/basic/BasicSliderUI.java:
14703         Fix indentation and comments.
14704         (propertyChange): Remove check for inverted slider, handle
14705         in main paint.
14706         (getMinimumSize): Return preferred size.
14707         (getMaximumSize): ditto.
14708         (calculateFocusRect): Don't relocate rectangle.
14709         (drawInverted): Return XOR of the slider's inversion and
14710         the component's orientation.
14711         (paint): Update leftToRightCache
14712
14713 2004-02-13  David Jee  <djee@redhat.com>
14714
14715         * java/awt/GridBagLayout.java
14716         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
14717         code to helper methods.
14718         (sortBySpan): New helper method.
14719         (distributeSizeAndWeight): Likewise.
14720         (calcCellWeights): Likewise.
14721         (calcCellSizes): Add comments.
14722
14723 2004-02-13  David Jee  <djee@redhat.com>
14724
14725         * java/awt/Component.java
14726         (show): Only do something if component is invisible at the moment.
14727         (hide): Only do something if component is visible at the moment.
14728         (reshape): If lightweight, erase old bounds and repaint new bounds.
14729
14730 2004-02-13  Kim Ho  <kho@redhat.com>
14731
14732         * Makefile.am: Updated for new file.
14733         * Makefile.in: Regenerated.
14734         * javax/swing/JSlider.java: Reimplement.
14735         * javax/swing/SwingUtilities.java
14736         (layoutCompoundLabel): Use icon height
14737         instead of width.
14738         (paintComponent): Implement.
14739         * javax/swing/plaf/basic/BasicLookAndFeel.java:
14740         Add JSlider defaults.
14741         * javax/swing/plaf/basic/BasicSliderUI.java:
14742         Implement. New file.
14743
14744 2004-03-17  Michael Koch  <konqueror@gmx.de>
14745
14746         * gnu/java/net/PlainDatagramSocketImpl.java
14747         (RECEIVE_LOCK): New member field.
14748         (SEND_LOCK): New member field.
14749         (send0): New method.
14750         (send): Synchronize on SEND_LOCK.
14751         (receive0): New method.
14752         (receive): Synchronize on RECEIVE_LOCK.
14753         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
14754         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
14755         gnu/java/net/natPlainDatagramSocketImplWin32.cc
14756         (send0): Renamed from send.
14757         (receive0): Renamed from receive.
14758 2004-03-17  Michael Koch  <konqueror@gmx.de>
14759
14760         * gnu/java/net/natPlainSocketImplPosix.cc
14761         (write): Just call write(jbyteArray, offset, len).
14762         (read): Just call read(jbyteArray, offset, len).
14763
14764 2004-03-16  Michael Koch  <konqueror@gmx.de>
14765
14766         * javax/swing/JTabbedPane.java
14767         (serialVersionUID): New field.
14768
14769 2004-03-16  Norbert Frese  <postfach@nfrese.net>
14770
14771         * java/net/InetAddress.java
14772         (getByName): Handle hostname == "" case.
14773
14774 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
14775
14776         Reported by: Adam Heath <doogie@debian.org>
14777         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
14778         class loader.
14779
14780 2004-03-15  Michael Koch  <konqueror@gmx.de>
14781
14782         * java/util/Locale.java: Reverting my last patch
14783         and add a comment why the original version was okay.
14784
14785 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
14786
14787         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
14788         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
14789         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
14790         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
14791
14792 2004-03-12  Michael Koch  <konqueror@gmx.de>
14793
14794         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
14795
14796 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
14797
14798         * java/net/URI.java (toURL): Implemented.
14799
14800 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
14801
14802         * java/net/URI.java
14803         (URI_REGEXP) updated to contain scheme specific part.
14804         (SCHEME_SPEC_PART_GROUP) new constant.
14805         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
14806         updated to make room for SCHEME_SPEC_PART_GROUP.
14807         (parseURI) parse scheme specific part.
14808         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
14809         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
14810         getQuery, getFragment) implemented.
14811
14812 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
14813
14814         * libraries/javalib/java/net/URI.java
14815         partially implemented using java.util.regex.
14816         (URI_REGEXP) new constant. Used to parse URIs.
14817         (SCHEME_GROUP) new constant representing index of scheme group
14818         in parsed URI.
14819         (AUTHORITY_GROUP) new constant representing index of authority
14820         group in parsed URI.
14821         (PATH_GROUP) new constant representing index of path group in
14822         parsed URI.
14823         (QUERY_GROUP) new constant representing index of query group in
14824         parsed URI.
14825         (FRAGMENT_GROUP) new constant representing index of fragment
14826         group in parsed URI.
14827         (getURIGroup) new static utility method.
14828         (parseURI) implemented.
14829         (quote) stub for new static utility method.
14830         (quoteAuthority) stub for new static utility method.
14831         (quoteHost) stub for new static utility method.
14832         (quotePath) stub for new static utility method.
14833         (quoteUserInfo) stub for new static utility method.
14834         (URI) implemented.
14835         (create) don't throw URISyntaxException. Implemented.
14836         (toString) implemented.
14837
14838 2004-03-12  Michael Koch  <konqueror@gmx.de>
14839
14840         * java/net/HttpURLConnection.java
14841         (getResponseCode): Fix another typo in javadoc.
14842
14843 2004-03-11  Michael Koch  <konqueror@gmx.de>
14844
14845         * java/util/logging/Level.java
14846         (parse): Use String.equals() instead of ==.
14847
14848 2004-03-11  Michael Koch  <konqueror@gmx.de>
14849
14850         * gnu/java/net/protocol/jar/Connection.java
14851         (getContentLength): New method.
14852
14853 2004-03-11  Michael Koch  <konqueror@gmx.de>
14854
14855         * gnu/java/net/PlainSocketImpl.java:
14856         Reformated to merge better with classpath's version.
14857
14858 2004-03-11  Michael Koch  <konqueror@gmx.de>
14859
14860         * java/util/Locale.java
14861         (getISO3Language): Use String.equals() instead of ==.
14862         (getISO3Country): Likewise.
14863
14864 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
14865
14866         * java/text/AttributedString.java
14867         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
14868         Use HashMap instead of Hashtable since value can be null, and
14869         you can not store a null value in a Hashtable.
14870
14871 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
14872
14873         * java/text/AttributedStringIterator.java
14874         (getAllAttributesKey): Return only keys concerned
14875         by the current iterator.
14876         (getAttributes): Use strict inequality for
14877         end_index.
14878
14879 2004-03-11  Michael Koch  <konqueror@gmx.de>
14880
14881         * java/net/HttpURLConnection.java:
14882         Fixed typo in javadoc.
14883
14884 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
14885
14886         * java/io/BufferedInputStream.java (marktarget): New field for max
14887         mark limit.
14888         (CHUNKSIZE): New constant for incremental mark buffer allocation.
14889         (mark): Use new fields.
14890         (read): Likewise.
14891         (read(byte[],int,int)): Likewise.
14892         (skip): Likewise.
14893         (refill): Likewise.
14894
14895 2004-03-11  Mark Wielaard  <mark@klomp.org>
14896
14897         * java/beans/BeanDescriptor.java (BeanDescriptor):
14898         Set the FeatureDescriptor programmatic name.
14899
14900 2004-03-11  Michael Koch  <konqueror@gmx.de>
14901
14902         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
14903         This file was was just copied form java/io/natFileDescriptorEcos.cc
14904         and never changed to compile correctly.
14905
14906 2004-03-11  Michael Koch  <konqueror@gmx.de>
14907
14908         * gnu/java/nio/PipeImpl.java
14909         (SourceChannelImpl): Made final.
14910         (read): Implemented.
14911         (SinkChannelImpl): Made final.
14912         (write): Implemented.
14913
14914 2004-03-11  Michael Koch  <konqueror@gmx.de>
14915
14916         * gnu/java/net/PlainDatagramSocketImpl.java:
14917         Reformated to match classpath's version more.
14918
14919 2004-03-11  Michael Koch  <konqueror@gmx.de>
14920
14921         * gnu/java/awt/peer/ClasspathFontPeer.java:
14922         Fixed javadoc to be correct xhtml.
14923         * gnu/java/awt/peer/gtk/GtkArgList.java
14924         (add): Use Boolean.valueOf() instead of new Boolean().
14925
14926 2004-03-09  Michael Koch  <konqueror@gmx.de>
14927
14928         * java/lang/Thread.java
14929         (runnable): Moved around.
14930         (daemon): Renamed from daemon_flag.
14931         (contextClassLoader): Renamed from context_class_loader.
14932         (Thread): Reordered constructors.
14933         (activeCount): Use group directly.
14934         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
14935         (holdsLock): Reworked javadoc.
14936         (setDaemon): Reworked.
14937         * java/lang/natThread.cc
14938         (destroy): Removed.
14939
14940 2004-03-08  Anthony Green  <green@redhat.com>
14941
14942         * Makefile.am: Build property resource files into libgcj.
14943         * Makefile.in: Rebuilt.
14944         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
14945         java/util/regex/PatternSyntaxException.java,
14946         gnu/regexp/CharIndexed.java,
14947         gnu/regexp/CharIndexedCharArray.java,
14948         gnu/regexp/CharIndexedInputStream.java,
14949         gnu/regexp/CharIndexedReader.java,
14950         gnu/regexp/CharIndexedString.java,
14951         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
14952         gnu/regexp/REException.java,
14953         gnu/regexp/REFilterInputStream.java,
14954         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
14955         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
14956         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
14957         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
14958         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
14959         gnu/regexp/RETokenLookAhead.java,
14960         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
14961         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
14962         gnu/regexp/RETokenStart.java,
14963         gnu/regexp/RETokenWordBoundary.java,
14964         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
14965
14966 2004-03-03  Per Bothner  <per@bothner.com>
14967
14968         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
14969         Optimize when argument is a FileChannelImpl.
14970         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
14971         New native methods.
14972         * java/nio/channels/natChannels.cc:  New file for new native methods.
14973         * Makefile.am:  Update accordingly.
14974
14975 2004-03-02  Jan Hubicka  <jh@suse.cz>
14976
14977         * configure.host: Pass -fno-omit-frame-pointer for i386.
14978         * configure.in: Likewise.
14979         * configure: Regenerate.
14980
14981 2004-03-01  Per Bothner  <per@bothner.com>
14982
14983         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
14984
14985 2004-02-29  Per Bothner  <per@bothner.com>
14986
14987         * java/nio/channels/FileChannelImpl.java:  Moved to package
14988         gnu/java/nio/channels, since we need to refer to it from java.io.
14989         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
14990         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
14991         from java/nio/channels.  Don't depend on FileDescriptor.
14992         (in, out, err):  New static fields.
14993         (mode):  New field.
14994         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
14995         from FileDescriptor.
14996         (by):  Removed MappedByteBuffer field.
14997         (map):  New working implementation.
14998         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
14999         some code "ported" from natFileDescriptoPosix.cc.
15000         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
15001         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
15002         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
15003         Remove native methods.
15004         * Makefile.am, configure.in:  Updated accordingly.
15005
15006         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
15007         (ch):  New FileChannelImpl field.  Update constructor to match.
15008         (releaseImpl):  Remove native method.  Instead ...
15009         (release):  Call unlock on channel.
15010         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
15011
15012         * java/io/natFileDescriptorEcos.cc:  Remove file.
15013         * java/io/natFileDescriptorPosix.cc:  Remove file.
15014         * java/io/natFileDescriptorWin32.cc:  Remove file.
15015         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
15016         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
15017         (<init>(FileChannelImpl)):  New package-private constructor.
15018         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
15019         (available, close, read, skip):  Implement using FileChannelImpl.
15020         (getFD):  Allocate FileDescriptor if needed.
15021         (getChannel):  Is now trivial.
15022         * java/io/FileOutputStream.java:  Corresponding changes.
15023         * java/io/RandomAccessFile.java:  Corresponding changes.
15024
15025         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
15026         unmapImpl):  New dummy methods, to be overridden by subclass.
15027         (finalize, isLoaded, load, force):  New methods.
15028         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
15029         Now works, at least for read mapping.
15030
15031         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
15032         streams using FileChannelImpl, not FileDescriptor.
15033         * java/lang/natWin32Process.cc (startProcess):  Likewise.
15034
15035 2004-02-28  Michael Koch  <konqueror@gmx.de>
15036
15037         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
15038         wrong code.
15039
15040 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
15041
15042         * java/io/ObjectInputStream.java
15043         (readClassDescriptor): Keep elements of the mapping non null.
15044         (checkTypeConsistency): New method.
15045         (readFields): Fixed main loop and base logic. Small reindentation.
15046         * java/io/ObjectStreamField.java
15047         (lookupField): New method to update the field reference.
15048         (checkFieldType): New method.
15049         * java/io/ObjectStreamClass.java
15050         (setClass, setFields): Call lookupField when building the field
15051         database. Check the real field type.
15052
15053 2004-02-28  Michael Koch  <konqueror@gmx.de>
15054
15055         * java/nio/ByteOrder.java
15056         (nativeOrder): Use equals() to compare strings.
15057
15058 2004-02-26  Michael Koch  <konqueror@gmx.de>
15059
15060         * gnu/java/nio/FileLockImpl.java
15061         (finalize): Made protected.
15062         * java/nio/channels/FileChannel.java
15063         (MapMode.READ_ONLY): Made final.
15064         (MapMode.READ_WRITE): Made final.
15065         (MapMode.PRIVATE): Made final.
15066         * java/nio/channels/SocketChannel.java
15067         (open): Simplified code.
15068         * java/nio/channels/spi/AbstractSelectableChannel.java
15069         (registered): Unused, removed.
15070         (keyFor): Check channel is open, only locate key
15071         and not add a new one.
15072         (register): Don't delete attachments.
15073
15074 2004-02-26  Michael Koch  <konqueror@gmx.de>
15075
15076         * gnu/java/awt/ComponentDataBlitOp.java
15077         (INSTANCE): Made final.
15078         * gnu/java/awt/image/ImageDecoder.java:
15079         Reworked imports.
15080         (cm): Unused, removed.
15081
15082 2004-02-26  Michael Koch  <konqueror@gmx.de>
15083
15084         * gnu/java/nio/DatagramChannelImpl.java
15085         (send): Check if target address is resolved.
15086
15087 2004-02-26  Michael Koch  <konqueror@gmx.de>
15088
15089         * Makefile.am: Generate and install headers for inner classes in
15090         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
15091         * Makefile.in: Regenerated.
15092
15093 2004-02-24  Anthony Green  <green@redhat.com>
15094
15095         * java/lang/StringBuffer.java: No need to NULL out remainder of
15096         buffer since ensureCapacity_unsynchronized will have done this for
15097         us.
15098
15099 2004-02-20  Michael Koch  <konqueror@gmx.de>
15100
15101         * gnu/java/net/protocol/jar/Handler.java
15102         (): Removed unneeded check for file != null. java.net.URL.getFile()
15103         returns an empty string but never null.
15104
15105 2004-02-20  Michael Koch  <konqueror@gmx.de>
15106
15107         * gnu/gcj/convert/Convert.java
15108         (main): Use equals() to compare strings.
15109
15110 2004-02-20  Michael Koch  <konqueror@gmx.de>
15111
15112         * javax/swing/AbstractButton.java: Made several constants final.
15113         (getRolloverSelectedIcon): Made public.
15114         (getSelectedIcon): Made public.
15115
15116 2004-02-16  Per Bothner  <per@bothner.com>
15117
15118         * java/nio/CharBufferImpl.java:  Inline super constructor.
15119         * java/nio/DoubleBufferImpl.java:  Likewise.
15120         * java/nio/FloatBufferImpl.java:  Likewise.
15121         * java/nio/IntBufferImpl.java:  Likewise.
15122         * java/nio/LongBufferImpl.java:  Likewise.
15123         * java/nio/ShortBufferImpl.java:  Likewise.
15124         * java/nio/CharBuffer.java:  Remove unused constructor.
15125         * java/nio/DoubleBuffer.java:  Likewise.
15126         * java/nio/FloatBuffer.java:  Likewise.
15127         * java/nio/IntBuffer.java:  Likewise.
15128         * java/nio/LongBuffer.java:  Likewise.
15129         * java/nio/ShortBuffer.java:  Likewise.
15130         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
15131         Fix buggy call to super constructor.
15132         * java/nio/DoubleViewBufferImpl.java:  Likewise.
15133         * java/nio/FloatViewBufferImpl.java:  Likewise.
15134         * java/nio/IntViewBufferImpl.java:  Likewise.
15135         * java/nio/LongViewBufferImpl.java:  Likewise.
15136         * java/nio/ShortViewBufferImpl.java:  Likewise.
15137
15138         * java/nio/ByteBuffer.java (endian):  Make non-private so other
15139         java.nio classes can inherit it.
15140         (<init>):  Don't bother clearing array_offset.
15141         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
15142         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
15143         Remove redundant test.
15144
15145         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
15146         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
15147         Use new XxxViewBufferImpl constructors.
15148         * java/nio/MappedByteBufferImpl.java:  Likewise.
15149         * java/nio/DirectByteBufferImpl.java:  Likewise.
15150
15151         * java/nio/ByteBufferImpl.java:  Remove one constructor.
15152         Inline super in remaining constructor.
15153         * java/nio/ByteBuffer.java:  Remove unused constructor.
15154
15155         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
15156
15157         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
15158         * java/nio/DirectByteBufferImpl.java (owner):  New field.
15159         (offset):  Remove unused field.
15160         (<init>):  Modify one and add another constructor.  Change callers.
15161         (allocateDirect):  Removed - not used.
15162         (getImpl, putImpl):  Make static and pass address explicitly,
15163         to make them useful for MappedByteBufferImpl.
15164         (get, put):  Check for underflow.  Modify for new getImpl.
15165         (getImpl):  New native method where target is array.
15166         (get(byte[],int,int)):  Use the above.
15167         (adjustAddress):  New static native method.
15168         (slice, duplicate, asReadOnly):  New implementations.
15169         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
15170         adjustAddress):  New or updated native methods.
15171
15172 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
15173
15174         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
15175         overflow of fieldmapping.
15176
15177 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
15178
15179         * javax/swing/undo/UndoManager.java: Re-written from scratch.
15180
15181 2004-02-14  Per Bothner  <per@bothner.com>
15182
15183         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
15184         Set closed before calling implCloseChannel, as in the spec.
15185
15186 2004-02-09  Graydon Hoare  <graydon@redhat.com>
15187
15188         * javax/swing/ToggleButtonModel.java: Remove dead class.
15189         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
15190         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
15191         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
15192         * Makefile.am: Update for new and removed files.
15193         * Makefile.in: Regenerate.
15194
15195         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
15196         * javax/swing/AbstractButton.java
15197         (AbstractButton): Initialize fields correctly in ctor.
15198         * javax/swing/JCheckbox.java
15199         (JCheckBox): Override painting flags.
15200         * javax/swing/DefaultButtonModel.java: Conform to sun.
15201         * javax/swing/JComponent.java (paint): Fill with background color
15202         if available.
15203         (processComponentKeyEvent)
15204         (processFocusEvent)
15205         (processKeyEvent)
15206         (processMouseMotionEvent): Remove event-consuming empty methods.
15207         (getUIClassID): Return "ComponentUI" not "JComponent"
15208         * javax/swing/JFrame.java: Remove some debugging chatter.
15209         (JFrame): Subscribe to window events.
15210         * javax/swing/JRadioButton.java
15211         (JRadioButton): Override painting flags.
15212         * javax/swing/JRootPane.java
15213         (JRootPane): Set background from UIDefaults.
15214         * javax/swing/JToggleButton.java
15215         (ToggleButtonModel): New inner class.
15216         (JToggleButton): Override layout alighment.
15217         * javax/swing/SwingUtilities.java:
15218         (getLocalBounds): Return width and height, not x and y.
15219         (calculateInnerArea): Use local bounds, not bounds.
15220         (layoutCompoundLabel): Provide overridden form.
15221         (layoutCompoundLabel): Correct bugs.
15222         * javax/swing/UIDefaults.java: Correct comment.
15223         * javax/swing/plaf/basic/BasicButtonUI.java:
15224         Move most logic into defaults, external listener.
15225         (paintIcon): Implement icon painting.
15226         (paint): Fix state painting to conform to changes in model.
15227         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
15228         Remove most dead/wrong methods.
15229         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
15230         * javax/swing/plaf/basic/BasicIconFactory.java:
15231         (DummyIcon): New class.
15232         (getMenuItemCheckIcon)
15233         (getMenuItemArrowIcon)
15234         (getMenuArrowIcon)
15235         (getCheckBoxMenuItemIcon)
15236         (getRadioButtonMenuItemIcon)
15237         (createEmptyFrameIcon): Return DummyIcons, not null.
15238         (getCheckBoxIcon): Implement an icon that looks like sun's.
15239         (getRadioButtonIcon): Implement an icon that looks like sun's.
15240         * javax/swing/plaf/basic/BasicLookAndFeel.java
15241         (initComponentDefaults): Fix impossible values, add some missing.
15242         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
15243         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15244         Remove most dead/wrong methods.
15245         (icon): New field.
15246         (getDefaultIcon): New method.
15247         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
15248         Remove most dead/wrong methods.
15249         * javax/swing/plaf/metal/MetalLookAndFeel.java
15250         (getDefaults): Return super.getDefaults(), not BasicDefaults.
15251         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
15252         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
15253         Implement "clearing" as drawing, when on pixmap drawables.
15254
15255         * javax/swing/JButton.java (getUIClassID):
15256         * javax/swing/JCheckBox.java (getUIClassID):
15257         * javax/swing/JEditorPane.java (getUIClassID):
15258         * javax/swing/JLabel.java (getUIClassID):
15259         * javax/swing/JList.java (getUIClassID):
15260         * javax/swing/JOptionPane.java (getUIClassID):
15261         * javax/swing/JPanel.java (getUIClassID):
15262         * javax/swing/JPasswordField.java (uiClassID):
15263         * javax/swing/JRadioButton.java (getUIClassID):
15264         * javax/swing/JRootPane.java (getUIClassID):
15265         * javax/swing/JScrollPane.java (getUIClassID):
15266         * javax/swing/JTabbedPane.java (getUIClassID):
15267         * javax/swing/JToggleButton.java (getUIClassID):
15268         * javax/swing/JTree.java (getUIClassID):
15269         * javax/swing/JViewport.java (getUIClassID):
15270         * javax/swing/text/JTextComponent.java (getUIClassID):
15271         Return "fooUI" not "Jfoo"
15272
15273 2004-02-11  Michael Koch  <konqueror@gmx.de>
15274
15275         * java/net/DatagramSocket.java
15276         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
15277         Boolean object.
15278         (setBroadcast): Likewise.
15279         * java/net/MulticastSocket.java
15280         (setLoopbackMode): Likewise.
15281         * java/net/ServerSocket.java
15282         (setReuseAddress): Likewise.
15283         * java/net/Socket.java
15284         (setTcpNoDelay): Likewise.
15285         (setSoLinger): Likewise.
15286         (setOOBInline): Likewise.
15287         (setKeepAlive): Likewise.
15288         (setReuseAddress): Likewise.
15289         * java/net/URLConnection.java
15290         (setContentHandler): Replace == with equals().
15291         * java/net/URLStreamHandler.java
15292         (hostSEquals): Fix checking host addresses.
15293         (toExternalForm): Dont check protocol for null. We know already its
15294         not null.
15295
15296 2004-02-10  David Jee  <djee@redhat.com>
15297
15298         * java/awt/BorderLayout.java
15299         (calcCompSize): Invisible components get zero dimensions.
15300         * java/awt/Button.java
15301         (setLabel): Set actionCommand.
15302         * java/awt/Component.java
15303         (show): Invalidate component and parent container.
15304         (hide): Likewise.
15305
15306 2004-02-10  David Jee  <djee@redhat.com>
15307
15308         * java/awt/GridBagLayout.java
15309         (GridBagLayout): New private field, internalcomptable.
15310         (lookupInternalConstraints): New method.
15311         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
15312         (GetLayoutInfo): Reimplement.
15313         (calcCellSizes): Ignore rows/columns with size 0.
15314
15315 2004-02-10  Michael Koch  <konqueror@gmx.de>
15316
15317         * gnu/java/awt/EmbeddedWindow.java
15318         (setHandle): Use java.awt.Component.getPeer() instead of
15319         java.awt.Component.peer directly.
15320
15321 2004-02-10  David Jee  <djee@redhat.com>
15322
15323         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
15324         (gtkSetLabel): New native method definition.
15325         (setLabel): Use gtkSetLabel.
15326         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
15327         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
15328
15329 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
15330
15331         * include/powerpc-signal.h: Revert 2004-01-21 change.
15332         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
15333         from syscall for ppc32 versions.
15334
15335 2004-02-08  Per Bothner  <per@bothner.com>
15336
15337         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
15338         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
15339         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
15340         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
15341         Pass ByteOrder parameter to most methods, since the underlying
15342         ByteBuffer's order isn't always what we should use.
15343         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
15344         * java/nio/DirectByteBufferImpl.java:  Likewise.
15345         Use ByteBufferHelper methods.
15346         * java/nio/MappedByteBufferImpl.java:  Likewise.
15347         (compact):  Use shiftDown.
15348         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
15349         (get, put):  Use ByteBufferHelper.
15350         (compact):  Use new shiftDown method.
15351         (duplicate(boolean)):  New helper method.
15352         (duplicate, asReadOnlyBuffer):  Use it.
15353         (order):  Return endian field.
15354         * java/nio/DoubleViewBufferImpl.java:  Likewise.
15355         * java/nio/FloatViewBufferImpl.java:  Likewise.
15356         * java/nio/IntViewBufferImpl.java:  Likewise.
15357         * java/nio/LongViewBufferImpl.java:  Likewise.
15358         * java/nio/ShortViewBufferImpl.java:  Likewise.
15359         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
15360         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
15361         (compact):  Re-implement using shiftDown.
15362
15363 2004-02-08  Andreas Jaeger  <aj@suse.de>
15364
15365         * include/x86_64-signal.h: Fix typo.
15366
15367 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
15368
15369         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
15370         qualifier to _regs.
15371         (HANDLE_DIVIDE_OVERFLOW): Likewise.
15372
15373 2004-02-06  Michael Koch  <konqueror@gmx.de>
15374
15375         * java/io/ObjectInputStream.java
15376         (currentClassLoader): Reverted to old version of this method.
15377
15378 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
15379
15380         * java/io/ObjectInputStream.java: Made all calls
15381         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
15382         use cached info from ObjectStreamClass. (readClassDescriptor):
15383         Cache more information in ObjectStreamClass. (processResolution,
15384         readFields): Use cached info from ObjectStreamClass.
15385         (newObject): Throw exception instead of returning null for failure.
15386         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
15387         setCharField, setDoubleField, setFloatField, setIntField,
15388         setLongField, setShortField, setObjectField, readObjectParams):
15389         Removed. (dumpElement, dumpElementln): Removed dump flag condition
15390         check.
15391         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
15392         (setClass): Added call to cacheMethods() (findMethod): New method.
15393         (cacheMethods): New method. (ObjectStreamClass): Added call to
15394         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
15395         AccessController.doPrivileged to invoke setAccessible.
15396         (readObjectMethod, readResolveMethod, realClassIsSerializable,
15397         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
15398         New fields.
15399         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
15400         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
15401         isPrimitive): Made safe for cases where type == null.
15402         (setBooleanField, setByteField, setCharField, setShortField,
15403         setIntField, setLongField, setFloatField, setDoubleField,
15404         setObjectField): New methods.
15405
15406 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
15407
15408         * java/awt/Component.java (getFont): Return a default font
15409         instead of null.
15410
15411         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
15412         (Scrollbar (int, int, int, int, int)): Make default page
15413         increment 10.
15414         (setValues): Only call peer.setValues if one of the values has
15415         changed.
15416         (generateName): New method.
15417         (getUniqueLong): New method.
15418         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
15419         (range_scrollbar): Remove structure.
15420         (post_adjustment_event): Remove function.
15421         (post_change_event): Accept jobject argument.
15422         (create): Cast jints to gdoubles.  Round scrollbar values to the
15423         nearest integer.  Clamp min, max and value settings.
15424         (connectJObject): Connect hook to widget->window.
15425         (connectSignals): Remove range_scrollbar structure variables.
15426         Remove "move-slider" connection.  Pass global peer reference to
15427         "value-changed" callback.
15428         (setLineIncrement): Cast jint value to gdouble.
15429         (setPageIncrement): Likewise.
15430         (setValues): Likewise.  Clamp min, max and value settings.
15431
15432 2004-02-05  Michael Koch  <konqueror@gmx.de>
15433
15434         * javax/swing/AbstractCellEditor.java
15435         (getCellEditorValue): Removed.
15436         * javax/swing/Box.java: Reformated.
15437         (serialVersionUID): New field.
15438         * javax/swing/ButtonGroup.java:
15439         Removed some weird whitespace.
15440         * javax/swing/CellEditor.java: Reformated.
15441         * javax/swing/CellRendererPane.java
15442         (serialVersionUID): New field.
15443         (AccessibleCellRendererPaneserialVersionUID): New field.
15444         * javax/swing/DefaultListModel.java
15445         (serialVersionUID): New field.
15446         * javax/swing/JEditorPane.java
15447         (serialVersionUID): New field.
15448         (setPage): Throws IOException.
15449         (addHyperlinkListener): Implemented.
15450         (removeHyperlinkListener): Implemented.
15451         (getHyperlinkListener): New method.
15452         * javax/swing/JFileChooser.java
15453         (serialVersionUID): New field.
15454         (AccessibleJFileChooser.serialVersionUID): New field.
15455         (addActionListener): Implemented.
15456         (removeActionListener): Implemented.
15457         (getActionListeners): New method.
15458         * javax/swing/JFormattedTextField.java
15459         (serialVersionUID): New field.
15460         (AbstractFormatter.serialVersionUID): New field.
15461         (clone): Throws CloneNotSupportedException
15462         (setEditValid): Add missing argument.
15463         (stringToValue): Throws ParseExcpetion.
15464         (valueToString): Throws ParseException.
15465         (commitEdit): Throws ParseException.
15466         * javax/swing/JLabel.java
15467         (serialVersionUID): New field.
15468         * javax/swing/JList.java
15469         (serialVersionUID): New field.
15470         (addListSelectionListener): Reformated.
15471         (removeListSelectionListener): Reformated.
15472         (getListSelectionListeners): New method.
15473         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
15474         Reformated.
15475         (serialVersionUID): New field.
15476         * javax/swing/table/AbstractTableModel.java
15477         (getValueAt): Removed.
15478         (getColumnCount): Removed.
15479         (getRowCount): Removed.
15480
15481 2004-02-05  Michael Koch  <konqueror@gmx.de>
15482
15483         * java/awt/datatransfer/DataFlavor.java
15484         (imageFlavor): Javadoc added.
15485         (javaJVMLocalObjectType): Fixed.
15486
15487 2004-02-05  Michael Koch  <konqueror@gmx.de>
15488
15489         * java/lang/Thread.java
15490         (Thread): Reordered.
15491         (setContextClassLoader): Fixed javadoc comment.
15492         (setPriority): Reordered.
15493         (yield): Reordered.
15494         (initialize_native): Reordered.
15495         (gen_name): Reordered.
15496
15497 2004-02-05  Michael Koch  <konqueror@gmx.de>
15498
15499         * java/lang/Thread.java: Reordered fields, reformated much code,
15500         no functional changes, some variables renamed, javadoc comments
15501         merged.
15502
15503 2004-02-05  Michael Koch  <konqueror@gmx.de>
15504
15505         * java/util/zip/Deflater.java,
15506         java/util/zip/DeflaterOutputStream.java,
15507         java/util/zip/GZIPInputStream.java:
15508         Reformated and javadoc comments merged from classpath.
15509
15510 2004-02-05  Michael Koch  <konqueror@gmx.de>
15511
15512         * gnu/java/nio/NIOServerSocket.java
15513         (impl): Unused, removed.
15514         * gnu/java/nio/SocketChannelImpl.java
15515         (finnishConnect): Don't throw NoConnectionPendingException if not
15516         connected or no connection pending.
15517
15518 2004-02-02  Graydon Hoare  <graydon@redhat.com>
15519
15520         * javax/swing/SwingUtilities.java: Many new functions.
15521         * java/awt/Container.java (LightweightDispatcher): Reimplement.
15522         * javax/swing/basic/BasicGraphicsUtils.java
15523         (getPreferredButtonSize): Start layout from top-left corner.
15524
15525 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
15526
15527         * java/awt/geom/AffineTransform.java:
15528         Corrected comments on the field definitions for
15529         m11 and m10.
15530         (shear): Fixed few errors that caused shear
15531         transformation to be performed incorrectly.
15532         (createInverse): Fixed to return correct
15533         inverse of the given matrix.
15534
15535 2004-02-03  Tom Tromey  <tromey@redhat.com>
15536
15537         * java/lang/natPosixProcess.cc (startProcess): Handle case where
15538         PATH or LD_LIBRARY_PATH is not set in parent environment.
15539
15540 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
15541
15542         * gnu/java/awt/peer/gtk/GtkListPeer.java,
15543         java/awt/BorderLayout.java, java/awt/CardLayout.java,
15544         java/awt/CheckboxGroup.java, java/awt/Choice.java,
15545         java/awt/Component.java, java/awt/Container.java,
15546         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
15547         java/awt/LayoutManager2.java, java/awt/List.java,
15548         java/awt/Menu.java, java/awt/MenuBar.java,
15549         java/awt/MenuItem.java, java/awt/Polygon.java,
15550         java/awt/Rectangle.java, java/awt/ScrollPane.java,
15551         java/awt/Scrollbar.java, java/awt/TextArea.java,
15552         java/awt/TextField.java,
15553         java/awt/image/renderable/RenderContext.java,
15554         javax/swing/JApplet.java: Fix handling of alias methods, where a
15555         method has been deprecated in favour of a new one with the same
15556         funtion but a different name.  Put the method implementation in
15557         the deprecated method and have the new method call the
15558         deprecated one.  Make all other code call the new method.
15559
15560 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
15561
15562         * gnu/java/nio/DatagramChannelImpl.java
15563         (inChannelOperation): New field.
15564         (isInChannelOperation): New accessor.
15565         (setInChannelOperation): New modifier.
15566         (receive): Use capacity() - position() of destination
15567         buffer instead of remaining(). Set and reset our "in
15568         channel operation indicator" before and after delegating
15569         the receive to our datagram socket. Removed testing code.
15570         Update destination buffer's current position if it is
15571         backed by a byte array (hasArray() is true).
15572         (send): Set and reset our "in channel operation indicator"
15573         before and after delegating the send to our datagram socket.
15574         Removed testing code. Update source buffer's current position
15575         if it is backed by a byte array (hasArray() is true).
15576         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
15577         Use capacity() - position() of destination buffer instead
15578         of remaining().
15579         * java/net/DatagramSocket.java (receive): Don't throw an
15580         IllegalBlockingModeException if we have a non-blocking
15581         channel which initiated this operation.
15582         (send): Likewise.
15583
15584 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
15585
15586         * configure.in: Add pkgconfig check for glib and gthread.
15587         * configure: Regenerate.
15588
15589 2004-02-01  Michael Koch  <konqueror@gmx.de>
15590
15591         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
15592         arguments.
15593         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
15594         * verify.cc (debug_print): Mark 'fmt' unused.
15595
15596 2004-01-30  Michael Koch  <konqueror@gmx.de>
15597
15598         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
15599         * configure: Regenerated.
15600         * glib-2.0.m4: Removed.
15601         * gtk-2.0.m4: Removed.
15602         * libart.m4: Removed.
15603         * pkg.m4: New file.
15604
15605 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
15606
15607         * gnu/java/net/PlainSocketImpl.java
15608         (inChannelOperation): New field.
15609         (isInChannelOperation): New accessor.
15610         (setInChannelOperation): New modifier.
15611         * gnu/java/nio/ServerSocketChannelImpl.java
15612         (accept): Set and reset our server socket's PlainSocketImpl's
15613         "in channel operation" indicator before and after delegating
15614         the accept to our server socket.
15615         * gnu/java/nio/SocketChannelImpl.java
15616         (connect): Set and reset our socket's PlainSocketImpl's "in channel
15617         operation" indicator before and after delegating the operation to
15618         our socket.
15619         (read): Likewise.
15620         (write): Likewise.
15621         * java/net/ServerSocket.java (implAccept): Don't throw an
15622         IllegalBlockingModeException if we have a non-blocking
15623         channel which initiated this accept operation.
15624         * java/net/Socket.java (connect): Don't throw an
15625         IllegalBlockingModeException if we have a non-blocking
15626         channel which initiated this connect operation.
15627         * java/nio/channels/spi/AbstractSelectableChannel.java
15628         (configureBlocking): Only call implConfigureBlocking() if
15629         the desired blocking mode is different from our current one.
15630
15631 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
15632
15633         * java/io/BufferedReader.java (sbuf): New field.
15634         (readLine): Use String.valueOf instead of new String() as per
15635         Per Bothner's suggestion. Use instance sbuf field instead of a
15636         local StringBuffer instance.
15637         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
15638         caller's buffer to refill().
15639         (read(void)): Pass our internal work buffer to refill if our
15640         input queue is empty.
15641         (refill): Changed return type to int. Use the specified buffer
15642         instead of our work buffer as per Bryce McKinlay's suggestion.
15643         Return the number of characters read or -1 for EOF.
15644
15645 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
15646
15647         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
15648
15649 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
15650
15651         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
15652         * Makefile.in: Re-generated.
15653         * gnu/awt/xlib/XFontPeer.java: New file.
15654         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
15655         (setClip): Commented out debug printout.
15656         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
15657         (getFontPeer): Return XFontPeer.
15658         (getLocalGraphicsEnvironment): New method.
15659         (getClasspathFontPeer): New method.
15660         (createFont): New method.
15661
15662 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
15663
15664         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
15665         return null.
15666
15667 2004-01-29  Kim Ho  <kho@redhat.com>
15668
15669         * gnu/java/awt/peer/gtk/GtkFramePeer.java
15670         (gtkLayoutSetVisible): New method
15671         (setMenuBar): Hide layout before setting MenuBar
15672         and reshow it after.
15673         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15674         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
15675
15676 2004-01-28  Michael Koch  <konqueror@gmx.de>
15677
15678         * gnu/java/lang/ClassHelper.java
15679         (getPackagePortion): Removed.
15680
15681 2004-01-28  Michael Koch  <konqueror@gmx.de>
15682
15683         * javax/swing/JComponent.java
15684         (listenerList): Initalize globally.
15685         (ancestor_list): Removed.
15686         (veto_list): Removed.
15687         (change_list): Removed.
15688         (get_veto_list): Removed.
15689         (get_change_list): Removed.
15690         (get_ancestor_list): Removed.
15691         (removeAncestorListener): Reimplemented.
15692         (removePropertyChangeListener): Likewise.
15693         (removeVetoableChangeListener): Likewise.
15694         (addAncestorListener): Likewise.
15695         (addPropertyChangeListener): Likewise.
15696         (addVetoableChangeListener): Likewise.
15697         (getListeners): New method.
15698         (getAncestorListeners): Likewise.
15699         (getVetoableChangeListeners): Likewise.
15700         (fireVetoableChange): Throws PropertyVetoException.
15701         * javax/swing/JEditorPane.java
15702         (JEditorPane): Throws IOException.
15703
15704 2004-01-28  David Jee  <djee@redhat.com>
15705
15706         * gnu/java/awt/peer/gtk/GtkFramePeer.java
15707         (create): Set the default foreground color to
15708         java.awt.SystemColor.windowText.
15709
15710 2004-01-27  Michael Koch  <konqueror@gmx.de>
15711
15712         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
15713         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
15714         Reindented to merge with classpath.
15715
15716 2004-01-27  David Jee  <djee@redhat.com>
15717
15718         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15719         (addExposeFilter): Handle GtkFramePeer separately.
15720         (removeExposeFilter): Likewise.
15721
15722 2004-01-27  Michael Koch  <konqueror@gmx.de>
15723
15724         * gnu/java/net/protocol/http/Connection.java
15725         (getOutputStream): Fixed typo.
15726
15727 2004-01-27  Michael Koch  <konqueror@gmx.de>
15728
15729         * java/lang/Class.java
15730         (getConstructor): Removed SecurityException from throws clause.
15731         (_getConstructors): Likewise.
15732         (getConstructors): Likewise.
15733         (getDeclaredConstructor): Likewise.
15734         (getDeclaredClasses): Likewise.
15735         (getDeclaredConstructors): Likewise.
15736         (getDeclaredField): Likewise.
15737         (getDeclaredMethod): Likewise.
15738         (getDeclaredMethods): Likewise.
15739         (getField): Likewise.
15740         (getMethod): Likewise.
15741         (getMethods): Likewise.
15742
15743 2004-01-27  Kim Ho  <kho@redhat.com>
15744
15745         * gnu/java/awt/peer/gtk/GtkFramePeer.java
15746         (removeMenuBarPeer): Remove MenuBarPeer argument.
15747         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
15748         (dispose): Call native method.
15749         * java/awt/Frame.java (setMenuBar): Create and remove
15750         MenuBar peers only if the Frame has a peer.
15751         (addNotify): Create the MenuBar peer if one exists.
15752         (removeNotify): Remove MenuBar peer if one exists.
15753         * java/awt/Menu.java: Fix imports.
15754         (addNotify): Don't use full class name.
15755         (removeNotify): Call removeNotify on all children.
15756         * java/awt/MenuBar.java (removeNotify): Call
15757         removeNotify on all children.
15758         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15759         (removeMenuBarPeer): Remove MenuBarPeer argument.
15760         Iterate through children to find the Frame's MenuBar.
15761         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
15762         New file.
15763         (dispose): Remove references to the MenuComponent.
15764
15765 2004-01-27  Michael Koch  <konqueror@gmx.de>
15766
15767         * javax/swing/AbstractCellEditor.java: Reformated.
15768         * javax/swing/DefaultListSelectionModel.java
15769         (listenerList): Made protected.
15770         (addListSelectionListener): Javadoc added.
15771         (removeListSelectionListener): Likewise.
15772         (getListeners): Likewise.
15773         (getListSelectionListeners): Likewise.
15774         * javax/swing/JComboBox.java: Merged copyright year.
15775         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
15776
15777 2004-01-26  Andrew Haley  <aph@redhat.com>
15778
15779         * javax/swing/table/JTableHeader.java: Extend JComponent
15780
15781 2004-01-26  Kim Ho  <kho@redhat.com>
15782
15783         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
15784         Fix spacing.
15785
15786 2004-01-26  Kim Ho  <kho@redhat.com>
15787
15788         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
15789         method.
15790         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
15791         height and let the Layout Managers readjust anything that
15792         needs to move.
15793         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15794         (moveLayout): New method. Shift everything in the Gtk
15795         layout in the Y direction by an offset.
15796
15797 2004-01-26  David Jee  <djee@redhat.com>
15798
15799         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15800         (handleEvent): Implemented. Handles PaintEvents.
15801         (paint): Implemented. Use GTK native methods to queue updates
15802         for this heavyweight peer.
15803         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
15804         (handleEvent): Removed.
15805         * java/awt/Component.java
15806         (paint): Implemented. Explictly paint the heavyweight peer.
15807         (update): Clear the background for heavyweight components.
15808         (paintAll): No need to call peer.paint() anymore.
15809         (processEvent): Don't process PaintEvents here. It's now done in
15810         the peer's handleEvent().
15811         (processPaintEvent): Removed.
15812         * java/awt/Container.java
15813         (paint): No need to call super.paint(). Visit heavyweight
15814         children as well.
15815         (update): Don't clear the background here.  It's done in
15816         Component.update().
15817         (visitChildren): Added check to not recurse into Containers.
15818         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15819         (filter_expose_event_handler): New method.  Filter unwanted
15820         expose events while painting heavyweight peers.
15821         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
15822         New method. Connect filter and block pre_event_handler.
15823         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
15824         New method. Disconnect filter and unblock pre_event_handler.
15825         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
15826         New method. Invalidate and update given area.
15827         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15828         (pre_event_handler): Add checks for unwanted expose events.
15829
15830 2004-01-26  David Jee  <djee@redhat.com>
15831
15832         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15833         (find_bg_color_widget): For GtkButton, return its child.
15834
15835 2004-01-26  Kim Ho  <kho@redhat.com>
15836
15837         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
15838         private.
15839         (setMenuBar): Grab MenuBar height and change insets.
15840         (setBounds): Account for MenuBar height.
15841         (postInsetsChangedEvent): Ditto.
15842         (postSizeAllocateEvent): Remove.
15843         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15844         (menubar_resize_cb): Remove
15845         (setMenuBarPeer): Remove callback.
15846         (getMenuBarHeight): Use size requisition instead of
15847         allocation.
15848
15849 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
15850
15851         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
15852         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
15853         when peer is null.
15854         (setColumns): Remove FIXME -- peer will retrieve number of
15855         columns by calling getColumns.
15856         (setRows): Likewise for number of rows.
15857         (next_text_number): New field.
15858         (paramString): Fix param string.
15859         (generateName): New method.
15860         (getUniqueLong): New method.
15861
15862 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
15863
15864         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
15865         image observer of image loading status.
15866         (getImage (String)): Start image production.
15867         (getImage (URL)): Likewise.
15868
15869 2004-01-25  Michael Koch  <konqueror@gmx.de>
15870
15871         * java/lang/Class.java: Imports reworked, reformated.
15872         (Class): Javadoc added.
15873         (forName): Likewise.
15874         (getClasses): Likewise.
15875         (getClassLoader): Likewise.
15876         (getComponentType): Likewise.
15877         (getConstructor): Likewise.
15878         (getConstructors): Likewise.
15879         (getDeclaredConstructor): Likewise.
15880         (getDeclaredClasses): Likewise.
15881         (getDeclaredConstructors): Likewise.
15882         (getDeclaredField): Likewise.
15883         (getDeclaredMethod): Likewise.
15884         (getDeclaredMethods): Likewise.
15885         (getDeclaringClass): Likewise.
15886         (getField): Likewise.
15887         (getInterfaces): Likewise.
15888         (getMethod): Likewise.
15889         (getMethods): Likewise.
15890         (getModifiers): Likewise.
15891         (getName): Likewise.
15892         (getResource): Likewise.
15893         (getResourceAsStream): Likewise.
15894         (getSigners): Likewise.
15895         (setSigners): Likewise.
15896         (getSuperclass): Likewise.
15897         (isArray): Likewise.
15898         (isAssignableFrom): Likewise.
15899         (isInstance): Likewise.
15900         (isInterface): Likewise.
15901         (isPrimitive): Likewise.
15902         (newInstance): Likewise.
15903         (getProtectionDomain): Likewise.
15904         (toString): Likewise.
15905         (Class): Moved.
15906         (initializeClass): Likewise.
15907         (finalize): Likewise.
15908
15909 2004-01-24  Michael Koch  <konqueror@gmx.de>
15910
15911         * gnu/java/net/protocol/jar/Connection.java
15912         (hdrHash): Removed.
15913         (hdrVec): Removed.
15914         (gotHeaders): Removed.
15915         (getHeaderField): Removed.
15916         (getHeaderFields): Removed.
15917         (getHeaderFieldKey): Removed.
15918         (getKey): Removed.
15919         (getField): Removed.
15920         (getHeaders): Removed.
15921
15922 2004-01-24  Michael Koch  <konqueror@gmx.de>
15923
15924         * Makefile.am: Added library version to gtk peer lib.
15925         * Makefile.in: Regenerated.
15926
15927 2004-01-24  Michael Koch  <konqueror@gmx.de>
15928
15929         * java/util/zip/InflaterInputStream.java: Merged class documentation
15930         with classpath.
15931
15932 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
15933
15934         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
15935         header.  For __powerpc64__ provide the default-signal.h definitions
15936         for now.
15937         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
15938         instead of the dummy definitions.
15939         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
15940         (powerpc64*-*): Remove with_libffi_default.
15941         Only add -mminimal-toc for 64-bit compilations.
15942         * configure.in: Use powerpc-signal.h on powerpc64 as well.
15943         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
15944         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
15945         * configure: Rebuilt.
15946
15947 2004-01-23  Michael Koch  <konqueror@gmx.de>
15948
15949         * gnu/java/nio/FileLockImpl.java: Compile fixes.
15950
15951 2004-01-23  Michael Koch  <konqueror@gmx.de>
15952
15953         * java/lang/VMClassLoader.java: Reworked imports.
15954
15955 2004-01-23  Michael Koch  <konqueror@gmx.de>
15956
15957         * javax/swing/AbstractAction.java: Reformated.
15958
15959 2004-01-23  Michael Koch  <konqueror@gmx.de>
15960
15961         * java/text/CollationElementIterator.java:
15962         (setText): New method.
15963
15964 2004-01-23  Michael Koch  <konqueror@gmx.de>
15965
15966         * gnu/java/nio/FileLockImpl.java:
15967         Fixed filename in copyright.
15968         (released): Removed.
15969         (finalize): New method.
15970         * gnu/java/nio/natFileLockImpl.cc
15971         (releaseImpl): Implemented.
15972         * java/nio/channels/FileChannelImpl.java:
15973         Reworked imports.
15974         (lock): Implemented.
15975         (lockImpl): New method.
15976         (tryLock): Implemented.
15977         (tryLockImpl): New method.
15978         * java/nio/channels/natFileChannelImpl.cc
15979         (lockImpl): New method.
15980         (tryLockImpl): New method.
15981
15982 2004-01-23  Michael Koch  <konqueror@gmx.de>
15983
15984         * java/io/FileDescriptor.java
15985         (lock): New method.
15986         (tryLock): New method.
15987         (unlock): New method.
15988         * java/io/natFileDescriptorEcos.cc
15989         (lock): New method.
15990         (tryLock): New method.
15991         (unlock): New method.
15992         * java/io/natFileDescriptorPosix.cc
15993         (lock): New method.
15994         (tryLock): New method.
15995         (unlock): New method.
15996         * java/io/natFileDescriptorWin32.cc
15997         (lock): New method.
15998         (tryLock): New method.
15999         (unlock): New method.
16000
16001 2004-01-23  Michael Koch  <konqueror@gmx.de>
16002
16003         * java/io/FileDescriptor.java
16004         (sync): Moved around, added javadoc.
16005         (valid): Likewise.
16006         (open): Likewise.
16007         (write): Likewise.
16008         (close): Likewise.
16009         (setLength): Likewise.
16010         (seek): Likewise.
16011         (getLength): Likewise.
16012         (getFilePointer): Likewise.
16013         (read): Likewise.
16014         (available): Likewise.
16015         (finalize): Likewise.
16016
16017 2004-01-23  Michael Koch  <konqueror@gmx.de>
16018
16019         * javax/swing/AbstractAction.java: Reformated.
16020         (getPropertyChangeListeners): New method.
16021         * javax/swing/AbstractCellEditor.java: Reformated.
16022         (getCellEditorListeners): New method.
16023         * javax/swing/DefaultListSelectionModel.java
16024         (listenerList): New field.
16025         (listeners): Removed.
16026         (get_listeners): Removed.
16027         (addListSelectionListener): Rewritten.
16028         (removeListSelectionListener): Rewritten.
16029         (getListSelectionListeners): New method.
16030         (getListeners): New method.
16031         * javax/swing/JComboBox.java: Imports reworked.
16032         (addActionListener): Implemented.
16033         (removeActionListener): Implemented.
16034         (addItemListener): Implemented.
16035         (removeItemListener): Implemented.
16036         (addPopupMenuListener): Implemented.
16037         (removePopupMenuListener): Implemented.
16038         (getActionListeners): New method.
16039         (getItemListeners): New method.
16040         (getPopupMenuListeners): New method.
16041
16042 2004-01-23  Michael Koch  <konqueror@gmx.de>
16043
16044         * gnu/java/net/protocol/http/Connection.java
16045         (connect): Don't initialize bufferedOutputStream if not needed.
16046         (sendRequest): Set property for content length if content is present.
16047         Write content only if present.
16048         (getOutputStream): Check if already connected, dont connect,
16049         initalize bufferedOutputStream if needed.
16050
16051 2004-01-23  Michael Koch  <konqueror@gmx.de>
16052
16053         * java/io/FileDescriptor.java
16054         (in, out, err): Added javadoc.
16055         (static): Merged loading code.
16056         (fd, position): Moved around.
16057
16058 2004-01-23  Michael Koch  <konqueror@gmx.de>
16059
16060         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
16061         New file.
16062
16063 2004-01-23  Michael Koch  <konqueror@gmx.de>
16064
16065         * java/lang/Class.java,
16066         java/lang/Object.java,
16067         java/lang/Thread.java: Merged copyright with classpath.
16068
16069 2004-01-23  Michael Koch  <konqueror@gmx.de>
16070
16071         * java/io/FileDescriptor.java: Merged copyright with classpath to
16072         start merging this class.
16073
16074 2004-01-22  Tom Tromey  <tromey@redhat.com>
16075
16076         PR libgcj/13107:
16077         * testsuite/libjava.lang/pr13107_2.xfail: New file.
16078         * testsuite/libjava.lang/pr13107_3.xfail: New file.
16079         * testsuite/libjava.lang/pr13107_3.java: New file.
16080         * testsuite/libjava.lang/pr13107_3.out: New file.
16081         * testsuite/libjava.lang/pr13107_2.java: New file.
16082         * testsuite/libjava.lang/pr13107_2.out: New file.
16083         * testsuite/libjava.lang/pr13107.java: New file.
16084         * testsuite/libjava.lang/pr13107.out: New file.
16085         * verify.cc (jsr_ptrs): Removed.
16086         (entry_points): Likewise.
16087         (struct subr_info): Likewise.
16088         (struct subr_entry_info): Likewise.
16089         (type_val::unused_by_subroutine_type): Likewise.
16090         (type::merge): Don't handle unused_by_subroutine_type.
16091         (type::print): Likewise.
16092         (state::flags): Removed.
16093         (state::subroutine): Likewise.
16094         (state::seen_subrs): Likewise.
16095         (state::NO_STACK): Likewise.
16096         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
16097         (state): Updated all methods.
16098         (state::clean_subrs): Removed.
16099         (state::state): Removed `ret_semantics' flag.
16100         (state::copy): Likewise.
16101         (state::add_subr): Removed.
16102         (state::enter_subroutine): Likewise.
16103         (type::set_return_address): New method.
16104         (handle_jsr_insn): Set return address on the type.  Always
16105         invalidate PC after call.
16106         (check_nonrecursive_call): Removed.
16107         (~_Jv_BytecodeVerifier): Updated.
16108         (branch_prepass): Removed special handling of jsr.
16109         (note_branch_target): Likewise.
16110         (get_subroutine): Removed.
16111         (state::merge): Don't merge subroutines and don't handle
16112         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
16113         (state::note_variable): Removed.
16114         (state::is_unmerged_ret_state): Likewise.
16115         (state::print): Updated.
16116         (set_variable): Likewise.
16117         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
16118         and jsr_semantics arguments.  Updated for new reverification
16119         list.
16120         (pop_jump): Rewrote.
16121         (construct_primitive_array_type): Updated.
16122         (state::next): Removed.
16123         (INVALID_STATE): New define.
16124         (state::INVALID): Removed.
16125         (state::NO_NEXT): New value.
16126         (state::pc, state::next): New fields.
16127         (state::get_pc): New method.
16128         (next_verify_pc): Removed.
16129         (next_verify_state): New field.
16130         (verify_instructions_0): Always check for falling off end.
16131         (linked): New type.
16132         (linked_utf8): Removed.
16133         (states): Changed type.
16134         (type::state_mergeable_p): New method.
16135         (state::state_mergeable_p): Likewise.
16136         (handle_ret_insn): Removed most code.
16137         (state::reverify): New method.
16138         (add_new_state): Likewise.
16139         (state::set_pc): Likewise.
16140
16141 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
16142
16143         PR java/13733
16144         * testsuite/libjava.compile/PR13733.java: New file.
16145         * testsuite/libjava.compile/PR13733.xfail: New file.
16146
16147 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
16148             Michael Koch  <konqueror@gmx.de>
16149
16150         * javax/swing/table/DefaultTableCellRenderer.java
16151         (DefaultTableCellRenderer): Added javadoc for the class and for
16152         the constructor, Border instance, create an EmptyBorder.
16153         (UIResource): Removed the comment at the end of the class
16154         (setForeground): New method.
16155         (setBackground): New method.
16156         (updateUI): New method.
16157         (getTableCellRendererComponent): Rewritten with the help of
16158         dvholten and Stephane Meslin-Weber.
16159         (validate): New method.
16160         (repaint): New method.
16161         (firePropertyChange): New method.
16162         (setValue): New method.
16163
16164 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
16165
16166         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16167         (connectJObject): Replace printf calls with g_assert statements.
16168         Move property-notify-event signal connection to ...
16169         (connectSignals): Connect property-notify-event signal.  Iterate
16170         through the vbox's children to find layout.
16171
16172 2004-01-22  Graydon Hoare  <graydon@redhat.com>
16173
16174         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
16175         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
16176         Predicate static initialization on GtkToolkit.useGraphics2D().
16177         * java/awt/Component.java (processPaintEvent): Consume event.
16178         * javax/swing/AbstractButton.java: Reimplement, document.
16179         * javax/swing/DefaultButtonModel.java: Reimplement, document.
16180         * javax/swing/JComponent.java (paint): Use double buffer.
16181         (listenerList): Enable member.
16182         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
16183         * javax/swing/JToggleButton.java
16184         (JToggleButton): Modify model constructor.
16185         * javax/swing/SwingUtilities.java
16186         (layoutCompoundLabel): Adjust arithmetic.
16187         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
16188         * javax/swing/plaf/basic/BasicGraphicsUtils.java
16189         (getPreferredButtonSize): Include margins in calculation.
16190         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16191         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
16192         Receive up events from subordinate layout component.
16193
16194 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
16195
16196         * java/awt/Component.java (show): Set visible to true before
16197         showing the peer.
16198
16199 2004-01-21  Kim Ho  <kho@redhat.com>
16200
16201         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
16202         Fix comments.
16203         (removeMenuBarPeer): Make package private.
16204         (setMenuBarPeer): Make package private.
16205         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16206         (menubar_resize_cb): Mark attributes unused.
16207         (getMenuBarHeight): ditto.
16208
16209 2004-01-21  David Jee  <djee@redhat.com>
16210
16211         * java/awt/Container.java
16212         (LightweightDispatcher.handleEvent): Add an extra check to avoid
16213         dispatching MOUSE_ENTERED event twice. Translate the point for
16214         the mouse event target before dispatching the event.
16215
16216 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
16217
16218         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
16219         lib_org_w3c_dom_la_LDFLAGS): New.
16220         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
16221         * Makefile.in: Rebuilt.
16222
16223 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
16224
16225         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
16226         Calculate proper offsets for heavyweight components packed in
16227         lightweight containers.
16228
16229         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
16230         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
16231         (native create): Add width parameter.
16232         (create): Calculate text entry width based on current font's
16233         metrics and number of columns.  Set TextField's font if not
16234         already set.  Call native create.
16235         (gtkEntryGetBorderWidth): New native method.
16236         (gtkEntryGetSize): Remove method.
16237         (getMinimumSize): Call minimumSize.
16238         (getPreferredSize): Call preferredSize.
16239         (minimumSize): Calculate minimum size based on backing
16240         GtkEntry's borders, font metrics and number of columns.
16241         (preferredSize): Likewise for preferred size.
16242         (get_border_width): New static function.
16243
16244         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
16245         Override GtkWindowPeer's setResizable method to account for menu
16246         bar height when setting the frame's size.
16247
16248 2004-01-19  Matthias Klose  <doko@debian.org>
16249
16250         * libtool-version: Increased `current' to 6.
16251
16252 2004-01-19  Kim Ho  <kho@redhat.com>
16253
16254         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16255         (connectJObject): Iterate through the vbox's children to find layout.
16256
16257 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
16258
16259         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
16260         isDispatchThread method to replace wrong test condition.
16261
16262 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
16263
16264         * java/awt/EventQueue.java (pop): Prevent racing condition to add
16265         events to the queue out of order by acquiring locks in the proper
16266         order and not by releasing one before acquiring the other.
16267
16268 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
16269
16270         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
16271         visible so that dialog can be reused.
16272
16273 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
16274
16275         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
16276         events may be handled by any queue in the stack.
16277
16278 2004-01-19  Kim Ho  <kho@redhat.com>
16279
16280         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
16281         MenuBarPeer parameter.
16282         (removeMenuBarPeer): New native method.
16283         (setMenuBar): Call remove if menu bar is null. Adjust insets
16284         appropriately.
16285         (postSizeAllocateEvent): New method. Called when menu bar size is
16286         allocated. Adjust insets and redo layout.
16287         (GtkFramePeer): Set menu bar during frame creation.
16288         (postConfigureEvent): Adjust position and size to accomodate
16289         menu bar.
16290         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
16291         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
16292         (addNotify): Create the peer if it doesn't exist and call addNotify
16293         for the menu's items.
16294         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
16295         * java/awt/MenuItem.java (addNotify): Create the peer if it
16296         doesn't exist.
16297         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16298         (removeMenuBarPeer): New method. Remove menu bar on the current
16299         frame.
16300         (setMenuBarPeer): Add the menu bar to the current frame and the
16301         callback for size-allocate events on the menu bar.
16302         (getMenuBarHeight): Add menu bar parameter.
16303         (menubar_resize_cb): New callback method for postSizeAllocate events.
16304
16305         Also: Fix indentation on last ChangeLog entry.
16306
16307 2004-01-16  Kim Ho  <kho@redhat.com>
16308
16309         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
16310         (gtkWidgetGetDimensions): Remove.
16311         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16312         (gtkWidgetGetDimensions): Remove.
16313
16314 2004-01-16  Tom Tromey  <tromey@redhat.com>
16315
16316         * java/awt/Container.java: Typo and indentation fixes.
16317
16318         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
16319         * java/lang/natVMClassLoader.cc: ...here.  New file.
16320         * Makefile.in: Rebuilt.
16321         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
16322
16323 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
16324
16325         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
16326         Discard GDK_ENTER_NOTIFY related to ungrabs.
16327
16328 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
16329
16330         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
16331         is called for an intermediate queue.
16332
16333 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
16334
16335         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16336         (window_property_changed_cb): Set id_set.
16337
16338 2004-01-16  Kim Ho  <kho@redhat.com>
16339
16340         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
16341         it is a FileDialog and has dimensions of 0 by 0, then the initial
16342         size is set to size request plus insets.
16343         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
16344         (gtkWidgetGetDimensions): Override method.
16345         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16346         (gtkWidgetGetDimensions): Override method. Returns size request plus
16347         insets.
16348
16349 2004-01-16  Andrew Haley  <aph@redhat.com>
16350
16351         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
16352         * sysdep/i386/locks.h: Likewise.
16353
16354 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
16355
16356         * java/awt/EventDispatchThread.java (run): Stop running when
16357         interrupted.
16358         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
16359         Reset the queue after transferring its contents.
16360         (push): Start a new dispatch thread if none is running.
16361
16362 2004-01-16  Olga Rodimina <rodimina@redhat.com>
16363
16364         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
16365         (doPolygon): set fill rule of polygon to
16366         WIND_EVEN_ODD by default.
16367
16368 2004-01-15  Olga Rodimina <rodimina@redhat.com>
16369
16370         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
16371         Implemented rendering hints related methods.
16372         (getDefaultHints): New helper method. Returns
16373         default rendering hints.
16374         (walkPath): changed to normalize path if
16375         the KEY_STROKE_CONTROL key is in "normalize" mode.
16376         (draw3DRect): changed coordinates of rectangle by +0.5
16377         if in "normalize" mode.
16378
16379 2004-01-15  Tom Tromey  <tromey@redhat.com>
16380
16381         * Makefile.in: Rebuilt.
16382         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
16383         (%.lo: %.java) Filter out StackTrace.lo.
16384
16385 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
16386
16387         * configure.in: Add in AC_PREREQ(2.13)
16388         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete
16389         FIXME comment.
16390
16391 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
16392             Tom Tromey  <tromey@redhat.com>
16393
16394         PR libgcj/12001:
16395         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
16396         array to superclass.
16397         (init): Changed interface; add URLs here.
16398         (initialize): New static method.
16399         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
16400         (_Jv_RunMain): ... not here.
16401
16402 2004-01-14  Michael Koch  <konqueror@gmx.de>
16403
16404         * java/text/MessageFormat.java:
16405         Added descriptions to exceptions.
16406         This fixes PR libgcj/2429.
16407
16408 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
16409
16410         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
16411         (push): Make sure push is performed at the top of the thread stack.
16412
16413 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
16414
16415         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
16416         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
16417         (native create): Add width and height parameters.  Set text
16418         view's size request according to new parameters.
16419         (create): Calculate text view size based on current font's
16420         metrics and number of rows and columns.  Set TextArea's font if
16421         not already set.  Call native create.
16422         (getMinimumSize): Call minimumSize.
16423         (getPreferredSize): Call preferredSize.
16424         (getHScrollbarHeight): New method.
16425         (getVScrollbarWidth): New method.
16426         (minimumSize): Calculate minimum size based on scrollbar
16427         visibility, scrollbar sizes, font metrics and number of rows and
16428         columns.
16429         (preferredSize): Likewise for preferred size.
16430         (gtkTextGetSize): Remove method.
16431
16432 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
16433
16434         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
16435         (initializeInsets): Remove method.
16436         (GtkComponentPeer): Initialize insets field.  Remove call to
16437         initializeInsets.
16438         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
16439         Remove method.
16440         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
16441         Remove method.
16442         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
16443         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
16444         (latestInsets): Remove field.
16445         (native create): Add insets parameter.  Call
16446         window_get_frame_extents.  Set the window's default size and
16447         size request based on its frame extents.
16448         (create): Initialize insets.
16449         (postInsetsChangedEvent): New method.
16450         (postConfigureEvent): Remove parameters top, left, bottom,
16451         right.  Remove insets-related logic.
16452         (connectJObject): Handle property-notify-event.
16453         (window_get_frame_extents, request_frame_extents,
16454         property_notify_predicate, window_property_changed_cb): New
16455         static functions.
16456         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
16457         (pre_event_handler): Remove insets-related logic for configure
16458         events.
16459         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
16460         Update postConfigureEvent signature.
16461
16462 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
16463
16464         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
16465         to handle Window "Closing" events.
16466
16467 2004-01-13  David Jee  <djee@redhat.com>
16468
16469         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
16470         (setBackground): New method. Children with no explicitly-set
16471         background will be repainted with the parent container's new
16472         background color.
16473
16474 2004-01-13  David Jee  <djee@redhat.com>
16475
16476         * Makefile.am: Add BitwiseXORComposite.java.
16477         * Makefile.in: Regenerated.
16478         * gcj/Makefile.in: Regenerated.
16479         * include/Makefile.in: Regenerated.
16480         * testsuite/Makefile.in: Regenerated.
16481
16482 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
16483
16484         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
16485         not show modal dialogs twice and so that it allows showing a modal
16486         dialog from another modal dialog.
16487
16488 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
16489
16490         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
16491         and run secondary dispatch thread to process event queue while this
16492         thread is blocked.
16493
16494 2004-01-12  Graydon Hoare  <graydon@redhat.com>
16495
16496         * gnu/java/awt/gtk/GdkGraphics2D.java
16497         (static): Check GtkToolkit before initializing static state.
16498         (Graphics2D): Don't construct transform with 0.5 unit offset.
16499
16500 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
16501
16502         * gnu/java/awt/BitwiseXORComposite.java: Add.
16503         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
16504         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
16505         (BitwiseXORComposite): Remove inner class.
16506
16507 2004-01-11  Michael Koch  <konqueror@gmx.de>
16508
16509         * gnu/java/lang/reflect/TypeSignature.java
16510         (getEncodingOfClass): Documentation fixed.
16511         (getClassForEncoding): Give class loader to Class.forName().
16512         Documentation fixed.
16513
16514 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
16515
16516         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
16517
16518 2004-01-11  Michael Koch  <konqueror@gmx.de>
16519
16520         * javax/swing/undo/StateEditable.java
16521         (RCSID): Removed redundant modifiers.
16522
16523 2004-01-10  Michael Koch  <konqueror@gmx.de>
16524
16525         * javax/print/attribute/EnumSyntax.java
16526         (getStringTable): Made protected.
16527         (getEnumValueTable): Likewise.
16528         * javax/print/attribute/standard/JobKOctetsProcessed.java
16529         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
16530         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
16531         (JobMediaSheetsCompleted): Made class final.
16532         * javax/print/attribute/standard/OutputDeviceAssigned.java
16533         (getName): Fixed typo.
16534         * javax/print/attribute/standard/RequestingUserName.java
16535         (serialVersionUID): Fixed value.
16536
16537 2004-01-10  Michael Koch  <konqueror@gmx.de>
16538
16539         * javax/swing/plaf/basic/BasicButtonUI.java,
16540         javax/swing/plaf/basic/BasicCheckBoxUI.java,
16541         javax/swing/plaf/basic/BasicListUI.java,
16542         javax/swing/plaf/basic/BasicOptionPaneUI.java,
16543         javax/swing/plaf/basic/BasicPanelUI.java,
16544         javax/swing/plaf/basic/BasicRadioButtonUI.java,
16545         javax/swing/plaf/basic/BasicScrollPaneUI.java,
16546         javax/swing/plaf/basic/BasicToggleButtonUI.java,
16547         javax/swing/plaf/basic/BasicViewportUI.java:
16548         Fixed import statements.
16549
16550 2004-01-10  Michael Koch  <konqueror@gmx.de>
16551
16552         * gnu/java/awt/image/ImageDecoder.java
16553         (produce): Made public.
16554         * gnu/java/awt/peer/GLightweightPeer.java,
16555         gnu/java/awt/peer/gtk/GtkToolkit.java:
16556         Reformated.
16557
16558 2004-01-10  Michael Koch  <konqueror@gmx.de>
16559
16560         * javax/swing/JRadioButtonMenuItem.java,
16561         javax/swing/JSeparator.java,
16562         javax/swing/JSplitPane.java,
16563         javax/swing/JTextPane.java,
16564         javax/swing/JToolBar.java,
16565         javax/swing/ListCellRenderer.java,
16566         javax/swing/ListModel.java,
16567         javax/swing/MenuElement.java,
16568         javax/swing/OverlayLayout.java,
16569         javax/swing/ProgressMonitor.java,
16570         javax/swing/ProgressMonitorInputStream.java,
16571         javax/swing/Renderer.java,
16572         javax/swing/RootPaneContainer.java,
16573         javax/swing/Scrollable.java,
16574         javax/swing/SingleSelectionModel.java,
16575         javax/swing/ToolTipManager.java,
16576         javax/swing/ViewportLayout.java,
16577         javax/swing/event/DocumentEvent.java,
16578         javax/swing/event/SwingPropertyChangeSupport.java,
16579         javax/swing/event/TreeSelectionEvent.java,
16580         javax/swing/event/UndoableEditEvent.java,
16581         javax/swing/text/AbstractDocument.java,
16582         javax/swing/text/AttributeSet.java,
16583         javax/swing/text/Caret.java,
16584         javax/swing/text/ComponentView.java,
16585         javax/swing/text/DefaultCaret.java,
16586         javax/swing/text/DefaultEditorKit.java,
16587         javax/swing/text/Document.java,
16588         javax/swing/text/EditorKit.java,
16589         javax/swing/text/GapContent.java,
16590         javax/swing/text/Keymap.java,
16591         javax/swing/text/MutableAttributeSet.java,
16592         javax/swing/text/PlainEditorKit.java,
16593         javax/swing/text/Segment.java,
16594         javax/swing/text/Style.java,
16595         javax/swing/text/StyledDocument.java,
16596         javax/swing/text/StyledEditorKit.java,
16597         javax/swing/text/TextAction.java,
16598         javax/swing/text/View.java: Fixed import statements.
16599
16600 2004-01-08  Graydon Hoare  <graydon@redhat.com>
16601
16602         * javax/swing/JLayeredPane.java: Rewrite to accomodate
16603         djee@redhat.com's recent inverse ordering of Container elements.
16604
16605 2004-01-09  Michael Koch  <konqueror@gmx.de>
16606
16607         * gnu/java/lang/ArrayHelper.java
16608         (equalsArray): Removed.
16609
16610 2004-01-09  Andrew Haley  <aph@redhat.com>
16611
16612         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
16613         a Utf8Const field before looking at its class.
16614
16615 2004-01-09  Michael Koch  <konqueror@gmx.de>
16616
16617         * javax/print/attribute/standard/DocumentName.java,
16618         javax/print/attribute/standard/JobHoldUntil.java,
16619         javax/print/attribute/standard/JobMessageFromOperator.java,
16620         javax/print/attribute/standard/JobName.java,
16621         javax/print/attribute/standard/JobOriginatingUserName.java,
16622         javax/print/attribute/standard/OutputDeviceAssigned.java,
16623         javax/print/attribute/standard/PrinterInfo.java,
16624         javax/print/attribute/standard/PrinterLocation.java,
16625         javax/print/attribute/standard/PrinterMakeAndModel.java,
16626         javax/print/attribute/standard/PrinterMessageFromOperator.java,
16627         javax/print/attribute/standard/PrinterName.java,
16628         javax/print/attribute/standard/RequestingUserName.java: New files.
16629         * Makefile.am (javax_source_files): Added new files.
16630         * Makefile.in: Regenerated.
16631
16632 2004-01-09  Michael Koch  <konqueror@gmx.de>
16633
16634         * javax/swing/AbstractAction.java,
16635         javax/swing/AbstractSet.java,
16636         javax/swing/Action.java,
16637         javax/swing/ActionMap.java,
16638         javax/swing/BoundedRangeModel.java,
16639         javax/swing/ButtonModel.java,
16640         javax/swing/CellEditor.java,
16641         javax/swing/CellRendererPane.java,
16642         javax/swing/ComboBoxEditor.java,
16643         javax/swing/DebugGraphics.java,
16644         javax/swing/DefaultCellEditor.java,
16645         javax/swing/DefaultCellRenderer.java,
16646         javax/swing/DefaultComboBoxModel.java,
16647         javax/swing/DefaultDesktopManager.java,
16648         javax/swing/DefaultFocusManager.java,
16649         javax/swing/DefaultListCellRenderer.java,
16650         javax/swing/Icon.java,
16651         javax/swing/JButton.java,
16652         javax/swing/JCheckBoxMenuItem.java,
16653         javax/swing/JDesktopPane.java,
16654         javax/swing/JEditorPane.java,
16655         javax/swing/JMenu.java,
16656         javax/swing/JPanel.java,
16657         javax/swing/JPasswordField.java,
16658         javax/swing/JPopupMenu.java,
16659         javax/swing/JProgressBar.java: Reworked imports.
16660
16661 2004-01-09  Michael Koch  <konqueror@gmx.de>
16662
16663         * java/awt/geom/PathIterator.java
16664         (WIND_EVEN_ODD): Removed redundant modifiers.
16665         (WIND_NON_ZERO): Likewise.
16666         (SEG_MOVETO): Likewise.
16667         (SEG_LINETO): Likewise.
16668         (SEG_QUADTO): Likewise.
16669         (SEG_CUBICTO): Likewise.
16670         (SEG_CLOSE): Likewise.
16671         * java/awt/image/SinglePixelPackedSampleModel.java:
16672         Removed redundant semicolon.
16673         * java/io/ObjectInputStream.java
16674         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
16675         * java/util/logging/Filter.java
16676         (isLoggable): Removed redundant modifier.
16677         * java/util/logging/LogManager.java:
16678         Removed redundant semicolon.
16679         * java/util/logging/XMLFormatter.java
16680         (format): Removed unused variable "key".
16681
16682 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
16683
16684         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
16685         New name for the former setFile native method.
16686         (setFile): New method.
16687         (setDirectory): Implemented.
16688         (connectSignals): New native method.
16689         (setFilenameFilter): Improve comment.
16690         (getGraphics): Comment.
16691         (gtkHideFileDialog): New method.
16692         (gtkDisposeFileDialog): New method.
16693         (gtkSetFilename): New method.
16694         * java/awt/Dialog.java (show): Block on modal dialogs, but only
16695         for FileDialog for now.
16696         (hide): New method.
16697         (dispose): New method.
16698         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
16699         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
16700         deprecated creation functions.  Make dialog modal.  Add it to the
16701         window group.
16702         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
16703         function.
16704         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
16705         Rename to...
16706         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
16707         name.
16708         (window_closed): New function.
16709         (ok_clicked): New function.
16710         (cancel_clicked): New function.
16711
16712 2004-01-08  Michael Koch  <konqueror@gmx.de>
16713
16714         * javax/swing/JLayeredPane.java: Revert changes to standard
16715         boilerplate, reworked imports.
16716
16717 2004-01-07  Tom Tromey  <tromey@redhat.com>
16718
16719         PR libgcj/13439:
16720         * verify.cc (state::merge): Copy changed locals out of subroutine
16721         in NO_STACK case.
16722         (state::FLAG_CHANGED): New const.
16723         (state::FLAG_UNUSED): Likewise.
16724         (state::local_changed): Removed.  Updated all users.
16725         (state::flags): New field.
16726         (state::merge): Added jsr_semantics argument, more logic.
16727         (push_jump_merge): Added jsr_semantics argument.
16728         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
16729         merging through the jsr instruction.
16730
16731 2004-01-07  Tom Tromey  <tromey@redhat.com>
16732
16733         * scripts/MakeDefaultMimeTypes.java: Use \n, not
16734         backslash-newline.
16735
16736 2004-01-07  Graydon Hoare  <graydon@redhat.com>
16737
16738         * java/awt/Container.java (LightweightDispatcher): Implement.
16739         (visitChild): Reuse graphics object.
16740         (dispatchEventImpl): Optionally dispatch to lightweight.
16741         (addNotifyContainerChildren): Build LightweightDispatcher.
16742
16743 2004-01-07  David Jee  <djee@redhat.com>
16744
16745         * java/awt/Container.java
16746         (update): Clear only the clipped region, instead of clearing the
16747         entire Container.
16748         (visitChildren): Visit children in descending order.
16749
16750 2004-01-07  Michael Koch  <konqueror@gmx.de>
16751
16752         * java/lang/reflect/Array.java: Merged documentation with classpath.
16753
16754 2004-01-07  Michael Koch  <konqueror@gmx.de>
16755
16756         * java/text/CollationElementIterator.java
16757         (textIndex): Renamed from index.
16758         * java/text/CollationKey.java
16759         (collator): New member.
16760         (CollationKey): New argument for parent collator.
16761         (equals): Check for same collator, source string and key array.
16762         * java/text/RuleBasedCollator.java:
16763         Reformated.
16764         (RuleBasedCollator): Don't re-initialize frenchAccents with default
16765         value.
16766         (getCollationElementIterator): Rewritten.
16767         (getCollationKey): Added new argument to CollationKey constructor.
16768
16769 2004-01-07  Michael Koch  <konqueror@gmx.de>
16770
16771         * gnu/java/nio/DatagramChannelImpl.java
16772         (blocking): Removed.
16773         (DatagramChannelImpl): Call configureBlocking().
16774         (implConfigureBlocking): Dont initialize blocking.
16775         * gnu/java/nio/ServerSocketChannelImpl.java
16776         (blocking): Removed.
16777         (ServerSocketChannelImpl): Call configureBlocking().
16778         (implConfigureBlocking): Dont initialize blocking.
16779         * gnu/java/nio/SocketChannelImpl.java
16780         (blocking): Removed.
16781         (SocketChannelImpl): Call configureBlocking().
16782         (implConfigureBlocking): Dont initialize blocking.
16783         (connect): Use isBlocking().
16784         * java/nio/channels/spi/AbstractSelectableChannel.java
16785         (configureBlocking): Use blockingLock() instead of LOCK.
16786         Set blocking after successfully called implConfigureBlocking().
16787         (register): Use blockingLock() instead of LOCK.
16788
16789 2004-01-07  Michael Koch  <konqueror@gmx.de>
16790
16791         * java/net/ServerSocket.java (isBound): Fixed documentation.
16792
16793 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
16794
16795         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
16796         (changeEvent): Create event object on demand.
16797         (DefaultBoundedRangeModel, toString, setValue, setExtent,
16798         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
16799         fireStateChanged): Re-written.
16800         * javax/swing/event/EventListenerList.java: Reformatted, document
16801         typical usage.
16802         (toString): Implemented.
16803         (getListeners): Re-written.
16804         (remove): Re-written.
16805         (add): Re-written.
16806         (NO_LISTENERS): New singleton field.
16807         (listenerList): Declare as transient; document.
16808         (serialVersionUID): Document.
16809         (getListenerCount(Class)): More efficient implementation,
16810         also accepts null argument.  Improve Javadoc.
16811         (getListenerCount()): Remove unnecessary cast; docfix.
16812         * javax/swing/undo/UndoableEditSupport.java:
16813         Re-format, document.
16814         (UndoableEditSupport): Set realSource field. Improve documentation.
16815         (_postEdit): Iterate over cloned listener vector.
16816         (toString): Don't emit realSource.
16817         (beginUpdate, endUpdate): Support nested updates.
16818         (postEdit): Use compound edit if present.
16819
16820 2004-01-06  Graydon Hoare  <graydon@redhat.com>
16821
16822         * java/awt/Container.java (swapComponents): Add forgotten
16823         function, required for JLayeredPane change.
16824
16825 2004-01-06  Michael Koch  <konqueror@gmx.de>
16826
16827         * java/text/CollationElementIterator.java: Reformated.
16828         (CollationElementIterator): Changed order of arguments.
16829         * java/text/RuleBasedCollator.java
16830         (RuleBasedCollator): Merged class documentation.
16831         (CollationElement): Added documentation.
16832         (compare): Reformated, renamed arguments.
16833         (equals): Likewise.
16834         (getCollationElementIterator): Likewise.
16835         (getCollationKey): Likewise.
16836
16837 2004-01-06  Graydon Hoare  <graydon@redhat.com>
16838
16839         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
16840
16841 2004-01-06  Michael Koch  <konqueror@gmx.de>
16842
16843         * gnu/java/net/protocol/file/Connection.java:
16844         Reformated copyright.
16845         (hdrHash): Removed.
16846         (hdrVec): Removed.
16847         (gotHeaders): Removed.
16848         (getHeaderField): Removed.
16849         (getHeaderField): Removed.
16850         (getHeaderFieldKey): Removed.
16851         (getKey): Removed.
16852         (getField): Removed.
16853         (getHeaders): Removed.
16854
16855 2004-01-06  Michael Koch  <konqueror@gmx.de>
16856
16857         * javax/print/attribute/standard/DateTimeAtCompleted.java,
16858         javax/print/attribute/standard/DateTimeAtCreation.java,
16859         javax/print/attribute/standard/DateTimeAtProcessing.java,
16860         javax/print/attribute/standard/JobImpressionsCompleted.java,
16861         javax/print/attribute/standard/JobKOctets.java,
16862         javax/print/attribute/standard/JobKOctetsProcessed.java,
16863         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
16864         javax/print/attribute/standard/JobPrioritySupported.java: New files.
16865         * Makefile.am (javax_source_files): Added new files.
16866         * Makefile.in: Regenerated.
16867
16868 2004-01-06  Michael Koch  <konqueror@gmx.de>
16869
16870         * java/net/URLConnection.java
16871         (contentHandler): Removed.
16872         (locale): Removed.
16873         (getHeaderFields): Return an empty map instead of null.
16874         (getContent): Connect if needed, renamed "cType" to "type" and
16875         "contentHandler" to "ch" and made it a local variable.
16876         (getPermission): Don't use package in class name.
16877         (setDefaultRequestProperty): Fixed typo in documentation.
16878         (initializeDateFormats): Made locale a local variable.
16879
16880 2004-01-06  Michael Koch  <konqueror@gmx.de>
16881
16882         * java/lang/Package.java
16883         (getPackage): Get the current class loader directly.
16884         * java/lang/SecurityManager.java
16885         (currentLoadedClass): Dont iterate over class contexts.
16886         (classLoaderDepth): Don't check class loaders if everything is allowed.
16887
16888 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
16889
16890         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
16891         (pre_event_handler): Set all insets to 0 when a Configure event
16892         is received for a GtkPlug.
16893         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
16894         Make handle long, not int.
16895         (EmbeddedWindow()): New constructor.
16896         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
16897         long, not int.
16898         (setHandle): New method.
16899         (getHandle): Return long, not int.
16900         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
16901         declaration.
16902         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
16903         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
16904         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
16905         argument to GdkNativeWindow.
16906         (construct): New method.
16907         (embed): New method.
16908
16909         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
16910         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
16911         (create(int, int)): New method.
16912         (create): Call new create method.
16913         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
16914         methods.
16915         (childResized): Remove native implementation.  Implement in
16916         Java.
16917         (getHScrollbarHeight, getVScrollbarWidth): Call
16918         gtk_widget_size_request to get scrollbar dimensions.
16919         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
16920         call getVScrollbarWidth and getHScrollbarHeight when vertical
16921         and horizontal scrollbars respectively are needed.
16922         (doLayout): Enlarge child if it is smaller than the viewport.
16923
16924 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
16925
16926         * java/awt/Dialog.java (constructor): Accept null title as per spec.
16927         * java/awt/FileDialog.java (constructor): Throw exception on invalid
16928         argument as per spec.
16929
16930 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
16931
16932         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
16933         (insert): Ditto.
16934         (remove): Ditto.  Also, Check for valid argument.
16935         (removeAll): Use peer interface method.
16936         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
16937         native add function.
16938         (nativeRemove): New name for native remove function.
16939         (getHistory): New native function.
16940         (constructor): Generate ItemEvent.
16941         (add): Ditto, if selection is changed.
16942         (remove): Ditto, ditto.
16943         (removeAll): Add implementation.
16944         (handleEvent): Remove.  Dead code.
16945         (choicePostItemEvent): Add comment.
16946         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
16947         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
16948         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
16949         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
16950         comments and fix condition to change selection.
16951         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
16952         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
16953         remove all capability.
16954         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
16955         (item_activate): Add cast to remove compiler warning.
16956
16957 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
16958
16959         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
16960         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
16961         (getPreferredSize): Call preferredSize.
16962         (preferredSize): Call gtkWidgetGetPreferredDimensions.
16963         (getMinimumSize): Call minimumSize.
16964         (minimumSize): Call gtkWidgetGetPreferredDimensions.
16965         (gtkWidgetGetDimensions): Return the peer widget's current size
16966         request.
16967         (gtkWidgetGetPreferredDimensions): Return the peer widget's
16968         natural size request.
16969
16970 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
16971
16972         Thanks to Brian Gough <bjg@network-theory.com>
16973         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
16974         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
16975
16976 2004-01-04  Matthias Klose  <doko@debian.org>
16977
16978         * aclocal.m4: Rebuilt using "aclocal -I .".
16979         * configure: Rebuilt.
16980
16981 2004-01-03  Per Bothner  <per@bothner.com>
16982
16983         * java/util/Date.java (parse):  Fix a number of problems.
16984         (skipParens):  Remove no-longer-needed method.