]> git.ipfire.org Git - thirdparty/gcc.git/blob - libjava/ChangeLog
* testsuite/libjava.lang/PR19921.java: Use correct class name.
[thirdparty/gcc.git] / libjava / ChangeLog
1 2005-02-14 Tom Tromey <tromey@redhat.com>
2
3 * testsuite/libjava.lang/PR19921.java: Use correct class name.
4
5 2005-02-14 Tom Tromey <tromey@redhat.com>
6
7 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
8 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
9
10 2005-02-14 Tom Tromey <tromey@redhat.com>
11
12 For PR java/19929:
13 * testsuite/libjava.lang/PR19929.out: New file.
14 * testsuite/libjava.lang/PR19929.java: New file.
15
16 2005-02-14 Anthony Green <green@redhat.com>
17
18 PR libgcj/18116
19 * testsuite/libjava.jni/PR18116.c: New file.
20 * testsuite/libjava.jni/PR18116.java: New file.
21 * testsuite/libjava.jni/PR18116.out: New file.
22
23 2005-02-13 Anthony Green <green@redhat.com>
24
25 PR libgcj/18116
26 * jni.cc (nathash_add): Don't strdup the method signature.
27 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
28 method signature.
29 Update copyright.
30
31 2005-02-12 Mark Wielaard <mark@klomp.org>
32
33 Fixes bug libgcj/8170
34 * java/lang/ClassLoader.java (loadClass): Don't rewrap
35 ClassNotFoundException.
36 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
37 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
38 (remove_internal): New field superceding remove_interpreter.
39 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
40 Remove no-class methods starting with "_Jv_". And Replace null
41 class or method names with the empty string. Stop at either the
42 MainThread or a real Thread run() method.
43 (newElement): Made static.
44 * java/net/URLClassLoader.java (findClass): Throw
45 ClassNotFoundExceptions including urls, plus parent using toString().
46 (thisString): New field.
47 (toString): New method.
48
49 2005-02-10 Tom Tromey <tromey@redhat.com>
50
51 * external/sax/Makefile.in: Rebuilt.
52 * external/sax/Makefile.am (all-local): Removed.
53 (BUILT_SOURCES): New variable.
54 (mostlyclean-local): No error if no classes to delete.
55 * external/w3c_dom/Makefile.in: Rebuilt.
56 * external/w3c_dom/Makefile.am (all-local): Removed.
57 (BUILT_SOURCES): New variable.
58 (mostlyclean-local): No error if no classes to delete.
59
60 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
61
62 * testsuite/libjava.mauve/xfails: Updated to reflect current state
63 of mauve and libjava.
64
65 2005-02-09 Tom Tromey <tromey@redhat.com>
66
67 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
68 jar file with OPEN_DELETE.
69 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
70 OPEN_DELETE is used.
71
72 2005-02-09 Tom Tromey <tromey@redhat.com>
73
74 * java/util/zip/InflaterInputStream.java (markSupported):
75 Override.
76 (mark, reset): Likewise.
77
78 2005-02-08 Tom Tromey <tromey@redhat.com>
79
80 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
81 name or port is missing.
82 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
83 AUTHORITY_PORT_GROUP): Updated.
84
85 2005-02-08 Tom Tromey <tromey@redhat.com>
86
87 * configure: Rebuilt.
88 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
89 AC_CHECK_HEADERS.
90
91 2005-02-07 Tom Tromey <tromey@redhat.com>
92
93 * java/lang/natRuntime.cc (insertSystemProperties): Set
94 sun.boot.class.path earlier.
95
96 2005-02-07 Tom Tromey <tromey@redhat.com>
97
98 * defineclass.cc (handleClassBegin): Use
99 _Jv_RegisterInitiatingLoader.
100 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
101 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
102 class. Use _Jv_UnregisterInitiatingLoader.
103 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
104 New function.
105
106 2005-02-07 Mark Wielaard <mark@klomp.org>
107
108 Reported by Timo Lindfors <timo.lindfors@iki.fi>
109 java/util/regex/Matcher.java (lookingAt): Set position when match
110 found.
111 (matches): Implemented through lookingAt().
112
113 2005-02-07 Mark Wielaard <mark@klomp.org>
114
115 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
116 * java/util/regex/Pattern.java (split(CharSequence,int)):
117 Fix while empties > 0 loops.
118
119 2005-02-07 Robert Schuster <thebohemian@gmx.net>
120
121 * gnu/java/nio/charset/ISO_8859_1.java,
122 gnu/java/nio/charset/US_ASCII.java,
123 gnu/java/nio/charset/UTF_16.java,
124 gnu/java/nio/charset/UTF_16_LE.java,
125 gnu/java/nio/charset/UTF_16_BE.java,
126 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
127 and aliases according to
128 "http://www.iana.org/assignments/character-sets",
129 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
130 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
131 * gnu/java/nio/charset/Provider.java: Made charset lookup
132 case-insensitive which fixes bug #11740.
133
134 2005-02-07 Tom Tromey <tromey@redhat.com>
135
136 PR libgcj/19611:
137 * Makefile.in: Rebuilt.
138 * Makefile.am (src.zip): New target.
139 (install-src.zip): Likewise.
140 (sourcesdir): New variable.
141
142 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
143
144 * javax/imageio/metadata/IIOMetadataNode.java:
145 Implemented.
146 * javax/imageio/metadata/IIOAttr.java,
147 javax/imageio/metadata/IIONamedNodeMap.java,
148 javax/imageio/metadata/IIONodeList.java:
149 New files
150
151 2005-02-06 Graydon Hoare <graydon@redhat.com>
152
153 * gnu/java/awt/ClasspathToolkit.java
154 (registerImageIOSpis): New method.
155 * javax/imageio/ImageIO.java
156 (WriterFormatFilter.filter): Fix copy-and-paste typos.
157 (WriterMIMETypeFilter.filter): Likewise.
158 (ImageReaderIterator): Pass extension argument through to SPI.
159 (getReadersByFilter): Likewise.
160 (getWritersByFilter): Likewise.
161 (getImageReadersByFormatName): Likewise.
162 (getImageReadersByMIMEType): Likewise.
163 (getImageReadersBySuffix): Likewise.
164 (getImageWritersByFormatName): Likewise.
165 (getImageWritersByMIMEType): Likewise.
166 (getImageWritersBySuffix): Likewise.
167 (read): Implement.
168 (write): Implement.
169 * javax/imageio/ImageReader.java
170 (progressListeners): Initialize.
171 (setInput): Implement.
172 * javax/imageio/ImageWriter.java
173 (progressListeners): Initialize.
174 (warningListeners): Likewise.
175 (warningLocales): Likewise.
176 (setOutput): Test "isInstance" rather than class equality.
177 * javax/imageio/spi/IIORegistry.java
178 (static): Add reader and writer SPIs.
179 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
180
181 2004-02-06 Michael Koch <konqueror@gmx.de>
182
183 * javax/imageio/metadata/IIOInvalidTreeException.java
184 (IIOInvalidTreeException): Reformatted.
185 * javax/imageio/spi/IIORegistry.java
186 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
187 * javax/imageio/stream/MemoryCacheImageInputStream.java:
188 Reworked import statements.
189
190 2004-02-06 Michael Koch <konqueror@gmx.de>
191
192 * javax/imageio/stream/FileImageOutputStream.java:
193 Implemented.
194
195 2004-02-06 Michael Koch <konqueror@gmx.de>
196
197 * javax/imageio/stream/FileCacheImageInputStream.java,
198 javax/imageio/stream/FileCacheImageOutputStream.java,
199 javax/imageio/stream/FileImageInputStream.java,
200 javax/imageio/stream/ImageInputStreamImpl.java,
201 javax/imageio/stream/ImageOutputStreamImpl.java,
202 javax/imageio/stream/MemoryCacheImageInputStream.java,
203 javax/imageio/stream/MemoryCacheImageOutputStream.java:
204 Added all missing methods in javax.imageio.stream.
205
206 2005-02-02 David Daney <ddaney@avtrex.com>
207
208 * java/net/InetAddress.java (InetAddress): Make a private copy of
209 the address.
210 * java/net/Inet4Address.java (getAddress): Return a copy of the
211 address.
212 * java/net/Inet6Address.java (Inet6Address): Use private copy of
213 the address
214 (getAddress): Return a copy of the address.
215 (equals): Rewrote.
216
217 2005-02-02 Tom Tromey <tromey@redhat.com>
218
219 * Makefile.in: Rebuilt.
220 * Makefile.am (classes.stamp): New target, broken out from
221 libgcj.jar target.
222 ($(all_java_class_files)): Depend on it.
223 (libgcj-@gcc_version@.jar): Likewise.
224 (all-recursive): Likewise.
225 (CLEANFILES): Include classes.stamp.
226
227 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
228
229 * link.cc: Include <stdio.h>
230
231 2005-02-02 Tom Tromey <tromey@redhat.com>
232
233 PR libgcj/19681:
234 * Makefile.in: Rebuilt.
235 * Makefile.am (ordinary_java_source_files): Added new class.
236 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
237 Use system_instance, not instance.
238 * gnu/gcj/runtime/SystemClassLoader.java: New file.
239 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
240 java.class.path.
241 (system_instance): New field.
242 (initialize): Initialize the system loader as well.
243 (VMClassLoader): Default to LIB_CACHE.
244
245 2005-02-02 Tom Tromey <tromey@redhat.com>
246
247 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
248 * prims.cc: Fixed comment.
249
250 2005-02-01 Tom Tromey <tromey@redhat.com>
251
252 * Makefile.in: Rebuilt.
253 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
254 (.java.class): Use BOOTCLASSPATH.
255
256 2005-02-01 Tom Tromey <tromey@redhat.com>
257
258 * external/w3c_dom/Makefile.am: New file.
259 * external/w3c_dom/Makefile.in: New file.
260 * external/sax/Makefile.am: New file.
261 * external/sax/Makefile.in: New file.
262 * external/Makefile.in: New file.
263 * external/Makefile.am: New file.
264 * external/README: New file from Classpath.
265 * configure, aclocal.m4, Makefile.in: Rebuilt.
266 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
267 * Makefile.am (SUBDIRS): Added external.
268 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
269 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
270 (BOOTCLASSPATH): New variable.
271 (AM_GCJFLAGS): Use it.
272 (gnu_xml_source_files): New variable.
273 (libgcj_la_SOURCES): Use it.
274 (libgcj_la_LDADD): Include new convenience libraries.
275 (lib_org_ietf_jgss_la_SOURCES): Removed.
276 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
277 (lib_org_ietf_jgss_la_LIBADD): Likewise.
278 (lib_org_w3c_dom_la_SOURCES): Removed.
279 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
280 (lib_org_w3c_dom_la_LIBADD): Likewise.
281 (lib_org_xml_sax_la_SOURCES): Removed.
282 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
283 (lib_org_xml_sax_la_LIBADD): Likewise.
284 (all_java_source_files): Updated.
285 (property_files): Likewise.
286 (libgcj-@gcc_version@.jar): Include classes from external/.
287 (javax_source_files): Updated.
288 (ordinary_java_source_files): Updated.
289 * javax/xml/XMLConstants.java,
290 javax/xml/datatype/DatatypeConfigurationException.java,
291 javax/xml/datatype/DatatypeConstants.java,
292 javax/xml/datatype/DatatypeFactory.java,
293 javax/xml/datatype/Duration.java,
294 javax/xml/datatype/XMLGregorianCalendar.java,
295 javax/xml/datatype/package.html,
296 javax/xml/namespace/NamespaceContext.java,
297 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
298 javax/xml/parsers/DocumentBuilder.java,
299 javax/xml/parsers/DocumentBuilderFactory.java,
300 javax/xml/parsers/FactoryConfigurationError.java,
301 javax/xml/parsers/ParserConfigurationException.java,
302 javax/xml/parsers/SAXParser.java,
303 javax/xml/parsers/SAXParserFactory.java,
304 javax/xml/parsers/package.html,
305 javax/xml/transform/ErrorListener.java,
306 javax/xml/transform/OutputKeys.java,
307 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
308 javax/xml/transform/SourceLocator.java,
309 javax/xml/transform/Templates.java,
310 javax/xml/transform/Transformer.java,
311 javax/xml/transform/TransformerConfigurationException.java,
312 javax/xml/transform/TransformerException.java,
313 javax/xml/transform/TransformerFactory.java,
314 javax/xml/transform/TransformerFactoryConfigurationError.java,
315 javax/xml/transform/URIResolver.java,
316 javax/xml/transform/package.html,
317 javax/xml/transform/dom/DOMLocator.java,
318 javax/xml/transform/dom/DOMResult.java,
319 javax/xml/transform/dom/DOMSource.java,
320 javax/xml/transform/dom/package.html,
321 javax/xml/transform/sax/SAXResult.java,
322 javax/xml/transform/sax/SAXSource.java,
323 javax/xml/transform/sax/SAXTransformerFactory.java,
324 javax/xml/transform/sax/TemplatesHandler.java,
325 javax/xml/transform/sax/TransformerHandler.java,
326 javax/xml/transform/sax/package.html,
327 javax/xml/transform/stream/StreamResult.java,
328 javax/xml/transform/stream/StreamSource.java,
329 javax/xml/transform/stream/package.html,
330 javax/xml/validation/Schema.java,
331 javax/xml/validation/SchemaFactory.java,
332 javax/xml/validation/TypeInfoProvider.java,
333 javax/xml/validation/Validator.java,
334 javax/xml/validation/ValidatorHandler.java,
335 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
336 javax/xml/xpath/XPathConstants.java,
337 javax/xml/xpath/XPathException.java,
338 javax/xml/xpath/XPathExpression.java,
339 javax/xml/xpath/XPathExpressionException.java,
340 javax/xml/xpath/XPathFactory.java,
341 javax/xml/xpath/XPathFactoryConfigurationException.java,
342 javax/xml/xpath/XPathFunction.java,
343 javax/xml/xpath/XPathFunctionException.java,
344 javax/xml/xpath/XPathFunctionResolver.java,
345 javax/xml/xpath/XPathVariableResolver.java,
346 javax/xml/xpath/package.html: New files, from GNU JAXP.
347 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
348 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
349 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
350 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
351 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
352 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
353 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
354 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
355 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
356 org/w3c/dom/ranges/DocumentRange.java,
357 org/w3c/dom/ranges/Range.java,
358 org/w3c/dom/ranges/RangeException.java,
359 org/w3c/dom/traversal/DocumentTraversal.java,
360 org/w3c/dom/traversal/NodeFilter.java,
361 org/w3c/dom/traversal/NodeIterator.java,
362 org/w3c/dom/traversal/TreeWalker.java,
363 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
364 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
365 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
366 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
367 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
368 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
369 org/xml/sax/SAXNotRecognizedException.java,
370 org/xml/sax/SAXNotSupportedException.java,
371 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
372 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
373 org/xml/sax/ext/DeclHandler.java,
374 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
375 org/xml/sax/helpers/AttributeListImpl.java,
376 org/xml/sax/helpers/AttributesImpl.java,
377 org/xml/sax/helpers/DefaultHandler.java,
378 org/xml/sax/helpers/LocatorImpl.java,
379 org/xml/sax/helpers/NamespaceSupport.java,
380 org/xml/sax/helpers/NewInstance.java,
381 org/xml/sax/helpers/ParserAdapter.java,
382 org/xml/sax/helpers/ParserFactory.java,
383 org/xml/sax/helpers/XMLFilterImpl.java,
384 org/xml/sax/helpers/XMLReaderAdapter.java,
385 org/xml/sax/helpers/XMLReaderFactory.java,
386 org/xml/sax/helpers/package.html: Moved to external/.
387 * external/sax/README,
388 external/sax/org/xml/sax/AttributeList.java,
389 external/sax/org/xml/sax/Attributes.java,
390 external/sax/org/xml/sax/ContentHandler.java,
391 external/sax/org/xml/sax/DTDHandler.java,
392 external/sax/org/xml/sax/DocumentHandler.java,
393 external/sax/org/xml/sax/EntityResolver.java,
394 external/sax/org/xml/sax/ErrorHandler.java,
395 external/sax/org/xml/sax/HandlerBase.java,
396 external/sax/org/xml/sax/InputSource.java,
397 external/sax/org/xml/sax/Locator.java,
398 external/sax/org/xml/sax/Parser.java,
399 external/sax/org/xml/sax/SAXException.java,
400 external/sax/org/xml/sax/SAXNotRecognizedException.java,
401 external/sax/org/xml/sax/SAXNotSupportedException.java,
402 external/sax/org/xml/sax/SAXParseException.java,
403 external/sax/org/xml/sax/XMLFilter.java,
404 external/sax/org/xml/sax/XMLReader.java,
405 external/sax/org/xml/sax/package.html,
406 external/sax/org/xml/sax/ext/Attributes2.java,
407 external/sax/org/xml/sax/ext/Attributes2Impl.java,
408 external/sax/org/xml/sax/ext/DeclHandler.java,
409 external/sax/org/xml/sax/ext/DefaultHandler2.java,
410 external/sax/org/xml/sax/ext/EntityResolver2.java,
411 external/sax/org/xml/sax/ext/LexicalHandler.java,
412 external/sax/org/xml/sax/ext/Locator2.java,
413 external/sax/org/xml/sax/ext/Locator2Impl.java,
414 external/sax/org/xml/sax/ext/package.html,
415 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
416 external/sax/org/xml/sax/helpers/AttributesImpl.java,
417 external/sax/org/xml/sax/helpers/DefaultHandler.java,
418 external/sax/org/xml/sax/helpers/LocatorImpl.java,
419 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
420 external/sax/org/xml/sax/helpers/NewInstance.java,
421 external/sax/org/xml/sax/helpers/ParserAdapter.java,
422 external/sax/org/xml/sax/helpers/ParserFactory.java,
423 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
424 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
425 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
426 external/sax/org/xml/sax/helpers/package.html,
427 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
428 external/w3c_dom/org/w3c/dom/Attr.java,
429 external/w3c_dom/org/w3c/dom/CDATASection.java,
430 external/w3c_dom/org/w3c/dom/CharacterData.java,
431 external/w3c_dom/org/w3c/dom/Comment.java,
432 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
433 external/w3c_dom/org/w3c/dom/DOMError.java,
434 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
435 external/w3c_dom/org/w3c/dom/DOMException.java,
436 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
437 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
438 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
439 external/w3c_dom/org/w3c/dom/DOMLocator.java,
440 external/w3c_dom/org/w3c/dom/DOMStringList.java,
441 external/w3c_dom/org/w3c/dom/Document.java,
442 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
443 external/w3c_dom/org/w3c/dom/DocumentType.java,
444 external/w3c_dom/org/w3c/dom/Element.java,
445 external/w3c_dom/org/w3c/dom/Entity.java,
446 external/w3c_dom/org/w3c/dom/EntityReference.java,
447 external/w3c_dom/org/w3c/dom/NameList.java,
448 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
449 external/w3c_dom/org/w3c/dom/Node.java,
450 external/w3c_dom/org/w3c/dom/NodeList.java,
451 external/w3c_dom/org/w3c/dom/Notation.java,
452 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
453 external/w3c_dom/org/w3c/dom/Text.java,
454 external/w3c_dom/org/w3c/dom/TypeInfo.java,
455 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
456 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
457 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
458 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
459 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
460 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
461 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
462 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
463 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
464 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
465 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
466 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
467 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
468 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
469 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
470 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
471 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
472 external/w3c_dom/org/w3c/dom/css/Counter.java,
473 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
474 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
475 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
476 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
477 external/w3c_dom/org/w3c/dom/css/Rect.java,
478 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
479 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
480 external/w3c_dom/org/w3c/dom/events/Event.java,
481 external/w3c_dom/org/w3c/dom/events/EventException.java,
482 external/w3c_dom/org/w3c/dom/events/EventListener.java,
483 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
484 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
485 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
486 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
487 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
488 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
489 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
490 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
491 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
492 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
493 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
494 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
495 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
496 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
497 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
498 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
499 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
500 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
501 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
502 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
503 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
504 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
505 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
506 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
507 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
508 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
509 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
510 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
511 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
512 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
513 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
514 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
515 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
516 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
517 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
518 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
519 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
520 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
521 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
522 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
523 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
524 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
525 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
526 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
527 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
528 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
529 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
530 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
531 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
532 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
533 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
534 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
535 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
536 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
537 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
538 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
539 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
540 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
541 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
542 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
543 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
544 external/w3c_dom/org/w3c/dom/ls/LSException.java,
545 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
546 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
547 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
548 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
549 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
550 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
551 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
552 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
553 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
554 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
555 external/w3c_dom/org/w3c/dom/ranges/Range.java,
556 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
557 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
558 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
559 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
560 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
561 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
562 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
563 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
564 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
565 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
566 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
567 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
568 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
569 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
570 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
571 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
572 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
573 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
574 from Classpath.
575
576 2005-01-31 Anthony Green <green@redhat.com>
577
578 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
579 Support IP_MULTICAST_LOOP.
580 (setOption): Support IP_MULTICAST_LOOP.
581
582 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
583 SO_REUSEADDR support.
584 (getOption): Support SO_REUSEADDR.
585
586 2004-01-28 Jeroen Frijters <jeroen@frijters.net>
587
588 PR libgcj/19649
589 * java/util/Date.java
590 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
591 constructor.
592 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
593 arguments.
594 (getTimezoneOffset): Inverted sign.
595
596 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
597
598 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
599 remove other passing tests and add new XFAILs.
600
601 2005-01-24 Tom Tromey <tromey@redhat.com>
602
603 * java/lang/Class.h (next): Updated documentation. Renamed to
604 'next_or_version'.
605 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
606 _Jv_CheckABIVersion.
607 (_Jv_RegisterClasses_Counted): Likewise.
608 (_Jv_RegisterClassHookDefault): Fix starting condition of
609 duplicate-checking loop.
610 * include/jvm.h (GCJ_VERSION): New define.
611 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
612 (_Jv_CheckABIVersion): New function.
613
614 2005-01-24 Jakub Jelinek <jakub@redhat.com>
615
616 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
617 (libgij_la_LDFLAGS): Add.
618 * Makefile.in: Rebuilt.
619
620 2005-01-24 Roger Sayle <roger@eyesopen.com>
621
622 PR java/19295
623 * testsuite/libjava.compile/PR19295.java: New test case.
624
625 2005-01-19 Tom Tromey <tromey@redhat.com>
626
627 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
628 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
629 if 'handler' is valid.
630
631 2005-01-17 Tom Tromey <tromey@redhat.com>
632
633 * java/text/MessageFormat.java (scanString): Changed how quoting
634 is handled.
635 (scanFormatElement): Likewise.
636
637 2004-12-07 Mark Wielaard <mark@klomp.org>
638
639 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
640
641 2005-01-15 Michael Koch <konqueror@gmx.de>
642
643 PR libgcj/19444
644 * java/net/URI.java
645 (AUTHORITY_REGEXP): New regexp constant.
646 (AUTHORITY_USERINFO_GROUP): New constant.
647 (AUTHORITY_HOST_GROUP): Likewise.
648 (AUTHORITY_PORT_GROUP): Likewise.
649 (port): Changed default value to -1.
650 (parseURI): Parse authority part and initialize host,
651 port and userInfo.
652
653 2005-01-14 Robin Green <greenrd@greenrd.org>
654
655 * java/io/File.java (toURI): Generate a URI which we understand.
656
657 2005-01-13 Graydon Hoare <graydon@redhat.com>
658
659 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
660 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
661 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
662 * jni.cc: Reuse bottom frame between calls, avoid clearing
663 frame when no local references are made.
664
665 2005-01-13 Michael Koch <konqueror@gmx.de>
666
667 PR libgcj/17784
668 * java/lang/Thread.java
669 (Thread): Call checkAccess().
670 (stop): Fixed argument name to match javadoc.
671 * java/lang/natThread.cc
672 (interrupt): Call checkAccess().
673 (stop): Likewise.
674
675 2005-01-11 Michael Koch <konqueror@gmx.de>
676
677 PR libgcj/13972
678 * java/net/URL.java (URL): Handle specs like
679 "/redir?http://domain2.com/index.html" which start with a slash.
680
681 2005-01-11 Michael Koch <konqueror@gmx.de>
682
683 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
684 * gnu/java/net/BASE64.java,
685 gnu/java/net/EmptyX509TrustManager.java,
686 gnu/java/net/LineInputStream.java,
687 gnu/java/net/protocol/http/Authenticator.java,
688 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
689 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
690 gnu/java/net/protocol/http/ChunkedInputStream.java,
691 gnu/java/net/protocol/http/Cookie.java,
692 gnu/java/net/protocol/http/CookieManager.java,
693 gnu/java/net/protocol/http/Credentials.java,
694 gnu/java/net/protocol/http/HTTPConnection.java,
695 gnu/java/net/protocol/http/HTTPDateFormat.java,
696 gnu/java/net/protocol/http/HTTPURLConnection.java,
697 gnu/java/net/protocol/http/Headers.java,
698 gnu/java/net/protocol/http/Request.java,
699 gnu/java/net/protocol/http/RequestBodyWriter.java,
700 gnu/java/net/protocol/http/Response.java,
701 gnu/java/net/protocol/http/ResponseBodyReader.java,
702 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
703 gnu/java/net/protocol/http/SimpleCookieManager.java,
704 gnu/java/net/protocol/http/event/ConnectionEvent.java,
705 gnu/java/net/protocol/http/event/ConnectionListener.java,
706 gnu/java/net/protocol/http/event/RequestEvent.java,
707 gnu/java/net/protocol/http/event/RequestListener.java: New files.
708 * gnu/java/net/protocol/http/Connection.java: Removed.
709 * gnu/java/net/protocol/http/Handler.java,
710 javax/net/ssl/HttpsURLConnection.java: Updated.
711 * Makefile.am: Added new files and remove old ones.
712 * Makefile.in: Regenerated.
713
714 2005-01-11 Tom Tromey <tromey@redhat.com>
715
716 PR libgcj/18840:
717 * java/io/BufferedInputStream.java (read): Repeatedly read to
718 fill buffer.
719 (refill): Change test to see if buffer must be grown.
720
721 2005-01-10 Tom Tromey <tromey@redhat.com>
722
723 * mauve-libgcj: Exclude some swing tests.
724
725 2005-01-10 Tom Tromey <tromey@redhat.com>
726
727 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
728 * java/lang/Package.java (getPackages): Use VMClassLoader when
729 appropriate.
730 (getPackage): Likewise.
731 * prims.cc (_Jv_CreateJavaVM): Call
732 _Jv_RegisterBootstrapPackages.
733 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
734 * java/lang/VMClassLoader.java (getPackage): Rewrote.
735 (getPackages): Likewise.
736 (definedPackages): New field.
737 (definePackageForNative): New method.
738 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
739 * java/lang/natVMClassLoader.cc (loadClass): Updated.
740 * defineclass.cc (handleClassBegin): Use
741 ClassLoader.findLoadedClass.
742 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
743 Rewrote.
744 (struct _Jv_LoaderInfo): Removed.
745 (initiated_classes): Likewise.
746 (_Jv_UnregisterClass): Don't use initiated_classes.
747 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
748 (_Jv_FindClass): Register classes found during boostrap.
749 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
750 (bootstrap_class_list): New global.
751 (bootstrap_index): Likewise.
752 (_Jv_RegisterBootstrapPackages): New function.
753 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
754 definePackageForNative.
755 (findClass): Updated.
756 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
757 New method.
758
759 2005-01-10 Tom Tromey <tromey@redhat.com>
760
761 PR libgcj/18868:
762 * include/jvm.h (_Jv_Linker::find_field): Declare.
763 (_Jv_Linker::find_field_helper): Likewise.
764 * link.cc (find_field_helper): New method.
765 (find_field): Likewise.
766 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
767 not found.
768 (link_symbol_table): Use find_field.
769
770 2005-01-10 Michael Koch <konqueror@gmx.de>
771
772 PR libgcj/18014
773 * java/util/Locale.java (Locale): Don't uppercase variant.
774 (getISOCountries): Fixed typo in javadoc.
775
776 2005-01-10 Michael Koch <konqueror@gmx.de>
777
778 * java/util/SimpleTimeZone.java (checkRule):
779 Throw IllegalArgumentException on invalid month values.
780 * java/util/TimeZone.java (setID):
781 Throw NullPointerException if needed.
782
783 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
784
785 * java/util/SimpleTimeZone.java (getOffset):
786 offset end date with daylight savings
787
788 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
789
790 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
791 * testsuite/libjava.compile/PR19277.xfail: Likewise.
792
793 2005-01-09 Michael Koch <konqueror@gmx.de>
794
795 PR libgcj/17069
796 * java/net/InetAddress.java (getLocalHost):
797 Throw UnknownHostException if local hostname cannot be determined.
798
799 2005-01-06 Tom Tromey <tromey@redhat.com>
800
801 * java/lang/ClassLoader.java (findClass): Fixed documentation.
802
803 2005-01-07 Michael Koch <konqueror@gmx.de>
804
805 PR libgcj/18115
806 * java/nio/Buffer.java (address): New field.
807 * java/nio/DirectByteBufferImpl.java (address): Removed.
808 * java/nio/MappedByteBufferImpl.java (address): Likewise.
809 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
810 Explicitly initialize Buffer.address if needed.
811 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
812 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
813 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
814 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
815 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
816 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
817 DirectByteBufferImpl object.
818 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
819 * testsuite/libjava.jni/directbuffer.c,
820 testsuite/libjava.jni/directbuffer.java,
821 testsuite/libjava.jni/directbuffer.out,
822 testsuite/libjava.jni/bytebuffer.c,
823 testsuite/libjava.jni/bytebuffer.java,
824 testsuite/libjava.jni/bytebuffer.out: New files.
825
826 2005-01-05 Tom Tromey <tromey@redhat.com>
827
828 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
829 argument.
830 (compressedSize): Now 'long'. Default to -1.
831 (getCompressedSize): Rewrote.
832 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
833 deflate at all if we need input.
834
835 2005-01-05 Tom Tromey <tromey@redhat.com>
836
837 PR libgcj/15719:
838 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
839 correctly.
840
841 2005-01-05 Tom Tromey <tromey@redhat.com>
842
843 * java/lang/natRuntime.cc (insertSystemProperties): Set
844 java.ext.dirs earlier.
845
846 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
847
848 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
849 sync_info element of the object if needed.
850
851 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
852
853 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
854 a non-zero exit status from 'false'.
855
856 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
857
858 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.
859
860 2004-12-31 Andreas Jaeger <aj@suse.de>
861
862 * testsuite/lib/libjava.exp (libjava_find_gij): Handle multilibs.
863
864 2004-12-20 Tom Tromey <tromey@redhat.com>
865
866 * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
867 Re-enable duplicate class registration error.
868
869 * testsuite/libjava.jar/jar.exp (gcj_jar_interpret): Updated.
870 * testsuite/libjava.verify/verify.exp (gcj_verify_run): Updated.
871 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Updated.
872 * testsuite/lib/libjava.exp (libjava_find_spec): Don't use
873 get_multilibs.
874 (libjava_find_gij): Likewise. Changed return result if gij not
875 found.
876 (test_libjava_from_javac): Updated.
877
878 PR java/15001
879 * testsuite/libjava.jni/iface.c: New file.
880 * testsuite/libjava.jni/iface.out: New file.
881 * testsuite/libjava.jni/iface.java: New file.
882
883 2004-12-19 Kelley Cook <kcook@gcc.gnu.org>
884
885 * include/config.h.in: Regenerate.
886
887 2004-12-10 Andrew Haley <aph@redhat.com>
888
889 PR java/15001
890 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Look up
891 abstract methods by name.
892
893 2004-12-08 Ranjit Mathew <rmathew@hotmail.com>
894
895 * java/util/IdentityHashMap.java (put): Replace mistaken use
896 of "<<" by "*".
897
898 2004-12-06 Tom Tromey <tromey@redhat.com>
899
900 For PR java/14853:
901 * testsuite/libjava.compile/PR14853.java: New file.
902 * testsuite/libjava.compile/PR14853.xfail: New file.
903
904 2004-12-03 Richard Sandiford <rsandifo@redhat.com>
905
906 PR libgcj/7305
907 * configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
908 * Makefile.am (install-data-local): Install headers into
909 $(gxx_include_dir) rather than $(includedir).
910 (AM_MAKEFLAGS): Pass down gxx_include_dir.
911 * gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
912 * include/Makefile.am (tool_include__HEADERS): Define this...
913 (include_HEADERS): ...instead of this.
914 * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
915 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
916
917 2004-12-02 Tom Tromey <tromey@redhat.com>
918
919 For PR java/16675:
920 * testsuite/libjava.compile/PR16675.java: New file.
921
922 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
923
924 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
925 * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
926 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
927
928 2004-12-01 Tom Tromey <tromey@redhat.com>
929
930 * include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
931 name.
932 (_Jv_ThreadRegister): Likewise.
933 (_Jv_MutexCheckMonitor): Likewise.
934
935 * link.cc: Include limits.h.
936
937 2004-12-01 Bryce McKinlay <mckinlay@redhat.com>
938
939 PR libgcj/18699
940 * testsuite/libjava.lang/PR18699.java,
941 testsuite/libjava.lang/PR18699.out: New test.
942
943 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
944
945 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawImage variants):
946 Update image observer.
947 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
948 Start image production.
949 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Protect
950 against negative menu bar widths.
951 (setBounds): Likewise.
952 (postConfigureEvent): Likewise.
953 * gnu/java/awt/peer/gtk/GtkImage.java (imageComplete): Don't
954 remove consumer unless only a single frame has completed.
955 * gnu/java/awt/peer/gtk/GtkImagePainter.java (GtkImagePainter):
956 Add observer parameter.
957 (setPixels): Update image observer.
958 (imageComplete): Likewise.
959 * java/applet/Applet.java (width): New field.
960 (height): Likewise.
961 (setStub): Set size if width or height field has been set.
962 (resize): If stub is null save width and height values.
963 * java/awt/Component.java (reshape): Protect against null
964 parent.
965 * java/awt/image/MemoryImageSource.java
966 (MemoryImageSource(int,int,ColorModel,byte[],int,int)):
967 Document.
968 (MemoryImageSource(int,int,ColorModel,int[],int,int)):
969 Likewise.
970 (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable)):
971 Reference pixel array directly, rather than creating a local
972 copy.
973 (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable)):
974 Likewise.
975 (newPixels(int,int,int,int)): Fix for loop and array copy
976 bounds.
977 (newPixels(int,int,int,int,boolean)): Likewise.
978 (startProduction): If animated call imageComplete with
979 SINGLEFRAME.
980 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Uncomment
981 gdk_flush lines.
982 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
983 (drawPixels): Return if g is null or g->drawable is not a gdk
984 drawable.
985
986 2004-11-30 Michael Koch <konqueror@gmx.de>
987
988 * javax/swing/DefaultSingleSelectionModel.java,
989 javax/swing/JPasswordField.java,
990 javax/swing/tree/AbstractLayoutCache.java:
991 Reformatted and javadocs cleaned up.
992
993 2004-11-30 Michael Koch <konqueror@gmx.de>
994
995 * java/awt/Component.java:
996 Fixed argument names to match javadocs.
997 (setFont): Rewritten set property first and then fire event.
998 (setLocale): Likewise.
999 * javax/swing/text/JTextComponent.java
1000 (setEditable): Likewise.
1001
1002 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1003
1004 * java/awt/Button.java
1005 (AccessibleAWTButton.getAccessibleActionDescription): Explain the
1006 source of 'click'.
1007
1008 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1009
1010 * java/awt/Checkbox.java: Remove stub comments.
1011
1012 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1013
1014 * java/awt/Button.java
1015 (AccessibleAWTButton.getAccessibleActionDescription): Return
1016 'click'.
1017
1018 2004-11-30 Michael Koch <konqueror@gmx.de>
1019
1020 * java/awt/CardLayout.java:
1021 Made some constants static.
1022 (serialVersionUID): Made private.
1023 (addLayoutComponent): Simplified code.
1024 * java/awt/event/InputEvent.java
1025 (getModifiersEx): Added missing @param tag.
1026 * java/awt/image/RGBImageFilter.java
1027 (filterRGBPixels): Reformatted, removed wrong @param tag.
1028
1029 2004-11-30 Michael Koch <konqueror@gmx.de>
1030
1031 * javax/swing/text/FieldView.java,
1032 javax/swing/text/JTextComponent.java:
1033 Removed debug code.
1034
1035 2004-11-30 Michael Koch <konqueror@gmx.de>
1036
1037 * javax/swing/BorderFactory.java
1038 (BorderFactory): Added private constructor.
1039 * javax/swing/SwingUtilities.java
1040 (SwingUtilities): Likewise.
1041 (computeStringWidth): New method.
1042
1043 2004-11-30 Michael Koch <konqueror@gmx.de>
1044
1045 * java/awt/color/ICC_Profile.java
1046 (icSigNamedColorTag): Removed.
1047 * java/awt/datatransfer/DataFlavor.java
1048 (isMimeTypeEqual): Made final.
1049 * java/awt/image/AffineTransformOp.java:
1050 Reworked javadocs.
1051 (TYPE_BICUBIC): Added @since tag.
1052
1053 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1054
1055 * java/awt/Checkbox.java (AccessibleAWTCheckBox): Remove todo
1056 comments.
1057
1058 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1059
1060 * java/awt/Checkbox.java (itemStateChanged): Implement function.
1061 (getAccessibleContext): Add AccessibleAWTCheckBox to item listeners.
1062
1063 2004-11-30 Sven de Marothy <sven@physto.se>
1064
1065 * java/awt/Polygon.java (contains): Reimplemented.
1066
1067 2004-11-30 Michael Koch <konqueror@gmx.de>
1068
1069 * java/awt/print/PrinterJob.java: Reformatted.
1070
1071 2004-11-30 Michael Koch <konqueror@gmx.de>
1072
1073 * java/awt/image/AffineTransformOp.java,
1074 java/awt/image/ColorConvertOp.java,
1075 java/awt/image/LookupOp.java,
1076 java/awt/image/RescaleOp.java:
1077 Added final keywords where they belong.
1078
1079 2004-11-30 Michael Koch <konqueror@gmx.de>
1080
1081 * java/awt/CardLayout.java,
1082 java/awt/Component.java,
1083 java/awt/Font.java,
1084 java/awt/image/SinglePixelPackedSampleModel.java:
1085 Fixed javadocs and argument names all over.
1086
1087 2004-11-30 Michael Koch <konqueror@gmx.de>
1088
1089 * java/awt/image/DataBufferShort.java: Fixed file header.
1090 * java/awt/image/DataBufferUShort.java: Likewise.
1091 (DataBufferUShort): Throw NullPointerException if dataArray is null.
1092
1093 2004-11-30 Sven de Marothy <sven@physto.se>
1094
1095 * java/awt/geom/Arc2D.java
1096 (setAngleStart): Corrected (wrong sign on atan2 y parameter).
1097 (setAngles): Likewise.
1098 (containsAngle): Return false on zero extent, don't include
1099 final angle.
1100 (contains): Treat OPEN-type arcs like CHORD ones, not as PIE
1101 ones.
1102
1103 2004-11-30 Sven de Marothy <sven@physto.se>
1104
1105 * java/awt/geom/AffineTransform.java,
1106 (inverseTransform): Fixed bug and simplified code.
1107 (createTransformedShape): Return null on null parameter.
1108
1109 2004-11-30 Michael Koch <konqueror@gmx.de>
1110
1111 * java/awt/color/ICC_ColorSpace.java,
1112 java/awt/color/ICC_Profile.java,
1113 java/awt/color/ICC_ProfileGray.java,
1114 java/awt/color/ICC_ProfileRGB.java:
1115 Re-indent copyright header to be standardish.
1116 * java/awt/datatransfer/StringSelection.java:
1117 Reformatted.
1118 * java/awt/geom/Area.java
1119 (EPSILON): Made static.
1120 (RS_EPSILON): Likewise.
1121 (PE_EPSILON): Likewide.
1122
1123 2004-11-30 Sven de Marothy <sven@physto.se>
1124
1125 * javax/swing/SwingUtilities.java:
1126 (computeDifference): Implemented
1127 (computeIntersection): Likewise
1128 (computeUnion): Likewise
1129 (isRectangleContainingRectangle): Likewise
1130
1131 2004-11-30 Michael Koch <konqueror@gmx.de>
1132
1133 * java/awt/BasicStroke.java,
1134 java/awt/Button.java,
1135 java/awt/Canvas.java,
1136 java/awt/CheckboxMenuItem.java,
1137 java/awt/Container.java,
1138 java/awt/EventQueue.java,
1139 java/awt/FileDialog.java,
1140 java/awt/FlowLayout.java,
1141 java/awt/FontMetrics.java,
1142 java/awt/Graphics.java,
1143 java/awt/GridLayout.java,
1144 java/awt/KeyboardFocusManager.java,
1145 java/awt/Label.java,
1146 java/awt/LayoutManager2.java,
1147 java/awt/List.java,
1148 java/awt/MenuBar.java,
1149 java/awt/Scrollbar.java,
1150 java/awt/Toolkit.java,
1151 java/awt/Window.java,
1152 java/awt/datatransfer/DataFlavor.java,
1153 java/awt/datatransfer/FlavorTable.java,
1154 java/awt/event/ActionListener.java,
1155 java/awt/event/HierarchyBoundsAdapter.java,
1156 java/awt/geom/Arc2D.java,
1157 java/awt/geom/Rectangle2D.java,
1158 java/awt/geom/RectangularShape.java,
1159 java/awt/im/spi/InputMethod.java,
1160 java/awt/image/ByteLookupTable.java,
1161 java/awt/image/ColorModel.java,
1162 java/awt/image/DirectColorModel.java,
1163 java/awt/image/ShortLookupTable.java,
1164 java/awt/print/Book.java:
1165 Fixed javadocs and method argument names all over.
1166
1167 2004-11-30 Michael Koch <konqueror@gmx.de>
1168
1169 * gnu/java/awt/peer/gtk/GdkFontPeer.java
1170 (buildString): Optimise String building.
1171
1172 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1173
1174 * java/awt/TextArea.java (AccessibleAWTTextArea,
1175 getAccessibleContext): Implement.
1176 * java/awt/TextField.java (AccessibleAWTTextField,
1177 getAccessibleContext): Implement.
1178
1179 2004-11-30 Tom Tromey <tromey@redhat.com>
1180
1181 * Makefile.in: Rebuilt.
1182 * Makefile.am (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.lo):
1183 Fixed typo.
1184
1185 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1186
1187 * java/awt/Menu.java (AccessibleAWTMenu, getAccessibleContext):
1188 Implement.
1189 * java/awt/PopupMenu.java (AccessibleAWTMenu, getAccessibleContext):
1190 Implement.
1191
1192 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1193
1194 * java/awt/print/PrinterJob.java (lookupPrintServices,
1195 getPrintService, setPrintService): Implement.
1196 (lookupStreamPrintServices): Add commented out implementation.
1197 (printer): New field.
1198
1199 2004-11-30 Mark Wielaard <mark@klomp.org>
1200
1201 * javax/swing/ToolTipManager.java (mouseMoved): Set currentComponent
1202 when not yet set.
1203
1204 2004-11-30 Sven de Marothy <sven@physto.se>
1205
1206 * java/awt/geom/GeneralPath.java (evaluateCrossings):
1207 Fixed epsilon value, should always be nonzero.
1208
1209 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
1210
1211 * java/awt/image/Raster.java
1212 (createPackedRaster): Implemented.
1213
1214 2004-11-30 Graydon Hoare <graydon@redhat.com>
1215
1216 * javax/swing/plaf/basic/BasicTextUI.java:
1217 Listen to focus events, indicate focus via caret.
1218 * javax/swing/text/GapContent.java (getString): Return substring.
1219 * javax/swing/text/PlainDocument.java (reindex): New method.
1220 (createDefaultRoot): Call it.
1221 (insertUpdate): Likewise.
1222 (removeUpdate): Likewise.
1223 * javax/swing/text/Utilities.java (drawTabbedText): Always advance
1224 on tab and newline, even if no painting happens.
1225
1226 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1227
1228 * Makefile.am: List peer JNI header: Java source file
1229 dependencies explicitly. Likewise for JNI .lo: JNI header
1230 dependencies.
1231 * Makefile.in: Regenerate.
1232
1233 2004-11-30 Graydon Hoare <graydon@redhat.com>
1234
1235 * Makefile.am: Add entry for BasicTextPaneUI.java
1236 * Makefile.in: Regenerate.
1237 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1238 (GdkGraphics2D): Set clip after transform.
1239 (drawImage): Protect against null image.
1240 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1241 (setIconImage): Protect against non-GtkImage args.
1242 * gnu/java/awt/peer/gtk/GtkToolkit.java
1243 (checkImage): Protect against non-GtkImage args.
1244 * java/awt/print/PrinterJob.java:
1245 (print): Add variant taking PrintRequestAttributeSet.
1246 (printDialog): Likewise.
1247 * javax/swing/JComponent.java:
1248 (transferHandler): New field.
1249 (getComponentGraphics): Build new Graphics for each sub-paint.
1250 (getTransferHandler): New method.
1251 (setTransferHandler): New method.
1252 * javax/swing/JDesktopPane.java
1253 (setDragMode): Force LIVE_DRAG_MODE.
1254 * javax/swing/JMenuItem.java
1255 (menuSelectionChanged): Protect against null parent.
1256 * javax/swing/JTable.java (setDefaultRenderer): New method.
1257 * javax/swing/JTree.java: Get basic ctors and UI working.
1258 * javax/swing/JViewport.java (JViewport): Set scroll mode.
1259 * javax/swing/RepaintManager.java
1260 (addDirtyRegion): Skip empty regions.
1261 * javax/swing/ScrollPaneLayout.java (minimumLayoutSize): Do not
1262 bound scrollpane minimum by central view minimum.
1263 * javax/swing/ToolTipManager.java
1264 (showTip): Guard against null component.
1265 * javax/swing/TransferHandler.java: Stub out.
1266 * javax/swing/plaf/basic/BasicLookAndFeel.java:
1267 Add entry for TextPaneUI, change Tree icons to pngs.
1268 * javax/swing/plaf/basic/BasicMenuItemUI.java:
1269 (installDefaults): Set text position and alignment.
1270 (paintMenuItem): Layout icon with normal compound function.
1271 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
1272 (getMaximumSize): Delete.
1273 (getMinimumSize): Delete.
1274 (getPreferredSize): Use column model's total width.
1275 * javax/swing/plaf/basic/BasicTextPaneUI.java: New file.
1276 * javax/swing/plaf/basic/BasicTextUI.java
1277 (modelChanged): Make resilient against nulls.
1278 * javax/swing/plaf/basic/BasicTreeUI.java:
1279 Add some simplistic config / painting functions.
1280 * javax/swing/plaf/basic/BasicViewportUI.java
1281 (paintSimple): Add new non-backingstore paint mode.
1282 (paintBackingStore): Split out backing store code.
1283 (paint): Switch on painting mode.
1284 * javax/swing/text/SimpleAttributeSet.java
1285 (SimpleAttributeSet): Resist nulls.
1286 * javax/swing/tree/DefaultTreeCellRenderer.java: Implement.
1287 * javax/swing/tree/DefaultTreeModel.java: Partially implement.
1288
1289 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1290
1291 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (setFont):
1292 Set pango context's description and language.
1293
1294 2004-11-30 Mark Wielaard <mark@klomp.org>
1295
1296 * java/awt/image/LookupOp.java: Comments and indentation fixes.
1297
1298 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1299
1300 * java/awt/Checkbox.java (AccessibleAWTCheckBox): Implement.
1301 (getAccessibleContext): Implement.
1302
1303 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1304
1305 * java/awt/TextComponent.java (AccessibleAWTTextComponent):
1306 Implement.
1307 (getIndexAtPoint, getCharacterBounds): New methods.
1308
1309 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1310
1311 * java/awt/Button.java (AccessibleAWTButton): Implement.
1312
1313 2004-11-30 Mark Wielaard <mark@klomp.org>
1314
1315 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1316 (filenameFilterCallback): Made static.
1317
1318 2004-11-30 Michael Koch <konqueror@gmx.de>
1319
1320 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1321 (cairoShowGlyphs) Removed.
1322
1323 2004-11-30 Sven de Marothy <sven@physto.se>
1324
1325 * gnu/java/awt/color/RgbProfileConverter.java (RgbProfileConverter):
1326 Don't invert matrix when reverse CLUT is available.
1327 * gnu/java/awt/color/LinearRGBConverter.java: Documentation update.
1328 * java/awt/color/ICC_ColorSpace.java: Likewise.
1329 * java/awt/color/ICC_Profile.java: Likewise.
1330 * java/awt/color/ICC_ProfileGray.java: Likewise.
1331 * java/awt/color/ICC_ProfileRGB.java: Likewise.
1332
1333 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1334
1335 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Implement.
1336
1337 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1338
1339 * java/awt/Choice.java (AccessibleAWTChoice): Implement.
1340
1341 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1342
1343 * java/awt/image/BandedSampleModel.java (scanlineStride): Remove
1344 field hiding ComponentSampleModel.scanlineStride.
1345
1346 2004-11-30 Noa Resare <noa@resare.com>
1347
1348 * java/awt/geom/GeneralPath.java (currentSegment):
1349 Fix typo in transform.transform() invocation.
1350
1351 2004-11-30 Sven de Marothy <sven@physto.se>
1352
1353 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1354 (createImage): Created bitmap should be filled with bg color
1355
1356 2004-11-30 Noa Resare <noa@resare.com>
1357
1358 * java/awt/Choice.java (add):
1359 Implement correct selection behavior when peer == null.
1360 (insert): Likewise.
1361 (remove): Likewise.
1362
1363 2004-11-30 Mark Wielaard <mark@klomp.org>
1364
1365 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
1366 Call select() when Choice has a selected item.
1367
1368 2004-11-30 Michael Koch <address@bogus.example.com>
1369
1370 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
1371 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
1372 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
1373 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c,
1374 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
1375 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
1376 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
1377 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
1378 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
1379 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
1380 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
1381 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1382 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
1383 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
1384 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
1385 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
1386 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
1387 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
1388 Fixed method names to start at begin of line. This is desired by GNU
1389 coding style guide.
1390
1391 2004-11-30 Michael Koch <konqueror@gmx.de>
1392
1393 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1394 (gtkWidgetSetVisible): Unused. Removed.
1395 (connectJObject): Likewise.
1396 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
1397 (gtkScrolledWindowSetScrollPosition): Commented out.
1398
1399 2004-11-30 Mark Wielaard <mark@klomp.org>
1400
1401 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
1402 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_setText): Installed and
1403 renamed from Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText.
1404
1405 2004-11-30 Mark Wielaard <mark@klomp.org>
1406
1407 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
1408 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText): Removed.
1409 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1410 (init_dpi_conversion_factor): Correct prototype.
1411
1412 2004-11-30 Sven de Marothy <sven@physto.se>
1413
1414 * java/awt/image/ConvolveOp.java: Added missing
1415 copyright notice.
1416
1417 2004-11-30 Robert Schuster <theBohemian@gmx.net>
1418
1419 Fixes bug #10908
1420 * gnu/java/beans/IntrospectionIncubator.java:
1421 (addMethod): static methods are discarded now, too.
1422
1423 2004-11-30 Mark Wielaard <mark@klomp.org>
1424
1425 * Makefile.am (awt_java_source_files): Add new gnu/java/awt/color
1426 java source files.
1427 * Makefile.in: Regenerated.
1428
1429 2004-11-30 Sven de Marothy <sven@physto.se>
1430
1431 * gnu/java/awt/color/CieXyzConverter.java,
1432 gnu/java/awt/color/GrayScaleConverter.java,
1433 gnu/java/awt/color/SrgbConverter.java,
1434 gnu/java/awt/color/ClutProfileConverter.java,
1435 gnu/java/awt/color/LinearRGBConverter.java,
1436 gnu/java/awt/color/TagEntry.java,
1437 gnu/java/awt/color/ColorLookUpTable.java,
1438 gnu/java/awt/color/ProfileHeader.java,
1439 gnu/java/awt/color/ToneReproductionCurve.java,
1440 gnu/java/awt/color/ColorSpaceConverter.java,
1441 gnu/java/awt/color/PyccConverter.java,
1442 gnu/java/awt/color/GrayProfileConverter.java,
1443 gnu/java/awt/color/RgbProfileConverter.java:
1444 New files.
1445 * java/awt/color/ICC_ColorSpace.java,
1446 java/awt/color/ICC_Profile.java,
1447 java/awt/color/ICC_ProfileGray.java,
1448 java/awt/color/ICC_ProfileRGB.java:
1449 Implemented (sans PhotoYCC color space).
1450
1451 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1452
1453 * java/awt/image/AffineTransformOp.java (filter): Implement
1454 bilinear interpolation for Rasters.
1455
1456 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1457
1458 * java/awt/image/IndexColorModel.java (IndexColorModel): Actually
1459 use the provided colormap. Throw documented exceptions. Document
1460 exceptions.
1461
1462 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
1463
1464 * java/awt/image/IndexColorModel.java (IndexColorModel): Fix
1465 constructor.
1466
1467 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1468
1469 * java/awt/image/AffineTransformOp.java: Add TYPE_BICUBIC.
1470
1471 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1472
1473 * java/awt/image/AffineTransformOp.java (filter): Implement Raster
1474 filtering.
1475
1476 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1477
1478 * java/awt/image/ComponentSampleModel.java (getDataElements,
1479 setDataElements): Implement SHORT, FLOAT, and INT transfer types.
1480
1481 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1482
1483 * java/awt/Font.java (name): New field.
1484 (size): Likewise.
1485 (style): Likewise.
1486
1487 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1488
1489 * java/awt/image/Raster.java (createBandedRaster): Implement.
1490
1491 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1492
1493 * java/awt/image/ConvolveOp.java: New class.
1494 * Makefile.am: Add ConvolveOp.
1495 * Makefile.in: Regenerate.
1496
1497 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1498
1499 * java/awt/image/RescaleOp.java (BandCombineOp, ColorConvertOp,
1500 LookupOp, RescaleOp): Fix loop bounds.
1501
1502 2004-11-30 jlquinn <jlquinn@optonline.net>
1503
1504 * Makefile.am: Fix typo in BandCombineOp.
1505 * Makefile.in: Regenerate.
1506
1507 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1508
1509 * java/awt/image/BandCombineOp.java: New class.
1510 * Makefile.am: Add BandCombineOp.
1511 * Makefile.in: Regenerate.
1512
1513 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1514
1515 * java/awt/image/LookupOp.java: New class.
1516 * Makefile.am: Add LookupOp.
1517 * Makefile.in: Regenerate.
1518
1519 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1520
1521 * java/awt/image/SampleModel.java (createSubsetSampleModel): Add
1522 javadocs.
1523
1524 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1525
1526 * java/awt/image/ColorModel.java (cloneColorModel): Fix line
1527 wrap. Use Boolean.valueOf.
1528
1529 2004-11-30 Michael Koch <konqueror@gmx.de>
1530
1531 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1532 (releasePeerGraphicsResource): Fixed typo in method name.
1533 * gnu/java/awt/peer/gtk/GdkFontPeer.java
1534 (finalize): Fixed typo in releasePeerGraphicsResource.
1535
1536 2004-11-30 Michael Koch <konqueror@gmx.de>
1537
1538 * java/awt/font/TextAttribute.java
1539 (RUN_DIRECTION_LTR): Initialie with static value instead of
1540 calculating it.
1541 (RUN_DIRECTION_RTL): Likewise.
1542 (STRIKETHROUGH_ON): Likewise.
1543 (SWAP_COLORS_ON): Likewise.
1544
1545 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
1546
1547 * java/awt/image/ColorConvertOp.java: New class.
1548 * java/awt/image/ColorModel.java (cloneColorModel): New method.
1549 * Makefile.am: Add ColorConvertOp.
1550 * Makefile.in: Regenerate.
1551
1552 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1553
1554 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
1555 Track Window focus owner on FOCUS_GAINED events.
1556
1557 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1558
1559 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
1560 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1561
1562 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
1563
1564 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
1565 (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
1566 Fix pointer warning.
1567
1568 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
1569
1570 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1571 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
1572 Fix pointer warning.
1573
1574 * jni/gtk-peer/gtkpeer.h: Introduce widget_union to fix type punned
1575 warnings.
1576 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1577 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Use widget_union
1578 to fix type punned pointer warning.
1579 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
1580 Likewise.
1581
1582 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1583 (window_get_new_state): Introduce unions to fix warnings as above.
1584 (window_property_changed_cb): Likewise.
1585 (window_active_state_change_cb): Mark unused variables unused.
1586 (window_focus_state_change_cb): Likewise.
1587 (window_focus_in_cb): Likewise.
1588 (window_focus_out_cb): Likewise.
1589
1590 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
1591 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Convert
1592 PangoFontMap correctly with PANGO_FT2FONT_MAP macro.
1593
1594 2004-11-30 Michael Koch <konqueror@gmx.de>
1595
1596 * javax/swing/JMenuBar.java
1597 (updateUI): Simplified.
1598 * javax/swing/tree/DefaultTreeSelectionModel.java:
1599 Reorganized import statements.
1600
1601 2004-11-30 Michael Koch <konqueror@gmx.de>
1602
1603 * java/awt/font/TextAttribute.java,
1604 javax/swing/JComponent.java,
1605 javax/swing/JInternalFrame.java,
1606 javax/swing/table/TableColumn.java,
1607 javax/swing/text/StyleConstants.java:
1608 Replaced "new Boolean(boolean)" with "Boolean.valueOf(boolean)".
1609
1610 2004-11-30 Michael Koch <konqueror@gmx.de>
1611
1612 * javax/swing/tree/DefaultTreeCellEditor.java,
1613 javax/swing/tree/DefaultTreeModel.java,
1614 javax/swing/tree/DefaultTreeSelectionModel.java:
1615 Jalopied.
1616
1617 2004-11-30 Michael Koch <konqueror@gmx.de>
1618
1619 * javax/swing/tree/DefaultTreeCellEditor.java
1620 (EditorContainer.EditorContainer): Fixed arguments.
1621 (EditorContainer.EditorContainer): New method.
1622 (DefaultTextField.DefaultTextField): Fixed arguments, implemented.
1623 (DefaultTextField.getBorder): Implemented.
1624 (listenerList): New field.
1625 (addCellEditorListener): Implemented.
1626 (removeCellEditorListener): Implemented.
1627 (getCellEditorListeners): New method.
1628 * javax/swing/tree/DefaultTreeModel.java
1629 (addTreeModelListener): Fixed javadoc.
1630 (removeTreeModelListener): Likewise.
1631 (getTreeModelListeners): New method.
1632 (fireTreeNodesChanged): Implemented.
1633 (fireTreeNodesInserted): Likewise.
1634 (fireTreeNodesRemoved): Likewise.
1635 (fireTreeStructureChanged): Likewise.
1636 (getListeners): Fixed javadoc.
1637 * javax/swing/tree/DefaultTreeSelectionModel.java
1638 (addTreeSelectionListener): Implemented.
1639 (removeTreeSelectionListener): Likewise.
1640 (fireValueChanged): Likewise.
1641 (getListeners): Likewise.
1642 (addPropertyChangeListener): Likewise.
1643 (removePropertyChangeListener): Likewise.
1644 (getTreeSelectionListeners): New method.
1645 (getPropertyChangeListeners): Likewise.
1646
1647 2004-11-30 Michael Koch <konqueror@gmx.de>
1648
1649 * javax/swing/plaf/basic/BasicScrollBarUI.java
1650 (maximumThumbSize): Removed static keyword.
1651 (minimumThumbSize): Likewise.
1652 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
1653 (CloseAction): Made public.
1654 (IconifyAction): Likewise.
1655 (MaximizeAction): Likewise.
1656 (MoveAction): Likewise.
1657 (RestoreAction): Likewise.
1658 (SizeAction): Likewise.
1659 (SystemMenuBar): Likewise.
1660 * javax/swing/plaf/basic/BasicSliderUI.java
1661 (TrackListener): Likewise.
1662 * javax/swing/plaf/basic/BasicSplitPaneUI.java
1663 (KeyboardDownRightHandler): Likewise.
1664 (KeyboardEndHandler): Likewise.
1665 (KeyboardHomeHandler): Likewise.
1666 (KeyboardResizeToggleHandler): Likewise.
1667 (KeyboardUpLeftHandler): Likewise.
1668 (PropertyHandler): Likewise.
1669 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1670 (PropertyChangeHandler): Likewise.
1671 (TabSelectionHandler): Likewise.
1672
1673 2004-11-30 Michael Koch <konqueror@gmx.de>
1674
1675 * javax/swing/text/JTextComponent.java
1676 (getKeymap): Made public.
1677
1678 2004-11-30 Michael Koch <konqueror@gmx.de>
1679
1680 * javax/swing/JEditorPane.java
1681 (getStream): Throws IOException.
1682 (read): Likewise.
1683 * javax/swing/JRootPane.java
1684 (createContentPane): Fixed return type.
1685 * javax/swing/JSpinner.java
1686 (commitEdit): Throws ParseException.
1687 * javax/swing/plaf/metal/MetalLookAndFeel.java
1688 (serialVersionUID): New field.
1689 * javax/swing/table/TableColumn.java
1690 (resizedPostingDisableCount): Added @deprecated tag.
1691 (disableResizedPosting): Likewise.
1692 (enableResizedPosting): Likewise.
1693 * javax/swing/text/Document.java
1694 (TitleProperty): Fixed value.
1695 * javax/swing/tree/TreeCellEditor.java
1696 (TreeCellEditor): Extends CellEditor.
1697
1698 2004-11-30 Michael Koch <konqueror@gmx.de>
1699
1700 * javax/swing/JWindow.java
1701 javax/swing/SpinnerModel.java
1702 javax/swing/Timer.java
1703 javax/swing/event/MenuKeyEvent.java
1704 javax/swing/plaf/basic/BasicButtonUI.java
1705 javax/swing/plaf/basic/BasicIconFactory.java
1706 javax/swing/plaf/basic/BasicTabbedPaneUI.java
1707 javax/swing/text/AttributeSet.java
1708 javax/swing/text/Highlighter.java
1709 javax/swing/text/StyleConstants.java
1710 javax/swing/tree/TreeCellEditor.java:
1711 Removed redundant and reordered modifiers.
1712
1713 2004-11-30 Michael Koch <konqueror@gmx.de>
1714
1715 * javax/swing/plaf/basic/BasicToolTipUI.java:
1716 Reformatted copyright header.
1717
1718 2004-11-30 Michael Koch <konqueror@gmx.de>
1719
1720 * javax/swing/AbstractAction.java,
1721 javax/swing/AbstractButton.java,
1722 javax/swing/AbstractCellEditor.java,
1723 javax/swing/AbstractListModel.java,
1724 javax/swing/AbstractSpinnerModel.java,
1725 javax/swing/ActionMap.java,
1726 javax/swing/BorderFactory.java,
1727 javax/swing/Box.java,
1728 javax/swing/ButtonModel.java,
1729 javax/swing/CellEditor.java,
1730 javax/swing/CellRendererPane.java,
1731 javax/swing/DefaultBoundedRangeModel.java,
1732 javax/swing/DefaultButtonModel.java,
1733 javax/swing/DefaultCellEditor.java,
1734 javax/swing/DefaultDesktopManager.java,
1735 javax/swing/DefaultListCellRenderer.java,
1736 javax/swing/DefaultListSelectionModel.java,
1737 javax/swing/DefaultSingleSelectionModel.java,
1738 javax/swing/GrayFilter.java,
1739 javax/swing/InputMap.java,
1740 javax/swing/JApplet.java,
1741 javax/swing/JCheckBoxMenuItem.java,
1742 javax/swing/JColorChooser.java,
1743 javax/swing/JComboBox.java,
1744 javax/swing/JComponent.java,
1745 javax/swing/JDesktopPane.java,
1746 javax/swing/JDialog.java,
1747 javax/swing/JEditorPane.java,
1748 javax/swing/JFileChooser.java,
1749 javax/swing/JFormattedTextField.java,
1750 javax/swing/JFrame.java,
1751 javax/swing/JInternalFrame.java,
1752 javax/swing/JLabel.java,
1753 javax/swing/JLayeredPane.java,
1754 javax/swing/JList.java,
1755 javax/swing/JMenu.java,
1756 javax/swing/JMenuBar.java,
1757 javax/swing/JMenuItem.java,
1758 javax/swing/JOptionPane.java,
1759 javax/swing/JPanel.java,
1760 javax/swing/JPasswordField.java,
1761 javax/swing/JPopupMenu.java,
1762 javax/swing/JRadioButtonMenuItem.java,
1763 javax/swing/JRootPane.java,
1764 javax/swing/JSpinner.java,
1765 javax/swing/JSplitPane.java,
1766 javax/swing/JTabbedPane.java,
1767 javax/swing/JTable.java,
1768 javax/swing/JTextArea.java,
1769 javax/swing/JTextPane.java,
1770 javax/swing/JToggleButton.java,
1771 javax/swing/JToolBar.java,
1772 javax/swing/JToolTip.java,
1773 javax/swing/JTree.java,
1774 javax/swing/JViewport.java,
1775 javax/swing/ListModel.java,
1776 javax/swing/LookAndFeel.java,
1777 javax/swing/MenuSelectionManager.java,
1778 javax/swing/ProgressMonitorInputStream.java,
1779 javax/swing/RepaintManager.java,
1780 javax/swing/RootPaneContainer.java,
1781 javax/swing/ScrollPaneLayout.java,
1782 javax/swing/SpringLayout.java,
1783 javax/swing/SwingUtilities.java,
1784 javax/swing/Timer.java,
1785 javax/swing/ToolTipManager.java,
1786 javax/swing/UIDefaults.java,
1787 javax/swing/UIManager.java,
1788 javax/swing/border/MatteBorder.java,
1789 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1790 javax/swing/colorchooser/ColorSelectionModel.java,
1791 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1792 javax/swing/colorchooser/DefaultHSBChooserPanel.java,
1793 javax/swing/colorchooser/DefaultPreviewPanel.java,
1794 javax/swing/colorchooser/DefaultRGBChooserPanel.java,
1795 javax/swing/colorchooser/DefaultSwatchChooserPanel.java,
1796 javax/swing/event/AncestorEvent.java,
1797 javax/swing/event/HyperlinkEvent.java,
1798 javax/swing/event/InternalFrameEvent.java,
1799 javax/swing/event/MenuDragMouseEvent.java,
1800 javax/swing/event/TableColumnModelEvent.java,
1801 javax/swing/event/TableModelEvent.java,
1802 javax/swing/event/TreeExpansionEvent.java,
1803 javax/swing/event/TreeModelEvent.java,
1804 javax/swing/event/TreeSelectionEvent.java,
1805 javax/swing/event/TreeWillExpandListener.java,
1806 javax/swing/event/UndoableEditEvent.java,
1807 javax/swing/filechooser/FileView.java,
1808 javax/swing/plaf/BorderUIResource.java,
1809 javax/swing/plaf/ComponentUI.java,
1810 javax/swing/plaf/FileChooserUI.java,
1811 javax/swing/plaf/IconUIResource.java,
1812 javax/swing/plaf/ListUI.java,
1813 javax/swing/plaf/PopupMenuUI.java,
1814 javax/swing/plaf/SplitPaneUI.java,
1815 javax/swing/plaf/TabbedPaneUI.java,
1816 javax/swing/plaf/TextUI.java,
1817 javax/swing/plaf/TreeUI.java,
1818 javax/swing/plaf/basic/BasicArrowButton.java,
1819 javax/swing/plaf/basic/BasicBorders.java,
1820 javax/swing/plaf/basic/BasicButtonUI.java,
1821 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
1822 javax/swing/plaf/basic/BasicColorChooserUI.java,
1823 javax/swing/plaf/basic/BasicComboBoxEditor.java,
1824 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
1825 javax/swing/plaf/basic/BasicComboBoxUI.java,
1826 javax/swing/plaf/basic/BasicComboPopup.java,
1827 javax/swing/plaf/basic/BasicDesktopIconUI.java,
1828 javax/swing/plaf/basic/BasicDesktopPaneUI.java,
1829 javax/swing/plaf/basic/BasicIconFactory.java,
1830 javax/swing/plaf/basic/BasicInternalFrameTitlePane.java,
1831 javax/swing/plaf/basic/BasicInternalFrameUI.java,
1832 javax/swing/plaf/basic/BasicListUI.java,
1833 javax/swing/plaf/basic/BasicLookAndFeel.java,
1834 javax/swing/plaf/basic/BasicMenuBarUI.java,
1835 javax/swing/plaf/basic/BasicMenuItemUI.java,
1836 javax/swing/plaf/basic/BasicMenuUI.java,
1837 javax/swing/plaf/basic/BasicOptionPaneUI.java,
1838 javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java,
1839 javax/swing/plaf/basic/BasicPopupMenuUI.java,
1840 javax/swing/plaf/basic/BasicProgressBarUI.java,
1841 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
1842 javax/swing/plaf/basic/BasicRootPaneUI.java,
1843 javax/swing/plaf/basic/BasicScrollBarUI.java,
1844 javax/swing/plaf/basic/BasicSeparatorUI.java,
1845 javax/swing/plaf/basic/BasicSliderUI.java,
1846 javax/swing/plaf/basic/BasicSpinnerUI.java,
1847 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1848 javax/swing/plaf/basic/BasicSplitPaneUI.java,
1849 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1850 javax/swing/plaf/basic/BasicTableHeaderUI.java,
1851 javax/swing/plaf/basic/BasicTableUI.java,
1852 javax/swing/plaf/basic/BasicTextAreaUI.java,
1853 javax/swing/plaf/basic/BasicTextFieldUI.java,
1854 javax/swing/plaf/basic/BasicTextUI.java,
1855 javax/swing/plaf/basic/BasicToolBarSeparatorUI.java,
1856 javax/swing/plaf/basic/BasicToolBarUI.java,
1857 javax/swing/plaf/basic/BasicToolTipUI.java,
1858 javax/swing/plaf/basic/BasicTreeUI.java,
1859 javax/swing/plaf/basic/BasicViewportUI.java,
1860 javax/swing/plaf/basic/ComboPopup.java,
1861 javax/swing/table/AbstractTableModel.java,
1862 javax/swing/table/DefaultTableCellRenderer.java,
1863 javax/swing/table/DefaultTableColumnModel.java,
1864 javax/swing/table/DefaultTableModel.java,
1865 javax/swing/table/JTableHeader.java,
1866 javax/swing/table/TableCellEditor.java,
1867 javax/swing/table/TableCellRenderer.java,
1868 javax/swing/table/TableColumn.java,
1869 javax/swing/table/TableColumnModel.java,
1870 javax/swing/text/AbstractDocument.java,
1871 javax/swing/text/Caret.java,
1872 javax/swing/text/DefaultCaret.java,
1873 javax/swing/text/DefaultEditorKit.java,
1874 javax/swing/text/DefaultHighlighter.java,
1875 javax/swing/text/EditorKit.java,
1876 javax/swing/text/JTextComponent.java,
1877 javax/swing/text/LayeredHighlighter.java,
1878 javax/swing/text/PasswordView.java,
1879 javax/swing/text/SimpleAttributeSet.java,
1880 javax/swing/text/StyleConstants.java,
1881 javax/swing/text/StyleContext.java,
1882 javax/swing/text/StyledEditorKit.java,
1883 javax/swing/text/TextAction.java,
1884 javax/swing/text/View.java,
1885 javax/swing/tree/AbstractLayoutCache.java,
1886 javax/swing/tree/DefaultTreeCellRenderer.java,
1887 javax/swing/tree/DefaultTreeModel.java,
1888 javax/swing/tree/DefaultTreeSelectionModel.java,
1889 javax/swing/tree/FixedHeightLayoutCache.java,
1890 javax/swing/tree/TreeCellRenderer.java,
1891 javax/swing/tree/TreeSelectionModel.java,
1892 javax/swing/tree/VariableHeightLayoutCache.java,
1893 javax/swing/undo/AbstractUndoableEdit.java,
1894 javax/swing/undo/UndoableEditSupport.java:
1895 Imports cleaned up.
1896
1897 2004-11-30 Michael Koch <konqueror@gmx.de>
1898
1899 * java/awt/Container.java,
1900 java/awt/Font.java,
1901 java/awt/font/TextLayout.java:
1902 Imports cleaned up.
1903
1904 2004-11-30 Michael Koch <konqueror@gmx.de>
1905
1906 * javax/swing/AbstractButton.java
1907 (getLabel): Added @deprecated tag.
1908 (setLabel): Likewise.
1909 * javax/swing/FocusManager.java
1910 (disableSwingFocusManager): Likewise.
1911 (isFocusManagerEnabled): Likewise.
1912 * javax/swing/JComponent.java
1913 (isManagingFocus): Added version to @deprecated tag.
1914 (getNextFocusableComponent): Moved @deprecated tag to bottom of
1915 javadoc.
1916 (getConditionForKeyStroke): Likewise.
1917 (getActionForKeyStroke): Likewise.
1918 * javax/swing/JDesktopPane.java
1919 (LIVE_DRAG_MODE): Added @specnote tag.
1920 (OUTLINE_DRAG_MODE): Likewise.
1921 * javax/swing/JInternalFrame.java
1922 (MENU_BAR_PROPERTY): Fixed value.
1923 (getMenuBar): Added @deprecated tag.
1924 (setMenuBar): Likewise.
1925 * javax/swing/JViewport.java
1926 (isBackingStoreEnabled): Likewise.
1927 (setBackingStoreEnabled): Likewise.
1928 * javax/swing/plaf/basic/BasicDesktopPaneUI.java
1929 (closeKey): Likewise.
1930 (maximizeKey): Likewise.
1931 (minimizeKey): Likewise.
1932 (navigateKey): Likewise.
1933 (navigateKey2): Likewise.
1934 * javax/swing/plaf/basic/BasicInternalFrameUI.java
1935 (openMenuKey): Likewise.
1936 * javax/swing/plaf/basic/BasicSplitPaneUI.java
1937 (keyboardDownRightListener): Likewise.
1938 (keyboardEndListener): Likewise.
1939 (keyboardHomeListener): Likewise.
1940 (keyboardResizeToggleListener): Likewise.
1941 (keyboardUpLeftListener): Likewise.
1942 (dividerResizeToggleKey): Likewise.
1943 (downKey): Likewise.
1944 (endKey): Likewise.
1945 (homeKey): Likewise.
1946 (leftKey): Likewise.
1947 (rightKey): Likewise.
1948 (upKey): Likewise.
1949 (createKeyboardUpLeftListener): Likewise.
1950 (createKeyboardDownRightListener): Likewise.
1951 (createKeyboardHomeListener): Likewise.
1952 (createKeyboardEndListener): Likewise.
1953 (createKeyboardResizeToggleListener): Likewise.
1954 (getDividerBorderSize): Likewise.
1955 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1956 (downKey): Likewise.
1957 (leftKey): Likewise.
1958 (rightKey): Likewise.
1959 (upKey): Likewise.
1960
1961 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
1962
1963 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1964 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Use the
1965 GTK_TEXT_VIEW macro.
1966
1967 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1968 (connect_awt_hook_cb): Mark unused variable unused.
1969
1970 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (selection_get):
1971 Do the cast right.
1972
1973 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1974 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): According to
1975 the gtk API gtk_combo_box_new_text actually returns a GtkWidget.
1976 Remove unused var menu.
1977 (selection_changed): Remove unused value.
1978
1979 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1980 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_setNativeBounds): Fix pointer
1981 warning with using an intermediate variable.
1982
1983 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1984 (area_updated): Fix unused var warning for BE archs.
1985
1986 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1987 (Java_gnu_java_awt_peer_gtk_GdkGraphics_connectSignals): Remove unused
1988 var.
1989 (realize_cb): Mark unused variable unused.
1990
1991 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1992 (seek_glyphstring_idx): Fix a C90 warning.
1993
1994 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
1995 (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
1996 Mark unused arguments unused.
1997
1998 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
1999 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_initState),
2000 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setGlyphCodes),
2001 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphCharIndex),
2002 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphIsHorizontal):
2003 Likewise.
2004
2005 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
2006 (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerFontMetrics),
2007 (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerTextMetrics):
2008 Likewise.
2009
2010 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2011 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
2012 Likewise.
2013 (filenameFilterCallback): Remove unused var.
2014 (handle_response): Declare str_fileName and remove last else statement.
2015
2016 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
2017 New File.
2018 (nativeGetNumFontsFamilies) New function.
2019 (nativeGetFontFamilies) Likewise.
2020 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
2021 (getAvailableFontFamilyNames): Implement.
2022 * Makefile.am (gtk_c_source_files): Add GdkGraphicsEnvironment.c.
2023 * Makefile.in: Regenerate.
2024
2025 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2026
2027 * gnu/java/awt/peer/ClasspathFontPeer.java
2028 (setStandardAttributes(String,Map)): If size attribute doesn't
2029 exist, default to size 12. Clamp size value to a minimum of 1.
2030
2031 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
2032
2033 * javax/swing/JDialog.java
2034 (decorated): Likewise.
2035 * javax/swing/JFrame.java
2036 (defaultLookAndFeelDecorated): Likewise.
2037
2038 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
2039
2040 * javax/swing/plaf/basic/BasicToolBarUI.java
2041 (offset, regular): Made final.
2042 * javax/swing/plaf/basic/BasicScrollBarUI.java
2043 (DECREASE_HIGHLIGHT, INCREASE_HIGHLIGHT, NO_HIGHLIGHT,
2044 POSITIVE_SCROLL, NEGATIVE_SCROLL): Made final.
2045
2046 2004-11-30 Michael Koch <konqueror@gmx.de>
2047
2048 * gnu/java/awt/BitwiseXORComposite.java,
2049 gnu/java/awt/ClasspathToolkit.java,
2050 gnu/java/awt/image/XBMDecoder.java,
2051 gnu/java/awt/peer/GLightweightPeer.java,
2052 gnu/java/awt/peer/gtk/GdkGlyphVector.java:
2053 Reorganized import statements.
2054
2055 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
2056
2057 * java/awt/Button.java
2058 (next_button_number): Removed useless initializer.
2059 * java/awt/Frame.java
2060 (next_frame_number): Likewise.
2061 * java/awt/Panel.java
2062 (next_panel_number): Likewise,
2063 * java/awt/Scrollbar.java
2064 (next_scrollbar_number): Likewise.
2065 * java/awt/TextArea.java
2066 (next_text_number): Likewise.
2067
2068 2004-11-30 Michael Koch <konqueror@gmx.de>
2069
2070 * java/awt/image/ByteLookupTable.java
2071 (ByteLookupTable) :Fixed HTML entities in javadocs.
2072 (lookupPixel): Fix case when dst is null.
2073 * java/awt/image/ShortLookupTable.java
2074 (ShortLookupTable) :Fixed HTML entities in javadocs.
2075 (lookupPixel): Fix case when dst is null.
2076 * java/awt/image/DataBufferByte.java,
2077 java/awt/image/DataBufferDouble.java,
2078 java/awt/image/DataBufferFloat.java,
2079 java/awt/image/DataBufferInt.java,
2080 java/awt/image/DataBufferShort.java,
2081 java/awt/image/DataBufferUShort.java:
2082 Fix initialization of bankData in constructors.
2083
2084 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2085
2086 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2087 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2088 (setNativeBounds): Set GtkEventBox, GtkButton and GtkLabel size
2089 requests.
2090 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2091 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2092 (setNativeBounds): Make package private. Set size request even
2093 if GTK parent is NULL.
2094 * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
2095 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
2096 (setNativeBounds): Set GtkEventBox and GtkLabel size requests.
2097
2098 2004-11-30 Mark Wielaard <mark@klomp.org>
2099
2100 Workaround for bug #17952.
2101 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2102 (request_frame_extents): Check window->window != NULL.
2103
2104 2004-11-30 Mark Wielaard <mark@klomp.org>
2105
2106 * jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.
2107
2108 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
2109
2110 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Use
2111 native_text_layout_state_table here.
2112
2113 * jni/gtk-peer/gdkfont.h: Mark native_text_layout_state_table extern.
2114
2115 2004-11-30 Mark Wielaard <mark@klomp.org>
2116
2117 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
2118 (setChars): Only call pango_itemize() when vec->glyphitems != NULL.
2119 Only call pango_shape() when gi->glyphs->num_glyphs > 0.
2120
2121 2004-11-30 Michael Koch <konqueror@gmx.de>
2122
2123 * gnu/java/awt/peer/gtk/GtkToolkit.java:
2124 Merged import statements.
2125
2126 2004-11-30 Michael Koch <konqueror@gmx.de>
2127
2128 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2129 (isBufferedImageGraphics): Simplified.
2130
2131 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
2132
2133 * javax/swing/JTree.java
2134 (isRootVisible): Fixed typo in method name.
2135 * javax/swing/JScrollBar.java
2136 (setValues): Likewise.
2137 * javax/swing/JScrollPane.java
2138 (createScrollListener): Call JScrollBar.setValues.
2139
2140 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2141
2142 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
2143 Don't call setParentAndBounds on GtkWindowPeers.
2144
2145 * java/awt/Component.java (static): Don't set default keyboard
2146 focus manager.
2147 * java/awt/KeyboardFocusManager.java
2148 (getCurrentKeyboardFocusManager): If current keyboard focus
2149 manager is null set a default.
2150
2151 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2152 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2153 (gtkWidgetSetBackground): New method.
2154 (block_expose_events_cb): New function.
2155 (connectSignals): Block the AWT's expose event processing on
2156 button press and release.
2157 (gtkSetLabel): Set text on proper widget.
2158 (gtkWidgetModifyFont): Modify font on proper widget.
2159 (gtkWidgetSetBackground): Set normal, active and prelight
2160 colours.
2161 (gtkWidgetSetForeground): Set forground colour of proper widget.
2162 (gtkActivate): Activate the correct widget.
2163 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
2164 Only clear rectangle if the backing component is not an event
2165 box.
2166 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2167 (beginNativeRepaintID): New variable.
2168 (endNativeRepaintID): Likewise.
2169 (gtkInit): Initialize new fields with method IDs.
2170 * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
2171 (endNativeRepaintID): Likewise.
2172
2173 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2174
2175 * javax/swing/JList.java (init): Revert accidental commit.
2176
2177 * gnu/java/awt/peer/gtk/GdkGraphics.java,
2178 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
2179 Call initComponentGraphics or connectSignals depending on
2180 component's realization status.
2181 (realize_cb): New function.
2182 (initComponentGraphics): New method.
2183 (connectSignals): New method.
2184 (clipRect): Return immediately if component is not realized.
2185 (setClip): Likewise.
2186 (translate): Likewise.
2187 (drawImage variants): Return false immediately if component is
2188 not realized.
2189 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2190 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2191 (connectSignals): New method.
2192 (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
2193 depending on component's realization status. Move other
2194 initialization calls to ...
2195 (initComponentGraphics2D): New method.
2196 (realize_cb): New function.
2197 (cairoSetMatrix): Return immediately if gr is NULL.
2198 (cairoNewPath): Likewise.
2199 (cairoRectangle): Likewise.
2200 (cairoClip): Likewise.
2201 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2202 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2203 (gtkWidgetRepaintArea): Remove method.
2204 (isRealized): New method.
2205 (GtkComponentPeer): Move setParent, connectJObject and setCursor
2206 calls to setParentAndBounds. Call setParentAndBounds.
2207 (setParentAndBounds): New method.
2208 (setComponentBounds): Return immediately if bounds are all zero.
2209 (repaint): Remove call to gtkWidgetRepaintArea. Return
2210 immediately if requested paint region is 0x0.
2211 (setCursor): New method.
2212 (gtkWidgetSetParent): Only set widget's parent if its parent is
2213 currently NULL.
2214 (setNativeBounds): Only set widget's bounds if it has a parent.
2215 (connectSignals): Don't call gtk_widget_realize. Connect
2216 "realize" signal to connect_awt_hook_cb handler.
2217 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
2218 New field.
2219 (beginValidate): Set isValidating true.
2220 (endValidate): Set parents and bounds for children first, then
2221 for this. Set isValidating false.
2222 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
2223 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2224 (connectJObject): Remove method.
2225 (connectSignals): Don't call gtk_widget_realize.
2226 * gnu/java/awt/peer/gtk/GtkListPeer.java,
2227 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
2228 (connectJObject): Remove method.
2229 (connectSignals): Don't call gtk_widget_realize.
2230 * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
2231 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
2232 (connectJObject): Remove method.
2233 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
2234 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
2235 (connectJObject): Remove method.
2236 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2237 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2238 (create): Don't call gtk_widget_realize.
2239 (connectJObject): Remove method.
2240 (connectSignals): Don't call gtk_widget_realize. Connect
2241 "realize" signal to connect_awt_hook_cb handler.
2242 (nativeSetBounds): Don't attempt to move GDK window if it is
2243 NULL.
2244 * java/awt/Container.java (addImpl): Don't call comp.addNotify
2245 if peer is not null.
2246 (validateTree): Create peers for all children before calling
2247 doLayout.
2248 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2249 (connectSignals): Don't call gtk_widget_realize.
2250 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2251 (connect_awt_hook_cb): New function.
2252 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2253 (initComponentGraphicsID): New variable.
2254 (initComponentGraphics2DID): Likewise.
2255 (setCursorID): Likewise.
2256 (gtkInit): Initialize new fields with method IDs.
2257 * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
2258 extern.
2259 (initComponentGraphics2DID): Declare extern.
2260 (setCursorID): Likewise.
2261 (connect_awt_hook_cb): Declare function.
2262
2263 2004-11-30 Michael Koch <konqueror@gmx.de>
2264
2265 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
2266 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2267 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2268 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
2269 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2270 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2271 gnu/java/awt/peer/gtk/GtkClipboard.java,
2272 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
2273 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
2274 gnu/java/awt/peer/gtk/GtkFontPeer.java,
2275 gnu/java/awt/peer/gtk/GtkListPeer.java,
2276 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
2277 gnu/java/awt/peer/gtk/GtkToolkit.java,
2278 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
2279 Import statements reworked. Some little reformattings.
2280
2281 2004-11-30 Michael Koch <konqueror@gmx.de>
2282
2283 * java/awt/image/AffineTransformOp.java
2284 (TYPE_BILINEAR): Initialize with 2.
2285 * java/awt/print/Printable.java: Jalopied.
2286 (PAGE_EXISTS): Initialize with 0;
2287 (NO_SUCH_PAGE): Initialized with 1.
2288
2289 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2290
2291 * Makefile.am: Add BufferedImageFilter.java.
2292 * Makefile.in: Regenerate.
2293
2294 2004-11-30 Graydon Hoare <graydon@redhat.com>
2295
2296 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2297 (install_font_peer): Minor bug fixes to track cairo font semantics.
2298
2299 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2300
2301 * java/awt/image/BufferedImageFilter.java: Implement.
2302
2303 2004-11-30 Graydon Hoare <graydon@redhat.com>
2304
2305 * Makefile.am
2306 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c)
2307 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c)
2308 (gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java)
2309 (gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java): Remove.
2310 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c)
2311 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c)
2312 (gnu/java/awt/peer/gtk/GdkTextLayout.java)
2313 (gnu/java/awt/peer/gtk/GdkFontPeer.java)
2314 (gnu/java/awt/peer/ClasspathTextLayoutPeer.java): Add
2315 * Makefile.in: Regenerate.
2316 * gnu/awt/xlib/XToolkit.java
2317 (getClasspathTextLayoutPeer): Add stub.
2318 * gnu/java/awt/ClasspathToolkit.java
2319 (getClasspathTextLayoutPeer) Add.
2320 * gnu/java/awt/peer/ClasspathFontPeer.java
2321 (copyStyleToAttrs)
2322 (copySizeToAttrs): Make public.
2323 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
2324 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.
2325 * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
2326 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
2327 * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
2328 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
2329 * gnu/java/awt/peer/gtk/GdkGraphics.java
2330 (getFontPeer): New function.
2331 (drawString): Pass font peer to native side.
2332 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2333 (cairoSetFont)
2334 (cairoShowGlyphs)
2335 (PainterThread): Remove.
2336 (GdkGraphics2D): Set hints during construction.
2337 (shifted)
2338 (walkPath)
2339 (draw)
2340 (setRenderingHint)
2341 (setRenderingHints): Reimplement normalization logic.
2342 (getDefaultHints)
2343 (updateBufferedImage)
2344 (isBufferedImageGraphics)
2345 (updateImagePixels)
2346 (drawImage): Make final.
2347 (drawImage): Always paint synchronously.
2348 (drawString)
2349 (drawGlyphVector): Rewrite.
2350 (releasePeerGraphicResource)
2351 (getPeerTextMetrics)
2352 (getPeerFontMetrics)
2353 (drawGdkGlyphVector)
2354 (drawGdkTextLayout)
2355 (cairoDrawGdkGlyphVector)
2356 (cairoDrawGdkTextLayout)
2357 (cairoDrawString)
2358 (getFontPeer): New functions.
2359 * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
2360 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2361 (getFontMetrics): Get metrics via toolkit, to hit cache.
2362 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
2363 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2364 * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
2365 (fontCache)
2366 (metricsCache)
2367 (imageCache): New members.
2368 (getFontMetrics)
2369 (getImage)
2370 (getClasspathFontPeer): Use caches.
2371 (getFontPeer): Route through getClasspathFontPeer.
2372 * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
2373 * java/awt/font/TextLayout.java: Implement in terms of peer.
2374 * javax/swing/plaf/basic/BasicSliderUI.java
2375 (paintThumb): Use polyline rather than polygon.
2376 * javax/swing/plaf/basic/BasicGraphicsUtils.java:
2377 Update comment but, alas, still do not switch to using TextLayouts.
2378 * javax/swing/text/Utilities.java (drawTabbedText):
2379 Draw text run-at-a-time, not char-at-a-time.
2380 * jni/gtk-peer/gdkfont.h: Publicize some of the font interface, add
2381 layout table.
2382 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2383 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2384 Remove files.
2385 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Rewrite to
2386 incorporate brains of old GdkClasspathFontPeerMetrics.
2387 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Rewrite to
2388 incorporate brains of old GdkClasspathFontPeer.
2389 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: New file.
2390 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2391 (drawString): Rewrite to use persistent layout in peer font.
2392 Comment out extraneous gdk_flush calls.
2393 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2394 (metrics_cairo)
2395 (metrics_surface): New static variables.
2396 (paint_glyph_run)
2397 (install_font_peer): New helper functions.
2398 (releasePeerGraphicResource)
2399 (getPeerTextMetrics)
2400 (getPeerFontMetrics)
2401 (cairoDrawGdkTextLayout)
2402 (cairoDrawGdkGlyphVector): New native methods.
2403 (cairoDrawString): Rewrite, leaving layout-based version
2404 commented out for the time being.
2405 * jni/gtk-peer/gtkpeer.h (graphics): Add fields for pango stuff.
2406
2407 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
2408
2409 * java/awt/geom/AffineTransform.java:
2410 Fixed javadocs overall.
2411
2412 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2413
2414 * java/awt/image/ComponentColorModel.java: Remove FIXME comment since
2415 it's correct.
2416
2417 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2418
2419 * java/awt/image/IndexColorModel.java: Fix use of immutable
2420 BigIntegers.
2421
2422 2004-11-30 Tom Tromey <tromey@redhat.com>
2423
2424 * javax/swing/plaf/basic/BasicOptionPaneUI.java (MessageIcon):
2425 Renamed from 'messageIcon'.
2426 (errorIcon, infoIcon, warningIcon, questionIcon): Updated.
2427
2428 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2429
2430 * java/awt/image/RescaleOp.java: Fix formatting.
2431
2432 2004-11-30 Olga Rodimina <rodimina@redhat.com>
2433
2434 * javax/swing/plaf/basic/BasicComboPopup.java
2435 (SCROLL_DOWN): made final.
2436 (SCROLL_UP): made final.
2437
2438 2004-11-30 Olga Rodimina <rodimina@redhat.com>
2439
2440 * javax/swing/plaf/basic/BasicComboPopup.java:
2441 Added javadocs for undocumented fields.
2442 (show): scroll down to the selected item and
2443 highlight selected item.
2444 (startAutoScrolling): Implemented.
2445 (stopAutoScrolling): Implemented.
2446 (autoScrollUp): Implemented.
2447 (autoScrollDown): Implemented.
2448 (InvocationMouseHandler.mouseReleased): Implemented.
2449 (InvocationMouseMotionHandler.mouseDragged): Implemented.
2450
2451 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2452
2453 * java/awt/image/RescaleOp.java: Implement.
2454
2455 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2456
2457 * java/awt/image/IndexColorModel.java (getRGBs,
2458 convertToIntDiscrete): Implement.
2459
2460 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2461
2462 * java/awt/image/IndexColorModel.java: Add class docs.
2463
2464 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2465
2466 * java/awt/image/IndexColorModel.java (isValid, getValidPixels):
2467 Implement.
2468
2469 2004-11-30 Michael Koch <konqueror@gmx.de>
2470
2471 * java/awt/MenuBar.java,
2472 java/awt/peer/MenuBarPeer.java:
2473 Revert accidentally commited changes.
2474
2475 2004-11-30 Michael Koch <konqueror@gmx.de>
2476
2477 * java/awt/AWTKeyStroke.java,
2478 java/awt/Canvas.java,
2479 java/awt/CardLayout.java,
2480 java/awt/CheckboxMenuItem.java,
2481 java/awt/Component.java,
2482 java/awt/Container.java,
2483 java/awt/DefaultKeyboardFocusManager.java,
2484 java/awt/EventDispatchThread.java,
2485 java/awt/FileDialog.java,
2486 java/awt/FlowLayout.java,
2487 java/awt/Font.java,
2488 java/awt/Frame.java,
2489 java/awt/Graphics2D.java,
2490 java/awt/GraphicsEnvironment.java,
2491 java/awt/GridBagConstraints.java,
2492 java/awt/GridBagLayout.java,
2493 java/awt/GridLayout.java,
2494 java/awt/Image.java,
2495 java/awt/KeyboardFocusManager.java,
2496 java/awt/Label.java,
2497 java/awt/List.java,
2498 java/awt/MediaTracker.java,
2499 java/awt/Menu.java,
2500 java/awt/MenuBar.java,
2501 java/awt/MenuComponent.java,
2502 java/awt/Panel.java,
2503 java/awt/PopupMenu.java,
2504 java/awt/ScrollPane.java,
2505 java/awt/Scrollbar.java,
2506 java/awt/SystemColor.java,
2507 java/awt/TextArea.java,
2508 java/awt/TextField.java,
2509 java/awt/Toolkit.java,
2510 java/awt/Window.java,
2511 java/awt/color/ICC_Profile.java,
2512 java/awt/datatransfer/DataFlavor.java,
2513 java/awt/datatransfer/StringSelection.java,
2514 java/awt/datatransfer/SystemFlavorMap.java,
2515 java/awt/dnd/Autoscroll.java,
2516 java/awt/dnd/DropTarget.java,
2517 java/awt/dnd/DropTargetContext.java,
2518 java/awt/dnd/DropTargetDragEvent.java,
2519 java/awt/dnd/peer/DropTargetContextPeer.java,
2520 java/awt/event/AdjustmentEvent.java,
2521 java/awt/event/InputEvent.java,
2522 java/awt/event/InvocationEvent.java,
2523 java/awt/event/KeyEvent.java,
2524 java/awt/event/MouseEvent.java,
2525 java/awt/font/TextLayout.java,
2526 java/awt/geom/GeneralPath.java,
2527 java/awt/geom/Point2D.java,
2528 java/awt/im/InputContext.java,
2529 java/awt/im/spi/InputMethodContext.java,
2530 java/awt/image/AffineTransformOp.java,
2531 java/awt/image/BufferedImage.java,
2532 java/awt/image/ColorModel.java,
2533 java/awt/image/ComponentColorModel.java,
2534 java/awt/image/CropImageFilter.java,
2535 java/awt/image/DirectColorModel.java,
2536 java/awt/image/MemoryImageSource.java,
2537 java/awt/image/PackedColorModel.java,
2538 java/awt/image/PixelGrabber.java,
2539 java/awt/image/RasterOp.java,
2540 java/awt/peer/MenuBarPeer.java:
2541 Some fixes for checkstyle. Import statement and modifier order
2542 redordering.
2543
2544 2004-11-30 Michael Koch <konqueror@gmx.de>
2545
2546 * javax/swing/JTable.java
2547 (setModel): Reimplemented.
2548
2549 2004-11-30 Michael Koch <konqueror@gmx.de>
2550
2551 * javax/swing/JTextArea.java
2552 (append): Re-implemented.
2553 (insert): Likewise.
2554
2555 2004-11-30 Michael Koch <konqueror@gmx.de>
2556
2557 * javax/swing/JSpinner.java
2558 (serialVersionUID): New static field.
2559 * javax/swing/JToggleButton.java
2560 (JToggleButton): Fixed email addresses.
2561 * javax/swing/SpinnerNumberModel.java
2562 (serialVersionUID): Added javadoc.
2563
2564 2004-11-30 Michael Koch <konqueror@gmx.de>
2565
2566 * javax/swing/JTextArea.java:
2567 Don't use JTextComponent.doc directly. GCJ from java-gui-branch has a
2568 bug here which is fixed in HEAD ...
2569
2570 2004-11-30 Andrew John Hughes <address@hidden>
2571
2572 * javax/swing/JTextArea.java: Added additional
2573 documentation.
2574
2575 2004-11-30 Andrew John Hughes <address@hidden>
2576
2577 * javax/swing/JRadioButton.java:
2578 Implemented additional constructors and accessibility
2579 classes. Added documentation and fixed a typo in
2580 AbstractButton.
2581
2582 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2583
2584 * java/awt/image/IndexColorModel.java (IndexColorModel): Implement
2585 missing constructor.
2586
2587 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2588
2589 * java/awt/image/ComponentColorModel.java (ComponentColorModel):
2590 Implement missing 1.4 constructor.
2591
2592 2004-11-30 Andrew John Hughes <address@hidden>
2593
2594 * javax/swing/JToggleButton.java:
2595 Implemented additional constructors and accessibility
2596 classes. Added documentation and fixed a typo in
2597 AbstractButton.
2598
2599 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2600
2601 * java/awt/image/ColorModel.java (getDataElement,
2602 getDataElements): Document since 1.4.
2603
2604 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2605
2606 * java/awt/image/BandedSampleModel.java: Implement.
2607 * Makefile.am: Add java/awt/image/BandedSampleModel.java.
2608 * Makefile.in: Regenerated.
2609
2610 2004-11-30 Michael Koch <konqueror@gmx.de>
2611
2612 * java/awt/Window.java: Fixed whitespace difference with GNU
2613 classpath.
2614
2615 2004-11-30 Mark Wielaard <mark@klomp.org>
2616
2617 * Makefile.am: Add javax/swing/SpinnerListModel.java.
2618 * Makefile.in: Regenerated.
2619
2620 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
2621
2622 * javax/swing/SpinnerListModel.java, javax/swing/SpinnerModel.java
2623 Implemented SpinnerListModel. Added documentation to
2624 SpinnerModel.
2625
2626 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
2627
2628 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2629 (init_dpi_conversion_factor): Apply the patch from main correctly.
2630 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
2631
2632 2004-11-30 Tom Tromey <tromey@redhat.com>
2633
2634 Bug 9948.
2635 * javax/swing/JDesktopPane.java (LIVE_DRAG_MODE): Now final.
2636 (OUTLINE_DRAG_MODE): LIVE_DRAG_MODE.
2637 * javax/swing/plaf/basic/BasicSplitPaneUI.java
2638 (NON_CONTINUOUS_DIVIDER): Now final. Initialize.
2639
2640 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
2641
2642 * java/awt/Canvas.java
2643 (AccessibleAWTCanvas): added serialization UID
2644 * java/awt/Label.java
2645 (AccessibleAWTLabel): added serialization UID
2646 * javax/swing/JRootPane.java
2647 (AccessibleJRootPane): added comment to existing UID
2648 * javax/swing/JSpinner.java
2649 (DefaultEditor): added serialization UID
2650 (NumberEditor): added serialization UID
2651 * javax/swing/text/html/HTML.java
2652 (UnknownTag): added serialization UID
2653
2654 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
2655
2656 * javax/swing/JInternalFrame.java
2657 (CONTENT_PANE_PROPERTY,FRAME_ICON_PROPERTY,GLASS_PANE_PROPERTY,
2658 IS_CLOSED_PROPERTY,IS_ICON_PROPERTY,IS_MAXIMUM_PROPERTY,
2659 IS_SELECTED_PROPERTY,LAYERED_PANE_PROPERTY,MENU_BAR_PROPERTY,
2660 ROOT_PANE_PROPERTY,TITLE_PROPERTY): Made final as per API spec.
2661 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
2662 (CLOSE_CMD,ICONIFY_CMD,MAXIMIZE_CMD,MOVE_CMD,RESTORE_CMD,SIZE_CMD):
2663 Made final as per API spec.
2664
2665 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
2666
2667 * jni/gtk-peer/gtkpeer.h: Remove duplicated copyright string.
2668
2669 2004-11-30 Sven de Marothy <sven@physto.se>
2670
2671 * java/awt/geom/Arc2D.java: Reformatted.
2672 (setArc): Correct documentation to say 'upper left corner'.
2673 (setArcByTangent,contains,intersects): Implemented.
2674 (containsAngle): Corrected to handle negative extents.
2675 (ArcIterator): Set to private.
2676 (ArcIterator): Corrected for CHORD-type arcs, negative extents.
2677 (intersects): Fix: Now checks the arc segment.
2678 (contains): Cleaned up.
2679 * java/awt/geom/CubicCurve2a.javaD: Fix insideness-test. Reindent.
2680 (contains): Implemented.
2681 (intersects): Implemented.
2682 * java/awt/geom/QuadCurve2D.java: Fix insideness-test. Reindent.
2683 * java/awt/geom/GeneralPath: Fix insideness-test. Reindent and
2684 document. Fully (re)implemented using separate xpoints and ypoints
2685 float[] coords.
2686
2687 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
2688
2689 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
2690 * configure: Regenerate.
2691 * include/config.h.in: Likewise.
2692 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
2693 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
2694 macro to gtkpeer.h.
2695 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2696 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
2697 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
2698 architectures.
2699 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
2700 Likewise.
2701
2702 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
2703
2704 * java/awt/SystemColor.java: Fix @link doc entries.
2705
2706 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
2707
2708 * java/awt/RenderingHints.java: Documented.
2709 (RenderingHints): Accept null init Map.
2710 (putAll): Preprocess map to generate appropriate exceptions.
2711 (remove): Cast object to Key and remove from hintMap.
2712
2713 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
2714
2715 * java/awt/MenuComponent.java, java/awt/MenuBar.java:
2716 Implementation of accessibility classes and methods
2717 for these two components.
2718
2719 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
2720
2721 * java/awt/KeyboardFocusManager.java:
2722 Added missing documentation.
2723
2724 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
2725
2726 * java/awt/Label.java, java/awt/Canvas.java:
2727 Added accessibility classes to AWT Label and Canvas,
2728 as well as additional documentation for Canvas.
2729
2730 2004-11-30 David Gilbert <address@bogus.example.com>
2731
2732 * java/awt/image/DataBuffer.java: Update API documentation.
2733 * java/awt/image/DataBufferByte.java: Likewise.
2734 * java/awt/image/DataBufferDouble.java: Likewise.
2735 * java/awt/image/DataBufferFloat.java: Likewise.
2736 * java/awt/image/DataBufferInt.java: Likewise.
2737 * java/awt/image/DataBufferShort.java: Likewise.
2738 * java/awt/image/DataBufferUShort.java: Likewise.
2739
2740 2004-11-30 Dalibor Topic <robilad@kaffe.org>
2741
2742 * java/awt/Component.java (postEvent):
2743 Only delegate to parent if a parent exists.
2744 Reported by: Stephane Meslin-Weber <steph@tangency.co.uk>
2745
2746 2004-11-30 Sven de Marothy <sven@physto.se>
2747
2748 *java/awt/AWTEventMulticaster.java,
2749 java/awt/Adjustable.java,
2750 java/awt/Point.java,
2751 java/awt/Polygon.java,
2752 java/awt/Rectangle.java,
2753 java/awt/Shape.java,
2754 java/awt/geom/Area.java,
2755 java/awt/geom/Ellipse2D.java,
2756 java/awt/geom/PathIterator.java,
2757 java/awt/geom/Point2D.java,
2758 java/awt/geom/Rectangle2D.java,
2759 java/lang/Comparable.java,
2760 java/util/Arrays.java:
2761 Fixed documentation errors
2762
2763 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2764
2765 * java/awt/image/ComponentSampleModel.java: Add documentation.
2766
2767
2768 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2769
2770 * java/awt/image/ComponentSampleModel.java (constructor):
2771 Initialize numBanks when figuring out the max bank index.
2772
2773 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2774
2775 * java/awt/image/Raster.java (createPackedRaster): Implement
2776 MultiPixelPackedSampleModel codepath.
2777
2778 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2779
2780 * java/awt/image/MultiPixelPackedSampleModel.java: Implement.
2781 * Makefile.am: Add MultiPixelPackedSampleModel.java.
2782 * Makefile.in: Regenerate.
2783
2784 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2785
2786 * java/awt/image/Raster.java (getNumBands): Implement.
2787
2788 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2789
2790 * java/awt/image/Raster.java
2791 (createPackedRaster(int,int,int,int,int,Point)): Implement for
2792 bands>1.
2793
2794 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2795
2796 * java/awt/image/SinglePixelPackedSampleModel.java
2797 (SinglePixelPackedSampleModel): Throw exception for unsupported
2798 datatype.
2799
2800 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
2801
2802 * java/awt/image/ColorModel.java (getDataElement): Implemented.
2803 Update javadoc.
2804 (getDataElements): Add missing version. Remove bogus version.
2805 Update javadoc.
2806
2807 2004-11-30 Olga Rodimina <rodimina@redhat.com>
2808
2809 * javax/swing/plaf/basic/BasicComboBoxUI.java:
2810 (paintCurrentValue): Pass correct parameters to
2811 getListCellRendererComponent().
2812 (ListDataHandler.intervalRemoved): Implemented.
2813 (PropertyChangeHandler.propertyChange): Handle changes in
2814 MODEL_CHANGED_PROPERTY of the JComboBox
2815 * javax/swing/plaf/basic/BasicComboPopup.java:
2816 (BasicComboPopup): Moved code that configures popup to
2817 configurePopup() and call it instead.
2818 (firePopupMenuWillBecomeVisible): Implemented.
2819 (firePopupMenuWillBecomeInvisible): Likewise.
2820 (firePopupMenuCanceled): Likewise.
2821 (configureList): Set list's visibleRowCount same as
2822 comboBox's visibleRowCount.
2823 (configurePopup): Implemented.
2824 (getPopupHeightForRowCount): Get item's from JComboBox's model and
2825 not from model of the JList.
2826 (ListMouseMotionHandler.mouseMoved): Implemented.
2827 (PropertyChangeHandler.propertyChange): Handles change in the
2828 JComboBox's model.
2829
2830 2004-11-30 Michael Koch <konqueror@gmx.de>
2831
2832 * javax/swing/JComponent.java
2833 (isMaximumSizeSet): New method.
2834 (isMinimumSizeSet): Likewise.
2835 (isPreferredSizeSet): Likewise.
2836
2837 2004-11-30 Michael Koch <konqueror@gmx.de>
2838
2839 * javax/swing/JSpinner.java:
2840 Some Re-formatting.
2841 (spinner): New field.
2842 (DefaultEditor): New method.
2843 (getSpinner): Likewise.
2844 (NumberEdito): Likewise.
2845 (getModel): Likewise
2846
2847 2004-11-30 Michael Koch <konqueror@gmx.de>
2848
2849 * javax/swing/InputVerifier.java:
2850 Re-formatted.
2851 * javax/swing/JComponent.java
2852 (inputVerifier): New property field.
2853 (getInputVerifier): New method.
2854 (setInputVerifier): Likewise.
2855
2856 2004-11-30 Michael Koch <konqueror@gmx.de>
2857
2858 * javax/swing/JComponent.java
2859 (JComponent): Added javadoc comment.
2860 (setBorder): Fire property change eventr.
2861 (setEnabled): Likewise.
2862 (setMaximumSize): Likewise.
2863 (setMinimumSize): Likewise.
2864 (setPreferredSize): Likewise.
2865 (setOpaque): Likewise.
2866
2867 2004-11-30 Michael Koch <konqueror@gmx.de>
2868
2869 * javax/swing/JTextField.java
2870 (action): New field.
2871 (actionCommand): Likewise.
2872 (actionPropertyChangeListener): Likewise.
2873 (setHorizontalAlignment): Abort soon if new value == old value. Fire
2874 event before repainting.
2875 (postActionEvent): New method.
2876 (getAction): Likewise.
2877 (setAction): Likewise.
2878 (getActionCommand): Likewise.
2879 (setActionCommand): Likewise.
2880 (createActionPropertyChangeListener): Likewise.
2881 (configurePropertiesFromAction): Likewise.
2882
2883 2004-11-30 Michael Koch <konqueror@gmx.de>
2884
2885 * javax/swing/DebugGraphics.java:
2886 Re-formatted. Fixed some javadocs.
2887 * javax/swing/JApplet.java
2888 (rootPaneCheckingEnabled): Renamed from checking.
2889 * javax/swing/JCheckBox.java
2890 (BORDER_PAINTED_FLAT_CHANGED_PROPERTY): New statif field.
2891 * javax/swing/JFrame.java:
2892 Re-formatted a bit and reordered some methods.
2893 (rootPaneCheckingEnabled): Renamed from checking.
2894 (getPreferredSize): Simplified.
2895 * javax/swing/JTextArea.java
2896 (getColumnWidth): New method.
2897 (getLineCount): Likewise.
2898 (getLineStartOffset): Likewise.
2899 (getLineEndOffset): Likewise.
2900 (getLineOfOffset): Likewise.
2901 (getRowHeight): Likewise.
2902 (insert): Likewise.
2903 (replaceRange): Likewise.
2904 * javax/swing/JTextField.java
2905 (scrollOffset): new field.
2906 (getScrollOffset): New method.
2907 (setScrollOffset): Likewise.
2908 (getColumnWidth): Likewise.
2909 * javax/swing/JTree.java
2910 (ANCHOR_SELECTION_PATH_PROPERTY): New static field.
2911 (CELL_EDITOR_PROPERTY): Likewise.
2912 (CELL_RENDERER_PROPERTY): Likewise.
2913 (EDITABLE_PROPERTY): Likewise.
2914 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
2915 (INVOKES_STOP_CELL_EDITING_PROPERTY): Likewise.
2916 (LARGE_MODEL_PROPERTY): Likewise.
2917 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
2918 (ROOT_VISIBLE_PROPERTY): Likewise.
2919 (ROW_HEIGHT_PROPERTY): Likewise.
2920 (SCROLLS_ON_EXPAND_PROPERTY): Likewise.
2921 (SELECTION_MODEL_PROPERTY): Likewise.
2922 (SHOWS_ROOT_HANDLES_PROPERTY): Likewise.
2923 (TOGGLE_CLICK_COUNT_PROPERTY): Likewise.
2924 (TREE_MODEL_PROPERTY): Likewise.
2925 (VISIBLE_ROW_COUNT_PROPERTY): Likewise.
2926 (cellEditor): New field.
2927 (invokesStopCellEditing): Likewise.
2928 (largeModel): Likewise.
2929 (rowHeight): Likewise.
2930 (scrollsOnExpand): Likewise.
2931 (selectionModel): Likewise.
2932 (toggleClickCount): Likewise.
2933 (visibleRowCount): Likewise.
2934 (setShowsRootHandles): Fixed typo in method name.
2935 (getCellEditor): New method.
2936 (setCellEditor): Likewise.
2937 (getSelectionModel): Likewise.
2938 (setSelectionModel): Likewise.
2939 (getVisibleRowCount): Likewise.
2940 (setVisibleRowCount): Likewise.
2941 (isLargeModel): Likewise.
2942 (setLargeModel): Likewise.
2943 (getRowHeight): Likewise.
2944 (setRowHeight): Likewise.
2945 (getInvokesStopCellEditing): Likewise.
2946 (setInvokesStopCellEditing): Likewise.
2947 (getToggleClickCount): Likewise.
2948 (setToggleClickCount): Likewise.
2949 (getScrollsOnExpand): Likewise.
2950 (setScrollsOnExpand): Likewise.
2951 * javax/swing/table/DefaultTableColumnModel.java
2952 (addColumnModelListener): Fixed javadoc.
2953 (removeColumnModelListener): Implemented. Fixed javadoc.
2954 (getColumnModelListeners): New method.
2955 * javax/swing/table/JTableHeader.java
2956 (columnModel): Made protected.
2957 (draggedColumn): Likewise.
2958 (draggedDistance): Likewise.
2959 (reorderingAllowed): Likewise.
2960 (resizingAllowed): Likewise.
2961 (resizingColumn): Likewise.
2962 (table): Likewise.
2963 (updateTableInRealTime): Likewise.
2964 (createDefaultColumnModel): Renamed from
2965 createDefaultTableColumnModel.
2966 (setDefaultRenderer): New method.
2967 * javax/swing/table/TableColumn.java
2968 (getPropertyChangeListeners): New method.
2969 * javax/swing/text/DefaultHighlighter.java
2970 (drawsLayeredHighlights): New field.
2971 (getDrawsLayeredHighlights): New method.
2972 (setDrawsLayeredHighlights): Likewise.
2973 * javax/swing/text/DocumentFilter.java
2974 (FilterBypass): New inner class.
2975 (insertString): New method.
2976 (remove): Likewise.
2977 (replace): Likewise.
2978 * javax/swing/text/JTextComponent.java
2979 (dragEnabled): New field.
2980 (getSelectedText): New method.
2981 (getDragEnabled): Likewise.
2982 (setDragEnabled): Likewise.
2983 (replaceSelection): Reimplemented.
2984 * javax/swing/text/NavigationFilter.java
2985 (FilterBypass): New inner class.
2986 (NavigationFilter): New method.
2987 (moveDot): Likewise.
2988 (setDot): Likewise.
2989 * javax/swing/text/SimpleAttributeSet.java
2990 (EMPTY): Made public final.
2991
2992 2004-11-30 Michael Koch <konqueror@gmx.de>
2993
2994 * javax/swing/SpinnerNumberModel.java
2995 (getMinimum): New method.
2996 (setMinimum): Likewise.
2997 (getMaximum): Likewise.
2998 (setMaximum): Likewise.
2999 (getStepSize): Likewise.
3000 (setStepSize): Likewise.
3001
3002 2004-11-30 Michael Koch <konqueror@gmx.de>
3003
3004 * javax/swing/JMenu.java
3005 (getMenuListeners): New method.
3006 (fireMenuSelected): Simplified.
3007 * javax/swing/JRootPane.java
3008 (NONE): New static field.
3009 (FRAME): Likewise.
3010 (PLAIN_DIALOG): Likewise.
3011 (INFORMATION_DIALOG): Likewise.
3012 (ERROR_DIALOG): Likewise.
3013 (COLOR_CHOOSER_DIALOG): Likewise.
3014 (FILE_CHOOSER_DIALOG): Likewise.
3015 (QUESTION_DIALOG): Likewise.
3016 (WARNING_DIALOG): Likewise.
3017 (defaultButton): New field.
3018 (getDefaultButton): New method.
3019 (setDefaultButton): Likewise.
3020 * javax/swing/JScrollPane.java
3021 (getUI): New method.
3022 (setUI): Likewise.
3023 * javax/swing/JTable.java
3024 (getUI): Javadoc added.
3025 (setUI): New method.
3026 * javax/swing/JViewport.java
3027 (getUI): New method.
3028 (setUI): Likewise.
3029 * javax/swing/UIDefaults.java
3030 (removePropertyChangeListener): Made public.
3031
3032 2004-11-30 Michael Koch <konqueror@gmx.de>
3033
3034 * javax/swing/JApplet.java, javax/swing/JFrame.java:
3035 Re-indented.
3036
3037 2004-11-30 Michael Koch <konqueror@gmx.de>
3038
3039 * javax/swing/AbstractButton.java:
3040 Little re-formatting.
3041 (changeEvent): Made protected.
3042 (fireStateChanged): Removed argument.
3043 (setHorizontalAlignment): Abort method when old value is equal too new
3044 value.
3045 (setHorizontalTextPosition): Likewise.
3046 (setVerticalAlignment): Likewise.
3047 (setVerticalTextPosition): Likewise.
3048 (setBorderPainted): Likewise.
3049 (setIcon): Likewise.
3050 (setText): Likewise.
3051 (setIconTextGap): Likewise.
3052 (setMargin): Likewise.
3053 (setPressedIcon): Likewise.
3054 (setFocusPainted): Likewise.
3055 (setDisabledSelectedIcon): Likewise.
3056 (setRolloverIcon): Likewise.
3057 (setRolloverSelectedIcon): Likewise.
3058 (setSelectedIcon): Likewise.
3059 (setContentAreaFilled): Likewise.
3060
3061 2004-11-30 Kim Ho <kho@redhat.com>
3062
3063 * javax/swing/plaf/basic/BasicArrowButton.java:
3064 Jalopy. Reimplement.
3065 * javax/swing/plaf/basic/BasicScrollBarUI.java:
3066 Jalopy.
3067 (arrowIcon, upIcon, downIcon, leftIcon,
3068 rightIcon): Removed.
3069 (createIncreaseButton): Use BasicArrowButton.
3070 (createDecreaseButton): Ditto.
3071 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3072 (createRightOneTouchButton): Remove button border.
3073 (createLeftOneTouchButton): Ditto.
3074
3075 2004-11-30 Michael Koch <konqueror@gmx.de>
3076
3077 * javax/swing/JSpinner.java
3078 (setModel): New method.
3079 * javax/swing/SpringLayout.java
3080 (Constraints): May not be final.
3081
3082 2004-11-30 Michael Koch <konqueror@gmx.de>
3083
3084 * gnu/java/awt/peer/gtk/GtkClipboard.java,
3085 java/awt/datatransfer/Clipboard.java,
3086 java/awt/datatransfer/ClipboardOwner.java:
3087 Reformated to make it use our coding standard.
3088
3089 2004-11-30 Michael Koch <konqueror@gmx.de>
3090
3091 * javax/swing/SpinnerNumberModel.java
3092 (SpinnerNumberModel): Implements java.io.Serializable.
3093 (serialVersionUID): New field.
3094 (SpinnerNumberModel): Added missing @throws tags to javadocs.
3095 * javax/swing/UIManager.java
3096 (get): New method.
3097 (getBoolean): Likewise.
3098 (getBorder): Likewise.
3099 (getColor): Likewise.
3100 (getDimension): Likewise.
3101 (getFont): Likewise.
3102 (getIcon): Likewise.
3103 (getInsets): Likewise.
3104 (getInt): Likewise.
3105 (getString): Likewise.
3106
3107 2004-11-30 Michael Koch <konqueror@gmx.de>
3108
3109 * javax/swing/JPasswordField.java:
3110 Reformated. Implemented construtors.
3111 * javax/swing/plaf/basic/BasicPasswordFieldUI.java
3112 (create): New method.
3113 * javax/swing/text/PlainView.java
3114 (selectedColor): Made package-private to allow access from sub-classes
3115 in same package too.
3116 (unselectedColor): Likewise.
3117 (font): Likewise.
3118 (drawSelectedText): Make protected.
3119 (drawUnselectedText): Likewise.
3120 * javax/swing/text/PasswordView.java: New file.
3121 * Makefile.am: Added javax/swing/text/PasswordView.java.
3122 * Makefile.in: Regenerated.
3123
3124 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3125
3126 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Set menu
3127 bar's width.
3128 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (nativeSetHelpMenu):
3129 Add FIXME comment.
3130 (addHelpMenu): Elide call to nativeSetHelpMenu.
3131 * java/awt/Menu.java (isTearOff): Rename to tearOff.
3132 (menuSerializedDataVersion): Initialize to 1.
3133 (separatorLabel): Mark transient.
3134 (insert(MenuItem,int)): Implement.
3135 * java/awt/MenuBar.java (setHelpMenu): Call getPeer to retrieve
3136 peer.
3137 (countMenus): Count help menu.
3138 * java/awt/MenuComponent.java (nameExplicitlySet, newEventsOnly,
3139 accessibleContext): Add fields.
3140 * java/awt/MenuItem.java: Remove event mask FIXME.
3141 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3142 (gtkWidgetModifyFont): Only set font if label is non-NULL.
3143 (setLabel): Don't treat "-" specially.
3144
3145 2004-11-30 Kim Ho <kho@redhat.com>
3146
3147 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
3148 (stateChanged): Only update the image and the track if
3149 the values are not being adjusted.
3150 (updateChooser): Grab the new mouse point from the
3151 spinner values. Update the image and track only if
3152 the values are not being adjusted.
3153 (getHSBValues): New method.
3154 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
3155 (SliderHandler::stateChanged): Changed internalChange
3156 to updateChange. Set sliderChange.
3157 (SpinnerHandler::stateChanged): Ditto. Set spinnerChange.
3158 (spinnerChange): New variable.
3159 (sliderChange): Ditto.
3160 (updateChange): Renamed from internalChange.
3161 (updateChooser): Do not update sliders if the sliders
3162 were the original source of the change. Ditto for spinners.
3163 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
3164 (mousePress): Don't scroll the JViewport if there will
3165 be extra space at the end of the run. Change layout() to
3166 revalidate().
3167 (calculateSize): Use the component's width/height unless
3168 it is smaller than the max tab width/height.
3169 (calculateTabRects): Subtract the tab run overlay.
3170 (rotateTabRuns): Don't rotate if there's only one run.
3171 (layoutContainer): Reuse the viewport point.
3172 (createLayoutManager): Set the viewport to use no layout.
3173 (paintTabArea): Don't paint the tabs that are not visible
3174 to the JViewport.
3175 (paintContentBorderTopEdge): Check for scroll tab layout before
3176 looking for gap.
3177 (paintContentBorderLeftEdge): Ditto.
3178 (paintContentBorderBottomEdge): Ditto.
3179 (paintContentBorderRightEdge): Ditto.
3180
3181 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3182
3183 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetSetFont):
3184 Rename ...
3185 (gtkWidgetModifyFont): New method.
3186 * gnu/java/awt/peer/gtk/GtkFramePeer.java,
3187 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3188 (setMenuBarWidth): New method.
3189 (setBounds): Set the menu bar width.
3190 (postConfigureEvent): Set the menu bar width if the window's
3191 width has changed.
3192 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (GtkMenuBarPeer):
3193 Don't call create.
3194 (setFont): New method.
3195 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): New
3196 method.
3197 (setFont): Likewise.
3198 (GtkMenuComponentPeer): Call create and setFont.
3199 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3200 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3201 (connectSignals): Make package private.
3202 (gtkWidgetModifyFont): New method.
3203 (create): Likewise.
3204 (GtkMenuItemPeer): Don't call create.
3205 (setFont): New method.
3206 * java/awt/CheckboxMenuItem.java (addNotify): Fix peer == null
3207 condition.
3208 * java/awt/Container.java (validateTree): Fix comment typos.
3209 * java/awt/MenuComponent.java (getFont): Return parent's font if
3210 our font is null.
3211 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
3212 (create): Remove call to deprecated
3213 gtk_check_menu_item_set_show_toggle function.
3214
3215 2004-11-30 Hans Boehm <Hans.Boehm@hp.com>
3216
3217 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3218 (Almost everywhere): add LOG calls, fix, add comments.
3219 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3220 Add explicit check for LOCKED bit in slow case (PR 16662).
3221 (_Jv_MonitorExit): Add casts in debug-only code.
3222 Always release LOCKED bit before throwing exception.
3223 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3224 isn't. Handle easy cases without lock acquisition.
3225 (Object::wait): Use NotifyAll for lock inflation.
3226
3227 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3228
3229 * gnu/java/awt/peer/gtk/GtkFramePeer.java,
3230 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3231 (gtkFixedMove): Remove method.
3232
3233 2004-11-30 Sven de Marothy <sven@physto.se>
3234
3235 * java/awt/geom/Area.java: Implemented.
3236
3237 2004-11-30 Mark Wielaard <mark@klomp.org>
3238
3239 * java/awt/geom/Arc2D.java (ArcIterator): Make package private.
3240
3241 2004-11-30 Sven de Marothy <sven@physto.se>
3242
3243 * java/awt/geom/Arc2D.java
3244 Reformatted.
3245 (setArc): Correct documentation to say 'upper left corner'.
3246 (setArcByTangent,contains,intersects): Implemented.
3247 (containsAngle): Corrected to handle negative extents.
3248 (ArcIterator): Set to private.
3249 (ArcIterator): Corrected for CHORD-type arcs, negative extents.
3250 * java/awt/geom/Ellipse2D.java
3251 Documented.
3252 (contains,intersects): Implemented.
3253 * java/awt/geom/Line2D.java
3254 (linesIntersect): Correct handling of special cases.
3255
3256 2004-11-30 Mark Wielaard <mark@klomp.org>
3257
3258 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Use
3259 Color.BLACK if c == null, don't create new Color object each time.
3260 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (comp): New private
3261 field.
3262 (setColor): Use Color.BLACK when argument null.
3263 (setComposite): Set this.comp field.
3264 (getComposite): Return this.comp, or AlphaComposite.SrcOver when null.
3265 (DrawState.comp): New private field.
3266 (DrawState.save): Save Composite.
3267 (DrawState.restore): Restore comp field.
3268 * java/awt/FontMetrics.java (gRC): New static final private field.
3269 (getLineMetrics(String, Graphics)): New method.
3270 (getLineMetrics(String, int, int, Graphics)): Likewise.
3271 (getLineMetrics(char[], int, int, Graphics)): Likewise.
3272 (getLineMetrics(CharacterIterator, int, int, Graphics)): Likewise.
3273 * javax/swing/JMenu.java (JMenu(String, boolean)): Ignore tearoff
3274 argument. PR SWING/17294.
3275 * javax/swing/plaf/basic/BasicGraphicsUtils.java (): Always use
3276 the fall-back code since none of the TextArea methods are really
3277 implemented now. PR SWING/17296.
3278 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
3279 (GdkGlyphVector_setChars): Replace assert() with if block when
3280 pango_itemize() returns null. PR AWT/17295.
3281 (GdkGlyphVector_allInkExtents): Likewise when vec->glyphitems is null.
3282
3283 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3284
3285 * Makefile.am (gtk_c_source_files): Add
3286 gnu_java_awt_peer_gtk_GtkFramePeer.c.
3287 * Makefile.in: Regenerate.
3288 * gnu/java/awt/peer/gtk/GdkGraphics.java (getClipBounds): Remove
3289 comment.
3290 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3291 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3292 (create): Pack GtkButton in GtkEventBox.
3293 (connectJObject): Remove.
3294 (focus_in_cb): New function.
3295 (focus_out_cb): Likewise.
3296 (connectSignals): Connect focus-in-event and focus-out-event
3297 signals.
3298 (gtkSetFont): Rename to ...
3299 (gtkWidgetModifyFont): New method.
3300 (gtkWidgetRequestFocus): New method.
3301 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
3302 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
3303 (gtkSetFont): Rename to ...
3304 (gtkWidgetModifyFont): New method.
3305 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3306 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3307 (isInRepaint): New field.
3308 (gtkSetFont): Remove method.
3309 (addExposeFilter): Likewise.
3310 (removeExposeFilter): Likewise.
3311 (gtkWidgetQueueDrawArea): Rename to ...
3312 (gtkWidgetRepaintArea): New method.
3313 (beginNativeRepaint): New method.
3314 (endNativeRepaint): New method.
3315 (setComponentBounds): Move implementation here from
3316 GtkComponentPeer.
3317 (paint): Remove implementation.
3318 (repaint): Wrap call to gtkWidgetRepaintArea with calls to
3319 beginNativeRepaint and endNativeRepaint.
3320 (setBounds): Use menu bar height in bounds calculation.
3321 (postExposeEvent): Only post paint event if we're not doing a
3322 native repaint.
3323 (gtkWidgetSetParent): Replace gtk_layout_put with gtk_fixed_put.
3324 (setNativeBounds): Replace gtk_layout_move with gtk_fixed_move.
3325 (find_gtk_layout): Remove function.
3326 (filter_expose_event_handler): Likewise.
3327 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (postExposeEvent):
3328 Likewise.
3329 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3330 (setComponentBounds): Call GtkComponentPeer's
3331 setComponentBounds.
3332 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight):
3333 New method.
3334 (moveLayout): Rename to ...
3335 (gtkFixedMove): New method.
3336 (gtkLayoutSetVisible): Rename to ...
3337 (gtkFixedSetVisible): New method.
3338 (setMenuBar): Rearrange, to make the three separate cases
3339 clearer.
3340 (postExposeEvent): Only post paint event if we're not doing a
3341 native repaint.
3342 * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
3343 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
3344 (gtkWidgetModifyFont): New method.
3345 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3346 (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,Color)):
3347 Call run directly, rather than spawning a new thread.
3348 (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,int,int,int,int,Color)):
3349 Likewise.
3350 * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3351 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (gtkSetFont):
3352 Rename to ...
3353 (gtkWidgetModifyFont): New method.
3354 (create): Rename ebox to eventbox.
3355 * gnu/java/awt/peer/gtk/GtkListPeer.java,
3356 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
3357 Rename to ...
3358 (gtkWidgetModifyFont): New method.
3359 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
3360 (GtkMenuComponentPeer): Set the default font.
3361 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3362 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3363 (gtkSetFont): Rename to ...
3364 (gtkWidgetModifyFont): New method.
3365 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3366 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3367 * java/awt/Component.java (locale): Initialize to default
3368 locale.
3369 * java/awt/Container.java (invalidateTree): Make
3370 package-private.
3371 (paint): Paint self first.
3372 (setMenuBar): Call invalidateTree.
3373 * java/awt/Panel.java (dispatchEventImpl): Remove method.
3374 * java/awt/Window.java (show): Call no-parameter variant of
3375 requestFocusInWindow.
3376 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (initState):
3377 Remove special case for window widget.
3378 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
3379 (grab_current_drawable): Likewise.
3380 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
3381 (create): Replace GtkLayout with GtkFixed.
3382 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3383 (pre_event_handler): Remove special cases for GDK_EXPOSE events.
3384 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: New file.
3385 Move all GtkFramePeer native method implementations here from
3386 gnu_java_awt_peer_gtk_GtkWindowPeer.c.
3387 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3388 Replace GtkLayout with GtkFixed.
3389 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3390 (find_layout): Remove function.
3391 (create): Replace GtkLayout with GtkFixed.
3392 (connectSignals): Remove find_layout call.
3393 (toBack): Replace XFlush with gdk_flush.
3394 (toFront): Replace XFlush with gdk_flush.
3395 Move GtkFramePeer native method implementations to
3396 gnu_java_awt_peer_gtk_GtkFramePeer.c.
3397 * jni/gtk-peer/gtkpeer.h: Remove declaration of find_gtk_layout.
3398
3399 2004-11-30 Michael Koch <konqueror@gmx.de>
3400
3401 * javax/swing/JTextArea.java
3402 (lineWrap): Renamed from "wrapping".
3403 (wrapStyleWord): NEw field.
3404 (getLineWrap): Re-edited javadoc comment.
3405 (setLineWrap): Likewise.
3406 (getWrapStyleWord): New method.
3407 (setWrapStyleWord): Likewise.
3408
3409 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
3410
3411 * configure: Regenerate for libtool change.
3412
3413 2004-11-29 Tom Tromey <tromey@redhat.com>
3414
3415 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
3416 Recognize --help and --version.
3417 (usage): Mention gcj-dbtool. Added "out" argument.
3418 (insist): Updated.
3419
3420 2004-11-29 Eric Botcazou <ebotcazou@libertysurf.fr>
3421
3422 * link.cc (link_symbol_table): Do not use intptr_t.
3423
3424 2004-11-28 Mark Wielaard <mark@klomp.org>
3425
3426 * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
3427 XMLDecoder tests which currently don't compile.
3428
3429 2004-11-27 Andrew Haley <aph@redhat.com>
3430
3431 * link.cc (ensure_class_linked): Conditionally compile
3432 _Jv_IsInterpretedClass on INTERPRETER.
3433 (print_class_loaded): Likewise.
3434 (wait_for_state): Likewise.
3435 * include/jvm.h (ROUND): Move to here from include/java-interp.h.
3436 * include/java-interp.h (ROUND): Remove.
3437
3438 2004-11-25 Tom Tromey <tromey@redhat.com>
3439
3440 * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
3441 * java/lang/Class.h (_Jv_Linker): Declare.
3442 (Class): Fix names of friends.
3443 (_Jv_getInterfaceMethod): Declare.
3444
3445 2004-11-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3446
3447 * testsuite/lib/libjava.exp (libjava_arguments): Add new global
3448 variable libjava_ld_library_path.
3449 (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
3450
3451 2004-11-25 Bryce McKinlay <mckinlay@redhat.com>
3452
3453 * java/util/ResourceBundle.java (BundleKey): Don't implement
3454 Cloneable.
3455 (BundleKey.clone): Removed.
3456 (getBundle): Copy BundleKey using constructor, not clone().
3457
3458 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
3459
3460 * configure: Regenerate for libtool reversion.
3461
3462 2004-11-25 Michael Koch <konqueror@gmx.de>
3463
3464 * Makefile.am: Added most of javax.print again.
3465 * Makefile.in: Regenerated.
3466
3467 2004-11-25 Michael Koch <konqueror@gmx.de>
3468
3469 * Makefile.am: Added most of javax.print again.
3470 * Makefile.in: Regenerated.
3471
3472 2004-11-24 Tom Tromey <tromey@redhat.com>
3473
3474 * Merged gcj-abi-2-dev-branch to trunk.
3475
3476 2004-11-16 Tom Tromey <tromey@redhat.com>
3477
3478 * include/java-interp.h (_Jv_DefineClass): Updated.
3479 * java/lang/natVMClassLoader.cc (defineClass): Pass protection
3480 domain to class reader.
3481 * defineclass.cc (parse): Use print_class_loaded.
3482 Include ProtectionDomain.h.
3483 (_Jv_DefineClass): Added ProtectionDomain argument.
3484 (_Jv_ClassReader): Likewise.
3485 * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
3486 * link.cc: Include CodeSource.h.
3487 (print_class_loaded): New function.
3488 (wait_for_state): Use it.
3489
3490 2004-11-16 Andrew Haley <aph@redhat.com>
3491
3492 * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
3493
3494 2004-11-16 Andrew Haley <aph@redhat.com>
3495
3496 * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
3497 * configure.host: Define libgcj_ld_symbolic for Linux hosts.
3498 * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
3499 * configure: Regenerate.
3500 * Makefile.in: Regenerate.
3501
3502 2004-11-15 Andrew Haley <aph@redhat.com>
3503
3504 * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
3505 gc-allocated object.
3506
3507 2004-11-15 Andrew Haley <aph@redhat.com>
3508
3509 * java/net/URLClassLoader.java
3510 (URLLoader.getClassPath): New method.
3511 (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
3512 attribute and add URLs for each entry.
3513 (JarURLLoader.classPath): New field.
3514 (JarURLLoader.getClassPath): New method.
3515 (addURLImpl): Scan through the list of extraUrls in the new
3516 loader, adding them to our urlinfos.
3517 (definePackage, findURLResource, findResources): Use
3518 urlinfos.size(), not urls.size().
3519
3520 2004-11-11 Tom Tromey <tromey@redhat.com>
3521
3522 * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
3523 method.
3524 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
3525 linked.
3526 (ensureSupersLinked): Declare.
3527 * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
3528 linked.
3529
3530 2004-11-10 Tom Tromey <tromey@redhat.com>
3531
3532 * gij.cc (main): Treat -verbose the same as -verbose:class.
3533 (help): Document -verbose and -verbose:class.
3534
3535 * link.cc (verbose_class_flag): Declare.
3536 (wait_for_state): Print message when handling precompiled class.
3537 * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
3538
3539 2004-11-09 Tom Tromey <tromey@redhat.com>
3540
3541 * testsuite/libjava.lang/assign2.out: New file.
3542 * testsuite/libjava.lang/assign2.java: New file.
3543
3544 * java/lang/natRuntime.cc (insertSystemProperties): Set
3545 java.version to 1.4.2 and java.specification.version to 1.4. Set
3546 java.runtime.version.
3547
3548 2004-11-08 Tom Tromey <tromey@redhat.com>
3549
3550 * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
3551 supers installed.
3552 * link.cc (verify_type_assertions): Don't link supers.
3553
3554 * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
3555 * include/java-interp.h (class _Jv_InterpClass)
3556 <_Jv_PrepareMissingMethods>: No longer `friend'.
3557 * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
3558 `friend'.
3559 (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
3560 _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
3561 _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
3562 _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
3563 _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
3564 * link.cc (search_method_in_class): Renamed from
3565 _Jv_SearchMethodInClass.
3566 (resolve_pool_entry): Updated.
3567
3568 * include/jvm.h (_Jv_CheckAssignment): Removed.
3569 * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
3570
3571 2004-11-05 Tom Tromey <tromey@redhat.com>
3572
3573 * link.cc (verify_type_assertions): Ensure classes have supers
3574 linked. Strip off array types first.
3575
3576 2004-11-05 Bryce McKinlay <mckinlay@redhat.com>
3577
3578 * link.cc: Include VerifyError.h.
3579 (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
3580 in the type assertion table.
3581 * include/execution.h (_Jv_CompiledEngine::do_verify): Use
3582 verify_type_assertions.
3583 * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
3584 * java/lang/Class.h (JV_ASSERT_END_OF_TABLE,
3585 JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
3586 assertion code values.
3587 (struct _Jv_TypeAssertion): Declare.
3588 (assertion_table): New class field.
3589 (verify): Remove class field.
3590
3591 2004-11-05 Andrew Haley <aph@redhat.com>
3592
3593 * Makefile.am: Move jv_dbtool.java to
3594 gnu/gcj/tools/gcj_dbtool/Main.java.
3595 * Makefile.in: Rebuild.
3596 * java/lang/VMCompiler.java: Rename property
3597 "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
3598 * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
3599 jv_dbtool.java.
3600
3601 2004-11-05 Andrew Haley <aph@redhat.com>
3602
3603 * jv_dbtool.java (main): Allow the user to specify the size of the
3604 database. Display the capacity and the size.
3605 (usage): Show the new option.
3606
3607 2004-11-04 Tom Tromey <tromey@redhat.com>
3608
3609 * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
3610 * link.cc (make_vtable): Use correct index when searching for
3611 missing method's name. Don't use `flags'.
3612 (set_vtable_entries): Removed `flags' argument. Don't recurse
3613 into superclasses.
3614 (link_symbol_table): Ensure target class method table is
3615 complete. Ensure target fields are laid out before entering
3616 loop.
3617
3618 * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
3619 fix.
3620
3621 * interpret.cc (do_verify): Don't verify abstract methods.
3622
3623 2004-11-01 Tom Tromey <tromey@redhat.com>
3624
3625 * link.cc (wait_for_state): Call verify_class.
3626
3627 * verify.cc (state::check_no_uninitialized_objects): Removed.
3628 (push_jump): Updated.
3629 (push_exception_jump): Likewise.
3630 (handle_ret_insn): Likewise.
3631 (handle_jsr_insn): Likewise.
3632
3633 2004-10-28 Andrew Haley <aph@redhat.com>
3634
3635 * gnu/gcj/runtime/PersistentByteMap.java: New file.
3636 * jv_dbtool.java: New file.
3637 * Makefile.am (bin_PROGRAMS): Add jv-dbtool
3638 (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
3639 (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
3640 * Makefile.in: Regenerate,
3641 * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
3642 Enumeration, StringTokenizer, Vector, PersistentByteMap.
3643 (precompiledMapFiles): New variable.
3644 (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
3645 initialize precompiledMapFiles.
3646 (compileClass): Look at the database of precompiled class files
3647 before firing up gcj.
3648
3649 * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
3650
3651 2004-10-27 Andrew Haley <aph@redhat.com>
3652
3653 * java/lang/VMCompiler.java (compileClass): try looking for
3654 precompiledMapFiles.
3655 * gnu/gcj/runtime/PersistentByteMap.java: New file.
3656
3657 2004-10-27 Tom Tromey <tromey@redhat.com>
3658
3659 * link.cc (ensure_class_linked): Only resolve classes for
3660 compiled classes.
3661 (add_miranda_methods): Ensure interface supers are installed.
3662 (resolve_pool_entry): Better error message.
3663
3664 2004-10-25 Tom Tromey <tromey@redhat.com>
3665
3666 * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
3667
3668 * java/util/ResourceBundle.java (tryBundle): Use
3669 Class.isAssignableFrom rather than catching ClassCastException.
3670
3671 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
3672 exception if we hit EOF of `in'.
3673 (read): Handle case where inflating returns -1.
3674
3675 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
3676 initialize `iter'.
3677 * gnu/java/text/SentenceBreakIterator.java
3678 (SentenceBreakIterator): Don't initialize `iter'.
3679 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
3680 initialize `iter'.
3681 * gnu/java/text/CharacterBreakIterator.java
3682 (CharacterBreakIterator): Don't initialize `iter'.
3683 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
3684 constructor.
3685 * java/text/BreakIterator.java: Updated documentation.
3686
3687 2004-10-20 Tom Tromey <tromey@redhat.com>
3688
3689 * java/util/ResourceBundle.java (tryBundle): Also ignore
3690 ClassCastException.
3691
3692 2004-10-18 Tom Tromey <tromey@redhat.com>
3693
3694 * interpret.cc (do_post_miranda_hook): New method.
3695 * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
3696 New field.
3697 (_Jv_CompiledEngine::do_post_miranda_hook): New method.
3698 (_Jv_CompiledEngine): Initialize new field.
3699 (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
3700 (_Jv_InterpreterEngine): Initialize new field.
3701 * link.cc (resolve_pool_entry): Put Miranda methods in target
3702 class.
3703 (ensure_method_table_complete): Call post_miranda_hook.
3704 * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
3705 aux_info.
3706 * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
3707 (parse): Set class' aux_info here.
3708
3709 * boehm.cc (_Jv_MarkObj): Mark `throws'.
3710
3711 * boehm.cc: Re-merged with trunk.
3712
3713 2004-10-18 Andrew Haley <aph@redhat.com>
3714
3715 PR java/18036:
3716 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
3717 and correct logic used to find interpreter.
3718
3719 2004-10-13 Andrew Haley <aph@redhat.com>
3720
3721 * interpret.cc (_Jv_InterpMethod::run): Initialize
3722 _Jv_StartOfInterpreter.
3723 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
3724 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
3725 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
3726 _Unwind_FindEnclosingFunction to discover whether PC is within the
3727 interpreter.
3728
3729 2004-10-13 Tom Tromey <tromey@redhat.com>
3730
3731 * link.cc (find_iindex): Copy correct number of slots to new
3732 ioffsets.
3733
3734 2004-10-12 Tom Tromey <tromey@redhat.com>
3735
3736 * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
3737 proc.
3738 (gcj_loader_test_one): Use it.
3739 (gcj_loader_run): Likewise.
3740
3741 * prims.cc: Don't include FirstThread.h.
3742
3743 2004-10-06 Tom Tromey <tromey@redhat.com>
3744
3745 * link.cc (ensure_method_table_complete): Ensure superclass
3746 Miranda methods installed.
3747
3748 * include/java-interp.h (class _Jv_JNIMethod): Added
3749 JV_MARKOBJ_DECL as a friend.
3750 * interpret.cc (ncode): Allocate jni_arg_types field with GC.
3751 * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
3752 interpreter method structures. Mark jni_arg_types of JNI
3753 methods.
3754
3755 * defineclass.cc (parse): Use JV_STATE_READ.
3756 * java/lang/Class.h (JV_STATE_READ): New enum value.
3757
3758 2004-10-05 Tom Tromey <tromey@redhat.com>
3759
3760 * link.cc (resolve_pool_entry): Add signature info to missing
3761 method's information.
3762
3763 * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
3764 * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
3765
3766 2004-10-04 Tom Tromey <tromey@redhat.com>
3767
3768 * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
3769 marking IDT.
3770
3771 2004-09-29 Tom Tromey <tromey@redhat.com>
3772
3773 * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
3774 resolve.cc.
3775 * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
3776 * jni.cc: Use _Jv_Linker.
3777 * interpret.cc: Use _Jv_Linker.
3778 * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
3779 * java/lang/natClassLoader.cc: Use _Jv_Linker.
3780 * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
3781 * java/lang/Class.h: Use _Jv_Linker.
3782 * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
3783 * resolve.cc: Renamed ...
3784 * link.cc: ... here. Use _Jv_Linker.
3785 * defineclass.cc (checkExtends): Use _Jv_Linker.
3786
3787 2004-09-17 Tom Tromey <tromey@redhat.com>
3788
3789 * defineclass.cc (handleCodeAttribute): Don't reference
3790 `deferred'.
3791 (handleMethodsEnd): Likewise.
3792 * include/java-interp.h (_Jv_MethodBase::deferred): Removed
3793 field.
3794 (_Jv_Defer_Resolution): Don't declare or define.
3795 * interpret.cc (do_create_ncode): Don't resolve deferred method
3796 pointers.
3797 * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
3798 * resolve.cc (link_symbol_table): No need to defer resolution.
3799
3800 2004-09-14 Tom Tromey <tromey@redhat.com>
3801
3802 * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
3803 (_Jv_MarkObj): Updated.
3804 (_Jv_MarkArray): Likewise.
3805
3806 * include/jvm.h (StringClass): Removed.
3807 * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
3808 * interpret.cc (_Jv_InitField): Don't use StringClass.
3809 * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
3810 StringClass.
3811 (rehash): Likewise
3812 (intern): Likewise.
3813 (_Jv_FinalizeString): Likewise.
3814 (_Jv_NewStringUtf8Const): Likewise.
3815 (equals): Likewise.
3816 * prims.cc (JvConvertArgv): Don't use StringClass.
3817
3818 * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
3819 * resolve.cc (ensure_fields_laid_out): Don't mention
3820 COMPACT_FIELDS.
3821 * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
3822 * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
3823
3824 * java/lang/reflect/natField.cc (getType): Use resolve_field.
3825 * java/lang/natVMClassLoader.cc (resolveClass): New native
3826 implementation.
3827 (linkClass0): Removed.
3828 (markClassErrorState0): Likewise.
3829 * java/lang/natClassLoader.cc: Include execution.h. Moved class
3830 preparation code to resolve.cc.
3831 (_Jv_RegisterClassHookDefault): Set class's execution engine if
3832 not already set.
3833 (_Jv_FindClass): Use wait_for_state.
3834 (_Jv_NewArrayClass): Likewise. Simplified permissions setting.
3835 * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
3836 Moved interface table and class preparation code to resolve.cc.
3837 (finalize): Rewrote.
3838 (initializeClass): Simplified locking and class preparation.
3839 * java/lang/VMClassLoader.java (linkClass0): Removed.
3840 (markClassErrorState0): Likewise.
3841 (resolveClass): Now native.
3842 (transformException): New method.
3843 * java/lang/Class.h (getSuperclass): Don't try to resolve super
3844 reference.
3845 (getInterface): Likewise.
3846 (size): Likewise.
3847 (set_state): New method.
3848 (Class): Updated friend declarations.
3849 (verify): Field now private.
3850 (engine): New field.
3851 * include/jvm.h (class _Jv_Resolver): New class declaration.
3852 (_Jv_ResolveField): Removed declaration.
3853 (_Jv_CheckAccessNoInit): Likewise.
3854 (_Jv_isBinaryCompatible): Removed.
3855 * include/java-interp.h (class _Jv_MethodBase): Updated friend
3856 declarations.
3857 (class _Jv_InterpMethod): Likewise.
3858 (class _Jv_InterpClass): Likewise.
3859 (class _Jv_JNIMethod): Likewise.
3860 * include/execution.h: New file.
3861 * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
3862 (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
3863 Register class after setting fields.
3864 * resolve.cc: Include execution.h, VerifyError.h. Moved
3865 interpreter-specific code to interpret.cc.
3866 (uaddr): New location.
3867 (struct aligner): Likewise.
3868 (ALIGNOF): Likewise.
3869 (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
3870 (INITIAL_IFACES_LEN): Likewise.
3871 (null_idt): Likewise.
3872 (_Jv_GetMethodString): Likewise.
3873 (_Jv_ThrowNoSuchMethodError): Likewise.
3874 (_Jv_abstractMethodError): Likewise.
3875 (_Jv_Resolver::get_alignment_from_class): Renamed.
3876 (_Jv_Resolver::resolve_field): Likewise.
3877 (_Jv_Resolver::resolve_pool_entry): Likewise.
3878 (_Jv_Resolver::resolve_class_ref): Likewise.
3879 (_Jv_Resolver::prepare_constant_time_tables): Likewise.
3880 (_Jv_Resolver::indexof): Likewise.
3881 (_Jv_Resolver::get_interfaces): Likewise.
3882 (_Jv_Resolver::generate_itable): Likewise.
3883 (_Jv_Resolver::append_partial_itable): Likewise.
3884 (_Jv_Resolver::find_iindex): Likewise.
3885 (_Jv_Resolver::link_symbol_table): Likewise.
3886 (_Jv_Resolver::link_exception_table): Likewise.
3887 (_Jv_Resolver::layout_interface_methods): Likewise.
3888 (_Jv_Resolver::layout_vtable_methods): Likewise.
3889 (_Jv_Resolver::set_vtable_entries): Likewise.
3890 (_Jv_Resolver::make_vtable): Likewise.
3891 (_Jv_Resolver::ensure_fields_laid_out): Likewise.
3892 (_Jv_Resolver::ensure_class_linked): Likewise.
3893 (_Jv_Resolver::ensure_supers_installed): Likewise.
3894 (_Jv_Resolver::add_miranda_methods): Likewise.
3895 (_Jv_Resolver::ensure_method_table_complete): Likewise.
3896 (_Jv_Resolver::verify_class): Likewise.
3897 (_Jv_Resolver::wait_for_state): Likewise.
3898 * prims.cc (_Jv_soleCompiledEngine): New global.
3899 (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
3900 (_Jv_CheckAccessNoInit): Removed.
3901 * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
3902 * interpret.cc: Include platform.h, ClassFormatError.h,
3903 Modifier.h, execution.h.
3904 (_Jv_soleInterpreterEngine): New global.
3905 (compile): Use resolve_pool_entry.
3906 (run): Likewise.
3907 (_Jv_InitField): New location.
3908 (skip_one_type): Likewise.
3909 (get_ffi_type_from_signature): Likewise.
3910 (_Jv_count_arguments): Likewise.
3911 (init_cif): Likewise.
3912 (ncode_closure): Likewise.
3913 (ffi_closure_fun): Likewise.
3914 (ncode): Likewise.
3915 (throw_class_format_error): Likewise.
3916 (throw_class_format_error): Likewise.
3917 (_Jv_InterpreterEngine::do_verify): New method.
3918 (_Jv_InterpreterEngine::do_create_ncode): Likewise.
3919 (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
3920 (_Jv_InterpreterEngine::do_resolve_method): Likewise.
3921 * defineclass.cc: Include execution.h.
3922 (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
3923 engine.
3924 (checkExtends): Ensure superclass has supers installed.
3925 (_Jv_ClassNameSamePackage): Clarify usage constraints.
3926 * boehm.cc (GC_enable, GC_disable): Declare at top of file.
3927 (_Jv_MarkObj): Unconditionally mark vtable. Mark interface
3928 dispatch tables.
3929
3930 2004-09-13 Tom Tromey <tromey@redhat.com>
3931
3932 * mauve-libgcj: List some classes we don't have.
3933
3934 2004-09-10 Andrew Haley <aph@redhat.com>
3935
3936 * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
3937 * java/lang/natClass.cc (initializeClass): Check itable.
3938 (_Jv_getInterfaceMethod): New.
3939 (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
3940 Check that an interface method isn't called with invokevirtual.
3941
3942 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
3943 super_meth is virtual.
3944
3945 2004-09-01 Tom Tromey <tromey@redhat.com>
3946
3947 * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
3948 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
3949 _Jv_CheckAccessNoInit.
3950 * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
3951 * prims.cc (_Jv_CheckAccessNoInit): New method.
3952
3953 * java/lang/reflect/natMethod.cc (invoke): Check access against
3954 declaring class, not object's class.
3955 * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
3956 argument.
3957 (_Jv_LayoutVTableMethods): Perform checks of accessibility of
3958 overridden method.
3959 * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
3960 argument.
3961
3962 2004-08-30 Andrew Haley <aph@redhat.com>
3963
3964 * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
3965 ClassNotFoundException.
3966 Throw NoClassDefFoundError.
3967
3968 * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
3969 to klass->verify() from here ...
3970 (_Jv_PrepareCompiledClass): ...and put it here.
3971
3972 2004-08-27 Andrew Haley <aph@redhat.com>
3973
3974 * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
3975 klass->verify().
3976 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
3977 (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
3978
3979 2004-08-27 Tom Tromey <tromey@redhat.com>
3980
3981 * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
3982 friend.
3983 * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
3984 (_Jv_IsAssignableFromSlow): New function.
3985 Include VerifyError.h.
3986 * include/jvm.h (_Jv_CheckAssignment): Declare.
3987
3988 2004-08-18 Andrew Haley <aph@redhat.com>
3989
3990 * java/lang/VMCompiler.java (loadSharedLibrary): Add className
3991 argument. Pass it to findClass instead of fileName.
3992 (compileClass): Pass class name to loadSharedLibrary.
3993
3994 2004-06-22 Andrew Haley <aph@redhat.com>
3995
3996 * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
3997
3998 2004-06-15 Andrew Haley <aph@redhat.com>
3999
4000 * java/lang/natSystem.cc (getenv0): Don't assume environment
4001 variable is Latin 1 coded.
4002
4003 2004-06-07 Andrew Haley <aph@redhat.com>
4004
4005 * java/lang/System.java: (getenv0): New method.
4006 (getenv): Add security check. Do the right thing.
4007 * java/lang/natSystem.cc (getenv0): New method.
4008
4009 2004-04-19 Andrew Haley <aph@redhat.com>
4010
4011 * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
4012 we destroy.
4013
4014 * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
4015 is returned as an int in the range 0 to 255.
4016
4017 2004-08-13 Tom Tromey <tromey@redhat.com>
4018
4019 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
4020 class if it is interpreted.
4021
4022 2004-08-12 Tom Tromey <tromey@redhat.com>
4023
4024 * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
4025 * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
4026 (Class::getSuperclass): Updated.
4027 (Class::getInterfaces): Likewise.
4028 (Class::size): Updated.
4029 (_Jv_LayoutClass): Updated declaration.
4030 * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
4031 Synchronize on class.
4032 (_Jv_LayoutClass): Changed interface.
4033 (initializeClass): Updated.
4034 (_Jv_LinkSymbolTable): Likewise.
4035
4036 * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
4037 friend.
4038 * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
4039 _Jv_isBinaryCompatible.
4040 * java/lang/natClass.cc (initializeClass): Use
4041 _Jv_isBinaryCompatible.
4042 (_Jv_LinkSymbolTable): Likewise.
4043 * include/jvm.h (_Jv_isBinaryCompatible): New function.
4044
4045 2004-08-11 Tom Tromey <tromey@redhat.com>
4046
4047 * gcj/javaprims.h: Regenerated.
4048 * java/lang/natClassLoader.cc (getClassLoader0): Removed.
4049 (_registerClass): Likewise.
4050 * Makefile.in: Rebuilt.
4051 * Makefile.am (core_java_source_files): Added VMCompiler.
4052 * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
4053 * java/lang/VMCompiler.java: New file.
4054 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
4055 `verbose' code.
4056 (copyFile): Don't use fully-qualified name.
4057 (h): Removed.
4058 * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
4059 (defineClass): Use VMCompiler.
4060 * java/lang/ClassLoader.java (defineClass): Removed jit
4061 compilation code and `verbose' code.
4062 (getClassLoader0): Removed.
4063 (_registerClass): Likewise.
4064 (SharedLibHelpers): Removed.
4065
4066 2004-08-10 Tom Tromey <tromey@redhat.com>
4067
4068 * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
4069 URL)): New constructor.
4070 (SoURLLoader): Likewise.
4071 (JarURLLoader): Create SoURLLoader with override URL.
4072
4073 2004-08-10 Mark Wielaard <mark@klomp.org>
4074
4075 * Makefile.in: Rebuilt.
4076 * Makefile.am (interpret.lo): New rule.
4077
4078 2004-08-05 Andrew Haley <aph@redhat.com>
4079
4080 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
4081 aside for "GCJLIBS" in directory where jarfiles are loaded.
4082 (JarURLLoader.getClass): New method.
4083 (JarURLLoader.toString): New method.
4084 (FileResource.toString): New method.
4085 * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
4086 Remove "Duplicate class registration: " bug.
4087 (_registerClass): New method.
4088 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
4089 (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
4090 Add debugging.
4091 (_Jv_LayoutClass): Use getSuperclass() rather than directly
4092 accessing the field.
4093 * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
4094 (defineClass): Call gcj to JIT-compile a class.
4095 (_registerClass): New method.
4096 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
4097 library name can refer to more than one loaded library, so use a
4098 Set of SharedLibHelpers.
4099 If a shared library is already loaded, take a copy.
4100 (copyFile): New function.
4101
4102 * testsuite/libjava.compile/compile.exp: Force
4103 -findirect-dispatch.
4104
4105 * java/security/BasicPermission.java: Remove bogus checks.
4106
4107 * java/lang/System.java (getenv0): New method.
4108 * java/lang/natSystem.cc (getenv0): New method.
4109
4110 2004-05-24 Andrew Haley <aph@redhat.com>
4111
4112 * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
4113
4114 2004-04-20 Bryce McKinlay <mckinlay@redhat.com>
4115
4116 * Merged with HEAD as of 20040514. Diff against
4117 gcj-abi-2-merge-20040514.
4118
4119 2004-04-16 Andrew Haley <aph@redhat.com>
4120
4121 * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
4122 _Jv_LayoutClass.
4123 (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
4124 (_Jv_PrepareCompiledClass): If we throw an exception during
4125 preparation, restore state.
4126 (ClassLoader::getClassLoader0): New method.
4127
4128 * java/lang/natClass.cc (get_alignment_from_class): Moved here
4129 from resolve.cc.
4130 (ALIGNOF): Use offsetof, not __alignof__.
4131 (_Jv_ResolveClassRef): Resolve a reference to a class in a
4132 constant pool.
4133 (getInterfaces): Emit debug output if interface hasn't been
4134 resolved.
4135 (initializeClass): Call _Jv_LayoutClass.
4136 (_Jv_LinkSymbolTable): Add debugging output.
4137 (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
4138 found.
4139 (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
4140 (_Jv_LinkSymbolTable): Pass the real class loader to
4141 _Jv_FindClass.
4142 (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
4143 exception class.
4144 (_Jv_LinkSymbolTable): Assert if we find a static field reference
4145 to an interpreted class.
4146 (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
4147 superclass.
4148 (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
4149 resolve.cc.
4150
4151 * java/lang/VMSecurityManager.java: Check for the system class
4152 loader as well as loader != null.
4153
4154 * java/lang/SecurityManager.java (checkPermission): Remove
4155 security check.
4156 (checkRead): Likewise.
4157 (checkConnect): Likewise.
4158
4159 * java/lang/ClassLoader.java (loadClass): Include all class
4160 loaders in stack trace string.
4161 Look for class in "gcjlib.so" in the same directory.
4162 (getSystemClassLoader) Use getClassLoader0.
4163 (getClassLoader0): New native method.
4164
4165 * java/lang/Class.h (getSuperclass): New method.
4166 (getInterface): New method.
4167 (size): Lay out class if needed.
4168 (firstMethodIndex): New method.
4169 (Jv_ResolveClassRef): New declaration.
4170 (_Jv_LinkSymbolTable): New declaration.
4171
4172 * java/io/ObjectOutputStream.java: Add DEBUG statements
4173 everywhere.
4174 (dumpElementln): New method.
4175 (depth): New field.
4176 * java/io/ObjectInputStream.java (MyIOException): new, for
4177 debugging.
4178 Everywhere: use MyIOException rather than IOException.
4179 Indent debugging output to make nesting visible.
4180 (currentClassLoader): Make native
4181 (callersClassLoader): New field.
4182 (depth): New field.
4183 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4184 method.
4185
4186 (readObject): ENDBLOCKDATA is generated if the class has a write
4187 method, not if it has a read method.
4188
4189 * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
4190
4191 * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
4192 getContextClassLoader form the current thread after our own class
4193 loader.
4194
4195 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
4196 debugging.
4197 (toString): New method.
4198
4199 * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
4200 interfaces array.
4201
4202 * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
4203 a constant pool entry, resolve it now.
4204 (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
4205 in natClass.cc.
4206 Move get_alignment_from_class to natClass.cc.
4207
4208 * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
4209 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
4210
4211 * defineclass.cc (checkExtends): Don't access superclass field
4212 directly.
4213
4214 * Makefile.in: regenerate.
4215
4216 * gnu/gcj/util/natDebug.cc: New
4217 * gnu/gcj/util/Debug.java: New.
4218
4219 * Makefile.am (java/io/ObjectInputStream.lo): Use
4220 -fno-optimize-sibling-calls.
4221
4222 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
4223 _Jv_LookupInterfaceMethodIdx to calculate the address of a method
4224 in an interface.
4225 * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
4226
4227 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
4228
4229 * configure: Regenerate for libtool change.
4230
4231 2004-11-24 Michael Koch <konqueror@gmx.de>
4232
4233 * gnu/java/security/PolicyFile.java: New file.
4234 * Makefile.am: Added gnu/java/security/PolicyFile.java.
4235 * Makefile.in: Regenerated.
4236
4237 2004-11-24 Michael Koch <konqueror@gmx.de>
4238
4239 * java/lang/Character.java, scripts/unicode-blocks.pl:
4240 Reorder "final static" to "static final".
4241
4242 2004-11-24 Michael Koch <konqueror@gmx.de>
4243
4244 * java/util/ResourceBundle.java: Reformatted.
4245 (tryBundle): Fixed javadoc.
4246
4247 2004-11-24 Jeroen Frijters <jeroen@frijters.net>
4248
4249 * java/text/MessageFormat.java
4250 (formatInternal): Made private.
4251
4252 2004-11-24 Michael Koch <konqueror@gmx.de>
4253
4254 * java/nio/DirectByteBufferImpl.java
4255 (ReadWrite.ReadWrite): New constructor.
4256 (DirectByteBufferImpl): Likewise.
4257 * jni.cc (_Jv_JNI_NewDirectByteBuffer):
4258 Use DirectByteBufferImpl.ReadWrite.
4259 * Makefile.am:
4260 Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
4261 * Makefile.in: Rgenerated.
4262
4263 2004-11-24 Jeroen Frijters <address@bogus.example.com>
4264
4265 * java/nio/DirectByteBufferImpl.java
4266 (ReadOnly): New inner subclass.
4267 (ReadWrite): New inner subclass.
4268 (owner): Made final and private.
4269 (address): Made final.
4270 (DirectByteBufferImpl(int)): New constructor.
4271 (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
4272 (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
4273 (allocate): Modified to instantiate ReadWrite subclass.
4274 (finalize): Fixed to only free the buffer, if we own it.
4275 (put): Removed read-only check.
4276 (slice, duplicate): Modified to instantiate appropriate subclass.
4277 (isReadOnly): Removed.
4278 * java/nio/MappedByteBufferImpl.java
4279 (slice, duplicate): Modified to instantiate appropriate
4280 DirectByteBufferImpl subclass.
4281
4282 2004-11-24 Michael Koch <konqueror@gmx.de>
4283
4284 * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
4285 * java/nio/DirectByteBufferImpl.java:
4286 Moved native methods to java.nio.VMDirectByteBuffer class.
4287 * java/nio/MappedByteBufferImpl.java:
4288 Use native methods from java.nio.VMDirectByteBuffer class.
4289 * java/nio/VMDirectByteBuffer.java: New file,
4290 * java/nio/natDirectByteBufferImpl.cc:
4291 Moved all methods into java.nio.VMDirectByteBuffer class.
4292 * java/nio/channels/spi/AbstractSelectableChannel.java
4293 (register): Only re-use valid keys.
4294 * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
4295 * Makefile.in: Regenerated.
4296
4297 2004-11-24 Michael Koch <konqueror@gmx.de>
4298
4299 * java/nio/DirectByteBufferImpl.java,
4300 java/nio/MappedByteBufferImpl.java:
4301 Reformatted.
4302
4303 2004-11-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4304
4305 * testsuite/lib/libjava.exp,
4306 testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
4307
4308 2004-11-23 Richard Sandiford <rsandifo@redhat.com>
4309
4310 * configure.host: Enable the interpreter for mips*-*-linux*.
4311
4312 2004-11-23 Michael Koch <konqueror@gmx.de>
4313
4314 * java/lang/String.java (rehash): Removed.
4315 * java/lang/natString.cc (rehash): Made static.
4316 (_Jv_NewStringUtf8Const): Use static rehash method.
4317
4318 2004-11-23 Michael Koch <konqueror@gmx.de>
4319
4320 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
4321 include/Makefile.in, testsuite/Makefile.in: Regenerated.
4322
4323 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
4324
4325 PR target/18444
4326 * configure.ac (threading): Accept 'posix95'.
4327 * configure: Regenerate.
4328
4329 2004-11-22 Michael Koch <konqueror@gmx.de>
4330
4331 * gnu/java/nio/SocketChannelImpl.java
4332 (read): Made check for blocking un-ambiguous.
4333 Removed wrong check for data array length.
4334
4335 2004-11-21 Michael Koch <konqueror@gmx.de>
4336
4337 * gnu/java/nio/SocketChannelImpl.java
4338 (read): Only return 0 when no bytes for reading available in
4339 non-blocking mode.
4340 * java/nio/channels/SocketChannel.java:
4341 Added some missing @return tags.
4342
4343 2004-11-21 Michael Koch <konqueror@gmx.de>
4344
4345 * java/beans/PropertyChangeSupport.java
4346 (propertyChangeSupportSerializedDataVersion): Made static.
4347 * java/beans/VetoableChangeSupport.java
4348 (propertyChangeSupportSerializedDataVersion): Likewise.
4349
4350 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
4351
4352 * java/net/URLStreamHandler.java
4353 (parseURL): Fixed file path canonicalisation.
4354
4355 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
4356
4357 * java/net/URLStreamHandler.java
4358 (parseURL): Fixed file path canonicalisation.
4359
4360 2004-11-18 Michael Koch <konqueror@gmx.de>
4361
4362 * java/net/URLClassLoader.java: Whitespace cleanup.
4363
4364 2004-11-18 Robert Schuster <address@bogus.example.com>
4365
4366 Complete 1.4 support
4367 * java/beans/PropertyDescriptor.java:
4368 (setReadMethod): New method
4369 (setWriteMethod): New method
4370 (equals): Implemented (1.4)
4371 (checkMethods): operates on arguments now (private)
4372
4373
4374 2004-11-18 Mattias Rehnberg <Mattias.Rehnberg@home.se>
4375
4376 * java/net/Inet6Address.java (getHostAddress): Fix textual
4377 representation of IPv6 address with embedded zeroes
4378 to conform to RFC 2373.
4379
4380 2004-11-18 Jeroen Frijters <address@bogus.example.com>
4381
4382 * java/lang/StackTraceElement.java: Made final.
4383 * java/nio/channels/Channels.java: Added private constructor.
4384 * java/rmi/Naming.java: Added private constructor.
4385 * java/rmi/registry/LocateRegistry.java: Added private constructor.
4386 * java/rmi/server/RMIClassLoader.java: Added private constructor.
4387 * java/security/KeyPairGeneratorSpi.java
4388 (clone): Made protected and simplified implementation.
4389 * java/text/DateFormat.java
4390 (allFields): Made package accessible.
4391 * java/text/DecimalFormat.java
4392 (formatInternal): Made private.
4393 * java/text/Format.java
4394 (formatInternal): Made private.
4395 * java/util/logging/Handler.java: Made constructor protected.
4396 * java/util/regex/Matcher.java: Made final.
4397 * java/util/regex/Pattern.java: Made final.
4398 * javax/crypto/CipherInputStream.java
4399 (mark): Corrected mark parameter type (from long to int).
4400 * javax/crypto/ExemptionMechanism.java
4401 (finalize): Added.
4402 * javax/crypto/Mac.java
4403 (getMacLength): Made final.
4404 (clone): Made final.
4405 * javax/imageio/ImageIO.java: Added private constructor.
4406 * javax/imageio/stream/ImageInputStreamImpl.java
4407 (checkClosed): Made final.
4408 * javax/net/ssl/SSLPermission.java: Made final.
4409 * javax/print/DocFlavor.java
4410 (hostEncoding): Added work-around to prevent the field from being
4411 a compile time constant.
4412 * javax/print/attribute/AttributeSetUtilities.java: Added private
4413 constructor.
4414 (UnmodifiableDocAttributeSet): Made private.
4415 (UnmodifiablePrintJobAttributeSet): Made private.
4416 (UnmodifiablePrintRequestAttributeSet): Made private.
4417 (UnmodifiablePrintServiceAttributeSet): Made private.
4418 (SynchronizedAttributeSet): Made private.
4419 (SynchronizedDocAttributeSet): Made private.
4420 (SynchronizedPrintJobAttributeSet): Made private.
4421 (SynchronizedPrintRequestAttributeSet): Made private.
4422 (SynchronizedPrintServiceAttributeSet): Made private.
4423 * javax/security/auth/PrivateCredentialPermission.java: Made final.
4424
4425 2004-11-18 Craig Black <craig.black@aonix.com>
4426
4427 * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
4428
4429 2004-11-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
4430
4431 * Makefile.am: Correct friend function declaration.
4432 * Makefile.in: Regenerated.
4433 * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
4434 scope to function names. Declare functions directly.
4435 * libjava/java/lang/Class.h
4436 (java::lang::Class): Correct friend class declaration.
4437 (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
4438 scope.
4439 * libjava/java/lang/Class.h
4440 (java::lang::Object): Correct friend class declaration.
4441
4442 2004-11-17 David Daney <ddaney@avtrex.com>
4443
4444 * java/io/BufferedInputStream.java (skip): Return zero on EOF.
4445
4446 2004-11-17 Michael Koch <konqueror@gmx.de>
4447
4448 * java/net/Socket.java (getPort): Return 0 in error case.
4449
4450 2004-11-17 Michael Koch <konqueror@gmx.de>
4451
4452 * java/nio/DirectByteBufferImpl.java
4453 (owner): Updated comment.
4454 (allocate): New method.
4455
4456 2004-11-17 Michael Koch <konqueror@gmx.de>
4457
4458 * java/net/URL.java (URL): Handle case when argument is null.
4459
4460 2004-11-17 Michael Koch <konqueror@gmx.de>
4461
4462 * java/beans/Beans.java,
4463 java/beans/PropertyChangeEvent.java,
4464 java/beans/PropertyEditorSupport.java:
4465 Fixed javadocs.
4466
4467 2004-11-17 Michael Koch <konqueror@gmx.de>
4468
4469 * java/util/Timer.java (DEFAULT_SIZE): Made static.
4470
4471 2004-11-17 Michael Koch <konqueror@gmx.de>
4472
4473 * java/net/InetAddress.java (getCanonicalHostName):
4474 Support IPv6 addresses.
4475
4476 2004-11-16 Michael Koch <konqueror@gmx.de>
4477
4478 * java/lang/Object.java: Added javadocs all over (merged from GNU
4479 classpath).
4480
4481 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
4482
4483 * java/security/Security.java (Security): Silence the warning about no
4484 providers found in the no debug case.
4485
4486 2004-11-16 Michael Koch <konqueror@gmx.de>
4487
4488 * java/net/InetAddress.java
4489 (toString): Merged from GNU classpath.
4490
4491 2004-11-16 Michael Koch <konqueror@gmx.de>
4492
4493 * java/awt/geom/doc-files/Area-1.png,
4494 java/awt/geom/doc-files/Ellipse-1.png,
4495 java/awt/geom/doc-files/GeneralPath-1.png:
4496 New files.
4497
4498 2004-11-16 Michael Koch <konqueror@gmx.de>
4499
4500 * java/util/Currency.java (cache): Fix modifier order.
4501
4502 2004-11-16 Michael Koch <konqueror@gmx.de>
4503
4504 * java/io/BufferedReader.java,
4505 java/io/FileInputStream.java,
4506 java/io/FileOutputStream.java,
4507 java/io/FileWriter.java,
4508 java/io/OutputStreamWriter.java,
4509 java/io/PipedInputStream.java,
4510 java/io/PipedOutputStream.java,
4511 java/io/PipedReader.java,
4512 java/io/PipedWriter.java,
4513 java/io/PrintStream.java,
4514 java/io/PushbackInputStream.java,
4515 java/io/RandomAccessFile.java,
4516 java/io/Reader.java,
4517 java/io/StreamTokenizer.java,
4518 java/io/StringReader.java,
4519 java/net/NetworkInterface.java,
4520 java/net/URLClassLoader.java,
4521 java/nio/ByteOrder.java,
4522 java/nio/channels/Channel.java:
4523 Fixed javadocs all over.
4524
4525 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
4526
4527 * Makefile.am: Add imported files.
4528 * Makefile.in: Regenerate.
4529
4530 2004-10-24 Casey Marshall <csm@gnu.org>
4531
4532 * javax/security/auth/login/LoginContext.java: Implemented.
4533 * javax/security/auth/login/Configuration.java (getConfig): New method.
4534 * javax/security/auth/spi/LoginModule.java,
4535 * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
4536
4537 2004-11-15 Andreas Tobler <a.tobler@schweiz.ch>
4538
4539 Import/Merge the X.509 certificate code from Classpath.
4540
4541 * Makefile.am: Add imported files.
4542 * Makefile.in: Regenerate.
4543
4544 2004-11-07 Casey Marshall <csm@gnu.org>
4545
4546 * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
4547 priviliged action. Add new algorithms.
4548 * gnu/java/security/provider/X509CertificateFactory.java
4549 (engineGenerateCertificate): Chain exceptions.
4550 (engineGenerateCertificates): Likewise.
4551 (engineGenerateCRL): Likewise.
4552 (engineGenerateCRLs): Likewise.
4553 (engineGenerateCertPath): New methods.
4554 (generateCert): Throw exception if 'inStream' is null.
4555 (generateCRL): Likewise.
4556 * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
4557 version from GNU Crypto CVS.
4558 * gnu/java/security/x509/X509CRL.java: Likewise.
4559 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
4560 * gnu/java/security/x509/X509Certificate.java: Likewise.
4561 * java/security/cert/TrustAnchor.java: Call 'toString' and not
4562 toRFC2253.
4563 * gnu/java/security/provider/CollectionCertStoreImpl.java,
4564 * gnu/java/security/provider/EncodedKeyFactory.java,
4565 * gnu/java/security/provider/GnuDHPublicKey.java,
4566 * gnu/java/security/provider/GnuRSAPrivateKey.java,
4567 * gnu/java/security/provider/GnuRSAPublicKey.java,
4568 * gnu/java/security/provider/MD2withRSA.java,
4569 * gnu/java/security/provider/MD4withRSA.java,
4570 * gnu/java/security/provider/MD5withRSA.java,
4571 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4572 * gnu/java/security/provider/RSA.java,
4573 * gnu/java/security/provider/RSAKeyFactory.java,
4574 * gnu/java/security/provider/SHA1withRSA.java,
4575 * gnu/java/security/x509/GnuPKIExtension.java,
4576 * gnu/java/security/x509/PolicyNodeImpl.java,
4577 * gnu/java/security/x509/Util.java,
4578 * gnu/java/security/x509/X509CRLSelectorImpl.java,
4579 * gnu/java/security/x509/X509CertPath.java,
4580 * gnu/java/security/x509/X509CertSelectorImpl.java,
4581 * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4582 * gnu/java/security/x509/ext/BasicConstraints.java,
4583 * gnu/java/security/x509/ext/CRLNumber.java,
4584 * gnu/java/security/x509/ext/CertificatePolicies.java,
4585 * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
4586 * gnu/java/security/x509/ext/Extension.java,
4587 * gnu/java/security/x509/ext/GeneralNames.java,
4588 * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
4589 * gnu/java/security/x509/ext/KeyUsage.java,
4590 * gnu/java/security/x509/ext/PolicyConstraint.java,
4591 * gnu/java/security/x509/ext/PolicyMappings.java,
4592 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
4593 * gnu/java/security/x509/ext/ReasonCode.java,
4594 * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
4595 * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
4596
4597 2004-11-07 Casey Marshall <csm@gnu.org>
4598
4599 * gnu/java/security/x509/X509CRL.java:
4600 Missed import statements in previous checkin.
4601
4602 2004-11-07 Casey Marshall <csm@gnu.org>
4603
4604 * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
4605 to 'X509CertificateImpl' from previous checkin.
4606
4607 2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
4608
4609 PR other/14264
4610 * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
4611
4612 2004-11-11 Casey Marshall <csm@gnu.org>
4613
4614 * gnu/java/nio/FileLock.java (isValid): locks are valid if the
4615 channel is open.
4616 * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
4617 'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
4618
4619 2004-11-11 Robert Schuster <thebohemian@gmx.net>
4620
4621 Fixed regression:
4622 * gnu/java/beans/IntrospectionIncubator.java:
4623 (addMethod): Corrected classification of normal and property methods.
4624 (capitalize): Added documentation.
4625 (DoubleKey): [class] Added documentation.
4626
4627 2004-11-09 Tom Tromey <tromey@redhat.com>
4628
4629 * include/jni.h: Added FIXME.
4630
4631 2004-11-08 Tom Tromey <tromey@redhat.com>
4632
4633 * java/util/GregorianCalendar.java: Removed unused imports.
4634 * java/util/Vector.java: Removed unused import.
4635
4636 2004-11-07 Michael Koch <konqueror@gmx.de>
4637
4638 * java/lang/Process.java:
4639 Import cleanups.
4640
4641 2004-11-07 Jeroen Frijters <jeroen@frijters.net>
4642
4643 * java/util/zip/ZipEntry.java
4644 (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
4645
4646 2004-11-07 Robert Schuster <theBohemian@gmx.net>
4647
4648 Fixes bug #10908
4649 * gnu/java/beans/IntrospectionIncubator.java:
4650 (addMethod): static methods are discarded now, too.
4651
4652 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
4653
4654 * java/util/GregorianCalendar.java
4655 Added/amended documentation.
4656
4657 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
4658
4659 * java/util/Collections.java
4660 Added documentation.
4661 * java/util/SortedMap.java
4662 Clarified some method examples.
4663 * java/util/SortedSet.java
4664 Clarified some method examples.
4665
4666 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
4667
4668 * java/util/Currency.java
4669 Documented variables and methods more fully.
4670 Caches the currency instances, so that a request
4671 for a locale, l, only ever returns the same
4672 instance (i.e. successive calls to getInstance(l)
4673 are reference equivalent (==)).
4674
4675 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
4676
4677 * java/util/Date.java
4678 Added missing documentation.
4679
4680 2004-11-06 Michael Koch <konqueror@gmx.de>
4681
4682 * java/util/zip/CheckedInputStream.java,
4683 java/util/zip/InflaterInputStream.java,
4684 java/util/zip/ZipFile.java,
4685 java/util/zip/ZipInputStream.java:
4686 Import cleanups.
4687
4688 2004-11-06 Tom Tromey <tromey@redhat.com>
4689
4690 * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
4691 package-private.
4692 (connections): Likewise.
4693 (scavenger): Likewise.
4694 * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
4695 package-private.
4696 * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
4697 package-private.
4698 (ptr): Likewise.
4699 * gnu/classpath/ServiceFactory.java (log): Now package-private.
4700
4701 2004-11-06 Tom Tromey <tromey@redhat.com>
4702
4703 * javax/naming/directory/BasicAttributes.java (attributes): Now
4704 package-private.
4705 * javax/imageio/spi/ServiceRegistry.java (categories): Now
4706 package-private.
4707
4708 2004-11-06 Tom Tromey <tromey@redhat.com>
4709
4710 * java/net/URLClassLoader.java (URLClassLoader): Now
4711 package-private.
4712 * java/nio/charset/CoderResult.java (CoderResult): Now
4713 package-private.
4714 (get): Likewise.
4715 (Cache): Likewise. Don't synchronize on `this'.
4716 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
4717 package-private.
4718 * java/util/TimeZone.java (timezones): Now package-private.
4719
4720 2004-11-06 Tom Tromey <tromey@redhat.com>
4721
4722 * java/security/Permissions.java (perms): Now package-private.
4723 * java/security/UnresolvedPermission.java (permissions): Now
4724 package-private.
4725
4726 2004-11-06 Tom Tromey <tromey@redhat.com>
4727
4728 * java/io/FilePermission.java: Reindented.
4729
4730 2004-11-06 Tom Tromey <tromey@redhat.com>
4731
4732 * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
4733 package-private.
4734 (setBlockDataMode): Likewise.
4735
4736 2004-11-06 Tom Tromey <tromey@redhat.com>
4737
4738 * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
4739 package-private.
4740 (Encoder): Likewise.
4741 * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
4742 (Encoder): Likewise.
4743 * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
4744 package-private.
4745 (Encoder): Likewise.
4746
4747 2004-11-06 Mark Wielaard <mark@klomp.org>
4748
4749 * Makefile.am: Add new javax.imageio files.
4750 * Makefile.in: Regenerated.
4751
4752 2004-11-06 Michael Koch <konqueror@gmx.de>
4753
4754 * javax/imageio/event/IIOReadProgressListener.java,
4755 javax/imageio/event/IIOReadUpdateListener.java,
4756 javax/imageio/event/IIOReadWarningListener.java,
4757 javax/imageio/event/IIOWriteProgressListener.java,
4758 javax/imageio/event/IIOWriteWarningListener.java,
4759 javax/imageio/metadata/IIOMetadataFormat.java,
4760 javax/imageio/stream/FileCacheImageInputStream.java,
4761 javax/imageio/stream/FileCacheImageOutputStream.java,
4762 javax/imageio/stream/ImageInputStreamImpl.java:
4763 Import cleanup.
4764 * javax/imageio/metadata/package.html: New file.
4765
4766 2004-11-06 Michael Koch <konqueror@gmx.de>
4767
4768 * javax/imageio/spi/ImageReaderSpi.java
4769 (isOwnReader): New method.
4770 * javax/imageio/spi/ImageWriterSpi.java
4771 (isOwnWriter): Likewise.
4772
4773 2004-11-06 Michael Koch <konqueror@gmx.de>
4774
4775 * javax/imageio/ImageWriter.java
4776 (convertImageMetadata): New abstract method.
4777 (convertStreamMetadata): Likewise.
4778 (write): Likewise.
4779 * javax/imageio/stream/FileCacheImageInputStream.java
4780 (close): Fixed setting of stream to null.
4781 (checkStreamClosed): Throws IOException.
4782
4783 2004-11-06 Michael Koch <konqueror@gmx.de>
4784
4785 * javax/imageio/stream/FileCacheImageInputStream.java,
4786 javax/imageio/stream/FileCacheImageOutputStream.java,
4787 javax/imageio/stream/FileImageInputStream.java,
4788 javax/imageio/stream/FileImageOutputStream.java,
4789 javax/imageio/stream/MemoryCacheImageInputStream.java,
4790 javax/imageio/stream/MemoryCacheImageOutputStream.java:
4791 New files.
4792
4793 2004-11-06 Michael Koch <konqueror@gmx.de>
4794
4795 * javax/imageio/metadata/IIOInvalidTreeException.java,
4796 javax/imageio/metadata/IIOMetadataFormatImpl.java,
4797 javax/imageio/metadata/IIOMetadataNode.java:
4798 New stub files.
4799
4800 2004-11-06 Michael Koch <konqueror@gmx.de>
4801
4802 * javax/imageio/stream/ImageInputStreamImpl.java,
4803 javax/imageio/stream/ImageOutputStreamImpl.java:
4804 New files.
4805
4806 2004-11-06 Michael Koch <konqueror@gmx.de>
4807
4808 * javax/imageio/ImageIO.java:
4809 Added much new methods.
4810
4811 2004-11-06 Michael Koch <konqueror@gmx.de>
4812
4813 * javax/imageio/ImageReader.java,
4814 javax/imageio/ImageWriter.java,
4815 javax/imageio/spi/ImageWriterSpi.java:
4816 Add SOME new methods.
4817
4818 2004-11-06 Michael Koch <konqueror@gmx.de>
4819
4820 * javax/imageio/IIOParam.java,
4821 javax/imageio/ImageReadParam.java,
4822 javax/imageio/ImageReader.java,
4823 javax/imageio/ImageWriter.java:
4824 Mostly implemented.
4825 * javax/imageio/spi/ImageReaderSpi.java,
4826 javax/imageio/spi/ImageWriterSpi.java:
4827 New files.
4828
4829 2004-11-06 Michael Koch <konqueror@gmx.de>
4830
4831 * javax/imageio/ImageWriteParam.java,
4832 javax/imageio/metadata/IIOMetadataFormat.java:
4833 Implemented.
4834
4835 2004-11-06 Michael Koch <konqueror@gmx.de>
4836
4837 * javax/imageio/ImageTypeSpecifier.java:
4838 Mostly implemented.
4839
4840 2004-11-06 Michael Koch <konqueror@gmx.de>
4841
4842 * javax/imageio/metadata/IIOMetadata.java:
4843 Mostly implemented.
4844
4845 2004-11-06 Michael Koch <konqueror@gmx.de>
4846
4847 * javax/imageio/IIOImage.java,
4848 javax/imageio/ImageReadParam.java,
4849 javax/imageio/metadata/IIOMetadataController.java,
4850 javax/imageio/metadata/IIOMetadataFormat.java:
4851 New files.
4852 * javax/imageio/stream/ImageOutputStream.java:
4853 Implemented.
4854
4855 2004-11-06 Michael Koch <konqueror@gmx.de>
4856
4857 * javax/imageio/IIOParam.java,
4858 javax/imageio/IIOParamController.java,
4859 javax/imageio/ImageTypeSpecifier.java,
4860 javax/imageio/ImageWriteParam.java,
4861 javax/imageio/metadata/IIOMetadata.java:
4862 New files.
4863 * javax/imageio/ImageTranscoder.java:
4864 Implemented.
4865
4866 2004-11-06 Michael Koch <konqueror@gmx.de>
4867
4868 * javax/imageio/spi/ImageInputStreamSpi.java,
4869 javax/imageio/spi/ImageOutputStreamSpi.java:
4870 Reworked import startments.
4871 * javax/imageio/spi/ServiceRegistry.java:
4872 Reworked import startments. Fixed XHTML in javadocs.
4873 (ServiceRegistry): Added @param tag to javadoc.
4874 * javax/imageio/stream/ImageInputStream.java
4875 (mark): Doesn't throws IOException;
4876
4877 2004-11-06 Michael Koch <konqueror@gmx.de>
4878
4879 * javax/imageio/ImageIO.java:
4880 New file.
4881
4882 2004-11-06 Michael Koch <konqueror@gmx.de>
4883
4884 * javax/imageio/spi/IIORegistry.java
4885 (static): Don't register ImageReaderSpi.class and
4886 ImageWriterSpi.class yet.
4887
4888 2004-11-06 Michael Koch <konqueror@gmx.de>
4889
4890 * javax/imageio/spi/IIORegistry.java:
4891 New file.
4892
4893 2004-11-06 Noa Resare <noa@resare.com>
4894
4895 * java/net/Socket.java (getPort): Return 0 instead of -1 on
4896 unconnected sockets.
4897
4898 2004-11-06 Michael Koch <konqueror@gmx.de>
4899
4900 * java/lang/StringBuffer.java,
4901 java/lang/Throwable.java,
4902 java/security/spec/DSAParameterSpec.java,
4903 java/util/zip/ZipEntry.java,
4904 java/util/zip/ZipFile.java,
4905 java/util/zip/ZipInputStream.java,
4906 java/util/zip/ZipOutputStream.java:
4907 Removed redundant and reordered modifiers.
4908
4909 2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
4910
4911 * java/io/Vector.java
4912 (writeObject): New function to serialized output thread safe.
4913
4914 * java/io/ObjectOutputStream.java
4915 (writeObject): Move the assignment of the class handle to after
4916 the assignment of class descriptor handle.
4917
4918 2004-11-06 Robert Schuster <thebohemian@gmx.net>
4919
4920 Fixes documentation and indentation
4921 * java/beans/PropertyEditorSupport.java:
4922 reworked initial API doc
4923 (value): changed name from val
4924
4925 2004-11-06 Robert Schuster <thebohemian@gmx.net>
4926
4927 Updates to 1.5
4928 * java/beans/PropertyEditorSupport.java
4929 (PropertyEditorSupport()): Changed modifier to public
4930 (PropertyEditorSupport(Object): Changed modifier to public
4931 (setSource): New method
4932 (getSource): New method
4933
4934 2004-11-06 Robert Schuster <thebohemian@gmx.net>
4935
4936 Fixes bug #10799
4937 * java/beans/PropertyEditorSupport.java
4938 (setValue): Fire property change event
4939
4940 2004-11-03 Tom Tromey <tromey@redhat.com>
4941
4942 * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
4943 * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
4944 returns jobjectArray.
4945 (_Jv_JNIEnv::NewObjectArray): Likewise.
4946
4947 2004-11-01 Tom Tromey <tromey@redhat.com>
4948
4949 * verify.cc (state::check_no_uninitialized_objects): Removed.
4950 (push_jump): Updated.
4951 (push_exception_jump): Likewise.
4952 (handle_ret_insn): Likewise.
4953 (handle_jsr_insn): Likewise.
4954
4955 2004-10-30 Mark Wielaard <mark@klomp.org>
4956
4957 PR libgcj/18234
4958 * java/lang/Runtime.java (static): Call init().
4959 (Runtime): Remove call to init().
4960 (init): Make static.
4961
4962 2004-10-28 David Daney <ddaney@avtrex.com>
4963
4964 * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
4965 * Makefile.am: Build it.
4966 * Makefile.in: Regenerate.
4967
4968 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
4969
4970 PR libgcj/18104
4971 * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
4972 colon.
4973 * Makefile.in: Regenerate.
4974 * configure: Regenerate.
4975 * configure.ac (CLASSPATH_SEPARATOR): Define.
4976 * gcj/Makefile.in: Regenerate.
4977 * include/Makefile.in: Regenerate.
4978 * testsuite/Makefile.in: Regenerate.
4979 * testsuite/lib/libjava.exp (libjava_arguments): Fix
4980 CLASSPATH separator handling for Windows.
4981
4982 2004-10-26 Michael Koch <konqueror@gmx.de>
4983
4984 * gnu/java/net/protocol/http/Connection.java
4985 (getOutputStream): Implicitely switch to POST method.
4986
4987 2004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
4988
4989 * libjava/java/lang/Class.h
4990 (java::lang::Class): Correct friend class declaration.
4991
4992 2004-10-25 Geoffrey Keating <geoffk@apple.com>
4993
4994 * Makefile.am (DARWIN_CRT_SRC): New.
4995 (libgcj_la_SOURCES): Use it.
4996 * configure.ac: Define USING_DARWIN_CRT when on Darwin.
4997 * darwin.cc: New file.
4998 * include/jvm.h (_Jv_RegisterClasses): Constify.
4999 (_Jv_RegisterClasses_Counted): New prototype.
5000 * java/lang/Class.h: Include stddef.h.
5001 (_Jv_RegisterClasses): Constify.
5002 (_Jv_RegisterClasses_Counted): New prototype.
5003 (Object): Make '_Jv_RegisterClasses_Counted' a friend.
5004 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
5005 (_Jv_RegisterClasses_Counted): New function.
5006 * configure: Regenerate.
5007 * Makefile.in: Regenerate.
5008 * gcj/Makefile.in: Regenerate.
5009 * include/Makefile.in: Regenerate.
5010 * testsuite/Makefile.in: Regenerate.
5011
5012 2004-10-25 Tom Tromey <tromey@redhat.com>
5013
5014 * java/util/ResourceBundle.java (tryBundle): Use
5015 Class.isAssignableFrom rather than catching ClassCastException.
5016
5017 2004-10-25 Tom Tromey <tromey@redhat.com>
5018
5019 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
5020 initialize `iter'.
5021 * gnu/java/text/SentenceBreakIterator.java
5022 (SentenceBreakIterator): Don't initialize `iter'.
5023 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
5024 initialize `iter'.
5025 * gnu/java/text/CharacterBreakIterator.java
5026 (CharacterBreakIterator): Don't initialize `iter'.
5027 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
5028 constructor.
5029 * java/text/BreakIterator.java: Updated documentation.
5030
5031 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
5032
5033 PR other/18138
5034 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
5035
5036 2004-10-23 Michael Koch <konqueror@gmx.de>
5037
5038 * javax/print/DocFlavor.java,
5039 javax/print/attribute/standard/JobStateReason.java,
5040 javax/print/attribute/standard/MultipleDocumentHandling.java:
5041 Added missing constants.
5042
5043 2004-10-22 Tom Tromey <tromey@redhat.com>
5044
5045 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
5046 typo.
5047
5048 2004-10-22 Michael Koch <konqueror@gmx.de>
5049
5050 PR libjava/14009
5051 * gnu/java/net/protocol/http/Connection.java
5052 (sendRequest): Handle case when url.getFile() returns an empty string.
5053
5054 2004-10-22 Michael Koch <konqueror@gmx.de>
5055
5056 * java/lang/Math.java,
5057 java/lang/StackTraceElement.java,
5058 java/nio/Buffer.java,
5059 java/nio/ByteBuffer.java,
5060 java/nio/CharBuffer.java,
5061 java/nio/DoubleBuffer.java,
5062 java/nio/FloatBuffer.java,
5063 java/nio/IntBuffer.java,
5064 java/nio/LongBuffer.java,
5065 java/nio/ShortBuffer.java,
5066 java/nio/charset/Charset.java,
5067 java/rmi/server/RMIClassLoader.java,
5068 java/rmi/server/RMISocketFactory.java,
5069 java/security/Policy.java,
5070 java/text/ChoiceFormat.java,
5071 java/text/CollationElementIterator.java,
5072 java/text/DateFormat.java,
5073 java/text/DecimalFormat.java,
5074 java/text/DecimalFormatSymbols.java,
5075 java/text/MessageFormat.java,
5076 java/text/NumberFormat.java,
5077 java/text/RuleBasedCollator.java,
5078 java/text/SimpleDateFormat.java,
5079 java/util/BitSet.java,
5080 java/util/Calendar.java,
5081 java/util/Collections.java,
5082 java/util/IdentityHashMap.java,
5083 java/util/Locale.java,
5084 java/util/TreeMap.java,
5085 java/util/logging/LogRecord.java,
5086 java/util/logging/XMLFormatter.java,
5087 java/util/prefs/AbstractPreferences.java,
5088 java/util/prefs/Preferences.java,
5089 javax/crypto/interfaces/DHPrivateKey.java,
5090 javax/crypto/interfaces/DHPublicKey.java,
5091 javax/crypto/interfaces/PBEKey.java,
5092 javax/net/ssl/HandshakeCompletedEvent.java,
5093 javax/security/auth/Subject.java:
5094 Removed redundant and reordered modifiers.
5095
5096 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
5097
5098 * gnu/java/net/natPlainSocketImplPosix.cc
5099 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
5100 with 'int *' argument instead of 'long *'.
5101
5102 2004-10-21 Michael Koch <konqueror@gmx.de>
5103
5104 * java/net/NetworkInterface.java,
5105 java/text/Format.java,
5106 javax/security/auth/x500/X500Principal.java,
5107 javax/security/auth/x500/X500PrivateCredential.java,
5108 javax/security/cert/X509CertBridge.java,
5109 javax/security/sasl/Sasl.java,
5110 javax/sql/XAConnection.java:
5111 Import cleanup.
5112
5113 2004-10-21 Michael Koch <konqueror@gmx.de>
5114
5115 * javax/net/ssl/HandshakeCompletedEvent.java,
5116 javax/net/ssl/KeyManagerFactory.java,
5117 javax/net/ssl/SSLContext.java,
5118 javax/net/ssl/SSLServerSocketFactory.java,
5119 javax/net/ssl/SSLSession.java,
5120 javax/net/ssl/SSLSocketFactory.java,
5121 javax/net/ssl/TrustManagerFactory.java:
5122 Import cleanup.
5123
5124 2004-10-21 Michael Koch <konqueror@gmx.de>
5125
5126 * javax/naming/directory/BasicAttribute.java,
5127 javax/naming/directory/BasicAttributes.java,
5128 javax/naming/directory/InitialDirContext.java,
5129 javax/naming/event/NamingEvent.java,
5130 javax/naming/ldap/ControlFactory.java,
5131 javax/naming/ldap/ExtendedRequest.java,
5132 javax/naming/ldap/InitialLdapContext.java,
5133 javax/naming/ldap/LdapReferralException.java,
5134 javax/naming/spi/DirObjectFactory.java,
5135 javax/naming/spi/DirStateFactory.java,
5136 javax/naming/spi/DirectoryManager.java,
5137 javax/naming/spi/InitialContextFactory.java,
5138 javax/naming/spi/InitialContextFactoryBuilder.java,
5139 javax/naming/spi/NamingManager.java,
5140 javax/naming/spi/ObjectFactory.java,
5141 javax/naming/spi/ObjectFactoryBuilder.java,
5142 javax/naming/spi/StateFactory.java:
5143 Import cleanup.
5144
5145 2004-10-21 Michael Koch <konqueror@gmx.de>
5146
5147 * javax/crypto/Cipher.java,
5148 javax/crypto/EncryptedPrivateKeyInfo.java,
5149 javax/crypto/ExemptionMechanism.java,
5150 javax/crypto/KeyAgreement.java,
5151 javax/crypto/KeyGenerator.java,
5152 javax/crypto/Mac.java,
5153 javax/crypto/SecretKeyFactory.java,
5154 javax/crypto/SecretKeyFactorySpi.java,
5155 javax/crypto/spec/SecretKeySpec.java:
5156 Import cleanup.
5157
5158 2004-10-21 Michael Koch <konqueror@gmx.de>
5159
5160 * java/security/AlgorithmParameterGenerator.java,
5161 java/security/AlgorithmParameters.java,
5162 java/security/AlgorithmParametersSpi.java,
5163 java/security/AllPermission.java,
5164 java/security/BasicPermission.java,
5165 java/security/Certificate.java,
5166 java/security/CodeSource.java,
5167 java/security/DigestInputStream.java,
5168 java/security/DigestOutputStream.java,
5169 java/security/GuardedObject.java,
5170 java/security/KeyFactory.java,
5171 java/security/KeyFactorySpi.java,
5172 java/security/KeyPairGenerator.java,
5173 java/security/KeyStore.java,
5174 java/security/KeyStoreSpi.java,
5175 java/security/Permissions.java,
5176 java/security/Security.java,
5177 java/security/Signature.java,
5178 java/security/UnresolvedPermission.java,
5179 java/security/cert/CertPathBuilder.java,
5180 java/security/cert/CertPathValidator.java,
5181 java/security/cert/CertStore.java,
5182 java/security/cert/Certificate.java,
5183 java/security/cert/CertificateFactory.java,
5184 java/security/cert/PolicyQualifierInfo.java,
5185 java/security/cert/TrustAnchor.java,
5186 java/security/cert/X509CRL.java,
5187 java/security/cert/X509CRLSelector.java,
5188 java/security/cert/X509CertSelector.java:
5189 Import cleanup.
5190
5191 2004-10-21 Michael Koch <konqueror@gmx.de>
5192
5193 * java/rmi/MarshalledObject.java,
5194 java/rmi/Naming.java,
5195 java/rmi/activation/Activatable.java,
5196 java/rmi/activation/ActivationGroup.java,
5197 java/rmi/activation/ActivationGroupDesc.java,
5198 java/rmi/activation/ActivationInstantiator.java,
5199 java/rmi/activation/ActivationMonitor.java,
5200 java/rmi/activation/ActivationSystem.java,
5201 java/rmi/activation/Activator.java,
5202 java/rmi/registry/LocateRegistry.java,
5203 java/rmi/registry/Registry.java,
5204 java/rmi/server/LogStream.java,
5205 java/rmi/server/ObjID.java,
5206 java/rmi/server/RMIClientSocketFactory.java,
5207 java/rmi/server/RMIServerSocketFactory.java,
5208 java/rmi/server/RMISocketFactory.java,
5209 java/rmi/server/RemoteCall.java,
5210 java/rmi/server/RemoteServer.java,
5211 java/rmi/server/ServerRef.java,
5212 java/rmi/server/UID.java,
5213 java/rmi/server/UnicastRemoteObject.java:
5214 Import cleanup.
5215
5216 2004-10-21 Tom Tromey <tromey@redhat.com>
5217
5218 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
5219 exception if we hit EOF of `in'.
5220 (read): Handle case where inflating returns -1.
5221
5222 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
5223
5224 * gnu/java/nio/channels/natFileChannelPosix.cc
5225 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
5226 argument instead of 'long *'.
5227
5228 2004-10-21 Tom Tromey <tromey@redhat.com>
5229
5230 * java/util/ResourceBundle.java (tryBundle): Also ignore
5231 ClassCastException.
5232
5233 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
5234
5235 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
5236 for all sh*-*-linux* targets.
5237 * configure: Regenerate.
5238 * include/sh-signal.h: New file.
5239
5240 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
5241
5242 * java/lang/ieeefp.h: Add m32r support.
5243
5244 2004-10-20 Andreas Schwab <schwab@suse.de>
5245
5246 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
5247 to uaddr, not int.
5248 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
5249 Likewise.
5250
5251 2004-10-20 Michael Koch <konqueror@gmx.de>
5252
5253 * javax/print/attribute/standard/ColorSupported.java,
5254 javax/print/attribute/standard/Compression.java,
5255 javax/print/attribute/standard/Copies.java,
5256 javax/print/attribute/standard/CopiesSupported.java,
5257 javax/print/attribute/standard/DateTimeAtCompleted.java,
5258 javax/print/attribute/standard/DateTimeAtCreation.java,
5259 javax/print/attribute/standard/DateTimeAtProcessing.java,
5260 javax/print/attribute/standard/DocumentName.java,
5261 javax/print/attribute/standard/Fidelity.java,
5262 javax/print/attribute/standard/Finishings.java,
5263 javax/print/attribute/standard/JobHoldUntil.java,
5264 javax/print/attribute/standard/JobImpressions.java,
5265 javax/print/attribute/standard/JobImpressionsCompleted.java,
5266 javax/print/attribute/standard/JobImpressionsSupported.java,
5267 javax/print/attribute/standard/JobKOctets.java,
5268 javax/print/attribute/standard/JobKOctetsProcessed.java,
5269 javax/print/attribute/standard/JobKOctetsSupported.java,
5270 javax/print/attribute/standard/JobMediaSheets.java,
5271 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
5272 javax/print/attribute/standard/JobMediaSheetsSupported.java,
5273 javax/print/attribute/standard/JobMessageFromOperator.java,
5274 javax/print/attribute/standard/JobName.java,
5275 javax/print/attribute/standard/JobOriginatingUserName.java,
5276 javax/print/attribute/standard/JobPriority.java,
5277 javax/print/attribute/standard/JobPrioritySupported.java,
5278 javax/print/attribute/standard/JobSheets.java,
5279 javax/print/attribute/standard/JobState.java,
5280 javax/print/attribute/standard/JobStateReason.java,
5281 javax/print/attribute/standard/JobStateReasons.java,
5282 javax/print/attribute/standard/Media.java,
5283 javax/print/attribute/standard/MultipleDocumentHandling.java,
5284 javax/print/attribute/standard/NumberOfDocuments.java,
5285 javax/print/attribute/standard/NumberOfInterveningJobs.java,
5286 javax/print/attribute/standard/NumberUp.java,
5287 javax/print/attribute/standard/NumberUpSupported.java,
5288 javax/print/attribute/standard/OrientationRequested.java,
5289 javax/print/attribute/standard/OutputDeviceAssigned.java,
5290 javax/print/attribute/standard/PDLOverrideSupported.java,
5291 javax/print/attribute/standard/PageRanges.java,
5292 javax/print/attribute/standard/PagesPerMinute.java,
5293 javax/print/attribute/standard/PagesPerMinuteColor.java,
5294 javax/print/attribute/standard/PrintQuality.java,
5295 javax/print/attribute/standard/PrinterInfo.java,
5296 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
5297 javax/print/attribute/standard/PrinterLocation.java,
5298 javax/print/attribute/standard/PrinterMakeAndModel.java,
5299 javax/print/attribute/standard/PrinterMessageFromOperator.java,
5300 javax/print/attribute/standard/PrinterMoreInfo.java,
5301 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
5302 javax/print/attribute/standard/PrinterName.java,
5303 javax/print/attribute/standard/PrinterStateReason.java,
5304 javax/print/attribute/standard/PrinterStateReasons.java,
5305 javax/print/attribute/standard/PrinterURI.java,
5306 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
5307 javax/print/attribute/standard/RequestingUserName.java:
5308 Reorganized imports and removed redundant final modifiers.
5309
5310 2004-10-20 Michael Koch <konqueror@gmx.de>
5311
5312 * javax/security/sasl/SaslClient.java,
5313 javax/security/sasl/SaslClientFactory.java,
5314 javax/security/sasl/SaslException.java,
5315 javax/security/sasl/SaslServer.java,
5316 javax/security/sasl/SaslServerFactory.java:
5317 Remvoed CVS tags.
5318
5319 2004-10-20 Michael Koch <konqueror@gmx.de>
5320
5321 * javax/security/auth/login/NullConfiguration.java,
5322 javax/security/auth/x500/X500Principal.java,
5323 javax/security/cert/X509Certificate.java,
5324 javax/security/sasl/AuthenticationException.java,
5325 javax/security/sasl/AuthorizeCallback.java,
5326 javax/security/sasl/RealmCallback.java,
5327 javax/security/sasl/RealmChoiceCallback.java,
5328 javax/security/sasl/Sasl.java,
5329 javax/security/sasl/SaslClient.java,
5330 javax/security/sasl/SaslClientFactory.java,
5331 javax/security/sasl/SaslException.java,
5332 javax/security/sasl/SaslServer.java,
5333 javax/security/sasl/SaslServerFactory.java:
5334 Cleaned up import statements and copyright notices.
5335
5336 2004-10-20 Michael Koch <konqueror@gmx.de>
5337
5338 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
5339
5340 2004-10-20 Michael Koch <konqueror@gmx.de>
5341
5342 * java/sql/Timestamp.java,
5343 java/text/AttributedCharacterIterator.java,
5344 java/text/AttributedString.java,
5345 java/util/zip/CheckedOutputStream.java,
5346 java/util/zip/DeflaterOutputStream.java,
5347 java/util/zip/ZipFile.java,
5348 javax/crypto/Cipher.java,
5349 javax/crypto/ExemptionMechanismException.java,
5350 javax/crypto/SecretKey.java,
5351 javax/crypto/SecretKeyFactory.java,
5352 javax/naming/directory/ModificationItem.java,
5353 javax/naming/directory/SearchControls.java,
5354 javax/naming/event/NamingListener.java,
5355 javax/naming/ldap/Control.java,
5356 javax/naming/ldap/ExtendedResponse.java,
5357 javax/net/ssl/SSLSocketFactory.java:
5358 Reorganized imports and fixed copyright headers.
5359
5360 2004-10-20 Michael Koch <konqueror@gmx.de>
5361
5362 * java/util/logging/ConsoleHandler.java,
5363 java/util/logging/ErrorManager.java,
5364 java/util/logging/FileHandler.java,
5365 java/util/logging/Filter.java,
5366 java/util/logging/Formatter.java,
5367 java/util/logging/Handler.java,
5368 java/util/logging/Level.java,
5369 java/util/logging/LogManager.java,
5370 java/util/logging/LogRecord.java,
5371 java/util/logging/Logger.java,
5372 java/util/logging/LoggingPermission.java,
5373 java/util/logging/MemoryHandler.java,
5374 java/util/logging/SimpleFormatter.java,
5375 java/util/logging/SocketHandler.java,
5376 java/util/logging/StreamHandler.java,
5377 java/util/logging/XMLFormatter.java:
5378 Standardized copyrigth header.
5379
5380 2004-10-20 Michael Koch <konqueror@gmx.de>
5381
5382 * java/security/AlgorithmParameterGenerator.java,
5383 java/security/AlgorithmParameters.java,
5384 java/security/DigestInputStream.java,
5385 java/security/Identity.java,
5386 java/security/KeyFactory.java,
5387 java/security/KeyPairGenerator.java,
5388 java/security/KeyStore.java,
5389 java/security/MessageDigest.java,
5390 java/security/MessageDigestSpi.java,
5391 java/security/Policy.java,
5392 java/security/SecureRandom.java,
5393 java/security/Security.java,
5394 java/security/Signature.java,
5395 java/security/SignatureSpi.java,
5396 java/security/cert/CertPathBuilder.java,
5397 java/security/cert/CertPathValidator.java,
5398 java/security/cert/CertStore.java,
5399 java/security/cert/Certificate.java,
5400 java/security/cert/CertificateFactory.java,
5401 java/security/cert/PolicyQualifierInfo.java,
5402 java/security/cert/TrustAnchor.java,
5403 java/security/cert/X509CRL.java,
5404 java/security/cert/X509CRLEntry.java,
5405 java/security/cert/X509Certificate.java,
5406 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
5407 Import statements reorganized, some little formatting issues,
5408 used java-style array declarations, added comments in empty catch
5409 blocks.
5410
5411 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
5412
5413 * java/security/Security.java
5414 (static): Use AccessController.doPrivileged to get system property.
5415
5416 2004-10-18 Sven de Marothy <sven@physto.se>
5417
5418 * java/nio/ByteBufferHelper.java
5419 (putDouble): Use Double.toRawLongBits instead.
5420
5421 2004-10-18 Mark Wielaard <mark@klomp.org>
5422 Andrew Haley <aph@redhat.com>
5423
5424 * testsuite/libjava.lang/ExtraClassLoader.java: New.
5425
5426 2004-10-18 Andrew Haley <aph@redhat.com>
5427
5428 PR java/18036:
5429 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
5430 and correct logic used to find interpreter.
5431
5432 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
5433
5434 * java/util/logging/LogManager.java
5435 (findAncestor): Fixed IndexOutOfBoundsException.
5436
5437 2004-10-18 Michael Koch <konqueror@gmx.de>
5438
5439 * java/io/BufferedInputStream.java: Fixed @author tag.
5440 (read): Simplified expression.
5441 (read): Merged javadoc a bit more.
5442 (read): Renamed 'remain' to 'totalBytesRead'.
5443 * java/io/DataInputStream.java,
5444 java/io/DataOutputStream.java,
5445 java/io/ObjectInputStream.java,
5446 java/io/ObjectOutputStream.java:
5447 Reworked modifier order.
5448
5449 2004-10-18 Michael Koch <konqueror@gmx.de>
5450
5451 * java/net/Inet4Address.java: Merged file header and javadocs.
5452 * java/net/Inet6Address.java: Likewise.
5453 * java/net/InetAddress.java
5454 (getCanonicalHostName): Create Inet4Address object instead of
5455 InetAddress and add comment regarding IPv6.
5456 (toString): Simplified.
5457
5458 2004-10-18 Michael Koch <konqueror@gmx.de>
5459
5460 * gnu/java/net/protocol/http/Connection.java,
5461 java/nio/MappedByteBufferImpl.java,
5462 java/text/RuleBasedCollator.java,
5463 java/util/ResourceBundle.java:
5464 Reworked import statements.
5465
5466 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
5467
5468 * java/security/IdentityScope.java
5469 (systemScope): Removed useless initializer.
5470 * java/security/Policy.java
5471 (currentPolicy): Likewise.
5472
5473 2004-10-18 Michael Koch <konqueror@gmx.de>
5474
5475 * java/lang/System.java: Revert accidential change.
5476
5477 2004-10-18 Michael Koch <konqueror@gmx.de>
5478
5479 * java/lang/Math.java,
5480 java/lang/Package.java,
5481 java/lang/Runtime.java,
5482 java/lang/StrictMath.java,
5483 java/lang/System.java,
5484 java/lang/Thread.java,
5485 java/lang/ThreadLocal.java,
5486 java/lang/Void.java:
5487 Reworked import statements, HTML in javadocs and modifier orders.
5488
5489 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
5490
5491 * java/util/Timer.java
5492 (nr): Removed useless initializer.
5493 * java/util/logging/LogRecord.java
5494 (lastSeqNum): Likewise.
5495 * javax/naming/spi/NamingManager.java
5496 (icfb, ofb): Likewise.
5497
5498 2004-10-18 Michael Koch <konqueror@gmx.de>
5499
5500 * gnu/java/net/PlainDatagramSocketImpl.java:
5501 Reworked import statements.
5502 * gnu/java/security/provider/DSAParameters.java:
5503 Fixed copyrigth years.
5504 * java/net/JarURLConnection.java:
5505 Fixed HTML in @author tags.
5506
5507
5508 2004-10-18 Michael Koch <konqueror@gmx.de>
5509
5510 * java/rmi/activation/ActivationSystem.java
5511 (SYSTEM_PORT): Initialize with correct port number.
5512
5513 2004-10-18 Michael Koch <konqueror@gmx.de>
5514
5515 * java/lang/reflect/Proxy.java: Improved javadocs.
5516
5517 2004-10-18 Michael Koch <konqueror@gmx.de>
5518
5519 * java/lang/reflect/AccessibleObject.java
5520 (checkPermission): Removed redundant final modifier.
5521 (secureSetAccessible): Likewise.
5522 * java/lang/reflect/Proxy.java:
5523 Reworked import statements.
5524 (generate): Removed redundant final modifier.
5525 * java/lang/reflect/ReflectPermission.java:
5526 Reorder package declaration and import statement.
5527
5528 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
5529
5530 * java/lang/reflect/Proxy.java
5531 (count): Removed useless initializer.
5532
5533 2004-10-17 Michael Koch <konqueror@gmx.de>
5534
5535 * java/net/BindException.java,
5536 java/net/ConnectException.java,
5537 java/net/ContentHandler.java,
5538 java/net/ContentHandlerFactory.java,
5539 java/net/DatagramPacket.java,
5540 java/net/DatagramSocket.java,
5541 java/net/DatagramSocketImpl.java,
5542 java/net/DatagramSocketImplFactory.java,
5543 java/net/FileNameMap.java,
5544 java/net/HttpURLConnection.java,
5545 java/net/MalformedURLException.java,
5546 java/net/MulticastSocket.java,
5547 java/net/NetworkInterface.java,
5548 java/net/NoRouteToHostException.java,
5549 java/net/PasswordAuthentication.java,
5550 java/net/PortUnreachableException.java,
5551 java/net/ProtocolException.java,
5552 java/net/ServerSocket.java,
5553 java/net/Socket.java,
5554 java/net/SocketException.java,
5555 java/net/SocketImpl.java,
5556 java/net/SocketImplFactory.java,
5557 java/net/SocketOptions.java,
5558 java/net/SocketPermission.java,
5559 java/net/SocketTimeoutException.java,
5560 java/net/URI.java,
5561 java/net/URISyntaxException.java,
5562 java/net/URL.java,
5563 java/net/URLDecoder.java,
5564 java/net/URLEncoder.java,
5565 java/net/URLStreamHandler.java,
5566 java/net/URLStreamHandlerFactory.java,
5567 java/net/UnknownHostException.java,
5568 java/net/UnknownServiceException.java:
5569 Big import statement and @author tag cleanup.
5570
5571 2004-10-17 Michael Koch <konqueror@gmx.de>
5572
5573 * gnu/java/security/OID.java,
5574 gnu/java/security/provider/DSAParameters.java,
5575 gnu/java/security/provider/DSASignature.java,
5576 gnu/java/security/x509/X500DistinguishedName.java,
5577 gnu/java/security/x509/X509CRL.java:
5578 Import statements cleaned up.
5579
5580 2004-10-16 Michael Koch <konqueror@gmx.de>
5581
5582 * gnu/java/nio/NIODatagramSocket.java,
5583 gnu/java/nio/ServerSocketChannelImpl.java:
5584 Reorganized import statements.
5585
5586 2004-10-16 Michael Koch <konqueror@gmx.de>
5587
5588 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
5589 gnu/java/rmi/rmic/RMIC.java,
5590 gnu/java/rmi/server/RMIHashes.java,
5591 gnu/java/rmi/server/RMIObjectInputStream.java,
5592 gnu/java/rmi/server/RMIObjectOutputStream.java,
5593 gnu/java/rmi/server/UnicastConnection.java,
5594 gnu/java/rmi/server/UnicastConnectionManager.java,
5595 gnu/java/rmi/server/UnicastRemoteCall.java,
5596 gnu/java/rmi/server/UnicastServer.java,
5597 gnu/java/rmi/server/UnicastServerRef.java,
5598 java/rmi/MarshalledObject.java,
5599 java/rmi/Naming.java,
5600 java/rmi/RMISecurityManager.java,
5601 java/rmi/Remote.java,
5602 java/rmi/activation/Activatable.java,
5603 java/rmi/activation/ActivationDesc.java,
5604 java/rmi/activation/ActivationGroup.java,
5605 java/rmi/activation/ActivationGroupDesc.java,
5606 java/rmi/activation/ActivationGroupID.java,
5607 java/rmi/activation/ActivationID.java,
5608 java/rmi/activation/ActivationInstantiator.java,
5609 java/rmi/activation/ActivationMonitor.java,
5610 java/rmi/activation/ActivationSystem.java,
5611 java/rmi/activation/Activator.java,
5612 java/rmi/dgc/DGC.java,
5613 java/rmi/dgc/Lease.java,
5614 java/rmi/dgc/VMID.java,
5615 java/rmi/registry/LocateRegistry.java,
5616 java/rmi/registry/Registry.java,
5617 java/rmi/registry/RegistryHandler.java,
5618 java/rmi/server/LoaderHandler.java,
5619 java/rmi/server/LogStream.java,
5620 java/rmi/server/ObjID.java,
5621 java/rmi/server/Operation.java,
5622 java/rmi/server/RMIClassLoader.java,
5623 java/rmi/server/RMIClassLoaderSpi.java,
5624 java/rmi/server/RMIClientSocketFactory.java,
5625 java/rmi/server/RMIFailureHandler.java,
5626 java/rmi/server/RMIServerSocketFactory.java,
5627 java/rmi/server/RMISocketFactory.java,
5628 java/rmi/server/RemoteCall.java,
5629 java/rmi/server/RemoteObject.java,
5630 java/rmi/server/RemoteRef.java,
5631 java/rmi/server/RemoteServer.java,
5632 java/rmi/server/RemoteStub.java,
5633 java/rmi/server/ServerRef.java,
5634 java/rmi/server/Skeleton.java,
5635 java/rmi/server/SkeletonMismatchException.java,
5636 java/rmi/server/UID.java,
5637 java/rmi/server/UnicastRemoteObject.java,
5638 java/rmi/server/Unreferenced.java:
5639 File headers and import statements cleaned up.
5640
5641 2004-10-16 Michael Koch <konqueror@gmx.de>
5642
5643 * libjava/gnu/java/nio/charset/UTF_16.java,
5644 libjava/gnu/java/nio/charset/UTF_16BE.java,
5645 libjava/gnu/java/nio/charset/UTF_16LE.java,
5646 libjava/java/nio/ByteOrder.java,
5647 libjava/java/nio/MappedByteBuffer.java,
5648 libjava/java/nio/channels/Channels.java,
5649 libjava/java/nio/channels/spi/SelectorProvider.java,
5650 libjava/java/nio/charset/Charset.java:
5651 Cleanup.
5652
5653 2004-10-16 Michael Koch <konqueror@gmx.de>
5654
5655 * gnu/java/nio/charset/UTF_16Encoder.java
5656 (UTF_16Encoder): Fixed maxBytesPerChar handling.
5657
5658 2004-10-16 Michael Koch <konqueror@gmx.de>
5659
5660 * java/math/BigDecimal.java, java/math/BigInteger.java:
5661 Reorganized import statements, removed redundant and
5662 reorganized modifiers.
5663
5664 2004-10-16 Michael Koch <konqueror@gmx.de>
5665
5666 * gnu/java/beans/ExplicitBeanInfo.java:
5667 Explicitely import java.awt.Image.
5668 (getIcon): Fixed off-by-one error.
5669
5670 2004-10-15 Andrew Haley <aph@redhat.com>
5671
5672 * Makefile.am (nat_files, xlib_nat_files): New.
5673 * Makefile.in: Regenerate.
5674
5675 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
5676
5677 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
5678 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
5679
5680 2004-10-13 Andrew Haley <aph@redhat.com>
5681
5682 * interpret.cc (_Jv_InterpMethod::run): Initialize
5683 _Jv_StartOfInterpreter.
5684 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
5685 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
5686 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
5687 _Unwind_FindEnclosingFunction to discover whether PC is within the
5688 interpreter.
5689
5690 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
5691
5692 PR libgcj/17903:
5693 * testsuite/libjava.lang/md5test.java: New file.
5694 * testsuite/libjava.lang/md5test.out: Likewise.
5695 * testsuite/libjava.lang/shatest.java: Likewise.
5696 * testsuite/libjava.lang/shatest.out: Likewise.
5697
5698 2004-10-11 Richard Henderson <rth@redhat.com>
5699
5700 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
5701 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
5702
5703 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
5704
5705 * java/util/Calendar.java (set): Invalidate DST_OFFSET
5706 field as a DST boundary may have been crossed.
5707 * java/util/GregorianCalendar.java (add): Throw
5708 IllegalArgumentException on attempt to add to DST_OFFSET or
5709 ZONE_OFFSET fields. Update javadoc.
5710
5711 2004-10-09 Michael Koch <konqueror@gmx.de>
5712
5713 * java/io/CharArrayWriter.java
5714 (resize): Removed redundant 'final' modifier.
5715 * java/io/DataInputStream.java
5716 (readFully): Throw IndexOutOfBoundsException of len < 0.
5717 * java/io/FileDescriptor.java,
5718 java/io/FileInputStream.java,
5719 java/io/FileOutputStream.java,
5720 java/io/ObjectOutputStream.java,
5721 java/io/ObjectStreamClass.java,
5722 java/io/PipedInputStream.java,
5723 java/io/RandomAccessFile.java:
5724 Reorganized import statements.
5725
5726 2004-10-09 Michael Koch <konqueror@gmx.de>
5727
5728 * gnu/java/rmi/rmic/RMIC.java,
5729 gnu/java/rmi/server/RMIHashes.java,
5730 gnu/java/rmi/server/RMIObjectInputStream.java,
5731 gnu/java/rmi/server/UnicastConnection.java,
5732 gnu/java/rmi/server/UnicastConnectionManager.java,
5733 gnu/java/rmi/server/UnicastRemoteCall.java,
5734 gnu/java/rmi/server/UnicastServerRef.java:
5735 Reworked import statements and fixed file headers.
5736
5737 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
5738
5739 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
5740 emission rule.
5741 * configure: Rebuilt.
5742
5743 2004-09-30 Tom Tromey <tromey@redhat.com>
5744
5745 * java/text/MessageFormat.java (Field): Constructor now
5746 protected.
5747
5748 2004-09-30 Tom Tromey <tromey@redhat.com>
5749
5750 * javax/crypto/MacSpi.java: Fixed typo.
5751
5752 2004-09-30 Michael Koch <konqueror@gmx.de>
5753
5754 * java/net/InetAddress.java: Reformatted.
5755 (loopback): Initialize with Inet4Address object.
5756 (static): Initialize ANY_IF with Inet4Address object.
5757 (InetAddress): Removed unused package-private constructor.
5758
5759 2004-09-30 Michael Koch <konqueror@gmx.de>
5760
5761 * java/beans/Beans.java,
5762 java/beans/EventHandler.java,
5763 java/beans/EventSetDescriptor.java,
5764 java/beans/Introspector.java,
5765 java/beans/PropertyEditorManager.java,
5766 java/beans/beancontext/BeanContext.java,
5767 java/beans/beancontext/BeanContextChild.java,
5768 java/beans/beancontext/BeanContextChildSupport.java,
5769 java/beans/beancontext/BeanContextMembershipEvent.java:
5770 Reordered import statements and removed redundant modifiers.
5771
5772 2004-09-29 Tom Tromey <tromey@redhat.com>
5773
5774 PR libgcj/17715:
5775 * Makefile.in: Rebuilt.
5776 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
5777 files.
5778 (all_property_files): New macro.
5779
5780 * Makefile.in: Rebuilt.
5781 * Makefile.am (ordinary_java_source_files): Re-sorted.
5782 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
5783
5784 2004-09-28 Tom Tromey <tromey@redhat.com>
5785
5786 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
5787
5788 PR libgcj/17222:
5789 * Makefile.am (libgcj.la): Restored.
5790 * Makefile.in: Rebuilt.
5791
5792 2004-09-28 Michael Koch <konqueror@gmx.de>
5793
5794 * java/net/URLConnection.java: Reformatted.
5795 * java/net/URLClassLoader.java: Reformatted.
5796 (getContent): Reordered return of content.
5797 (getContentHandler): Don't check for null explicitely.
5798
5799 2004-09-27 Michael Koch <konqueror@gmx.de>
5800
5801 * java/io/BufferedInputStream.java
5802 (BufferedInputStream): Added Jeroen Frijters to authors.
5803 (count): Don't explicitely initialize with default value.
5804 (pos): Likewise.
5805 (marklimit): Likewise.
5806 (read): Changed boolean expression to match GNU classpath' version.
5807 (reset): Add proper message to exception.
5808 (skip): Check for closed stream.
5809 (refill): Likewise.
5810
5811 2004-09-26 Per Bothner <per@bothner.com>
5812
5813 * prims.cc (unblock_signal): Annotate signum with __unused__ to
5814 avoid warnings in the non-POSIX_VERSION case.
5815 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
5816 so place it inside an #if block.
5817 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
5818 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
5819 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
5820 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
5821
5822 2004-09-26 Per Bothner <per@bothner.com>
5823
5824 * prims.cc (process_gcj_properties): Optimization.
5825
5826 2004-09-26 Per Bothner <per@bothner.com>
5827
5828 * java/util/Collections.java (sort): Copy from array in forwards
5829 order, rather than reverse order which may be much less efficient.
5830
5831 2004-09-26 Mark Wielaard <mark@klomp.org>
5832
5833 * java/lang/System.java (properties): Make package private.
5834 * java/lang/Throwable.java (StaticData.nl): Initialize through
5835 directly accessing System.properties.getProperty().
5836
5837 * java/lang/Throwable.java (nl): Remove static field.
5838 (StaticData): New private static inner class.
5839 (stackTraceStringBuffer): Use StaticData.nl.
5840
5841 2004-09-26 Casey Marshall <csm@gnu.org>
5842
5843 * java/security/ProtectionDomain.java
5844 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
5845 `true'.
5846
5847 * java/security/SecureClassLoader.java
5848 (defineClass): make protection domain dynamically bound.
5849 (getPermissions): call `getCurrentPolicy' to avoid permission
5850 check.
5851
5852 2004-09-25 Mark Wielaard <mark@klomp.org>
5853
5854 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
5855 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
5856 * Makefile.in: Regenerated.
5857
5858 * gcj/javaprims.h: Regenerated.
5859
5860 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
5861 (getDefaultTimeZone): Make package private. Check that GMToffset
5862 contains at least one digit.
5863 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
5864 VMTimeZone.
5865 * util/VMTimeZone.java: New file with above methods.
5866
5867 * java/util/natTimeZone.cc: Removed (renamed).
5868 * java/util/natVMTimeZone.cc: Added (renamed).
5869
5870 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
5871
5872 * java/util/TimeZone.java
5873 (getDefaultTimeZone): Fixed test to distinguish between hours and
5874 minutes in specified timezone.
5875
5876 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
5877
5878 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
5879 handling of default package. (generate): Removed confused comments
5880 and code about making Method and Field accessible.
5881
5882 2004-09-25 Tom Tromey <tromey@redhat.com>
5883
5884 PR java/17500:
5885 * testsuite/libjava.compile/pr17500.java: New file.
5886
5887 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
5888 Mark Wielaard <mark@klomp.org>
5889
5890 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
5891 * gnu/regexp/RETokenLookAhead.java: New file.
5892
5893 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
5894 * Makefile.in: Regenerated.
5895
5896 2004-09-25 Michael Koch <konqueror@gmx.de>
5897
5898 * java/io/ObjectStreamField.java:
5899 Removed unused import statement.
5900
5901 2004-09-24 Tom Tromey <tromey@redhat.com>
5902
5903 PR java/15656:
5904 * testsuite/libjava.compile/pr15656.xfail: New file.
5905 * testsuite/libjava.compile/pr15656.java: new file.
5906
5907 PR java/16789:
5908 * testsuite/libjava.lang/pr16789.out: New file.
5909 * testsuite/libjava.lang/pr16789.java: New file.
5910
5911 2004-09-24 Andrew Haley <aph@redhat.com>
5912
5913 PR java/16927
5914 * testsuite/libjava.compile/AssertBug.java: New file.
5915
5916 2004-09-24 Casey Marshall <csm@gnu.org>
5917
5918 * java/util/PropertyPermissionCollection.java
5919 (implies): avoid infinite loop.
5920
5921 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
5922
5923 * javax/security/auth/PrivateCredentialPermission.java
5924 (PrivateCredentialPermission): added serialization UID
5925
5926
5927 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
5928
5929 * gnu/java/rmi/server/UnicastServer.java
5930 (incomingMessageCall): Added code to handle Errors.
5931 * gnu/java/rmi/server/UnicastServerRef.java
5932 (incomingMessageCall): Added code to handle Errors.
5933
5934
5935 2004-09-24 Tom Tromey <tromey@redhat.com>
5936
5937 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
5938 (definedPackages): Likewise.
5939
5940 2004-09-24 Michael Koch <konqueror@gmx.de>
5941
5942 * java/io/ObjectInputStream.java:
5943 Re-ordered imports.
5944
5945 2004-09-24 Casey Marshall <csm@gnu.org>
5946
5947 * java/io/ObjectInputStream.java (callReadMethod): re-throw
5948 `ClassNotFoundException'.
5949
5950 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
5951
5952 * java/io/ObjectInputStream.java (readObject): Delegate instantation
5953 of Externalizable classes to ObjectStreamClass.
5954 * java/io/ObjectStreamClass.java (newInstance): New method to
5955 instantiate Externalizable (while ignoring the accessibility of
5956 the constructor). (constructor): New field to cache the constructor.
5957
5958 2004-09-24 Mark Wielaard <mark@klomp.org>
5959
5960 * java/net/URL.java (systemClassLoader): New static field.
5961 (getURLStreamHandler): Always use system/application classloader
5962 for finding URLStreamhandler. Remove unecessary instanceof checks.
5963
5964 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
5965
5966 * java/net/URL.java
5967 (set): This method now matches the behaviour of the JDK.
5968 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
5969
5970 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
5971
5972 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
5973
5974 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
5975
5976 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
5977 Don't set authority if host isn't specified.
5978
5979 2004-09-24 Michael Koch <konqueror@gmx.de>
5980
5981 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
5982 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
5983 * gnu/java/nio/VMPipe.java,
5984 gnu/java/nio/VMSelector.java:
5985 New files.
5986 * gnu/java/nio/natPipeImplEcos.cc,
5987 gnu/java/nio/natPipeImplPosix.cc,
5988 gnu/java/nio/natPipeImplWin32.cc:
5989 Ported to VMPipe.
5990 * gnu/java/nio/natSelectorImplEcos.cc,
5991 gnu/java/nio/natSelectorImplPosix.cc,
5992 gnu/java/nio/natSelectorImplWin32.cc:
5993 Ported to VMSelector.
5994 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
5995 gnu/java/nio/VMSelector.java.
5996 * Makefile.in: Regenerated.
5997
5998 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
5999
6000 * java/lang/StackTraceElement.java
6001 (className): Renamed field to declaringClass to be compatible
6002 with Sun serialization format.
6003
6004 2004-09-23 Michael Koch <konqueror@gmx.de>
6005
6006 * java/applet/AppletContext.java,
6007 java/applet/Applet.java,
6008 java/applet/AppletStub.java,
6009 java/applet/AudioClip.java:
6010 Jalopied and checkstyle clean.
6011
6012 * javax/swing/JCheckBox.java: Reformated.
6013 (JCheckBox): Fixed all constructors.
6014 (isBorderPaintedFlat): New method.
6015 (setBorderPaintedFlat): New method.
6016 * javax/swing/JEditorPane.java
6017 (createEditorKitForContentType): Made public.
6018 (scrollToReference): Likewise.
6019 * javax/swing/JTextArea.java
6020 (setLineWrap): Fire property change.
6021 * javax/swing/JToggleButton.java
6022 (JToggleButton): New constructor.
6023 (JToggleButton): Simplified.
6024 * javax/swing/text/AttributeSet.java
6025 (FontAttribute): Renamed from FontCharacterAttribute.
6026 * javax/swing/text/JTextComponent.java
6027 (KeyBinBinding): Added javadoc.
6028 (JTextComponent): Likewise.
6029 (getAccessibleContext): Fixed javadoc.
6030 * javax/swing/text/View.java
6031 (View): Added javadoc.
6032 * javax/swing/text/TabableView.java: New file.
6033 * Makefile.am: Added javax/swing/text/TabableView.java.
6034 * Makefile.in: Regenerated.
6035 2004-09-23 Mark Wielaard <mark@klomp.org>
6036
6037 * java/util/Collections.java
6038 (binarySearch(List, Object, Comparator)): Explicitly
6039 reverse direction in list iterator.
6040 (rotate): Just return when list is empty.
6041
6042 2004-09-23 Tom Tromey <tromey@redhat.com>
6043
6044 PR java/17329:
6045 * testsuite/libjava.compile/pr17329.java: New file.
6046
6047 PR java/17380:
6048 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
6049 9.2-implicit-7.
6050
6051 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
6052
6053 * Makefile.am: Run aclocal with -I ../config
6054 * acinclude.m4: Delete macros picked up from ../config and tidy.
6055 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
6056 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
6057 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
6058
6059 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
6060
6061 * aclocal.m4: Regenerate with aclocal 1.9.2.
6062 * configure: Regenerate.
6063 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
6064 * include/Makefile.in, testsuite/Makefile.in: Likewise.
6065
6066 2004-09-22 David Daney <ddaney@avtrex.com>
6067
6068 PR libgcj/17623
6069 * java/net/URL.java (URL): Copy userInfo from context.
6070 (getUserInfo): Return cached userInfo if present.
6071
6072 2004-09-22 Tom Tromey <tromey@redhat.com>
6073
6074 PR libgcj/6182:
6075 * mauve-libgcj: Enable java.lang.Character tests.
6076
6077 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
6078
6079 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
6080 dependencies.
6081 (lib_org_ietf_jgss_la_LIBADD): Likewise.
6082 * Makefile.in: Regenerated.
6083
6084 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
6085
6086 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
6087 * configure: Regenerate.
6088 * include/config.h.in: Likewise.
6089 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
6090 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
6091 macro to gtkpeer.h.
6092 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6093 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
6094 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
6095 architectures.
6096 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
6097 Likewise.
6098
6099 2004-09-22 Tom Tromey <tromey@redhat.com>
6100
6101 PR libgcj/14446:
6102 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
6103 when comparing CRCs.
6104 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
6105 field.
6106 (read()): New overload.
6107
6108 2004-09-21 Tom Tromey <tromey@redhat.com>
6109
6110 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
6111 Indentation fix.
6112
6113 2004-09-21 Michael Koch <konqueror@gmx.de>
6114
6115 * java/net/Socket.java
6116 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
6117
6118 2004-09-21 Casey Marshall <csm@gnu.org>
6119
6120 * javax/crypto/MacSpi.java (clone): Provide meaningful
6121 implementation.
6122
6123 2004-09-21 Tom Tromey <tromey@redhat.com>
6124
6125 PR libgcj/16869:
6126 * Makefile.in: Rebuilt.
6127 * Makefile.am (MOSTLYCLEANFILES): Removed.
6128 (mostlyclean-local): Remove header files.
6129
6130 2004-09-21 Casey Marshall <csm@gnu.org>
6131
6132 * java/security/cert/X509CRLSelector.java:
6133 (match): remove unreachable try-catch clauses.
6134 Reported by: Dalibor Topic <robilad@kaffe.org>
6135
6136 2004-09-21 Mark Wielaard <mark@klomp.org>
6137
6138 * java/util/TreeMap.java (root): Don't initialize.
6139 (TreeMap(Comparator)): Call fabricateTree(0).
6140 (fabricateTree): Initialize root and size when count is 0.
6141
6142 2004-09-21 Sven de Marothy <sven@physto.se>
6143
6144 * java/nio/ByteBuffer.java (hashCode): Implemented.
6145 * java/nio/CharBuffer.java: Likewise.
6146 * java/nio/DoubleBuffer.java: Likewise.
6147 * java/nio/FloatBuffer.java: Likewise.
6148 * java/nio/LongBuffer.java: Likewise.
6149 * java/nio/IntBuffer.java: Likewise.
6150 * java/nio/ShortBuffer.java: Likewise.
6151
6152 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
6153
6154 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
6155
6156 2004-09-21 Michael Koch <konqueror@gmx.de>
6157
6158 * javax/net/ssl/SSLServerSocket.java:
6159 Removed comment about "Do not edit this file, it's generated.".
6160
6161 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
6162
6163 Import the big Crypto/Jessie/Security merge from Classpath.
6164
6165 * Makefile.am: Add imported files.
6166 * Makefile.in: Regenerate.
6167
6168 2004-08-14 Casey Marshall <csm@gnu.org>
6169
6170 The Big Crypto Merge of 2004.
6171
6172 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
6173 Crypto's version.
6174
6175 Files imported from GNU Crypto.
6176 * javax/crypto/BadPaddingException.java
6177 * javax/crypto/Cipher.java
6178 * javax/crypto/CipherInputStream.java
6179 * javax/crypto/CipherOutputStream.java
6180 * javax/crypto/CipherSpi.java
6181 * javax/crypto/EncryptedPrivateKeyInfo.java
6182 * javax/crypto/ExemptionMechanism.java
6183 * javax/crypto/ExemptionMechanismException.java
6184 * javax/crypto/ExemptionMechanismSpi.java
6185 * javax/crypto/IllegalBlockSizeException.java
6186 * javax/crypto/KeyAgreement.java
6187 * javax/crypto/KeyAgreementSpi.java
6188 * javax/crypto/KeyGenerator.java
6189 * javax/crypto/KeyGeneratorSpi.java
6190 * javax/crypto/Mac.java
6191 * javax/crypto/MacSpi.java
6192 * javax/crypto/Makefile.am
6193 * javax/crypto/NoSuchPaddingException.java
6194 * javax/crypto/NullCipher.java
6195 * javax/crypto/NullCipherImpl.java
6196 * javax/crypto/SealedObject.java
6197 * javax/crypto/SecretKey.java
6198 * javax/crypto/SecretKeyFactory.java
6199 * javax/crypto/SecretKeyFactorySpi.java
6200 * javax/crypto/ShortBufferException.java
6201 * javax/crypto/interfaces/DHKey.java
6202 * javax/crypto/interfaces/DHPrivateKey.java
6203 * javax/crypto/interfaces/DHPublicKey.java
6204 * javax/crypto/interfaces/PBEKey.java
6205 * javax/crypto/spec/DESKeySpec.java
6206 * javax/crypto/spec/DESedeKeySpec.java
6207 * javax/crypto/spec/DHGenParameterSpec.java
6208 * javax/crypto/spec/DHParameterSpec.java
6209 * javax/crypto/spec/DHPrivateKeySpec.java
6210 * javax/crypto/spec/DHPublicKeySpec.java
6211 * javax/crypto/spec/IvParameterSpec.java
6212 * javax/crypto/spec/PBEKeySpec.java
6213 * javax/crypto/spec/PBEParameterSpec.java
6214 * javax/crypto/spec/RC2ParameterSpec.java
6215 * javax/crypto/spec/RC5ParameterSpec.java
6216 * javax/crypto/spec/SecretKeySpec.java
6217 * javax/security/auth/AuthPermission.java
6218 * javax/security/auth/DestroyFailedException.java
6219 * javax/security/auth/Destroyable.java
6220 * javax/security/auth/Policy.java
6221 * javax/security/auth/PrivateCredentialPermission.java
6222 * javax/security/auth/RefreshFailedException.java
6223 * javax/security/auth/Refreshable.java
6224 * javax/security/auth/Subject.java
6225 * javax/security/auth/SubjectDomainCombiner.java
6226 * javax/security/auth/callback/Callback.java
6227 * javax/security/auth/callback/CallbackHandler.java
6228 * javax/security/auth/callback/ChoiceCallback.java
6229 * javax/security/auth/callback/ConfirmationCallback.java
6230 * javax/security/auth/callback/LanguageCallback.java
6231 * javax/security/auth/callback/NameCallback.java
6232 * javax/security/auth/callback/PasswordCallback.java
6233 * javax/security/auth/callback/TextInputCallback.java
6234 * javax/security/auth/callback/TextOutputCallback.java
6235 * javax/security/auth/callback/UnsupportedCallbackException.java
6236 * javax/security/auth/login/AccountExpiredException.java
6237 * javax/security/auth/login/AppConfigurationEntry.java
6238 * javax/security/auth/login/Configuration.java
6239 * javax/security/auth/login/CredentialExpiredException.java
6240 * javax/security/auth/login/FailedLoginException.java
6241 * javax/security/auth/login/LoginContext.java
6242 * javax/security/auth/login/LoginException.java
6243 * javax/security/auth/login/NullConfiguration.java
6244 * javax/security/auth/x500/X500PrivateCredential.java
6245 * javax/security/sasl/AuthenticationException.java
6246 * javax/security/sasl/AuthorizeCallback.java
6247 * javax/security/sasl/RealmCallback.java
6248 * javax/security/sasl/RealmChoiceCallback.java
6249 * javax/security/sasl/Sasl.java
6250 * javax/security/sasl/SaslClient.java
6251 * javax/security/sasl/SaslClientFactory.java
6252 * javax/security/sasl/SaslException.java
6253 * javax/security/sasl/SaslServer.java
6254 * javax/security/sasl/SaslServerFactory.java
6255 * org/ietf/jgss/ChannelBinding.java
6256 * org/ietf/jgss/GSSContext.java
6257 * org/ietf/jgss/GSSCredential.java
6258 * org/ietf/jgss/GSSException.java
6259 * org/ietf/jgss/GSSManager.java
6260 * org/ietf/jgss/GSSName.java
6261 * org/ietf/jgss/MessageProp.java
6262 * org/ietf/jgss/Oid.java
6263 * org/ietf/jgss/MessagesBundle.properties
6264
6265 Files imported from Jessie <http://www.nongnu.org/jessie/>
6266 * javax/net/ServerSocketFactory.java
6267 * javax/net/SocketFactory.java
6268 * javax/net/VanillaServerSocketFactory.java
6269 * javax/net/VanillaSocketFactory.java
6270 * javax/net/ssl/HandshakeCompletedEvent.java
6271 * javax/net/ssl/HandshakeCompletedListener.java
6272 * javax/net/ssl/HostnameVerifier.java
6273 * javax/net/ssl/HttpsURLConnection.java
6274 * javax/net/ssl/KeyManager.java
6275 * javax/net/ssl/KeyManagerFactory.java
6276 * javax/net/ssl/KeyManagerFactorySpi.java
6277 * javax/net/ssl/ManagerFactoryParameters.java
6278 * javax/net/ssl/SSLContext.java
6279 * javax/net/ssl/SSLContextSpi.java
6280 * javax/net/ssl/SSLException.java
6281 * javax/net/ssl/SSLHandshakeException.java
6282 * javax/net/ssl/SSLKeyException.java
6283 * javax/net/ssl/SSLPeerUnverifiedException.java
6284 * javax/net/ssl/SSLPermission.java
6285 * javax/net/ssl/SSLProtocolException.java
6286 * javax/net/ssl/SSLServerSocket.java
6287 * javax/net/ssl/SSLServerSocketFactory.java
6288 * javax/net/ssl/SSLSession.java
6289 * javax/net/ssl/SSLSessionBindingEvent.java
6290 * javax/net/ssl/SSLSessionBindingListener.java
6291 * javax/net/ssl/SSLSessionContext.java
6292 * javax/net/ssl/SSLSocket.java
6293 * javax/net/ssl/SSLSocketFactory.java
6294 * javax/net/ssl/TrivialHostnameVerifier.java
6295 * javax/net/ssl/TrustManager.java
6296 * javax/net/ssl/TrustManagerFactory.java
6297 * javax/net/ssl/TrustManagerFactorySpi.java
6298 * javax/net/ssl/X509KeyManager.java
6299 * javax/net/ssl/X509TrustManager.java
6300 * javax/security/cert/Certificate.java
6301 * javax/security/cert/CertificateEncodingException.java
6302 * javax/security/cert/CertificateException.java
6303 * javax/security/cert/CertificateExpiredException.java
6304 * javax/security/cert/CertificateNotYetValidException.java
6305 * javax/security/cert/CertificateParsingException.java
6306 * javax/security/cert/X509CertBridge.java
6307 * javax/security/cert/X509Certificate.java
6308
6309 2004-08-20 Casey Marshall <csm@gnu.org>
6310
6311 * java/security/cert/X509CRLSelector.java: New file.
6312 * java/security/cert/X509CertSelector.java: New file.
6313
6314 2004-09-15 Michael Koch <konqueror@gmx.de>
6315
6316 * gnu/java/net/protocol/file/Handler.java
6317 (openConnection): Don't throw exception if host part for file: URI is
6318 present. setURL() keeps file: protocol if ftp: protocol is not
6319 available.
6320
6321 2004-09-14 Richard Henderson <rth@redhat.com>
6322
6323 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
6324 value of sigsuspend.
6325
6326 2004-09-12 Tom Tromey <tromey@redhat.com>
6327
6328 * javax/naming/CompoundName.java (CompoundName): Don't check for
6329 separator in "flat" case.
6330
6331 2004-09-12 Michael Koch <konqueror@gmx.de>
6332
6333 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
6334 AM_CONFIG_HEADER by AC_CONFIG_FILES.
6335 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
6336 Regenerate.
6337
6338 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
6339
6340 PR libgcj/14751
6341 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
6342 handle in newly-allocated _Jv_Thread_t.
6343 (_Jv_ThreadDestroyData): Close thread handle.
6344 (_Jv_ThreadStart): Remove obsolete comment.
6345 Store handle of newly-created thread in _Jv_Thread_t.
6346 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
6347 before including <windows.h>
6348 #define _Jv_HaveCondDestroy
6349
6350 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
6351
6352 * java/lang/natThread.cc (finalize_native): Destroy
6353 join conditional variable and mutex if these destroy
6354 operations are supported.
6355
6356 2004-09-10 Dalibor Topic <robilad@kaffe.org>
6357
6358 * gnu/java/net/protocol/file/Connection.java (permission): New field.
6359 (DEFAULT_PERMISSION): New constant.
6360 (Connection): Create a FilePermission with permission to read file.
6361
6362 2004-09-10 Michael Koch <konqueror@gmx.de>
6363
6364 * gnu/java/net/protocol/file/Connection.java
6365 (getLastModified): Moved around.
6366 (getPermission): Return stored permission.
6367
6368 2004-09-10 Michael Koch <konqueror@gmx.de>
6369
6370 * Makefile.in: Regenerate.
6371
6372 2004-09-10 Michael Koch <konqueror@gmx.de>
6373
6374 * Makefile.am: Reverted accidently commited stuff.
6375 * configure: Regenerated.
6376
6377 2004-09-10 Michael Koch <konqueror@gmx.de>
6378
6379 * gnu/java/net/protocol/file/Connection.java
6380 (lineSeparator): Made non-final.
6381 (static): Removed.
6382 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
6383 instead of StringBufferInputStream.
6384
6385 2004-09-10 Michael Koch <konqueror@gmx.de>
6386
6387 * gnu/java/net/protocol/file/Connection.java
6388 (connect): Handle file is a directory case.
6389
6390 2004-09-10 Michael Koch <konqueror@gmx.de>
6391
6392 * Makefile.am
6393 (xlib_includes): Removed.
6394 (AM_CPPFLAGS): Renamed from INCLUDES.
6395 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
6396 * Makefile.in: Regenerate.
6397
6398 2004-09-09 Michael Koch <konqueror@gmx.de>
6399
6400 * java/security/ProtectionDomain.java,
6401 * java/util/PropertyPermissionCollection.java:
6402 Fixed javadocs all over.
6403
6404 2004-09-09 Sven de Marothy <sven@physto.se>
6405
6406 Patch from David Gilbert <david.gilbert@object-refinery.com>
6407 * java/lang/Comparable.java: Fixed documentation errors.
6408 * java/util/Arrays.java: Likewise.
6409
6410 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
6411
6412 * java/net/Inet4Address.java
6413 (Inet4Address): Added comment to serialization UID.
6414 * java/text/Format.java
6415 (Format): Added comment to serialization UID.
6416
6417 2004-09-09 Michael Koch <konqueror@gmx.de>
6418
6419 * java/lang/System.java
6420 (err): Fixed javadoci to point to setErr() and not setOut().
6421
6422 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
6423
6424 (normalizePath): Added special case for windows systems.
6425
6426 2004-09-09 Michael Koch <konqueror@gmx.de>
6427
6428 * java/io/File.java
6429 (dupSeparator): Made private.
6430 (File(URI)): New constructor.
6431 (getParentFile): Fixed javadoc.
6432 (createTempFile): Reformated.
6433 (setReadOnly): Added comment.
6434 (deleteOnExit): Merged javadoc with classpath version.
6435
6436 2004-09-09 Michael Koch <konqueror@gmx.de>
6437
6438 * Makefile.am: Don't try to include deps.mk.
6439 * Makefile.in: Regenerated.
6440
6441 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
6442
6443 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
6444 .d files.
6445 * configure: Rebuilt.
6446
6447 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
6448
6449 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
6450 Changed pfn from static local to local.
6451
6452 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
6453 H.J. Lu <hongjiu.lu@intel.com>
6454
6455 PR libgcj/17290
6456 * Makefile.am (GCJCOMPILE): Remove definition.
6457 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
6458 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
6459 * Makefile.in: Rebuilt.
6460
6461 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
6462
6463 * configure.ac (enable-gc-debug): Update help for new syntax.
6464 * configure: Regenerate.
6465
6466 2004-09-03 David Daney <ddaney@avtrex.com>
6467
6468 * include/mips-signal.h: Update copyright.
6469
6470 2004-09-03 David Daney <ddaney@avtrex.com>
6471
6472 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
6473 * include/mips-signal.h: Added HANDLE_FPE support.
6474
6475 2004-08-31 Michael Koch <konqueror@gmx.de>
6476
6477 * javax/swing/plaf/basic/BasicTextAreaUI.java
6478 (create): New method.
6479 * javax/swing/text/DefaultHighlighter.java
6480 (DefaultHighlightPainter.debugRect): Removed.
6481 * javax/swing/text/StyleContext.java
6482 (DEFAULT_STYLE): New field.
6483
6484 2004-08-31 Michael Koch <konqueror@gmx.de>
6485
6486 * javax/swing/plaf/basic/BasicLookAndFeel.java
6487 (initComponentDefaults): Add keybindings for selection.backward and
6488 selection-forward for text components.
6489 * javax/swing/plaf/basic/BasicTextUI.java
6490 (paintSafely): Paint highlight only when something is actually
6491 selected.
6492 * javax/swing/text/DefaultCaret.java
6493 (handleHighlight): New method.
6494 (setSelectionVisible): Don't do anything when nothing changes.
6495 Handle highlight.
6496 (moveDot): Reimplemented. Handle highlight.
6497 (setDot): Set mark too. Handle highlight.
6498 (getSelectionPainter): New method.
6499 * javax/swing/text/DefaultEditorKit.java
6500 (defaultActions): Added new actions for text selection.
6501 * javax/swing/text/DefaultHighlighter.java
6502 (DefaultHighlightPainter): New inner class.
6503 (DefaultPainter): New field.
6504 (paint): Implemented.
6505 * javax/swing/text/PlainView.java
6506 (paint): Don't draw background here again.
6507 * javax/swing/text/Utilities.java
6508 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
6509 (drawTabbedText): Likewise.
6510
6511 2004-08-31 Graydon Hoare <graydon@redhat.com>
6512
6513 * javax/swing/JComponent.java
6514 (resetKeyboardActions): Add null checks.
6515
6516 2004-08-31 Graydon Hoare <graydon@redhat.com>
6517
6518 * javax/swing/DefaultButtonModel.java:
6519 Skip group notification when no group is set.
6520
6521 2004-08-31 Graydon Hoare <graydon@redhat.com>
6522
6523 * javax/swing/JColorChooser.java:
6524 Make a couple inner classes static, for jikes.
6525
6526 2004-08-31 Michael Koch <konqueror@gmx.de>
6527
6528 * javax/swing/plaf/basic/BasicTextUI.java
6529 (RottView.modelToView): New method.
6530 (UpdateHandler): Renamed from EventHandler.
6531 (updateHandler): Renamed from eventHandler.
6532 (modelToView): Implemented.
6533 * javax/swing/text/AbstractDocument.java
6534 (BranchElement.getElement): Return null for non-existing indeces.
6535 (BranchElement.getElementIndex): Return 0 in some corner cases.
6536 * javax/swing/text/FieldView.java
6537 (modelToView): New method.
6538 * javax/swing/text/PlainView.java
6539 (modelToView): Made public.
6540
6541 2004-08-31 Kim Ho <kho@redhat.com>
6542
6543 * Makefile.am: New files.
6544 * Makefile.in: Regenerate.
6545 * gcj/Makefile.in: Regenerate.
6546 * include/Makefile.in: Regenerate.
6547 * java/awt/Color.java: Fix documentation.
6548 (RGBtoHSB): Use floats for conversions.
6549 * javax/swing/ButtonGroup.java: Run Jalopy.
6550 (setSelected): Reimplement.
6551 * javax/swing/DefaultButtonModel.java: Run Jalopy.
6552 (changeState): Let ButtonGroup know that the button
6553 is changing state.
6554 * javax/swing/JColorChooser.java: Implement.
6555 * javax/swing/JLabel.java: Run Jalopy.
6556 * javax/swing/JSpinner.java: Run Jalopy.
6557 (setValue): New method.
6558 * javax/swing/JTabbedPane.java: Run Jalopy.
6559 (removeTabAt): Call correct remove method.
6560 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
6561 (getPreviousValue): Compare minimum value.
6562 * javax/swing/Timer.java: Run Jalopy.
6563 (run): Comment out println.
6564 * javax/swing/ToolTipManager.java:
6565 (mouseMoved): Get new tooltip text for location.
6566 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
6567 Jalopy and Javadoc.
6568 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
6569 Implement.
6570 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
6571 Run Jalopy.
6572 (setSelectedColor): Fire ChangeEvent.
6573 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
6574 New file. Implement.
6575 * javax/swing/colorchooser/DefaultPreviewPanel.java:
6576 Ditto.
6577 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
6578 Ditto.
6579 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
6580 Ditto.
6581 * javax/swing/plaf/basic/BasicArrowButton.java:
6582 (getArrow): Fix size of upward pointing button.
6583 * javax/swing/plaf/basic/BasicColorChooserUI.java:
6584 Implement.
6585 * javax/swing/plaf/basic/BasicSliderUI.java:
6586 (getWidthOfWidestLabel): Use preferred dimensions.
6587 (getHeightOfTallestLabel): Ditto.
6588 * javax/swing/plaf/basic/BasicSpinnerUI.java:
6589 Run Jalopy.
6590 (mousePressed): Disable changes to spinner if it is not enabled.
6591 * testsuite/Makefile.in: Regenerate.
6592
6593
6594 2004-08-31 Michael Koch <konqueror@gmx.de>
6595
6596 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
6597 javax/swing/plaf/basic/BasicTableUI.java:
6598 Added copyright notice.
6599
6600 2004-08-31 Olga Rodimina <rodimina@redhat.com>
6601
6602 * Makefile.am: Added new files.
6603 * Makefile.in: Regenerate.
6604 * javax/swing/ComboBoxEditor.java: Added javadocs.
6605 * javax/swing/ComboBoxModel.java: Likewise.
6606 * javax/swing/DefaultComboBoxModel.java: Implemented.
6607 * javax/swing/DefaultListCellRenderer.java: Added javadocs
6608 and ran through jalopy to fix formatting style.
6609 (getListCellRendererComponent): Use appropriate border
6610 if renderer has focus and use noFocusBorder when it doesn't.
6611 * javax/swing/JComboBox.java: Implemented.
6612 * javax/swing/JList.java:
6613 (locationToIndex): New Method. Implemented.
6614 (indexToLocation): New Method.
6615 * javax/swing/JPopupMenu.java:
6616 (visible): New field.
6617 (isVisible): Changed to use new field above.
6618 (setVisible): Likewise.
6619 * javax/swing/MutableComboBoxModel.java: Added javadocs.
6620 * javax/swing/plaf/basic/BasicArrowButton.java:
6621 (shadow): Changed default color to Color.gray.
6622 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
6623 UI delegate for JComboBox.
6624 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
6625 Popup menu containing list of JComboBox's items.
6626 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
6627 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
6628 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
6629 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
6630 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6631 (popupMenuWillBecomeVisible): Set selected path to the first
6632 element only if it is of type MenuElement. Also fix formatting
6633 style.
6634 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
6635 methods signatures.
6636
6637 2004-08-31 Michael Koch <konqueror@gmx.de>
6638
6639 * javax/swing/text/AbstractDocument.java
6640 (createBranchElement): Use new constructor of BranchElement.
6641 (createLeafElement): Renamed arguments.
6642 (getRootElements): Implemented.
6643 (BranchElement.start): Removed.
6644 (BranchElement.end): Likewise.
6645 (BranchElement.BranchElement): Fixed arguments.
6646 (BranchElement.getEndOffset): Reimplemented.
6647 (BranchElement.getStartOffset): Likewis.
6648 * javax/swing/text/DefaultCaret.java
6649 (paint): Draw simple vertical line as caret instead of a rectangle.
6650 * javax/swing/text/JTextComponent.java
6651 (setText): Use doc directly.
6652 * javax/swing/text/PlainView.java
6653 (nextTabStop): Implemented.
6654 * javax/swing/text/Utilities.java
6655 (drawTabbedText): nextTabStop() returns an absolute x position.
6656 (getTabbedTextWidth): Likewise.
6657
6658 2004-08-31 Graydon Hoare <graydon@redhat.com>
6659
6660 * java/awt/Component.java
6661 (isFocusTraversable): Predicate on isLightweight()
6662 (setFocusable): Set isFocusTraversableOverridden.
6663 (requestFocus): Predicate peer dispatch on !isLightweight()
6664 (requestFocusInWindow): Likewise.
6665 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
6666 * java/awt/Container.java
6667 (dispatchEventImpl): Predicate on event mask.
6668 (LightweightDispatcher): Remove focus machinery.
6669 * java/awt/DefaultFocusTraversalPolicy.java
6670 (accept): Expand predicate to include isFocusable().
6671 * java/awt/DefaultKeyboardFocusManager.java:
6672 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
6673 * java/awt/KeyboardFocusManager.java
6674 (redispatchEvent): Synchronize on event to prevent feedback.
6675 * javax/swing/AbstractButton.java
6676 (ButtonFocusListener): Remove class.
6677 (init): Set focusPainted, focusable.
6678 * javax/swing/ActionMap.java (get): Check parent for null.
6679 * javax/swing/InputMap.java (get): Likewise.
6680 * javax/swing/JComponent.java
6681 (inputMap_whenFocused): New InputMap.
6682 (inputMap_whenAncestorOfFocused): Likewise.
6683 (inputMap_whenInFocusedWindow): Likewise.
6684 (getActionForKeyStroke): Rewrite.
6685 (getConditionForKeystroke): Likewise.
6686 (ActionListenerProxy): New private class.
6687 (setInputMap): Implement.
6688 (getInputMap): Likewise.
6689 (setActionMap): Likewise.
6690 (getActionMap): Likewise.
6691 (processComponentKeyEvent): New empty method.
6692 (processKeyEvent): Implement.
6693 (processKeyBinding): Likewise.
6694 (resetKeyboardActions): Rewrite.
6695 * javax/swing/KeyStroke.java: Rewrite.
6696 * javax/swing/SwingUtilities.java
6697 (notifyAction): Implement.
6698 (replaceUIActionMap): Likewise.
6699 (replaceUIInputMap): Likewise.
6700 * javax/swing/plaf/basic/BasicButtonListener.java
6701 (focusGained): Implement.
6702 (focusLost): Repaint if focusPainted().
6703 (installKeyboardActions): Install pressed / released actions.
6704 (uninstallKeyboardActions): Implement.
6705 * javax/swing/plaf/basic/BasicButtonUI.java
6706 (focusColor): New field.
6707 (installDefaults): Load focus color, install input map.
6708 (installKeyboardActions): Implement.
6709 (uninstallKeyboardActions): Likewise.
6710 (paintFocus): Rewrite.
6711 * javax/swing/plaf/basic/BasicLookAndFeel.java
6712 (Button.focus): New default, midPurple.
6713 * javax/swing/plaf/basic/BasicTextUI.java
6714 (kit): Make static.
6715 (installUI): Get doc from kit, load defaults.
6716 (getKeymapName): Implement.
6717 (createKeymap): Likewise.
6718 (installKeyboardActions): Likewise.
6719 (getInputMap): Likewise.
6720 (getActionMap): Likewise.
6721 (createActionMap): Likewise.
6722 * javax/swing/text/AbstractDocument.java
6723 (getStartPosition): Implement.
6724 (getEndPosition): Likewise.
6725 * javax/swing/text/DefaultEditorKit.java
6726 (CopyAction): New class.
6727 (CutAction): Likewise.
6728 (DefaultKeyTypedAction): Likewise.
6729 (InsertBreakAction): Likewise.
6730 (InsertContentAction): Likewise.
6731 (InsertTabAction): Likewise.
6732 (PasteAction): Likewise.
6733 (defaultActions): New static table.
6734 (createCaret): Implement.
6735 (getActions): Likewise.
6736 * javax/swing/text/JTextComponent.java
6737 (KeymapWrapper): New private class.
6738 (KeymapActionMap): Likewise.
6739 (DefaultKeymap): New class.
6740 (keymaps): New static table.
6741 (keymap): New field.
6742 (getKeymap): Implement.
6743 (removeKeymap): Likewise.
6744 (addKeymap): Likewise.
6745 (setKeymap): Likewise.
6746 (loadKeymap): Likewise.
6747 (getActions): Likewise.
6748 (margin): New field.
6749 (JTextComponent): Build and install default keymap.
6750 * javax/swing/text/TextAction.java
6751 (textAction): Call super properly.
6752 (getTextComponent): Implement.
6753 * javax/swing/text/Utilities.java
6754 (drawTabbedText): Adjust position by ascent.
6755
6756 2004-08-31 David Jee <djee@redhat.com>
6757
6758 PR AWT/17156
6759
6760 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
6761 (setEnabled): Make it a native method.
6762 * java/awt/DefaultKeyboardFocusManager.java
6763 (postProcessKeyEvent): Only post event if the menu item
6764 is active.
6765 * java/awt/MenuItem.java:
6766 Private field 'enabled' should be true by default.
6767 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
6768 (setEnabled): New function.
6769
6770 2004-08-31 David Jee <djee@redhat.com>
6771
6772 PR AWT/17059
6773
6774 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
6775 (nativeSetHelpMenu): New native method declaration.
6776 (addHelpMenu): Call nativeSetHelpMenu().
6777 (addMenu): Remove.
6778 * java/awt/MenuBar.java
6779 (setHelpMenu): Call addNotify() on the new help menu.
6780 (add): Call addNotify() on the new menu.
6781 (addNotify): Set the help menu if one exists.
6782 * java/awt/peer/MenuBarPeer.java
6783 (addMenu): Remove.
6784 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
6785 (nativeSetHelpMenu): New method.
6786
6787 2004-08-31 Graydon Hoare <graydon@redhat.com>
6788
6789 * Makefile.am: Add new files.
6790 * Makefile.in: Regenerate.
6791 * javax/swing/Box.java: Fix setting of layout in ctor.
6792 * javax/swing/JScrollPane.java: Scroll headers as well.
6793 * javax/swing/JTable.java: Reimplement.
6794 * javax/swing/JViewPort.java: Only add non-null children.
6795 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
6796 * javax/swing/Timer.java: Fix stopping null waker.
6797 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
6798 * javax/swing/plaf/basic/BasicTableUI.java: New file.
6799 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
6800 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
6801 * javax/swing/table/DefaultTableModel.java: Clean up.
6802 * javax/swing/table/JTableHeader.java: Implement.
6803
6804 2004-08-31 Mark Wielaard <mark@klomp.org>
6805
6806 * javax/swing/JSpinner.java (getChangeListeners): Remove double
6807 semi-colon.
6808
6809 2004-08-31 Mark Wielaard <mark@klomp.org>
6810
6811 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
6812 Declare variables at top of functions/block.
6813 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
6814
6815 2004-08-31 Mark Wielaard <mark@klomp.org>
6816
6817 * java/lang/Rectangle.java (intersects): Check r.width and r.height
6818 first.
6819
6820 2004-08-31 Michael Koch <konqueror@gmx.de>
6821
6822 * javax/swing/text/PlainView.java
6823 (selectedColor): New field.
6824 (unselectedColor): Likewise.
6825 (font): Likewise.
6826 (updateMetrics): New method.
6827 (lineToRect): Likewise.
6828 (modelToView): Likewise.
6829 (drawSelectedText): Use color from JTextComponent ad draw with
6830 Utilities class.
6831 (drawUnselectedText): Likewise.
6832 (paint): Initialize helper fields.
6833 * javax/swing/text/View.java
6834 (getChildAllocation): New method.
6835 (getViewIndex): Likewise.
6836 (getToolTipText): Likewise.
6837
6838 2004-08-31 Michael Koch <konqueror@gmx.de>
6839
6840 * javax/swing/text/Utilities.java
6841 (drawTabbedText): Reimplemented.
6842 (getTabbedTextWidth): Likewise.
6843
6844 2004-08-31 Michael Koch <konqueror@gmx.de>
6845
6846 * javax/swing/plaf/basic/BasicTextUI.java
6847 (installDefaults): Install caret and highlighter.
6848 (modelToView): Use Bias.Forward when calling sibling.
6849 * javax/swing/text/AbstractDocument.java
6850 (ElementEdit): Implements DocumentEvent.ElementChange.
6851 (ElementEdit.ElementEdit): New method.
6852 (ElementEdit.getChildrenAdded): Likewise.
6853 (ElementEdit.getChildrenRemoved): Likewise.
6854 (ElementEdit.getElement): Likewise.
6855 (ElementEdit.getIndex): Likewise.
6856 * javax/swing/text/DefaultCaret.java
6857 (color): Removed.
6858 (textComponent): Renamed from parent, made private.
6859 (selectionVisible): Renamed from vis_sel, made private.
6860 (blinkRate): Renamed from blink, made private.
6861 (magicCaretPosition): Renamed from magic, made private.
6862 (visible): Renamed from vis, made private.
6863 (dot): Made private.
6864 (mark): Likewise.
6865 (deinstall): Remove as MouseMotionListener.
6866 (install): Initialize textComponent first. Add as MouseMotionListener.
6867 (paint): Reimplemented.
6868 * javax/swing/text/JTextComponent.java
6869 (setCaret): Deinstall old caret, install new one and fire property
6870 change after setting property.
6871 (setHighlighter): Deinstall old highlighter, install new one and fire
6872 property change after setting property.
6873 (setCaretColor): Fire property change after setting property.
6874 (setDisabledTextColor): Likewise.
6875 (setSelectedTextColor): Likewise.
6876 (setSelectionColor): Likewise.
6877 (modelToView): New method.
6878
6879 2004-08-31 Michael Koch <konqueror@gmx.de>
6880
6881 * javax/swing/text/AbstractDocument.java
6882 (getText): Simplified.
6883 * javax/swing/text/Segment.java
6884 (current): New field.
6885 (current): Reimplemented.
6886 (first): Likewise.
6887 (getIndex): Likewise.
6888 (last): Likewise.
6889 (next): Likewise.
6890 (previous): Likewise.
6891 (setIndex): Likewise.
6892
6893 2004-08-31 Michael Koch <konqueror@gmx.de>
6894
6895 * javax/swing/plaf/basic/BasicButtonUI.java
6896 (defaultTextIconGap): Made protected.
6897 (defaultTextShiftOffset): Likewise.
6898 (textShiftOffset): New field.
6899 (clearTextShiftOffset): New method.
6900 (getTextShiftOffset): Likewise.
6901 (setTextShiftOffset): Likewise.
6902
6903 2004-08-31 Michael Koch <konqueror@gmx.de>
6904
6905 * javax/swing/plaf/basic/BasicTextUI.java
6906 (installUI): Add eventHandler as property listener.
6907 (uninstallUI): remove eventHandler as propert listener.
6908 (installDefaults): Added comment.
6909 (installListeners): Likewise.
6910 (installKeyboardActions): Likewise.
6911 (uninstallDefaults): Likewise.
6912 (uninstallListeners): Likewise.
6913 (uninstallKeyboardActions): Likewise.
6914
6915 2004-08-31 Michael Koch <konqueror@gmx.de>
6916
6917 * javax/swing/text/AbstractDocument.java:
6918 Fixed some typos in comments.
6919 (insertString): Reimplemented.
6920 (remove): Likewise.
6921 (replace): New method.
6922 (children): Dont use fully qualified class name.
6923 (DefaultDocumentEvent.offset): Renamed from off.
6924 (DefaultDocumentEvent.length): Renamed from len.
6925 (DefaultDocumentEvent.type): New field.
6926 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
6927 (DefaultDocumentEvent.getType): Implemented.
6928
6929 2004-08-31 Michael Koch <konqueror@gmx.de>
6930
6931 * javax/swing/plaf/basic/BasicTextUI.java
6932 (RootView.textComponent): Removed.
6933 (RootView.RootView): Don't initialize textComponent.
6934 (RootView.getViewFactory): New method.
6935 (EventHandler): New inner class.
6936 (rootView): Initialize at instance creation.
6937 (eventHandler): New field.
6938 (installUI): Don't create view hierarchy directly,
6939 call modelChanged() instead.
6940 (modelChanged): New method.
6941 * javax/swing/text/JTextComponent.java
6942 (setDocument): Fire property change event.
6943
6944 2004-08-31 Michael Koch <konqueror@gmx.de>
6945
6946 * javax/swing/plaf/basic/BasicTextUI.java
6947 (RootView.paint): Removed debug output.
6948 (paintSafely): Draw highlighter before text.
6949 (paintBackground): Use background color of text component.
6950 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
6951 Reformatted.
6952
6953 2004-08-31 Michael Koch <konqueror@gmx.de>
6954
6955 * javax/swing/plaf/basic/BasicToolBarUI.java
6956 (BasicToolBarUI): Fixed arguments for constructor.
6957 (createUI): Fixed creation of object.
6958
6959 2004-08-31 Michael Koch <konqueror@gmx.de>
6960
6961 * javax/swing/DefaultListSelectionModel.java
6962 (fireValueChanged): Renamed from fireSelectionValueChanged,
6963 made protected.
6964
6965 2004-08-31 Michael Koch <konqueror@gmx.de>
6966
6967 * javax/swing/text/TabSet.java
6968 (TabSet): Implements java.io.Serializable.
6969 * javax/swing/text/TabStop.java
6970 (TabStop): Implements java.io.Serializable.
6971 (TabStop): Made public.
6972
6973 2004-08-31 Michael Koch <konqueror@gmx.de>
6974
6975 * javax/swing/JComponent.java
6976 (setUI): Fire PropertyChange.
6977 * javax/swing/JLabel.java
6978 (text): Renamed from labelText.
6979 (horizontalAlignment): New default vlaue.
6980 (icon): Renamed from activeIcon.
6981 (displayedMnemonic): Renamed from mnemonicKey, added default value.
6982 (displayedMnemonicIndex): Renamed from underlineChar.
6983 (setDisplayedMnemonic): Reimplemented.
6984 * javax/swing/JRadioButton.java
6985 (JRadioButton): New constructors.
6986 * javax/swing/JTextField.java
6987 (JTextField): Throw exception if colums < 0, initialitialz
6988 this.columns directly and initialize document with text conditionally.
6989
6990 2004-08-31 Michael Koch <konqueror@gmx.de>
6991
6992 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
6993 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
6994 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
6995 * javax/swing/text/FieldView.java
6996 (paint): Just call super method for now.
6997 * Makefile.am: Added new files.
6998 * Makefile.in: Regenerated.
6999
7000 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
7001
7002 * javax/swing/AbstractSpinnerModel.java,
7003 javax/swing/JSpinner.java,
7004 javax/swing/SpinnerNumberModel.java,
7005 javax/swing/plaf/basic/BasicSpinnerUI.java:
7006 New files.
7007 * javax/swing/plaf/basic/BasicLookAndFeel.java
7008 (initClassDefaults): Added defaults for BasicSpinnerUI.
7009
7010 2004-08-31 Michael Koch <konqueror@gmx.de>
7011
7012 * Makefile.am: Added new files.
7013 * Makefile.in: Regenerated.
7014
7015 2004-08-31 Michael Koch <konqueror@gmx.de>
7016
7017 * javax/swing/TransferHandler.java,
7018 javax/swing/plaf/basic/ComboPopup.java: New files
7019 * Makefile.am: Added javax/swing/TransferHandler.java and
7020 javax/swing/plaf/basic/ComboPopup.java
7021 * Makefile.in: Regenerated.
7022
7023 2004-08-31 Roman Kennke <roman@ontographics.com>
7024
7025 * javax/swing/text/Utilities.java: New file.
7026
7027 2004-08-31 Michael Koch <konqueror@gmx.de>
7028
7029 * Makefile.am: Added javax/swing/text/Utilities.java.
7030 * Makefile.in: Regenerated.
7031
7032 2004-08-31 Graydon Hoare <graydon@redhat.com>
7033
7034 * javax/swing/text/SimpleAttributeSet.java: New file.
7035 * javax/swing/text/StyleConstants.java: New file.
7036 * javax/swing/text/StyleContext.java: New file.
7037 * javax/swing/text/TabSet.java: New file.
7038 * javax/swing/text/TabStop.java: New file.
7039 * javax/swing/text/AbstactDocument.java:
7040 (AbstractElement): Implement attribute support.
7041 * javax/swing/text/AttributeSet.java
7042 (NameAttribute): New static field.
7043 (ResolveAttribute): New static field.
7044 * Makefile.am: Update for new files.
7045 * Makefile.in: Regenerate.
7046
7047 2004-08-31 Craig Black <craig.black@aonix.com>
7048
7049 * gnu/java/awt/peer/gtk/GdkGraphics.java
7050 (drawImage): Add support for scaling pixmaps.
7051 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
7052 (copyAndScalePixmap): New native method.
7053
7054 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
7055
7056 PR AWT/16121
7057 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
7058 type-punning compiler warnings using unions.
7059 (throw): Replace bzero with memset.
7060
7061 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
7062 Thomas Fitzsimmons <fitzsim@redhat.com>
7063
7064 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
7065 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
7066 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
7067 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7068 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
7069
7070 2004-08-31 Mark Wielaard <mark@klomp.org>
7071
7072 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
7073 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
7074 and stdlib.h, not gtkpeer.h.
7075 (*vm): New static variable.
7076 (areaPreparedID): Make static.
7077 (areaUpdatedID): Likewise.
7078 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
7079 (area_prepared): Likewise.
7080 (area_updated): Likewise.
7081 (closed): Likewise.
7082 (initStaticState): Initialize *vm javaVM.
7083 (pumpBytes): Use given env, not global gdk_env.
7084
7085 2004-08-31 Mark Wielaard <mark@klomp.org>
7086
7087 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
7088 comments.
7089
7090 2004-08-31 Sven de Marothy <sven@physto.se>
7091
7092 * java/awt/geom/CubicCurve2D.java: Reindent.
7093 (contains): Implemented.
7094 (intersects): Implemented.
7095 * java/awt/geom/QuadCurve2D.java: Likewise.
7096 * java/awt/geom/GeneralPath.java: Reindent and document.
7097 Fully (re)implemented using separate xpoints and ypoints
7098 float[] coords.
7099 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
7100
7101 2004-08-31 Michael Koch <konqueror@gmx.de>
7102
7103 * javax/swing/JMenuItem.java
7104 (getMenuDragMouseListeners): New method.
7105 (getMenuKeyListeners): Likewise.
7106
7107 2004-08-31 Michael Koch <konqueror@gmx.de>
7108
7109 * javax/swing/AbstractButton.java
7110 (model): Made protected.
7111 (actionListener): Likewise.
7112 (changeListener): Likewise.
7113 (itemListener): Likewise.
7114 (multiClickThreshhold): New field.
7115 (getActionListeners): New method.
7116 (getChangeListeners): Likewise.
7117 (getItemListeners): Likewise.
7118 (fireItemStateChanged): Simplified implementation.
7119 (fireActionPerformed): Likewise.
7120 (fireStateChanged): Likewise.
7121 (getMultiClickThreshhold): New method.
7122 (setMultiClickThreshhold): Likewise.
7123
7124 2004-08-31 Tom Tromey <tromey@redhat.com>
7125
7126 * java/awt/image/Kernel.java (clone): Use super.clone().
7127
7128 2004-08-31 David Jee <djee@redhat.com>
7129
7130 PR AWT/16682
7131 * gnu/java/awt/peer/gtk/GtkFramePeer.java
7132 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
7133 (nativeSetIconImageFromData): New native method declaration.
7134 (setIconImage): Handle images not produced from GdkPixbufDecoder.
7135 * gnu/java/awt/peer/gtk/GtkImage.java
7136 (getPixelCache): New method.
7137 (getColorModel): New method.
7138 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7139 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
7140 (free_pixbuf_data): New helper function.
7141 (nativeSetIconImageFromData): New function.
7142
7143 2004-08-31 Graydon Hoare <graydon@redhat.com>
7144
7145 PR SWING/16576
7146 * javax/swing/JLayeredPane.java
7147 (setLayer): Permit changing layer after addition.
7148 (setPosition): Permit over-length positions.
7149 (layerToRange): Compare intValue()s.
7150 * javax/swing/Box.java (createHorizontalBox): Implement.
7151 (createRigidArea): Likewise.
7152 (createVerticalBox): Likewise.
7153
7154 2004-08-31 Kim Ho <kho@redhat.com>
7155
7156 * java/awt/Component.java:
7157 (processMouseEvent): Consume event after
7158 listeners process it.
7159 (processMouseMotionEvent): ditto.
7160 (processMouseWheelEvent): ditto.
7161 * java/awt/Container.java:
7162 (acquireComponentForMouseEvent):
7163 Do not dispatch to events that have been
7164 removed from the Container.
7165 (handleEvent): Consume the MouseEvents.
7166 * javax/swing/RepaintManager.java:
7167 (paintDirtyRegions): Do not add to list of
7168 damaged areas if the component has no root.
7169
7170 2004-08-31 Michael Koch <konqueror@gmx.de>
7171
7172 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
7173
7174 2004-08-31 Mark Wielaard <mark@klomp.org>
7175
7176 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
7177 null when a MissingResourceException is thrown. Should never happen.
7178
7179 2004-08-31 Mark Wielaard <mark@klomp.org>
7180
7181 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
7182 when argument is null.
7183
7184 2004-08-31 Mark Wielaard <mark@klomp.org>
7185
7186 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7187 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
7188 Define hid at start of function.
7189 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
7190 Likewise.
7191
7192 2004-08-31 Mark Wielaard <mark@klomp.org>
7193
7194 * gnu/java/awt/EmbeddedWindow.java: Reindent.
7195 * javax/swing/JButton.java: Reindent.
7196 * javax/swing/JCheckBox.java: Reindent.
7197
7198 2004-08-31 Mark Wielaard <mark@klomp.org>
7199
7200 * Makefile.am (gtk_c_source_files): Added
7201 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
7202 (gtk_awt_peer_sources): Added
7203 gnu/java/awt/peer/gtk/GThreadMutex.java and
7204 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
7205 * Makefile.in: Regenerated.
7206
7207 2004-08-31 Archie Cobbs <archie@dellroad.org>
7208
7209 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
7210
7211 2004-08-31 Steven Augart <augart@watson.ibm.com>
7212
7213 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
7214 Added jfieldID, jmethodID.
7215
7216 2004-08-31 Mark Wielaard <mark@klomp.org>
7217
7218 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
7219 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
7220 gdk_env before calling any gdk or gtk function.
7221
7222 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
7223 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
7224 (run): Set gtkInitCalled.
7225
7226 2004-08-31 Steven Augart <augart@watson.ibm.com>
7227
7228 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
7229 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
7230
7231 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
7232 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
7233 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
7234 init_glib_threads.
7235 (init_glib_threads): New function.
7236
7237 2004-08-31 Mark Wielaard <mark@klomp.org>
7238
7239 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
7240 PRIORITY when not already defined in header file.
7241
7242 2004-08-31 Mark Wielaard <mark@klomp.org>
7243
7244 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
7245 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
7246
7247 2004-08-31 Steven Augart <augart@watson.ibm.com>
7248
7249 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
7250 Implemented missing functions for GTK2.
7251 Added error handling.
7252 Renamed static functions out of the g_ namespace.
7253 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
7254 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
7255 Rewrote global-reference code.
7256 Eliminated cascading errors.
7257 (mutex_trylock_jni_impl) Fully implemented.
7258 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
7259 resolution.
7260 (setup_cache) New function.
7261 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
7262 bug where they were not unlocking the GMutex associated with the
7263 condition variable during the wait on that condition variable.
7264
7265 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
7266 native/jni/gtk-peer/gthread-jni.c,
7267 native/jni/gtk-peer/gthread-jni.h
7268 (g_thread_jni_functions): Renamed to ...
7269 (portable_native_sync_jni_functions): this name.
7270 (gdk_vm): Renamed to...
7271 (the_vm): this name.
7272
7273 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
7274 (gdk_vm): Removed duplicate definition.
7275 (gtkInit): Removed stray message to stdout.
7276 (gtkInit): Use g_malloc and g_free instead of malloc and free.
7277 (gtkInit): Fix a const assignment bug.
7278 (gtkInit): Simplified code.
7279
7280 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
7281 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
7282 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
7283 gnu/java/awt/peer/gtk/GThreadMutex.java:
7284 New files.
7285
7286 2004-08-31 Mark Wielaard <mark@klomp.org>
7287
7288 * javax/swing/Box.java: Put FIXME comment above class declaration.
7289 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
7290 * javax/swing/JCheckBox.java: Likewise.
7291 * javax/swing/JDialog.java: Likewise.
7292 * javax/swing/JRadioButton.java: Likewise.
7293 * javax/swing/JToggleButton.java: Likewise.
7294 * javax/swing/UIManager.java: Likewise.
7295 * javax/swing/border/TitledBorder.java: Likewise.
7296 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
7297 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
7298 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
7299 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
7300 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
7301 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
7302 * javax/swing/text/JTextComponent.java: Likewise.
7303
7304 2004-08-31 David Jee <djee@redhat.com>
7305
7306 PR AWT/16682
7307 * gnu/java/awt/peer/gtk/GtkFramePeer.java
7308 (setIconImage): Add a FIXME for unhandled cases.
7309
7310 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
7311
7312 PR AWT/16040
7313 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
7314 getModifiers. Replace old button masks with new ones.
7315 * gnu/awt/xlib/XEventLoop.java: Likewise.
7316 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
7317 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7318 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7319 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
7320 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
7321 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
7322 * java/awt/Component.java: Replace old modifier masks with new
7323 ones.
7324 * java/awt/Container.java: Call getModifiersEx, not
7325 getModifiers.
7326 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
7327 old modifier masks.
7328 * javax/swing/JMenuItem.java: Replace old button masks with new
7329 ones.
7330 * javax/swing/KeyStroke.java: Call getModifiersEx, not
7331 getModifiers.
7332 * javax/swing/SwingUtilities.java: Likewise.
7333 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
7334 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
7335 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
7336 mask macros with new ones.
7337 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
7338 macros with new ones representing new masks.
7339
7340 2004-08-31 Craig Black <craig.black@aonix.com>
7341
7342 * gnu/java/awt/peer/gtk/GdkGraphics.java
7343 (drawRoundRect): Implemented.
7344 (fillRoundRect): Implemented.
7345 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7346 (drawRoundRect): Reimplemented to match GdkGraphics.
7347 (fillRoundRect): Reimplemented to match GdkGraphics.
7348
7349 2004-08-31 Mark Wielaard <mark@klomp.org>
7350
7351 * Makefile.in: Regenerated.
7352
7353 2004-08-31 Michael Koch <konqueror@gmx.de>
7354
7355 * gnu/java/awt/EmbeddedWindow.java
7356 (addNotify): Use AccessController to allow execution of privileged
7357 code.
7358
7359 2004-08-31 Michael Koch <konqueror@gmx.de>
7360
7361 * gnu/java/awt/EmbeddedWindow.java
7362 (static): Removed.
7363 (addNotify): Set peer via reflection.
7364 (setWindowPeer): Removed.
7365 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
7366 * Makefile.am (nat_source_files):
7367 Removed gnu/java/awt/natEmbeddedWindow.cc.
7368
7369 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
7370
7371 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
7372 and gnu/java/security/action/SetAccessibleAction.java.
7373
7374 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
7375
7376 * gnu/java/security/action/GetPropertyAction.java (setParameters):
7377 Renamed from 'setName'. New 2-argument form with default value.
7378 (run): Pass default 'value' parameter to System.getProperty().
7379 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
7380 typos.
7381
7382 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
7383
7384 * gnu/java/security/action/GetPropertyAction.java: New class.
7385 * gnu/java/security/action/SetAccessibleAction.java: New class.
7386
7387 2004-08-31 David Jee <djee@redhat.com>
7388
7389 * gnu/java/awt/peer/gtk/GtkFramePeer.java
7390 (setIconImage): Check if image is null.
7391
7392 2004-08-31 David Jee <djee@redhat.com>
7393
7394 * gnu/java/awt/peer/gtk/GtkFramePeer.java
7395 (create): Set the icon image.
7396 (nativeSetIconImage): New native method declaration.
7397 (setIconImage): Implement.
7398 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7399 (nativeSetIconImage): New function.
7400
7401 2004-08-31 Dalibor Topic <robilad@kaffe.org>
7402
7403 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7404 (filenameFilterCallback): Declare local variable accepted before use.
7405
7406 2004-08-31 Dalibor Topic <robilad@kaffe.org>
7407
7408 * gnu/java/awt/ComponentDataBlitOp.java:
7409 Cleaned up imports.
7410
7411 2004-08-31 Tom Tromey <tromey@redhat.com>
7412
7413 * gnu/java/awt/peer/GLightweightPeer.java,
7414 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
7415 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7416 javax/swing/JScrollPane.java: Removed
7417 redundant imports.
7418
7419 2004-08-31 David Jee <djee@redhat.com>
7420
7421 * java/awt/DefaultKeyboardFocusManager.java
7422 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
7423 event. Fix shift modifier checking.
7424 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7425 (accel_attach): Remove.
7426 (setupAccelGroup): Remove calls to accel_attach.
7427
7428 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
7429
7430 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
7431 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
7432
7433 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
7434 GtkArgList.java.
7435 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
7436 * Makefile.in: Regenerate.
7437 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7438 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7439 (create(String)): New method.
7440 (create): Call new create method.
7441 (getArgs): Remove method.
7442 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
7443 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
7444 (nativeCreate): Rename to create.
7445 (gtkSetLabel): Rename to gtkButtonSetLabel.
7446 (gtkToggleButtonSetActive): New method.
7447 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
7448 (setState): Replace set call with gtkToggleButtonSetActive.
7449 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
7450 (getArgs): Remove method.
7451 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7452 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7453 (gtkWidgetSetSensitive): New method.
7454 (gtkWidgetSetParent): Likewise.
7455 (GtkComponentPeer): Call setParent, setComponentBounds and
7456 setVisibleAndEnabled.
7457 (setParent): New method.
7458 (setComponentBounds): New method.
7459 (setVisibleAndEnabled): New method.
7460 (setEnabled): Call gtkWidgetSetSensitive.
7461 (getArgs): Remove method.
7462 Remove all set methods.
7463 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
7464 gtkWindowSetModal, setTitle and setResizable.
7465 (getArgs): Remove method.
7466 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
7467 (setComponentBounds): New method.
7468 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
7469 Replace set call with gtkWindowSetResizable.
7470 (getArgs): Remove method.
7471 (create): Call setTitle and setResizable.
7472 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
7473 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7474 (gtkWindowSetTitle): New method.
7475 (gtkWindowSetResizable): New method.
7476 (gtkWindowSetModal): New method.
7477 (setParent): New method.
7478 (setVisibleAndEnabled): New method.
7479 (getArgs): Remove method.
7480 (setTitle): Call gtkWindowSetTitle.
7481 (setResizable): Call gtkWindowSetResizable.
7482 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
7483 and off locking instrumentation.
7484
7485 2004-08-31 Kim Ho <kho@redhat.com>
7486
7487 * Makefile.am: Add new file.
7488 * Makefile.in: Regenerate.
7489 * gcj/Makefile.in: Regenerate
7490 * include/Makefile.in:
7491 * java/awt/Container.java:
7492 (acquireComponentForMouseEvent): Respect
7493 the event mask when looking for candidate.
7494 * javax/swing/JComponent.java:
7495 Remove toolTip field.
7496 (createToolTip): Create a tooltip on demand.
7497 (setToolTipText): Register with the ToolTipManager.
7498 (getToolTipText(MouseEvent)): Return getToolTipText().
7499 * javax/swing/JToolTip.java: Implement.
7500 * javax/swing/Timer.java: Jalopy.
7501 (restart): Call stop, then start.
7502 (stop): Interrupt the timer rather than wait for
7503 the timer to come to a stop naturally.
7504 * javax/swing/ToolTipManager.java: Implement.
7505 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7506 Change ToolTip.background color.
7507 * javax/swing/plaf/basic/BasicToolTipUI.java:
7508 Implement.
7509 * testsuite/Makefile.in: Regenerate
7510
7511 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
7512
7513 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
7514 constructor param comments.
7515
7516 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
7517
7518 * java/awt/Component.java: Document AWT 1.0 event handler
7519 methods.
7520
7521 2004-08-31 Roman Kennke <roman@ontographics.com>
7522
7523 * javax/swing/Box.java:
7524 (createGlue): Implemented
7525 (createHorizontalGlue): Implemented
7526 (createHorizontalStrut): Implemented
7527 (createVerticalGlue): Implemented
7528 (createVerticalStrut): Implemented
7529
7530 2004-08-31 David Jee <djee@redhat.com>
7531
7532 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
7533 (GtkChoicePeer): Do not automatically select first item.
7534 (getHistory): Remove.
7535 (nativeGetSelected): New method.
7536 (nativeRemoveAll): New method.
7537 (add): Use nativeGetSelected() instead of getHistory().
7538 (remove): Likewise.
7539 (removeAll): Call nativeRemoveAll().
7540 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7541 (create): Migrate to GtkComboBox.
7542 (append): Likewise.
7543 (nativeAdd): Likewise.
7544 (nativeRemove): Likewise.
7545 (select): Likewise.
7546 (nativeRemoveAll): New method.
7547 (nativeGetSelected): New method.
7548 (selection_changed): New method.
7549 (getHistory): Remove.
7550 (item_activate): Remove.
7551 (item_removed): Remove.
7552 (connect_choice_item_selectable_hook): Remove.
7553
7554 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
7555
7556 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
7557 variable in setEditable call.
7558
7559 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7560 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
7561 (gtkWidgetSetBackground): New method.
7562 (gtkWidgetSetForeground): Likewise.
7563 (create): Set peer's editable state based on awtComponent's.
7564
7565 * java/awt/Button.java (Button()): Use empty string rather than
7566 null in no-label constructor.
7567
7568 2004-08-31 Roman Kennke <roman@ontographics.com>
7569
7570 * javax/swing/BoxLayout.java: Reimplement.
7571
7572 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
7573
7574 * gnu/java/awt/peer/gtk/GdkGraphics.java,
7575 gnu_java_awt_peer_gtk_GdkGraphics.c
7576 (initState(GtkComponentPeer)): Don't return array of colour
7577 values.
7578 (GdkGraphics(int,int)): Set default font to size 12.
7579 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
7580 component's foreground colour.
7581 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
7582 gnu_java_awt_peer_gtk_GdkGraphics2D.c
7583 (initState(GtkComponentPeer)): Don't return array of colour
7584 values.
7585 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
7586 colours to component's colours.
7587 (current_colors_of_widget): Remove function.
7588 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
7589 Return a new graphics object.
7590 * java/awt/Font.java (toString): Fix format.
7591 * java/awt/Graphics.java (toString): Likewise.
7592
7593 2004-08-31 Craig Black <craig.black@aonix.com>
7594
7595 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7596 (addTearOff): New function.
7597 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
7598 New native method.
7599 (init): Call addTearOff() when menu.isTearOff().
7600
7601 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
7602
7603 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
7604 Default implementation.
7605 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
7606 Implement using GdkPixbufDecoder.
7607
7608 2004-08-31 David Jee <djee@redhat.com>
7609
7610 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7611 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
7612 setting the size of GtkFileDialogPeers.
7613 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7614 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
7615 use their default sizes rather than their natural requisitions.
7616
7617 2004-08-31 Michael Koch <konqueror@gmx.de>
7618
7619 * javax/swing/JFormattedTextField.java
7620 (JFormattedTextField): Implemented.
7621 * javax/swing/text/DefaultEditorKit.java
7622 (BeepAction): New inner class.
7623 * javax/swing/text/Segment.java
7624 (partialReturn): New field.
7625 (setPartialReturn): New method.
7626 (isPartialReturn): Likewise.
7627 * javax/swing/text/View.java
7628 (createFragment): Fixed typo.
7629 (getStartOffset): New method.
7630 (getEndOffset): Likewise.
7631
7632 2004-08-31 Michael Koch <konqueror@gmx.de>
7633
7634 * javax/swing/table/DefaultTableColumnModel.java
7635 (serialVersionUID): Made private.
7636 (listenerList): Initialize.
7637 (changeEvent): Initialize.
7638 * javax/swing/table/JTableHeader.java
7639 (JTableHeader): New constructors.
7640 (createDefaultColumnModel): New method.
7641 * javax/swing/table/TableColumn.java
7642 (setHeaderRenderer): Simplified code.
7643 (setCellRenderer): Likewise.
7644 (setWidth): Likewise.
7645
7646 2004-08-31 Tom Tromey <tromey@redhat.com>
7647
7648 * java/text/AttributedString.java (AttributedString): Use
7649 ArrayList to build array of attribute ranges. Don't use
7650 `attribs' before it is set.
7651
7652 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
7653
7654 * HACKING: Remove reference to special automake. No longer needed.
7655
7656 2004-08-30 Tom Tromey <tromey@redhat.com>
7657
7658 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
7659 return result from `add'.
7660
7661 2004-08-30 Tom Tromey <tromey@redhat.com>
7662
7663 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
7664
7665 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
7666
7667 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
7668
7669 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
7670
7671 * java/io/File.java File(String,String): Fixed handling of empty
7672 path.
7673
7674 2004-08-30 Casey Marshall <csm@gnu.org>
7675
7676 Author e-mail updated for all files.
7677 * gnu/java/security/OID.java (equals): Test if the aurgment is an
7678 instance of OID.
7679 (compareTo): Use `equals'.
7680 * gnu/java/security/der/BitString.java (equals): Test if the
7681 argument is an instance of BitString.
7682 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
7683 class final. Made fields private.
7684 (<init>): New constructor.
7685 (skip): New method.
7686 (makeString): Made static; don't use NIO.
7687 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
7688 * gnu/java/security/der/DERWriter.java: Fixed imports.
7689 (writeString): Don't use NIO.
7690 (toIso88591, toUtf16Be, toUtf8): New methods.
7691 * gnu/java/security/der/DERValue.java: Formatting changes only.
7692 * gnu/java/security/der/DER.java: Likewise.
7693
7694 2004-08-30 Tom Tromey <tromey@redhat.com>
7695
7696 * java/nio/CharBuffer.java (put): Fix typo.
7697 * java/nio/DoubleBuffer.java (put): Fix typo.
7698 * java/nio/FloatBuffer.java (put): Fix typo.
7699 * java/nio/IntBuffer.java (put): Fix typo.
7700 * java/nio/LongBuffer.java (put): Fix typo.
7701 * java/nio/ShortBuffer.java (put): Fix typo.
7702
7703 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
7704
7705 * java/nio/ByteBuffer.java (put): Fix typo.
7706
7707 2004-08-30 Casey Marshall <csm@gnu.org>
7708
7709 * java/security/DummyKeyPairGenerator.java (clone): Removed
7710 useless instanceof check.
7711 * java/security/DummyMessageDigest.java (clone): Likewise.
7712 * java/security/DummySignature.java (clone): Likewise.
7713 * java/security/MessageDigest.java (clone): Remove useless
7714 instanceof check.
7715 * java/security/MessageDigestSpi.java (clone): Likewise.
7716 * java/security/Signature.java (clone): Provide meaningful
7717 implementation.
7718 * java/security/SignatureSpi.java (clone): Likewise.
7719
7720 2004-08-29 Mark Wielaard <mark@klomp.org>
7721
7722 * java/util/Arrays.java
7723 (sort(byte[], int, int)): Check fromIndex < 0.
7724 (sort(char[], int, int)): Likewise.
7725 (sort(short[], int, int)): Likewise.
7726 (sort(int[], int, int)): Likewise.
7727 (sort(long[], int, int)): Likewise.
7728 (sort(float[], int, int)): Likewise.
7729 (sort(double[], int, int)): Likewise.
7730 (sort(Object[], int, int, Comparator)): Likewise.
7731 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
7732 (qsort(char[], int, int)): Likewise.
7733 (qsort(short[], int, int)): Likewise.
7734 (qsort(int[], int, int)): Likewise.
7735 (qsort(long[], int, int)): Likewise.
7736 (qsort(float[], int, int)): Likewise.
7737 (qsort(double[], int, int)): Likewise.
7738
7739 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
7740
7741 * java/util/AbstractCollection.java, java/util/AbstractList.java,
7742 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
7743 java/util/ArrayList.java, java/util/Arrays.java,
7744 java/util/BitSet.java, java/util/Calendar.java,
7745 java/util/Collection.java, java/util/ListIterator.java,
7746 java/util/Map.java, java/util/SortedSet.java:
7747 Added additional exceptions to documentation, along
7748 with some additions and corrections.
7749
7750 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
7751
7752 * configure.ac: Handle --enable-gc-debug.
7753 * configure: Regenerate.
7754 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
7755 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
7756 Rearrange include file order.
7757 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
7758 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
7759 (disable_gc_mutex): Delete along with all references.
7760 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
7761 adjust for debug header size.
7762 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
7763 debug case.
7764 (_Jv_AllocArray): Declare min_heap_addr only if needed.
7765 (gcj_describe_type_fn): New.
7766 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
7767 Register gcj_describe_type_fn.
7768 * include/boehm-gc.h:
7769 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
7770 Don't define, but declare, for debug case.
7771 * java/lang/natObject.cc:
7772 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
7773
7774 2004-08-26 Mark Wielaard <mark@klomp.org>
7775
7776 Fixes PR libgcj/17002:
7777 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
7778 a TimeZoneId string and then try to convert that to a TimeZone with
7779 getDefaultSystemTimeZone(String).
7780 (timezones0): Changed type from Hashtable to HashMap.
7781 (timezones): Create HashMap, not Hashtable.
7782 (getDefaultTimeZone): New method, rewritten from CNI version.
7783 (readTimeZoneFile): New method.
7784 (readtzFile): Likewise.
7785 (skipFully): Likewise.
7786 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
7787 getDefaultTimeZoneId and rewritten.
7788 (getDefaultTimeZoneId): Rewritten in java.
7789
7790 2004-08-25 David Daney <daney@avtrex.com>
7791
7792 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
7793 * Makefile.in: Regenerated.
7794
7795 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
7796
7797 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
7798 only if jvmpi is enabled.
7799 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
7800 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
7801 (_Jv_AllocString): Likewise.
7802 (_Jv_AllocPtrFreeObject): Likewise.
7803
7804 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
7805
7806 * defineclass.cc: Include <stdio.h>.
7807 * java/lang/natClassLoader.cc: Include <stdio.h>.
7808
7809 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
7810 Michael Koch <konqueror@gmx.de>
7811
7812 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
7813 * Makefile.in: Regenerated.
7814
7815 2004-08-20 Michael Koch <konqueror@gmx.de>
7816
7817 * configure.ac: Replaced all AC_TRY_COMPILE macros with
7818 AC_COMPILE_IFELSE macros.
7819
7820 2004-08-20 Michael Koch <konqueror@gmx.de>
7821
7822 * configure.in: Renamed to configure.ac.
7823 * configure.ac: New file.
7824 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
7825 include/config.h.in, testsuite/Makefile.in: Regenerated.
7826
7827 2004-08-20 Michael Koch <konqueror@gmx.de>
7828
7829 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
7830 * aclocal.m4, configure: Regenerated.
7831
7832 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7833 Michael Koch <konqueror@gmx.de>
7834
7835 * configure.in, Makefile.am: Ported to automake 1.9.
7836 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
7837 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
7838 Regenerated.
7839
7840 2004-08-19 Tom Tromey <tromey@redhat.com>
7841
7842 * java/net/DatagramSocket.java: Fixed typo.
7843
7844 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
7845
7846 PR libgcj/17081
7847 * java/net/URI.java (string): New field. Make all other fields
7848 transient.
7849 (readObject): Implemented.
7850 (writeObject): Implemented.
7851 (URI): Set 'string'.
7852
7853 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
7854
7855 PR libgcj/17079
7856 * java/util/logging/Handler.java (isLoggable): Accept record if its
7857 log level equals the threshold level. From Robin Green.
7858
7859 2004-08-18 David Daney <ddaney@avtrex.com>
7860
7861 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
7862 instead of sigwait.
7863
7864 2004-08-17 Michael Koch <konqueror@gmx.de>
7865
7866 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
7867 * Makefile.in: Regenerated.
7868
7869 2004-08-16 Tom Tromey <tromey@redhat.com>
7870
7871 PR java/8473:
7872 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
7873
7874 2004-08-16 Michael Koch <konqueror@gmx.de>
7875
7876 * Makefile.am
7877 (math_c_files): Renamed from c_files.
7878 (math_c_source_files): Renamed from c_source_files.
7879 * Makefile.in,
7880 gcj/Makefile.in,
7881 include/Makefile.in,
7882 testsuite/Makefile.in: Regenerated.
7883
7884 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
7885
7886 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
7887 to avoid autoconf warning.
7888 * configure: Rebuilt.
7889
7890 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
7891
7892 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
7893 localhostAddress to loopbackAddress.
7894 * java/net/natInetAddressWin32.cc (lookup): Likewise.
7895
7896 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
7897
7898 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
7899 boehm-gc's include dirs.
7900 * configure: Rebuilt.
7901 * include/boehm-gc.h: Include gc_config.h.
7902
7903 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
7904
7905 * java/net/InetAddress.java (loopbackAddress): Renamed from
7906 localhostAddress.
7907 (getByName): Return loopback address for null hostname, without
7908 security check. Use lookup(), not getAllByName.
7909 (getAllByName): Return loopback address for null hostname, without
7910 security check.
7911 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
7912 check here.
7913
7914 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
7915
7916 PR libgcj/17020
7917 Reported by Robin Green.
7918 * defineclass.cc (handleField): Don't throw exception on unrecognised
7919 modifier. Add FIXME comments for spec compliance.
7920 (handleMethod): Likewise.
7921
7922 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
7923
7924 PR libgcj/16662
7925 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
7926 (Almost everywhere): add LOG calls, fix, add comments.
7927 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
7928 Add explicit check for LOCKED bit in slow case (PR 16662).
7929 (_Jv_MonitorExit): Add casts in debug-only code.
7930 Always release LOCKED bit before throwing exception.
7931 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
7932 isn't. Handle easy cases without lock acquisition.
7933 (Object::wait): Use NotifyAll for lock inflation.
7934
7935 2004-08-12 David Daney <ddaney@avtrex.com>
7936
7937 * testsuite/libjava.lang/Process_1.java: New test.
7938 * testsuite/libjava.lang/Process_2.java: New test.
7939 * testsuite/libjava.lang/Process_3.java: New test.
7940 * testsuite/libjava.lang/Process_4.java: New test.
7941 * testsuite/libjava.lang/Process_5.java: New test.
7942 * testsuite/libjava.lang/Process_6.java: New test.
7943 * testsuite/libjava.lang/Process_1.out: Expected result.
7944 * testsuite/libjava.lang/Process_2.out: Expected result.
7945 * testsuite/libjava.lang/Process_3.out: Expected result.
7946 * testsuite/libjava.lang/Process_4.out: Expected result.
7947 * testsuite/libjava.lang/Process_5.out: Expected result.
7948 * testsuite/libjava.lang/Process_6.out: Expected result.
7949
7950 2004-08-12 David Daney <ddaney@avtrex.com>
7951
7952 PR libgcj/11801
7953 * java/lang/PosixProcess.java: Rewrote.
7954 * java/lang/natPosixProcess.cc: Rewrote.
7955 * java/lang/Runtime.java (execInternal): Declare throws IOException.
7956 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
7957 * posix-threads.cc (block_sigchld) New function.
7958 (_Jv_ThreadRegister) Use it.
7959 (_Jv_ThreadStart) Use it.
7960 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
7961 * Makefile.am: ... to specify extra native headers.
7962 * configure: Regenerated.
7963 * include/config.h: Regenerated.
7964 * Makefile.in: Regenerated.
7965 * gcj/Makefile.in: Regenerated.
7966 * include/Makefile.in: Regenerated.
7967 * testsuite/Makefile.in: Regenerated.
7968
7969 2004-08-12 Diego Novillo <dnovillo@redhat.com>
7970
7971 PR tree-optimization/16867
7972 * testsuite/libjava.lang/PR16867.java: New test.
7973
7974 2004-08-09 Per Bothner <per@bothner.com>
7975
7976 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
7977 with private fields and access methods.
7978 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
7979 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
7980 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
7981 ( _Jv_makeUtf8Const): Rewrite using new constructors.
7982 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
7983 * defineclass.cc: Use new _Utf8Const access/convenience methods.
7984 * jni.cc: Likewise.
7985 * resolve.cc: Likewise.
7986 * gcj/field.h: Likewise.
7987 * include/jvm.h: Likewise.
7988 * java/lang/Class.h: Likewise.
7989 * java/lang/natClass.cc: Likwise.
7990 * java/lang/natClassLoader.cc: Likewise
7991 * java/lang/reflect/natMethod.cc: Likewise
7992 * verify.cc: Likewise.
7993 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
7994 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
7995
7996 2004-08-10 Andrew Haley <aph@redhat.com>
7997
7998 * testsuite/libjava.lang/err14.java: New file.
7999 * testsuite/libjava.lang/err14.out: New file.
8000
8001 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
8002
8003 * Makefile.am: Fix missing rename from x_nat_headers to
8004 xlib_nat_headers.
8005 * Makefile.in: Regenerated.
8006
8007 2004-08-04 Andrew Haley <aph@redhat.com>
8008
8009 * java/security/BasicPermission.java: Don't check wildcards.
8010
8011 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
8012 Michael Koch <konqueror@gmx.de>
8013
8014 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
8015 * configure.in: Replaced all usages of AC_LINK_FILES by
8016 AC_CONFIG_LINKS.
8017 * aclocal.m4,
8018 configure: Regenerated.
8019
8020 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
8021 Michael Koch <konqueror@gmx.de>
8022
8023 * acconfig.h: Removed.
8024 * Makefile.am: Rename variables for xlib peer to include xlib and
8025 gtk_c_headers to gtk_jni_headers.
8026 * Makefile.in: Regenerated.
8027
8028 2004-08-04 Andrew Haley <aph@redhat.com>
8029
8030 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
8031 debugging.
8032
8033 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
8034
8035 * configure.in: Eliminate uses of changequote (mostly by quoting []).
8036 Replace most top level 'dnl' comments with '#' comments, conforming
8037 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
8038 help strings.
8039 * configure: Rebuilt.
8040
8041 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
8042
8043 * acinclude.m4: Include no-executables.m4.
8044 * aclocal.m4: Rebuild.
8045 * configure.in: Convert to the autoconf 2.59 version of
8046 of the no-executables hack, and also of the nonstandard CXX
8047 hack and the multilibbed CC and CXX hack. Change prerequisite
8048 to autoconf 2.59.
8049 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
8050 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
8051 testsuite/Makefile.in: Regenerate.
8052
8053 2004-08-03 Tom Tromey <tromey@redhat.com>
8054
8055 * jni.cc: Reindented.
8056
8057 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
8058
8059 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
8060
8061 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
8062
8063 * testsuite/libjava.compile/PR16701.java: New test.
8064
8065 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
8066
8067 * java/util/Collection.java, java/util/List.java,
8068 java/util/Map.java, java/util/Set.java,
8069 java/util/SortedMap.java, java/util/SortedSet.java:
8070 Added additional exceptions to documentation.
8071
8072 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
8073
8074 PR libgcj/16814
8075 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
8076 * configure. Regenerate.
8077 * include/win32.h: Explicitly include winsock2.h
8078 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
8079 Winsock api.
8080
8081 2004-07-30 Michael Koch <konqueror@gmx.de>
8082
8083 * java/util/zip/GZIPInputStream.java
8084 (GZIPInputStream): Increase buffer size to 4k.
8085 * java/util/zip/GZIPOutputStream.java
8086 (GZIPOutputStream): Likewise.
8087 * java/util/zip/Inflater.java
8088 (setInput): Merged formating with GNU classpath.
8089 * java/util/zip/InflaterInputStream.java
8090 (InflaterInputStream): Increase buffer size to 4k.
8091 (fill): Throw exception if stream ends early.
8092 (read): Merged endless-loop with GNU classpath.
8093 (skip): Increase buffer size to 2k.
8094
8095 2004-07-30 Michael Koch <konqueror@gmx.de>
8096
8097 * gnu/java/awt/EmbeddedWindow.java
8098 (addNotify): Use AccessController to allow execution of privileged
8099 code.
8100
8101 2004-07-29 Michael Koch <konqueror@gmx.de>
8102
8103 * gnu/java/lang/MainThread.java:
8104 Explicitely import used classes.
8105 (args): Make it type String[].
8106
8107 2004-07-29 Dalibor Topic <robilad@kaffe.org>
8108
8109 * gnu/java/awt/ComponentDataBlitOp.java,
8110 gnu/java/beans/ExplicitBeanInfo.java,
8111 gnu/java/beans/IntrospectionIncubator.java,
8112 gnu/java/beans/editors/ColorEditor.java,
8113 gnu/java/beans/editors/FontEditor.java,
8114 gnu/java/beans/editors/NativeBooleanEditor.java,
8115 gnu/java/beans/editors/NativeByteEditor.java,
8116 gnu/java/beans/editors/NativeDoubleEditor.java,
8117 gnu/java/beans/editors/NativeFloatEditor.java,
8118 gnu/java/beans/editors/NativeIntEditor.java,
8119 gnu/java/beans/editors/NativeLongEditor.java,
8120 gnu/java/beans/editors/NativeShortEditor.java,
8121 gnu/java/beans/editors/StringEditor.java,
8122 gnu/java/io/ClassLoaderObjectInputStream.java,
8123 gnu/java/io/decode/Decoder.java,
8124 gnu/java/io/encode/Encoder.java,
8125 gnu/java/lang/ClassHelper.java,
8126 gnu/java/locale/Calendar.java,
8127 gnu/java/locale/Calendar_de.java,
8128 gnu/java/locale/Calendar_en.java,
8129 gnu/java/locale/Calendar_nl.java,
8130 gnu/java/locale/LocaleInformation_de.java,
8131 gnu/java/locale/LocaleInformation_en.java,
8132 gnu/java/locale/LocaleInformation_nl.java:
8133 Cleaned up imports.
8134
8135 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
8136
8137 * README: Remove obsolete info. Update bug URL.
8138 * THANKS: Updated.
8139 * NEWS: Updated with news up to GCC 3.4 release.
8140
8141 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
8142
8143 * gnu/java/security/action/GetPropertyAction.java (setParameters):
8144 Renamed from 'setName'. New 2-argument form with default value.
8145 (run): Pass default 'value' parameter to System.getProperty().
8146 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
8147 typos.
8148 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
8149 not 'setName'.
8150
8151 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
8152
8153 * configure.in: Check for minimum GTK version 2.4 requirement.
8154 * configure: Rebuilt.
8155
8156 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
8157
8158 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
8159 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
8160 Reduce sleep time.
8161 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
8162 compiler bug.
8163 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
8164 address. Reduce sleep times. Synchronize with target threads before
8165 attempting to interrupt them. Don't try to calibrate yeild count,
8166 instead, always loop for a fixed time.
8167 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
8168 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
8169 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
8170 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
8171 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
8172 * testsuite/libjava.lang/pr179.java: Likewise.
8173 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
8174 time. Remove upper bounds check on sleep time.
8175
8176 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
8177
8178 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
8179 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
8180
8181 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
8182
8183 * java/io/File.java (toURI): Throw RuntimeException, not
8184 InternalError.
8185 * java/lang/Runtime.java (exit): Qualify static sleep() call with
8186 class name, not instance.
8187
8188 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
8189
8190 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
8191 and gnu/java/security/action/SetAccessibleAction.java.
8192 * Makefile.in: Rebuilt.
8193
8194 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
8195
8196 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
8197 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
8198 _Jv_InitPrimClass.
8199 (DECLARE_PRIM_TYPE): Don't declare array vtables.
8200 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
8201 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
8202
8203 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
8204
8205 * Makefile.am: Replace jar, rmic and rmiregistry references with
8206 gjar, grmic and grmiregistry.
8207 * configure.in: Likewise.
8208 * Makefile.in: Regenerate.
8209 * configure: Likewise.
8210 * gcj/Makefile.in: Likewise.
8211 * include/Makefile.in: Likewise.
8212 * testsuite/Makefile.in: Likewise.
8213
8214 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
8215
8216 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
8217 for privileged getProperty calls.
8218 * java/io/ObjectOutputStream.java (getField): No longer static. Use
8219 SetAccessibleAction instead of anonymous class for doPrivileged call.
8220 (getMethod): Likewise.
8221 (setAccessible): New field. PrivilegedAction object to use when
8222 calling setAccessible.
8223 * java/io/ObjectStreamClass.java (calculateOffsets): Use
8224 SetAccessibleAction instead of anonymous class for diPrivileged call.
8225 (setFields): Likewise.
8226 (getClassUID): Likewise.
8227 (findMethod): Likewise.
8228 * gnu/java/security/action/GetPropertyAction.java: New class.
8229 * gnu/java/security/action/SetAccessibleAction.java: New class.
8230
8231 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
8232
8233 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
8234 for final fields.
8235 * testsuite/libjava.lang/Serialization.java: New test.
8236 * testsuite/libjava.lang/Serialization.out: New.
8237
8238 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
8239
8240 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
8241 missed in last commit.
8242
8243 2004-07-23 Mark Wielaard <mark@klomp.org>
8244
8245 * java/lang/System.java (static): Set http.agent system property when
8246 not yet set.
8247 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
8248 from system property inside AccessController.doPrivileged() call.
8249 (proxyPort): Made package private.
8250 (proxyInUse): Likewise.
8251 (proxyHost): Likewise.
8252 (userAgent): Likewise.
8253
8254 2004-07-23 Mark Wielaard <mark@klomp.org>
8255
8256 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
8257 implementation.
8258
8259 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
8260
8261 * Makefile.am (ordinary_java_source_files): Add
8262 DefaultContentHandlerFactory.java.
8263 * Makefile.in: Rebuilt.
8264 * java/net/URLConnection.java (defaultFactory): New field.
8265 (getContent):
8266 (getContentHandler): Renamed from 'setContentHandler'. Try
8267 defaultFactory after user-set factory, if any. Search for content
8268 handler implementations in gnu.java.net.content, not gnu.gcj.content.
8269 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
8270 Implemented.
8271 (getLastModified): Implemented.
8272 (getPermission): Create file permission here, instead of in
8273 constructor.
8274 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
8275 Implemented.
8276 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
8277 Implemented.
8278 (getLastModified): Implemented.
8279 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
8280 Default implementation.
8281 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
8282 Implement using GdkPixbufDecoder.
8283
8284 2004-07-21 Michael Koch <konqueror@gmx.de>
8285
8286 * javax/swing/JTextArea.java
8287 (setLineWrap): Fire property change event after new value is set.
8288 (setTabSize): Likewise.
8289
8290 2004-07-21 Michael Koch <konqueror@gmx.de>
8291
8292 * javax/swing/JTable.java
8293 (autoCreateColumnsFromModel): New field.
8294 (autoResizeMode): Likewise.
8295 (cellEditor): Likewise.
8296 (cellSelectionEnabled): Likewise.
8297 (columnModel): Likewise.
8298 (dataModel): Likewise.
8299 (defaultEditorsByColumnClass): Likewise.
8300 (defaultRenderersByColumnClass): Likewise.
8301 (editingColumn): Likewise.
8302 (editingRow): Likewise.
8303 (gridColor): Likewise.
8304 (preferredViewportSize): Likewise.
8305 (rowHeight): Likewise.
8306 (rowMargin): Likewise.
8307 (rowSelectionAllowed): Likewise.
8308 (selectionBackground): Likewise.
8309 (selectionForeground): Likewise.
8310 (selectionModel): Likewise.
8311 (showHorizontalLines): Likewise.
8312 (showVerticalLines): Likewise.
8313 (tableHeader): Likewise.
8314 (JTable): Implemented.
8315 (getColumnModel): Likewise.
8316 (getSelectedRow): Likewise.
8317 (getSelectionModel): Likewise.
8318 (setModel): Likewise.
8319 (setSelectionModel): Likewise.
8320 (createScrollPaneForTable): New method.
8321 (createDefaultDataModel): Likewise.
8322 (createDefaultListSelectionModel): Likewise.
8323 (getModel): Likewise.
8324 (getTableHeader): Likewise.
8325 (setTableHeader): Likewise.
8326 (getColumnSelectionAllowed): Likewise.
8327 (setColumnSelectionAllowed): Likewise.
8328 (getRowSelectionAllowed): Likewise.
8329 (setRowSelectionAllowed): Likewise.
8330 (getAutoResizeMode): Likewise.
8331 (setAutoResizeMode): Likewise.
8332 (getColumnCount): Likewise.
8333 (getRowCount): Likewise.
8334 (getCellRenderer): Likewise.
8335 * javax/swing/JTree.java
8336 (cellRenderer): New field.
8337 (editable): Likewise.
8338 (rootVisible): Likewise.
8339 (showsRootHandles): Likewise.
8340 (getModel): New method.
8341 (setModel): Likewise.
8342 (isEditable): Likewise.
8343 (setEditable): Likewise.
8344 (isRootVisbile): Likewise.
8345 (setRootVisible): Likewise.
8346 (getShowsRootHandles): Likewise.
8347 (setShowRootHandles): Likewise.
8348 (getCellRenderer): Likewise.
8349 (setCellRenderer): Likewise.
8350
8351 2004-07-21 Michael Koch <konqueror@gmx.de>
8352
8353 * javax/swing/JFormattedTextField.java
8354 (setDocument): Implemented.
8355 * javax/swing/JRootPane.java:
8356 Fixed javadocs.
8357 * javax/swing/JTable.java
8358 (getDefaultRenderer): New method.
8359 * javax/swing/JTextField.java
8360 (setFont): Likewise.
8361 (getPreferredSize): Likewise.
8362 * javax/swing/JToggleButton.java
8363 (getAccessibleContext): Fix javadoc.
8364 * javax/swing/JTree.java:
8365 Add some javadocs.
8366 * javax/swing/JViewport.java:
8367 Likewise.
8368
8369 2004-07-21 David Jee <djee@redhat.com>
8370
8371 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
8372 Collect all native method declaration at the top.
8373 (create): Set the filename filter if necessary.
8374 (setDirectory): Call nativeSetDirectory().
8375 (setFilenameFilter): Implement.
8376 (filenameFilterCallback): New method.
8377 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8378 (create): Configure dialog to show hidden files.
8379 (filenameFilterCallback): New function.
8380 (nativeSetFilenameFilter): New function.
8381 (nativeSetDirectory): New function.
8382
8383 2004-07-21 Kim Ho <kho@redhat.com>
8384
8385 * javax/swing/plaf/basic/BasicSliderUI.java:
8386 Ran Jalopy.
8387 (paintTrack): Fill the track before painting
8388 the borders.
8389
8390 2004-07-21 Graydon Hoare <graydon@redhat.com>
8391
8392 patch from Roman Kennke <roman@ontographics.com>
8393 * javax/swing/Spring.java: New file.
8394 * javax/swing/SpringLayout.java: New file.
8395 * Makefile.am: Add new files.
8396 * Makefile.in: Regenerate.
8397
8398 2004-07-21 Graydon Hoare <graydon@redhat.com>
8399
8400 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
8401 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
8402 * javax/swing/ScrollPaneLayout.java: Likewise.
8403
8404 2004-07-21 Kim Ho <kho@redhat.com>
8405
8406 * javax/swing/DefaultDesktopManager.java:
8407 (findMinimum): Removed.
8408 (resizeFrame): Trust the UI to pass valid
8409 bounds.
8410 * javax/swing/JOptionPane.java:
8411 Implemented showInternalXXXDialog methods.
8412 (startModal): New method.
8413 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
8414 (BorderListener::mouseDragged): Verify that the new
8415 bounds are valid before passing them to the DesktopManager.
8416 (preferredLayoutSize): Delegate
8417 to getSize.
8418 (minimumLayoutSize): Ditto.
8419 (getSize): New method.
8420 (GlassPaneDispatcher): Reimplemented by copying
8421 a stripped down LightweightDispatcher from Container.
8422 (getMinimumSize): Call minimumLayoutSize.
8423 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
8424 Ran Jalopy.
8425 (mousePressed): Add ability to properly close
8426 JInternalFrames.
8427 * javax/swing/plaf/basic/BasicToolBarUI.java:
8428 (DragWindow): Set owner for DragWindow.
8429
8430 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
8431
8432 * java/awt/image/ShortLookupTable.java: New file.
8433 * java/awt/image/ByteLookupTable.java: New file.
8434 * Makefile.am: Added new files.
8435 * Makefile.in: Regenerated.
8436
8437 2004-07-21 David Jee <djee@redhat.com>
8438
8439 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
8440 (create(GtkContainerPeer)): New native method.
8441 (create()): Call native create(), passing in the parent frame
8442 as the paramter. Natively set the current file and directory.
8443 (setFile): Construct an absolute filename before passing it to
8444 the native peer.
8445 (nativeGetDirectory): New method.
8446 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8447 (window_closed): Removed.
8448 (ok_clicked): Likewise.
8449 (cancel_clicked): Likewise.
8450 (handle_response): New method.
8451 (create): Use GtkFileChooserDialog.
8452 (connectSignals): Connect to handle_response.
8453 (nativeGetDirectory): New method.
8454 (nativeSetFile): Use GtkFileChooserDialog.
8455
8456 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
8457
8458 * java/awt/image/LookupTable.java: New file.
8459 * Makefile.am: Added new file.
8460 * Makefile.in: Regenerated.
8461
8462 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
8463
8464 * java/awt/image/Kernel.java: New file.
8465 * Makefile.am: Added new file.
8466 * Makefile.in: Regenerated.
8467
8468 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8469
8470 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
8471 * javax/swing/JMenu.java: Likewise.
8472 * javax/swing/JMenuBar.java: Likewise.
8473 (MARGIN_CHANGED_PROPERTY): New property.
8474 (setMargin): Implemented.
8475 * javax/swing/JMenuItem.java: Fixed javadocs.
8476 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
8477 (LABEL_CHANGED_PROPERTY): New property.
8478 (add): changed to use createActionComponent.
8479 (createActionComponent): Implemented.
8480 (setLabel): Fire PropertyChangeEvent if label property
8481 changes.
8482 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
8483 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
8484 (ContainerHandler): Repaint if margin property has changed.
8485 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8486 (installUI): Call installComponents().
8487 (uninstallUI): Call uinstallComponents().
8488 * javax/swing/plaf/basic/BasicMenuUI.java:
8489 Fixed javadocs.
8490 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8491 Likewise.
8492
8493 2004-07-21 Kim Ho <kho@redhat.com>
8494
8495 * javax/swing/plaf/basic/BasicToolBarUI.java:
8496 (DragWindow): Use the right constructor.
8497
8498 2004-07-21 Kim Ho <kho@redhat.com>
8499
8500 * javax/swing/JToolBar.java:
8501 (layoutContainer): Use getComponents.
8502 * javax/swing/plaf/basic/BasicToolBarUI.java:
8503 (DragWindow): Don't use SwingUtilities'
8504 getOwnerFrame
8505 (ToolBarDialog): ditto.
8506
8507 2004-07-21 Kim Ho <kho@redhat.com>
8508
8509 * javax/swing/JRootPane.java:
8510 Ran jalopy.
8511 (layoutContainer): Set the glasspane's size to
8512 be the same as the content pane.
8513 (createGlassPane): Set opaque property to false.
8514
8515 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8516
8517 * java/awt/Component.java (requestFocus()): Don't handle Panels
8518 specially.
8519 (requestFocus(boolean)): Likewise.
8520 (requestFocusInWindow(boolean)): Likewise.
8521 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
8522 Set GTK_CAN_FOCUS flag.
8523
8524 2004-07-21 Kim Ho <kho@redhat.com>
8525
8526 * Makefile.am: Added new file.
8527 * Makefile.in: Regenerated.
8528 * gcj/Makefile.in: Regenerated.
8529 * include/Makefile.in: Regenerated.
8530 * javax/swing/AbstractButton.java:
8531 Add rollOverEnabled property.
8532 (setRolloverEnabled): Use new property.
8533 (isRolloverEnabled): Use new property.
8534 * javax/swing/JTabbedPane.java:
8535 (setComponent): Remove useless JTabbedPane.this.
8536 * javax/swing/JToolBar.java: Finish implementation.
8537 * javax/swing/plaf/basic/BasicArrowButton.java:
8538 (paint): Moved border painting to a border.
8539 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8540 Change JToolBar look and feel defaults.
8541 * javax/swing/plaf/basic/BasicOptionPaneUI.java
8542 (actionPerformed): Return Integer index instead of name.
8543 (addButtonComponents): Check to see if component is
8544 JButton last.
8545 (createMessageArea): Don't use components that are not
8546 completed yet.
8547 (getIconForType): Use temporary icons.
8548 * javax/swing/plaf/basic/BasicSliderUI.java:
8549 (mousePressed): Do not return if it's on thumb.
8550 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
8551 (paintMinorTickForVertSlider): ditto.
8552 (paintMajorTickForHorizSlider): ditto.
8553 (paintMajorTickForVertSlider): ditto.
8554 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
8555 Add a border around the SplitPaneDivider.
8556 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
8557 Remove comments.
8558 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
8559 New file. Implemented.
8560 * javax/swing/plaf/basic/BasicToolBarUI.java:
8561 Implemented.
8562 * testsuite/Makefile.in: Regenerated.
8563
8564 2004-07-21 Graydon Hoare <graydon@redhat.com>
8565
8566 * javax/swing/Timer.java (run): Queue events each time cycle.
8567
8568 2004-07-21 David Jee <djee@redhat.com>
8569
8570 * gnu/java/awt/peer/gtk/GtkImagePainter.java
8571 (imageComplete): Call image.imageComplete().
8572 * java/awt/image/MemoryImageSource.java:
8573 Reimplement consumers as a Vector instead of a Hashtable. This is
8574 because enumeration on a Hashtable is not thread-safe.
8575 (addConsumer): Adapt to Vector consumers.
8576 (isConsumer): Adapt to Vector consumers.
8577 (removeConsumer): Adapt to Vector consumers.
8578 (startProduction): Adapt to Vector consumers. Call imageComplete()
8579 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
8580 (newPixels): Adapt to Vector consumers.
8581 (sendPicture): Set the color model of the image consumer.
8582 (newPixels(IIII)): Adapt to Vector consumers.
8583 (newPixels(IIIIB)): Adapt to Vector consumers.
8584
8585 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8586
8587 * java/awt/Component.java (deliverEvent): Implement.
8588 (postEvent): Implement.
8589 (handleEvent): Implement.
8590 (translateEvent): New method.
8591 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
8592 * java/awt/Container.java (deliverEvent): Implement.
8593 * java/awt/Event.java (paramString): Fix formatting.
8594 * java/awt/Font.java (toString): Likewise.
8595 * java/awt/Window.java (postEvent): Implement.
8596
8597 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8598
8599 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
8600 Set window's focus owner upon receiving a FOCUS_LOST event.
8601 * java/awt/Window.java (Window()): Refocus the previously
8602 focused component within the window when the window regains the
8603 top-level focus.
8604 (setFocusOwner): New method.
8605 * java/awt/Component.java (requestFocus): Add FIXME.
8606
8607 * libgcj.pc.in: Remove library flags.
8608
8609 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8610
8611 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
8612 MOUSE_PRESSED event.
8613 * java/awt/Component.java (requestFocus()): Handle Panel
8614 specially. Post FOCUS_LOST event on opposite component.
8615 (requestFocus(boolean)): Likewise.
8616 (requestFocusInWindow(boolean)): Likewise.
8617 (paramString): Reorder dimension fields.
8618 * java/awt/Container.java (paramString): Fix string format.
8619 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
8620 Handle FOCUS_LOST events. Don't handle Windows specially. Only
8621 process key events if the focus owner is non-null.
8622 (dispatchKeyEvent): Likewise.
8623 * java/awt/Frame.java (paramString): Fix formatting.
8624 (generateName): New method.
8625 (getUniqueLong): Likewise.
8626 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
8627 the temporary focus owner is null. If so, return the permanent
8628 focus owner.
8629 * java/awt/Panel.java (generateName): New method.
8630 (getUniqueLong): Likewise.
8631 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
8632 signal handling to make callbacks more specific.
8633
8634 2004-07-21 Michael Koch <konqueror@gmx.de>
8635
8636 * javax/swing/text/Position.java
8637 (Bias): Implemented.
8638
8639 2004-07-21 Michael Koch <konqueror@gmx.de>
8640
8641 * javax/swing/LookAndFeel.java
8642 (provideErrorFeedback): New method.
8643
8644 2004-07-21 Michael Koch <konqueror@gmx.de>
8645
8646 * javax/swing/JTextArea.java
8647 (tabSize): New field.
8648 (getTabSize): New method.
8649 (setTabSize): Likewise.
8650
8651 2004-07-21 Michael Koch <konqueror@gmx.de>
8652
8653 * javax/swing/ActionMap.java:
8654 Fixed javadocs all over.
8655 (serialVersionUID): Made private.
8656 (parent): Don't explicitely initialize with default value.
8657 (get): SImplified.
8658 (keys): Reimplemented.
8659 (allKeys): Likewise.
8660 (convertSet): Removed.
8661 * javax/swing/ComponentInputMap.java:
8662 Fixed javadocs all over.
8663 (ComponentInputMap): Implemented.
8664 (put): Likewise.
8665 (clear): Likewise.
8666 (remove): Likewise.
8667 (SetParent): Likewise.
8668 (getComponent): Likewise.
8669 * javax/swing/InputMap.java:
8670 Fixed javadocs all over.
8671 (serialVersionUID): Made private.
8672 (parent): Don't explicitely initialize with default value.
8673 (get): SImplified.
8674 (keys): Reimplemented.
8675 (allKeys): Likewise.
8676 (convertSet): Removed.
8677
8678 2004-07-21 Michael Koch <konqueror@gmx.de>
8679
8680 * javax/swing/ActionMap.java,
8681 javax/swing/ComponentInputMap.java,
8682 javax/swing/InputMap.java,
8683 javax/swing/table/DefaultTableColumnModel.java,
8684 javax/swing/table/TableColumn.java,
8685 javax/swing/table/TableColumnModel.java,
8686 javax/swing/table/TableModel.java,
8687 javax/swing/text/AbstractDocument.java,
8688 javax/swing/text/TextAction.java:
8689 Reformated.
8690
8691 2004-07-21 Graydon Hoare <graydon@redhat.com>
8692
8693 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
8694 Make method non-static.
8695 * javax/swing/AbstractButton.java:
8696 Rename fields to match property names where possible.
8697 (iconTextGap): New property.
8698 * javax/swing/JCheckBox.java: Match AbstractButton changes.
8699 (init) New method, call from after various constructors.
8700 * javax/swing/JComponent.java (revalidate):
8701 Invalidate before queueing repair.
8702 * javax/swing/JList.java (getPreferredScrollableViewportSize):
8703 Reimplement in terms of visibleRowCount property.
8704 * javax/swing/JMenuButton.java: Match AbstractButton changes.
8705 * javax/swing/JScrollPane.java (createScrollListener):
8706 Remove tracing chatter.
8707 * javax/swing/JToggleButton.java: Match AbstractButton changes.
8708 * javax/swing/RepaintManager.java (addInvalidComponent):
8709 Don't invalidate.
8710 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
8711 calculations.
8712 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
8713 Mimic sun behavior on top left/right positioning.
8714 * javax/swing/ViewportLayout.java (preferredLayoutSize):
8715 Remove mistaken use of preferredScrollableViewportSize here.
8716 (layoutContainer): Use view's preferred size as basis.
8717 * javax/swing/plaf/basic/BasicButtonUI.java:
8718 Set, get, and use textIconGap property.
8719 (paint) Paint text returned from layout (with ellipsis).
8720 * javax/swing/plaf/basic/BasicListUI.java:
8721 Remove tracing chatter, correct various minor calculations.
8722 (getCellBounds): Update layout state before calculating.
8723 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
8724 Use margin default similar to sun's.
8725 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
8726 (createIncreaseIcon): Center icon, minimize margins.
8727 (createDecreaseIcon): Likewise.
8728 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
8729 Implement.
8730 (installUI): Call it.
8731 (uninstallDefaults): Implement.
8732 (uninstallUI): Call it.
8733 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
8734 Call existing Window constructor.
8735 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
8736 Set clip before painting.
8737
8738 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8739
8740 * javax/swing/JMenuItem.java:
8741 (processMouseEvent): Reimplemented to deal with
8742 mouse drag events.
8743 (createMenuDragMouseEvent): New private helper method.
8744 Creates MenuDragMouseEvent.
8745 * javax/swing/MenuSelectionManager.java
8746 (componentForPoint): Implemented.
8747 (isComponentPartOfCurrentMenu): Made public.
8748 (processMouseEvent): Reimplemented to deal with
8749 mouse drag events.
8750 (setSelectedPath): Corrected small mistake that caused
8751 path to be set incorrectly.
8752 (getPath): If given component is JMenu then also add this
8753 menu's popup menu to the selected path.
8754 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8755 (getPath): Ditto.
8756 (getPreferredSize): Call getPreferredMenuItemSize().
8757 (getPreferredItemSize): Moved code from getPreferredSize to here.
8758 (installListeners): Install MouseMotionListeners.
8759 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
8760 if mouse wasn't released in the bounds of this menu item.
8761 (MenuDragMouseHandler): Implemented.
8762 * javax/swing/plaf/basic/BasicMenuUI.java:
8763 (installListeners): Install MouseMotionListener and
8764 MenuDrageMouseListener.
8765 (MenuDragMouseHandler): Implemented.
8766 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8767 (uninstallListeners): Implemented.
8768
8769 2004-07-21 Michael Koch <konqueror@gmx.de>
8770
8771 * javax/swing/JCheckBox.java: Reformated.
8772 (JCheckBox): Fixed all constructors.
8773 (isBorderPaintedFlat): New method.
8774 (setBorderPaintedFlat): New method.
8775 * javax/swing/JEditorPane.java
8776 (createEditorKitForContentType): Made public.
8777 (scrollToReference): Likewise.
8778 * javax/swing/JTextArea.java
8779 (setLineWrap): Fire property change.
8780 * javax/swing/JToggleButton.java
8781 (JToggleButton): New constructor.
8782 (JToggleButton): Simplified.
8783 * javax/swing/text/AttributeSet.java
8784 (FontAttribute): Renamed from FontCharacterAttribute.
8785 * javax/swing/text/JTextComponent.java
8786 (KeyBinBinding): Added javadoc.
8787 (JTextComponent): Likewise.
8788 (getAccessibleContext): Fixed javadoc.
8789 * javax/swing/text/View.java
8790 (View): Added javadoc.
8791 * javax/swing/text/TabableView.java: New file.
8792 * Makefile.am: Added javax/swing/text/TabableView.java.
8793 * Makefile.in: Regenerated.
8794
8795 2004-07-21 Graydon Hoare <graydon@redhat.com>
8796
8797 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
8798 * gnu/java/awt/peer/gtk/GtkToolkit.java
8799 (GtkErrorImage): New helper class.
8800 (bufferedImageOrError): New helper method.
8801 (createImage): Use it.
8802
8803 2004-07-21 David Jee <djee@redhat.com>
8804
8805 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
8806 (setCaretPosition): Scroll the text view so the new caret position
8807 is visible on screen.
8808
8809 2004-07-21 David Jee <djee@redhat.com>
8810
8811 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8812 (setBounds): Do not validate awtComponent here.
8813 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
8814 (getPreferredSize): New method.
8815 * java/awt/ScrollPane.java
8816 (ScrollPane): Set default size to 100x100.
8817 (addNotify): If child is not a Panel, wrap it with a new Panel.
8818 (paramString): Implement.
8819
8820 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8821
8822 * javax/swing/JMenu.java:
8823 (setSelected): Display popup menu only if this menu
8824 is showing on the screen.
8825 * javax/swing/JPopupMenu.java:
8826 (processMouseEvent): Added comment.
8827 (processKeyEvent): Likewise.
8828 * javax/swing/MenuSelectionManager.java:
8829 (clearSelectedPath): Only fireStateChanged() after
8830 selected path was changed, not before.
8831 (setSelectedPath): Likewise.
8832 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8833 (paintMenuItem): Corrected position of menu item's
8834 icon.
8835 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8836 (installUI): Correct setDefaultLightWeightPopupEnabled call.
8837 (popupMenuCanceled): Reimplemented.
8838 (popupMenuWillBecomeVisible): Select first menu item by default
8839 when displaying free floating popup menus.
8840 (TopWindowListener): Reimplemented.
8841
8842 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8843
8844 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
8845 Panel from being painted twice when it is first shown.
8846
8847 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8848
8849 * java/awt/Window.java: Reverted changes from my
8850 previous patch for creating window without an owner.
8851 * javax/swing/SwingUtilities.java:
8852 (SwingUtilities.OwnerFrame): made static.
8853 (OwnerFrame.setVisible): New method. Overridden with
8854 empty implementation.
8855 (OwnerFrame.isShowing): New method. Ovverridden
8856 to return always true.
8857
8858 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8859
8860 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8861 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8862 (GtkComponentPeer): Remove temporary try/catch block.
8863 (setVisible): Call show and hide.
8864 (show): Make native.
8865 (hide): Likewise.
8866 (getArgs): Don't add "visible" argument.
8867 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8868 (property_notify_predicate): Return Bool instead of int.
8869 (find_layout): New function.
8870 (connectJObject): Call find_layout.
8871 (connectSignals): Likewise.
8872 (moveLayout): Likewise.
8873 (gtkLayoutSetVisible): Likewise.
8874
8875 2004-07-21 Mark Wielaard <mark@klomp.org>
8876
8877 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
8878 on notifier object before calling notifyAll().
8879
8880 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8881
8882 * java/awt/Window.java: Changed constructors to use new
8883 method that is described below. Constructors call this
8884 methods only if newly created window should have an owner.
8885 (setWindowOwner): New method. Implementation for
8886 this method is moved from this(owner,configuration).
8887 * javax/swing/JWindow.java:
8888 (JWindow): Reimplement to use SwingUtilities.ownerFrame
8889 instead of owner.
8890 * javax/swing/SwingUtilities.java:
8891 (ownerFrame): Change type of this field to OwnerFrame.
8892 (getOwnerFrame): Changed to return object of type OwnerFrame.
8893 (SwingUtilities.OwnerFrame): New class. Represents owner
8894 of a Window that is not provided with one.
8895
8896 2004-07-21 Olga Rodimina <rodimina@redhat.com>
8897
8898 * javax/swing/AbstractButton.java:
8899 (configurePropertiesFromAction): Set action command
8900 to button's text by default if action command is not
8901 explicitely specified.
8902 * javax/swing/JMenu.java: Remove unnecessary listener
8903 and methods relevant to it.
8904 (setSelected): Reimplemented.
8905 (menuSelectionChanged): Moved most part of implementation to
8906 setSelected() and call it instead.
8907 * javax/swing/JMenuItem.java:
8908 (init): Comment out statement that sets paint_border to false.
8909 (configurePropertiesFromAction): Do not set accelerator
8910 for JMenu.
8911 (menuSelectionChanged): Change selected index in the selection
8912 model of menu item's parent.
8913 * javax/swing/JPopupMenu.java:
8914 (remove): Set constraints.fill field to GridBagConstraints.BOTH
8915 instead of GridBagConstraints.HORIZONTAL.
8916 (insert): Likewise.
8917 (createActionChangeListener): Implemented.
8918 (setVisible): Correct location of HeavyWeightMenu and
8919 don't firePopupMenuCanceled().
8920 (menuSelectionChanged): Implemented.
8921 (ActionChangeListener): New Listener. Implemented.
8922 * javax/swing/plaf/basic/BasicMenuBarUI.java:
8923 (BasicMenuBarUI.ContainerHandler): Implemented.
8924 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8925 (paintMenuItem): Uncommented out code that paints
8926 icon, now that icons are working properly.
8927 (PropertyChangeListener): Implemented.
8928 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
8929 Added javadocs.
8930 (topWindowListener): New field.
8931 (Constructor): initialize topWindowListener.
8932 (BasicPopupMenuUI.TopWindowListener): Implemented.
8933 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
8934 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
8935 Implemented.
8936
8937 2004-07-21 Michael Koch <konqueror@gmx.de>
8938
8939 * javax/swing/plaf/basic/BasicButtonUI.java
8940 (paintFocus): Fixed method signature.
8941 (paintButtonPressed): Likewise.
8942 (paintButtonNormal): Likewise.
8943 (paintText): New method.
8944 * javax/swing/plaf/basic/BasicLabelUI.java
8945 (paint): Re-indented.
8946 * javax/swing/plaf/basic/BasicTextUI.java
8947 (installUI): Set parent textComponent to opaque.
8948 * javax/swing/text/DefaultHighlighter.java
8949 (checkPositions): New helper method.
8950 (addHighlight): Throws BadLocationException, check positions.
8951 (changeHighlight): Likewise.
8952 * javax/swing/text/EditorKit.java
8953 (EditorKit): Implements Serializable.
8954 * javax/swing/text/JTextComponent.java
8955 (getUI): Added javadoc.
8956 (setUI): Likewise.
8957 (upadteUI): Added javadoc, don't revalidate and repaint.
8958
8959 2004-07-21 David Jee <djee@redhat.com>
8960
8961 * java/awt/GridBagLayout.java
8962 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
8963 * javax/swing/AbstractButton.java
8964 (setText): Reindent.
8965 * javax/swing/RepaintManager.java
8966 (addInvalidComponent): Find the first ancestor that isValidateRoot().
8967
8968 2004-07-21 Michael Koch <konqueror@gmx.de>
8969
8970 * javax/swing/JFormattedTextField.java
8971 (value): New field.
8972 (JFormattedTextField): Implemented.
8973 (getValue): Likewise.
8974 (setValue): Likewise.
8975 * javax/swing/LookAndFeel.java
8976 (getSupportsWindowDecorations): New method.
8977 * javax/swing/UIDefaults.java:
8978 Use java.beans.PropertyChangeSupport instead of doing all ourself.
8979 (addPropertyChangeListener): Made public.
8980 (addResourceBundle): Likewise.
8981 (removeResourceBundle): Likewise.
8982 (setDefaultLocale): Likewise.
8983 * javax/swing/plaf/basic/BasicRootPaneUI.java
8984 (BasicRootPaneUI): Implements PropertyChangeListener.
8985 (propertyChange): New method.
8986 * javax/swing/plaf/basic/BasicTextUI.java
8987 (BasicHighlighter): New inner class.
8988 (createHighlighter): New method.
8989 * javax/swing/plaf/basic/BasicToolBarUI.java
8990 (DragWindow): Extends java.awt.Window.
8991 * javax/swing/text/JTextComponent.java
8992 (getDocument): Removed debug output.
8993 * javax/swing/plaf/basic/BasicTextFieldUI.java,
8994 javax/swing/text/DefaultHighlighter.java,
8995 javax/swing/text/FieldView.java,
8996 javax/swing/text/PlainView.java: New files.
8997 * Makefile.am: Added new files.
8998 * Makefile.in: Regenerated.
8999
9000 2004-07-21 Michael Koch <konqueror@gmx.de>
9001
9002 * javax/swing/JEditorPane.java
9003 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
9004 (createEditorKitForContentType): Likewise.
9005 * javax/swing/text/DefaultEditorKit.java
9006 (serialVersionUID): Added constant field.
9007 (EndOfLineStringPropery): Fixed typo.
9008 (DefaultEditorKit): New constructor.
9009 * javax/swing/text/Segment.java:
9010 Import java.text.CharacterIterator.
9011 * javax/swing/text/CharacterIterator.java,
9012 javax/swing/text/PlainEditorKit.java: Removed.
9013 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
9014 javax/swing/text/PlainEditorKit.java.
9015 * Makefile.in: Regenerated.
9016
9017 2004-07-21 Michael Koch <konqueror@gmx.de>
9018
9019 * javax/swing/JButton.java,
9020 javax/swing/text/DefaultEditorKit.java,
9021 javax/swing/text/EditorKit.java,
9022 javax/swing/text/Segment.java,
9023 javax/swing/text/StyledEditorKit.java:
9024 Reformatted.
9025
9026 2004-07-21 Michael Koch <konqueror@gmx.de>
9027
9028 * javax/swing/ImageIcon.java
9029 (file): Removed.
9030 (description): Renamed from descr.
9031 (ImageIcon): Added missing constructors.
9032 (setParent): Removed.
9033 (setImageObserver): New method.
9034 (getImageObserver): New method.
9035 (paintIcon): Handle observer = null.
9036 * javax/swing/JButton.java
9037 (removeNotify): Fixed javadoc.
9038 (updateUI): Simplified.
9039 * javax/swing/JRootPane.java
9040 (serialVersionUID): New constant field.
9041 * javax/swing/UIManager.java:
9042 Fixed javadocs all over.
9043 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
9044 * javax/swing/text/AbstractDocument.java
9045 (createPosition): Throws BadLocationException.
9046 (getText): Likewise.
9047 (remove): Likewise.
9048 * javax/swing/text/ComponentView.java
9049 (modelToView): Likewise.
9050 * javax/swing/text/DefaultEditorKit.java:
9051 Made all public methods public.
9052 (read): Throws BadLocationException and IOException.
9053 (write): Likewise.
9054 * javax/swing/text/EditorKit.java:
9055 Made all public methods public.
9056 (serialVersionUID): New constant field.
9057 (clone): New method.
9058 (read): Throws BadLocationException and IOException.
9059 (write): Likewise.
9060 * javax/swing/text/Segment.java
9061 (array): Made public.
9062 (count): Likewise.
9063 (offset): Likewise.
9064 (Segment): New constructors.
9065 (clone): Reimplemented.
9066 * javax/swing/text/StyledEditorKit.java
9067 (serialVersionUID): New constant field.
9068
9069 2004-07-21 Graydon Hoare <graydon@redhat.com>
9070
9071 * java/awt/image/BufferedImage.java
9072 (getSource): Implement.
9073 * javax/swing/ImageIcon.java
9074 (ImageIcon): Implement ctor.
9075 * javax/swing/ScrollPaneLayout.java
9076 (preferredLayoutSize): Be more careful about nulls.
9077
9078 2004-07-21 Michael Koch <konqueror@gmx.de>
9079
9080 * javax/swing/text/AttributeSet.java
9081 (CharacterAttribute): New interface
9082 (ColorAttribute): Likewise.
9083 (FontCharacterAttribute): Likewise.
9084 (ParagraphAttribute): Likewise.
9085 * javax/swing/text/DefaultCaret.java
9086 (moveCaret): New method.
9087 (positionCaret): Likewise.
9088 (repaint): Made protected.
9089 * javax/swing/text/JTextComponent.java
9090 (KeyBinding): Made it static.
9091 * javax/swing/text/View.java
9092 (getContainer): Honor parent == null.
9093
9094 2004-07-21 Michael Koch <konqueror@gmx.de>
9095
9096 * javax/swing/text/AbstractDocument.java:
9097 Reformatted.
9098
9099 2004-07-21 Michael Koch <konqueror@gmx.de>
9100
9101 * javax/swing/plaf/basic/BasicRootPaneUI.java:
9102 Import javax.swing.UIManager explicitely.
9103 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9104 (ScrollingButton): Made it static.
9105
9106 2004-07-21 Michael Koch <konqueror@gmx.de>
9107
9108 * javax/swing/UIDefaults.java
9109 (ActiveValue): Made public.
9110 (LazyValue): Likewise.
9111 * javax/swing/plaf/basic/BasicTextUI.java
9112 (RootView): Reintroduced.
9113 (view): Removed.
9114 (rootView): New field.
9115 (installUI): Create document if needed, initialize rootView.
9116 (uninstallUI): Hanle rootView.
9117 (paint): Likewise.
9118 (getRootView): Likewise.
9119 (setView): Likewise.
9120 * javax/swing/text/DefaultCaret.java:
9121 Renamed all "evt" variables to "event".
9122
9123 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
9124
9125 * libgcj.spec.in: Add -l-java-util-logging.
9126
9127 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
9128
9129 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
9130 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
9131 gtk-xft-dpi can no calculate the right value.
9132 (dpi_changed_cb): Mark *pspec as unsused.
9133
9134 2004-07-21 David Jee <djee@redhat.com>
9135
9136 * java/awt/Component.java
9137 (move): Delegate to setBounds().
9138 (resize): Likewise.
9139 (reshape): Fix so it repaints parent and self only when necessary.
9140
9141 2004-07-21 David Jee <djee@redhat.com>
9142
9143 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9144 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9145 (GtkComponentPeer): Revert previous patch from 2004-06-22.
9146 (setVisible): Likewise.
9147 (show): Likewise.
9148 (hide): Likewise.
9149 (getArgs): Likewise.
9150 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9151 (property_notify_predicate): Likewise.
9152 (find_layout): Likewise.
9153 (connectJObject): Likewise.
9154 (connectSignals): Likewise.
9155 (moveLayout): Likewise.
9156 (gtkLayoutSetVisible): Likewise.
9157
9158 2004-07-21 Graydon Hoare <graydon@redhat.com>
9159
9160 * Makefile.am
9161 (jv_convert_LDADD):
9162 (gij_LDADD):
9163 (rmic_LDADD):
9164 (rmiregistry_LDADD): Add lib-java-util-logging.la
9165 * Makefile.in: Regenerate.
9166
9167 2004-07-21 Michael Koch <konqueror@gmx.de>
9168
9169 * javax/swing/text/AbstractDocument.java
9170 (replace): Dont use protected method of java.util.Vector directly.
9171
9172 2004-07-21 Michael Koch <konqueror@gmx.de>
9173
9174 * javax/swing/plaf/basic/BasicTextUI.java
9175 (installUI): Call specialized install methods.
9176 (installDefaults): New method.
9177 (installListeners): Likewise.
9178 (installKeyboardActions): Likewise.
9179 (uninstallUI): Likewise.
9180 (uninstallDefaults): New method.
9181 (uninstallListeners): Likewise.
9182 (uninstallKeyboardActions): Likewise.
9183 (getPropertyPrefix): New abstract method.
9184 (paint): Made final, just call paintSafely().
9185 (paintSavely): New method.
9186 (paintBackground): Likewise.
9187 (getVisibleEditorRect): Likewise.
9188 * javax/swing/text/LayeredHighlighter.java,
9189 javax/swing/text/TabExpander.java: New files.
9190 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
9191 and javax/swing/text/TabExpander.java.
9192 * Makefile.in: Regenerated.
9193
9194 2004-07-21 Michael Koch <konqueror@gmx.de>
9195
9196 * javax/swing/plaf/basic/BasicTextUI.java
9197 (BasicTextUI): Made abstract.
9198 (BasicCaret): New inner class.
9199 (view): Don't explicitely initialize with "null".
9200 (textComponent): New field.
9201 (textColor): Removed.
9202 (disabledTextColor): Removed.
9203 (normalBackgroundColor): Removed.
9204 (RootView): Removed commented out inner class.
9205 (createUI): Removed.
9206 (createCaret): New method.
9207 (getComponent): Likewise.
9208 (installUI): Initialize textComponent only.
9209 (getPreferredSize): Use installed JTextComponent.
9210 (setView): New method.
9211 (create): Likewise.
9212 * javax/swing/text/JTextComponent.java
9213 (highlighter): New field.
9214 (caretColor): Likewise.
9215 (disabledTextColor): Likewise.
9216 (seletedTextColor): Likewise.
9217 (selectionColor): Likewise.
9218 (setUI): New method.
9219 (getCaretColor): Likewise.
9220 (setCaretColor): Likewise.
9221 (getDisabledColor): Likewise.
9222 (setDisabledColor): Likewise.
9223 (getSelectedTextColor): Likewise.
9224 (setSelectedTextColor): Likewise.
9225 (getSelectionColor): Likewise.
9226 (setSelectionColor): Likewise.
9227 (getHighlighter): Likewise.
9228 (setHighlighter): Likewise.
9229 (replaceSelection): Likewise.
9230
9231 2004-07-21 Michael Koch <konqueror@gmx.de>
9232
9233 * javax/swing/plaf/basic/BasicScrollPaneUI.java
9234 (BasicScrollPaneUI): Implements ScrollPaneConstants.
9235 * javax/swing/plaf/basic/BasicToolBarUI.java
9236 (BasicToolBarUI): Implements SwingConstants.
9237
9238 2004-07-21 Michael Koch <konqueror@gmx.de>
9239
9240 * javax/swing/JPopupMenu.java: Removed CVS tags.
9241 * javax/swing/UIDefaults.java: Reformatted.
9242 * javax/swing/plaf/basic/BasicRootPaneUI.java:
9243 Explicitely import used classes.
9244
9245 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
9246
9247 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9248 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9249 (GtkComponentPeer): Remove temporary try/catch block.
9250 (setVisible): Call show and hide.
9251 (show): Make native.
9252 (hide): Likewise.
9253 (getArgs): Don't add "visible" argument.
9254 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9255 (property_notify_predicate): Return Bool instead of int.
9256 (find_layout): New function.
9257 (connectJObject): Call find_layout.
9258 (connectSignals): Likewise.
9259 (moveLayout): Likewise.
9260 (gtkLayoutSetVisible): Likewise.
9261
9262 2004-07-21 Olga Rodimina <rodimina@redhat.com>
9263
9264 * javax/swing/AbstractButton.java:
9265 (setDisplayedMnemonicIndex): Check if button
9266 text is not null before checking its length.
9267 * javax/swing/JMenuItem.java:
9268 (processMouseEvent): Disarm menu item if mouse has
9269 exited it.
9270 * javax/swing/plaf/basic/BasicMenuUI.java:
9271 (MouseInputHandler.mouseEntered): Do not raise
9272 popup menu if this menu is already selected.
9273 (MouseInputHandler.mousePressed): Do not fire
9274 MenuEvents.
9275 (MenuHandler): Implemented.
9276
9277 2004-07-21 Olga Rodimina <rodimina@redhat.com>
9278
9279 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
9280 (getSelectedObjects): Implemented.
9281 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
9282 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
9283 Added javadoc for few methods.
9284 (processMouseEvent): Made public.
9285 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
9286 (processMouseEvent): Likewise.
9287
9288 2004-07-21 Olga Rodimina <rodimina@redhat.com>
9289
9290 * javax/swing/AbstractButton.java:
9291 (init): Set display mnemonic index to -1.
9292 (setMnemonic(char)): Use setMnemonic(int).
9293 (setMnemonic(int)): Set display mnemonic index.
9294 (getDisplayedMnemonicIndex): Change method signature
9295 by removing 'index' parameter.
9296 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9297 Added default for Menu.selectionBackground.
9298 * javax/swing/plaf/basic/BasicMenuItemUI.java:
9299 (paintMenuItem): Change background color of the selected
9300 menu item.
9301 (paintText): Paint differently when menu item is disabled.
9302 Also paint mnemonic if it appears in the menu item's label.
9303 (paintAccelerator): Paint accelerator differently
9304 if menu item is disabled.
9305 * javax/swing/plaf/basic/BasicMenuUI.java:
9306 (installDefaults): Install defaults for
9307 selectionForeground and selectionBackground.
9308 (uninstallDefaults): Uninstall defauls for
9309 selectionForeground and selectionBackground.
9310
9311 2004-07-21 Michael Koch <konqueror@gmx.de>
9312
9313 * javax/swing/text/AbstractDocument.java
9314 (BranchElement): Implemented.
9315 (LeafElement): Implemented.
9316 * javax/swing/text/DefaultCaret.java:
9317 Import used classes.
9318 (serialVersionUID): New constant.
9319 * javax/swing/text/JTextComponent.java
9320 (AccessibleJTextComponent): Removed dead declaration.
9321 (caretPos): Removed.
9322 (setCaret): New method.
9323 * javax/swing/text/PlainDocument.java
9324 (rootElement): New field.
9325 (PlainDocument): Initialize rootElement.
9326 (createDefaultRoot): New method.
9327 (getDefaultRootElement): Implemented.
9328 * javax/swing/text/View.java: Reformatted.
9329 * javax/swing/text/ViewFactory.java
9330 (create): Added javadoc.
9331
9332 2004-07-21 Michael Koch <konqueror@gmx.de>
9333
9334 * javax/swing/ToolTipManager.java: Reformatted.
9335
9336 2004-07-21 Rodimina Olga <rodimina@redhat.com>
9337
9338 * javax/swing/AbstractButton.java
9339 (changeEvent): New field.
9340 (fireItemStateChanged): Change source of the event
9341 to 'this' before firing it to button listeners.
9342 (fireActionPerformed): Likewise.
9343 (fireStateChanged): Likewise.
9344 (createActionListener): Do not set source
9345 of the event to AbstractButton.
9346 * javax/swing/plaf/basic/BasicMenuBarUI.java:
9347 (ContainerHandler.componentAdded): Removed
9348 print out statement.
9349 (ContainerHandler.componentRemoved): Likewise.
9350
9351 2004-07-21 Michael Koch <konqueror@gmx.de>
9352
9353 * javax/swing/text/Highlighter.java: New file.
9354 * Makefile.am: Added javax/swing/text/Highlighter.java.
9355 * Makefile.in: Regenerated.
9356
9357 2004-07-21 Michael Koch <konqueror@gmx.de>
9358
9359 * javax/swing/ToolTipManager.java
9360 (stillInsideTimerAction): Fixed constructor arguments.
9361 (outsideTimerAction): Likewise.
9362 (insideTimerAction): Likewise.
9363
9364 2004-07-21 Michael Koch <konqueror@gmx.de>
9365
9366 * javax/swing/JButton.java: Reformatted.
9367 * javax/swing/JFormattedTextField.java
9368 (getUIClassID): Implemented.
9369 * javax/swing/JRootPane.java
9370 (serialVersionUID): New constant.
9371 * javax/swing/JTextField.java
9372 (align): New field.
9373 (JTextField): Simplified.
9374 (getUIClassID): New method.
9375 (getActionListeners): Added @since tag.
9376 (setColumns): Invalidate layout and repaint.
9377 (getHorizontalAlignment): New method.
9378 (setHorizontalAlignment): New method.
9379 (selectAll): Removed.
9380 * javax/swing/SwingUtilities.java
9381 (getAncestorOfClass): Removed redundant @see tag.
9382 (isLeftMouseButton): Fixed implementation.
9383 (isMiddleMouseButton): Likewise.
9384 (isRightMouseButton): Likewise.
9385 * javax/swing/text/AbstractDocument.java
9386 (AttributeContext.addAttribute): New method.
9387 (AttributeContext.addAttributes): New method.
9388 (AttributeContext.getEmptySet): New method.
9389 (AttributeContext.reclaim): New method.
9390 (AttributeContext.removeAttribute): New method.
9391 (AttributeContext.removeAttributes): New method.
9392 * javax/swing/text/Document.java
9393 (createPosition): Throws BadLocationException.
9394 (getText): Likewise.
9395 (remove): Likewise.
9396 * javax/swing/text/JTextComponent.java
9397 (getText): Return null if no document is set. Catch
9398 BadLocationException.
9399 (getUI): Return ui.
9400 (updateUI): Simplified.
9401
9402 2004-07-21 Michael Koch <konqueror@gmx.de>
9403
9404 * javax/swing/JButton.java
9405 (removeNotify): Fixed javadoc.
9406 (updateUI): Simplified.
9407
9408 2004-07-21 David Jee <djee@redhat.com>
9409
9410 * gnu/java/awt/image/ImageDecoder.java
9411 (startProduction): Only add consumer if it's not added yet.
9412 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
9413 (GdkPixbufDecoder): Don't call initState() here.
9414 (produce): Call initState() here, to ensure area_prepared and
9415 area_updated signals are properly connected.
9416 * gnu/java/awt/peer/gtk/GtkImage.java
9417 (setColorModel): Use equals() to compare ColorModel objects.
9418 (setPixels): Likewise.
9419 * java/awt/image/ColorModel.java
9420 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
9421 * java/awt/image/RGBImageFilter.java
9422 (setColorModel): Set consumer's color model.
9423 (setPixels): Use equals() to compare ColorModel objects.
9424
9425 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
9426
9427 * java/net/URLConnection.java (position): New field.
9428 (dateFormat1, dateFormat2, dateFormat3): Removed.
9429 (dateFormats): New field.
9430 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
9431 each time instead of re-allocating.
9432 (initializeDateFormats): Initialize 'dateFormats'.
9433
9434 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
9435
9436 PR libgcj/16591
9437 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
9438 is defined.
9439
9440 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
9441
9442 * java/net/Socket.java (getImpl): Now private. Remove comment.
9443
9444 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
9445
9446 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
9447 of chained Writer when calling super-constructor.
9448 * java/io/FilterWriter.java (FilterWriter): Likewise.
9449 * java/io/PrintWriter.java (PrintWriter): Likewise.
9450
9451 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
9452
9453 * prims.cc (process_gcj_properties): Don't increment i within LHS
9454 of assignment.
9455
9456 2004-07-19 Per Bothner <per@bothner.com>
9457
9458 Print -verbose:message on "loading", not initialization.
9459 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
9460 * defineclass.cc (_Jv_ClassReader::parse): Print message if
9461 gcj::verbose_class_flag.
9462 * java/lang/natClass.cc (initializeClass): Don't print message here.
9463 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
9464 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
9465 (_Jv_PrepareCompiledClass): Likewise.
9466
9467 2004-07-18 Matthias Klose <doko@debian.org>
9468
9469 * configure.in: Substitute target_noncanonical.
9470 * configure: Regenerate
9471
9472 2004-07-17 Michael Koch <konqueror@gmx.de>
9473
9474 * java/lang/String.java: Fixed javadocs all over.
9475
9476 2004-07-17 Mark Wielaard <mark@klomp.org>
9477
9478 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
9479 when size is smaller.
9480 * java/io/RandomAccessFile.java (setLength): Use truncate for
9481 shrinking the file and seek plus write for expanding the file.
9482
9483 2004-07-17 Michael Koch <konqueror@gmx.de>
9484
9485 * gnu/java/nio/channels/natFileChannelPosix.cc
9486 (implTruncate): Always save current position. Only reposition file
9487 pointer to where we started if not beyond new lenght. Reposition file
9488 pointer to file length if it points beyond the end of file.
9489
9490 2004-07-17 Mark Wielaard <mark@klomp.org>
9491
9492 * javax/swing/Box.java: Put FIXME comment above class declaration.
9493 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
9494 * javax/swing/JCheckBox.java: Likewise.
9495 * javax/swing/JDialog.java: Likewise.
9496 * javax/swing/JRadioButton.java: Likewise.
9497 * javax/swing/JToggleButton.java: Likewise.
9498 * javax/swing/UIManager.java: Likewise.
9499 * javax/swing/border/TitledBorder.java: Likewise.
9500 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
9501 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
9502 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
9503 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
9504 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
9505 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
9506 * javax/swing/text/JTextComponent.java: Likewise.
9507
9508 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
9509
9510 * java/net/DatagramPacket.java (setAddress): Removed check for
9511 null address.
9512
9513 2004-07-17 Michael Koch <konqueror@gmx.de>
9514
9515 * java/net/DatagramSocket.java
9516 (getLocalAddress): Check if socket is bound or not.
9517 * java/net/Socket.java
9518 (getLocalAddrss): Check if socket is bound or not.
9519 (getPort): Return -1 when not connected. Dont check getImpl() for
9520 null.
9521 (setReuseAddress): Check if socket is closed.
9522 (isConnected): Check if getImpl() returns null.
9523
9524 2004-07-17 Mark Wielaard <mark@klomp.org>
9525
9526 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
9527 on notifier object before calling notifyAll().
9528
9529 2004-07-17 Michael Koch <konqueror@gmx.de>
9530
9531 * gnu/java/nio/channels/FileChannelImpl.java
9532 (finalize): Added javadoc.
9533
9534 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
9535
9536 * java/text/CollationElementIterator.java
9537 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
9538 (setText): Use ArrayList instead of Vector.
9539
9540 2004-07-17 Michael Koch <konqueror@gmx.de>
9541
9542 * java/nio/ByteOrder.java
9543 (static): Removed. Not needed.
9544 Thanks to Patrick Reali for noticing.
9545 * java/nio/charset/CharsetDecoder.java
9546 (decode): Fix for classpath bug #9177: Reset state before flipping.
9547
9548 2004-07-17 Michael Koch <konqueror@gmx.de>
9549
9550 * java/security/Security.java: Fixed javadocs all over.
9551
9552 2004-07-17 Michael Koch <konqueror@gmx.de>
9553
9554 * gnu/java/awt/EmbeddedWindow.java
9555 (static): Removed.
9556 (addNotify): Set peer via reflection.
9557 (setWindowPeer): Removed.
9558 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
9559 * Makefile.am (nat_source_files):
9560 Removed gnu/java/awt/natEmbeddedWindow.cc.
9561 * Makefile.in: Regenerated.
9562
9563 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
9564
9565 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
9566 assignment.
9567 * configure: Regenerated.
9568
9569 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
9570
9571 * configure.in: Use build_noncanonical rather than build_alias.
9572 * configure: Rebuild.
9573
9574 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
9575 by logic refactoring. Move default definition of NATIVE closer
9576 to first alternate definition.
9577 * configure: Regenerate.
9578
9579 * Makefile.am: Set ZIP and GCJH directly using autoconf.
9580 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
9581 gcj/Makefile.in: Regenerate.
9582 * configure.in: Set ZIP and GCJH. Remove redundant condition
9583 in AM_CONDITIONAL(NATIVE,...)
9584 * configure: Regenerate.
9585
9586 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
9587
9588 * configure.in: Use target_noncanonical rather than
9589 target_alias for forward-compatibility with autoconf 2.59.
9590 * configure: Regenerate.
9591 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
9592 testsuite/Makefile.am: Substitute target_noncanonical.
9593 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
9594 testsuite/Makefile.in: Regenerate.
9595
9596 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
9597 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
9598 * acinclude.m4: Include acx.m4.
9599 * aclocal.m4: Regenerate.
9600 * configure: Regenerate.
9601
9602 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
9603
9604 PR libgcj/16574
9605 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
9606 (decimalFormat): New static variable.
9607 (sbuf): Likewise.
9608 (getTime): New. Override Date.getTime().
9609 (toString): Synchronize. Use decimalFormat to format nanos value
9610 correctly. Truncate extra zeros.
9611 (before): Compare getNanos() only if getTime() is equal.
9612 (after): Likewise.
9613
9614 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
9615
9616 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
9617 * configure.in: ...here.
9618 * aclocal.m4: Regenerate.
9619 * configure: Regenerate.
9620
9621 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
9622 * configure: Rebuilt with autoconf 2.13.
9623 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
9624 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
9625
9626 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
9627
9628 PR libgcj/16204
9629 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
9630 large file support.
9631 * Makefile.in: Rebuilt.
9632 * testsuite/libjava.lang/LargeFile.java: New test case.
9633 * testsuite/libjava.lang/LargeFile.out: New file.
9634
9635 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
9636
9637 * java/beans/EventHandler.java: Remove debugging statements.
9638
9639 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
9640
9641 * java/beans/EventHandler.java: New file.
9642 * Makefile.am (awt_java_source_files): Add EventHandler.java.
9643 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
9644 testsuite/Makefile.in: Regenerate.
9645
9646 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
9647
9648 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
9649 flag to the gcj_setup.
9650 (gcj_jacks_run): Check tclsh version and launch jacks directly with
9651 the tclsh.
9652 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
9653 deprecation flag change. 58 XFAILS removed.
9654
9655 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
9656
9657 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
9658 -fno-use-divide-subroutine.
9659 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
9660 (HANDLE_FPE): Define.
9661 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
9662 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
9663 (HANDLE_DIVIDE_OVERFLOW): Define.
9664
9665 2004-07-14 Michael Koch <konqueror@gmx.de>
9666 Matthias Klose <doko@debian.org>
9667
9668 * java/awt/im/InputContext.java: Initialize in, line.
9669
9670 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
9671
9672 * interpret.cc (run): Correctly access libffi return values of
9673 integral smaller-than-int type; these are implicitly promoted.
9674
9675 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
9676
9677 PR libgcj/7587
9678 * interpret.cc (compile_mutex): New.
9679 (_Jv_InitInterpreter): New. Initialize compile_mutex.
9680 (run): Lock compile_mutex before calling compile() if compilation is
9681 required.
9682 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
9683 * include/java-interp.h (_Jv_InitInterpreter): Declare.
9684
9685 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
9686
9687 PR libgcj/15713
9688 * include/jvm.h (_Jv_value): New union type.
9689 * gcj/field.h (_Jv_Field): Add new _addr union field variants
9690 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
9691 union members.
9692
9693 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
9694
9695 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
9696 * gnu/awt/xlib/XOffScreenImage.java
9697 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
9698 constructor argument. Add constructor using ImageProducer.
9699 (getSource): Implement.
9700 (imageComplete): New method.
9701 (setColorModel): New method.
9702 (setDimensions): New method.
9703 (setHints): New method.
9704 (setPixels): New method.
9705 (setProperties): New method.
9706 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
9707 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
9708
9709 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
9710
9711 PR libgcj/16478
9712 * prims.cc (_Jv_CreateJavaVM): Fix comment.
9713 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
9714 (finalizerReady): Now native.
9715 (run): Likewise.
9716 (runFinalizers): Removed.
9717 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
9718 a primitive lock, and don't hold it while running the finalizers.
9719 (runFinalizers): Implement. Don't aquire any Java lock.
9720 (finalizerReady): Use lock primitives to signal finalizer thread.
9721
9722 2004-07-11 Mark Wielaard <mark@klomp.org>
9723
9724 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
9725 * java/net/URLStreamHandler.java (parseURL): When url file part
9726 doesn't contain a '/' just ignore context.
9727
9728 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
9729
9730 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
9731 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
9732 (MAKE_THROW_FRAME): Do not modify PSW address.
9733 (INIT_SEGV): Install SIGINFO-style signal handler.
9734 (INIT_FPE): Likewise.
9735
9736 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
9737
9738 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
9739 status. 21 xfail's removed, 1 added.
9740
9741 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
9742
9743 * gcj/javaprims.h: Regenerate CNI namespace definitions.
9744
9745 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
9746
9747 * java/text/MessageFormat.java
9748 (formatInternal): Append "{n}" if argument n is unavailable.
9749 (format(Object, StringBuffer, FieldPosition)): This
9750 should be equivalent to format(Object[],
9751 StringBuffer, FieldPosition).
9752
9753 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
9754
9755 * java.util.Calendar.java (cache): New private static field. Cached
9756 mappings of locales->calendar classes.
9757 (ctorArgTypes): New private static field. Singleton argument for
9758 calendar class constructor lookup.
9759 (getInstance): Cache Locale->Calendar class mappings using HashMap.
9760 Optimize by bypassing reflection instantiation for the
9761 GregorianCalendar case.
9762
9763 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
9764
9765 * java/util/Calendar.java: Use getSystemClassLoader as argument for
9766 ResourceBundle.getBundle() calls.
9767 * java/util/GregorianCalendar.java: Likewise.
9768 * java/util/Currency.java: Likewise.
9769 * java/text/BreakIterator.java: Likewise.
9770 * java/text/Collator.java: Likewise.
9771 * java/text/DateFormat.java: Likewise.
9772 * java/text/DateFormatSymbols.java: Likewise.
9773 * java/text/DecimalFormatSymbols.java: Likewise.
9774 * java/text/NumberFormat.java: Likewise.
9775 * java/awt/Window.java: Likewise.
9776
9777 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
9778
9779 * java/util/ResourceBundle.java (bundleCache): Renamed from
9780 resourceBundleCache. Update comments.
9781 (getObject): Don't catch MissingResourceException.
9782 (getBundle(String)): Remove 'final'. Use system classloader if
9783 getCallingClassLoader returned null.
9784 (getBundle(String, Locale)): Likewise.
9785 (BundleKey): New private class. HashMap key for bundle cache lookup.
9786 (lookupKey): New. Singleton instance of BundleKey.
9787 (nullEntry): New. Cache entry to represent failed lookups.
9788 (getBundle(String, Locale, ClassLoader)): Re-written to use new
9789 caching strategy, no-allocation lookup, and new tryBundle methods.
9790 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
9791 name using given classloader.
9792 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
9793 baseName for given Locale and attempt to load bundle.
9794
9795 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
9796
9797 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
9798 illegal protected method calls.
9799
9800 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
9801
9802 Fix or remove some bogus test cases.
9803 * testsuite/libjava.compile/pr10459_2.java: Removed.
9804 * testsuite/libjava.compile/pr10459.java: Test using its own method,
9805 not Object.clone().
9806 * testsuite/libjava.compile/inner_data.java: Test against its own
9807 protected field.
9808
9809 2004-07-09 Michael Koch <konqueror@gmx.de>
9810
9811 * scripts/unicode-muncher.pl: Updated to version 2.1
9812 from GNU classpath. Added some clarifications on where to find the
9813 needed files from www.unicode.org.
9814 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
9815 gnu/gcj/convert/UnicodeData-3.0.0.txt:
9816 Removed, these can directly be downloaded from www.unicode.org if
9817 needed.
9818 * gnu/java/lang/CharData.java: Regenerated.
9819 * include/java-chartables.h: Regenerated.
9820 * Makefile.am (ordinary_java_source_files):
9821 Removed gnu/java/lang/CharData.java.
9822 * Makefile.in: Regenerated.
9823
9824 2004-07-09 Michael Koch <konqueror@gmx.de>
9825
9826 * java/security/AccessControlContext.java,
9827 java/security/SecureClassLoader.java:
9828 Fixed javadocs.
9829
9830 2004-07-09 Michael Koch <konqueror@gmx.de>
9831
9832 * java/io/ObjectInputStream.java (readFields): Use long datatype
9833 when shifting byte values more then 24 bits left.
9834
9835 2004-07-09 Michael Koch <konqueror@gmx.de>
9836
9837 * java/util/zip/DeflaterOutputStream.java,
9838 java/util/zip/GZIPInputStream.java,
9839 java/util/zip/GZIPOutputStream.java,
9840 java/util/zip/InflaterInputStream.java:
9841 Reformatted. Added javadocs. Reordered all stuff.
9842 Renamed variables to be more clear.
9843
9844 2004-07-09 Michael Koch <konqueror@gmx.de>
9845
9846 * javax/imageio/IIOException.java,
9847 javax/imageio/event/IIOReadProgressListener.java,
9848 javax/imageio/event/IIOReadUpdateListener.java,
9849 javax/imageio/event/IIOReadWarningListener.java,
9850 javax/imageio/event/IIOWriteProgressListener.java,
9851 javax/imageio/event/IIOWriteWarningListener.java:
9852 New files.
9853 * Makefile.am: Added new files.
9854 * Makefile.in: Regenerated.
9855
9856 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
9857
9858 * java/text/RuleBasedCollator.java
9859 (mergeRules): Use ArrayList instead of Vector.
9860 (subParseString): likewise.
9861 (parseString): likewise.
9862 (buildCollationVector): likewise.
9863 (getCollationKey): likewise.
9864
9865 2004-07-09 Dalibor Topic <robilad@kaffe.org>
9866
9867 * java/text/DateFormat.java (parse):
9868 Improved javadoc. Improved exception message.
9869
9870 2004-07-09 Mark Wielaard <mark@klomp.org>
9871
9872 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
9873 interrupted() method to clear interupt flag of our Thread.
9874
9875 2004-07-09 Dalibor Topic <robilad@kaffe.org>
9876
9877 * java/nio/Buffer.java,
9878 java/nio/ByteBuffer.java,
9879 java/nio/ByteBufferHelper.java,
9880 java/nio/ByteBufferImpl.java,
9881 java/nio/CharBuffer.java,
9882 java/nio/CharBufferImpl.java,
9883 java/nio/CharViewBufferImpl.java,
9884 java/nio/DirectByteBufferImpl.java,
9885 java/nio/DoubleBuffer.java,
9886 java/nio/DoubleBufferImpl.java,
9887 java/nio/DoubleViewBufferImpl.java,
9888 java/nio/FloatBuffer.java,
9889 java/nio/FloatBufferImpl.java,
9890 java/nio/FloatViewBufferImpl.java,
9891 java/nio/IntBuffer.java,
9892 java/nio/IntBufferImpl.java,
9893 java/nio/IntViewBufferImpl.java,
9894 java/nio/LongBuffer.java,
9895 java/nio/LongBufferImpl.java,
9896 java/nio/LongViewBufferImpl.java,
9897 java/nio/MappedByteBufferImpl.java,
9898 java/nio/ShortBuffer.java,
9899 java/nio/ShortBufferImpl.java,
9900 java/nio/ShortViewBufferImpl.java:
9901 Fixed javadocs all over. Improved input error
9902 checking.
9903
9904 * java/nio/Buffer.java
9905 (checkForUnderflow, checkForOverflow, checkIndex,
9906 checkIfReadOnly, checkArraySize): New helper methods
9907 for error checking.
9908
9909 * java/nio/ByteBufferHelper.java
9910 (checkRemainingForRead, checkRemainingForWrite,
9911 checkAvailableForRead, checkAvailableForWrite): Removed
9912 no longer needed methods.
9913
9914 2004-07-09 Michael Koch <konqueror@gmx.de>
9915
9916 * gnu/regexp/CharIndexedInputStream.java:
9917 Reordered imports to match classpath.
9918
9919 2004-07-09 Michael Koch <konqueror@gmx.de>
9920
9921 * gnu/java/awt/EmbeddedWindow.java:
9922 Load native library for setWindowPeer method.
9923
9924 2004-07-08 Randolph Chung <tausq@debian.org>
9925
9926 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
9927 * configure: Regenerate.
9928 * configure.host: Set can_unwind_signal for hppa*-linux.
9929 * include/pa-signal.h: New file.
9930
9931 2004-07-07 Per Bothner <per@bothner.com>
9932
9933 * Makefile.am: Add rules to build libgij from just gij.cc.
9934
9935 * include/jvm.h (namespace jcj): Declare verbose_class_flag
9936 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
9937 (initializeClass): If verbose_class_flag, print message.
9938 * gij.cc (main): Handle -verbose:class flag.
9939
9940 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
9941
9942 * configure.host: Enable hash synchronization on Darwin.
9943 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
9944 ';', since this is a comment on Darwin.
9945 (compare_and_swap_release): Likewise.
9946
9947 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
9948
9949 * java/net/URLStreamHandler.java (parseURL): Canonicalize
9950 file portion of URL in addition to spec for file: protocol.
9951
9952 2004-07-05 Anthony Green <green@redhat.com>
9953
9954 * java/io/File.java (toURI): Merge from Classpath.
9955
9956 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
9957
9958 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
9959 before passing to URL constructor. Rethrow any MalformedURLException
9960 as a RuntimeException. Catch MalformedURLException specifically, not
9961 all exceptions.
9962
9963 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
9964
9965 * java/util/Locale.java (readObject): Intern strings read from object
9966 stream.
9967
9968 2004-07-04 Michael Koch <konqueror@gmx.de>
9969
9970 * gnu/gcj/runtime/FirstThread.java,
9971 gnu/gcj/runtime/natFirstThread.cc: Removed.
9972 * gnu/java/lang/MainThread.java,
9973 gnu/java/lang/natMainThread.cc: New files.
9974 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
9975 * Makefile.am: Added new files and removed deleted ones.
9976 * Makefile.in: Regenerated.
9977
9978 2004-07-03 Mark Wielaard <mark@klomp.org>
9979 Anthony Green <green@redhat.com>
9980
9981 * java/net/URL.java (getFile): Clarify return value doc.
9982 (getPath): Return null if file is empty - not empty String.
9983 (set): Convert protocol to lower case before doing anything.
9984 Only change the protocol handler if it's different.
9985
9986 2004-07-03 Anthony Green <green@redhat.com>
9987
9988 * java/net/URL.java (URL): Convert protocol to lower case before
9989 doing anything, so we getURLStreamHandler() with the proper value.
9990
9991 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
9992
9993 * java/util/Locale.java (hashcode): Made transient.
9994 (hashCode): No longer synchronized.
9995 (equals): Remove comment.
9996 (writeObject): No longer synchronized. Implement using writeObject
9997 calls instead of tweaking hashCode field. Update doc.
9998 (readObject): Implement using readObject calls.
9999
10000 2004-06-26 Geoffrey Keating <geoffk@apple.com>
10001 Andreas Tobler <a.tobler@schweiz.ch>
10002
10003 * configure.host (powerpc-*-darwin*): New case, define
10004 can_unwind_signal.
10005 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
10006 * configure: Regenerate.
10007 * include/darwin-signal.h: New.
10008
10009 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
10010
10011 * java/beans/Statement.java (doExecute): Fix formatting.
10012
10013 2004-06-29 Per Bothner <per@bothner.com>
10014
10015 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
10016 etc etc): Remove needless parenthesis, which causes __stdcall__
10017 attribute on MinGW to get ignored.
10018
10019 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
10020
10021 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
10022
10023 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
10024
10025 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
10026
10027 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
10028
10029 * java/beans/Expression.java: New file.
10030 * java/beans/Statement.java: New file.
10031 * Makefile.am: Added new files.
10032 * Makefile.in: Re-generate.
10033
10034 2004-06-27 Mark Wielaard <mark@klomp.org>
10035
10036 * java/io/FilePermission.java (usingPerms): Removed.
10037 (actionsString): Made final.
10038 (cachePerms): Renamed to checkPerms.
10039 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
10040 on action String.
10041 (FilePermission): Check arguments, call checkPerms().
10042 (equals): Remove cachePerms() call.
10043 (implies): Likewise.
10044
10045 2004-06-27 Mark Wielaard <mark@klomp.org>
10046
10047 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
10048 final field.
10049 (sendRequest): Use new field in user-agent http agent.
10050
10051 2004-06-27 Mark Wielaard <mark@klomp.org>
10052
10053 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
10054 when argument is null.
10055
10056 2004-06-26 Mark Wielaard <mark@klomp.org>
10057
10058 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
10059 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
10060 GetMethodID call.
10061 (cancel_clicked): Likewise.
10062
10063 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
10064
10065 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
10066 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
10067 can not calculate the right value.
10068 (dpi_changed_cb): Likewise. Mark *pspec as unused.
10069
10070 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
10071
10072 * testsuite/libjava.jacks/jacks.xfail: Remove
10073 15.9.1-qualified-concrete-20.
10074
10075 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
10076
10077 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
10078 encoding name to iconv.
10079 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
10080
10081 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
10082
10083 PR libgcj/16134:
10084 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
10085 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
10086 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
10087
10088 2004-06-21 Andrew Haley <aph@redhat.com>
10089
10090 * java/io/ObjectOutputStream.java: Add DEBUG statements
10091 everywhere.
10092 (dumpElementln): New method.
10093 (depth): New field.
10094 * java/io/ObjectInputStream.java
10095 (currentClassLoader): Make native.
10096 (callersClassLoader): New field.
10097 (depth): New field.
10098 (readObject): ENDBLOCKDATA is generated if the class has a write
10099 method, not if it has a read method.
10100 (readObject): Save and restore this.currentObject and
10101 this.currentObjectStreamClass around calls to callReadMethod().
10102 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
10103 method.
10104
10105 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
10106
10107 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
10108 darwin.
10109
10110 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
10111
10112 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
10113 if desired, before the default class loader is initialised.
10114 Call INIT_SEGV only if HANDLE_SEGV is defined.
10115
10116 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
10117
10118 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
10119 directory only if it actually exists.
10120
10121 2004-06-18 Graydon Hoare <graydon@redhat.com>
10122
10123 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
10124 Fix up non-ansi comments.
10125
10126 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
10127
10128 * javax/swing/text/AbstractDocument.java: Adding missing import
10129 for javax.swing.event.EventListenerList.
10130 * javax/swing/text/DefaultCaret.java: Likewise.
10131
10132 2004-06-17 Michael Koch <konqueror@gmx.de>
10133
10134 * javax/swing/JToolBar.java
10135 (name): Removed.
10136 (JToolBar): Use Component.setName(String) instead of doing it all
10137 alone.
10138 * javax/swing/Timer.java
10139 (queueEvent): Added missing modifier.
10140
10141 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
10142
10143 * Makefile.am: Added new file.
10144 * Makefile.in: Re-generate.
10145 * javax/swing/JMenu.java:
10146 (insertSeparator): Implemented.
10147 * javax/swing/JPopupMenu.java:
10148 (JPopupMenu.Separator): Implemented.
10149 * javax/swing/MenuSelectionManager.java:
10150 (processMouseEvent): Use java.awt.Component
10151 for event source instead of javax.swing.JComponent.
10152 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
10153 New File. Implemented.
10154
10155 2004-06-16 David Jee <djee@redhat.com>
10156
10157 * java/awt/GridBagLayout.java
10158 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
10159 Make sure pos_x and pos_y are never negative.
10160
10161 2004-04-16 Andrew Overholt <overholt@redhat.com>
10162
10163 * Makefile.am: Add new file.
10164 * Makefile.in: Re-generate.
10165 * javax/swing/JToolBar.java
10166 Partially implemented.
10167 * javax/swing/plaf/basic/BasicToolBarUI.java
10168 New file. Partially implemented.
10169
10170 2004-06-16 Graydon Hoare <graydon@redhat.com>
10171
10172 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10173 (setComposite): Accept AlphaComposite arguments.
10174 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
10175 (createBufferedImage): Add new overloads.
10176 * gnu/java/awt/peer/gtk/GtkToolkit.java
10177 (createImage): Use GdkPixbufDecoder.createBufferedImage
10178 when useGraphics2D() is true.
10179 (getImage): Delegate to createImage.
10180 * javax/swing/JList.java
10181 (isSelectionEmpty):
10182 (getFirstVisibleIndex):
10183 (getLastVisibleIndex):
10184 (setSelectedValue):
10185 (ensureIndexIsVisible): New methods.
10186 * javax/swing/Timer.java: Reimplement.
10187
10188 2004-06-16 Michael Koch <konqueror@gmx.de>
10189
10190 * javax/swing/text/AbstractDocument.java
10191 (AbstracElement): Made public, implements java.io.Serializable.
10192 (AttributeContext): Made public.
10193 (BranchElement): Likewise.
10194 (Content): Likewise.
10195 (DefaultDocumentEvent): Made public, extends
10196 javax.swing.undo.CompoundEdit.
10197 (ElementEdit): Made public, extends
10198 javax.swing.undo.AbstractUndoableEdit.
10199 (LeafElement): Made public.
10200 (LeafElement.LeafElement): Made public.
10201
10202 2004-06-16 Michael Koch <konqueror@gmx.de>
10203
10204 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
10205 methods (that were obviously never be intended to get included hi this
10206 class. Added some methods too.
10207
10208 2004-06-16 Michael Koch <konqueror@gmx.de>
10209
10210 * javax/swing/text/PlainDocument.java
10211 (serialVersionUID): New constant.
10212 (lineLimitAttribute): Likewise.
10213 (tabSizeAttribute): Likewise.
10214 (tabSize): New field.
10215 (PlainDocument): Made public.
10216 (PlainDocument): New constructor.
10217
10218 2004-06-16 Michael Koch <konqueror@gmx.de>
10219
10220 * javax/swing/text/AbstractDocument.java
10221 (insertString): Throws BadLocationException.
10222 * javax/swing/text/Document.java
10223 (insertString): Likewise.
10224 * javax/swing/text/JTextComponent.java:
10225 Javadocs and comments cleaned up.
10226
10227 2004-06-16 Michael Koch <konqueror@gmx.de>
10228
10229 * javax/swing/event/UndoableEditListener.java: Reformatted.
10230 * javax/swing/text/AbstractDocument.java
10231 (AbstractDocument): Implements java.io.Serializable.
10232 (doc_list): Removed.
10233 (undo_list): Removed.
10234 (AbstractElement.serialVerionUID): New field.
10235 (BranchElement.serialVerionUID): Likewise.
10236 (DefaultDocumentEvent.serialVerionUID): Likewise.
10237 (ElementEdit.serialVerionUID): Likewise.
10238 (LeafElement.serialVerionUID): Likewise.
10239 (serialVerionUID): Likewise.
10240 (BAD_LOCATION): New constant.
10241 (BidiElementName): Likewise.
10242 (ContentElementName): Likewise.
10243 (ParagraphElementName): Likewise.
10244 (SectionElementName): Likewise.
10245 (ElementNameAttribute): Likewise.
10246 (AbstractDocument): Made protected.
10247 (AbstractDocument): New construtor.
10248 (listenerList): New field.
10249 (fireChangedUpdate): Implemented.
10250 (fireInsertUpdate): Likewise.
10251 (fireRemoveUpdate): Likewise.
10252 (fireUndoableEditUpdate): Likewise.
10253 (getListeners): Likewise.
10254 (addDocumentListener): Likewise.
10255 (removeDocumentListener): Likewise.
10256 (addUndoableEditListener): Likewise.
10257 (removeUndoableEditListener): Likewise.
10258 (getDocumentListeners): New method.
10259 (getUndoableEditListeners): Likewise.
10260 (getAsynchronousLoadPriority): Made public.
10261 (getBidiRootElement): Likewise.
10262 (setAsynchronousLoadPriority): Likewise.
10263 (setDocumentProperties): Likewise.
10264 * javax/swing/text/BadLocationException.java
10265 (serialVerionUID): New field.
10266 * javax/swing/text/DefaultCaret.java
10267 (changeEvent): New field.
10268 (listenerList): Likewise.
10269 (changes): Removed.
10270 (addChangeListener): Reimplemented.
10271 (removeChangeListener): Likewise.
10272 (getListeners): New method.
10273 (getChangeListeners): Likwise.
10274 (getComponent): Likewise.
10275 * javax/swing/text/GapContent.java
10276 (GapContent): Implements java.io.Serializable.
10277 (serialVerionUID): New field.
10278
10279 2004-06-16 Michael Koch <konqueror@gmx.de>
10280
10281 * javax/swing/JTree.java
10282 (treeModel): New field.
10283 (JTree): New constructors, one existing one made public.
10284 (createTreeModel): New method.
10285 (addTreeExpansionListener): Likewise.
10286 (removeTreeExpansionListener): Likewise.
10287 (getTreeExpansionListeners): Likewise.
10288 (fireTreeCollapsed): Likewise.
10289 (fireTreeExpanded): Likewise.
10290 (addTreeSelectionListener): Likewise.
10291 (removeTreeSelectionListener): Likewise.
10292 (getTreeSelectionListeners): Likewise.
10293 (fireValueChanged): Likewise.
10294 (addTreeWillExpandListener): Likewise.
10295 (removeTreeWillExpandListener): Likewise.
10296 (getTreeWillExpandListeners): Likewise.
10297 (fireTreeWillCollapse): Likewise.
10298 (fireTreeWillExpand): Likewise.
10299
10300 2004-06-16 Michael Koch <konqueror@gmx.de>
10301
10302 * javax/swing/JTree.java: Reformatted.
10303
10304 2004-06-16 Michael Koch <konqueror@gmx.de>
10305
10306 * javax/swing/JTextArea.java: New file.
10307 * javax/swing/JTextField.java
10308 (actions): Removed.
10309 (notifyAction): New constant.
10310 (columns): New field.
10311 (JTextField): New constructors.
10312 (createDefaultModel): New method.
10313 (addActionListener): Reimplmemented.
10314 (removeActionListener): Reimplemented.
10315 (getActionListeners): New method.
10316 (fireActionPerformed): New method.
10317 (getColumns): New method.
10318 (setColumne): New method.
10319 * javax/swing/text/JTextComponent.java
10320 (AccessibleJTextComponent.serialVersionUID): New field.
10321 (serialVersionUID): Likewise.
10322 (DEFAULT_KEYMAP): Likewise.
10323 (FOCUS_ACCELERATOR_KEY): Likewise.
10324 (doc): Made private.
10325 (icon_gap): Likewise.
10326 (icon): Likewise.
10327 (align): Likewise.
10328 (JTextComponent): Some constructors removed.
10329 (getScrollableTracksViewportHeight): New method.
10330 (getScrollableTracksViewportWidth): Likewise.
10331 * Makefile.am: Added javax/swing/JTextArea.java.
10332 * Makefile.in: Regenerated.
10333
10334 2004-06-15 Graydon Hoare <graydon@redhat.com>
10335
10336 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
10337 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
10338 * javax/swing/JViewport.java
10339 (getExtentSize): Return size rather than preferred size.
10340 (toViewCoordinates): New methods.
10341 (getViewSize): Return size rather than preferred size.
10342 (setViewSize): Note view size as set.
10343 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
10344 * javax/swing/plaf/basic/BasicScrollBarUI.java
10345 (getPreferredSize): Don't redo layout.
10346 * javax/swing/plaf/basic/BasicViewportUI.java
10347 (paint): Translate image properly and eat exceptions.
10348
10349 2004-06-15 Kim Ho <kho@redhat.com>
10350
10351 * javax/swing/JTabbedPane.java
10352 (setComponent): Remove old component and
10353 add new component.
10354 (setSelectedIndex): Don't operate on the
10355 components if they're null. Don't set index
10356 on the model if the index is the same.
10357 (insertTab): Don't add or hide the component
10358 if it's null. Repaint the container.
10359 * javax/swing/plaf/basic/BasicLookAndFeel.java
10360 Change colors for TabbedPane.
10361 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
10362 (mousePressed): Re-layout and paint the component.
10363 (layoutContainer): Don't set location on the view.
10364 (ScrollingViewport::paint): Remove.
10365
10366 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
10367
10368 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10369 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
10370
10371 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
10372 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
10373 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
10374 critical region.
10375 (drawLine): Call gdk_flush before leaving GDK critical region.
10376 (fillRect): Likewise.
10377 (drawRect): Likewise.
10378 (copyArea): Likewise.
10379 (copyPixmap): Likewise.
10380 (clearRect): Likewise.
10381 (drawArc): Likewise.
10382 (drawPolyline): Likewise.
10383 (drawPolygon): Likewise.
10384 (fillPolygon): Likewise.
10385 (fillArc): Likewise.
10386 (drawOval): Likewise.
10387 (fillOval): Likewise.
10388
10389 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
10390 style parameter.
10391 (GdkFontMetrics): Add style argument to initState call.
10392 (stringWidth(String,int,int,String)): Add style parameter.
10393 (stringWidth(String)): Add style argument to stringWidth call.
10394 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
10395 (initState): Set pango font style and weight based on AWT style
10396 parameter. Pass default GTK language to
10397 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
10398 simply dividing by PANGO_SCALE.
10399 (stringWidth): Set pango font style and weight based on AWT style
10400 parameter.
10401
10402 * java/awt/Button.java (next_button_number): New field.
10403 (paramString): Change output.
10404 (generateName): New method.
10405 (getUniqueLong): New method.
10406
10407 2004-06-14 Kim Ho <kho@redhat.com>
10408
10409 * javax/swing/JTabbedPane.java:
10410 (setComponentAt): Set the component, not
10411 the enabled status.
10412 * javax/swing/plaf/basic/BasicDesktopIconUI.java
10413 (actionPerformed): Let deiconize catch exception.
10414
10415 2004-06-14 Olga Rodimina <rodimina@redhat.com>
10416
10417 * javax/swing/JPopupMenu.java:
10418 (setVisible): Corrected location of a
10419 heavyweight popup menu.
10420
10421 2004-06-14 Olga Rodimina <rodimina@redhat.com>
10422
10423 * javax/swing/MenuSelectionManager.java:
10424 Ran through jalopy to fix formatting style.
10425
10426 2004-06-14 Olga Rodimina <rodimina@redhat.com>
10427
10428 * javax/swing/JLayeredPane.java:
10429 (remove): Revalidate and repaint layered pane after
10430 the component was removed.
10431 javax/swing/JMenu.java:
10432 (setVisible): Display popup menu at the user location,
10433 if one was set by the user.
10434 (setMenuLocation): Reimplemented. Fixed javadoc.
10435 * javax/swing/JMenuBar.java: Added javadoc.
10436 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
10437 (MODEL_CHANGED_PROPERTY): New Property.
10438 (isSelected): Implemented.
10439 (setBorderPainted): Fire PropertyChangeEvent
10440 if paintBorder property changes.
10441 (setSelected): Implemented.
10442 (setSelectionModel): Implemented.
10443 * javax/swing/JPopupMenu.java: Added Javadoc
10444 (pack): Implemented.
10445 (setVisible): Reimplemented.
10446 (show): Fixed location.
10447 (JPopupMenu.LigthWeightPopup): Reimplemented to use
10448 Container instead of JPanel.
10449 * javax/swing/MenuSelectionManager.java: Added Javadocs.
10450 (clearSelectedPath): Reimplemented to clear selectedPath
10451 in reverse order.
10452 (processMouseEvent): Reimplemented.
10453 (setSelectedPath): Fire stateChange event indicating that
10454 selected menu path has changed.
10455 (getPath): Change to use ArrayList instead of Vector.
10456 * javax/swing/plaf/basic/BasicMenuBarUI.java:
10457 (installUI): call installKeyboardActions().
10458 (uninstallUI): call uninstallKeyboardActions().
10459
10460 2004-06-13 Michael Koch <konqueror@gmx.de>
10461
10462 * javax/swing/text/DefaultCaret.java,
10463 javax/swing/text/BadLocationException.java:
10464 Reformatted.
10465
10466 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
10467
10468 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
10469 DEFAULT_COLS): New variables.
10470 (create): Don't allow 0 rows or 0 columns. Instead, set the
10471 values to DEFAULT_ROWS or DEFAULT_COLS.
10472 (getMinimumSize): Likewise.
10473 (getPreferredSize): Likewise.
10474 (minimumSize): Likewise.
10475 (preferredSize): Likewise.
10476 (create): Set peer's editable state.
10477 * java/awt/TextArea.java (TextArea()): Set rows and columns to
10478 zero. Update javadocs.
10479 (TextArea(String)): Likewise.
10480 (TextArea(int,int)): Fix javadocs.
10481 (TextArea(String,int,int,int)): Only throw exception if one of
10482 rows or columns is zero. Fix javadocs.
10483
10484 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
10485
10486 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
10487 addition to Components.
10488
10489 * java/awt/MenuItem.java (dispatchEventImpl): If the event
10490 wasn't consumed by normal processing, send it to the parent
10491 menu.
10492
10493 * gnu/java/awt/peer/gtk/GtkImagePainter.java
10494 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
10495 translation.
10496
10497 2004-06-11 David Jee <djee@redhat.com>
10498
10499 * java/awt/MediaTracker.java
10500 (addImage(Image,int)): Call imageUpdate() to udpate image status.
10501 (addImage(Image,int,int,int)): Likewise.
10502
10503 2004-06-11 Michael Koch <konqueror@gmx.de>
10504
10505 * javax/swing/text/AbstractDocument.java,
10506 javax/swing/text/Document.java,
10507 javax/swing/text/GapContent.java,
10508 javax/swing/text/JTextComponent.java,
10509 javax/swing/text/PlainDocument.java:
10510 Reformatted.
10511
10512 2004-06-11 Michael Koch <konqueror@gmx.de>
10513
10514 * javax/swing/JRootPane.java
10515 (AccessibleJRootPane.serialVersionUID): New field.
10516 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
10517 (AccessibleJRootPane.getAccessibleRole): New method.
10518 (RootLayout): Implements Serializable.
10519 (RootLayout.serialVersionUID): New field.
10520 (RootLayout.RootLayout): New constructor.
10521 (setJMenuBar): Made public.
10522 (getJMenuBar): Likewise.
10523 (JRootPane): Likewise.
10524 (createContentPane): Likewise.
10525 (createGlassPane): Likewise.
10526 (createLayeredPane): Likewise.
10527
10528 2004-06-11 Michael Koch <konqueror@gmx.de>
10529
10530 * javax/swing/SwingUtilities.java
10531 (isLeftMouseButton): Fixed javadoc.
10532 (isMiddleMouseButton): Likewise.
10533 (isRightMouseButton): Likewise.
10534
10535 2004-06-11 Michael Koch <konqueror@gmx.de>
10536
10537 * javax/swing/JScrollPane.java
10538 (serialVersionUID): New field.
10539 (columnHeader): Made protected.
10540 (rowHeader): Likewise.
10541 (lowerLeft): Likewise.
10542 (lowerRight): Likewise.
10543 (upperLeft): Likewise.
10544 (upperRight): Likewise.
10545 (horizontalScrollBar): Likewise.
10546 (horizontalScrollBarPolicy): Likewise.
10547 (verticalScrollBar): Likewise.
10548 (verticalScrollBarPolicy): Likewise.
10549 (viewport): Likewise.
10550
10551 2004-06-11 Michael Koch <konqueror@gmx.de>
10552
10553 * javax/swing/LookAndFeel.java: Fixed javadocs.
10554
10555 2004-06-11 Michael Koch <konqueror@gmx.de>
10556
10557 * javax/swing/JEditorPane.java: Fixed javadocs.
10558 (JEditorPane): Removed redundant call to to this().
10559 (fireHyperlinkUpdate): Implemented.
10560
10561 2004-06-10 Olga Rodimina <rodimina@redhat.com>
10562
10563 * javax/swing/JMenu.java: Fixed file name
10564 in the file comment.
10565
10566 2004-06-10 Olga Rodimina <rodimina@redhat.com>
10567
10568 * javax/swing/JMenu.java: Added javadoc.
10569 (JMenu): Added MenuChangeListener to listen to
10570 ChangeEvents occuring in menu's model.
10571 (insert): Throw IllegalArgumentException if
10572 index is less than 0
10573 (setSelected): Reimplement.
10574 (setPopupMenuVisible): Call menu's model isEnabled()
10575 (setDelay): Throw IllegalArgumentException if
10576 given amount of delay is less than 0.
10577 (createActionComponent): Implemented.
10578 (createActionChangeListener): Implemented.
10579 (addSeparator): Implemented.
10580 (getItem): Throw IllegalArgumentException if index is
10581 less than 0.
10582 (getItemCount): Implemented.
10583 (fireMenuSelected): Changed to use menuEvent.
10584 (fireMenuDeselected): Likewise.
10585 (fireMenuCanceled): Likewise.
10586 (setAccelerator): Changed to throw an error if this
10587 method is used.
10588 (doClick): Implemented.
10589 (JMenu.ActionChangedListener): New inner class to handle
10590 PropertyChangeEvents occuring in the actions associated with menu.
10591 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
10592 (BasicMenuUI): Added PropertyChangeListener to the menu.
10593 (createChangeListener): Implemented.
10594 (createMenuDragMouseListener): Likewise.
10595 (createMenuKeyListener): Likewise.
10596 (createPropertyChangeListener): Likewise.
10597 (uninstallListeners): Likewise.
10598 (BasicMenuUI.MouseInputHandler): Reimplemented.
10599 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
10600 (BasicMenuUI.ChangeHandler): Likewise.
10601 (BasicMenuUI.MenuDragMouseHandler): Likewise.
10602 (BasicMenuUI.MenuKeyHandler): Likewise.
10603
10604 2004-06-10 David Jee <djee@redhat.com>
10605
10606 * java/awt/MediaTracker.java
10607 (imageUpdate): Only do notifyAll() if the image is complete.
10608
10609 2004-06-10 Olga Rodimina <rodimina@redhat.com>
10610
10611 * javax/swing/JApplet.java:
10612 (getJMenuBar): Made public.
10613 (setJMenuBar): Likewise.
10614 * javax/swing/JFrame.java:
10615 (getJMenuBar): Made public.
10616 (setJMenuBar): Likewise.
10617 * javax/swing/JWindow.java:
10618 (getJMenuBar): Removed.
10619 (setJMenuBar): Removed.
10620
10621 2004-06-10 Michael Koch <konqueror@gmx.de>
10622
10623 * javax/swing/JEditorPane.java
10624 (createEditorKitForContentType): Fixed visibility.
10625 (fireHyperlinkUpdate): Likewise.
10626 (getContentType): Likewise.
10627 (getEditorKit): Likewise.
10628 (getEditorKitForContentType): Likewise.
10629 (getPage): Likewise.
10630 (read): Likewise.
10631 (registerEditorKitForContentTyoe): Likewise.
10632 (replaceSelection): Likewise.
10633 (setContentType): Likewise.
10634 (setEditorKit): Likewise.
10635 (setPage): Likewise.
10636
10637 2004-06-10 Michael Koch <konqueror@gmx.de>
10638
10639 * javax/swing/Timer.java
10640 (Timer): New constructor.
10641 * javax/swing/plaf/basic/BasicProgressBarUI.java
10642 (animationTimer): Don't initialize at construction.
10643 (startAnimationTimer): Added since tag.
10644 (stopAnimationTimer): Likewise.
10645 (installUI): Use new Timer constructor.
10646 * javax/swing/plaf/basic/BasicScrollBarUI.java
10647 (installUI): Likewise.
10648 * javax/swing/plaf/basic/BasicSliderUI.java
10649 (installUI): Likewise.
10650
10651 2004-06-10 Michael Koch <konqueror@gmx.de>
10652
10653 * javax/swing/ButtonGroup.java
10654 (serialVersionUID): Made private.
10655 (buttons): Renamed from v, added javadoc.
10656 (sel): Added javadoc.
10657 (ButtonGroup): Likewise.
10658 (add): Likewise.
10659 (remove): Likewise.
10660 (getElements): Likewise.
10661 (getSelection): Likewise.
10662 (setSelected): Likewise.
10663 (isSelected): Likewise.
10664 (getButtonCount): Likewise.
10665
10666 2004-06-10 Michael Koch <konqueror@gmx.de>
10667
10668 * javax/swing/ButtonGroup.java,
10669 javax/swing/ImageIcon.java,
10670 javax/swing/JEditorPane.java,
10671 javax/swing/JRootPane.java,
10672 javax/swing/JTextField.java,
10673 javax/swing/LookAndFeel.java,
10674 javax/swing/plaf/basic/BasicTextUI.java:
10675 Reindented.
10676
10677 2004-06-10 Michael Koch <konqueror@gmx.de>
10678
10679 * javax/swing/text/Style.java: Added javadocs.
10680
10681 2004-06-10 Michael Koch <konqueror@gmx.de>
10682
10683 * javax/swing/JComponent.java
10684 (fireVetoableChange): Removed redundant cast.
10685 * javax/swing/JLabel.java
10686 (getDisabledIcon): Save icon for next call.
10687
10688 2004-06-10 Michael Koch <konqueror@gmx.de>
10689
10690 * javax/swing/KeyStroke.java
10691 (getKeyStroke(char,boolean)): Marked deprecated.
10692
10693 2004-06-10 Michael Koch <konqueror@gmx.de>
10694
10695 * javax/swing/DefaultCellEditor.java,
10696 javax/swing/GrayFilter.java,
10697 javax/swing/event/DocumentEvent.java,
10698 javax/swing/text/JTextComponent.java,
10699 javax/swing/text/MutableAttributeSet.java:
10700 Reindented.
10701
10702 2004-06-10 Michael Koch <konqueror@gmx.de>
10703
10704 * javax/swing/plaf/BorderUIResource.java:
10705 Added serialVersionUID all over.
10706
10707 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
10708
10709 * javax/swing/undo/UndoManager.java: Re-written from scratch.
10710
10711 2004-06-10 Michael Koch <konqueror@gmx.de>
10712
10713 * javax/swing/table/DefaultTableCellRenderer.java
10714 (noFocusBorder): Initialize directly.
10715
10716 2004-06-10 Michael Koch <konqueror@gmx.de>
10717
10718 * javax/swing/plaf/basic/BasicArrowButton.java
10719 (setDirection): Use method argument.
10720
10721 2004-06-10 Michael Koch <konqueror@gmx.de>
10722
10723 * javax/swing/plaf/BorderUIResource.java,
10724 javax/swing/plaf/ComponentUI.java,
10725 javax/swing/undo/CompoundEdit.java,
10726 javax/swing/undo/StateEdit.java:
10727 Fixed javadocs all over.
10728
10729 2004-06-10 Michael Koch <konqueror@gmx.de>
10730
10731 * javax/swing/DefaultButtonModel.java
10732 (ARMED): Made public final, fixed value.
10733 (ENABLED): Likewise.
10734 (PRESSED): Likewise.
10735 (ROLLOVER): Likewise.
10736 (SELECTED): Likewise.
10737 (stateMask): Initialize directly.
10738 (listenerList): Likewise.
10739 (mnemonic): Likewise.
10740 (fireStateChanged): Removed argument, use changeEvent as event.
10741 All places where this method is called are fixed too.
10742 (getActionCommant): Fixed javadoc.
10743 (setGroup): Fixed javadoc.
10744 (getGroup): New method.
10745
10746 2004-06-09 Olga Rodimina <rodimina@redhat.com>
10747
10748 * javax/swing/AbstractButton.java
10749 (AbstractButton): Use init() to initialize the button.
10750 (init): New Method. Initializes AbstractButton.
10751 * javax/swing/JMenuItem.java: Documented.
10752 (JMenuItem): Reimplemented.
10753 (init): Implemented.
10754 (setEnabled): Changed to call super.setEnabled()
10755 (processMouseEvent): Reimplemented.
10756 (fireMenuKeyPressed): Implemented.
10757 (fireMenuKeyReleased): Implemented.
10758 (fireMenuKeyTyped): Implemented.
10759 (menuSelectionChanged): disarm the model if the menu item was
10760 deselected.
10761 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
10762 (getPath): Change to use ArrayList instead of Vector.
10763 (getPreferredSize): Renamed variable.
10764 (paintMenuItem): Paint margin area of menu item.
10765 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
10766 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
10767 menu item's bounds before clearing the selection.
10768
10769 2004-06-09 David Jee <djee@redhat.com>
10770
10771 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
10772 (GtkTextComponentPeer): Set caret position to 0.
10773 * java/awt/TextComponent.java
10774 (setText): Set caret position to 0.
10775 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10776 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10777 Handle GtkScrolledWindow separately. Fix signal handler blocking.
10778 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10779 Likewise.
10780 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10781 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
10782 visible.
10783
10784 2004-06-09 Kim Ho <kho@redhat.com>
10785
10786 * Makefile.am: New files
10787 * Makefile.in: Regenerated
10788 * java/awt/Container.java
10789 (getComponentAt): Removed.
10790 * javax/swing/AbstractAction.java
10791 (ENABLED_PROPERTY): New property.
10792 (putValue): Fire PropertyChangeEvents.
10793 (setEnabled): ditto.
10794 (firePropertyChange): Javadoc and implement
10795 convenience method.
10796 * javax/swing/AbstractButton.java
10797 (setAction): Don't create PropertyChangeListener
10798 if new Action is null.
10799 (setIcon): Don't set icon till after comparing
10800 it.
10801 (configurePropertiesFromAction): Check mnemonic
10802 key before calling intValue().
10803 (createActionPropertyChangeListener): Check
10804 properties rather than bulk change.
10805 * javax/swing/DefaultDesktopManager.java:
10806 Implement.
10807 * javax/swing/DesktopManager.java:
10808 Jalopy and javadoc.
10809 * javax/swing/JComponent.java
10810 (fireVetoableChange): Implement.
10811 (paintImmediately): Use root component.
10812 * javax/swing/JDesktopPane.java: Implement
10813 * javax/swing/JInternalFrame.java: Implement
10814 * javax/swing/JLabel.java
10815 (getDisabledIcon): Return grayscaled icon if
10816 no disabled icon specified.
10817 * javax/swing/JMenuBar.java
10818 (getComponentAtIndex): Use getComponent
10819 * javax/swing/JOptionPane.java
10820 (getDesktopPaneForComponent): Use SwingUtilities'
10821 getAncestorOfClass
10822 (getFrameForComponent): ditto.
10823 * javax/swing/JSplitPane.java
10824 (remove): Use getComponent.
10825 * javax/swing/SwingUtilities.java
10826 (convertPoint): Implement.
10827 * javax/swing/plaf/basic/BasicButtonUI.java
10828 (paintButtonNormal): Check opaqueness before
10829 filling background.
10830 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
10831 Implement
10832 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
10833 Implement.
10834 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
10835 Implement.
10836 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
10837 Implement.
10838 * javax/swing/plaf/basic/BasicLookAndFeel.java:
10839 Change InternalFrame and Desktop colors.
10840
10841 2004-06-09 David Jee <djee@redhat.com>
10842
10843 * java/awt/Container.java
10844 (remove): Do not set component to invisible.
10845
10846 2004-06-09 Michael Koch <konqueror@gmx.de>
10847
10848 * javax/swing/tree/DefaultMutableTreeNode.java
10849 (getLeafCount): Renamed enum to e.
10850
10851 2004-06-09 Michael Koch <konqueror@gmx.de>
10852
10853 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
10854 (positionForMouseEvent): Removed redundant semicolon.
10855 (continueDrag): Use method arguments.
10856
10857 2004-06-09 Michael Koch <konqueror@gmx.de>
10858
10859 * javax/swing/border/TitledBorder.java,
10860 javax/swing/filechooser/FileSystemView.java,
10861 javax/swing/plaf/basic/BasicButtonListener.java,
10862 javax/swing/plaf/basic/BasicGraphicsUtils.java,
10863 javax/swing/plaf/basic/BasicLabelUI.java,
10864 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
10865 javax/swing/plaf/basic/BasicScrollBarUI.java,
10866 javax/swing/plaf/basic/BasicScrollPaneUI.java,
10867 javax/swing/plaf/basic/BasicSliderUI.java,
10868 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
10869 javax/swing/plaf/basic/BasicToggleButtonUI.java,
10870 javax/swing/table/JTableHeader.java,
10871 javax/swing/text/AbstractDocument.java,
10872 javax/swing/text/DefaultCaret.java,
10873 javax/swing/text/StyledEditorKit.java,
10874 javax/swing/tree/DefaultTreeCellEditor.java:
10875 Reworked import statements.
10876
10877 2004-06-08 Graydon Hoare <graydon@redhat.com>
10878
10879 * javax/swing/Box.java: Temporarily comment out code
10880 broken due to visibility bug.
10881
10882 2004-06-09 Michael Koch <konqueror@gmx.de>
10883
10884 * javax/swing/ImageIcon.java
10885 (ImageIcon): Added missing constructor.
10886
10887 2004-06-08 Michael Koch <konqueror@gmx.de>
10888
10889 * javax/swing/JToggleButton.java
10890 (JToggleButton): New constructor.
10891 (getAccessibleContext): Moved documentation into javadoc.
10892 (getUIClassID): Likewise.
10893
10894 2004-06-08 Michael Koch <konqueror@gmx.de>
10895
10896 * javax/swing/AbstractButton.java
10897 (getDisabledIcon): Create disabled icon if none exists yet.
10898
10899 2004-06-08 Michael Koch <konqueror@gmx.de>
10900
10901 * javax/swing/plaf/basic/BasicLookAndFeel.java
10902 (initClassDefaults): Added FormattedTextFieldUI.
10903 (loadResourceBundle): Renamed enum to e.
10904
10905 2004-06-08 Michael Koch <konqueror@gmx.de>
10906
10907 * javax/swing/plaf/basic/BasicButtonUI.java
10908 (paintIcon): Simplified.
10909 (paintText): Paint disabled button correctly.
10910
10911 2004-06-08 Michael Koch <konqueror@gmx.de>
10912
10913 * javax/swing/JComponent.java
10914 (createToolTip): Use official JToolTip API.
10915
10916 2004-06-08 Michael Koch <konqueror@gmx.de>
10917
10918 * javax/swing/JToolTip.java
10919 (JToolTip): No arguments in API.
10920 (setTipText): New method.
10921
10922 2004-06-08 Michael Koch <konqueror@gmx.de>
10923
10924 * javax/swing/SwingUtilities.java
10925 (isLeftMouseButton): New method.
10926 (isMiddleMouseButton): New method.
10927 (isRightMouseButton): New method.
10928
10929 2004-06-08 Michael Koch <konqueror@gmx.de>
10930
10931 * javax/swing/AbstractButton.java,
10932 javax/swing/CellRendererPane.java,
10933 javax/swing/JCheckBoxMenuItem.java,
10934 javax/swing/JColorChooser.java,
10935 javax/swing/JComboBox.java,
10936 javax/swing/JComponent.java,
10937 javax/swing/JDesktopPane.java,
10938 javax/swing/JFileChooser.java,
10939 javax/swing/JMenu.java,
10940 javax/swing/JMenuItem.java,
10941 javax/swing/JOptionPane.java,
10942 javax/swing/JPasswordField.java,
10943 javax/swing/JPopupMenu.java,
10944 javax/swing/JProgressBar.java,
10945 javax/swing/JRadioButtonMenuItem.java,
10946 javax/swing/JScrollBar.java,
10947 javax/swing/JSeparator.java,
10948 javax/swing/JSlider.java,
10949 javax/swing/JSplitPane.java,
10950 javax/swing/JTabbedPane.java,
10951 javax/swing/JTextField.java,
10952 javax/swing/JToolBar.java,
10953 javax/swing/text/JTextComponent.java:
10954 Fixed all constructors of accessibility classes.
10955
10956 2004-06-08 Michael Koch <konqueror@gmx.de>
10957
10958 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
10959 over.
10960
10961 2004-06-08 Michael Koch <konqueror@gmx.de>
10962
10963 * javax/swing/Box.java
10964 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
10965 (AccessibleBoxFiller.serialVersionUID): New member variable.
10966 * javax/swing/DefaultButtonModel.java
10967 (stateMask): Made protected.
10968 (listenerList): Likewise.
10969 (changeEvent): Likewise.
10970 (group): Likewise.
10971 (mnemonic): Likewise.
10972 (actionCommand): Likewise.
10973 (getListeners): New method.
10974 (getActionListeners): New method.
10975 (getItemListeners): New method.
10976 (getChangeListeners): New method.
10977 (fireItemStateChanged): Simplified.
10978 (fireActionPerformed): Simplified.
10979 (fireStateChanged): Simplified.
10980 * javax/swing/JFrame.java
10981 (JFrame): Implements WindowContants.
10982 (HIDE_ON_CLOSE): Removed.
10983 (EXIT_ON_CLOSE): Removed.
10984 (DISPOSE_ON_CLOSE): Removed.
10985 (DO_NOTHING_ON_CLOSE): Removed.
10986 (processWindowEvent): Exit with code 0.
10987 (setDefaultCloseOperation): Do security check before setting value.
10988 * javax/swing/JOptionPane.java
10989 (message): Initialize only in constructor.
10990 * javax/swing/JToolTip.java: Removed unused imports.
10991 * javax/swing/JViewport.java
10992 (serialVersionUID): New member variable.
10993 (SIMPLE_SCROLL_MODE): Made final, fixed value.
10994 (BLIT_SCROLL_MODE): Likewise.
10995 (BACKINGSTORE_SCROLL_MODE): Likewise.
10996 (scrollUnderway): Made protected.
10997 (isViewSizeSet): Likewise.
10998 * javax/swing/ListModel.java: Fixed javadoc.
10999 * javax/swing/Popup.java: Likewise.
11000 * javax/swing/RepaintManager.java
11001 (paintDirtyRegions): Don't use internal classes of
11002 java.util.AbstractMap.
11003 * javax/swing/ScrollPaneConstants.java: Reindented.
11004 * javax/swing/ScrollPaneLayout.java
11005 (viewport): Made protected.
11006 (verticalScrollBar): Made protected, renamed to vsb.
11007 (horizontalScrollBar): Made protected, renamed to hsb.
11008 (rowHeader): Made protected, renamed to rowHead.
11009 (columnHeader): Made protected, renamed to colHead.
11010 (lowerLeft): Made protected.
11011 (lowerRight): Made protected.
11012 (upperLeft): Made protected.
11013 (upperRight): Made protected.
11014 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
11015 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
11016
11017 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
11018
11019 * java/awt/MediaTracker.java (imageUpdate): Only set status to
11020 LOADING if flags has SOMEBITS set.
11021
11022 2004-06-07 Michael Koch <konqueror@gmx.de>
11023
11024 * javax/swing/AbstractButton.java: Reorganized imports.
11025 * javax/swing/ActionMap.java: Likewise.
11026 * javax/swing/DefaultButtonModel.java: Likewise.
11027 * javax/swing/DefaultListModel.java: Likewise.
11028 * javax/swing/ImageIcon.java: Likewise.
11029 (serialVersionUID): New member variable.
11030 * javax/swing/JComboBox.java: Reorganized imports.
11031 * javax/swing/JComponent.java: Likewise.
11032 (ui): Made protected.
11033 (listenerList): Made protected.
11034 (TOOL_TIP_TEXT_KEY): New constant.
11035 (scrollRectToVisible): Removed redundant null check.
11036 * javax/swing/JFrame.java: Reorganized imports.
11037 * javax/swing/JInternalFrame.java: Reorganized imports.
11038 * javax/swing/JProgressBar.java: Likewise.
11039 * javax/swing/JRootPane.java: Likewise.
11040 * javax/swing/JScrollBar.java: Likewise.
11041 * javax/swing/JSeparator.java: Likewise.
11042 * javax/swing/JSlider.java: Likewise.
11043 * javax/swing/JTabbedPane.java: Likewise.
11044 * javax/swing/JTextField.java: Likewise.
11045 * javax/swing/JToolBar.java: Likewise.
11046 * javax/swing/JTree.java: Likewise.
11047 * javax/swing/JViewport.java: Likewise.
11048 * javax/swing/JWindow.java: Likewise.
11049 * javax/swing/KeyStroke.java: Likewise.
11050 * javax/swing/LookAndFeel.java: Likewise.
11051 * javax/swing/MenuSelectionManager.java: Likewise.
11052 * javax/swing/SwingUtilities.java: Likewise.
11053 * javax/swing/Timer.java: Likewise.
11054 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
11055 * javax/swing/JList.java
11056 (HORIZONTAL_WRAP): Made final, fixed value.
11057 (VERTICAL): Likewise.
11058 (VERTICAL_WRAP): Likewise.
11059
11060 2004-06-07 Michael Koch <konqueror@gmx.de>
11061
11062 * javax/swing/AbstractButton.java
11063 (serialVersionUID): New member variable.
11064 (AccessibleAbstractButton.serialVersionUID): Likewise.
11065 (AbstractButton): Made public.
11066 * javax/swing/Box.java
11067 (AccessibleBox.serialVersionUID): New member variable.
11068 (Filler.serialVersionUID): Likewise.
11069 * javax/swing/DefaultListSelectionModel.java
11070 (serialVersionUID): Likewise.
11071 * javax/swing/JApplet.java
11072 (serialVersionUID): Likewise.
11073 * javax/swing/JCheckBox.java
11074 (serialVersionUID): Likewise.
11075 * javax/swing/JCheckBoxMenuItem.java
11076 (serialVersionUID): Likewise.
11077 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
11078 * javax/swing/JColorChooser.java
11079 (serialVersionUID): Likewise.
11080 (AccessibleJColorChooser.serialVersionUID): Likewise.
11081 * javax/swing/JComponent.java
11082 (serialVersionUID): Made private.
11083 (AccessibleJComponent.serialVersionUID): New member variable.
11084 * javax/swing/JDesktopPane.java
11085 (serialVersionUID): Likewise.
11086 * javax/swing/JDialog.java
11087 (serialVersionUID): Likewise.
11088 * javax/swing/JFormattedTextField.java
11089 (serialVersionUID): Fixed value.
11090 * javax/swing/JFrame.java
11091 (serialVersionUID): New member variable.
11092 (getDefaultCloseOpertation): Made public.
11093 * javax/swing/JLayeredPane.java
11094 (serialVersionUID): Likewise.
11095 (LAYER_PROPERTY): Made final, fixed value.
11096 (JLayeredPane): Made public.
11097 * javax/swing/JMenu.java
11098 (AccessibleJMenu.serialVersionUID): New member variable.
11099 (WinListener.serialVersionUID): Likewise.
11100 * javax/swing/JMenuBar.java
11101 (serialVersionUID): Likewise.
11102 (getComponentAtIndex): Added @deprecated tag.
11103 * javax/swing/JMenuItem.java
11104 (serialVersionUID): New member variable.
11105 (AccessibleJMenuItem.serialVersionUID): Likewise.
11106 * javax/swing/JOptionPane.java
11107 (serialVersionUID): Likewise.
11108 (AccessibleJOptionPane.serialVersionUID): Likewise.
11109 * javax/swing/JPopupMenu.java
11110 (serialVersionUID): Likewise.
11111 (AccessibleJPopupMenu.serialVersionUID): Likewise.
11112 (getPopupMenuListeners): New method.
11113 (getComponentAtIndex): Added @deprecated tag.
11114 * javax/swing/JProgressBar.java
11115 (serialVersionUID): New member variable.
11116 (AccessibleJProgressBar.serialVersionUID): Likewise.
11117 * javax/swing/JRadioButton.java
11118 (serialVersionUID): Likewise.
11119 * javax/swing/JRadioButtonMenuItem.java
11120 (serialVersionUID): Likewise.
11121 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
11122 * javax/swing/JScrollBar.java
11123 (serialVersionUID): Likewise.
11124 (AccessibleJScrollBar.serialVersionUID): Likewise.
11125 * javax/swing/JSeparator.java
11126 (serialVersionUID): Likewise.
11127 (AccessibleJSeparator.serialVersionUID): Likewise.
11128 * javax/swing/JSlider.java: Fixed javadocs.
11129 (AccessibleJSlider.serialVersionUID): New member variable.
11130 * javax/swing/JSplitPane.java: Added copyright statement.
11131 (serialVersionUID): New member variable.
11132 (AccessibleJSplitPane.serialVersionUID): Likewise.
11133 * javax/swing/JTabbedPane.java
11134 (serialVersionUID): Likewise.
11135 (AccessibleJTabbedPane.serialVersionUID): Likewise.
11136 (ModelListener.serialVersionUID): Likewise.
11137 (ModelListener.ModelListener): New constructor.
11138 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
11139 (WRAP_TAB_LAYOUT): Likewise.
11140 * javax/swing/JTable.java
11141 (serialVersionUID): New member variable.
11142 * javax/swing/JToggleButton.java
11143 (serialVersionUID): Likewise.
11144 (ToggleButtonModel): Made static.
11145 (ToggleButtonModel.serialVersionUID): New member variable.
11146 * javax/swing/JToolTip.java
11147 (serialVersionUID): Likewise.
11148 * javax/swing/JTree.java
11149 (serialVersionUID): Likewise.
11150 * javax/swing/JWindow.java
11151 (serialVersionUID): Likewise.
11152 * javax/swing/Timer.java
11153 (serialVersionUID): Likewise.
11154
11155 2004-06-06 Michael Koch <konqueror@gmx.de>
11156
11157 * javax/swing/SwingConstants.java
11158 (NEXT): New constant.
11159 (PREVIOUS): Likewise.
11160 * javax/swing/UIManager.java
11161 (LookAndFeel): Made public.
11162 (LookAndFeel.getClassName): Likewise.
11163 (LookAndFeel.getName): Likewise.
11164
11165 2004-06-02 Olga Rodimina <rodimina@redhat.com>
11166
11167 * javax/swing/JCheckBoxMenuItem.java:
11168 Removed CVS tags.
11169 * javax/swing/JMenu.java: Likewise.
11170 * javax/swing/JMenuBar.java: Likewise.
11171 * javax/swing/JMenuItem.java: Likewise.
11172 * javax/swing/JPopupMenu.java: Likewise.
11173 * javax/swing/JRadioButtonMenuItem.java: Likewise.
11174 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
11175 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
11176 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
11177 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
11178 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
11179 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
11180
11181 2004-05-31 Olga Rodimina <rodimina@redhat.com>
11182
11183 * javax/swing/plaf/basic/BasicMenuUI.java:
11184 (MouseEntered): Do not call getPath() from MenuSelectionManager.
11185 Call getPath() from super class instead.
11186
11187 2004-05-31 David Jee <djee@redhat.com>
11188
11189 * java/awt/Container.java
11190 (remove): Set component visibility to false after removing it.
11191
11192 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
11193
11194 * java/awt/Component.java (getForeground): Return SystemColor if
11195 parent is null.
11196 (getBackground): Likewise.
11197
11198 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
11199 (item_highlighted): New function.
11200 (connectSignals): Set item_highlighted as list's select
11201 function.
11202
11203 * java/applet/Applet.java: Revert changes from 2004-04-29,
11204 2004-03-15 and 2004-03-14.
11205
11206 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
11207 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
11208 factor.
11209
11210 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
11211 "Dialog" as the default font.
11212 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
11213 Likewise.
11214 * java/awt/Component.java (getFont): Return "Dialog" font by
11215 default.
11216 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
11217 Multiply size argument to pango_font_description_set_size by the
11218 DPI conversion factor rather than by PANGO_SCALE.
11219 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
11220 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
11221 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
11222 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
11223 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
11224 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
11225 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
11226 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
11227 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
11228 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
11229 Divide baseline y coordinate by DPI conversion factor rather
11230 than by PANGO_SCALE.
11231 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
11232 (area_prepared): Fix typo.
11233 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
11234 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
11235 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
11236 (dpi_conversion_factor): New global variable.
11237 (init_dpi_conversion_factor): New function to calculate and
11238 track DPI conversion factor.
11239 (dpi_changed_cb): New callback.
11240 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
11241
11242 2004-05-27 David Jee <djee@redhat.com>
11243
11244 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11245 (getGraphics): Return a new GdkGraphics instance.
11246 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11247 (getGraphics): Call super.getGraphics().
11248
11249 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
11250
11251 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11252 (setNativeBounds): Clamp width and height values to >= 0.
11253
11254 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11255 (find_fg_color_widget): Handle GtkOptionMenu specially.
11256
11257 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11258 (pre_event_handler): Only post configure events to visible
11259 top-level windows.
11260
11261 2004-05-26 David Jee <djee@redhat.com>
11262
11263 * java/awt/BorderLayout.java
11264 (layoutContainer): Fix size calculations.
11265
11266 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
11267
11268 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11269 (window_wm_protocols_filter): Remove function.
11270 (create): Remove filter that removes WM_TAKE_FOCUS client
11271 messages.
11272
11273 2004-06-17 Anthony Green <green@redhat.com>
11274
11275 * java/util/zip/ZipFile.java (getInputStream): Return null if
11276 entry not found.
11277
11278 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
11279 directory contents to the class path.
11280
11281 2004-06-15 Andrew Haley <aph@redhat.com>
11282
11283 * java/lang/natSystem.cc (getenv0): Don't assume environment
11284 variable is Latin 1 coded.
11285
11286 2004-06-14 Andreas Jaeger <aj@suse.de>
11287
11288 * configure.in: Support --enable-version-specific-runtime-libs.
11289 * configure: Regenerated.
11290
11291 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
11292
11293 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
11294 to pass ClassLoader argument.
11295 * java/util/GregorianCalendar.java: Likewise.
11296 * java/util/Currency.java: Likewise.
11297 * java/text/BreakIterator.java: Likewise.
11298 * java/text/Collator.java: Likewise.
11299 * java/text/DateFormat.java: Likewise.
11300 * java/text/DateFormatSymbols.java: Likewise.
11301 * java/text/DecimalFormatSymbols.java: Likewise.
11302 * java/text/NumberFormat.java: Likewise.
11303 * java/awt/Window.java: Likewise.
11304
11305 2004-06-14 Andrew Haley <aph@redhat.com>
11306
11307 * java/lang/System.java: (getenv0): New method.
11308 (getenv): Add security check. Do the right thing.
11309 * java/lang/natSystem.cc (getenv0): New method.
11310
11311 2004-06-12 Mark Wielaard <mark@klomp.org>
11312
11313 * javax/swing/RepaintManager.java
11314 (paintDirtyRegions): Use entrySet(), not values().
11315
11316 2004-06-10 Mark Wielaard <mark@klomp.org>
11317
11318 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
11319 NoSuchMethodError.
11320
11321 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
11322
11323 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
11324 when we already know the answer.
11325 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
11326 (setStartRule,setEndRule): Don't take abs of day number.
11327 (getOffset): Clarify docs. Add argument checks.
11328 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
11329 (equals,hasSameRules,toString,readObject): Use startTimeMode and
11330 endTimeMode.
11331
11332 2004-06-10 Tom Tromey <tromey@redhat.com>
11333
11334 * interpret.cc (run): Handle wide fload.
11335
11336 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
11337
11338 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
11339
11340 2004-06-05 Michael Koch <konqueror@gmx.de>
11341
11342 * javax/swing/SwingConstants.java
11343 (NEXT): New constant.
11344 (PREVIOUS): Likewise.
11345
11346 2004-06-05 Michael Koch <konqueror@gmx.de>
11347
11348 * javax/swing/UIManager.java
11349 (LookAndFeel): Made public.
11350 (LookAndFeel.getName): Likewise.
11351 (LookAndFeel.getClassName): Likewise.
11352
11353 2004-06-03 Michael Koch <konqueror@gmx.de>
11354
11355 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11356 (requestFocus): Revert last changes.
11357 (gtkRequestFocus): Removed.
11358 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11359 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
11360 Renamed to ...
11361 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
11362 Reverted last patch.
11363 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
11364 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
11365 Reverted comment change.
11366
11367 2004-06-02 Olga Rodimina <rodimina@redhat.com>
11368
11369 * javax/swing/JCheckBoxMenuItem.java:
11370 Removed CVS tags.
11371 * javax/swing/JMenu.java: Likewise.
11372 * javax/swing/JMenuBar.java: Likewise.
11373 * javax/swing/JMenuItem.java: Likewise.
11374 * javax/swing/JPopupMenu.java: Likewise.
11375 * javax/swing/JRadioButtonMenuItem.java: Likewise.
11376 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
11377 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
11378 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
11379 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
11380 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
11381 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
11382
11383 2004-06-01 Tom Tromey <tromey@redhat.com>
11384
11385 * java/io/ObjectStreamField.java: Cleaned up imports.
11386
11387 2004-06-01 Michael Koch <konqueror@gmx.de>
11388
11389 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
11390
11391 2004-06-01 Mark Wielaard <mark@klomp.org>
11392
11393 * java/io/Writer.java (Writer(Object)): Fixed API doc.
11394
11395 2004-06-01 Michael Koch <konqueror@gmx.de>
11396
11397 * java/security/Security.java
11398 (insertProviderAt): Use equals() instead of ==.
11399 (removeProvicer): Likewise.
11400 (getProvider): Likewise.
11401 * java/security/Signature.java
11402 (sign): Don't set state to UNINITIALIZED.
11403 (verify): Likewise.
11404
11405 2004-06-01 Mark Wielaard <mark@klomp.org>
11406
11407 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
11408 Implement by calling gtkRequestFocus.
11409 (gtkRequestFocus): New native method.
11410 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11411 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
11412 Renamed to ...
11413 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
11414 New function name.
11415 (filter_expose_event_handler):
11416 Mark static.
11417 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
11418 (menu_pos): Mark static.
11419
11420 2004-06-01 Michael Koch <konqueror@gmx.de>
11421
11422 * java/text/CollationElementIterator.java,
11423 java/text/CollationKey.java,
11424 java/text/RuleBasedCollator.java: New versions from GNU classpath.
11425 * testsuite/libjava.mauve/xfails: Removed all
11426 java.text.CollationElementIterator tests.
11427
11428 2004-06-01 Michael Koch <konqueror@gmx.de>
11429
11430 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
11431 version.
11432 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
11433 Java 1.5 keyword usage.
11434
11435 2004-05-31 Olga Rodimina <rodimina@redhat.com>
11436
11437 * javax/swing/plaf/basic/BasicMenuUI.java:
11438 (MouseEntered): Do not call getPath() from MenuSelectionManager.
11439 Call getPath() from super class instead.
11440
11441 2004-05-31 Michael Koch <konqueror@gmx.de>
11442
11443 * java/io/SequenceInputStream.java:
11444 Rename enum to e because enum is a keyword in Java 1.5.
11445
11446 2004-05-31 Michael Koch <konqueror@gmx.de>
11447
11448 * gnu/java/rmi/rmic/CompilerProcess.java:
11449 Fixed javadoc to by XHTML compliant.
11450
11451 2004-05-30 Mark Wielaard <mark@klomp.org>
11452
11453 * java/awt/Toolkit.java (loadSystemColors): Implement.
11454
11455 2004-05-30 Michael Koch <konqueror@gmx.de>
11456
11457 * java/lang/System.java: Reordered imports.
11458
11459 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
11460
11461 * java/text/DecimalFormat.java
11462 (parse): Fixed parsing of decimal strings. Number of maximum
11463 digits to be read should now work.
11464 * java/text/SimpleDateFormat.java
11465 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
11466 formatter. This fixes DateFormatTest.
11467
11468 2004-05-30 Michael Koch <konqueror@gmx.de>
11469
11470 * java/nio/Buffer.java
11471 (limit): Fixed off by one error.
11472 * java/nio/CharBuffer.java
11473 (wrap): Fixed arguments, added javadocs.
11474
11475 2004-05-30 Michael Koch <konqueror@gmx.de>
11476
11477 * gnu/java/beans/BeanInfoEmbryo.java,
11478 java/awt/im/InputContext.java,
11479 javax/swing/tree/DefaultMutableTreeNode.java:
11480 Rename enum to e because enum is a keyword in Java 1.5.
11481
11482 2004-05-30 Michael Koch <konqueror@gmx.de>
11483
11484 * gnu/java/math/MPN.java,
11485 java/awt/geom/Arc2D.java:
11486 Fixed javadocs all over.
11487
11488 2004-05-30 Michael Koch <konqueror@gmx.de>
11489
11490 * java/awt/DefaultKeyboardFocusManager.java
11491 (dispatchEvent): Call method to get key event dispatchers.
11492 (dispatchKeyEvent): Call method to get key event post processors.
11493 * javax/swing/JComponent.java
11494 (listenerList): Made protected.
11495 * javax/swing/JOptionPane.java
11496 (message): Don't initialize.
11497 (JOptionPane): Set message text.
11498 * javax/swing/JPopupMenu.java
11499 (show): Fixed typo in argument name.
11500 * javax/swing/RepaintManager.java
11501 (paintDirtyRegions): Use public API of java.util.Map.
11502 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
11503 (positionForMouseEvent): Removed redundant ';'.
11504 (continueDrag): Use method arguments.
11505
11506 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
11507
11508 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
11509 results.
11510
11511 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
11512
11513 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
11514 _Jv_AllocBytes.
11515 * gnu/gcj/RawDataManaged.java: New file.
11516 * java/lang/Thread.java (data): Declare as RawDataManaged.
11517 * java/lang/natThread.cc (init_native): Cast natThread data to
11518 RawDataManaged, not jobject.
11519 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
11520 * Makefile.in: Rebuilt.
11521
11522 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
11523
11524 * java/util/SimpleTimeZone.java: Reverting my last change until I
11525 can fix it properly.
11526
11527 2004-05-27 Michael Koch <konqueror@gmx.de>
11528
11529 * javax/swing/JPopupMenu.java
11530 (isVisible): Do not use visible directly.
11531 (setVisible): Likewise.
11532 * javax/swing/JWindow.java
11533 (JWindow): call accessible constructor.
11534 * javax/swing/RepaintManager.java
11535 (paintDirtyRegions): Use public methods to obtain iterator.
11536
11537 2004-05-25 David Jee <djee@redhat.com>
11538
11539 * java/awt/Container.java
11540 (remove): Set component's parent to null only after we removed the
11541 component from its parent's layout manager.
11542
11543 2004-05-25 David Jee <djee@redhat.com>
11544
11545 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11546 (GtkComponentPeer): Set bounds regardless of whether awtComponent
11547 is valid.
11548 * gnu/java/awt/peer/gtk/GtkListPeer.java
11549 (getSize): Change native method declaration.
11550 (minimumSize): Pass visible row count into getSize().
11551 (preferredSize): Likewise.
11552 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
11553 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
11554 natural size. Use visible row count to determine the final height
11555 value to return.
11556
11557 2004-05-21 Graydon Hoare <graydon@redhat.com>
11558
11559 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11560 (setClip): Minor correction to order of operations.
11561
11562 * javax/swing/JScrollPane.java: Extend sketchy implementation.
11563 * javax/swing/ScrollPaneLayout.java: Likewise.
11564 * javax/swing/JViewPort.java: Likewise.
11565 * javax/swing/ViewportLayout.java: Likewise.
11566
11567 * javax/swing/JComponent.java: Rewrite.
11568 * javax/swing/RepaintManager.java: Likewise.
11569
11570 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
11571 * javax/swing/JList.java
11572 (setSelectedIndices):
11573 (getSelectedIndices):
11574 (getSelectedValues): New functions.
11575 (getPreferredScrollableViewportSize): Return preferred size.
11576 (getScrollableUnitIncrement):
11577 (getScrollableBlockIncrement): Initial implementations.
11578 * javax/swing/JRootPane.java: Clean up slightly.
11579 (getUI):
11580 (setUI):
11581 (updateUI):
11582 (getUIClassID):
11583 (isValidateRoot): Add overrides from JComponent.
11584 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
11585 * javax/swing/UIManager.java (getDimension): Return the dimension.
11586
11587 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
11588 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
11589 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
11590 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
11591 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
11592 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
11593 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
11594 * javax/swing/plaf/basic/BasicRootPaneUI.java:
11595 Likewise, and set background.
11596 * javax/swing/plaf/basic/BasicListUI.java:
11597 Likewise, and improve a bit.
11598 * javax/swing/plaf/basic/BasicScrollBarUI.java:
11599 Likewise, and adjust calculations.
11600 * javax/swing/plaf/basic/BasicViewportUI.java:
11601 Likewise, and improve a bit.
11602 * javax/swing/plaf/basic/BasicLookAndFeel.java
11603 (Button.margin): Shrink.
11604
11605 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
11606 Hack to set horizontal always, workaround pango.
11607
11608 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
11609 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
11610 Synchronize more often, check cairo status after ops,
11611 handle changes to cairo pattern API, check for disposal.
11612
11613 2004-05-21 Olga Rodimina <rodimina@redhat.com>
11614
11615 * javax/swing/plaf/basic/BasicMenuItemUI.java:
11616 (BasicMenuItemUI): Create propertyChangeListener.
11617 (getPath):Implemented.
11618 (installListeners): Add propertyChangeListener to menuItem.
11619 (uninstallListeners): Remove propertyChangeListener from menuItem.
11620 (update): Implemented.
11621 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
11622 (mouseEntered): Take insets of popup menu into account when
11623 calculating position of popup menu.
11624
11625 2004-05-18 Olga Rodimina <rodimina@redhat.com>
11626
11627 * Makefile.am: Added new file.
11628 * Makefile.in: Regenerate.
11629 * javax/swing/JMenuBar.java:
11630 Started implementation.
11631 * javax/swing/JPopupMenu.java:
11632 (setVisible): Fixed location of lightweight/mediumweight
11633 popup menu.
11634 (show): Fixed location of PopupMenu.
11635 * javax/swing/plaf/basic/BasicMenuBarUI.java:
11636 New file. UI Delegate for JMenuBar.
11637 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
11638 (mouseEntered): Corrected position of the submenu.
11639
11640 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
11641
11642 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
11643 to _gtk_accel_group_attach.
11644 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
11645 Likewise.
11646
11647 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
11648 package access. Don't override setFont.
11649 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
11650 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
11651 gtkWidgetRequestFocus package access.
11652 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
11653 setFont.
11654 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
11655 Give gtkWidgetRequestFocus package access.
11656 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
11657 gtkWidgetRequestFocus package access. Don't override setFont.
11658 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
11659 setFont.
11660 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
11661 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
11662 region.
11663 (gtkSetFont): Likewise.
11664 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
11665 Implement.
11666 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11667 (gtkSetFont): Whitespace fix.
11668
11669 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11670 (gtkWidgetSetUsize): Remove method.
11671
11672 2004-05-18 David Jee <djee@redhat.com>
11673
11674 * java/awt/image/MemoryImageSource.java
11675 (newPixels(int,int,int,int,boolean)): Set only the specified
11676 rectangle of pixels.
11677 (newPixels(byte[],ColorModel,int,int)): Implement.
11678 (newPixels(int[],ColorModel,int,int)): Implement.
11679
11680 2004-05-18 Olga Rodimina <rodimina@redhat.com>
11681
11682 * Makefile.am: Added new file.
11683 * Makefile.in: Regenerate.
11684 * javax/swing/JMenu.java: Started
11685 implementation.
11686 * javax/swing/JPopupMenu.java:
11687 (insert): If specified index is -1, then
11688 add component at the end.
11689 (isPopupTrigger): Reimplemented.
11690 (JPopupMenu.LightWeightPopup): setBounds
11691 of the lightWeightPopup before adding it
11692 to the layeredPane.
11693 (javax/swing/plaf/basic/BasicIconFactory.java):
11694 (getMenuArrowIcon): Implemented.
11695 * javax/swing/plaf/basic/BasicMenuItemUI.java:
11696 (getPreferredSize): Add size of the arrow icon
11697 if this menu item is instance of JMenu.
11698 (paintMenuItem): Paint arrow icon if this
11699 menu item is a submenu.
11700 * javax/swing/plaf/basic/BasicMenuUI.java:
11701 New File. UI Delegate for JMenu.
11702
11703 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
11704
11705 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
11706 Post KEY_TYPED events.
11707 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11708 (generates_key_typed_event): Remove function.
11709
11710 2004-05-17 Olga Rodimina <rodimina@redhat.com>
11711
11712 * javax/swing/JRootPane.java
11713 (JRootPane.RootLayout): Reimplemented to
11714 set bounds of contentPane and menuBar.
11715 (setJMenuBar): Add menu bar to the layered pane.
11716 (createLayeredPane): Set layout of layeredPane
11717 to null.
11718 * javax/swing/JLayeredPane.java:
11719 (addImpl): Calculate index of the component in the
11720 layeredPane according to the specified position within
11721 the layer.
11722
11723 2004-05-17 David Jee <djee@redhat.com>
11724
11725 * gnu/java/awt/peer/gtk/GtkImagePainter.java
11726 (setPixels): Change color model to the default model after
11727 converting pixels.
11728 * java/awt/image/MemoryImageSource.java
11729 (newPixels): Set only the specified rectangle of pixels.
11730
11731 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11732
11733 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
11734 -l-java-beans -l-javax-accessibility -l-javax-swing.
11735
11736 * java/awt/AWTEvent.java (toString): Print source's name rather
11737 than the source itself.
11738
11739 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
11740
11741 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
11742 native.
11743 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
11744 (gdk_color_to_java_color): New function.
11745 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
11746
11747 2004-05-12 David Jee <djee@redhat.com>
11748
11749 * java/awt/image/RGBImageFilter.java:
11750 Initialize origmodel as null.
11751 (makeColor): Fix pixel component order.
11752 (filterRGBPixels): Fix pixel iteration.
11753 (setPixels): Add extra checks for index color model. Convert pixels
11754 to default color model if necessary.
11755 (convertColorModelToDefault): New override method for byte pixels.
11756 (convertColorModelToDefault): For int pixels, fix pixel iteration.
11757 (makeColorbyDefaultCM): New override method for byte pixels.
11758 (makeColorbyDefaultCM): For int pixel, add color model as argument.
11759 (makeColor): Fix pixel component order.
11760
11761 2004-05-11 Kim Ho <kho@redhat.com>
11762
11763 * javax/swing/Box.java:
11764 Comment out more parts of Box.Filler.
11765
11766 2004-05-11 Kim Ho <kho@redhat.com>
11767
11768 * javax/swing/Box.java:
11769 Remove reference to AccessibleAWTComponent so
11770 it compiles again.
11771
11772 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
11773
11774 * gnu/java/awt/peer/gtk/GtkListPeer.java,
11775 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
11776 implementation of list peer to use GtkTreeView instead of
11777 deprecated GtkCList.
11778
11779 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
11780
11781 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11782 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
11783 (handleEvent): Remove keyChar argument to
11784 gtkWidgetDispatchKeyEvent calls.
11785 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
11786 compiler warnings.
11787 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11788 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
11789 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
11790 Likewise.
11791
11792 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
11793
11794 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11795 (gtkWidgetRequestFocus): Mark protected.
11796 (GtkComponentPeer): Only set the peer's bounds if its component
11797 is valid.
11798 * java/awt/Component.java (static): Set the default keyboard
11799 focus manager.
11800 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
11801 requestFocusInWindow(temporary)): Don't request focus if the
11802 component is not showing. Get tree lock before traversing
11803 component hierarchy.
11804 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
11805 Only set the global focus owner if it is not a Window.
11806 (processKeyEvent): Consume keystrokes associated with the focus
11807 traversal keystroke.
11808 (focusPreviousComponent, focusNextComponent, upFocusCycle,
11809 downFocusCycle): Call requestFocusInWindow instead of
11810 requestFocus.
11811 * java/awt/EventDispatchThread.java (run): Move setting of
11812 default keyboard focus manager to Component.java.
11813 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11814 (awt_keycode_to_keysym): New function.
11815 (gtkWidgetDispatchKeyEvent): Finish implementation.
11816 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11817 (pre_event_handler): Add FIXME comment.
11818
11819 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11820 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11821 (gtkWidgetRequestFocus): New method.
11822 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
11823 disable Tab and Shift-Tab keystrokes.
11824 (addNotify, appendText, insertText, replaceText): Simplify peer
11825 retrieval code.
11826 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
11827 (connectSignals): Remove connections to "commit" signals.
11828 Remove C++-style comments.
11829
11830 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
11831 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
11832 (handleEvent): Activate GTK button when the space bar key is
11833 pressed.
11834 (gtkActivate): New method.
11835
11836 2004-05-06 David Jee <djee@redhat.com>
11837
11838 * java/awt/image/CropImageFilter.java
11839 (setPixels): Implement for byte array pixels.
11840 * java/awt/image/ReplicateScaleFilter.java
11841 (setPixels): Implement for byte array pixels.
11842 (replicatePixels): Overload for byte array pixels.
11843
11844 2004-05-06 Kim Ho <kho@redhat.com>
11845
11846 * javax/swing/Box.java:
11847 (getAccessibleContext): Return an instance of the
11848 correct class.
11849
11850 2004-05-05 David Jee <djee@redhat.com>
11851
11852 * gnu/java/awt/peer/gtk/GdkGraphics.java
11853 (drawImage): When component is null, use SystemColor.window as
11854 the default bgcolor.
11855 * gnu/java/awt/peer/gtk/GtkImage.java
11856 (setPixels): We can avoid iterating through the pixel rows only
11857 when height is 1.
11858 * java/awt/Image.java
11859 (getScaledInstance): Partially implement.
11860 * java/awt/image/CropImageFilter.java
11861 (setProperties): Fix "filter" property.
11862 (setPixels): Implement.
11863 * java/awt/image/ReplicateScaleFilter.java
11864 (setDimensions): Use scaled dimensions.
11865 (setPixels): Implement.
11866 (replicatePixels): New method.
11867
11868 2004-05-05 David Jee <djee@redhat.com>
11869
11870 * gnu/java/awt/peer/gtk/GtkImagePainter.java
11871 (convertPixels): If either pixels or model is null, return null.
11872 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
11873 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
11874 is null, do nothing and return.
11875
11876 2004-05-03 Kim Ho <kho@redhat.com>
11877
11878 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
11879 (getGraphics): Like GtkFramePeer, the Graphics
11880 object needs to be translate to account for
11881 window decorations.
11882 (postMouseEvent): New method. Account for
11883 translation.
11884 (postExposeEvent): ditto.
11885 * javax/swing/Box.java: Stubbed.
11886 * javax/swing/JDialog.java: Ran through jalopy
11887 to fix indentation.
11888 (JDialog): Call SwingUtilities' getOwnerFrame
11889 for null owners.
11890 (setLayout): Check isRootPaneCheckingEnabled
11891 * javax/swing/JOptionPane.java: Re-implemented.
11892 * javax/swing/SwingUtilities.java:
11893 (getOwnerFrame): Static method to grab a default
11894 owner frame for Dialogs that don't specify owners.
11895 * javax/swing/event/SwingPropertyChangeSupport.java:
11896 (firePropertyChange): Fix early exit condition.
11897 * javax/swing/plaf/basic/BasicLabelUI.java:
11898 (paint): Avoid painting text if it is null
11899 or empty.
11900 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
11901 Implement.
11902
11903 2004-05-03 Olga Rodimina <rodimina@redhat.com>
11904
11905 * Makefile.am: Added new file.
11906 * Makefile.in: Regenerate.
11907 * javax/swing/JPopupMenu.java:
11908 Started implementation.
11909 * javax/swing/JWindow.java
11910 (JWindow): call super() if parent for window
11911 is not specified.
11912 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
11913 New File. UI Delegate for JPopupMenu.
11914
11915 2004-04-30 Olga Rodimina <rodimina@redhat.com>
11916
11917 * javax/swing/JApplet.java: Indicated that JApplet
11918 implements RootPaneContainer and made method of this
11919 interface public.
11920 * javax/swing/JFrame.java: Ditto.
11921 * javax/swing/JWindow.java: Ditto.
11922
11923 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
11924
11925 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11926 (nativeSetBounds): Call gdk_window_move in addition to
11927 gtk_window_move.
11928
11929 * java/applet/Applet.java (preferredSize): Call parent's
11930 preferredSize if the applet stub is null.
11931 (minimumSize): Likewise for parent's minimumSize.
11932
11933 2004-04-27 Olga Rodimina <rodimina@redhat.com>
11934
11935 * javax/swing/JMenuItem.java
11936 (createActionPropertyChangeListener): Implemented.
11937 (processMouseEvent): Ditto.
11938 (fireMenuDragMouseEntered): Ditto.
11939 (fireMenuDragMouseExited): Ditto.
11940 (fireMenuDragMouseDragged): Ditto.
11941 (fireMenuDragMouseReleased): Ditto.
11942 (menuSelectionChanged): Ditto.
11943 (getSubElements): Ditto.
11944 (getComponent): Ditto.
11945 (addMenuDragMouseListener): Ditto.
11946 (removeMenuDragMouseListener):Ditto.
11947 (addMenuKeyListener): Ditto.
11948 (removeMenuKeyListener): Ditto.
11949 * javax/swing/plaf/basic/BasicMenuItemUI.java
11950 (doClick): Imlemented.
11951 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
11952 Don't handle mouse events here. Pass them to
11953 MenuSelectionManager.
11954
11955 2004-04-26 Olga Rodimina <rodimina@redhat.com>
11956 Used correct version of jalopy configuration
11957 file to fix style in the files below.
11958
11959 2004-04-26 Olga Rodimina <rodimina@redhat.com>
11960
11961 * javax/swing/JCheckBoxMenuItem.java:
11962 Fixed style and removed unnecessary comments.
11963 * javax/swing/JMenuItem.java: Ditto.
11964 * javax/swing/JRadioButtonMenuItem.java: Ditto.
11965 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
11966 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
11967 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
11968
11969 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
11970
11971 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
11972 C-style.
11973
11974 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
11975
11976 * java/awt/ContainerOrderFocusTraversalPolicy.java
11977 (getComponentAfter): Start from current component and work up
11978 the component hierarchy until an acceptable component is found.
11979 Synchronize on tree lock.
11980 (getComponentBefore): Likewise.
11981
11982 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
11983
11984 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
11985 focus-related debugging messages.
11986 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
11987 * java/awt/EventDispatchThread.java: Likewise.
11988 * java/awt/KeyboardFocusManager.java: Likewise.
11989 * java/awt/Window.java: Likewise.
11990 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
11991 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11992
11993 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
11994 new C++-style comments to C-style comments.
11995 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
11996
11997 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11998 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11999 (handleEvent): Dispatch key press and key release events to
12000 backing widget.
12001 (requestFocus): Post a FOCUS_GAINED event to the event queue.
12002 (gtkWidgetRequestFocus): New method.
12003 (gtkWidgetDispatchKeyEvent): Likewise.
12004 * java/awt/Component.java (requestFocus, requestFocus(boolean),
12005 requestFocusInWindow, requestFocusInWindow(boolean),
12006 getFocusCycleRootAncestor, nextFocus, transferFocus,
12007 transferFocusBackward, transferFocusUpCycle, hasFocus,
12008 isFocusOwner): Implement and document focus-handling methods.
12009 (setFocusTraversalKeys): Inherit focus traversal keys when
12010 keystrokes argument is null. Fix focus-handling documentation
12011 throughout class.
12012 * java/awt/Container.java (setFocusTraversalKeys,
12013 getFocusTraversalKeys, areFocusTraversalKeysSet,
12014 isFocusCycleRoot, setFocusTraversalPolicy,
12015 getFocusTraversalPolicy, isFocusTraversalPolicySet,
12016 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
12017 Implement and document focus-handling methods.
12018 (transferFocusBackward): Remove method.
12019 (readObject, writeObject): Implement and document serialization
12020 methods.
12021 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
12022 and document.
12023 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
12024 document.
12025 * java/awt/DefaultKeyboardFocusManager.java: Implement and
12026 partially document.
12027 * java/awt/EventDispatchThread.java (run): Set default keyboard
12028 focus manager. Attempt to dispatch each event to the keyboard
12029 focus manager before normal dispatch.
12030 * java/awt/KeyboardFocusManager.java: Implement and partially
12031 document.
12032 * java/awt/Window.java (Window): Set focusCycleRoot to true.
12033 (show): Focus initial component when window is shown for the
12034 first time.
12035 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12036 (pre_event_handler): Replace complex key press and key release
12037 logic with simple callbacks into GtkComponentPeer.
12038 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
12039
12040 2004-04-21 Olga Rodimina <rodimina@redhat.com>
12041
12042 * javax/swing/MenuSelectionManager.java
12043 (componentForPoint): Added new method.
12044 (defaultManager): New Method. Implemented.
12045 (getSelectedPath): Ditto.
12046 (isComponentPartOfCurrentMenu): Ditto.
12047 (processKeyEvent): Added new method.
12048 (processMouseEvent): New Method. Implemented.
12049 (setSelectedPath): Ditto.
12050 (getPath): Ditto.
12051
12052 2004-04-19 Kim Ho <kho@redhat.com>
12053
12054 * java/awt/Container.java:
12055 (remove): Set the component's parent to null.
12056 (getComponentAt): Implement.
12057 * javax/swing/JComponent.java:
12058 (JComponent): Initialize defaultLocale
12059 (getDefaultLocale): Implement.
12060 (setDefaultLocale): ditto.
12061 * javax/swing/JSlider.java:
12062 (JSlider): Fix calculation of value.
12063 * javax/swing/JSplitPane.java: Implement.
12064 * javax/swing/plaf/basic/BasicLookAndFeel.java:
12065 Change SplitPane's default divider size.
12066 * javax/swing/plaf/basic/BasicScrollBarUI.java:
12067 (paint): Remove unused code.
12068 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
12069 Added comments and ran through jalopy.
12070 (setBasicSplitPaneUI): Get reference to hidden divider
12071 and set up one touch buttons if necessary.
12072 (setBorder): Fire propertyChangeEvent only if
12073 borders are different.
12074 (getPreferredSize): Defer to layout manager.
12075 (propertyChange): Implement.
12076 (oneTouchExpandableChanged): ditto.
12077 (createLeftOneTouchButton): Use BasicArrowButton.
12078 (createRightOneTouchButton): ditto.
12079 (moveDividerTo): New method. Moves the divider
12080 to a set location based on the last divider location.
12081 (BasicSplitPaneDivider::MouseHandler): Implement.
12082 (BasicSplitPaneDivider::OneTouchButton): Removed.
12083 (BasicSplitPaneDivider::DragController): Implement.
12084 (BasicSplitPaneDivider::VerticalDragController):
12085 ditto.
12086 (BasicSplitPaneDivider::DividerLayout): ditto.
12087 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
12088 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
12089 (calculateLayoutInfo): Don't show component if it's
12090 null.
12091 (paintTab): Fix title paint logic.
12092
12093 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
12094
12095 PR libgcj/8321
12096 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
12097 (setStartRule,setEndRule): Don't take abs of day number.
12098 (getOffset): Clarify docs. Add argument checks.
12099 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
12100 (equals,hasSameRules,toString,readObject): Use startTimeMode and
12101 endTimeMode.
12102 * testsuite/libjava.mauve/xfails
12103 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
12104
12105 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
12106
12107 Layout interfaces during preparation, not initialization.
12108 * java/lang/natClass.cc (initializeClass): Move
12109 _Jv_LayoutInterfaceMethods call...
12110 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
12111
12112 2004-05-19 Anthony Green <green@localhost.localdomain>
12113
12114 * Makefile.am (awt_java_source_files): Remove javax.rmi and
12115 gnu.javax.rmi code.
12116 * Makefile.in: Rebuilt.
12117 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
12118 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
12119 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
12120 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
12121 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
12122 gnu/javax/rmi/CORBA/DelegateFactory.java,
12123 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
12124 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
12125 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
12126 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
12127 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
12128 gnu/javax/rmi/PortableServer.java: Remove files.
12129
12130 2004-05-19 Anthony Green <green@redhat.com>
12131
12132 * Makefile.am: Define JAVA_EXT_DIRS.
12133 * Makefile.in: Rebuilt.
12134 * java/lang/natRuntime.cc (insertSystemProperties): Set
12135 java.ext.dirs property.
12136
12137 2004-05-16 Mark Wielaard <mark@klomp.org>
12138
12139 * java/io/Writer.java (Writer(Object)): Check for null lock object.
12140
12141 2004-05-15 Mark Wielaard <mark@klomp.org>
12142
12143 * doc/cni.sgml: Removed, merged into gcj.texi.
12144
12145 2004-05-15 Mark Wielaard <mark@klomp.org>
12146
12147 * Makefile.am (ordinary_java_source_files): Add new javax.print
12148 classes.
12149 * Makefile.in: Regenerated.
12150
12151 2004-05-15 Michael Koch <konqueror@gmx.de>
12152
12153 * javax/print/attribute/standard/DateTimeAtCompleted.java,
12154 javax/print/attribute/standard/DateTimeAtCreation.java,
12155 javax/print/attribute/standard/DateTimeAtProcessing.java,
12156 javax/print/attribute/standard/DocumentName.java,
12157 javax/print/attribute/standard/JobHoldUntil.java,
12158 javax/print/attribute/standard/JobImpressionsCompleted.java,
12159 javax/print/attribute/standard/JobMessageFromOperator.java,
12160 javax/print/attribute/standard/JobName.java,
12161 javax/print/attribute/standard/JobOriginatingUserName.java,
12162 javax/print/attribute/standard/JobPriority.java,
12163 javax/print/attribute/standard/JobPrioritySupported.java,
12164 javax/print/attribute/standard/NumberOfInterveningJobs.java,
12165 javax/print/attribute/standard/OutputDeviceAssigned.java,
12166 javax/print/attribute/standard/PrinterInfo.java,
12167 javax/print/attribute/standard/PrinterLocation.java,
12168 javax/print/attribute/standard/PrinterMakeAndModel.java,
12169 javax/print/attribute/standard/PrinterMessageFromOperator.java,
12170 javax/print/attribute/standard/PrinterName.java,
12171 javax/print/attribute/standard/QueuedJobCount.java,
12172 javax/print/attribute/standard/RequestingUserName.java:
12173 Fixed javadocs all over.
12174
12175 2004-05-15 Michael Koch <konqueror@gmx.de>
12176
12177 * javax/print/DocFlavor.java,
12178 javax/print/attribute/standard/ColorSupported.java,
12179 javax/print/attribute/standard/Compression.java,
12180 javax/print/attribute/standard/CopiesSupported.java,
12181 javax/print/attribute/standard/Fidelity.java,
12182 javax/print/attribute/standard/Finishings.java,
12183 javax/print/attribute/standard/JobImpressionsSupported.java,
12184 javax/print/attribute/standard/JobKOctetsSupported.java,
12185 javax/print/attribute/standard/JobMediaSheetsSupported.java,
12186 javax/print/attribute/standard/JobSheets.java,
12187 javax/print/attribute/standard/JobState.java,
12188 javax/print/attribute/standard/JobStateReason.java,
12189 javax/print/attribute/standard/JobStateReasons.java,
12190 javax/print/attribute/standard/Media.java,
12191 javax/print/attribute/standard/MediaSizeName.java,
12192 javax/print/attribute/standard/MultipleDocumentHandling.java,
12193 javax/print/attribute/standard/NumberUpSupported.java,
12194 javax/print/attribute/standard/OrientationRequested.java,
12195 javax/print/attribute/standard/PDLOverrideSupported.java,
12196 javax/print/attribute/standard/PageRanges.java,
12197 javax/print/attribute/standard/PresentationDirection.java,
12198 javax/print/attribute/standard/PrintQuality.java,
12199 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
12200 javax/print/attribute/standard/PrinterMoreInfo.java,
12201 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
12202 javax/print/attribute/standard/PrinterResolution.java,
12203 javax/print/attribute/standard/PrinterState.java,
12204 javax/print/attribute/standard/PrinterStateReason.java,
12205 javax/print/attribute/standard/PrinterStateReasons.java,
12206 javax/print/attribute/standard/PrinterURI.java,
12207 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
12208 javax/print/attribute/standard/Severity.java,
12209 javax/print/attribute/standard/SheetCollate.java,
12210 javax/print/attribute/standard/Sides.java:
12211 Added serialVersionUID and removed final keyword where it doenst
12212 belong.
12213
12214 2004-05-15 Michael Koch <konqueror@gmx.de>
12215
12216 * javax/print/PrintServiceLookup.java: New file.
12217
12218 2004-05-15 Michael Koch <konqueror@gmx.de>
12219
12220 * javax/print/DocFlavor.java:
12221 Implemented all flavor classes.
12222
12223 2004-05-15 Michael Koch <konqueror@gmx.de>
12224
12225 * javax/print/attribute/standard/ColorSupported.java,
12226 javax/print/attribute/standard/Compression.java,
12227 javax/print/attribute/standard/CopiesSupported.java,
12228 javax/print/attribute/standard/Fidelity.java,
12229 javax/print/attribute/standard/Finishings.java,
12230 javax/print/attribute/standard/JobImpressionsSupported.java,
12231 javax/print/attribute/standard/JobKOctetsSupported.java,
12232 javax/print/attribute/standard/JobMediaSheetsSupported.java,
12233 javax/print/attribute/standard/JobSheets.java,
12234 javax/print/attribute/standard/JobState.java,
12235 javax/print/attribute/standard/JobStateReason.java,
12236 javax/print/attribute/standard/JobStateReasons.java,
12237 javax/print/attribute/standard/Media.java,
12238 javax/print/attribute/standard/MediaSizeName.java,
12239 javax/print/attribute/standard/MultipleDocumentHandling.java,
12240 javax/print/attribute/standard/NumberUpSupported.java,
12241 javax/print/attribute/standard/OrientationRequested.java,
12242 javax/print/attribute/standard/PDLOverrideSupported.java,
12243 javax/print/attribute/standard/PageRanges.java,
12244 javax/print/attribute/standard/PresentationDirection.java,
12245 javax/print/attribute/standard/PrintQuality.java,
12246 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
12247 javax/print/attribute/standard/PrinterMoreInfo.java,
12248 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
12249 javax/print/attribute/standard/PrinterResolution.java,
12250 javax/print/attribute/standard/PrinterState.java,
12251 javax/print/attribute/standard/PrinterStateReason.java,
12252 javax/print/attribute/standard/PrinterStateReasons.java,
12253 javax/print/attribute/standard/PrinterURI.java,
12254 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
12255 javax/print/attribute/standard/Severity.java,
12256 javax/print/attribute/standard/SheetCollate.java,
12257 javax/print/attribute/standard/Sides.java: New files.
12258
12259 2004-05-15 Michael Koch <konqueror@gmx.de>
12260
12261 * javax/print/Doc.java
12262 (getPrintData): Throws IOException.
12263 (getReaderForText): Likewise.
12264 (getStreamForBytes): Likewise.
12265 * javax/print/DocFlavor.java:
12266 Fixed filename in copyright.
12267 (serialVersionUID): New field.
12268 * javax/print/ServiceUIFactory.java:
12269 Made all constants final.
12270 * javax/print/AttributeException.java
12271 javax/print/MultiDoc.java
12272 javax/print/MultiDocPrintJob.java
12273 javax/print/MultiDocPrintService.java
12274 javax/print/StreamPrintService.java
12275 javax/print/URIException.java: New files.
12276 * javax/print/Makefile.am
12277 (EXTRA_DIST): Added all new files.
12278
12279 2004-05-15 Michael Koch <konqueror@gmx.de>
12280
12281 * javax/print/attribute/standard/Copies.java,
12282 javax/print/attribute/standard/DateTimeAtCompleted.java,
12283 javax/print/attribute/standard/DateTimeAtCreation.java,
12284 javax/print/attribute/standard/DateTimeAtProcessing.java,
12285 javax/print/attribute/standard/DocumentName.java,
12286 javax/print/attribute/standard/JobHoldUntil.java,
12287 javax/print/attribute/standard/JobImpressions.java,
12288 javax/print/attribute/standard/JobImpressionsCompleted.java,
12289 javax/print/attribute/standard/JobKOctets.java,
12290 javax/print/attribute/standard/JobKOctetsProcessed.java,
12291 javax/print/attribute/standard/JobMediaSheets.java,
12292 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
12293 javax/print/attribute/standard/JobMessageFromOperator.java,
12294 javax/print/attribute/standard/JobName.java,
12295 javax/print/attribute/standard/JobOriginatingUserName.java,
12296 javax/print/attribute/standard/JobPriority.java,
12297 javax/print/attribute/standard/JobPrioritySupported.java,
12298 javax/print/attribute/standard/NumberOfDocuments.java,
12299 javax/print/attribute/standard/NumberOfInterveningJobs.java,
12300 javax/print/attribute/standard/NumberUp.java,
12301 javax/print/attribute/standard/OutputDeviceAssigned.java,
12302 javax/print/attribute/standard/PagesPerMinute.java,
12303 javax/print/attribute/standard/PagesPerMinuteColor.java:
12304 Fixed @return tag all over.
12305
12306 2004-05-15 Michael Koch <konqueror@gmx.de>
12307
12308 * javax/print/attribute/AttributeSetUtilities.java
12309 (verifyCategoryForValue): Fixed typo in javadoc.
12310 * javax/print/attribute/HashAttributeSet.java
12311 (containsKey): Fixed @return tag.
12312 (comtainsValue): Likewise.
12313 (equals): Likewise.
12314 * javax/print/attribute/IntegerSyntax.java
12315 (equals): Likewise.
12316 * javax/print/attribute/ResolutionSyntax.java
12317 (equals): Likewise.
12318 (getCrossFeedResolution): Removed unused code.
12319 (getFeedResolution): Likewise.
12320 * javax/print/attribute/SetOfIntegerSyntax.java
12321 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
12322 (equals): Fixed @return tag.
12323 * javax/print/attribute/TextSyntax.java
12324 (TextSyntax): Take locale into account.
12325 (hashCode): Better implementation.
12326
12327 2004-05-15 Michael Koch <konqueror@gmx.de>
12328
12329 * javax/print/CancelablePrintJob.java,
12330 javax/print/Doc.java,
12331 javax/print/DocFlavor.java,
12332 javax/print/DocPrintJob.java,
12333 javax/print/FlavorException.java,
12334 javax/print/PrintException.java,
12335 javax/print/PrintService.java,
12336 javax/print/ServiceUIFactory.java: New files.
12337
12338 2004-05-15 Mark Wielaard <mark@klomp.org>
12339
12340 * gnu/regexp/CharIndexedReader.java: Removed.
12341 * gnu/regexp/REFilterReader.java: Likewise.
12342 * gnu/regexp/RETokenLookAhead.java: Likewise.
12343 * Makefile.am (ordinary_java_source_files): Remove above classes.
12344 * Makefile.in: Regenerated.
12345
12346 2004-05-14 Tom Tromey <tromey@redhat.com>
12347
12348 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
12349 not `XGraphicsConfiguration.XOffScreenImage'.
12350
12351 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
12352
12353 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
12354
12355 2004-05-14 Steven Augart <augart@watson.ibm.com>
12356
12357 * include/jni.h (_Jv_func): Removed.
12358 (struct JNINativeInterface): Use `void *' for reserved slots.
12359 (struct JNIInvokeInterface): Likewise.
12360
12361 2004-05-11 Michael Koch <konqueror@gmx.de>
12362
12363 * gnu/java/net/natPlainSocketImplPosix.cc
12364 (read): Fixed typo in expression.
12365
12366 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
12367
12368 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
12369 ld_library_additions. Adjust all calls to libjava_invoke to match
12370 the new argument.
12371
12372 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
12373 path to cxxflagslist.
12374 Pass path of libstdc++ to libjava_invoke.
12375
12376 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
12377 libjava_invoke arguments.
12378
12379 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
12380
12381 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
12382 reality.
12383
12384 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
12385
12386 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
12387 main binary against the JNI shared library.
12388
12389 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
12390
12391 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
12392 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
12393 (SimpleTimeZone): Tweak docs. Add new variation.
12394 (setStartRule,setEndRule): Add new variations. Use
12395 startTimeMode and endTimeMode.
12396
12397 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
12398
12399 * java/util/Calendar.java (getActualMinimum,
12400 getActualMaximum): Remove abstract. Implement.
12401
12402 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
12403
12404 Run the jni tests using the interpreter.
12405 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
12406 options_cxx to shared lib compile command.
12407 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
12408 they are used to link the shared lib, not the main binary.
12409 Use libjava_invoke to run gij.
12410
12411 2004-05-06 Michael Koch <konqueror@gmx.de>
12412
12413 * java/util/logging/Level.java
12414 (parse): Use == instead of String.equals().
12415
12416 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
12417
12418 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
12419 verify_field_signature and verify_method_signature, not
12420 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
12421 (_Jv_ClassReader::handleField): Likewise.
12422 (_Jv_ClassReader::handleMethod): Likewise.
12423
12424 2004-05-06 Michael Koch <konqueror@gmx.de>
12425
12426 * javax/swing/table/TableColumn.java:
12427 Reformated.
12428
12429 2004-05-06 Michael Koch <konqueror@gmx.de>
12430
12431 * javax/imageio/spi/ImageReaderWriterSpi.java
12432 (ImageReaderWriterSpi): Made it public.
12433 * javax/imageio/stream/ImageInputStream.java:
12434 Clean up imports.
12435
12436 2004-05-06 Michael Koch <konqueror@gmx.de>
12437
12438 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12439 Removed empty line.
12440
12441 2004-05-06 Michael Koch <konqueror@gmx.de>
12442
12443 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
12444 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
12445 New files.
12446 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
12447 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
12448 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
12449 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
12450 their own source file.
12451 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12452 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
12453 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
12454 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
12455 (create): Define variable on top of function.
12456 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
12457 (menu_pos): Prototyped.
12458 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12459 (setTitle): Removed.
12460 * jni/gtk-peer/gthread-jni.c
12461 (gdk_threads_wake): Removed.
12462 * Makefile.am (gtk_c_source_files): Added new files
12463 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
12464 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
12465 * Makefile.in: Regenerated.
12466
12467 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
12468
12469 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
12470 call.
12471
12472 2004-05-05 Mark Wielaard <mark@klomp.org>
12473
12474 * javax/swing/AbstractButton.java: Replace special HTML entities with
12475 ASCII equivalent.
12476 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
12477 * javax/swing/DefaultButtonModel.java: Likewise.
12478 * javax/swing/DefaultListModel.java: Likewise.
12479 * javax/swing/JList.java: Likewise.
12480 * javax/swing/JSlider.java: Likewise.
12481 * javax/swing/ListModel.java: Likewise.
12482 * javax/swing/Popup.java: Likewise.
12483 * javax/swing/SwingUtilities.java: Likewise.
12484
12485 2004-05-05 Michael Koch <konqueror@gmx.de>
12486
12487 * javax/swing/AbstractButton.java,
12488 javax/swing/ActionMap.java,
12489 javax/swing/DefaultButtonModel.java,
12490 javax/swing/DefaultListModel.java,
12491 javax/swing/ImageIcon.java,
12492 javax/swing/JComboBox.java,
12493 javax/swing/JComponent.java,
12494 javax/swing/JFrame.java,
12495 javax/swing/JInternalFrame.java,
12496 javax/swing/JMenuBar.java,
12497 javax/swing/JMenuItem.java,
12498 javax/swing/JOptionPane.java,
12499 javax/swing/JProgressBar.java,
12500 javax/swing/JRootPane.java,
12501 javax/swing/JScrollBar.java,
12502 javax/swing/JScrollPane.java,
12503 javax/swing/JSeparator.java,
12504 javax/swing/JSlider.java,
12505 javax/swing/JTabbedPane.java,
12506 javax/swing/JTable.java,
12507 javax/swing/JTextField.java,
12508 javax/swing/JToolBar.java,
12509 javax/swing/JToolTip.java,
12510 javax/swing/JTree.java,
12511 javax/swing/JViewport.java,
12512 javax/swing/JWindow.java,
12513 javax/swing/KeyStroke.java,
12514 javax/swing/LookAndFeel.java,
12515 javax/swing/SwingUtilities.java,
12516 javax/swing/Timer.java,
12517 javax/swing/ToolTipManager.java,
12518 javax/swing/UIDefaults.java,
12519 javax/swing/border/TitledBorder.java,
12520 javax/swing/filechooser/FileSystemView.java,
12521 javax/swing/plaf/basic/BasicButtonListener.java,
12522 javax/swing/plaf/basic/BasicButtonUI.java,
12523 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
12524 javax/swing/plaf/basic/BasicGraphicsUtils.java,
12525 javax/swing/plaf/basic/BasicLabelUI.java,
12526 javax/swing/plaf/basic/BasicMenuItemUI.java,
12527 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
12528 javax/swing/plaf/basic/BasicRootPaneUI.java,
12529 javax/swing/plaf/basic/BasicScrollBarUI.java,
12530 javax/swing/plaf/basic/BasicScrollPaneUI.java,
12531 javax/swing/plaf/basic/BasicSliderUI.java,
12532 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
12533 javax/swing/plaf/basic/BasicToggleButtonUI.java,
12534 javax/swing/table/JTableHeader.java,
12535 javax/swing/text/AbstractDocument.java,
12536 javax/swing/text/DefaultCaret.java,
12537 javax/swing/text/StyledEditorKit.java,
12538 javax/swing/tree/DefaultTreeCellEditor.java:
12539 Cleaned up imports.
12540
12541 2004-05-05 Michael Koch <konqueror@gmx.de>
12542
12543 * java/util/prefs/AbstractPreferences.java
12544 (AbstractPreferences): Added parenthesis for clarity.
12545 Closes classpath bug #7940.
12546
12547 2004-05-05 Tom Tromey <tromey@redhat.com>
12548
12549 * javax/naming/CompoundName.java (endsWith): Look at correct
12550 element of source name.
12551
12552 2004-05-05 Mark Wielaard <mark@klomp.org>
12553
12554 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
12555 * java/util/HashMap.java (rehash): Add entry at start of bucket.
12556
12557 2004-05-05 Tom Tromey <tromey@redhat.com>
12558
12559 * java/io/BufferedReader.java (skip): Removed unused
12560 variable.
12561
12562 2004-05-05 Michael Koch <konqueror@gmx.de>
12563
12564 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
12565
12566 2004-05-05 Dalibor Topic <robilad@kaffe.org>
12567
12568 * java/text/AttributedString.java,
12569 java/text/AttributedStringIterator.java,
12570 java/text/Collator.java,
12571 java/text/DecimalFormatSymbols.java,
12572 java/text/NumberFormat.java,
12573 java/text/RuleBasedCollator.java:
12574 Cleaned up imports.
12575
12576 2004-05-05 Tom Tromey <tromey@redhat.com>
12577
12578 * java/text/Format.java: Cleaned up imports.
12579 * java/text/DecimalFormat.java: Cleaned up imports.
12580 * java/security/SecureRandom.java: Cleaned up imports.
12581 (SecureRandom): Removed unused variable.
12582 * java/security/UnresolvedPermission.java: Cleaned up imports.
12583 * java/util/Date.java (parse): Removed unused variable.
12584 * java/util/ResourceBundle.java: Cleaned up imports.
12585 (getBundle): Removed unused variable.
12586 (tryBundle): Likewise.
12587 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
12588
12589 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
12590
12591 * java/text/SimpleDateFormat.java:
12592 (formatWithAttribute): New method. It implements
12593 the formatting process with attributes.
12594 (format): Use formatWithAttribute.
12595 (formatToCharacterIterator): New method. Use
12596 formatWithAttribute.
12597
12598 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
12599
12600 * java/text/MessageFormat.java:
12601 (class Field): New class.
12602 (formatToCharacterIterator): New method.
12603 (format): Use formatInternal now.
12604 (formatInternal): New method. String formatter should
12605 be done here (with attributes). Attributes merging supported.
12606 (parse): More documentation.
12607 (getFormatsByArgumentIndex): New method.
12608 (setFormatByArgumentIndex): New method.
12609 (setFormatsByArgumentIndex): New method.
12610
12611 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
12612
12613 * java/text/DecimalFormat.java
12614 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
12615 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
12616 (parse): Fixed handling of exponentiation notation and grouping.
12617
12618 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
12619
12620 * java/text/DecimalFormat.java
12621 (scanFix): Build attribute array. Fixed error reporting.
12622 (applyPatternWithSymbols): Store attributes for the prefix and
12623 suffix.
12624 (formatInternal): New method. Changed the way the string is
12625 computed. Implemented attributes. Cleant up rounding in
12626 exponential notation.
12627 (format): Use formatInternal.
12628 (formatToCharacterIterator): New method.
12629 (exponentRound, negativePrefixRanges, positivePrefixRanges,
12630 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
12631 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
12632 New fields.
12633
12634 2004-05-04 Dalibor Topic <robilad@kaffe.org>
12635
12636 * java/security/interfaces/DSAKeyPairGenerator.java,
12637 java/security/interfaces/DSAPrivateKey.java,
12638 java/security/interfaces/DSAPublicKey.java,
12639 java/security/interfaces/RSAPrivateKey.java,
12640 java/security/interfaces/RSAPublicKey.java:
12641 Cleaned up imports.
12642
12643 2004-05-04 Michael Koch <konqueror@gmx.de>
12644
12645 * java/nio/ByteBuffer.java,
12646 java/nio/CharBuffer.java,
12647 java/nio/DoubleBuffer.java,
12648 java/nio/FloatBuffer.java,
12649 java/nio/IntBuffer.java,
12650 java/nio/LongBuffer.java,
12651 java/nio/ShortBuffer.java:
12652 (compareTo): Fixed bogus implementation in all buffer classes.
12653
12654 2004-05-04 Ingo Proetel <proetel@aicas.com>
12655
12656 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
12657 32 bit pixels not 8 bit pixels.
12658 (isCompatibleRaster): Added javadoc comment.
12659
12660 2004-05-04 Ingo Proetel <proetel@aicas.com>
12661
12662 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
12663 scanline stride.
12664
12665 2004-05-04 Ingo Proetel <proetel@aicas.com>
12666
12667 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
12668 (getColorModel): Return the actual color model.
12669 (getRaster): Implemented.
12670 (ColorRaster): New inner class.
12671 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
12672 a PaintContext.
12673 * java/awt/Color.java (<init>): Make exception more verbose.
12674 (createContext): Use ColorModel when creating a PaintContext.
12675
12676 2004-05-04 Michael Koch <konqueror@gmx.de>
12677
12678 * gnu/java/text/CharacterBreakIterator.java
12679 (previous): Removed unused variable.
12680
12681 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
12682
12683 * gnu/java/text/FormatBuffer.java,
12684 gnu/java/text/AttributedFormatBuffer.java,
12685 gnu/java/text/StringFormatBuffer.java: New classes to implement
12686 attributed iterators in java.text.
12687 * gnu/java/text/FormatCharacterIterator.java: Moved
12688 from java/text as it is an internal class.
12689 * java/text/FormatCharacterIterator.java: Removed.
12690 * java/text/Format.java:
12691 Import gnu.java.text.FormatCharacterIterator.
12692 * Makefile.am (java_source_files): Added new files.
12693 * Makefile.in: Regenerated.
12694
12695
12696 2004-05-04 Mark Wielaard <mark@klomp.org>
12697
12698 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
12699
12700 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
12701
12702 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
12703 * Makefile.in: Rebuilt.
12704
12705 2004-05-03 Mark Wielaard <mark@klomp.org>
12706
12707 * gnu/java/security/der/DERReader.java: Call static methods staticly.
12708 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
12709 * java/net/URL.java
12710 (set(String, String, int, String, String, String, String, String)):
12711 Assign this.file to path or path + "?" + query.
12712 * java/util/Arrays.java: Call static methods staticly.
12713 * java/util/zip/ZipEntry.java: Likewise.
12714 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
12715 dir to this.direction.
12716 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
12717 Assign static field only once.
12718 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
12719
12720 2004-05-03 Mark Wielaard <mark@klomp.org>
12721
12722 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
12723 unused variables hScrollbarHeight and vScrollbarWidth.
12724 (preferredSize): Likewise.
12725 * gnu/java/security/provider/DSAParameters.java (engineToString):
12726 Removed unused call to System.getProperty("line.seperator");
12727 * java/security/Security.java (loadProviders): Return result.
12728
12729 2004-05-03 Tom Tromey <tromey@redhat.com>
12730
12731 * java/net/URLStreamHandler.java (toExternalForm): Removed
12732 unused variables.
12733 unused constructor.
12734 * java/math/BigDecimal.java (divide): Removed unused variable.
12735 * java/lang/Throwable.java: Cleaned up imports.
12736 * java/lang/ClassLoader.java: Cleaned up imports.
12737 * java/io/FilePermission.java (implies): Removed unused
12738 variable.
12739 * java/awt/TextComponent.java: Removed unused import.
12740 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
12741 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
12742 * gnu/java/text/WordBreakIterator.java: Removed unused import.
12743 * gnu/java/text/SentenceBreakIterator.java: Removed unused
12744 import.
12745 * gnu/java/text/LineBreakIterator.java: Removed unused import.
12746 * gnu/java/text/CharacterBreakIterator.java: Removed
12747 unused import.
12748 * gnu/java/security/provider/DSAKeyPairGenerator.java:
12749 Cleaned up imports.
12750 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
12751 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
12752 unused method.
12753 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
12754 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
12755 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
12756 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
12757 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
12758 (lookupProviders): Removed unused variable.
12759 (loadNextServiceProvider): Likewise.
12760 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
12761
12762 2004-05-03 Michael Koch <konqueror@gmx.de>
12763
12764 Fixes PR libgcj/14695:
12765 * java/net/NetworkInterface.java
12766 (getByName): Return null when no interface was found.
12767
12768 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
12769 Tom Tromey <tromey@redhat.com>
12770
12771 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
12772 additional option "-Wmissing-prototypes" for compiling C sources.
12773 Print actual filename for pass/fail rather than $name.c.
12774 * testsuite/libjava.jni/PR15133.java: New testcase file.
12775 * testsuite/libjava.jni/PR15133.c: Likewise.
12776 * testsuite/libjava.jni/PR15133.out: Likewise.
12777
12778 2004-04-30 Roger Sayle <roger@eyesopen.com>
12779
12780 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
12781 ceil and floor.
12782
12783 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
12784
12785 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
12786 limit the maximum heap size to avoid unnecessary thrashing.
12787
12788 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
12789
12790 * java/text/CollationElementIterator.java (reset): Reset
12791 lookahead variables.
12792
12793 2004-04-23 Mark Wielaard <mark@klomp.org>
12794
12795 * jni/classpath/jcl.c: Changed C++ comments into C comments.
12796
12797 2004-04-23 Dalibor Topic <robilad@kaffe.org>
12798
12799 * java/sql/DriverManager.java:
12800 Cleaned up imports.
12801
12802 2004-04-23 Michael Koch <konqueror@gmx.de>
12803
12804 * java/net/URL.java
12805 (hashcode): Don't initialize with default value explicitely.
12806 (getContent): Removed redundant "final" keyword.
12807 (openStream): Likewise.
12808 (getURLStreamHandler): Fixed coding style.
12809 * java/net/URLConnection.java
12810 (defaultAllowUserInteraction): Don't initialize with default value
12811 explicitely.
12812 (connected): Likewise.
12813 (doOutput): Likewise.
12814 (ifModifiedSince): Likewise.
12815 (dateformats_initialized): Likewise.
12816 (setURLStreamHander): Use StreamTokenizer where it belongs to.
12817
12818 2004-04-23 Michael Koch <konqueror@gmx.de>
12819
12820 * gnu/java/nio/channels/FileChannelImpl.java
12821 (SET, CUR): Unused, removed.
12822 (read): Implement here directly.
12823 (implRead): Removed.
12824 (write): Implement here directly.
12825 (implWrite): Removed.
12826
12827 2004-04-23 Dalibor Topic <robilad@kaffe.org>
12828
12829 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
12830 javax/rmi/CORBA/Stub.java,
12831 javax/rmi/CORBA/Util.java,
12832 javax/rmi/CORBA/ValueHandler.java,
12833 javax/rmi/CORBA/ValueHandler.java,
12834 javax/rmi/PortableRemoteObject.java:
12835 Cleaned up imports.
12836
12837 2004-04-23 Dalibor Topic <robilad@kaffe.org>
12838
12839 * java/util/jar/JarFile.java,
12840 java/util/jar/JarInputStream.java,
12841 java/util/jar/JarOutputStream.java,
12842 java/util/jar/Manifest.java:
12843 Cleaned up imports.
12844
12845 2004-04-23 Dalibor Topic <robilad@kaffe.org>
12846
12847 * java/util/ArrayList.java,
12848 java/util/Calendar.java,
12849 java/util/Currency.java,
12850 java/util/HashMap.java,
12851 java/util/HashSet.java,
12852 java/util/Hashtable.java,
12853 java/util/LinkedList.java,
12854 java/util/Properties.java,
12855 java/util/PropertyPermission.java,
12856 java/util/TimeZone.java,
12857 java/util/TreeMap.java,
12858 java/util/TreeSet.java,
12859 java/util/Vector.java,
12860 java/util/WeakHashMap.java:
12861 Cleaned up imports.
12862
12863 2004-04-23 Dalibor Topic <robilad@kaffe.org>
12864
12865 * java/util/logging/FileHandler.java,
12866 java/util/logging/Formatter.java,
12867 java/util/logging/Handler.java,
12868 java/util/logging/Logger.java,
12869 java/util/logging/SimpleFormatter.java,
12870 java/util/logging/XMLFormatter.java:
12871 Cleaned up imports.
12872
12873 2004-04-22 Mark Wielaard <mark@klomp.org>
12874
12875 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
12876 -Wno-long-long flags variable.
12877 (gtk_c_files): Use PEDANTIC_CFLAGS.
12878 * Makefile.in: Regenerated.
12879
12880 2004-04-22 Mark Wielaard <mark@klomp.org>
12881
12882 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
12883 Changed C++ comments into C comments.
12884 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
12885 Likewise.
12886
12887 2004-04-22 Michael Koch <konqueror@gmx.de>
12888
12889 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
12890 Merged copyright year with GNU classpath.
12891
12892 2004-04-22 Dalibor Topic <robilad@kaffe.org>
12893
12894 * javax/security/auth/x500/X500Principal.java:
12895 Cleaned up imports.
12896
12897 2004-04-22 Dalibor Topic <robilad@kaffe.org>
12898
12899 * javax/swing/JSlider.java:
12900 Fixed HTML tags in comments.
12901
12902 2004-04-22 Dalibor Topic <robilad@kaffe.org>
12903
12904 * javax/accessibility/AccessibleText.java:
12905 Cleaned up imports.
12906
12907 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
12908
12909 * java/net/URLStreamHandler.java
12910 (parseURL): Convert the file path to using '/' instead of native
12911 file separator.
12912
12913 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
12914
12915 * java/net/URL.java
12916 (userInfo): New field.
12917 (URL): Set authority to the right value.
12918 (setURL): Fixed authority and file initialization.
12919 * java/net/URLStreamHandler.java
12920 (parseURL): Take care of the query tag. Build authority.
12921 (toExternalForm): Fixed URL building using authority.
12922
12923 2004-04-22 Michael Koch <konqueror@gmx.de>
12924
12925 * java/net/Socket.java
12926 (impl): Made package-private.
12927 * java/net/ServerSocket.java
12928 (implAccept): Access Socket.impl field directly.
12929
12930 2004-04-22 Dalibor Topic <robilad@kaffe.org>
12931
12932 * java/util/prefs/Preferences.java,
12933 java/util/prefs/InvalidPreferencesFormatException.java,
12934 java/util/prefs/BackingStoreException.java,
12935 java/util/prefs/AbstractPreferences.java:
12936 Cleaned up imports.
12937
12938 2004-04-22 Dalibor Topic <robilad@kaffe.org>
12939
12940 * java/util/regex/Matcher.java,
12941 java/util/regex/Pattern.java:
12942 Cleaned up imports.
12943
12944 2004-04-22 Michael Koch <konqueror@gmx.de>
12945
12946 * java/nio/charset/IllegalCharsetNameException.java
12947 (charsetName): Made private.
12948 (IllegalCharsetNameException): Added @param tag to javadoc.
12949 (getCharsetName): Added @return tag to javadoc.
12950 * java/nio/charset/MalformedInputException.java
12951 (MalformedInputException): Added @param tag to javadoc.
12952 (getInputLength): Revised method description, added @return tag.
12953 (getMessage): Added @return tag.
12954
12955 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
12956
12957 * java/awt/Font.java (deriveFont): Implement missing variants.
12958 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
12959 missing variants.
12960
12961 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
12962
12963 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
12964 Set method->index values for interface methods to their itable index.
12965 (initializeClass): Call _Jv_LayoutInterfaceMethods.
12966
12967 2004-04-21 Michael Koch <konqueror@gmx.de>
12968
12969 * java/nio/DirectByteBufferImpl.java
12970 (shiftDown): Made static, give address as argument and
12971 provide a convenience method that overwrites shiftDown in
12972 ByteBufferImpl and calls the native shiftDown.
12973 * java/nio/MappedByteBufferImpl.java
12974 (): Use optimized method in DirectByteBufferImpl.
12975 * java/nio/natDirectByteBufferImpl.cc
12976 (shiftDown): Changed method signature. Removed usage of array_offset.
12977
12978 2004-04-21 Michael Koch <konqueror@gmx.de>
12979
12980 * gnu/java/net/natPlainSocketImplPosix.cc
12981 (SocketInputStream::read): Make sure returned data is a byte value.
12982
12983 2004-04-21 Michael Koch <konqueror@gmx.de>
12984
12985 * gnu/classpath/ServiceFactory.java,
12986 gnu/classpath/ServiceProviderLoadingAction.java,
12987 javax/imageio/ImageReader.java,
12988 javax/imageio/ImageTranscoder.java,
12989 javax/imageio/ImageWriter.java,
12990 javax/imageio/package.html,
12991 javax/imageio/spi/IIOServiceProvider.java,
12992 javax/imageio/spi/ImageInputStreamSpi.java,
12993 javax/imageio/spi/ImageOutputStreamSpi.java,
12994 javax/imageio/spi/ImageReaderWriterSpi.java,
12995 javax/imageio/spi/ImageTranscoderSpi.java,
12996 javax/imageio/spi/RegisterableService.java,
12997 javax/imageio/spi/ServiceRegistry.java,
12998 javax/imageio/spi/package.html,
12999 javax/imageio/stream/IIOByteBuffer.java,
13000 javax/imageio/stream/ImageInputStream.java,
13001 javax/imageio/stream/ImageOutputStream.java,
13002 javax/imageio/stream/package.html:
13003 New files.
13004 * Makefile.am
13005 (ordinary_java_source_files): Added
13006 gnu/classpath/ServiceFactory.java and
13007 gnu/classpath/ServiceProviderLoadingAction.java.
13008 (javax_source_files): Added
13009 javax/imageio/ImageReader.java,
13010 javax/imageio/ImageTranscoder.java,
13011 javax/imageio/ImageWriter.java,
13012 javax/imageio/spi/IIOServiceProvider.java,
13013 javax/imageio/spi/ImageInputStreamSpi.java,
13014 javax/imageio/spi/ImageOutputStreamSpi.java,
13015 javax/imageio/spi/ImageReaderWriterSpi.java,
13016 javax/imageio/spi/ImageTranscoderSpi.java,
13017 javax/imageio/spi/RegisterableService.java,
13018 javax/imageio/spi/ServiceRegistry.java,
13019 javax/imageio/stream/IIOByteBuffer.java,
13020 javax/imageio/stream/ImageInputStream.java and
13021 javax/imageio/stream/ImageOutputStream.java.
13022 * Makefile.in: Regenerated.
13023
13024 2004-04-21 Michael Koch <konqueror@gmx.de>
13025
13026 * java/util/Properties.java
13027 (load): Fix wrongly merged fix.
13028
13029 2004-04-21 Mark Wielaard <mark@klomp.org>
13030
13031 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
13032 malloc and free buf.
13033
13034 2004-04-21 Dalibor Topic <robilad@kaffe.org>
13035
13036 * javax/naming/AuthenticationException.java,
13037 javax/naming/AuthenticationNotSupportedException.java,
13038 javax/naming/CannotProceedException.java,
13039 javax/naming/CommunicationException.java,
13040 javax/naming/CompoundName.java,
13041 javax/naming/ConfigurationException.java,
13042 javax/naming/ContextNotEmptyException.java,
13043 javax/naming/InitialContext.java,
13044 javax/naming/InsufficientResourcesException.java,
13045 javax/naming/InterruptedNamingException.java,
13046 javax/naming/LimitExceededException.java,
13047 javax/naming/LinkException.java,
13048 javax/naming/LinkLoopException.java,
13049 javax/naming/LinkRef.java,
13050 javax/naming/MalformedLinkException.java,
13051 javax/naming/Name.java,
13052 javax/naming/NameAlreadyBoundException.java,
13053 javax/naming/NameNotFoundException.java,
13054 javax/naming/NamingSecurityException.java,
13055 javax/naming/NoInitialContextException.java,
13056 javax/naming/NoPermissionException.java,
13057 javax/naming/NotContextException.java,
13058 javax/naming/PartialResultException.java,
13059 javax/naming/ReferralException.java,
13060 javax/naming/ServiceUnavailableException.java,
13061 javax/naming/SizeLimitExceededException.java,
13062 javax/naming/TimeLimitExceededException.java,
13063 javax/naming/directory/Attribute.java,
13064 javax/naming/directory/Attributes.java,
13065 javax/naming/directory/SearchResult.java,
13066 javax/naming/event/NamingExceptionEvent.java,
13067 javax/naming/spi/ResolveResult.java:
13068 Cleaned up imports.
13069
13070 2004-04-21 Mark Wielaard <mark@klomp.org>
13071
13072 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
13073 Changed C++ comments into C comments. Removed commented out code.
13074 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
13075 Likewise.
13076 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
13077 Likewise.
13078 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
13079 Likewise.
13080 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
13081 Likewise.
13082 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
13083 Likewise.
13084 * native/jni/gtk-peer/gthread-jni.c:
13085 Likewise.
13086
13087 2004-04-21 Mark Wielaard <mark@klomp.org>
13088
13089 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
13090 static fields defined in interface.
13091 * javax/awt/JDialog.java: Likewise.
13092 (JDialog): Make constructors public.
13093 (getDefaultCloseOperation): Make public.
13094 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
13095 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
13096 * javax/swing/JViewport.java (JViewport): Make constructor public.
13097
13098 2004-04-21 Michael Koch <konqueror@gmx.de>
13099
13100 * java/util/Map.java
13101 (Entry): Removed redundant "static" modifier.
13102 * java/text/AttributedCharacterIterator.java:
13103 Updated copyright year.
13104
13105 2004-04-20 Michael Koch <konqueror@gmx.de>
13106
13107 * javax/naming/directory/SearchControls.java:
13108 Don't explicitely extend java.lang.Object.
13109 * javax/naming/spi/DirStateFactory.java:
13110 Merged copyright year with GNU classpath.
13111
13112 2004-04-20 Michael Koch <konqueror@gmx.de>
13113
13114 * java/nio/channels/Channels.java:
13115 Merged coding style with GNU classpath.
13116
13117 2004-04-20 Michael Koch <konqueror@gmx.de>
13118
13119 * java/net/ServerSocket.java
13120 Merged coding style from GNU classpath.
13121
13122 2004-04-20 Michael Koch <konqueror@gmx.de>
13123
13124 * java/io/BufferedWriter.java:
13125 Reordered variables to be at top of the class.
13126 (localFlush): Removed redundant final keyword.
13127
13128 2004-04-20 Ingo Proetel <proetel@aicas.com>
13129
13130 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
13131
13132 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
13133
13134 * java/text/DecimalFormat.java (scanFix): Removed suffix check
13135 for percent and permill check.
13136
13137 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
13138
13139 * java/text/FieldPosition.java
13140 (FieldPosition) Constructor now behaves as it should according
13141 to the java documentation.
13142
13143 2004-04-20 Mark Wielaard <mark@klomp.org>
13144
13145 * java/util/Properties.java: Use the word umlaut, not &auml; in api
13146 documentation.
13147
13148 2004-04-20 Michael Koch <konqueror@gmx.de>
13149
13150 * java/nio/Buffer.java,
13151 java/nio/channels/AlreadyConnectedException.java,
13152 java/nio/channels/AsynchronousCloseException.java,
13153 java/nio/channels/ByteChannel.java,
13154 java/nio/channels/CancelledKeyException.java,
13155 java/nio/channels/Channel.java,
13156 java/nio/channels/Channels.java,
13157 java/nio/channels/ClosedByInterruptException.java,
13158 java/nio/channels/ClosedChannelException.java,
13159 java/nio/channels/ClosedSelectorException.java,
13160 java/nio/channels/ConnectionPendingException.java,
13161 java/nio/channels/DatagramChannel.java,
13162 java/nio/channels/FileChannel.java,
13163 java/nio/channels/FileLock.java,
13164 java/nio/channels/FileLockInterruptionException.java,
13165 java/nio/channels/GatheringByteChannel.java,
13166 java/nio/channels/IllegalBlockingModeException.java,
13167 java/nio/channels/IllegalSelectorException.java,
13168 java/nio/channels/InterruptibleChannel.java,
13169 java/nio/channels/NoConnectionPendingException.java,
13170 java/nio/channels/NonReadableChannelException.java,
13171 java/nio/channels/NonWritableChannelException.java,
13172 java/nio/channels/NotYetBoundException.java,
13173 java/nio/channels/NotYetConnectedException.java,
13174 java/nio/channels/OverlappingFileLockException.java,
13175 java/nio/channels/Pipe.java,
13176 java/nio/channels/ReadableByteChannel.java,
13177 java/nio/channels/ScatteringByteChannel.java,
13178 java/nio/channels/SelectableChannel.java,
13179 java/nio/channels/SelectionKey.java,
13180 java/nio/channels/Selector.java,
13181 java/nio/channels/ServerSocketChannel.java,
13182 java/nio/channels/SocketChannel.java,
13183 java/nio/channels/UnresolvedAddressException.java,
13184 java/nio/channels/UnsupportedAddressTypeException.java,
13185 java/nio/channels/WritableByteChannel.java,
13186 java/nio/channels/spi/AbstractInterruptibleChannel.java,
13187 java/nio/channels/spi/AbstractSelectableChannel.java,
13188 java/nio/channels/spi/AbstractSelectionKey.java,
13189 java/nio/channels/spi/AbstractSelector.java,
13190 java/nio/channels/spi/SelectorProvider.java,
13191 java/nio/charset/spi/CharsetProvider.java:
13192 Fixed javadocs and jalopied all over java.nio.
13193
13194 2004-04-20 Michael Koch <konqueror@gmx.de>
13195
13196 * java/nio/ByteBufferImpl.java,
13197 java/nio/CharBufferImpl.java,
13198 java/nio/DirectByteBufferImpl.java,
13199 java/nio/DoubleBufferImpl.java,
13200 java/nio/DoubleViewBufferImpl.java,
13201 java/nio/FloatBufferImpl.java,
13202 java/nio/FloatViewBufferImpl.java,
13203 java/nio/IntBufferImpl.java,
13204 java/nio/IntViewBufferImpl.java,
13205 java/nio/LongBufferImpl.java,
13206 java/nio/LongViewBufferImpl.java,
13207 java/nio/MappedByteBufferImpl.java,
13208 java/nio/ShortBufferImpl.java,
13209 java/nio/ShortViewBufferImpl.java:
13210 Made sure all classes are final and removed final keyword from all
13211 methods.
13212
13213 2004-04-20 Michael Koch <konqueror@gmx.de>
13214
13215 * java/rmi/MarshalledObject.java,
13216 java/rmi/Naming.java,
13217 java/rmi/RemoteException.java,
13218 java/rmi/activation/ActivationException.java,
13219 java/rmi/server/ServerCloneException.java,
13220 java/security/AccessController.java,
13221 java/security/AlgorithmParameterGenerator.java,
13222 java/security/AlgorithmParameters.java,
13223 java/security/CodeSource.java,
13224 java/security/Identity.java,
13225 java/security/IdentityScope.java,
13226 java/security/KeyPairGenerator.java,
13227 java/security/KeyStore.java,
13228 java/security/Security.java,
13229 java/security/Signature.java,
13230 java/security/SignatureSpi.java,
13231 java/security/SignedObject.java,
13232 java/security/spec/DSAParameterSpec.java,
13233 java/security/spec/DSAPrivateKeySpec.java,
13234 java/security/spec/DSAPublicKeySpec.java,
13235 java/sql/Array.java,
13236 java/sql/DatabaseMetaData.java,
13237 java/sql/ResultSet.java,
13238 java/text/ChoiceFormat.java,
13239 java/text/CollationElementIterator.java,
13240 java/text/CollationKey.java,
13241 java/text/Collator.java,
13242 java/text/DateFormat.java,
13243 java/text/DateFormatSymbols.java,
13244 java/text/DecimalFormatSymbols.java,
13245 java/text/Format.java,
13246 java/text/ParsePosition.java,
13247 java/text/RuleBasedCollator.java,
13248 java/text/SimpleDateFormat.java,
13249 java/text/StringCharacterIterator.java,
13250 java/util/Collections.java,
13251 java/util/PropertyResourceBundle.java,
13252 java/util/ResourceBundle.java,
13253 java/util/StringTokenizer.java,
13254 java/util/jar/Attributes.java,
13255 java/util/logging/ConsoleHandler.java,
13256 java/util/logging/LogManager.java,
13257 java/util/logging/MemoryHandler.java,
13258 java/util/logging/SocketHandler.java,
13259 javax/naming/NamingException.java:
13260 Fixed javadoc, coding style and argument names all over.
13261
13262 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
13263
13264 * java/io/FileDescriptor.java: (FileDescriptor) Added public
13265 constructor. (valid) Added null check.
13266
13267 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
13268
13269 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
13270 * java/io/FileOutputStream.java
13271 (FileOutputStream) Reorganized constructors. Constructors now
13272 check whether the given path is directory.
13273
13274 2004-04-20 Michael Koch <konqueror@gmx.de>
13275
13276 * java/net/Authenticator.java,
13277 java/net/BindException.java,
13278 java/net/ConnectException.java,
13279 java/net/ContentHandler.java,
13280 java/net/ContentHandlerFactory.java,
13281 java/net/DatagramPacket.java,
13282 java/net/DatagramSocket.java,
13283 java/net/DatagramSocketImpl.java,
13284 java/net/DatagramSocketImplFactory.java,
13285 java/net/FileNameMap.java,
13286 java/net/HttpURLConnection.java,
13287 java/net/Inet4Address.java,
13288 java/net/Inet6Address.java,
13289 java/net/InetAddress.java,
13290 java/net/InetSocketAddress.java,
13291 java/net/JarURLConnection.java,
13292 java/net/MalformedURLException.java,
13293 java/net/MulticastSocket.java,
13294 java/net/NetPermission.java,
13295 java/net/NetworkInterface.java,
13296 java/net/NoRouteToHostException.java,
13297 java/net/PasswordAuthentication.java,
13298 java/net/PortUnreachableException.java,
13299 java/net/ProtocolException.java,
13300 java/net/ServerSocket.java,
13301 java/net/Socket.java,
13302 java/net/SocketAddress.java,
13303 java/net/SocketException.java,
13304 java/net/SocketImpl.java,
13305 java/net/SocketImplFactory.java,
13306 java/net/SocketOptions.java,
13307 java/net/SocketPermission.java,
13308 java/net/SocketTimeoutException.java,
13309 java/net/URI.java,
13310 java/net/URISyntaxException.java,
13311 java/net/URL.java,
13312 java/net/URLClassLoader.java,
13313 java/net/URLConnection.java,
13314 java/net/URLDecoder.java,
13315 java/net/URLEncoder.java,
13316 java/net/URLStreamHandler.java,
13317 java/net/URLStreamHandlerFactory.java,
13318 java/net/UnknownHostException.java,
13319 java/net/UnknownServiceException.java:
13320 Fixed javadocs, coding style and argument names all over.
13321
13322 2004-04-20 Michael Koch <konqueror@gmx.de>
13323
13324 * java/lang/Byte.java,
13325 java/lang/CharSequence.java,
13326 java/lang/ClassLoader.java,
13327 java/lang/Compiler.java,
13328 java/lang/Double.java,
13329 java/lang/Float.java,
13330 java/lang/Integer.java,
13331 java/lang/Long.java,
13332 java/lang/Math.java,
13333 java/lang/Number.java,
13334 java/lang/Package.java,
13335 java/lang/Runtime.java,
13336 java/lang/RuntimePermission.java,
13337 java/lang/SecurityManager.java,
13338 java/lang/Short.java,
13339 java/lang/StringBuffer.java,
13340 java/lang/System.java,
13341 java/lang/ThreadGroup.java,
13342 java/lang/Throwable.java,
13343 java/lang/reflect/InvocationHandler.java,
13344 java/lang/reflect/Proxy.java:
13345 Fixed javadocs, coding style and argument names all over.
13346
13347 2004-04-20 Michael Koch <konqueror@gmx.de>
13348
13349 * java/io/BufferedWriter.java,
13350 java/io/ByteArrayInputStream.java,
13351 java/io/CharArrayWriter.java,
13352 java/io/DataInput.java,
13353 java/io/DataInputStream.java,
13354 java/io/File.java,
13355 java/io/FilterInputStream.java,
13356 java/io/InputStream.java,
13357 java/io/InputStreamReader.java,
13358 java/io/ObjectInputStream.java,
13359 java/io/ObjectStreamClass.java,
13360 java/io/PipedInputStream.java,
13361 java/io/PipedReader.java,
13362 java/io/PushbackInputStream.java,
13363 java/io/PushbackReader.java,
13364 java/io/RandomAccessFile.java,
13365 java/io/SerializablePermission.java,
13366 java/io/StreamTokenizer.java,
13367 java/io/StringWriter.java,
13368 java/io/WriteAbortedException.java,
13369 java/io/Writer.java:
13370 Fixed javadocs all over, rename arguments to match javadocs,
13371 fixed coding style.
13372
13373 2004-04-20 Ingo Proetel <proetel@aicas.com>
13374
13375 * java/awt/FontMetrics.java:
13376 (charsWidth): fixed accumulation of total_width
13377 (getWidth): simple default implementation
13378 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
13379 in Rectangle constructor.
13380 * java/awt/image/Raster.java (toString): Added method.
13381 * java/awt/image/SampleModel.java (<init>): Added error cause
13382 information to thrown exception.
13383 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
13384 New method.
13385 (setDataElements): New method.
13386 (setPixels): New method.
13387 (toString): New method.
13388
13389 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
13390
13391 * java/awt/image/ComponentColorModel.java
13392 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
13393 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
13394 Mauve tests on this method. Improved documentation.
13395
13396 2004-04-20 Michael Koch <konqueror@gmx.de>
13397
13398 * javax/swing/JLayeredPane.java,
13399 javax/swing/plaf/BorderUIResource.java,
13400 javax/swing/plaf/ComponentUI.java,
13401 javax/swing/undo/CompoundEdit.java,
13402 javax/swing/undo/StateEdit.java:
13403 Fixed HTML tags in javadocs all over.
13404
13405 2004-04-20 Michael Koch <konqueror@gmx.de>
13406
13407 * javax/print/attribute/EnumSyntax.java
13408 (getOffset): Made protected.
13409 * javax/print/attribute/HashAttributeSet.java
13410 (HashAttributeSet): Likewise.
13411 * javax/print/attribute/ResolutionSyntax.java
13412 (getFeedResolution): Fixed typo in exception name.
13413 (getCrossFeedResolution): Likewise.
13414 * javax/print/attribute/SetOfIntegerSyntax.java
13415 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
13416 * javax/print/attribute/TextSyntax.java
13417 (TextSyntax): Handle locale correctly.
13418 (hashCode): Calc better hashcode value.
13419 (equals): Fixed @return tag.
13420 (toString): New method.
13421
13422 2004-04-20 Michael Koch <konqueror@gmx.de>
13423
13424 * gnu/java/nio/FileLockImpl.java
13425 (static): Removed, not needed anymore.
13426 * gnu/java/nio/channels/FileChannelImpl.java
13427 (FileChannelImpl): Made final.
13428 (mode): Made private.
13429 (READ, WRITE, APPEND): Made public.
13430 (EXCL, SYNC, DSYNC): Likewise.
13431 (static): Load native JNI library, when needed.
13432 (length): Unused, removed.
13433 (available): Made public.
13434 (implPosition): Throws IOException.
13435 (seek): Likewise.
13436 (implTruncate): Likewise.
13437 (unlock): Likewise.
13438 (lock): Likewise.
13439
13440 2004-04-20 Michael Koch <konqueror@gmx.de>
13441
13442 * java/awt/AWTPermission.java,
13443 java/awt/Component.java,
13444 java/awt/ComponentOrientation.java,,
13445 java/awt/Dialog.java,
13446 java/awt/FontMetrics.java,
13447 java/awt/Graphics.java,
13448 java/awt/datatransfer/DataFlavor.java,
13449 java/beans/Introspector.java,
13450 java/beans/PropertyEditor.java,
13451 java/beans/PropertyEditorManager.java,
13452 java/beans/beancontext/BeanContextServiceProvider.java:
13453 Fixed HTML tags in javadocs all over.
13454
13455 2004-04-20 Mark Wielaard <mark@klomp.org>
13456
13457 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
13458 MissingResourceException is thrown.
13459 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
13460 null when a MissingResourceException is thrown. Should never happen.
13461
13462 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
13463
13464 * java/awt/image/DataBufferShort.java,
13465 java/awt/image/DataBufferFloat.java,
13466 java/awt/image/DataBufferDouble.java,
13467 java/awt/image/PixelInterleavedSampleModel.java: New files.
13468 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
13469 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
13470
13471 2004-04-20 Michael Koch <konqueror@gmx.de>
13472
13473 * Makefile.am (java_source_files): Added
13474 java/awt/image/DataBufferDouble.java,
13475 java/awt/image/DataBufferFloat.java,
13476 java/awt/image/DataBufferShort.java and
13477 java/awt/image/PixelInterleavedSampleModel.java.
13478 * Makefile.in: Regenerated.
13479
13480 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
13481
13482 * gcj/cni.h (JvAllocObject): Remove these obsolete,
13483 undocumented CNI calls.
13484 * include/java-interp.h (_Jv_InterpClass): No longer
13485 extends java.lang.Class.
13486 * java/lang/Class.h (Class): Add new field `aux_info'.
13487 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
13488 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
13489 Use Class->aux_info instead.
13490 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
13491 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
13492 Use Class->aux_info instead.
13493 * java/io/natObjectInputStream.cc (allocateObject): Use
13494 _Jv_AllocObject.
13495 * java/lang/natClass.cc (newInstance): Likewise.
13496 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
13497 * java/lang/natObject.cc (clone): Likewise.
13498 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
13499 * java/lang/natVMClassLoader.cc (defineClass): Don't use
13500 JvAllocObject. Allocate klass->aux_info here for interpreted
13501 class.
13502
13503 2004-04-17 Mark Wielaard <mark@klomp.org>
13504
13505 * javax/swing/JToggleButton.java (ToggleButtonModel):
13506 Make public static inner class.
13507 * javax/swing/JTabbedPane.java (setComponentAt):
13508 Call Page.setComponent().
13509 (SCROLL_TAB_LAYOUT): Make public, value is 1.
13510 (WRAP_TAB_LAYOUT): Make public, value is 0.
13511 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
13512 Make private static inner class.
13513
13514 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
13515
13516 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
13517 arguments to match new signature. Remove FIXME comments.
13518
13519 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
13520
13521 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
13522 Remove method.
13523 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
13524 unused code.
13525
13526 2004-04-02 Olga Rodimina <rodimina@redhat.com>
13527
13528 * Makefile.am: Added new file.
13529 * Makefile.in: Regenerate.
13530 * javax/swing/ImageIcon.java:
13531 (ImageIcon(file)): set description of the icon
13532 to the file name
13533 * javax/swing/JCheckBoxMenuItem.java:
13534 Mostly Implemented. Work in progress.
13535 * javax/swing/JRadioButtonMenuItem.java:
13536 Reimplement constructors to use JToggleButtonModel.
13537 * javax/swing/plaf/basic/BasicIconFactory.java:
13538 (getCheckBoxMenuItemIcon): return check box
13539 icon.
13540 * javax/swing/plaf/basic/BasicMenuItemUI.java:
13541 paint menu item selected only when it is armed and
13542 pressed.
13543
13544 2004-04-02 David Jee <djee@redhat.com>
13545
13546 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
13547 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
13548 * java/awt/Component.java
13549 (add): Set the parent of the popup as this component.
13550 * java/awt/PopupMenu.java
13551 (addNotify): Create popup menu when peer is null.
13552 (show): Call addNotify() if peer is null.
13553 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
13554 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
13555 argument for gtk_menu_popup() as zero. This causes the popup menu to
13556 respond to any mouse button.
13557
13558 2004-03-31 Olga Rodimina <rodimina@redhat.com>
13559
13560 * Makefile.am: Added new file.
13561 * Makefile.in: Regenerate.
13562 * javax/swing/JRadioButtonMenuItem.java:
13563 Implemented.
13564 * javax/swing/plaf/basic/BasicIconFactory.java:
13565 (getRadioButtonMenuItemIcon): Return
13566 radio button icon.
13567 * javax/swing/plaf/basic/BasicMenuItemUI.java:
13568 (getPreferredSize): Add size of checkIcon if it
13569 exists.
13570 (installDefaults): Don't initialize checkIcon.
13571 It's value will be set in subclasses.
13572 (uninstallDefaults): remove uninstallation of
13573 checkIcon.
13574 (paint): Moved code to paintMenuItem().
13575 (paintMenuItem): Implemented.
13576 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
13577 UI delegate for JRadioButtonMenuItem.
13578
13579 2004-03-29 Olga Rodimina <rodimina@redhat.com>
13580
13581 * javax/swing/plaf/basic/BasicMenuItemUI.java:
13582 Corrected position of the accelerator.
13583
13584 2004-03-29 Olga Rodimina <rodimina@redhat.com>
13585
13586 * Makefile.am: Added new file.
13587 * Makefile.in: Regenerate.
13588 * javax/swing/JMenuItem.java: Partly
13589 implemented. Work in progress
13590 * javax/swing/plaf/basic/BasicLookAndFeel.java:
13591 Changed default value of acceleratorDelimiter.
13592 * javax/swing/plaf/basic/BasicMenuItemUI.java:
13593 New class. Partly implemented.
13594
13595 2004-03-26 Mark Wielaard <mark@klomp.org>
13596
13597 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
13598 (item_activate): Declare label before use.
13599 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13600 (gtkSetFont): Removed unused variable label.
13601 (addExposeFilter): Declare variables before use.
13602 (removeExposeFilter): Likewise.
13603 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
13604 (ok_clicked): Declare str_fileName before use.
13605
13606 2004-03-26 David Jee <djee@redhat.com>
13607
13608 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
13609 (addSeparator): Remove.
13610 * java/awt/Menu.java
13611 (separator): Remove static final MenuItem field.
13612 (separatorLabel): New static final String field.
13613 (addSeparator): Do not use peer method; use add(MenuItem) instead.
13614 Use separatorLabel to denote that it is a separator.
13615 (insertSeparator): Create a new MenuItem with separatorLabel, instead
13616 of reusing the static separator instance, because a MenuItem instance
13617 can't be added more than once without being cloned.
13618 * java/awt/peer/MenuPeer.java
13619 (addSeparator): Remove from interface.
13620
13621 2004-03-26 David Jee <djee@redhat.com>
13622
13623 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
13624 (connectSignals): New native method declaration.
13625 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
13626 * java/awt/MenuItem.java
13627 (getActionCommand): Return the label if the action command is not set.
13628 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
13629 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
13630 gtk_menu_shell_append().
13631 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
13632 (item_activate): Fix argument type.
13633 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
13634 signal here.
13635 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
13636 method.
13637 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
13638 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
13639 given. Add the menu widget's top-level GtkWindow to the global window
13640 group, so it can grab the pointer.
13641 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
13642 gtk_menu_shell_append().
13643
13644 2004-03-23 Graydon Hoare <graydon@redhat.com>
13645
13646 * java/text/AttributedString.java
13647 (addAttribute): Fix off-by-one.
13648 (getIterator): Likewise.
13649 * java/text/AttributedStringIterator.java
13650 (getRunLimit): Correct logic.
13651 (getRunStart): Likewise.
13652 (getAttribute): Fix inequality.
13653 (getAttributes): Likewise.
13654 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
13655
13656 2004-03-23 Kim Ho <kho@redhat.com>
13657
13658 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
13659 (calculateSizes): Return real width and height.
13660
13661 2004-03-23 Kim Ho <kho@redhat.com>
13662
13663 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
13664 (calculateTabRects): Set the selectedRun before
13665 trying to rotate tabs.
13666
13667 2004-03-23 Kim Ho <kho@redhat.com>
13668
13669 * Makefile.am: New file
13670 * Makefile.in: Regenerate
13671 * java/awt/Graphics.java: (drawRect):
13672 Draw to the correct point.
13673 * javax/swing/DefaultSingleSelectionModel.java
13674 (isSelected): Return true if the selected index
13675 is not -1.
13676 * javax/swing/JLabel.java: Do not change mnemonic
13677 index if text is null.
13678 * javax/swing/JProgressBar.java: Use JComponent's
13679 EventListenerList.
13680 * javax/swing/JScrollBar.java: Ditto.
13681 * javax/swing/JSlider.java: Ditto.
13682 * javax/swing/JTabbedPane.java: Reimplement.
13683 * javax/swing/plaf/basic/BasicLookAndFeel.java:
13684 Add defaults for TabbedPane.
13685 * javax/swing/plaf/basic/BasicArrowButton.java:
13686 Implement
13687 * javax/swing/plaf/basic/BasicProgressBarUI.java:
13688 (paintDeterminate): Don't paint String if it's
13689 empty.
13690 (paintIndeterminate): ditto.
13691 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
13692 Reimplement.
13693
13694 2004-03-19 Michael Koch <konqueror@gmx.de>
13695
13696 * java/awt/image/AffineTransformOp.java
13697 (AffineTransformOp): Made public.
13698 * javax/swing/JComponent.java
13699 (listenerList): Made protected.
13700 (accessibleContext): Likewise.
13701 * javax/swing/JList.java
13702 (valueChanged): Dont use internal fields of ListSelectionEvent.
13703 * javax/swing/JViewport.java
13704 (getView): Dont use internal fields of Component.
13705 (addImpl): Likewise.
13706 * javax/swing/Timer.java
13707 (isRunning): Made public.
13708 (start): Likewise.
13709 (stop): Likewise.
13710 * javax/swing/UIDefaults.java
13711 (getInt): Made public.
13712 * javax/swing/plaf/basic/BasicListUI.java
13713 (mousePressed): Dont use internal fields of MouseEvent.
13714 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
13715 * javax/swing/plaf/basic/BasicScrollBarUI.java
13716 (arrowIcon): Made static.
13717 * javax/swing/plaf/basic/BasicViewportUI.java
13718 (stateChanged): Dont use internal field on ChangeEvent.
13719 * javax/swing/text/JTextComponent.java
13720 (getUI): Call UIManager.getUI().
13721 (updateUI): Use getUI().
13722
13723 2004-03-19 Graydon Hoare <graydon@redhat.com>
13724
13725 * javax/swing/JComponent.java: Turn off double buffer by default.
13726 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
13727 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
13728 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
13729 Use cairo to copy areas.
13730 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
13731 Initialize and set clip region.
13732
13733 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
13734
13735 * java/applet/Applet.java (preferredSize): Override deprecated
13736 variant of getPreferredSize.
13737 (minimumSize): Override deprecated variant of getMinimumSize.
13738
13739 2004-03-15 Olga Rodimina <rodimina@redhat.com>
13740
13741 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
13742 (drawImage(img,xform,bgcolor,obs)): New Method.
13743 Helper function that every drawImage method will
13744 use.
13745 (drawRaster): Added new parameter, bgcolor. All
13746 transparent pixels are changed to bgcolor before
13747 image is drawn.
13748 (drawRenderedImage): Fixed to use changed drawRaster().
13749 (drawImage(image,xform,obs): Fixed to use new helper function
13750 (drawImage(image,op,x,y)): Ditto.
13751 (drawImage (img,x,y,observer)): Ditto.
13752 ((PainterThread) bgcolor): New Field.
13753 ((PainterThread) (setPixels)): Changed all transparent pixels
13754 to bgcolor.
13755 (drawImage(img,x,y,width,height,bgcolor,observer)):
13756 Fixed FIXME - all the transparent pixels are
13757 changed to the specified bgcolor.
13758 (drawImage(img, x, y, width, height, observer): Changed to
13759 use function above.
13760 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
13761 Fixed FIXME- changed all transparent pixels to bgcolor.
13762 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
13763 Changed to use function above.
13764
13765 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
13766
13767 * java/applet/Applet.java (dimensions): New field.
13768 (getDimensions): New method.
13769 (getPreferredSize): Call getDimensions.
13770 (getMinimumSize): Likewise.
13771
13772 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
13773
13774 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
13775 * jni/classpath/jnilink.c: Likewise.
13776
13777 * java/applet/Applet.java (getPreferredSize): New method.
13778 (getMinimumSize): New method.
13779
13780 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
13781
13782 * prims.cc (_Jv_AllocObject): Remove `size' argument.
13783 (_Jv_AllocObjectNoFinalizer): Likewise.
13784 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
13785 (_Jv_AllocPtrFreeObject): Likewise.
13786 (_Jv_AllocString): Moved from natString.cc. Call collector interface
13787 directly even in the JVMPI case.
13788 * gcj/cni.h (JvAllocObject): Remove `size' argument from
13789 _Jv_AllocObject calls.
13790 * gcj/javaprims.h: Update prototypes.
13791 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
13792 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
13793 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
13794
13795 2004-04-14 Andrew Haley <aph@redhat.com>
13796 Bryce McKinlay <mckinlay@redhat.com>
13797
13798 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
13799 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
13800 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
13801
13802 * testsuite/libjava.lang/InvokeInterface.java: New file.
13803 * testsuite/libjava.lang/InvokeInterface.out: New file.
13804
13805 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
13806
13807 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
13808 modified lookup().
13809 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
13810 StackTraceElement directly.
13811 (newElement): New native helper method to create StackTraceElement
13812 bypassing Java access control.
13813 (createStackTraceElement): Use newElement() instead of directly
13814 calling StackTraceElement's constructor.
13815 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
13816
13817 2004-04-01 Michael Koch <konqueror@gmx.de>
13818
13819 * java/lang/SecurityManager.java
13820 (checkAwtEventQueueAccess): Implemented.
13821
13822 2004-04-01 Gary Benson <gbenson@redhat.com>
13823
13824 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
13825 (_Jv_SearchMethodInClass): Likewise.
13826
13827 2004-03-26 Peter Moon <peterm@miraculum.com>
13828
13829 * java/text/NumberFormat.java: Fix spelling of setCurrency
13830 method.
13831
13832 2004-03-21 Anthony Green <green@redhat.com>
13833
13834 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
13835 recursion when searching for the system ClassLoader.
13836
13837 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
13838
13839 * java/net/ServerSocket.java
13840 (accept): Close the socket when error occured.
13841
13842 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
13843
13844 * java/net/URI.java (parseURI): Added unquoting.
13845 (unquote): New method.
13846 (quoteAuthority): Implemented.
13847 (quote(String,String)): New method.
13848 (quotePath): Implemented.
13849 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
13850 (getSchemeSpecificPart): Removed FIXME comment.
13851 (getRawAuthority): Return new rawAuthority field.
13852 (getAuthority): Removed FIXME comment.
13853 (getRawUserInfo): Return new rawUserInfo field.
13854 (getUserInfo): Removed FIXME comment.
13855 (getRawPath): Return new rawPath field.
13856 (getPath): Removed FIXME comment.
13857 (getRawQuery): Return new rawQuery field.
13858 (getQuery): Removed FIXME comment.
13859 (getRawFragment): Return new rawFragment field.
13860 (getFragment): Removed FIXME comment.
13861
13862 2004-03-20 Michael Koch <konqueror@gmx.de>
13863
13864 * java/net/URLConnection.java: Merged copyright year with classpath.
13865
13866 2004-03-20 Norbert Frese <postfach@nfrese.net>
13867
13868 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
13869 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
13870 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
13871 rmi-message.
13872 (getObjectInputStream): Return object reference, throw IOException if null.
13873 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
13874 (getObjectOutputStream): Return object reference, throw IOException if null.
13875 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
13876 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
13877 (UnicastConnectionManager): Throw RemoteException if port is not available.
13878 (getInstance): Throw RemoteException.
13879 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
13880 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
13881 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
13882 Collect Exceptions which are returned by a rmi-call and fix void returns.
13883 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
13884 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
13885 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
13886 (dispatch): Answer ping messages which are sent by other java implementions.
13887 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
13888 for every rmi-message and fix void return problems.
13889 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
13890 (UnicastServerRef): Throw RemoteException.
13891 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
13892 In some situations it is necessary to export a subclass of the class which has the _Stub.
13893 For instance when the class with has the _Stub is abstract.
13894 (findStubSkelClass): New method which looks for the class which has the _Stub.
13895 (getClientHost): Implementated.
13896 * gcc/libjava/java/rmi/server/RemoteServer.java
13897 (getClientHost): Implementated.
13898 * gcc/libjava/Makefile.am (rmi_java_source_files):
13899 Added gnu/java/rmi/server/RMIIncomingThread.java.
13900 * Makefile.in: Regenerated.
13901
13902 2004-03-20 Michael Koch <konqueror@gmx.de>
13903
13904 * java/net/InetAddress.java
13905 (getLocalHostname): Added javadoc.
13906
13907 2004-03-19 Per Bothner <per@bothner.com>
13908
13909 * configure.in: FILE variable overrides FLATFORM when linking
13910 natFileChannelXXX.cc.
13911
13912 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
13913 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
13914
13915 2004-03-19 Per Bothner <per@bothner.com>
13916
13917 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
13918 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
13919 * Makefile.am: Update accordingly.
13920 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
13921 as aliases for UnicodeLittle and UnicodeBig.
13922
13923 2004-03-20 Mark Wielaard <mark@klomp.org>
13924
13925 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
13926 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
13927 Don't access ws when it is null.
13928 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
13929 Likewise.
13930
13931 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
13932
13933 * java/lang/ThreadGroup.java (list): Changed print to println.
13934
13935 2004-03-19 Mark Wielaard <mark@klomp.org>
13936
13937 * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
13938 happy.
13939
13940 2004-02-10 Randolph Chung <tausq@debian.org>
13941
13942 * configure.in: Build java for hppa target.
13943 * configure: Regenerate.
13944 * libjava/configure.host (hppa-*): Add target.
13945 * libjava/sysdeps/pa/lock.h: New file.
13946
13947 2004-03-19 Mark Wielaard <mark@klomp.org>
13948
13949 Reported by Stephen Crawley
13950 * java/io/FilePermission.java (implies): Use String.length() -1 to
13951 access last char of String.
13952
13953 2004-03-19 Michael Koch <konqueror@gmx.de>
13954
13955 * java/awt/image/AffineTransformOp.java
13956 (AffineTransformOp): Made public.
13957 * javax/swing/JComponent.java
13958 (listenerList): Made protected.
13959 (accessibleContext): Likewise.
13960 * javax/swing/JList.java
13961 (valueChanged): Dont use internal fields of ListSelectionEvent.
13962 * javax/swing/JViewport.java
13963 (getView): Dont use internal fields of Component.
13964 (addImpl): Likewise.
13965 * javax/swing/Timer.java
13966 (isRunning): Made public.
13967 (start): Likewise.
13968 (stop): Likewise.
13969 * javax/swing/UIDefaults.java
13970 (getInt): Made public.
13971 * javax/swing/plaf/basic/BasicListUI.java
13972 (mousePressed): Dont use internal fields of MouseEvent.
13973 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
13974 * javax/swing/plaf/basic/BasicScrollBarUI.java
13975 (arrowIcon): Made static.
13976 * javax/swing/plaf/basic/BasicViewportUI.java
13977 (stateChanged): Dont use internal field on ChangeEvent.
13978 * javax/swing/text/JTextComponent.java
13979 (getUI): Call UIManager.getUI().
13980 (updateUI): Use getUI().
13981
13982 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13983
13984 * verify.cc: Undef PC.
13985
13986 2004-03-18 Michael Koch <konqueror@gmx.de>
13987
13988 * java/nio/channels/spi/AbstractSelectableChannel.java
13989 (keys): Initialize at declaration.
13990 (locate): keys cant be null.
13991 (add): Removed.
13992 (addSelectionKey): New method.
13993 (removeSelectionKey): New method.
13994 * java/nio/channels/spi/AbstractSelectionKey.java
13995 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
13996 * java/nio/channels/spi/AbstractSelector.java
13997 (provider): Javadoc added.
13998 (cancelledKeys): Javadoc added.
13999 (cancelKey): Javadoc added, add key to cancelledKeys.
14000 (deregister): Implemented.
14001
14002 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14003
14004 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
14005 MAP_FAILED to void *.
14006
14007 2004-03-12 Graydon Hoare <graydon@redhat.com>
14008
14009 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
14010 * javax/swing/JComponent.java (paint): Use persistent double buffer.
14011 * javax/swing/JList.java (ListListener): Revalidate on changes.
14012 * javax/swing/JScrollPane.java: Reimplement.
14013 * javax/swing/JViewport.java: Reimplement.
14014 * javax/swing/ScrollPaneLayout.java: Reimplement.
14015 * javax/swing/ViewportLayout.java: Tidy up.
14016 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
14017 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
14018 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
14019 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
14020 backing store only.
14021
14022 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
14023
14024 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
14025 (window_wm_protocols_filter): New function.
14026 (window_focus_in_cb): Remove function.
14027 (window_focus_out_cb): Likewise.
14028 (window_focus_or_active_state_change_cb): New function.
14029 (create): Add filter that removes WM_TAKE_FOCUS client messages.
14030 (connectSignals): Don't attach handlers to focus-in-event or
14031 focus-out-event signals. Handle notify signal.
14032
14033 2004-03-11 David Jee <djee@redhat.com>
14034
14035 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14036 (gtkSetLabel): New native method declaration.
14037 (setLabel): Use gtkSetLabel.
14038 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
14039 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
14040
14041 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
14042
14043 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
14044 black when color argument is null.
14045
14046 2004-03-10 Kim Ho <kho@redhat.com>
14047
14048 * java/awt/Container.java: Remove check
14049 for drag events.
14050
14051 2004-03-10 Kim Ho <kho@redhat.com>
14052
14053 * java/awt/Container.java: (visitChild):
14054 Remove candidate clip. Use the component
14055 clip to intersect.
14056 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
14057 (handleEvent): Use the PaintEvent's clip.
14058
14059 2004-03-10 Kim Ho <kho@redhat.com>
14060
14061 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
14062 (handleEvent): Don't set the clip for the
14063 Graphics object.
14064
14065 2004-03-09 Graydon Hoare <graydon@redhat.com>
14066
14067 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
14068 Fix double <-> fixed macros, reset font transform.
14069 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
14070 Likewise.
14071
14072 2004-03-09  Kim Ho <kho@redhat.com>
14073
14074 * java/awt/Container.java: (visitChild): Move
14075 the x and y coordinate of the component rectangle
14076 to correct position.
14077 (handleEvent): Forward drag events to the pressed
14078 component.
14079 * javax/swing/plaf/basic/BasicScrollBarUI.java:
14080 Fix comments.
14081 (ArrowButtonListener::mousePressed): Stop the
14082 existing timer.
14083 (mouseDragged): Implement.
14084 (TrackListener::mousePressed): Only react if
14085 the press doesn't occur on the thumb, otherwise
14086 just set the offset.
14087 (TrackListener::mouseReleased): Unset the isAdjusting
14088 value.
14089 (createIncreaseIcon): Switch icon.
14090 (createDecreaseIcon): Switch icon.
14091 (calculatePreferredSize): Use width.
14092 (getThumbBounds): Use the top as the lower value.
14093 (layoutVScrollBar): Switch the button locations.
14094 (paintIncreaseHighlight): Paint correct side of thumb.
14095 (paintDecreaseHighlight): ditto.
14096 (valueForYPosition): Use top as the lower value.
14097 * javax/swing/plaf/basic/BasicSliderUI.java:
14098 Fix comments.
14099 (mouseDragged): Implement.
14100 (mousePressed): Only react when the thumb isn't
14101 pressed, otherwise just set offset.
14102 (mouseReleased): Handle a release of the thumb.
14103 (scrollDueToClickInTrack): Stop the timer first.
14104 * javax/swing/JProgressBar.java:
14105 (setString): Fix change condition.
14106 * javax/swing/JSeparator.java:
14107 Remove println's.
14108
14109 2004-03-08 David Jee <djee@redhat.com>
14110
14111 * java/awt/image/AffineTransformOp.java:
14112 (filter): Use Graphics2D interface instead of directly using the
14113 GdkGraphics2D peer.
14114
14115 2004-03-05 David Jee <djee@redhat.com>
14116
14117 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
14118 (handleEvent): Action events are generated upon MOUSE_RELEASED.
14119 * java/awt/Container.java
14120 (acquireComponentForMouseEvent): Fixed.
14121 (handleEvent): Fixed.
14122 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
14123 (state_to_awt_mods_with_button_states): New method.
14124 (pre_event_handler): Fixed mouse event generation.
14125
14126 2004-03-05 Olga Rodimina <rodimina@redhat.com>
14127
14128 gnu/java/awt/peer/gtk/GdkGraphics2D.java
14129 (GdkGraphics2D (BufferedImage)): Initialize
14130 pixmap associated with specified BufferedImage.
14131 (setPaint): Changed implementation of Texture
14132 Paint to use AffineTransformOp.
14133 * java/awt/image/AffineTransformOp.java
14134 (createCompatibleDestRaster): Throw RasterFormatException
14135 if resulting width or height of raster is 0.
14136
14137 2004-03-04 Olga Rodimina <rodimina@redhat.com>
14138
14139 * java/awt/image/AffineTransformOp.java:
14140 Removed unnecessary field interpolationType.
14141 Formatted some of the lines to be consistent with
14142 the GNU style.
14143 (AffineTransformOp): Create new RenderingHints
14144 containing specified interpolation type.
14145 (createCompatibleDestImage): Implemented.
14146 (createCompatibleDestRaster): Implemented.
14147 (filter): Implemented.
14148 (getBounds2D(BufferedImage)): Implemented.
14149 (getBounds2D(Raster)): Implemented.
14150 (getInterpolationType): Get interpolation value from
14151 rendering hints.
14152
14153 2004-03-04 David Jee <djee@redhat.com>
14154
14155 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
14156 (setFont): Check if child peers are null.
14157
14158 2004-03-04 Graydon Hoare <graydon@redhat.com>
14159
14160 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
14161 .libs in -L option.
14162 (libjava_arguments): Add new libraries to argument list.
14163
14164 2004-03-02 Olga Rodimina <rodimina@redhat.com>
14165
14166 * Makefile.am: Added java/awt/image/AffineTransformOp.java
14167 * Makefile.in: Re-generated.
14168 * java/awt/image/AffineTransformOp.java: New Class.
14169
14170 2004-03-01 Olga Rodimina <rodimina@redhat.com>
14171
14172 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
14173 (setPaint): Interpret correctly TexturePaint's
14174 anchor rectangle.
14175 (drawImage): Fixed scale factors of the affine
14176 transform.
14177
14178 2004-02-27 David Jee <djee@redhat.com>
14179
14180 * gnu/java/awt/peer/gtk/GdkGraphics.java
14181 (GdkGraphics(Component)): Inherit font from component.
14182 (drawString): Use font style.
14183 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14184 (gtkSetFont): New native method declaration.
14185 (setFont): New method.
14186 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
14187 (gtkSetFont): New native method declaration.
14188 (setFont): Call new native method gtkSetFont.
14189 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
14190 (setFont): For all child components who do not their fonts set,
14191 set their peers' fonts with this container's font.
14192 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
14193 Move all native method declarations to the top for readability.
14194 (gtkSetFont): New native method declaration.
14195 (setFont): New method.
14196 * java/awt/Component.java
14197 (setFont): Invalidate after setting the font.
14198 * java/awt/Container.java
14199 (invalidateTree): New method.
14200 (setFont): Invalidate the container tree after setting the font.
14201 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
14202 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
14203 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
14204 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
14205 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14206 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
14207 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14208 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
14209
14210 2004-02-27 Olga Rodimina <rodimina@redhat.com>
14211
14212 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
14213 (updateBufferedImage): New helper function.
14214 Updates BufferedImage in memory if it was changed.
14215 (draw): changed to update BufferedImage in memory after
14216 this drawing operation
14217 (fill): Ditto.
14218 (draw3DRect): Ditto.
14219 (fill3DRect): Ditto.
14220 (clearRect): Ditto.
14221 (drawRaster): Ditto.
14222 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
14223 no affine transformation.
14224 (drawGlyphVector): Ditto.
14225
14226 2004-02-26 Olga Rodimina <rodimina@redhat.com>
14227
14228 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
14229 (isBufferedImageGraphics): New Helper function.
14230 Returns true if this graphics2d can be used to draw
14231 into buffered image and false otherwise.
14232 (updateImagePixels): New Helper function.
14233 Updates pixels in the BufferedImage.
14234 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
14235 (getImagePixels): New function. Returns pixels
14236 of the buffered image associated with
14237 this Graphics2D.
14238
14239 2004-02-26 David Jee <djee@redhat.com>
14240
14241 * java/awt/BorderLayout.java
14242 (layoutContainer): Fix width and height calculations to ensure
14243 that they're non-negative.
14244 * java/awt/Component.java
14245 (setBackground): If c is null, inherit from closest ancestor whose
14246 background color is set.
14247
14248 2004-02-26  Kim Ho  <kho@redhat.com>
14249
14250 * Makefile.am: Add new files.
14251 * Makefile.in: Re-generate.
14252 * javax/swing/JProgressBar.java:
14253 (JProgressBar(int, int int)): Throw
14254 IllegalArgumentException if orientation is
14255 invalid.
14256 (JProgressBar(BoundedRangeModel)): Create
14257 ChangeListener and register it. UpdateUI.
14258 (getChangeListeners): Implement.
14259 (setModel): Reset ChangeListener.
14260 * javax/swing/JScrollBar.java: Implement.
14261 * javax/swing/JSeparator.java: Implement.
14262 * javax/swing/JSlider.java:
14263 (JSlider(int, int, int, int)): Throw
14264 IllegalArgumentException if orientation
14265 is invalid.
14266 (getChangeListeners): Fix method name.
14267 * javax/swing/SwingUtilities.java:
14268 (layoutCompoundLabel): If there is no text,
14269 set the text rectangle dimensions to 0.
14270 * javax/swing/plaf/basic/BasicButtonUI.java:
14271 (paint): If there is no text, don't paint it.
14272 * javax/swing/plaf/basic/BasicScrollBarUI.java:
14273 Implement.
14274 * javax/swing/plaf/basic/BasicSeparatorUI.java:
14275 Implement.
14276 * javax/swing/plaf/basic/BasicSliderUI.java:
14277 (propertyChange): If the model changes, change
14278 the listeners accordingly.
14279
14280 2004-02-25 Graydon Hoare <graydon@redhat.com>
14281
14282 * javax/swing/AbstractButton.java: Add "final" qualifiers.
14283 * javax/swing/JList.java: Reimplement.
14284 * javax/swing/DefaultListSelectionModel.java: Reimplement.
14285 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
14286 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
14287 * javax/swing/ListModel.java: Javadoc.
14288 * javax/swing/ListSelectionModel.java: Add missing methods.
14289 * javax/swing/AbstractListModel.java: Javadoc and corrections.
14290 * javax/swing/DefaultListModel.java: Javadoc and corrections.
14291 * javax/swing/ListModel.java: Javadoc and corrections.
14292 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
14293
14294 2004-02-25 David Jee <djee@redhat.com>
14295
14296 * gnu/java/awt/peer/gtk/GtkFontPeer.java
14297 (GtkFontPeer): Change default size to 12.
14298 * gnu/java/awt/peer/gtk/GtkToolkit.java
14299 (getFontPeer): Change default size to 12.
14300 (getClasspathFontPeer): Likewise. Set default name to "Default".
14301 * java/awt/Font.java
14302 (Font(Map)): Call Font(String,Map).
14303 (Font(String,Map)): If attrs is null, initialize it as an empty
14304 HashMap, which will ensure that the Font will get default attributes.
14305
14306 2004-02-25 David Jee <djee@redhat.com>
14307
14308 * gnu/java/awt/peer/gtk/GtkFontPeer.java
14309 (GtkFontPeer(String,int)): Call the new constructor with size 1.
14310 (GtkFontPeer(String,int,int)): New constructor with size attribute.
14311 * gnu/java/awt/peer/gtk/GtkToolkit.java
14312 (getFontPeer(String,int)): Call the new overload method with size 1.
14313 (getFontPeer(String,int,int)): New method. Overloaded with size
14314 attribute.
14315 (getClasspathFontPeer): Set the size of the font.
14316
14317 2004-02-24 Olga Rodimina <rodimina@redhat.com>
14318
14319 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
14320 (bimage): New field.
14321 (GdkGraphics2D): New Constructor. Constructs Graphics
14322 object that can be used to draw into the Buffered Image.
14323 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
14324 (GdkGraphicsEnvironment): Fixed to include public
14325 keyword.
14326 (createGraphics): Implemented.
14327 * gnu/java/awt/peer/gtk/GtkToolkit.java
14328 (getLocalGraphicsEnvironment): Implemented.
14329 * java/awt/GraphicsEnvironment.java:
14330 (getLocalGraphicsEnvironment): Implemented.
14331 * java/awt/image/BufferedImage.java:
14332 (createGraphics): Implemented.
14333
14334 2004-02-24 David Jee <djee@redhat.com>
14335
14336 * java/awt/Component.java
14337 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
14338 * java/awt/Container.java
14339 (addNotifyContainerChildren): Fix event enabling.
14340
14341 2004-02-23 Olga Rodimina <rodimina@redhat.com>
14342
14343 * Makefile.am: Added
14344 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
14345 * Makefile.in: Re-generated.
14346 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
14347 New Class.
14348
14349 2004-02-19 Kim Ho <kho@redhat.com>
14350
14351 * Makefile.am: Add BasicProgressBarUI
14352 * Makefile.in: Regenerate.
14353 * javax/swing/JProgressBar.java:
14354 Re-implement.
14355 * javax/swing/plaf/basic/BasicLookAndFeel.java
14356 Add constants for JProgressBar.
14357 * javax/swing/plaf/basic/BasicProgressBarUI.java
14358 Implement.
14359 * javax/swing/plaf/basic/BasicSliderUI.java
14360 Change comments.
14361 (calculateGeometry): New method
14362 (paint): Remove unnecessary size calculations.
14363
14364 2004-02-18 Olga Rodimina <rodimina@redhat.com>
14365
14366 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
14367 (drawRaster): Fixed small error that caused
14368 imageToUser transformation to be set incorrectly.
14369 (toString): Implemented.
14370
14371 2004-02-18 David Jee <djee@redhat.com>
14372
14373 * java/awt/CardLayout.java
14374 (addLayoutComponent): Show the first component added as the default.
14375 (removeLayoutComponent): After removing, show the next component.
14376 (gotoComponent): If there is only one component, show it and return.
14377
14378 2004-02-18 Kim Ho <kho@redhat.com>
14379
14380 * javax/swing/JSlider.java: Re-order
14381 modifiers.
14382 * javax/swing/JLabel.java: Re-order
14383 modifiers.
14384 * javax/swing/JComponent.java:
14385 (addPropertyChangeListener):
14386 Implement.
14387 (removePropertyChangeListener):
14388 ditto.
14389 (firePropertyChangeEvent):
14390 ditto.
14391
14392 2004-02-17 David Jee <djee@redhat.com>
14393
14394 * java/awt/Component.java
14395 (show): Dispatch ComponentEvent via system event queue.
14396 (hide): Likewise.
14397 (move): Likewise.
14398 (resize): Likewise.
14399 (reshape): Likewise.
14400 * java/awt/Window.java
14401 (setBoundsCallback): Likewise.
14402
14403 2004-02-17 David Jee <djee@redhat.com>
14404
14405 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14406 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
14407 Use gtk_widget_set_size_request() instead of the deprecated
14408 gtk_widget_set_usize().
14409
14410 2004-02-17 Kim Ho <kho@redhat.com>
14411
14412 * javax/swing/JSlider.java: Fix comments and
14413 make property strings constants.
14414 (createStandardLabels): Use the labels
14415 preferred size as bounds.
14416 * javax/swing/plaf/basic/BasicSliderUI.java
14417 Fix comments.
14418 (ScrollHandler::actionPerformed): Don't
14419 calculate the timer stop value. Let the
14420 MouseListeners find the stop location.
14421 (getPreferredHorizontalSize): Re-implement.
14422 (getPreferredVerticalSize): ditto.
14423 (getMinimumHorizontalSize): ditto.
14424 (getMinimumVerticalSize): ditto.
14425 (getPreferredSize): ditto.
14426 (getMinimumSize): ditto.
14427 (getMaximumSize): ditto.
14428 (paintTicks): Use doubles to find the
14429 tick location.
14430 (paintHorizontalLabel):  Use preferredSize
14431 as initial width and height.
14432 (paintVerticalLabel): ditto.
14433
14434 2004-02-17 Kim Ho <kho@redhat.com>
14435
14436 * javax/swing/JLabel.java: Changed
14437 property strings to constants.
14438 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
14439 New property.
14440 (setText): Change mnemonic index if
14441 text is too short.
14442 (setDisplayedMnemonicIndex): Fire property
14443 change event.
14444 (getDisplayedMnemonicIndex): Remove check
14445 against short text.
14446
14447 2004-02-17 Olga Rodimina <rodimina@redhat.com>
14448
14449 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
14450 (drawImage(img,xform,obs)): Invert xform before
14451 passing the xform to cairo.
14452 (drawImage(img,x,y,bgcolor,obs)): Implemented.
14453 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
14454 implemented.
14455 (drawImage (img,x,y,w,h,obs)): Implemented.
14456 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
14457 bgcolor,obs)): Partly implemented.
14458 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
14459 Implemented.
14460 * java/awt/image/BufferedImage.java:
14461 (copyData): if dest is null, create raster with same
14462 dimensions as the current image.
14463
14464 2004-02-16 Graydon Hoare <graydon@redhat.com>
14465
14466 * javax/swing/plaf/basic/BasicLabelUI.java
14467 (getPreferredSize): Use layoutCL.
14468 * javax/swing/plaf/basic/BasicGraphicsUtils.java
14469 (getPreferredButtonSize): Start with empty view rect, layout using
14470 component's preferred alignment.
14471 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
14472 List defaults.
14473
14474 2004-02-16 David Jee <djee@redhat.com>
14475
14476 * java/awt/Component.java
14477 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
14478 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
14479 (move): Erase old bounds and repaint new bounds. Dispatch
14480 COMPONENT_MOVED ComponentEvent.
14481 (resize): Erase old bounds and repaint new bounds. Dispatch
14482 COMPONENT_RESIZED ComponentEvent.
14483 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
14484 ComponentEvents.
14485 * java/awt/Window.java
14486 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
14487 ComponentEvents.
14488
14489 2004-02-16 Olga Rodimina <rodimina@redhat.com>
14490
14491 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
14492 (setRenderingHint): Added implementation of
14493 Interpolation rendering hints.
14494 (setRenderingHints): Ditto.
14495 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
14496 (drawPixels): fixed to allow user to choose type
14497 of filtering that should be used when displaying images.
14498 (cairoSurfaceSetFilter): New method. Sets filter type for
14499 interpolation of pixel values.
14500
14501 2004-02-16 David Jee <djee@redhat.com>
14502
14503 * java/awt/GridBagLayout.java
14504 (calcCellSizes): Rows or columns with zero sizes should still be
14505 considered for extra space distribution.
14506
14507 2004-02-16 Kim Ho <kho@redhat.com>
14508
14509 * javax/swing/JLabel.java: Re-implement.
14510 * javax/swing/plaf/basic/BasicLabelUI.java
14511 Re-implement.
14512 * javax/swing/plaf/basic/BasicLookAndFeel.java:
14513 Added constant.
14514
14515 2004-02-16  Kim Ho  <kho@redhat.com>
14516
14517 * javax/swing/JSlider.java: Fix indentation and comments.
14518 (setModel): Remove null check to conform with Sun's.
14519 (setOrientation): Throw exception if not
14520 HORIZONTAL or VERTICAL.
14521 (getInverted): Use private variable instead of
14522 ComponentOrientation.
14523 (setInverted): ditto.
14524 * javax/swing/plaf/basic/BasicSliderUI.java:
14525 Fix indentation and comments.
14526 (propertyChange): Remove check for inverted slider, handle
14527 in main paint.
14528 (getMinimumSize): Return preferred size.
14529 (getMaximumSize): ditto.
14530 (calculateFocusRect): Don't relocate rectangle.
14531 (drawInverted): Return XOR of the slider's inversion and
14532 the component's orientation.
14533 (paint): Update leftToRightCache
14534
14535 2004-02-13 David Jee <djee@redhat.com>
14536
14537 * java/awt/GridBagLayout.java
14538 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
14539 code to helper methods.
14540 (sortBySpan): New helper method.
14541 (distributeSizeAndWeight): Likewise.
14542 (calcCellWeights): Likewise.
14543 (calcCellSizes): Add comments.
14544
14545 2004-02-13 David Jee <djee@redhat.com>
14546
14547 * java/awt/Component.java
14548 (show): Only do something if component is invisible at the moment.
14549 (hide): Only do something if component is visible at the moment.
14550 (reshape): If lightweight, erase old bounds and repaint new bounds.
14551
14552 2004-02-13  Kim Ho  <kho@redhat.com>
14553
14554 * Makefile.am: Updated for new file.
14555 * Makefile.in: Regenerated.
14556 * javax/swing/JSlider.java: Reimplement.
14557 * javax/swing/SwingUtilities.java
14558 (layoutCompoundLabel): Use icon height
14559 instead of width.
14560 (paintComponent): Implement.
14561 * javax/swing/plaf/basic/BasicLookAndFeel.java:
14562 Add JSlider defaults.
14563 * javax/swing/plaf/basic/BasicSliderUI.java:
14564 Implement. New file.
14565
14566 2004-03-17 Michael Koch <konqueror@gmx.de>
14567
14568 * gnu/java/net/PlainDatagramSocketImpl.java
14569 (RECEIVE_LOCK): New member field.
14570 (SEND_LOCK): New member field.
14571 (send0): New method.
14572 (send): Synchronize on SEND_LOCK.
14573 (receive0): New method.
14574 (receive): Synchronize on RECEIVE_LOCK.
14575 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
14576 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
14577 gnu/java/net/natPlainDatagramSocketImplWin32.cc
14578 (send0): Renamed from send.
14579 (receive0): Renamed from receive.
14580 2004-03-17 Michael Koch <konqueror@gmx.de>
14581
14582 * gnu/java/net/natPlainSocketImplPosix.cc
14583 (write): Just call write(jbyteArray, offset, len).
14584 (read): Just call read(jbyteArray, offset, len).
14585
14586 2004-03-16 Michael Koch <konqueror@gmx.de>
14587
14588 * javax/swing/JTabbedPane.java
14589 (serialVersionUID): New field.
14590
14591 2004-03-16 Norbert Frese <postfach@nfrese.net>
14592
14593 * java/net/InetAddress.java
14594 (getByName): Handle hostname == "" case.
14595
14596 2004-03-16 Dalibor Topic <robilad@kaffe.org>
14597
14598 Reported by: Adam Heath <doogie@debian.org>
14599 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
14600 class loader.
14601
14602 2004-03-15 Michael Koch <konqueror@gmx.de>
14603
14604 * java/util/Locale.java: Reverting my last patch
14605 and add a comment why the original version was okay.
14606
14607 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
14608
14609 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
14610 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
14611 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
14612 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
14613
14614 2004-03-12 Michael Koch <konqueror@gmx.de>
14615
14616 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
14617
14618 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
14619
14620 * java/net/URI.java (toURL): Implemented.
14621
14622 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
14623
14624 * java/net/URI.java
14625 (URI_REGEXP) updated to contain scheme specific part.
14626 (SCHEME_SPEC_PART_GROUP) new constant.
14627 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
14628 updated to make room for SCHEME_SPEC_PART_GROUP.
14629 (parseURI) parse scheme specific part.
14630 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
14631 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
14632 getQuery, getFragment) implemented.
14633
14634 2004-03-12 Dalibor Topic <robilad@kaffe.org>
14635
14636 * libraries/javalib/java/net/URI.java
14637 partially implemented using java.util.regex.
14638 (URI_REGEXP) new constant. Used to parse URIs.
14639 (SCHEME_GROUP) new constant representing index of scheme group
14640 in parsed URI.
14641 (AUTHORITY_GROUP) new constant representing index of authority
14642 group in parsed URI.
14643 (PATH_GROUP) new constant representing index of path group in
14644 parsed URI.
14645 (QUERY_GROUP) new constant representing index of query group in
14646 parsed URI.
14647 (FRAGMENT_GROUP) new constant representing index of fragment
14648 group in parsed URI.
14649 (getURIGroup) new static utility method.
14650 (parseURI) implemented.
14651 (quote) stub for new static utility method.
14652 (quoteAuthority) stub for new static utility method.
14653 (quoteHost) stub for new static utility method.
14654 (quotePath) stub for new static utility method.
14655 (quoteUserInfo) stub for new static utility method.
14656 (URI) implemented.
14657 (create) don't throw URISyntaxException. Implemented.
14658 (toString) implemented.
14659
14660 2004-03-12 Michael Koch <konqueror@gmx.de>
14661
14662 * java/net/HttpURLConnection.java
14663 (getResponseCode): Fix another typo in javadoc.
14664
14665 2004-03-11 Michael Koch <konqueror@gmx.de>
14666
14667 * java/util/logging/Level.java
14668 (parse): Use String.equals() instead of ==.
14669
14670 2004-03-11 Michael Koch <konqueror@gmx.de>
14671
14672 * gnu/java/net/protocol/jar/Connection.java
14673 (getContentLength): New method.
14674
14675 2004-03-11 Michael Koch <konqueror@gmx.de>
14676
14677 * gnu/java/net/PlainSocketImpl.java:
14678 Reformated to merge better with classpath's version.
14679
14680 2004-03-11 Michael Koch <konqueror@gmx.de>
14681
14682 * java/util/Locale.java
14683 (getISO3Language): Use String.equals() instead of ==.
14684 (getISO3Country): Likewise.
14685
14686 2004-03-11 Dalibor Topic <robilad@kaffe.org>
14687
14688 * java/text/AttributedString.java
14689 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
14690 Use HashMap instead of Hashtable since value can be null, and
14691 you can not store a null value in a Hashtable.
14692
14693 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
14694
14695 * java/text/AttributedStringIterator.java
14696 (getAllAttributesKey): Return only keys concerned
14697 by the current iterator.
14698 (getAttributes): Use strict inequality for
14699 end_index.
14700
14701 2004-03-11 Michael Koch <konqueror@gmx.de>
14702
14703 * java/net/HttpURLConnection.java:
14704 Fixed typo in javadoc.
14705
14706 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
14707
14708 * java/io/BufferedInputStream.java (marktarget): New field for max
14709 mark limit.
14710 (CHUNKSIZE): New constant for incremental mark buffer allocation.
14711 (mark): Use new fields.
14712 (read): Likewise.
14713 (read(byte[],int,int)): Likewise.
14714 (skip): Likewise.
14715 (refill): Likewise.
14716
14717 2004-03-11 Mark Wielaard <mark@klomp.org>
14718
14719 * java/beans/BeanDescriptor.java (BeanDescriptor):
14720 Set the FeatureDescriptor programmatic name.
14721
14722 2004-03-11 Michael Koch <konqueror@gmx.de>
14723
14724 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
14725 This file was was just copied form java/io/natFileDescriptorEcos.cc
14726 and never changed to compile correctly.
14727
14728 2004-03-11 Michael Koch <konqueror@gmx.de>
14729
14730 * gnu/java/nio/PipeImpl.java
14731 (SourceChannelImpl): Made final.
14732 (read): Implemented.
14733 (SinkChannelImpl): Made final.
14734 (write): Implemented.
14735
14736 2004-03-11 Michael Koch <konqueror@gmx.de>
14737
14738 * gnu/java/net/PlainDatagramSocketImpl.java:
14739 Reformated to match classpath's version more.
14740
14741 2004-03-11 Michael Koch <konqueror@gmx.de>
14742
14743 * gnu/java/awt/peer/ClasspathFontPeer.java:
14744 Fixed javadoc to be correct xhtml.
14745 * gnu/java/awt/peer/gtk/GtkArgList.java
14746 (add): Use Boolean.valueOf() instead of new Boolean().
14747
14748 2004-03-09 Michael Koch <konqueror@gmx.de>
14749
14750 * java/lang/Thread.java
14751 (runnable): Moved around.
14752 (daemon): Renamed from daemon_flag.
14753 (contextClassLoader): Renamed from context_class_loader.
14754 (Thread): Reordered constructors.
14755 (activeCount): Use group directly.
14756 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
14757 (holdsLock): Reworked javadoc.
14758 (setDaemon): Reworked.
14759 * java/lang/natThread.cc
14760 (destroy): Removed.
14761
14762 2004-03-08 Anthony Green <green@redhat.com>
14763
14764 * Makefile.am: Build property resource files into libgcj.
14765 * Makefile.in: Rebuilt.
14766 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
14767 java/util/regex/PatternSyntaxException.java,
14768 gnu/regexp/CharIndexed.java,
14769 gnu/regexp/CharIndexedCharArray.java,
14770 gnu/regexp/CharIndexedInputStream.java,
14771 gnu/regexp/CharIndexedReader.java,
14772 gnu/regexp/CharIndexedString.java,
14773 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
14774 gnu/regexp/REException.java,
14775 gnu/regexp/REFilterInputStream.java,
14776 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
14777 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
14778 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
14779 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
14780 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
14781 gnu/regexp/RETokenLookAhead.java,
14782 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
14783 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
14784 gnu/regexp/RETokenStart.java,
14785 gnu/regexp/RETokenWordBoundary.java,
14786 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
14787
14788 2004-03-03 Per Bothner <per@bothner.com>
14789
14790 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
14791 Optimize when argument is a FileChannelImpl.
14792 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
14793 New native methods.
14794 * java/nio/channels/natChannels.cc: New file for new native methods.
14795 * Makefile.am: Update accordingly.
14796
14797 2004-03-02 Jan Hubicka <jh@suse.cz>
14798
14799 * configure.host: Pass -fno-omit-frame-pointer for i386.
14800 * configure.in: Likewise.
14801 * configure: Regenerate.
14802
14803 2004-03-01 Per Bothner <per@bothner.com>
14804
14805 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
14806
14807 2004-02-29 Per Bothner <per@bothner.com>
14808
14809 * java/nio/channels/FileChannelImpl.java: Moved to package
14810 gnu/java/nio/channels, since we need to refer to it from java.io.
14811 * java/nio/channels/natFileChannelImpl.cc: Removed file.
14812 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
14813 from java/nio/channels. Don't depend on FileDescriptor.
14814 (in, out, err): New static fields.
14815 (mode): New field.
14816 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
14817 from FileDescriptor.
14818 (by): Removed MappedByteBuffer field.
14819 (map): New working implementation.
14820 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
14821 some code "ported" from natFileDescriptoPosix.cc.
14822 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
14823 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
14824 * java/io/FileDescriptor.java: Implement on top of FileChannel.
14825 Remove native methods.
14826 * Makefile.am, configure.in: Updated accordingly.
14827
14828 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
14829 (ch): New FileChannelImpl field. Update constructor to match.
14830 (releaseImpl): Remove native method. Instead ...
14831 (release): Call unlock on channel.
14832 * gnu/java/nio/natFileLockImpl.cc: Removed file.
14833
14834 * java/io/natFileDescriptorEcos.cc: Remove file.
14835 * java/io/natFileDescriptorPosix.cc: Remove file.
14836 * java/io/natFileDescriptorWin32.cc: Remove file.
14837 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
14838 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
14839 (<init>(FileChannelImpl)): New package-private constructor.
14840 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
14841 (available, close, read, skip): Implement using FileChannelImpl.
14842 (getFD): Allocate FileDescriptor if needed.
14843 (getChannel): Is now trivial.
14844 * java/io/FileOutputStream.java: Corresponding changes.
14845 * java/io/RandomAccessFile.java: Corresponding changes.
14846
14847 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
14848 unmapImpl): New dummy methods, to be overridden by subclass.
14849 (finalize, isLoaded, load, force): New methods.
14850 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
14851 Now works, at least for read mapping.
14852
14853 * java/lang/natPosixProcess.cc (startProcess): Implement standard
14854 streams using FileChannelImpl, not FileDescriptor.
14855 * java/lang/natWin32Process.cc (startProcess): Likewise.
14856
14857 2004-02-28 Michael Koch <konqueror@gmx.de>
14858
14859 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
14860 wrong code.
14861
14862 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
14863
14864 * java/io/ObjectInputStream.java
14865 (readClassDescriptor): Keep elements of the mapping non null.
14866 (checkTypeConsistency): New method.
14867 (readFields): Fixed main loop and base logic. Small reindentation.
14868 * java/io/ObjectStreamField.java
14869 (lookupField): New method to update the field reference.
14870 (checkFieldType): New method.
14871 * java/io/ObjectStreamClass.java
14872 (setClass, setFields): Call lookupField when building the field
14873 database. Check the real field type.
14874
14875 2004-02-28 Michael Koch <konqueror@gmx.de>
14876
14877 * java/nio/ByteOrder.java
14878 (nativeOrder): Use equals() to compare strings.
14879
14880 2004-02-26 Michael Koch <konqueror@gmx.de>
14881
14882 * gnu/java/nio/FileLockImpl.java
14883 (finalize): Made protected.
14884 * java/nio/channels/FileChannel.java
14885 (MapMode.READ_ONLY): Made final.
14886 (MapMode.READ_WRITE): Made final.
14887 (MapMode.PRIVATE): Made final.
14888 * java/nio/channels/SocketChannel.java
14889 (open): Simplified code.
14890 * java/nio/channels/spi/AbstractSelectableChannel.java
14891 (registered): Unused, removed.
14892 (keyFor): Check channel is open, only locate key
14893 and not add a new one.
14894 (register): Don't delete attachments.
14895
14896 2004-02-26 Michael Koch <konqueror@gmx.de>
14897
14898 * gnu/java/awt/ComponentDataBlitOp.java
14899 (INSTANCE): Made final.
14900 * gnu/java/awt/image/ImageDecoder.java:
14901 Reworked imports.
14902 (cm): Unused, removed.
14903
14904 2004-02-26 Michael Koch <konqueror@gmx.de>
14905
14906 * gnu/java/nio/DatagramChannelImpl.java
14907 (send): Check if target address is resolved.
14908
14909 2004-02-26 Michael Koch <konqueror@gmx.de>
14910
14911 * Makefile.am: Generate and install headers for inner classes in
14912 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
14913 * Makefile.in: Regenerated.
14914
14915 2004-02-24 Anthony Green <green@redhat.com>
14916
14917 * java/lang/StringBuffer.java: No need to NULL out remainder of
14918 buffer since ensureCapacity_unsynchronized will have done this for
14919 us.
14920
14921 2004-02-20 Michael Koch <konqueror@gmx.de>
14922
14923 * gnu/java/net/protocol/jar/Handler.java
14924 (): Removed unneeded check for file != null. java.net.URL.getFile()
14925 returns an empty string but never null.
14926
14927 2004-02-20 Michael Koch <konqueror@gmx.de>
14928
14929 * gnu/gcj/convert/Convert.java
14930 (main): Use equals() to compare strings.
14931
14932 2004-02-20 Michael Koch <konqueror@gmx.de>
14933
14934 * javax/swing/AbstractButton.java: Made several constants final.
14935 (getRolloverSelectedIcon): Made public.
14936 (getSelectedIcon): Made public.
14937
14938 2004-02-16 Per Bothner <per@bothner.com>
14939
14940 * java/nio/CharBufferImpl.java: Inline super constructor.
14941 * java/nio/DoubleBufferImpl.java: Likewise.
14942 * java/nio/FloatBufferImpl.java: Likewise.
14943 * java/nio/IntBufferImpl.java: Likewise.
14944 * java/nio/LongBufferImpl.java: Likewise.
14945 * java/nio/ShortBufferImpl.java: Likewise.
14946 * java/nio/CharBuffer.java: Remove unused constructor.
14947 * java/nio/DoubleBuffer.java: Likewise.
14948 * java/nio/FloatBuffer.java: Likewise.
14949 * java/nio/IntBuffer.java: Likewise.
14950 * java/nio/LongBuffer.java: Likewise.
14951 * java/nio/ShortBuffer.java: Likewise.
14952 * java/nio/CharViewBufferImpl.java: New convenience constructor.
14953 Fix buggy call to super constructor.
14954 * java/nio/DoubleViewBufferImpl.java: Likewise.
14955 * java/nio/FloatViewBufferImpl.java: Likewise.
14956 * java/nio/IntViewBufferImpl.java: Likewise.
14957 * java/nio/LongViewBufferImpl.java: Likewise.
14958 * java/nio/ShortViewBufferImpl.java: Likewise.
14959
14960 * java/nio/ByteBuffer.java (endian): Make non-private so other
14961 java.nio classes can inherit it.
14962 (<init>): Don't bother clearing array_offset.
14963 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
14964 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
14965 Remove redundant test.
14966
14967 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
14968 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
14969 Use new XxxViewBufferImpl constructors.
14970 * java/nio/MappedByteBufferImpl.java: Likewise.
14971 * java/nio/DirectByteBufferImpl.java: Likewise.
14972
14973 * java/nio/ByteBufferImpl.java: Remove one constructor.
14974 Inline super in remaining constructor.
14975 * java/nio/ByteBuffer.java: Remove unused constructor.
14976
14977 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
14978
14979 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
14980 * java/nio/DirectByteBufferImpl.java (owner): New field.
14981 (offset): Remove unused field.
14982 (<init>): Modify one and add another constructor. Change callers.
14983 (allocateDirect): Removed - not used.
14984 (getImpl, putImpl): Make static and pass address explicitly,
14985 to make them useful for MappedByteBufferImpl.
14986 (get, put): Check for underflow. Modify for new getImpl.
14987 (getImpl): New native method where target is array.
14988 (get(byte[],int,int)): Use the above.
14989 (adjustAddress): New static native method.
14990 (slice, duplicate, asReadOnly): New implementations.
14991 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
14992 adjustAddress): New or updated native methods.
14993
14994 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
14995
14996 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
14997 overflow of fieldmapping.
14998
14999 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
15000
15001 * javax/swing/undo/UndoManager.java: Re-written from scratch.
15002
15003 2004-02-14 Per Bothner <per@bothner.com>
15004
15005 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
15006 Set closed before calling implCloseChannel, as in the spec.
15007
15008 2004-02-09 Graydon Hoare <graydon@redhat.com>
15009
15010 * javax/swing/ToggleButtonModel.java: Remove dead class.
15011 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
15012 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
15013 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
15014 * Makefile.am: Update for new and removed files.
15015 * Makefile.in: Regenerate.
15016
15017 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
15018 * javax/swing/AbstractButton.java
15019 (AbstractButton): Initialize fields correctly in ctor.
15020 * javax/swing/JCheckbox.java
15021 (JCheckBox): Override painting flags.
15022 * javax/swing/DefaultButtonModel.java: Conform to sun.
15023 * javax/swing/JComponent.java (paint): Fill with background color
15024 if available.
15025 (processComponentKeyEvent)
15026 (processFocusEvent)
15027 (processKeyEvent)
15028 (processMouseMotionEvent): Remove event-consuming empty methods.
15029 (getUIClassID): Return "ComponentUI" not "JComponent"
15030 * javax/swing/JFrame.java: Remove some debugging chatter.
15031 (JFrame): Subscribe to window events.
15032 * javax/swing/JRadioButton.java
15033 (JRadioButton): Override painting flags.
15034 * javax/swing/JRootPane.java
15035 (JRootPane): Set background from UIDefaults.
15036 * javax/swing/JToggleButton.java
15037 (ToggleButtonModel): New inner class.
15038 (JToggleButton): Override layout alighment.
15039 * javax/swing/SwingUtilities.java:
15040 (getLocalBounds): Return width and height, not x and y.
15041 (calculateInnerArea): Use local bounds, not bounds.
15042 (layoutCompoundLabel): Provide overridden form.
15043 (layoutCompoundLabel): Correct bugs.
15044 * javax/swing/UIDefaults.java: Correct comment.
15045 * javax/swing/plaf/basic/BasicButtonUI.java:
15046 Move most logic into defaults, external listener.
15047 (paintIcon): Implement icon painting.
15048 (paint): Fix state painting to conform to changes in model.
15049 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
15050 Remove most dead/wrong methods.
15051 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
15052 * javax/swing/plaf/basic/BasicIconFactory.java:
15053 (DummyIcon): New class.
15054 (getMenuItemCheckIcon)
15055 (getMenuItemArrowIcon)
15056 (getMenuArrowIcon)
15057 (getCheckBoxMenuItemIcon)
15058 (getRadioButtonMenuItemIcon)
15059 (createEmptyFrameIcon): Return DummyIcons, not null.
15060 (getCheckBoxIcon): Implement an icon that looks like sun's.
15061 (getRadioButtonIcon): Implement an icon that looks like sun's.
15062 * javax/swing/plaf/basic/BasicLookAndFeel.java
15063 (initComponentDefaults): Fix impossible values, add some missing.
15064 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
15065 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15066 Remove most dead/wrong methods.
15067 (icon): New field.
15068 (getDefaultIcon): New method.
15069 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
15070 Remove most dead/wrong methods.
15071 * javax/swing/plaf/metal/MetalLookAndFeel.java
15072 (getDefaults): Return super.getDefaults(), not BasicDefaults.
15073 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
15074 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
15075 Implement "clearing" as drawing, when on pixmap drawables.
15076
15077 * javax/swing/JButton.java (getUIClassID):
15078 * javax/swing/JCheckBox.java (getUIClassID):
15079 * javax/swing/JEditorPane.java (getUIClassID):
15080 * javax/swing/JLabel.java (getUIClassID):
15081 * javax/swing/JList.java (getUIClassID):
15082 * javax/swing/JOptionPane.java (getUIClassID):
15083 * javax/swing/JPanel.java (getUIClassID):
15084 * javax/swing/JPasswordField.java (uiClassID):
15085 * javax/swing/JRadioButton.java (getUIClassID):
15086 * javax/swing/JRootPane.java (getUIClassID):
15087 * javax/swing/JScrollPane.java (getUIClassID):
15088 * javax/swing/JTabbedPane.java (getUIClassID):
15089 * javax/swing/JToggleButton.java (getUIClassID):
15090 * javax/swing/JTree.java (getUIClassID):
15091 * javax/swing/JViewport.java (getUIClassID):
15092 * javax/swing/text/JTextComponent.java (getUIClassID):
15093 Return "fooUI" not "Jfoo"
15094
15095 2004-02-11 Michael Koch <konqueror@gmx.de>
15096
15097 * java/net/DatagramSocket.java
15098 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
15099 Boolean object.
15100 (setBroadcast): Likewise.
15101 * java/net/MulticastSocket.java
15102 (setLoopbackMode): Likewise.
15103 * java/net/ServerSocket.java
15104 (setReuseAddress): Likewise.
15105 * java/net/Socket.java
15106 (setTcpNoDelay): Likewise.
15107 (setSoLinger): Likewise.
15108 (setOOBInline): Likewise.
15109 (setKeepAlive): Likewise.
15110 (setReuseAddress): Likewise.
15111 * java/net/URLConnection.java
15112 (setContentHandler): Replace == with equals().
15113 * java/net/URLStreamHandler.java
15114 (hostSEquals): Fix checking host addresses.
15115 (toExternalForm): Dont check protocol for null. We know already its
15116 not null.
15117
15118 2004-02-10 David Jee <djee@redhat.com>
15119
15120 * java/awt/BorderLayout.java
15121 (calcCompSize): Invisible components get zero dimensions.
15122 * java/awt/Button.java
15123 (setLabel): Set actionCommand.
15124 * java/awt/Component.java
15125 (show): Invalidate component and parent container.
15126 (hide): Likewise.
15127
15128 2004-02-10 David Jee <djee@redhat.com>
15129
15130 * java/awt/GridBagLayout.java
15131 (GridBagLayout): New private field, internalcomptable.
15132 (lookupInternalConstraints): New method.
15133 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
15134 (GetLayoutInfo): Reimplement.
15135 (calcCellSizes): Ignore rows/columns with size 0.
15136
15137 2004-02-10 Michael Koch <konqueror@gmx.de>
15138
15139 * gnu/java/awt/EmbeddedWindow.java
15140 (setHandle): Use java.awt.Component.getPeer() instead of
15141 java.awt.Component.peer directly.
15142
15143 2004-02-10 David Jee <djee@redhat.com>
15144
15145 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
15146 (gtkSetLabel): New native method definition.
15147 (setLabel): Use gtkSetLabel.
15148 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
15149 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
15150
15151 2004-02-10 Alan Modra <amodra@bigpond.net.au>
15152
15153 * include/powerpc-signal.h: Revert 2004-01-21 change.
15154 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
15155 from syscall for ppc32 versions.
15156
15157 2004-02-08 Per Bothner <per@bothner.com>
15158
15159 * java/nio/ByteBuffer.java (shiftDown): New helper method.
15160 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
15161 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
15162 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
15163 Pass ByteOrder parameter to most methods, since the underlying
15164 ByteBuffer's order isn't always what we should use.
15165 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
15166 * java/nio/DirectByteBufferImpl.java: Likewise.
15167 Use ByteBufferHelper methods.
15168 * java/nio/MappedByteBufferImpl.java: Likewise.
15169 (compact): Use shiftDown.
15170 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
15171 (get, put): Use ByteBufferHelper.
15172 (compact): Use new shiftDown method.
15173 (duplicate(boolean)): New helper method.
15174 (duplicate, asReadOnlyBuffer): Use it.
15175 (order): Return endian field.
15176 * java/nio/DoubleViewBufferImpl.java: Likewise.
15177 * java/nio/FloatViewBufferImpl.java: Likewise.
15178 * java/nio/IntViewBufferImpl.java: Likewise.
15179 * java/nio/LongViewBufferImpl.java: Likewise.
15180 * java/nio/ShortViewBufferImpl.java: Likewise.
15181 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
15182 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
15183 (compact): Re-implement using shiftDown.
15184
15185 2004-02-08 Andreas Jaeger <aj@suse.de>
15186
15187 * include/x86_64-signal.h: Fix typo.
15188
15189 2004-02-08 Diego Novillo <dnovillo@redhat.com>
15190
15191 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
15192 qualifier to _regs.
15193 (HANDLE_DIVIDE_OVERFLOW): Likewise.
15194
15195 2004-02-06 Michael Koch <konqueror@gmx.de>
15196
15197 * java/io/ObjectInputStream.java
15198 (currentClassLoader): Reverted to old version of this method.
15199
15200 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
15201
15202 * java/io/ObjectInputStream.java: Made all calls
15203 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
15204 use cached info from ObjectStreamClass. (readClassDescriptor):
15205 Cache more information in ObjectStreamClass. (processResolution,
15206 readFields): Use cached info from ObjectStreamClass.
15207 (newObject): Throw exception instead of returning null for failure.
15208 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
15209 setCharField, setDoubleField, setFloatField, setIntField,
15210 setLongField, setShortField, setObjectField, readObjectParams):
15211 Removed. (dumpElement, dumpElementln): Removed dump flag condition
15212 check.
15213 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
15214 (setClass): Added call to cacheMethods() (findMethod): New method.
15215 (cacheMethods): New method. (ObjectStreamClass): Added call to
15216 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
15217 AccessController.doPrivileged to invoke setAccessible.
15218 (readObjectMethod, readResolveMethod, realClassIsSerializable,
15219 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
15220 New fields.
15221 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
15222 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
15223 isPrimitive): Made safe for cases where type == null.
15224 (setBooleanField, setByteField, setCharField, setShortField,
15225 setIntField, setLongField, setFloatField, setDoubleField,
15226 setObjectField): New methods.
15227
15228 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
15229
15230 * java/awt/Component.java (getFont): Return a default font
15231 instead of null.
15232
15233 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
15234 (Scrollbar (int, int, int, int, int)): Make default page
15235 increment 10.
15236 (setValues): Only call peer.setValues if one of the values has
15237 changed.
15238 (generateName): New method.
15239 (getUniqueLong): New method.
15240 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
15241 (range_scrollbar): Remove structure.
15242 (post_adjustment_event): Remove function.
15243 (post_change_event): Accept jobject argument.
15244 (create): Cast jints to gdoubles. Round scrollbar values to the
15245 nearest integer. Clamp min, max and value settings.
15246 (connectJObject): Connect hook to widget->window.
15247 (connectSignals): Remove range_scrollbar structure variables.
15248 Remove "move-slider" connection. Pass global peer reference to
15249 "value-changed" callback.
15250 (setLineIncrement): Cast jint value to gdouble.
15251 (setPageIncrement): Likewise.
15252 (setValues): Likewise. Clamp min, max and value settings.
15253
15254 2004-02-05 Michael Koch <konqueror@gmx.de>
15255
15256 * javax/swing/AbstractCellEditor.java
15257 (getCellEditorValue): Removed.
15258 * javax/swing/Box.java: Reformated.
15259 (serialVersionUID): New field.
15260 * javax/swing/ButtonGroup.java:
15261 Removed some weird whitespace.
15262 * javax/swing/CellEditor.java: Reformated.
15263 * javax/swing/CellRendererPane.java
15264 (serialVersionUID): New field.
15265 (AccessibleCellRendererPaneserialVersionUID): New field.
15266 * javax/swing/DefaultListModel.java
15267 (serialVersionUID): New field.
15268 * javax/swing/JEditorPane.java
15269 (serialVersionUID): New field.
15270 (setPage): Throws IOException.
15271 (addHyperlinkListener): Implemented.
15272 (removeHyperlinkListener): Implemented.
15273 (getHyperlinkListener): New method.
15274 * javax/swing/JFileChooser.java
15275 (serialVersionUID): New field.
15276 (AccessibleJFileChooser.serialVersionUID): New field.
15277 (addActionListener): Implemented.
15278 (removeActionListener): Implemented.
15279 (getActionListeners): New method.
15280 * javax/swing/JFormattedTextField.java
15281 (serialVersionUID): New field.
15282 (AbstractFormatter.serialVersionUID): New field.
15283 (clone): Throws CloneNotSupportedException
15284 (setEditValid): Add missing argument.
15285 (stringToValue): Throws ParseExcpetion.
15286 (valueToString): Throws ParseException.
15287 (commitEdit): Throws ParseException.
15288 * javax/swing/JLabel.java
15289 (serialVersionUID): New field.
15290 * javax/swing/JList.java
15291 (serialVersionUID): New field.
15292 (addListSelectionListener): Reformated.
15293 (removeListSelectionListener): Reformated.
15294 (getListSelectionListeners): New method.
15295 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
15296 Reformated.
15297 (serialVersionUID): New field.
15298 * javax/swing/table/AbstractTableModel.java
15299 (getValueAt): Removed.
15300 (getColumnCount): Removed.
15301 (getRowCount): Removed.
15302
15303 2004-02-05 Michael Koch <konqueror@gmx.de>
15304
15305 * java/awt/datatransfer/DataFlavor.java
15306 (imageFlavor): Javadoc added.
15307 (javaJVMLocalObjectType): Fixed.
15308
15309 2004-02-05 Michael Koch <konqueror@gmx.de>
15310
15311 * java/lang/Thread.java
15312 (Thread): Reordered.
15313 (setContextClassLoader): Fixed javadoc comment.
15314 (setPriority): Reordered.
15315 (yield): Reordered.
15316 (initialize_native): Reordered.
15317 (gen_name): Reordered.
15318
15319 2004-02-05 Michael Koch <konqueror@gmx.de>
15320
15321 * java/lang/Thread.java: Reordered fields, reformated much code,
15322 no functional changes, some variables renamed, javadoc comments
15323 merged.
15324
15325 2004-02-05 Michael Koch <konqueror@gmx.de>
15326
15327 * java/util/zip/Deflater.java,
15328 java/util/zip/DeflaterOutputStream.java,
15329 java/util/zip/GZIPInputStream.java:
15330 Reformated and javadoc comments merged from classpath.
15331
15332 2004-02-05 Michael Koch <konqueror@gmx.de>
15333
15334 * gnu/java/nio/NIOServerSocket.java
15335 (impl): Unused, removed.
15336 * gnu/java/nio/SocketChannelImpl.java
15337 (finnishConnect): Don't throw NoConnectionPendingException if not
15338 connected or no connection pending.
15339
15340 2004-02-02 Graydon Hoare <graydon@redhat.com>
15341
15342 * javax/swing/SwingUtilities.java: Many new functions.
15343 * java/awt/Container.java (LightweightDispatcher): Reimplement.
15344 * javax/swing/basic/BasicGraphicsUtils.java
15345 (getPreferredButtonSize): Start layout from top-left corner.
15346
15347 2004-02-04 Olga Rodimina <rodimina@redhat.com>
15348
15349 * java/awt/geom/AffineTransform.java:
15350 Corrected comments on the field definitions for
15351 m11 and m10.
15352 (shear): Fixed few errors that caused shear
15353 transformation to be performed incorrectly.
15354 (createInverse): Fixed to return correct
15355 inverse of the given matrix.
15356
15357 2004-02-03 Tom Tromey <tromey@redhat.com>
15358
15359 * java/lang/natPosixProcess.cc (startProcess): Handle case where
15360 PATH or LD_LIBRARY_PATH is not set in parent environment.
15361
15362 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
15363
15364 * gnu/java/awt/peer/gtk/GtkListPeer.java,
15365 java/awt/BorderLayout.java, java/awt/CardLayout.java,
15366 java/awt/CheckboxGroup.java, java/awt/Choice.java,
15367 java/awt/Component.java, java/awt/Container.java,
15368 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
15369 java/awt/LayoutManager2.java, java/awt/List.java,
15370 java/awt/Menu.java, java/awt/MenuBar.java,
15371 java/awt/MenuItem.java, java/awt/Polygon.java,
15372 java/awt/Rectangle.java, java/awt/ScrollPane.java,
15373 java/awt/Scrollbar.java, java/awt/TextArea.java,
15374 java/awt/TextField.java,
15375 java/awt/image/renderable/RenderContext.java,
15376 javax/swing/JApplet.java: Fix handling of alias methods, where a
15377 method has been deprecated in favour of a new one with the same
15378 funtion but a different name. Put the method implementation in
15379 the deprecated method and have the new method call the
15380 deprecated one. Make all other code call the new method.
15381
15382 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
15383
15384 * gnu/java/nio/DatagramChannelImpl.java
15385 (inChannelOperation): New field.
15386 (isInChannelOperation): New accessor.
15387 (setInChannelOperation): New modifier.
15388 (receive): Use capacity() - position() of destination
15389 buffer instead of remaining(). Set and reset our "in
15390 channel operation indicator" before and after delegating
15391 the receive to our datagram socket. Removed testing code.
15392 Update destination buffer's current position if it is
15393 backed by a byte array (hasArray() is true).
15394 (send): Set and reset our "in channel operation indicator"
15395 before and after delegating the send to our datagram socket.
15396 Removed testing code. Update source buffer's current position
15397 if it is backed by a byte array (hasArray() is true).
15398 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
15399 Use capacity() - position() of destination buffer instead
15400 of remaining().
15401 * java/net/DatagramSocket.java (receive): Don't throw an
15402 IllegalBlockingModeException if we have a non-blocking
15403 channel which initiated this operation.
15404 (send): Likewise.
15405
15406 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
15407
15408 * configure.in: Add pkgconfig check for glib and gthread.
15409 * configure: Regenerate.
15410
15411 2004-02-01 Michael Koch <konqueror@gmx.de>
15412
15413 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
15414 arguments.
15415 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
15416 * verify.cc (debug_print): Mark 'fmt' unused.
15417
15418 2004-01-30 Michael Koch <konqueror@gmx.de>
15419
15420 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
15421 * configure: Regenerated.
15422 * glib-2.0.m4: Removed.
15423 * gtk-2.0.m4: Removed.
15424 * libart.m4: Removed.
15425 * pkg.m4: New file.
15426
15427 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
15428
15429 * gnu/java/net/PlainSocketImpl.java
15430 (inChannelOperation): New field.
15431 (isInChannelOperation): New accessor.
15432 (setInChannelOperation): New modifier.
15433 * gnu/java/nio/ServerSocketChannelImpl.java
15434 (accept): Set and reset our server socket's PlainSocketImpl's
15435 "in channel operation" indicator before and after delegating
15436 the accept to our server socket.
15437 * gnu/java/nio/SocketChannelImpl.java
15438 (connect): Set and reset our socket's PlainSocketImpl's "in channel
15439 operation" indicator before and after delegating the operation to
15440 our socket.
15441 (read): Likewise.
15442 (write): Likewise.
15443 * java/net/ServerSocket.java (implAccept): Don't throw an
15444 IllegalBlockingModeException if we have a non-blocking
15445 channel which initiated this accept operation.
15446 * java/net/Socket.java (connect): Don't throw an
15447 IllegalBlockingModeException if we have a non-blocking
15448 channel which initiated this connect operation.
15449 * java/nio/channels/spi/AbstractSelectableChannel.java
15450 (configureBlocking): Only call implConfigureBlocking() if
15451 the desired blocking mode is different from our current one.
15452
15453 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
15454
15455 * java/io/BufferedReader.java (sbuf): New field.
15456 (readLine): Use String.valueOf instead of new String() as per
15457 Per Bothner's suggestion. Use instance sbuf field instead of a
15458 local StringBuffer instance.
15459 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
15460 caller's buffer to refill().
15461 (read(void)): Pass our internal work buffer to refill if our
15462 input queue is empty.
15463 (refill): Changed return type to int. Use the specified buffer
15464 instead of our work buffer as per Bryce McKinlay's suggestion.
15465 Return the number of characters read or -1 for EOF.
15466
15467 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
15468
15469 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
15470
15471 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
15472
15473 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
15474 * Makefile.in: Re-generated.
15475 * gnu/awt/xlib/XFontPeer.java: New file.
15476 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
15477 (setClip): Commented out debug printout.
15478 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
15479 (getFontPeer): Return XFontPeer.
15480 (getLocalGraphicsEnvironment): New method.
15481 (getClasspathFontPeer): New method.
15482 (createFont): New method.
15483
15484 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
15485
15486 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
15487 return null.
15488
15489 2004-01-29 Kim Ho <kho@redhat.com>
15490
15491 * gnu/java/awt/peer/gtk/GtkFramePeer.java
15492 (gtkLayoutSetVisible): New method
15493 (setMenuBar): Hide layout before setting MenuBar
15494 and reshow it after.
15495 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15496 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
15497
15498 2004-01-28 Michael Koch <konqueror@gmx.de>
15499
15500 * gnu/java/lang/ClassHelper.java
15501 (getPackagePortion): Removed.
15502
15503 2004-01-28 Michael Koch <konqueror@gmx.de>
15504
15505 * javax/swing/JComponent.java
15506 (listenerList): Initalize globally.
15507 (ancestor_list): Removed.
15508 (veto_list): Removed.
15509 (change_list): Removed.
15510 (get_veto_list): Removed.
15511 (get_change_list): Removed.
15512 (get_ancestor_list): Removed.
15513 (removeAncestorListener): Reimplemented.
15514 (removePropertyChangeListener): Likewise.
15515 (removeVetoableChangeListener): Likewise.
15516 (addAncestorListener): Likewise.
15517 (addPropertyChangeListener): Likewise.
15518 (addVetoableChangeListener): Likewise.
15519 (getListeners): New method.
15520 (getAncestorListeners): Likewise.
15521 (getVetoableChangeListeners): Likewise.
15522 (fireVetoableChange): Throws PropertyVetoException.
15523 * javax/swing/JEditorPane.java
15524 (JEditorPane): Throws IOException.
15525
15526 2004-01-28 David Jee <djee@redhat.com>
15527
15528 * gnu/java/awt/peer/gtk/GtkFramePeer.java
15529 (create): Set the default foreground color to
15530 java.awt.SystemColor.windowText.
15531
15532 2004-01-27 Michael Koch <konqueror@gmx.de>
15533
15534 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
15535 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
15536 Reindented to merge with classpath.
15537
15538 2004-01-27 David Jee <djee@redhat.com>
15539
15540 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15541 (addExposeFilter): Handle GtkFramePeer separately.
15542 (removeExposeFilter): Likewise.
15543
15544 2004-01-27 Michael Koch <konqueror@gmx.de>
15545
15546 * gnu/java/net/protocol/http/Connection.java
15547 (getOutputStream): Fixed typo.
15548
15549 2004-01-27 Michael Koch <konqueror@gmx.de>
15550
15551 * java/lang/Class.java
15552 (getConstructor): Removed SecurityException from throws clause.
15553 (_getConstructors): Likewise.
15554 (getConstructors): Likewise.
15555 (getDeclaredConstructor): Likewise.
15556 (getDeclaredClasses): Likewise.
15557 (getDeclaredConstructors): Likewise.
15558 (getDeclaredField): Likewise.
15559 (getDeclaredMethod): Likewise.
15560 (getDeclaredMethods): Likewise.
15561 (getField): Likewise.
15562 (getMethod): Likewise.
15563 (getMethods): Likewise.
15564
15565 2004-01-27 Kim Ho <kho@redhat.com>
15566
15567 * gnu/java/awt/peer/gtk/GtkFramePeer.java
15568 (removeMenuBarPeer): Remove MenuBarPeer argument.
15569 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
15570 (dispose): Call native method.
15571 * java/awt/Frame.java (setMenuBar): Create and remove
15572 MenuBar peers only if the Frame has a peer.
15573 (addNotify): Create the MenuBar peer if one exists.
15574 (removeNotify): Remove MenuBar peer if one exists.
15575 * java/awt/Menu.java: Fix imports.
15576 (addNotify): Don't use full class name.
15577 (removeNotify): Call removeNotify on all children.
15578 * java/awt/MenuBar.java (removeNotify): Call
15579 removeNotify on all children.
15580 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15581 (removeMenuBarPeer): Remove MenuBarPeer argument.
15582 Iterate through children to find the Frame's MenuBar.
15583 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
15584 New file.
15585 (dispose): Remove references to the MenuComponent.
15586
15587 2004-01-27 Michael Koch <konqueror@gmx.de>
15588
15589 * javax/swing/AbstractCellEditor.java: Reformated.
15590 * javax/swing/DefaultListSelectionModel.java
15591 (listenerList): Made protected.
15592 (addListSelectionListener): Javadoc added.
15593 (removeListSelectionListener): Likewise.
15594 (getListeners): Likewise.
15595 (getListSelectionListeners): Likewise.
15596 * javax/swing/JComboBox.java: Merged copyright year.
15597 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
15598
15599 2004-01-26 Andrew Haley <aph@redhat.com>
15600
15601 * javax/swing/table/JTableHeader.java: Extend JComponent
15602
15603 2004-01-26 Kim Ho <kho@redhat.com>
15604
15605 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
15606 Fix spacing.
15607
15608 2004-01-26 Kim Ho <kho@redhat.com>
15609
15610 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
15611 method.
15612 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
15613 height and let the Layout Managers readjust anything that
15614 needs to move.
15615 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15616 (moveLayout): New method. Shift everything in the Gtk
15617 layout in the Y direction by an offset.
15618
15619 2004-01-26 David Jee <djee@redhat.com>
15620
15621 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15622 (handleEvent): Implemented. Handles PaintEvents.
15623 (paint): Implemented. Use GTK native methods to queue updates
15624 for this heavyweight peer.
15625 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
15626 (handleEvent): Removed.
15627 * java/awt/Component.java
15628 (paint): Implemented. Explictly paint the heavyweight peer.
15629 (update): Clear the background for heavyweight components.
15630 (paintAll): No need to call peer.paint() anymore.
15631 (processEvent): Don't process PaintEvents here. It's now done in
15632 the peer's handleEvent().
15633 (processPaintEvent): Removed.
15634 * java/awt/Container.java
15635 (paint): No need to call super.paint(). Visit heavyweight
15636 children as well.
15637 (update): Don't clear the background here. It's done in
15638 Component.update().
15639 (visitChildren): Added check to not recurse into Containers.
15640 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15641 (filter_expose_event_handler): New method. Filter unwanted
15642 expose events while painting heavyweight peers.
15643 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
15644 New method. Connect filter and block pre_event_handler.
15645 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
15646 New method. Disconnect filter and unblock pre_event_handler.
15647 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
15648 New method. Invalidate and update given area.
15649 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15650 (pre_event_handler): Add checks for unwanted expose events.
15651
15652 2004-01-26 David Jee <djee@redhat.com>
15653
15654 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15655 (find_bg_color_widget): For GtkButton, return its child.
15656
15657 2004-01-26 Kim Ho <kho@redhat.com>
15658
15659 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
15660 private.
15661 (setMenuBar): Grab MenuBar height and change insets.
15662 (setBounds): Account for MenuBar height.
15663 (postInsetsChangedEvent): Ditto.
15664 (postSizeAllocateEvent): Remove.
15665 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15666 (menubar_resize_cb): Remove
15667 (setMenuBarPeer): Remove callback.
15668 (getMenuBarHeight): Use size requisition instead of
15669 allocation.
15670
15671 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
15672
15673 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
15674 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
15675 when peer is null.
15676 (setColumns): Remove FIXME -- peer will retrieve number of
15677 columns by calling getColumns.
15678 (setRows): Likewise for number of rows.
15679 (next_text_number): New field.
15680 (paramString): Fix param string.
15681 (generateName): New method.
15682 (getUniqueLong): New method.
15683
15684 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
15685
15686 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
15687 image observer of image loading status.
15688 (getImage (String)): Start image production.
15689 (getImage (URL)): Likewise.
15690
15691 2004-01-25 Michael Koch <konqueror@gmx.de>
15692
15693 * java/lang/Class.java: Imports reworked, reformated.
15694 (Class): Javadoc added.
15695 (forName): Likewise.
15696 (getClasses): Likewise.
15697 (getClassLoader): Likewise.
15698 (getComponentType): Likewise.
15699 (getConstructor): Likewise.
15700 (getConstructors): Likewise.
15701 (getDeclaredConstructor): Likewise.
15702 (getDeclaredClasses): Likewise.
15703 (getDeclaredConstructors): Likewise.
15704 (getDeclaredField): Likewise.
15705 (getDeclaredMethod): Likewise.
15706 (getDeclaredMethods): Likewise.
15707 (getDeclaringClass): Likewise.
15708 (getField): Likewise.
15709 (getInterfaces): Likewise.
15710 (getMethod): Likewise.
15711 (getMethods): Likewise.
15712 (getModifiers): Likewise.
15713 (getName): Likewise.
15714 (getResource): Likewise.
15715 (getResourceAsStream): Likewise.
15716 (getSigners): Likewise.
15717 (setSigners): Likewise.
15718 (getSuperclass): Likewise.
15719 (isArray): Likewise.
15720 (isAssignableFrom): Likewise.
15721 (isInstance): Likewise.
15722 (isInterface): Likewise.
15723 (isPrimitive): Likewise.
15724 (newInstance): Likewise.
15725 (getProtectionDomain): Likewise.
15726 (toString): Likewise.
15727 (Class): Moved.
15728 (initializeClass): Likewise.
15729 (finalize): Likewise.
15730
15731 2004-01-24 Michael Koch <konqueror@gmx.de>
15732
15733 * gnu/java/net/protocol/jar/Connection.java
15734 (hdrHash): Removed.
15735 (hdrVec): Removed.
15736 (gotHeaders): Removed.
15737 (getHeaderField): Removed.
15738 (getHeaderFields): Removed.
15739 (getHeaderFieldKey): Removed.
15740 (getKey): Removed.
15741 (getField): Removed.
15742 (getHeaders): Removed.
15743
15744 2004-01-24 Michael Koch <konqueror@gmx.de>
15745
15746 * Makefile.am: Added library version to gtk peer lib.
15747 * Makefile.in: Regenerated.
15748
15749 2004-01-24 Michael Koch <konqueror@gmx.de>
15750
15751 * java/util/zip/InflaterInputStream.java: Merged class documentation
15752 with classpath.
15753
15754 2004-01-21 Jakub Jelinek <jakub@redhat.com>
15755
15756 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
15757 header. For __powerpc64__ provide the default-signal.h definitions
15758 for now.
15759 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
15760 instead of the dummy definitions.
15761 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
15762 (powerpc64*-*): Remove with_libffi_default.
15763 Only add -mminimal-toc for 64-bit compilations.
15764 * configure.in: Use powerpc-signal.h on powerpc64 as well.
15765 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
15766 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
15767 * configure: Rebuilt.
15768
15769 2004-01-23 Michael Koch <konqueror@gmx.de>
15770
15771 * gnu/java/nio/FileLockImpl.java: Compile fixes.
15772
15773 2004-01-23 Michael Koch <konqueror@gmx.de>
15774
15775 * java/lang/VMClassLoader.java: Reworked imports.
15776
15777 2004-01-23 Michael Koch <konqueror@gmx.de>
15778
15779 * javax/swing/AbstractAction.java: Reformated.
15780
15781 2004-01-23 Michael Koch <konqueror@gmx.de>
15782
15783 * java/text/CollationElementIterator.java:
15784 (setText): New method.
15785
15786 2004-01-23 Michael Koch <konqueror@gmx.de>
15787
15788 * gnu/java/nio/FileLockImpl.java:
15789 Fixed filename in copyright.
15790 (released): Removed.
15791 (finalize): New method.
15792 * gnu/java/nio/natFileLockImpl.cc
15793 (releaseImpl): Implemented.
15794 * java/nio/channels/FileChannelImpl.java:
15795 Reworked imports.
15796 (lock): Implemented.
15797 (lockImpl): New method.
15798 (tryLock): Implemented.
15799 (tryLockImpl): New method.
15800 * java/nio/channels/natFileChannelImpl.cc
15801 (lockImpl): New method.
15802 (tryLockImpl): New method.
15803
15804 2004-01-23 Michael Koch <konqueror@gmx.de>
15805
15806 * java/io/FileDescriptor.java
15807 (lock): New method.
15808 (tryLock): New method.
15809 (unlock): New method.
15810 * java/io/natFileDescriptorEcos.cc
15811 (lock): New method.
15812 (tryLock): New method.
15813 (unlock): New method.
15814 * java/io/natFileDescriptorPosix.cc
15815 (lock): New method.
15816 (tryLock): New method.
15817 (unlock): New method.
15818 * java/io/natFileDescriptorWin32.cc
15819 (lock): New method.
15820 (tryLock): New method.
15821 (unlock): New method.
15822
15823 2004-01-23 Michael Koch <konqueror@gmx.de>
15824
15825 * java/io/FileDescriptor.java
15826 (sync): Moved around, added javadoc.
15827 (valid): Likewise.
15828 (open): Likewise.
15829 (write): Likewise.
15830 (close): Likewise.
15831 (setLength): Likewise.
15832 (seek): Likewise.
15833 (getLength): Likewise.
15834 (getFilePointer): Likewise.
15835 (read): Likewise.
15836 (available): Likewise.
15837 (finalize): Likewise.
15838
15839 2004-01-23 Michael Koch <konqueror@gmx.de>
15840
15841 * javax/swing/AbstractAction.java: Reformated.
15842 (getPropertyChangeListeners): New method.
15843 * javax/swing/AbstractCellEditor.java: Reformated.
15844 (getCellEditorListeners): New method.
15845 * javax/swing/DefaultListSelectionModel.java
15846 (listenerList): New field.
15847 (listeners): Removed.
15848 (get_listeners): Removed.
15849 (addListSelectionListener): Rewritten.
15850 (removeListSelectionListener): Rewritten.
15851 (getListSelectionListeners): New method.
15852 (getListeners): New method.
15853 * javax/swing/JComboBox.java: Imports reworked.
15854 (addActionListener): Implemented.
15855 (removeActionListener): Implemented.
15856 (addItemListener): Implemented.
15857 (removeItemListener): Implemented.
15858 (addPopupMenuListener): Implemented.
15859 (removePopupMenuListener): Implemented.
15860 (getActionListeners): New method.
15861 (getItemListeners): New method.
15862 (getPopupMenuListeners): New method.
15863
15864 2004-01-23 Michael Koch <konqueror@gmx.de>
15865
15866 * gnu/java/net/protocol/http/Connection.java
15867 (connect): Don't initialize bufferedOutputStream if not needed.
15868 (sendRequest): Set property for content length if content is present.
15869 Write content only if present.
15870 (getOutputStream): Check if already connected, dont connect,
15871 initalize bufferedOutputStream if needed.
15872
15873 2004-01-23 Michael Koch <konqueror@gmx.de>
15874
15875 * java/io/FileDescriptor.java
15876 (in, out, err): Added javadoc.
15877 (static): Merged loading code.
15878 (fd, position): Moved around.
15879
15880 2004-01-23 Michael Koch <konqueror@gmx.de>
15881
15882 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
15883 New file.
15884
15885 2004-01-23 Michael Koch <konqueror@gmx.de>
15886
15887 * java/lang/Class.java,
15888 java/lang/Object.java,
15889 java/lang/Thread.java: Merged copyright with classpath.
15890
15891 2004-01-23 Michael Koch <konqueror@gmx.de>
15892
15893 * java/io/FileDescriptor.java: Merged copyright with classpath to
15894 start merging this class.
15895
15896 2004-01-22 Tom Tromey <tromey@redhat.com>
15897
15898 PR libgcj/13107:
15899 * testsuite/libjava.lang/pr13107_2.xfail: New file.
15900 * testsuite/libjava.lang/pr13107_3.xfail: New file.
15901 * testsuite/libjava.lang/pr13107_3.java: New file.
15902 * testsuite/libjava.lang/pr13107_3.out: New file.
15903 * testsuite/libjava.lang/pr13107_2.java: New file.
15904 * testsuite/libjava.lang/pr13107_2.out: New file.
15905 * testsuite/libjava.lang/pr13107.java: New file.
15906 * testsuite/libjava.lang/pr13107.out: New file.
15907 * verify.cc (jsr_ptrs): Removed.
15908 (entry_points): Likewise.
15909 (struct subr_info): Likewise.
15910 (struct subr_entry_info): Likewise.
15911 (type_val::unused_by_subroutine_type): Likewise.
15912 (type::merge): Don't handle unused_by_subroutine_type.
15913 (type::print): Likewise.
15914 (state::flags): Removed.
15915 (state::subroutine): Likewise.
15916 (state::seen_subrs): Likewise.
15917 (state::NO_STACK): Likewise.
15918 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
15919 (state): Updated all methods.
15920 (state::clean_subrs): Removed.
15921 (state::state): Removed `ret_semantics' flag.
15922 (state::copy): Likewise.
15923 (state::add_subr): Removed.
15924 (state::enter_subroutine): Likewise.
15925 (type::set_return_address): New method.
15926 (handle_jsr_insn): Set return address on the type. Always
15927 invalidate PC after call.
15928 (check_nonrecursive_call): Removed.
15929 (~_Jv_BytecodeVerifier): Updated.
15930 (branch_prepass): Removed special handling of jsr.
15931 (note_branch_target): Likewise.
15932 (get_subroutine): Removed.
15933 (state::merge): Don't merge subroutines and don't handle
15934 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
15935 (state::note_variable): Removed.
15936 (state::is_unmerged_ret_state): Likewise.
15937 (state::print): Updated.
15938 (set_variable): Likewise.
15939 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
15940 and jsr_semantics arguments. Updated for new reverification
15941 list.
15942 (pop_jump): Rewrote.
15943 (construct_primitive_array_type): Updated.
15944 (state::next): Removed.
15945 (INVALID_STATE): New define.
15946 (state::INVALID): Removed.
15947 (state::NO_NEXT): New value.
15948 (state::pc, state::next): New fields.
15949 (state::get_pc): New method.
15950 (next_verify_pc): Removed.
15951 (next_verify_state): New field.
15952 (verify_instructions_0): Always check for falling off end.
15953 (linked): New type.
15954 (linked_utf8): Removed.
15955 (states): Changed type.
15956 (type::state_mergeable_p): New method.
15957 (state::state_mergeable_p): Likewise.
15958 (handle_ret_insn): Removed most code.
15959 (state::reverify): New method.
15960 (add_new_state): Likewise.
15961 (state::set_pc): Likewise.
15962
15963 2004-01-22 Jeff Sturm <jsturm@one-point.com>
15964
15965 PR java/13733
15966 * testsuite/libjava.compile/PR13733.java: New file.
15967 * testsuite/libjava.compile/PR13733.xfail: New file.
15968
15969 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
15970 Michael Koch <konqueror@gmx.de>
15971
15972 * javax/swing/table/DefaultTableCellRenderer.java
15973 (DefaultTableCellRenderer): Added javadoc for the class and for
15974 the constructor, Border instance, create an EmptyBorder.
15975 (UIResource): Removed the comment at the end of the class
15976 (setForeground): New method.
15977 (setBackground): New method.
15978 (updateUI): New method.
15979 (getTableCellRendererComponent): Rewritten with the help of
15980 dvholten and Stephane Meslin-Weber.
15981 (validate): New method.
15982 (repaint): New method.
15983 (firePropertyChange): New method.
15984 (setValue): New method.
15985
15986 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
15987
15988 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15989 (connectJObject): Replace printf calls with g_assert statements.
15990 Move property-notify-event signal connection to ...
15991 (connectSignals): Connect property-notify-event signal. Iterate
15992 through the vbox's children to find layout.
15993
15994 2004-01-22 Graydon Hoare <graydon@redhat.com>
15995
15996 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
15997 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
15998 Predicate static initialization on GtkToolkit.useGraphics2D().
15999 * java/awt/Component.java (processPaintEvent): Consume event.
16000 * javax/swing/AbstractButton.java: Reimplement, document.
16001 * javax/swing/DefaultButtonModel.java: Reimplement, document.
16002 * javax/swing/JComponent.java (paint): Use double buffer.
16003 (listenerList): Enable member.
16004 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
16005 * javax/swing/JToggleButton.java
16006 (JToggleButton): Modify model constructor.
16007 * javax/swing/SwingUtilities.java
16008 (layoutCompoundLabel): Adjust arithmetic.
16009 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
16010 * javax/swing/plaf/basic/BasicGraphicsUtils.java
16011 (getPreferredButtonSize): Include margins in calculation.
16012 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16013 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
16014 Receive up events from subordinate layout component.
16015
16016 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
16017
16018 * java/awt/Component.java (show): Set visible to true before
16019 showing the peer.
16020
16021 2004-01-21 Kim Ho <kho@redhat.com>
16022
16023 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
16024 Fix comments.
16025 (removeMenuBarPeer): Make package private.
16026 (setMenuBarPeer): Make package private.
16027 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16028 (menubar_resize_cb): Mark attributes unused.
16029 (getMenuBarHeight): ditto.
16030
16031 2004-01-21 David Jee <djee@redhat.com>
16032
16033 * java/awt/Container.java
16034 (LightweightDispatcher.handleEvent): Add an extra check to avoid
16035 dispatching MOUSE_ENTERED event twice. Translate the point for
16036 the mouse event target before dispatching the event.
16037
16038 2004-01-20 Jakub Jelinek <jakub@redhat.com>
16039
16040 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
16041 lib_org_w3c_dom_la_LDFLAGS): New.
16042 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
16043 * Makefile.in: Rebuilt.
16044
16045 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
16046
16047 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
16048 Calculate proper offsets for heavyweight components packed in
16049 lightweight containers.
16050
16051 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
16052 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
16053 (native create): Add width parameter.
16054 (create): Calculate text entry width based on current font's
16055 metrics and number of columns. Set TextField's font if not
16056 already set. Call native create.
16057 (gtkEntryGetBorderWidth): New native method.
16058 (gtkEntryGetSize): Remove method.
16059 (getMinimumSize): Call minimumSize.
16060 (getPreferredSize): Call preferredSize.
16061 (minimumSize): Calculate minimum size based on backing
16062 GtkEntry's borders, font metrics and number of columns.
16063 (preferredSize): Likewise for preferred size.
16064 (get_border_width): New static function.
16065
16066 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
16067 Override GtkWindowPeer's setResizable method to account for menu
16068 bar height when setting the frame's size.
16069
16070 2004-01-19 Matthias Klose <doko@debian.org>
16071
16072 * libtool-version: Increased `current' to 6.
16073
16074 2004-01-19 Kim Ho <kho@redhat.com>
16075
16076 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16077 (connectJObject): Iterate through the vbox's children to find layout.
16078
16079 2004-01-19 Fernando Nasser <fnasser@redhat.com>
16080
16081 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
16082 isDispatchThread method to replace wrong test condition.
16083
16084 2004-01-19 Fernando Nasser <fnasser@redhat.com>
16085
16086 * java/awt/EventQueue.java (pop): Prevent racing condition to add
16087 events to the queue out of order by acquiring locks in the proper
16088 order and not by releasing one before acquiring the other.
16089
16090 2004-01-19 Fernando Nasser <fnasser@redhat.com>
16091
16092 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
16093 visible so that dialog can be reused.
16094
16095 2004-01-19 Fernando Nasser <fnasser@redhat.com>
16096
16097 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
16098 events may be handled by any queue in the stack.
16099
16100 2004-01-19 Kim Ho <kho@redhat.com>
16101
16102 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
16103 MenuBarPeer parameter.
16104 (removeMenuBarPeer): New native method.
16105 (setMenuBar): Call remove if menu bar is null. Adjust insets
16106 appropriately.
16107 (postSizeAllocateEvent): New method. Called when menu bar size is
16108 allocated. Adjust insets and redo layout.
16109 (GtkFramePeer): Set menu bar during frame creation.
16110 (postConfigureEvent): Adjust position and size to accomodate
16111 menu bar.
16112 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
16113 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
16114 (addNotify): Create the peer if it doesn't exist and call addNotify
16115 for the menu's items.
16116 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
16117 * java/awt/MenuItem.java (addNotify): Create the peer if it
16118 doesn't exist.
16119 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16120 (removeMenuBarPeer): New method. Remove menu bar on the current
16121 frame.
16122 (setMenuBarPeer): Add the menu bar to the current frame and the
16123 callback for size-allocate events on the menu bar.
16124 (getMenuBarHeight): Add menu bar parameter.
16125 (menubar_resize_cb): New callback method for postSizeAllocate events.
16126
16127 Also: Fix indentation on last ChangeLog entry.
16128
16129 2004-01-16 Kim Ho <kho@redhat.com>
16130
16131 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
16132 (gtkWidgetGetDimensions): Remove.
16133 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16134 (gtkWidgetGetDimensions): Remove.
16135
16136 2004-01-16 Tom Tromey <tromey@redhat.com>
16137
16138 * java/awt/Container.java: Typo and indentation fixes.
16139
16140 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
16141 * java/lang/natVMClassLoader.cc: ...here. New file.
16142 * Makefile.in: Rebuilt.
16143 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
16144
16145 2004-01-16 Fernando Nasser <fnasser@redhat.com>
16146
16147 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
16148 Discard GDK_ENTER_NOTIFY related to ungrabs.
16149
16150 2004-01-16 Fernando Nasser <fnasser@redhat.com>
16151
16152 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
16153 is called for an intermediate queue.
16154
16155 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
16156
16157 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16158 (window_property_changed_cb): Set id_set.
16159
16160 2004-01-16 Kim Ho <kho@redhat.com>
16161
16162 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
16163 it is a FileDialog and has dimensions of 0 by 0, then the initial
16164 size is set to size request plus insets.
16165 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
16166 (gtkWidgetGetDimensions): Override method.
16167 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16168 (gtkWidgetGetDimensions): Override method. Returns size request plus
16169 insets.
16170
16171 2004-01-16 Andrew Haley <aph@redhat.com>
16172
16173 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
16174 * sysdep/i386/locks.h: Likewise.
16175
16176 2004-01-16 Fernando Nasser <fnasser@redhat.com>
16177
16178 * java/awt/EventDispatchThread.java (run): Stop running when
16179 interrupted.
16180 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
16181 Reset the queue after transferring its contents.
16182 (push): Start a new dispatch thread if none is running.
16183
16184 2004-01-16 Olga Rodimina <rodimina@redhat.com>
16185
16186 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
16187 (doPolygon): set fill rule of polygon to
16188 WIND_EVEN_ODD by default.
16189
16190 2004-01-15 Olga Rodimina <rodimina@redhat.com>
16191
16192 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
16193 Implemented rendering hints related methods.
16194 (getDefaultHints): New helper method. Returns
16195 default rendering hints.
16196 (walkPath): changed to normalize path if
16197 the KEY_STROKE_CONTROL key is in "normalize" mode.
16198 (draw3DRect): changed coordinates of rectangle by +0.5
16199 if in "normalize" mode.
16200
16201 2004-01-15 Tom Tromey <tromey@redhat.com>
16202
16203 * Makefile.in: Rebuilt.
16204 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
16205 (%.lo: %.java) Filter out StackTrace.lo.
16206
16207 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
16208
16209 * configure.in: Add in AC_PREREQ(2.13)
16210 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
16211 FIXME comment.
16212
16213 2004-01-14 Nathan Bryant <nbryant@optonline.net>
16214 Tom Tromey <tromey@redhat.com>
16215
16216 PR libgcj/12001:
16217 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
16218 array to superclass.
16219 (init): Changed interface; add URLs here.
16220 (initialize): New static method.
16221 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
16222 (_Jv_RunMain): ... not here.
16223
16224 2004-01-14 Michael Koch <konqueror@gmx.de>
16225
16226 * java/text/MessageFormat.java:
16227 Added descriptions to exceptions.
16228 This fixes PR libgcj/2429.
16229
16230 2004-01-13 Fernando Nasser <fnasser@redhat.com>
16231
16232 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
16233 (push): Make sure push is performed at the top of the thread stack.
16234
16235 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
16236
16237 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
16238 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
16239 (native create): Add width and height parameters. Set text
16240 view's size request according to new parameters.
16241 (create): Calculate text view size based on current font's
16242 metrics and number of rows and columns. Set TextArea's font if
16243 not already set. Call native create.
16244 (getMinimumSize): Call minimumSize.
16245 (getPreferredSize): Call preferredSize.
16246 (getHScrollbarHeight): New method.
16247 (getVScrollbarWidth): New method.
16248 (minimumSize): Calculate minimum size based on scrollbar
16249 visibility, scrollbar sizes, font metrics and number of rows and
16250 columns.
16251 (preferredSize): Likewise for preferred size.
16252 (gtkTextGetSize): Remove method.
16253
16254 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
16255
16256 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
16257 (initializeInsets): Remove method.
16258 (GtkComponentPeer): Initialize insets field. Remove call to
16259 initializeInsets.
16260 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
16261 Remove method.
16262 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
16263 Remove method.
16264 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
16265 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
16266 (latestInsets): Remove field.
16267 (native create): Add insets parameter. Call
16268 window_get_frame_extents. Set the window's default size and
16269 size request based on its frame extents.
16270 (create): Initialize insets.
16271 (postInsetsChangedEvent): New method.
16272 (postConfigureEvent): Remove parameters top, left, bottom,
16273 right. Remove insets-related logic.
16274 (connectJObject): Handle property-notify-event.
16275 (window_get_frame_extents, request_frame_extents,
16276 property_notify_predicate, window_property_changed_cb): New
16277 static functions.
16278 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
16279 (pre_event_handler): Remove insets-related logic for configure
16280 events.
16281 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
16282 Update postConfigureEvent signature.
16283
16284 2004-01-13 Fernando Nasser <fnasser@redhat.com>
16285
16286 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
16287 to handle Window "Closing" events.
16288
16289 2004-01-13 David Jee <djee@redhat.com>
16290
16291 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
16292 (setBackground): New method. Children with no explicitly-set
16293 background will be repainted with the parent container's new
16294 background color.
16295
16296 2004-01-13 David Jee <djee@redhat.com>
16297
16298 * Makefile.am: Add BitwiseXORComposite.java.
16299 * Makefile.in: Regenerated.
16300 * gcj/Makefile.in: Regenerated.
16301 * include/Makefile.in: Regenerated.
16302 * testsuite/Makefile.in: Regenerated.
16303
16304 2004-01-12 Fernando Nasser <fnasser@redhat.com>
16305
16306 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
16307 not show modal dialogs twice and so that it allows showing a modal
16308 dialog from another modal dialog.
16309
16310 2004-01-12 Fernando Nasser <fnasser@redhat.com>
16311
16312 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
16313 and run secondary dispatch thread to process event queue while this
16314 thread is blocked.
16315
16316 2004-01-12 Graydon Hoare <graydon@redhat.com>
16317
16318 * gnu/java/awt/gtk/GdkGraphics2D.java
16319 (static): Check GtkToolkit before initializing static state.
16320 (Graphics2D): Don't construct transform with 0.5 unit offset.
16321
16322 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
16323
16324 * gnu/java/awt/BitwiseXORComposite.java: Add.
16325 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
16326 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
16327 (BitwiseXORComposite): Remove inner class.
16328
16329 2004-01-11 Michael Koch <konqueror@gmx.de>
16330
16331 * gnu/java/lang/reflect/TypeSignature.java
16332 (getEncodingOfClass): Documentation fixed.
16333 (getClassForEncoding): Give class loader to Class.forName().
16334 Documentation fixed.
16335
16336 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
16337
16338 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
16339
16340 2004-01-11 Michael Koch <konqueror@gmx.de>
16341
16342 * javax/swing/undo/StateEditable.java
16343 (RCSID): Removed redundant modifiers.
16344
16345 2004-01-10 Michael Koch <konqueror@gmx.de>
16346
16347 * javax/print/attribute/EnumSyntax.java
16348 (getStringTable): Made protected.
16349 (getEnumValueTable): Likewise.
16350 * javax/print/attribute/standard/JobKOctetsProcessed.java
16351 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
16352 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
16353 (JobMediaSheetsCompleted): Made class final.
16354 * javax/print/attribute/standard/OutputDeviceAssigned.java
16355 (getName): Fixed typo.
16356 * javax/print/attribute/standard/RequestingUserName.java
16357 (serialVersionUID): Fixed value.
16358
16359 2004-01-10 Michael Koch <konqueror@gmx.de>
16360
16361 * javax/swing/plaf/basic/BasicButtonUI.java,
16362 javax/swing/plaf/basic/BasicCheckBoxUI.java,
16363 javax/swing/plaf/basic/BasicListUI.java,
16364 javax/swing/plaf/basic/BasicOptionPaneUI.java,
16365 javax/swing/plaf/basic/BasicPanelUI.java,
16366 javax/swing/plaf/basic/BasicRadioButtonUI.java,
16367 javax/swing/plaf/basic/BasicScrollPaneUI.java,
16368 javax/swing/plaf/basic/BasicToggleButtonUI.java,
16369 javax/swing/plaf/basic/BasicViewportUI.java:
16370 Fixed import statements.
16371
16372 2004-01-10 Michael Koch <konqueror@gmx.de>
16373
16374 * gnu/java/awt/image/ImageDecoder.java
16375 (produce): Made public.
16376 * gnu/java/awt/peer/GLightweightPeer.java,
16377 gnu/java/awt/peer/gtk/GtkToolkit.java:
16378 Reformated.
16379
16380 2004-01-10 Michael Koch <konqueror@gmx.de>
16381
16382 * javax/swing/JRadioButtonMenuItem.java,
16383 javax/swing/JSeparator.java,
16384 javax/swing/JSplitPane.java,
16385 javax/swing/JTextPane.java,
16386 javax/swing/JToolBar.java,
16387 javax/swing/ListCellRenderer.java,
16388 javax/swing/ListModel.java,
16389 javax/swing/MenuElement.java,
16390 javax/swing/OverlayLayout.java,
16391 javax/swing/ProgressMonitor.java,
16392 javax/swing/ProgressMonitorInputStream.java,
16393 javax/swing/Renderer.java,
16394 javax/swing/RootPaneContainer.java,
16395 javax/swing/Scrollable.java,
16396 javax/swing/SingleSelectionModel.java,
16397 javax/swing/ToolTipManager.java,
16398 javax/swing/ViewportLayout.java,
16399 javax/swing/event/DocumentEvent.java,
16400 javax/swing/event/SwingPropertyChangeSupport.java,
16401 javax/swing/event/TreeSelectionEvent.java,
16402 javax/swing/event/UndoableEditEvent.java,
16403 javax/swing/text/AbstractDocument.java,
16404 javax/swing/text/AttributeSet.java,
16405 javax/swing/text/Caret.java,
16406 javax/swing/text/ComponentView.java,
16407 javax/swing/text/DefaultCaret.java,
16408 javax/swing/text/DefaultEditorKit.java,
16409 javax/swing/text/Document.java,
16410 javax/swing/text/EditorKit.java,
16411 javax/swing/text/GapContent.java,
16412 javax/swing/text/Keymap.java,
16413 javax/swing/text/MutableAttributeSet.java,
16414 javax/swing/text/PlainEditorKit.java,
16415 javax/swing/text/Segment.java,
16416 javax/swing/text/Style.java,
16417 javax/swing/text/StyledDocument.java,
16418 javax/swing/text/StyledEditorKit.java,
16419 javax/swing/text/TextAction.java,
16420 javax/swing/text/View.java: Fixed import statements.
16421
16422 2004-01-08 Graydon Hoare <graydon@redhat.com>
16423
16424 * javax/swing/JLayeredPane.java: Rewrite to accomodate
16425 djee@redhat.com's recent inverse ordering of Container elements.
16426
16427 2004-01-09 Michael Koch <konqueror@gmx.de>
16428
16429 * gnu/java/lang/ArrayHelper.java
16430 (equalsArray): Removed.
16431
16432 2004-01-09 Andrew Haley <aph@redhat.com>
16433
16434 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
16435 a Utf8Const field before looking at its class.
16436
16437 2004-01-09 Michael Koch <konqueror@gmx.de>
16438
16439 * javax/print/attribute/standard/DocumentName.java,
16440 javax/print/attribute/standard/JobHoldUntil.java,
16441 javax/print/attribute/standard/JobMessageFromOperator.java,
16442 javax/print/attribute/standard/JobName.java,
16443 javax/print/attribute/standard/JobOriginatingUserName.java,
16444 javax/print/attribute/standard/OutputDeviceAssigned.java,
16445 javax/print/attribute/standard/PrinterInfo.java,
16446 javax/print/attribute/standard/PrinterLocation.java,
16447 javax/print/attribute/standard/PrinterMakeAndModel.java,
16448 javax/print/attribute/standard/PrinterMessageFromOperator.java,
16449 javax/print/attribute/standard/PrinterName.java,
16450 javax/print/attribute/standard/RequestingUserName.java: New files.
16451 * Makefile.am (javax_source_files): Added new files.
16452 * Makefile.in: Regenerated.
16453
16454 2004-01-09 Michael Koch <konqueror@gmx.de>
16455
16456 * javax/swing/AbstractAction.java,
16457 javax/swing/AbstractSet.java,
16458 javax/swing/Action.java,
16459 javax/swing/ActionMap.java,
16460 javax/swing/BoundedRangeModel.java,
16461 javax/swing/ButtonModel.java,
16462 javax/swing/CellEditor.java,
16463 javax/swing/CellRendererPane.java,
16464 javax/swing/ComboBoxEditor.java,
16465 javax/swing/DebugGraphics.java,
16466 javax/swing/DefaultCellEditor.java,
16467 javax/swing/DefaultCellRenderer.java,
16468 javax/swing/DefaultComboBoxModel.java,
16469 javax/swing/DefaultDesktopManager.java,
16470 javax/swing/DefaultFocusManager.java,
16471 javax/swing/DefaultListCellRenderer.java,
16472 javax/swing/Icon.java,
16473 javax/swing/JButton.java,
16474 javax/swing/JCheckBoxMenuItem.java,
16475 javax/swing/JDesktopPane.java,
16476 javax/swing/JEditorPane.java,
16477 javax/swing/JMenu.java,
16478 javax/swing/JPanel.java,
16479 javax/swing/JPasswordField.java,
16480 javax/swing/JPopupMenu.java,
16481 javax/swing/JProgressBar.java: Reworked imports.
16482
16483 2004-01-09 Michael Koch <konqueror@gmx.de>
16484
16485 * java/awt/geom/PathIterator.java
16486 (WIND_EVEN_ODD): Removed redundant modifiers.
16487 (WIND_NON_ZERO): Likewise.
16488 (SEG_MOVETO): Likewise.
16489 (SEG_LINETO): Likewise.
16490 (SEG_QUADTO): Likewise.
16491 (SEG_CUBICTO): Likewise.
16492 (SEG_CLOSE): Likewise.
16493 * java/awt/image/SinglePixelPackedSampleModel.java:
16494 Removed redundant semicolon.
16495 * java/io/ObjectInputStream.java
16496 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
16497 * java/util/logging/Filter.java
16498 (isLoggable): Removed redundant modifier.
16499 * java/util/logging/LogManager.java:
16500 Removed redundant semicolon.
16501 * java/util/logging/XMLFormatter.java
16502 (format): Removed unused variable "key".
16503
16504 2004-01-08 Fernando Nasser <fnasser@redhat.com>
16505
16506 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
16507 New name for the former setFile native method.
16508 (setFile): New method.
16509 (setDirectory): Implemented.
16510 (connectSignals): New native method.
16511 (setFilenameFilter): Improve comment.
16512 (getGraphics): Comment.
16513 (gtkHideFileDialog): New method.
16514 (gtkDisposeFileDialog): New method.
16515 (gtkSetFilename): New method.
16516 * java/awt/Dialog.java (show): Block on modal dialogs, but only
16517 for FileDialog for now.
16518 (hide): New method.
16519 (dispose): New method.
16520 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
16521 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
16522 deprecated creation functions. Make dialog modal. Add it to the
16523 window group.
16524 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
16525 function.
16526 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
16527 Rename to...
16528 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
16529 name.
16530 (window_closed): New function.
16531 (ok_clicked): New function.
16532 (cancel_clicked): New function.
16533
16534 2004-01-08 Michael Koch <konqueror@gmx.de>
16535
16536 * javax/swing/JLayeredPane.java: Revert changes to standard
16537 boilerplate, reworked imports.
16538
16539 2004-01-07 Tom Tromey <tromey@redhat.com>
16540
16541 PR libgcj/13439:
16542 * verify.cc (state::merge): Copy changed locals out of subroutine
16543 in NO_STACK case.
16544 (state::FLAG_CHANGED): New const.
16545 (state::FLAG_UNUSED): Likewise.
16546 (state::local_changed): Removed. Updated all users.
16547 (state::flags): New field.
16548 (state::merge): Added jsr_semantics argument, more logic.
16549 (push_jump_merge): Added jsr_semantics argument.
16550 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
16551 merging through the jsr instruction.
16552
16553 2004-01-07 Tom Tromey <tromey@redhat.com>
16554
16555 * scripts/MakeDefaultMimeTypes.java: Use \n, not
16556 backslash-newline.
16557
16558 2004-01-07 Graydon Hoare <graydon@redhat.com>
16559
16560 * java/awt/Container.java (LightweightDispatcher): Implement.
16561 (visitChild): Reuse graphics object.
16562 (dispatchEventImpl): Optionally dispatch to lightweight.
16563 (addNotifyContainerChildren): Build LightweightDispatcher.
16564
16565 2004-01-07 David Jee <djee@redhat.com>
16566
16567 * java/awt/Container.java
16568 (update): Clear only the clipped region, instead of clearing the
16569 entire Container.
16570 (visitChildren): Visit children in descending order.
16571
16572 2004-01-07 Michael Koch <konqueror@gmx.de>
16573
16574 * java/lang/reflect/Array.java: Merged documentation with classpath.
16575
16576 2004-01-07 Michael Koch <konqueror@gmx.de>
16577
16578 * java/text/CollationElementIterator.java
16579 (textIndex): Renamed from index.
16580 * java/text/CollationKey.java
16581 (collator): New member.
16582 (CollationKey): New argument for parent collator.
16583 (equals): Check for same collator, source string and key array.
16584 * java/text/RuleBasedCollator.java:
16585 Reformated.
16586 (RuleBasedCollator): Don't re-initialize frenchAccents with default
16587 value.
16588 (getCollationElementIterator): Rewritten.
16589 (getCollationKey): Added new argument to CollationKey constructor.
16590
16591 2004-01-07 Michael Koch <konqueror@gmx.de>
16592
16593 * gnu/java/nio/DatagramChannelImpl.java
16594 (blocking): Removed.
16595 (DatagramChannelImpl): Call configureBlocking().
16596 (implConfigureBlocking): Dont initialize blocking.
16597 * gnu/java/nio/ServerSocketChannelImpl.java
16598 (blocking): Removed.
16599 (ServerSocketChannelImpl): Call configureBlocking().
16600 (implConfigureBlocking): Dont initialize blocking.
16601 * gnu/java/nio/SocketChannelImpl.java
16602 (blocking): Removed.
16603 (SocketChannelImpl): Call configureBlocking().
16604 (implConfigureBlocking): Dont initialize blocking.
16605 (connect): Use isBlocking().
16606 * java/nio/channels/spi/AbstractSelectableChannel.java
16607 (configureBlocking): Use blockingLock() instead of LOCK.
16608 Set blocking after successfully called implConfigureBlocking().
16609 (register): Use blockingLock() instead of LOCK.
16610
16611 2004-01-07 Michael Koch <konqueror@gmx.de>
16612
16613 * java/net/ServerSocket.java (isBound): Fixed documentation.
16614
16615 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
16616
16617 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
16618 (changeEvent): Create event object on demand.
16619 (DefaultBoundedRangeModel, toString, setValue, setExtent,
16620 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
16621 fireStateChanged): Re-written.
16622 * javax/swing/event/EventListenerList.java: Reformatted, document
16623 typical usage.
16624 (toString): Implemented.
16625 (getListeners): Re-written.
16626 (remove): Re-written.
16627 (add): Re-written.
16628 (NO_LISTENERS): New singleton field.
16629 (listenerList): Declare as transient; document.
16630 (serialVersionUID): Document.
16631 (getListenerCount(Class)): More efficient implementation,
16632 also accepts null argument. Improve Javadoc.
16633 (getListenerCount()): Remove unnecessary cast; docfix.
16634 * javax/swing/undo/UndoableEditSupport.java:
16635 Re-format, document.
16636 (UndoableEditSupport): Set realSource field. Improve documentation.
16637 (_postEdit): Iterate over cloned listener vector.
16638 (toString): Don't emit realSource.
16639 (beginUpdate, endUpdate): Support nested updates.
16640 (postEdit): Use compound edit if present.
16641
16642 2004-01-06 Graydon Hoare <graydon@redhat.com>
16643
16644 * java/awt/Container.java (swapComponents): Add forgotten
16645 function, required for JLayeredPane change.
16646
16647 2004-01-06 Michael Koch <konqueror@gmx.de>
16648
16649 * java/text/CollationElementIterator.java: Reformated.
16650 (CollationElementIterator): Changed order of arguments.
16651 * java/text/RuleBasedCollator.java
16652 (RuleBasedCollator): Merged class documentation.
16653 (CollationElement): Added documentation.
16654 (compare): Reformated, renamed arguments.
16655 (equals): Likewise.
16656 (getCollationElementIterator): Likewise.
16657 (getCollationKey): Likewise.
16658
16659 2004-01-06 Graydon Hoare <graydon@redhat.com>
16660
16661 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
16662
16663 2004-01-06 Michael Koch <konqueror@gmx.de>
16664
16665 * gnu/java/net/protocol/file/Connection.java:
16666 Reformated copyright.
16667 (hdrHash): Removed.
16668 (hdrVec): Removed.
16669 (gotHeaders): Removed.
16670 (getHeaderField): Removed.
16671 (getHeaderField): Removed.
16672 (getHeaderFieldKey): Removed.
16673 (getKey): Removed.
16674 (getField): Removed.
16675 (getHeaders): Removed.
16676
16677 2004-01-06 Michael Koch <konqueror@gmx.de>
16678
16679 * javax/print/attribute/standard/DateTimeAtCompleted.java,
16680 javax/print/attribute/standard/DateTimeAtCreation.java,
16681 javax/print/attribute/standard/DateTimeAtProcessing.java,
16682 javax/print/attribute/standard/JobImpressionsCompleted.java,
16683 javax/print/attribute/standard/JobKOctets.java,
16684 javax/print/attribute/standard/JobKOctetsProcessed.java,
16685 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
16686 javax/print/attribute/standard/JobPrioritySupported.java: New files.
16687 * Makefile.am (javax_source_files): Added new files.
16688 * Makefile.in: Regenerated.
16689
16690 2004-01-06 Michael Koch <konqueror@gmx.de>
16691
16692 * java/net/URLConnection.java
16693 (contentHandler): Removed.
16694 (locale): Removed.
16695 (getHeaderFields): Return an empty map instead of null.
16696 (getContent): Connect if needed, renamed "cType" to "type" and
16697 "contentHandler" to "ch" and made it a local variable.
16698 (getPermission): Don't use package in class name.
16699 (setDefaultRequestProperty): Fixed typo in documentation.
16700 (initializeDateFormats): Made locale a local variable.
16701
16702 2004-01-06 Michael Koch <konqueror@gmx.de>
16703
16704 * java/lang/Package.java
16705 (getPackage): Get the current class loader directly.
16706 * java/lang/SecurityManager.java
16707 (currentLoadedClass): Dont iterate over class contexts.
16708 (classLoaderDepth): Don't check class loaders if everything is allowed.
16709
16710 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
16711
16712 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
16713 (pre_event_handler): Set all insets to 0 when a Configure event
16714 is received for a GtkPlug.
16715 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
16716 Make handle long, not int.
16717 (EmbeddedWindow()): New constructor.
16718 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
16719 long, not int.
16720 (setHandle): New method.
16721 (getHandle): Return long, not int.
16722 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
16723 declaration.
16724 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
16725 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
16726 (create(long)): Take long parameter, not int. Cast gtk_plug_new
16727 argument to GdkNativeWindow.
16728 (construct): New method.
16729 (embed): New method.
16730
16731 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
16732 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
16733 (create(int, int)): New method.
16734 (create): Call new create method.
16735 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
16736 methods.
16737 (childResized): Remove native implementation. Implement in
16738 Java.
16739 (getHScrollbarHeight, getVScrollbarWidth): Call
16740 gtk_widget_size_request to get scrollbar dimensions.
16741 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
16742 call getVScrollbarWidth and getHScrollbarHeight when vertical
16743 and horizontal scrollbars respectively are needed.
16744 (doLayout): Enlarge child if it is smaller than the viewport.
16745
16746 2004-01-05 Fernando Nasser <fnasser@redhat.com>
16747
16748 * java/awt/Dialog.java (constructor): Accept null title as per spec.
16749 * java/awt/FileDialog.java (constructor): Throw exception on invalid
16750 argument as per spec.
16751
16752 2004-01-05 Fernando Nasser <fnasser@redhat.com>
16753
16754 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
16755 (insert): Ditto.
16756 (remove): Ditto. Also, Check for valid argument.
16757 (removeAll): Use peer interface method.
16758 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
16759 native add function.
16760 (nativeRemove): New name for native remove function.
16761 (getHistory): New native function.
16762 (constructor): Generate ItemEvent.
16763 (add): Ditto, if selection is changed.
16764 (remove): Ditto, ditto.
16765 (removeAll): Add implementation.
16766 (handleEvent): Remove. Dead code.
16767 (choicePostItemEvent): Add comment.
16768 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
16769 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
16770 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
16771 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
16772 comments and fix condition to change selection.
16773 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
16774 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
16775 remove all capability.
16776 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
16777 (item_activate): Add cast to remove compiler warning.
16778
16779 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
16780
16781 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
16782 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
16783 (getPreferredSize): Call preferredSize.
16784 (preferredSize): Call gtkWidgetGetPreferredDimensions.
16785 (getMinimumSize): Call minimumSize.
16786 (minimumSize): Call gtkWidgetGetPreferredDimensions.
16787 (gtkWidgetGetDimensions): Return the peer widget's current size
16788 request.
16789 (gtkWidgetGetPreferredDimensions): Return the peer widget's
16790 natural size request.
16791
16792 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
16793
16794 Thanks to Brian Gough <bjg@network-theory.com>
16795 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
16796 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
16797
16798 2004-01-04 Matthias Klose <doko@debian.org>
16799
16800 * aclocal.m4: Rebuilt using "aclocal -I .".
16801 * configure: Rebuilt.
16802
16803 2004-01-03 Per Bothner <per@bothner.com>
16804
16805 * java/util/Date.java (parse): Fix a number of problems.
16806 (skipParens): Remove no-longer-needed method.