OSDN Git Service

712c9eb400fa6071763b7ea16c75495815cae6c0
[pf3gnuchains/gcc-fork.git] / libjava / classpath / ChangeLog
1 2007-04-16  Andrew Haley  <aph@redhat.com>
2
3         * java/io/ObjectInputStream.java: (parseContent):  Call (String,
4         Object) version of dumpElementln.
5         (dumpElementln(String, Object)): New method.
6         * java/io/ObjectOutputStream.java (writeObject): Call (String,
7         Object) version of dumpElementln.
8         (dumpElementln(String, Object)): New method.
9
10 2007-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11
12         * javax/management/ObjectName.java:
13         (parse(String)): Catch multiple wildcards,
14         initialise with an empty string (so null isn't
15         appended), and emit comma even when wildcard
16         ends the list.
17         (checkComponents()): Catch newlines.
18         (quote(String)): Handle newlines and quotes
19         correctly.
20
21 2007-04-16  Andrew Haley  <aph@redhat.com>
22
23         * org/omg/IOP/TaggedComponentHelper.java (read): Use
24         read_octet_array(), not read().
25         (write): Use write_octet_array(), not write().
26
27         * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
28         delegate has been set.
29
30         * javax/management/ObjectName.java serialVersionUID: Declare.
31         Make all fields transient.
32         (parse): Break out from constructor.
33         (writeObject, readObject): New methods.
34
35 2007-04-02  Keith Seitz  <keiths@redhat.com>
36
37         * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
38         Event type is "THREAD_START" not "THREAD_END".
39
40         * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
41         Handle configure strings ":port" and "port".
42
43 2007-03-30  Andrew Haley  <aph@redhat.com>
44
45         * javax/management/ObjectName.java: Handle 0-length names.
46
47 2007-03-27  Andrew Haley  <aph@redhat.com>
48
49         * javax/management/MBeanServerFactory.java: Use the domain that
50         we've been passed, not the fixed string "DefaultDomain".
51
52 2007-03-29  Tom Tromey  <tromey@redhat.com>
53
54         PR libgcj/29869:
55         * gnu/java/util/jar/JarUtils.java (log): Commented out.
56         (readSFManifest): Don't log.
57
58 2007-03-28  Casey Marshall  <csm@gnu.org>
59
60         * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
61         check keyEncipherment bit of the certificate, and just pass the public
62         key to the cipher.
63
64 2007-03-27  Casey Marshall  <csm@gnu.org>
65
66         PR classpath/31302:
67         * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
68         Always make a new socket.
69         (bind, connect, getInetAddress, getLocalAddress, getPort,
70         getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
71         setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
72         setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
73         setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
74         getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
75         getTrafficClass, setReuseAddress, getReuseAddress, close,
76         shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
77         isInputShutdown, isOutputShutdown): Always use
78         'underlyingSocket'.
79
80 2007-03-27  Tom Tromey  <tromey@redhat.com>
81
82         PR classpath/31303:
83         * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
84         (createXMLReader): Code in Classpath default.
85
86 2007-03-27  Keith Seitz  <keiths@redhat.com>
87
88         Merged from upstream:
89         2007-03-09  Kyle Galloway  <kgallowa@redhat.com>
90         * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
91         * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
92         (executeGetValues): Use Value type.
93         (exectureSetValues): Ditto.  
94         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
95         (executeGetValues): Use Value type.
96         (executeSetValues): Ditto.
97         (invokeMethod): Record method return type.
98         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
99         (executeGetValues): Use Value type.
100         (executeSetValues): Ditto.
101         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
102         (executeGetValues): Use Value type.
103         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
104         (executeGetValues): Use Value type.
105         (executeSetValues): Ditto.
106         * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store
107         return type.
108         (getResultType): New Method.
109         (setResultType): Ditto.
110         * gnu/classpath/jdwp/util/Value.java: Remove.
111         * gnu/classpath/jdwp/value: New Package.
112         * gnu/classpath/jdwp/value/Value.java: New file.
113         * gnu/classpath/jdwp/value/BooleanValue.java: New file.
114         * gnu/classpath/jdwp/value/ByteValue.java: New file.
115         * gnu/classpath/jdwp/value/CharValue.java: New file.
116         * gnu/classpath/jdwp/value/DoubleValue.java: New file.
117         * gnu/classpath/jdwp/value/FloatValue.java: New file.
118         * gnu/classpath/jdwp/value/IntValue.java: New file.
119         * gnu/classpath/jdwp/value/LongValue.java: New file.
120         * gnu/classpath/jdwp/value/ObjectValue.java: New file.
121         * gnu/classpath/jdwp/value/ShortValue.java: New file.
122         * gnu/classpath/jdwp/value/StringValue.java: New file.
123         * gnu/classpath/jdwp/value/ValueFactory.java: New file.
124         * gnu/classpath/jdwp/value/VoidValue.java: New file.
125
126         2007-02-28  Keith Seitz  <keiths@redhat.com>
127         * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
128         (executeSet): Check if VM has capability for field access
129         or modification events.
130         * gnu/classpath/jdwp/processor/MethodCommandSet.java
131         (executeByteCodes): Check if VM has capability and
132         implement.
133         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
134         (executeMonitorInfo): Likewise.
135         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
136         (executeSourceDebugExtension): Likewise.
137         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
138         (executePopFrames): Likewise.
139         * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
140         (executeOwnedMonitors): Likewise.
141         (executeCurrentContendedMonitor): Likewise.
142         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
143         (executeCapabilities): Rewrite using new VMVirtualMachine
144         capabilities.
145         (executeRedefineClasses): Check if VM has capability and
146         implement.
147         (executeSetDefaultStratum): Likewise.
148         * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
149         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
150         (canWatchFieldModification): New class constant.
151         (canWatchFieldAccess): Likewise.
152         (canGetBytecodes): Likewise.
153         (canGetSyntheticAttribute): Likewise.
154         (canGetOwnedMonitorInfo): Likewise.
155         (canGetCurrentContendedMonitor): Likewise.
156         (canGetMonitorInfo): Likewise.
157         (canRedefineClasses): Likewise.
158         (canAddMethod): Likewise.
159         (canUnrestrictedlyRedefineClasses): Likewise.
160         (canPopFrames): Likewise.
161         (canUseInstanceFilters): Likewise.
162         (canGetSourceDebugExtension): Likewise.
163         (canRequestVMDeathEvent): Likewise.
164         (canSetDefaultStratum): Likewise.
165         (redefineClasses): New method.
166         (setDefaultStratum): Likewise.
167         (getSourceDebugExtension): Likewise.
168         (getBytecodes): Likewise.
169         (getMonitorInfo): Likewise.
170         (getOwnedMonitors): Likewise.
171         (getCurrentContendedMonitor): Likewise.
172         (popFrames): Likewise.
173
174         2007-02-28  Keith Seitz  <keiths@redhat.com>
175         * gnu/classpath/jdwp/processor/MethodCommandSet.java
176         (executeLineTable): Use ReferenceTypeId instead of
177         ClassReferenceTypeId.
178         (executeVariableTable): Likewise.
179         (executeVariableTableWithGeneric): Fix error message.
180         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
181         (executeSignatureWithGeneric): Fix error message.
182         (executeFieldWithGeneric): Likewise.
183         (executeMethodsWithGeneric): Likewise.
184         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
185         (executeGetValues): Use ThreadId instead of ObjectId.
186         (executeSetValues): Likewise.
187         (executeThisObject): Likewise.
188
189         2007-02-28  Kyle Galloway  <kgallowa@redhat.com>
190         * gnu/classpath/jdwp/id/NullObjectId.java: New class.
191         * gnu/classpath/jdwp/util/NullObject.java: New class.
192         * vm/reference/gnu/classpath/jdwp/VMIdManager.java
193         (getObjectId): Handle null object.
194         (get): Handle objectId of 0. 
195
196         2007-02-22  Keith Seitz  <keiths@redhat.ecom>
197         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
198         (getAllLoadedClassesCount): Remove.
199         (getAllLoadedClasses): Return a Collection.
200         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
201         (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
202         now returns Collection.
203         (executeAllClasses): Likewise.
204         Get size of return from Colleciton instead of calling
205         getAllLoadedClassesCount.
206
207         2007-02-22  Kyle Galloway  <kgallowa@redhat.com>
208         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java 
209         (executeGetValues): Pass a signature byte to VMFrame.getValue.
210         * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
211         signature parameter.
212
213         2007-02-02  Kyle Galloway  <kgallowa@redhat.com>
214         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
215         (executeGetValues): Changed getFrame to use a jlong to pass frameID.
216         (executeSetValues): Ditto.
217         (executeThisObject): Ditto.
218         * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field
219         and a constructor used to create VMFrames.
220         (getThread): New method.
221         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame):
222         Changed to take a long instead of a ByteBuffer to pass the frameID.
223
224         2007-01-15  Kyle Galloway  <kgallowa@redhat.com>
225         * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
226
227 2007-03-26  Tom Tromey  <tromey@redhat.com>
228
229         * doc/cp-tools.texinfo (gcjh Tool): Added more text.
230         (rmid Tool): Likewise.
231
232 2007-03-25  Dalibor Topic  <robilad@kaffe.org>
233
234         * doc/cp-tools.texinfo: Fix node ordering.
235
236 2007-03-19  Matthias Klose  <doko@ubuntu.com>
237
238         * doc/Makefile.am: Build a gcjh(1) man page.
239         * doc/cp-tools.texinfo: Add documentation for gcjh.
240
241 2007-03-26  Stepan Kasal  <skasal@redhat.com>
242
243         * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
244         field.
245         (getParser): Use new field.
246
247 2007-03-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
248
249         * resource/com/sun/tools/javac/messages.properties
250         (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
251         messages for when --with-ecj-jar is not specified.
252         * configure.ac (FOUND_ECJ_JAR): Remove conditional.
253         * tools/Makefile.am: Build com.sun.tools.javac package
254         unconditionally.
255         * configure, doc/api/Makefile.in, doc/Makefile.in,
256         examples/Makefile.in, external/jsr166/Makefile.in,
257         external/Makefile.in, external/relaxngDatatype/Makefile.in,
258         external/sax/Makefile.in, external/w3c_dom/Makefile.in,
259         include/Makefile.in, lib/Makefile.in, Makefile.in,
260         native/fdlibm/Makefile.in, native/jawt/Makefile.in,
261         native/jni/classpath/Makefile.in,
262         native/jni/gconf-peer/Makefile.in,
263         native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
264         native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
265         native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
266         native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
267         native/jni/midi-dssi/Makefile.in,
268         native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
269         native/jni/xmlj/Makefile.in, native/Makefile.in,
270         native/plugin/Makefile.in, resource/Makefile.in,
271         scripts/Makefile.in, tools/Makefile.in: Regenerate.
272         * tools/classes/com/sun/tools/javac: New directory.
273         * tools/classes/com/sun/tools/javac/Main.class,
274         tools/classes/com/sun/tools/javac/Messages.class: New files.
275
276 2007-03-16  Tom Tromey  <tromey@redhat.com>
277
278         * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
279         name in File case.
280
281 2007-03-16  Tom Tromey  <tromey@redhat.com>
282
283         * tools/gnu/classpath/tools/javah/JniStubPrinter.java
284         (printClass): Added filename argument.
285         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
286         (printClass): Added filename argument.
287         * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
288         (printClass): Use user's file name.
289         * tools/gnu/classpath/tools/javah/CniStubPrinter.java
290         (printClass): Use user's file name.
291         * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
292         filename argument.
293         * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
294         argument order.
295         (writeHeaders): Use a HashMap.
296         (run): Put class name into HashMap for writeHeaders.
297
298 2007-03-02  Mario Torre  <neugens@limasoftware.net>
299
300         PR classpath/31017:
301         committed for Petteri Räty <betelgeuse@gentoo.org>
302         * configure.ac: fix broken build for gcj browser plugin
303
304 2007-02-20  Jakub Jelinek  <jakub@redhat.com>
305
306         * java/util/Date.java (parse): Properly parse 09:01:02 as
307         hours/minutes/seconds, not as hours/minutes/year.
308         * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
309         {start,end}TimeMode constructor by calling shorter constructor,
310         set {start,end}TimeMode fields after it returns.
311         (setStartRule): Don't adjust startTime into WALL_TIME.  Set
312         startTimeMode to WALL_TIME.
313         (endStartRule): Similarly.
314         (getOffset): Handle properly millis + dstOffset overflowing into the
315         next day.  Adjust startTime resp. endTime based on startTimeMode
316         resp. endTimeMode.
317         * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
318         static fields.
319         (timezones): Remove synchronized keyword.  Set zoneinfo_dir.
320         If non-null, set up aliases0 and don't put anything into
321         timezones0.
322         (defaultZone): Call getTimeZone instead of timezones().get.
323         (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6.  Use
324         getTimeZoneInternal instead of timezones().get.
325         (parseTime): Parse correctly hour:minute.
326         (getTimeZoneInternal): New private method.
327         (getTimeZone): Do the custom ID checking first, canonicalize
328         ID for custom IDs as required by documentation.  Call
329         getTimeZoneInternal to handle the rest.
330         (getAvailableIDs(int)): Add locking.  Handle zoneinfo_dir != null.
331         (getAvailableIDs(File,String,ArrayList)): New private method.
332         (getAvailableIDs()): Add locking.  Handle zoneinfo_dir != null.
333         * gnu/java/util/ZoneInfo.java: New file.
334
335 2007-02-20  Matthias Klose  <doko@ubuntu.com>
336
337         * doc/Makefile.am: Add rules to build and install man pages
338         from texinfo docs.
339         * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
340         Rename, prefix files with "cp-".
341         * doc/cp-tools.texinfo: Add markup for man page generation,
342         add documentation for command line options for gjar, gjavah,
343         gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
344         doc/texi2pod.pl: New, taken from the GCC sources.
345
346 2006-10-14  Edwin Steiner  <edwin.steiner@gmx.net>
347
348         PR classpath/28652:
349         * javax/management/MBeanInfo.java (MBeanInfo): 
350         Use clone to duplicate the arrays in order to
351         preserve the array type.
352
353 2007-02-16  Andrew Haley  <aph@redhat.com>
354
355         * gnu/java/lang/management/MemoryMXBeanImpl.java,
356         javax/management/MBeanServerDelegate.java: Use
357         gnu.javax.management.ListenerData rather than
358         gnu.classpath.ListenerData.
359         * gnu/javax/management/ListenerData.java: Move here from
360         gnu/classpath/ListenerData.java.
361
362 2007-02-14  Jakub Jelinek  <jakub@redhat.com>
363         Andrew Haley  <aph@redhat.com>
364
365         * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
366
367 2007-02-09  Tom Tromey  <tromey@redhat.com>
368
369         PR libgcj/30647:
370         * configure: Rebuilt.
371         * configure.ac: Also check for jack/jack.h.
372
373 2007-02-09  Jakub Jelinek  <jakub@redhat.com>
374
375         * java/util/TimeZone.java: Handle default (one hour) daylight
376         savings.
377
378 2007-02-09  Jakub Jelinek  <jakub@redhat.com>
379
380         PR 23566
381         * scripts/timezones.pl: Parse each file in 2 passes, in one parse
382         just Rule lines, in the other everything else.  Pass 0 instead of
383         $savings as second argument to parseRule when parsing the start
384         rule.
385         * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
386
387 2007-02-07  Chris Burdess  <dog@gnu.org>
388
389         Fixes PR 30718.
390         * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
391         * gnu/xml/transform/XSLURIResolver.java: Add support for custom
392           SAXSources without a backing URL or stream.
393
394         Fixes PR 27710.
395         * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
396           LSParser if implementation does not support asynchronous.
397         * gnu/xml/stream/XMLParser.java,
398           gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
399           java.net.URL to resolve to an an absolute URI, to avoid nonexistent
400           protocol handler problems.
401
402 2007-02-06  Tom Tromey  <tromey@redhat.com>
403
404         PR libgcj/30707:
405         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
406         (printClass): Always print a header.
407
408 2007-02-05  Andrew Haley  <aph@redhat.com>
409
410         PR cp-tools/30706
411         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
412         (printClass): Replace '/' in filenames with '_'.
413         * tools/gnu/classpath/tools/javah/JniStubPrinter.java
414         (printClass): Likewise.
415
416 2007-02-05  Tom Tromey  <tromey@redhat.com>
417
418         * java/net/Proxy.java (equals): Handle case where address==null.
419         (hashCode): Likewise.
420         (toString): Likewise.
421
422 2007-01-31  Tom Tromey  <tromey@redhat.com>
423
424         * resource/gnu/classpath/tools/jar/messages.properties
425         (Main.Stdin): New message.
426         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
427         '-@' option.
428         (readNames): New method.
429         (run): Use it.
430
431 2007-01-26  Andrew Haley  <aph@redhat.com>
432
433         * java/lang/SecurityManager.java: Load and initialize
434         java.security.Security.
435
436 2007-01-26  Tom Tromey  <tromey@redhat.com>
437
438         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
439         'volatile' after field type.
440
441 2007-01-23  Marco Trudel  <mtrudel@gmx.ch>
442
443         * java/util/Arrays.java (binarySearch): Change comparison order.
444
445 2007-01-17  Tom Tromey  <tromey@redhat.com>
446
447         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
448         (PathOptionGroup): Set default boot class path.
449
450 2006-12-14  Andrew Haley  <aph@redhat.com>
451
452         * tools/gnu/classpath/tools/jar/Creator.java: Close the
453         inputStream.
454
455 2006-10-12  Andrew Haley  <aph@redhat.com>
456
457         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
458         * java/lang/ThreadLocal.java: Likewise.
459
460 2006-09-13  Andrew Haley  <aph@redhat.com>
461
462         * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
463         Revert previous gcj-specific disabling of checks.
464         * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
465         Likewise.
466         * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
467         Likewise.
468
469 2006-09-13  Andrew Haley  <aph@redhat.com>
470
471         * java/util/PriorityQueue.java: Throw IllegalArgumentException for
472         capacity < 1.
473         (Iterator.remove()): Decrement index after removing element.
474
475 2006-12-11  Jeroen Frijters  <jeroen@frijters.net>
476
477         * javax/net/ssl/SSLSocketFactory.java (getDefault):
478         Chain exception cause.
479
480 2006-12-11  Roman Kennke  <kennke@aicas.com>
481
482         * .classpath: Include ASM in Eclipse classpath.
483
484 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
485
486         * gnu/java/lang/management/BeanImpl.java:
487         (translate(String)): Trim strings of whitespace.
488         * javax/management/MBeanAttributeInfo.java:
489         (MBeanAttributeInfo(String,String,Method,Method)):
490         Use Class.getName() for normal (non-parameterized) cases.
491         * javax/management/MBeanConstructorInfo.java:
492         (MBeanConstructorInfo(String, Constructor)):
493         Likewise.
494         * javax/management/MBeanOperationInfo.java:
495         (MBeanOperationInfo(String, Method)):
496         Likewise.
497
498 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
499
500         * java/lang/Class.java:
501         (getClasses()): Return Class<?>[].
502         (internalGetClasses()): Likewise.
503         (getConstructor(Class<?>...)): Add type parameter
504         to parameters.
505         (getDeclaredConstructor(Class<?>...)): Likewise.
506         (getDeclaredClasses()): Return Class<?>[].
507         (getDeclaredClasses(boolean)): Likewise.
508         (getDeclaredConstructors()): Return Constructor<?>[].
509         (getDeclaredConstructors(boolean)): Likewise.
510         (getDeclaredMethod(String,Class<?>...)): Add type
511         parameter to parameters.
512         (getInterfaces()): Return Class<?>[].
513         (getMethods(String,Class<?>...)): Add type
514         parameter to parameters.
515         * java/text/CollationKey.java:
516         Make non-final.
517         * java/text/DecimalFormatSymbols.java:
518         Likewise.
519         
520 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
521
522         * gnu/java/lang/management/BeanImpl.java:
523         (translate(String)): Handle Map and List as
524         Strings of the form "java.util.Map<K,V>" and
525         "java.util.List<E>"
526         * javax/management/MBeanAttributeInfo.java:
527         (MBeanAttributeInfo(String,String,Method,Method)):
528         Use generic parameter and return types.
529         * javax/management/MBeanConstructorInfo.java:
530         (MBeanConstructorInfo(String, Constructor)):
531         Use generic parameter types.
532         * javax/management/MBeanOperationInfo.java:
533         (MBeanOperationInfo(String, Method)):
534         Use generic parameter and return types.
535         
536 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
537
538         * gnu/java/lang/management/BeanImpl.java:
539         (translate(String)): Comment out code for using type
540         variables for Map and List.
541         * java/lang/Thread.java:
542         (Thread(ThreadGroup,Runnable,String,long)): Fix
543         incrementation of totalThreadsCreated to be prior to use.
544         
545 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
546
547         * javax/management/MBeanServerFactory.java:
548         (createMBeanServer(String)): Added security check.
549         (findMBeanServer(String)): Likewise.
550         (newMBeanServer(String)): Likewise.
551         (releaseMBeanServer(String)): Likewise.
552         * javax/management/MBeanServerPermission.java:
553         New file.
554         
555 2006-12-08  David Daney  <ddaney@avtrex.com>
556
557         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
558         Fix comment.
559
560 2006-12-08  David Daney  <ddaney@avtrex.com>
561
562         * NEWS: Mention URLConnection.[get|set]ReadTimeout.
563
564 2006-12-08  David Daney  <ddaney@avtrex.com>
565
566         * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
567         SocketException.
568         (HTTPConnection): Handle NumberFormatException in properties parsing.
569         (Pool.get): Set timeout on reused sockets.
570         * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
571         Initialize.
572         (HTTPURLConnection): Cleanup properties handling.
573         (getConnection): Use both connection and read timeouts.
574         (setConnectTimeout): Removed.
575         (setReadTimeout): New method.
576         * java/net/URLConnection.java (timeout): Renamed to...
577         (connectTimeout): ... connectTimeout throughout.
578         (readTimeout): New field.
579         (getReadTimeout): New method.
580         (setReadTimeout): New method.
581
582 2006-12-08  Tania Bento  <tbento@redhat.com>
583
584         * java/awt/ScrollPane.java
585         (doLayout): Change the location of the scrollpane's child
586         to (0, 0).
587
588 2006-12-08  David Daney  <ddaney@avtrex.com>
589
590         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
591         New method.
592         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
593         SocketTimeoutException if a blocking socket timesout.
594         (Java_gnu_java_nio_VMChannel_readScattering): Same.
595         (Java_gnu_java_nio_VMChannel_read__I): Same.
596         (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
597         (Java_gnu_java_nio_VMChannel_connect6): Same.
598
599 2006-12-08  Mark Wielaard  <mark@klomp.org>
600
601         * configure.ac (VERSION): Set to 0.93-generics.
602         * NEWS: Add release date.
603
604 2006-12-08  Tania Bento  <tbento@redhat.com>
605
606         * java/awt/ScrollPane.java
607         (getScrollPosition): Throw NullPointerException if scrollpane
608         does have a child.
609         (setScrollPosition(int, int)): Throw NullPointerException if
610         scrollpane does have a child.  Check that both ints are within
611         the allowed bounds; If they are not, scroll to the closest allowed
612         bound.
613
614 2006-12-07  Roman Kennke  <kennke@aicas.com>
615
616         * javax/swing/JEditorPane.java
617         (EditorKitMapping): New inner helper class.
618         (editorKits): New static field for caching editor kit instances.
619         (static_initiazer): Initialize static mappings here.
620         (createEditorKitForContentType): Try to use cached instance.
621         Use correct classloader for loading.
622         (getEditorKitClassNameForContentType): Make use of EditorKitMapping
623         class.
624         (getEditorKitForContentType): Store the fetched editor kit.
625         Fallback to createDefaultEditorKit().
626         (init): Don't clean the static registry here.
627         (registerEditorKitForContentType(String,String,ClassLoader)):
628         Implemented.
629         (registerEditorKitForContentType(String,String)): Delegate to
630         the other version of this method with the thread's context
631         classloader.
632
633 2006-12-07  Mark Wielaard  <mark@klomp.org>
634
635         * examples/gnu/classpath/examples/swing/HtmlDemo.java
636         (setPage): Don't convert URL to String for setPage().
637
638 2006-12-07  Mark Wielaard  <mark@klomp.org>
639
640         * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
641
642 2006-12-07  Mark Wielaard  <mark@klomp.org>
643
644         * tools/Makefile.am: Explicitly define  and use bootclasspath as
645         GLIBJ_BOOTCLASSPATH
646
647 2006-12-07  Mark Wielaard  <mark@klomp.org>
648
649         * javax/swing/JEditorPane.java (createEditorKitForContentType):
650         Always load from system class loader.
651
652 2006-12-07  Mark Wielaard  <mark@klomp.org>
653
654         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
655         private constructor.
656         (URL(URL,String,URLStreamHandler)): Call new constructor.
657         (URL(URL,String)): Likewise.
658         (URL(String)): Likewise.
659
660 2006-12-07  Tom Tromey  <tromey@redhat.com>
661
662         * NEWS: Mention ASM.
663         * INSTALL: Don't mention --with-asm.
664         * tools/external/README: New file.
665         * tools/toolwrapper.c (main): Don't use ASM_JAR.
666         * tools/gjavah.in: Don't use PATH_TO_ASM.
667         * tools/grmic.in: Likewise.
668         * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
669         'asm'.
670         (javah, rmic): Removed variables.
671         (bin_PROGRAMS): Updated.
672         (gappletviewer_CFLAGS): Don't define ASM_JAR.
673         (gjarsigner_CFLAGS): Likewise.
674         (gkeytool_CFLAGS): Likewise.
675         (gjar_CFLAGS): Likewise.
676         (gnative2ascii_CFLAGS): Likewise.
677         (gserialver_CFLAGS): Likewise.
678         (grmiregistry_CFLAGS): Likewise.
679         (gtnameserv_CFLAGS): Likewise.
680         (gorbd_CFLAGS): Likewise.
681         (grmid_CFLAGS): Likewise.
682         (gjavah_CFLAGS): Likewise.
683         (grmic_CFLAGS): Likewise.
684         (bin_SCRIPTS): Updated.
685         (TOOLS_JAVA_FILES): Updated.
686         ($(TOOLS_ZIP)): Compile ASM sources.  Copy resource files.
687         * configure.ac: Removed --with-asm.  Always build gjavah.
688
689 2006-12-06  Roman Kennke  <kennke@aicas.com>
690
691         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
692         New class.
693         * examples/gnu/classpath/examples/swing/HtmlDemo.java
694         (LoadActionListener): Call setPage() helper method.
695         (createContent): Register tweaked editor kit. For FormSubmitEvents
696         call submitForm(), otherwise setPage().
697         (postData): Helper method for posting form data.
698         (setPage): Helper method for navigating to a new URL.
699         (submitForm): Helper method for submitting a form.
700         * examples/gnu/classpath/examples/swing/forms.html:
701         Added text/password fields and select boxes.
702         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
703
704 2006-12-06  Roman Kennke  <kennke@aicas.com>
705
706         * javax/swing/text/html/FormView.java
707         (SubmitThread.postData): Implemented.
708         (SubmitThread.run): Pass data to postData().
709         (actionPerformed): Reset form when reset button is activated.
710         (createComponent): Add support for select lists and comboboxes.
711         Don't set value of text and password fields here, this is done
712         now in HTMLDocument for consistency.
713         (getElementFormData): Add support for fetching form data from
714         select lists and comboboxes as well as textareas.
715         (getSelectData): New helper method. Fetches form data from
716         select boxes.
717         (getTextAreaData): New helper method. Fetches form data from
718         textareas.
719         (resetForm): New helper method. Resets the entire form.
720         * javax/swing/text/html/HTMLDocument.java
721         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
722         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
723         (HTMLReader.FormAction.setModel): Initialize text and password
724         values here. Also, use the resetable special models.
725         Group radio buttons into ButtonGroup for exclusive selection.
726         (HTMLReader.FormTagAction): New class. Handles FORM tags.
727         (HTMLReader.buttonGroups): New field.
728         (HTMLReader.numOptions): New field.
729         (HTMLReader.option): New field.
730         (HTMLReader.selectModel): New field.
731         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
732         (HTMLReader.handleText): Handle OPTION text.
733         (HTMLReader.initTags): Map FORM tags to FormTagAction.
734         (HTMLReader.textAreaContent): Set initial content.
735         * javax/swing/text/html/Option.java
736         (Option): Make copy of attribute set. Initialize selected state.
737         (getValue): Fetch value from attribute set.
738         * javax/swing/text/html/ResetableModel.java: New interface.
739         * javax/swing/text/html/ResetablePlainDocument.java: New class.
740         Supports resetting the state.
741         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
742         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
743         * javax/swing/text/html/SelectListModel.java: Likewise.
744
745 2006-12-06  Roman Kennke  <kennke@aicas.com>
746
747         * javax/swing/text/DefaultCaret.java
748         (appear): Adjust visibility here.
749         (setDotImpl): Don't adjust visibility here.
750         (moveDotImpl): Don't adjust visibility here.
751
752 2006-12-06  Roman Kennke  <kennke@aicas.com>
753
754         * gnu/java/awt/peer/gtk/AsyncImage.java
755         (Loader.run): Synchronize on the AsyncImage to avoid threading
756         issues.
757         (addObservers): Check for obs==null outside and synchronize on
758         this inside to avoid locking issues.
759         (checkImage): New helper method.
760         (notifyObservers): Check that the correct lock is held and
761         remove actual locking.
762         * gnu/java/awt/peer/gtk/GtkToolkit.java
763         (checkImage): Added special handling for AsyncImages.
764         
765 2006-12-06  Roman Kennke  <kennke@aicas.com>
766
767         * examples/gnu/classpath/examples/swing/Demo.java
768         (getIcon): Made package private.
769         * examples/gnu/classpath/examples/swing/HtmlDemo.java
770         (hyperlinkUpdate): Convert URL to string.
771
772 2006-12-06  Mark Wielaard  <mark@klomp.org>
773
774         * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
775         null Observer.
776
777 2006-12-06  Roman Kennke  <kennke@aicas.com>
778
779         * examples/gnu/classpath/examples/icons/back.png,
780         * examples/gnu/classpath/examples/icons/reload.png:
781         New icons for the HTML browser.
782         * examples/gnu/classpath/examples/swing/HtmlDemo.java
783         (history): New field. Manages the browsing history.
784         (HtmlDemo): Initialize history.
785         (createContent): Set location and add history. Add toolbar.
786         (createToolBar): New helper method.
787         (main): Make default size bigger.
788         * examples/gnu/classpath/examples/swing/frame1.html,
789         * examples/gnu/classpath/examples/swing/frame2.html,
790         * examples/gnu/classpath/examples/swing/frame3.html,
791         * examples/gnu/classpath/examples/swing/frame4.html,
792         * examples/gnu/classpath/examples/swing/frames.html,
793         * examples/gnu/classpath/examples/swing/tables.html:
794         New example pages.
795         * examples/gnu/classpath/examples/swing/welcome.html
796         Add a couple of links and new test pages.
797
798 2006-12-06  Roman Kennke  <kennke@aicas.com>
799
800         * javax/swing/JEditorPane.java
801         (getStream): Buffer the stream for efficiency.
802         (setPage): Don't scroll the view at this point.
803         * javax/swing/plaf/basic/BasicTextUI.java
804         (RootView.paint): Call RootView's setSize to get synchronization.
805         (RootView.setSize): Synchronize to prevent race in layout code.
806         * javax/swing/text/AbstractDocument.java
807         (notifyListeners): New field.
808         (fireChangedUpdate): Track notifyListener field.
809         (fireRemoveUpdate): Track notifyListener field.
810         (fireIndertUpdate): Track notifyListener field.
811         (writeLock): Check notifyListener and throw IllegalStateException.
812         * javax/swing/text/View.java
813         (preferenceChanged): Create local var for better thread safety and
814         more efficiency.
815
816 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
817
818         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
819         lightweight component, not just for non-Panel components.
820         (addImpl): Do not call doLayout.
821         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
822         (setNativeBounds): Ensure widget parent is a GtkFixed before
823         calling gtk_fixed_move.
824         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
825         (setNativeBounds): Likewise.
826         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
827         (setNativeBounds): Likewise.
828
829 2006-12-06  Roman Kennke  <kennke@aicas.com>
830
831         * javax/swing/text/html/TableView.java
832         (RowView.layoutMajorAxis): Check column index for invalid value.
833         (updateGrid): Check column index for invalid value.
834
835 2006-12-06  Roman Kennke  <kennke@aicas.com>
836
837         * javax/swing/text/html/BlockView.java
838         (getAlignment): Align blocks horizontally by the superclass.
839         * javax/swing/text/html/HTMLEditorKit.java
840         (HTMLFactory.create): Replace equals comparison by == for efficiency.
841         Add mapping for misplaced tr, td and th tags. Include object mapping.
842         * javax/swing/text/html/TableView.java
843         (RowView.replace): Invalidate grid early.
844         (gridValid): Initialize with false.
845         (create): Only create RowView and CellView for correctly placed
846         tags. Avoid unnecessary casts.
847         (getAlignment): Removed.
848         (replace): Invalidate grid early.
849
850 2006-12-06  Francis Kung  <fkung@redhat.com>
851
852         * java/awt/geom/RectangularShape.java
853         (getBounds): Remove empty rectangle check.
854
855 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
856
857         Fixes PR 29853.
858         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
859         newValue are the same.
860         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
861
862 2006-12-06  Tania Bento  <tbento@redhat.com>
863
864         * javax/swing/border/CompoundBorder.java:
865         (isBorderOpaque): If inside border is null, return true if outside
866         border is opaque, false otherwise; if outside border is null, return
867         true if inside border is opaque, false otherwise; if inside or
868         outside border are both not null, then return true only if both the
869         inside and outside border are opaque, false otherwise.
870
871 2006-12-06  Tania Bento  <tbento@redhat.com>
872
873         * javax/swing/border/CompoundBorder.java:
874         (isBorderOpaque): If inside and outside border both have a null
875         value, return true.
876
877 2006-12-06  Chris Burdess  <dog@gnu.org>
878
879         Fixes PR 29272.
880         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
881         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
882
883 2006-12-06  Chris Burdess  <dog@gnu.org>
884
885         Fixes PR 29264.
886         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
887           writeDTD method.
888
889 2006-12-06  Chris Burdess  <dog@gnu.org>
890
891         Fixes PR 28816.
892         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
893           discover schema factory implementation class.
894
895 2006-12-05  Francis Kung  <fkung@redhat.com>
896
897         * java/awt/BasicStroke.java
898         (capEnd): Prevent division by zero.
899         * java/awt/geom/Arc2D.java
900         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
901         (ArcIterator.currentSegment): Handle a negative extent.
902
903 2006-12-05  Francis Kung  <fkung@redhat.com>
904
905         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
906         (constructor): Handle translated subimages properly, ie, if the image's
907         0,0 position is not the data buffer's first element.
908
909 2006-12-05  Roman Kennke  <kennke@aicas.com>
910
911         * gnu/java/awt/peer/gtk/AsyncImage.java
912         (Loader.run): Nullify observers after loading.
913         (observers): Made package private.
914         (addObserver): Check for null observers field. Create local
915         variable for thread safety.
916         (getHeight): Use addObserver() for checking state of field
917         and notifying observer when necessary.
918         (getWidth): Use addObserver() for checking state of field
919         and notifying observer when necessary.
920         (getProperty): Use addObserver() for checking state of field
921         and notifying observer when necessary.
922         (notifyObservers): Check for null observers field. Create local
923         variable for thread safety.
924
925 2006-12-05  Roman Kennke  <kennke@aicas.com>
926
927         * javax/swing/text/html/HTMLEditorKit.java
928         (HTMLFactory.create): Removed debug output.
929         * javax/swing/text/html/InlineView.java
930         (getBreakWeight): Likewise.
931         * javax/swing/text/html/StyleSheet.java
932         (addRule): Likewise.
933         (ListPainter.paint): Removed debug output.
934
935 2006-12-05  Roman Kennke  <kennke@aicas.com>
936
937         * javax/swing/text/html/BlockView.java
938         (painter): Made package visible.
939         * javax/swing/text/html/StyleSheet.java
940         (translateBorder): New helper method.
941         (translateHTMLToCSS): Add mappings for border attributes.
942         * javax/swing/text/html/TableView.java
943         Made class subclass of BlockView to get CSS goodness.
944         (CellView.rowSpan): New field.
945         (CellView.setPropertiesFromAttributes): Fetch rowspan.
946         (RowView.overlap): New field.
947         (RowView.rowIndex): New field.
948         (RowView.layoutMajorAxis): Skip overlapping cells.
949         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
950         (numColumns): New field.
951         (tmpRect): New field.
952         (TableView): Initialize tmpRect.
953         (calculateColumnRequirements): Adjusted and fixed for multirows.
954         (getAlignment): Overridden to center tables.
955         (paint): Overridden to fix clipping.
956         (getStyleSheet): Made protected.
957         (layoutMajorAxis): Invalidate rows.
958         (setPropertiesFromAttributes): Made protected and call super.
959         (updateGrid): Update the overlapping information for multirows.
960
961 2006-12-05  Roman Kennke  <kennke@aicas.com>
962
963         * gnu/java/awt/peer/gtk/AsyncImage.java
964         (addObserver): Check for null and ignore null observers.
965         (getWidth): Check for null and ignore null observers.
966         (getHeight): Check for null and ignore null observers.
967         (getProperty): Check for null and ignore null observers.
968
969 2006-12-05  Francis Kung  <fkung@redhat.com>
970
971         * java/awt/BasicStroke.java
972         (capEnd): Prevent division by zero.
973         * java/awt/geom/Arc2D.java
974         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
975         (ArcIterator.currentSegment): Handle a negative extent.
976
977 2006-12-05  Francis Kung  <fkung@redhat.com>
978
979         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
980         (constructor): Handle translated subimages properly, ie, if the image's
981         0,0 position is not the data buffer's first element.
982
983 2006-12-05  Roman Kennke  <kennke@aicas.com>
984
985         * javax/swing/text/html/ImageView.java
986         (imageUpdate): Use spans field to determine if the CSS width/height
987         are set. Call safePreferenceChanged to protect view structure
988         from threading issues.
989         (spans): Made package private.
990         (ImageView): Initialize loadOnDemand with false.
991         (loadImage): Call Toolkit.prepareImage() to make sure we have
992         our Observer registered.
993         (safePreferenceChanged): New helper method. Calls preferenceChanged
994         in a thread safe environment.
995
996 2006-12-05  Roman Kennke  <kennke@aicas.com>
997
998         * NEWS: Add entry about improved HTML support.
999
1000 2006-12-05  Roman Kennke  <kennke@aicas.com>
1001
1002         * javax/swing/text/html/ImageView.java
1003         (ImageView): Initialize spans array here.
1004         (setPropertiesFromAttributes): Moved init of spans array to
1005         constructor.
1006
1007 2006-12-05  Roman Kennke  <kennke@aicas.com>
1008
1009         * javax/swing/text/html/BlockView.java
1010         (painter): Made package visible.
1011         * javax/swing/text/html/StyleSheet.java
1012         (translateBorder): New helper method.
1013         (translateHTMLToCSS): Add mappings for border attributes.
1014         * javax/swing/text/html/TableView.java
1015         Made class subclass of BlockView to get CSS goodness.
1016         (CellView.rowSpan): New field.
1017         (CellView.setPropertiesFromAttributes): Fetch rowspan.
1018         (RowView.overlap): New field.
1019         (RowView.rowIndex): New field.
1020         (RowView.layoutMajorAxis): Skip overlapping cells.
1021         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
1022         (numColumns): New field.
1023         (tmpRect): New field.
1024         (TableView): Initialize tmpRect.
1025         (calculateColumnRequirements): Adjusted and fixed for multirows.
1026         (getAlignment): Overridden to center tables.
1027         (paint): Overridden to fix clipping.
1028         (getStyleSheet): Made protected.
1029         (layoutMajorAxis): Invalidate rows.
1030         (setPropertiesFromAttributes): Made protected and call super.
1031         (updateGrid): Update the overlapping information for multirows.
1032
1033 2006-12-05  Roman Kennke  <kennke@aicas.com>
1034
1035         * javax/swing/text/html/HTMLEditorKit.java
1036         (HTMLFactory.create): Removed debug output.
1037         * javax/swing/text/html/InlineView.java
1038         (getBreakWeight): Likewise.
1039         * javax/swing/text/html/StyleSheet.java
1040         (addRule): Likewise.
1041         (ListPainter.paint): Removed debug output.
1042
1043 2006-12-06  Roman Kennke  <kennke@aicas.com>
1044
1045         * javax/swing/text/html/BlockView.java
1046         (getAlignment): Align blocks horizontally by the superclass.
1047         * javax/swing/text/html/HTMLEditorKit.java
1048         (HTMLFactory.create): Replace equals comparison by == for efficiency.
1049         Add mapping for misplaced tr, td and th tags. Include object mapping.
1050         * javax/swing/text/html/TableView.java
1051         (RowView.replace): Invalidate grid early.
1052         (gridValid): Initialize with false.
1053         (create): Only create RowView and CellView for correctly placed
1054         tags. Avoid unnecessary casts.
1055         (getAlignment): Removed.
1056         (replace): Invalidate grid early.
1057
1058
1059 2006-12-06  Roman Kennke  <kennke@aicas.com>
1060
1061         * javax/swing/text/html/TableView.java
1062         (RowView.layoutMajorAxis): Check column index for invalid value.
1063         (updateGrid): Check column index for invalid value.
1064
1065 2006-12-06  Roman Kennke  <kennke@aicas.com>
1066
1067         * javax/swing/JEditorPane.java
1068         (getStream): Buffer the stream for efficiency.
1069         (setPage): Don't scroll the view at this point.
1070         * javax/swing/plaf/basic/BasicTextUI.java
1071         (RootView.paint): Call RootView's setSize to get synchronization.
1072         (RootView.setSize): Synchronize to prevent race in layout code.
1073         * javax/swing/text/AbstractDocument.java
1074         (notifyListeners): New field.
1075         (fireChangedUpdate): Track notifyListener field.
1076         (fireRemoveUpdate): Track notifyListener field.
1077         (fireIndertUpdate): Track notifyListener field.
1078         (writeLock): Check notifyListener and throw IllegalStateException.
1079         * javax/swing/text/View.java
1080         (preferenceChanged): Create local var for better thread safety and
1081         more efficiency.
1082
1083 2006-12-06  Roman Kennke  <kennke@aicas.com>
1084
1085         * examples/gnu/classpath/examples/icons/back.png,
1086         * examples/gnu/classpath/examples/icons/reload.png:
1087         New icons for the HTML browser.
1088         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1089         (history): New field. Manages the browsing history.
1090         (HtmlDemo): Initialize history.
1091         (createContent): Set location and add history. Add toolbar.
1092         (createToolBar): New helper method.
1093         (main): Make default size bigger.
1094         * examples/gnu/classpath/examples/swing/frame1.html,
1095         * examples/gnu/classpath/examples/swing/frame2.html,
1096         * examples/gnu/classpath/examples/swing/frame3.html,
1097         * examples/gnu/classpath/examples/swing/frame4.html,
1098         * examples/gnu/classpath/examples/swing/frames.html,
1099         * examples/gnu/classpath/examples/swing/tables.html:
1100         New example pages.
1101         * examples/gnu/classpath/examples/swing/welcome.html
1102         Add a couple of links and new test pages.
1103
1104 2006-12-06  Roman Kennke  <kennke@aicas.com>
1105
1106         * examples/gnu/classpath/examples/swing/Demo.java
1107         (getIcon): Made package private.
1108         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1109         (hyperlinkUpdate): Convert URL to string.
1110
1111 2006-12-06  Roman Kennke  <kennke@aicas.com>
1112
1113         * javax/swing/text/DefaultCaret.java
1114         (appear): Adjust visibility here.
1115         (setDotImpl): Don't adjust visibility here.
1116         (moveDotImpl): Don't adjust visibility here.
1117
1118 2006-12-06  Roman Kennke  <kennke@aicas.com>
1119
1120         * javax/swing/text/html/FormView.java
1121         (SubmitThread.postData): Implemented.
1122         (SubmitThread.run): Pass data to postData().
1123         (actionPerformed): Reset form when reset button is activated.
1124         (createComponent): Add support for select lists and comboboxes.
1125         Don't set value of text and password fields here, this is done
1126         now in HTMLDocument for consistency.
1127         (getElementFormData): Add support for fetching form data from
1128         select lists and comboboxes as well as textareas.
1129         (getSelectData): New helper method. Fetches form data from
1130         select boxes.
1131         (getTextAreaData): New helper method. Fetches form data from
1132         textareas.
1133         (resetForm): New helper method. Resets the entire form.
1134         * javax/swing/text/html/HTMLDocument.java
1135         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
1136         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
1137         (HTMLReader.FormAction.setModel): Initialize text and password
1138         values here. Also, use the resetable special models.
1139         Group radio buttons into ButtonGroup for exclusive selection.
1140         (HTMLReader.FormTagAction): New class. Handles FORM tags.
1141         (HTMLReader.buttonGroups): New field.
1142         (HTMLReader.numOptions): New field.
1143         (HTMLReader.option): New field.
1144         (HTMLReader.selectModel): New field.
1145         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
1146         (HTMLReader.handleText): Handle OPTION text.
1147         (HTMLReader.initTags): Map FORM tags to FormTagAction.
1148         (HTMLReader.textAreaContent): Set initial content.
1149         * javax/swing/text/html/Option.java
1150         (Option): Make copy of attribute set. Initialize selected state.
1151         (getValue): Fetch value from attribute set.
1152         * javax/swing/text/html/ResetableModel.java: New interface.
1153         * javax/swing/text/html/ResetablePlainDocument.java: New class.
1154         Supports resetting the state.
1155         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
1156         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
1157         * javax/swing/text/html/SelectListModel.java: Likewise.
1158
1159 2006-12-06  Roman Kennke  <kennke@aicas.com>
1160
1161         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
1162         New class.
1163         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1164         (LoadActionListener): Call setPage() helper method.
1165         (createContent): Register tweaked editor kit. For FormSubmitEvents
1166         call submitForm(), otherwise setPage().
1167         (postData): Helper method for posting form data.
1168         (setPage): Helper method for navigating to a new URL.
1169         (submitForm): Helper method for submitting a form.
1170         * examples/gnu/classpath/examples/swing/forms.html:
1171         Added text/password fields and select boxes.
1172         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
1173
1174 2006-12-07  Mark Wielaard  <mark@klomp.org>
1175
1176         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
1177         private constructor.
1178         (URL(URL,String,URLStreamHandler)): Call new constructor.
1179         (URL(URL,String)): Likewise.
1180         (URL(String)): Likewise.
1181
1182 2006-12-07  Mark Wielaard  <mark@klomp.org>
1183
1184         * javax/swing/JEditorPane.java (createEditorKitForContentType):
1185         Always load from system class loader.
1186
1187 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
1188
1189         Fixes PR 29853.
1190         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1191         newValue are the same.
1192         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1193
1194 2006-12-06  Chris Burdess  <dog@gnu.org>
1195
1196         Fixes PR 29272.
1197         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1198         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1199
1200 2006-12-06  Chris Burdess  <dog@gnu.org>
1201
1202         Fixes PR 29264.
1203         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1204         writeDTD method.
1205
1206 2006-12-056  Chris Burdess  <dog@gnu.org>
1207
1208         Fixes PR 28816.
1209         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1210         discover schema factory implementation class.
1211
1212 2006-12-05  Roman Kennke  <kennke@aicas.com>
1213
1214         * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
1215         asynchronous loading of images.
1216         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1217         (drawImage): Fetch real image from possibly AsyncImage.
1218         * gnu/java/awt/peer/gtk/ComponentGraphics.java
1219         (drawImage): Fetch real image from possibly AsyncImage.
1220         * gnu/java/awt/peer/gtk/GtkToolkit.java
1221         (createImage(URL)): Create async image.
1222         (imageOrError): Made method static for easy access from AsyncImage.
1223         (prepareImage): For async images, register the observer to the
1224         image.
1225
1226 2006-12-05  Roman Kennke  <kennke@aicas.com>
1227
1228         (paintComponent): Include paint area from event.
1229         (updateComponent): Include paint area from event.
1230
1231 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
1232
1233         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1234         lightweight component, not just for non-Panel components.
1235         (addImpl): Do not call doLayout.
1236         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1237         (setNativeBounds): Ensure widget parent is a GtkFixed before
1238         calling gtk_fixed_move.
1239         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1240         (setNativeBounds): Likewise.
1241         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1242         (setNativeBounds): Likewise.
1243
1244 2006-12-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
1245
1246         * java/awt/Component.java (getFontImpl): Return a default font if
1247         topmost parent's font is null.
1248
1249 2006-12-04  Mark Wielaard  <mark@klomp.org>
1250
1251         * javax/swing/text/html/CSS.java (parseMarginShorthand):
1252         Remove debug output.
1253
1254 2006-12-04  Roman Kennke  <kennke@aicas.com>
1255
1256         * java/awt/font/TextLayout.java
1257         (hitTestChar): Fixed conditions for inclusion of range.
1258         Use layout information in the run for more efficiency.
1259
1260 2006-12-04  Roman Kennke  <kennke@aicas.com>
1261
1262         * javax/swing/text/GlyphView.java
1263         (J2DGlyphPainter): New inner class.
1264         (checkPainter): For Java2D capable environments create
1265         a J2DGlyphPainter.
1266
1267 2006-12-04  Roman Kennke  <kennke@aicas.com>
1268
1269         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1270         (FreeTypeGlyphVector): Don't filter control chars here.
1271         (getGlyphs): Filter control chars and replace them by
1272         hair space char.
1273
1274 2006-12-04  Roman Kennke  <kennke@aicas.com>
1275
1276         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1277         (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
1278
1279 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1280
1281         * gnu/java/lang/management/BeanImpl.java:
1282         (translate(String)): Don't assume the list uses "E",
1283         just use the first and only type variable.
1284         * java/lang/management/ManagementFactory.java:
1285         (getPlatformMBeanServer()): Register logging bean.
1286         * javax/management/openmbean/OpenType.java:
1287         (OpenType(String,String,String)): Actually use
1288         the string created to handle arrays.
1289         
1290 2006-12-04  Mark Wielaard  <mark@klomp.org>
1291
1292         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1293         (JCL_thread_interrupted): Use CallStaticBooleanMethod.
1294
1295 2006-12-04  Mark Wielaard  <mark@klomp.org>
1296
1297         * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
1298         Make static.
1299         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1300         (JCL_thread_interrupted): Only take JNIEnv.
1301         (vm_channel_class): New static variable.
1302         (initID): Set vm_channel_class.
1303         Wrap all reads() and writes() in do-while blocks that check
1304         interrupted status.
1305
1306 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1307
1308         * gnu/javax/management/Server.java:
1309         Make map final and initialise it.
1310         (unregisterMBean(ObjectName)): Match against
1311         delegate's object name and not the instance.
1312         * java/lang/management/ManagementFactory.java:
1313         Added constant fields.
1314         (getPlatformMBeanServer()): Implemented.
1315         * javax/management/MBeanServerFactory.java: New file.
1316         
1317 2006-12-04  Roman Kennke  <kennke@aicas.com>
1318
1319         * javax/swing/text/BoxView.java
1320         (paint): Replaced painting algorithm with more simple and more
1321         reliable painting of the box.
1322         * javax/swing/text/html/BlockView.java
1323         (PositionInfo): New inner class. Stores additional CSS
1324         positioning information.
1325         (positionInfo): New field.
1326         (BlockView): Initialize positionInfo field.
1327         (fetchLayoutInfo): New helper method. Fetches additional
1328         CSS positioning information.
1329         (layoutMajorAxis): Perform additional CSS layout.
1330         (layoutMinorAxis): Perform additional CSS layout.
1331         (positionView): New helper method.
1332         (replace): Overridden to fetch additional layout information.
1333         * javax/swing/text/html/CSS.java
1334         (Attribute.POSITION): New field.
1335         (Attribute.LEFT): New field.
1336         (Attribute.RIGHT): New field.
1337         (Attribute.TOP): New field.
1338         (Attribute.BOTTOM): New field.
1339         (getValue): Create Length for left, right, top and bottom
1340         attributes.
1341
1342 2006-12-04  Roman Kennke  <kennke@aicas.com>
1343
1344         * gnu/javax/swing/text/html/parser/support/Parser.java
1345         (Sgml): Consume any whitespace that immediately follows
1346         and sgml insertion.
1347         (parseDocument): Consume any initial whitespace.
1348
1349 2006-12-03  Mark Wielaard  <mark@klomp.org>
1350
1351         * gnu/javax/management/Server.java (beans): Initialize.
1352         (registerMBean): Don't initialize beans.
1353
1354 2006-12-03  Mark Wielaard  <mark@klomp.org>
1355
1356         * java/util/logging/LogManager.java (getLevelProperty): Check
1357         whether value is null before passing to Level.parse().
1358
1359 2006-12-04  Robert Lougher  <rob.lougher@gmail.com>
1360
1361         * java/lang/management/ThreadInfo.java (ThreadInfo): Check
1362         whether given a null lock and lockOwner.
1363
1364 2006-12-03  Mark Wielaard  <mark@klomp.org>
1365
1366         * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1367         (PageLoader.page): Made package local.
1368         (PageLoader.run): Don't reset loader.
1369         (PageLoader.cancel): New method.
1370         (loading): Renamed to loader.
1371         (getPage): Return loader.page.
1372         (setPage): Always set loader. Never reset to null.
1373
1374 2006-12-03  Mark Wielaard  <mark@klomp.org>
1375
1376         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1377         path[k] is null.
1378         (isLastChild): Return false when path is null.
1379
1380 2006-12-03  Mark Wielaard  <mark@klomp.org>
1381
1382         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1383         to currentPaintArea.
1384         (paintComponent): Work with local reference to currentPaintArea.
1385         (updateComponent): Likewise.
1386         (coalescePaintEvent): Set currentPaintArea.
1387
1388 2006-12-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1389
1390         * javax/management/MBeanServerBuilder.java: New file.
1391         
1392 2006-12-01  Mark Wielaard  <mark@klomp.org>
1393
1394         * java/text/DecimalFormat.java (parse): Always increment parsing
1395         index and adjust pos result.
1396
1397 2006-12-01  Roman Kennke  <kennke@aicas.com>
1398
1399         * javax/swing/text/html/HTML.java
1400         (Attribute.DYNAMIC_CLASS): New field.
1401         (Attribute.PSEUDO_CLASS): New field.
1402         * javax/swing/text/html/HTMLDocument.java
1403         (HTMLReader.CharacterAction.start): Initialize anchor with link
1404         pseudo attribute.
1405         (updateSpecialClass): New helper method. Updates the dynamic
1406         or pseudo class for anchor tags.
1407         * javax/swing/text/html/HTMLEditorKit.java
1408         (LinkController.lastAnchorElement): New field. For tracking
1409         enter/exit of anchors.
1410         (LinkController.activateLink): Set pseudo class to 'visited'.
1411         (LinkController.mouseMoved): Added support for tracking
1412         the 'hover' dynamic class.
1413         * javax/swing/text/html/InlineView.java
1414         (changedUpdate): Fetch new properties.
1415         * javax/swing/text/html/StyleSheet.java
1416         (attributeSetToMap): New helper method.
1417         (getRule): Also append dynamic and pseudo class to key.
1418         (resolveStyle): Resolve style based generally on all attributes.
1419         * javax/swing/text/html/TableView.java
1420         (RowView.layoutMajorAxis): Make sure the grid is valid.
1421         (updateGrid): Made package private.
1422         * gnu/javax/swing/text/html/css/Selector.java
1423         (calculateSpecificity): Added support for dynamic and pseudo classes.
1424         (matches): Changed to operate on general attributes.
1425         Added support for dynamic and pseudo classes.
1426
1427 2006-12-01  Mario Torre  <neugens@limasoftware.net>
1428
1429         * java/text/DecimalFormat.java (formatInternal): move the formatting of
1430         fractional portion in a separate method.
1431         Also fixes the handling of decimal separator and its associated field.
1432         (handleFractionalPart): new method, needed to relax a bit
1433         formatInternal.
1434         
1435 2006-12-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1436
1437         * java/beans/beancontext/BeanContextServicesSupport.java:
1438         (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1439         Class)): Implemented.
1440         (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1441         Class, Object)): Implemented.
1442         (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1443         Object, Object)): Implemented.
1444         (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1445         Implemented.
1446         (initialiseBeanContextResources()): Implemented.
1447         (releaseBeanContextResoures()): Implemented.
1448         
1449 2006-12-01  Mark Wielaard  <mark@klomp.org>
1450
1451         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1452
1453 2006-12-01  Roman Kennke  <kennke@aicas.com>
1454
1455         * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1456         handling border styles.
1457         * gnu/javax/swing/text/html/css/BorderWidth.java
1458         (isValid): New method.
1459         * gnu/javax/swing/text/html/css/Length.java
1460         (isValid): New method.
1461         * javax/swing/text/html/CSS.java
1462         (addInternal): Added shorthand parsing for border, padding and
1463         margin.
1464         (parseBackgroundShorthand): Added API docs.
1465         (parsePaddingShorthand): New method. Handles padding shorthand
1466         values.
1467         (parseMarginShorthand): New method. Handles margin shorthand
1468         values.
1469         (parseBorderShorthand): New method. Handles border shorthand
1470         values.
1471         * javax/swing/text/html/StyleSheet.java
1472         (translateHTMLToCSS): Set specific padding attributes.
1473         (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1474         These shorthands are now handled in CSS.
1475         (BoxPainter.paint): Exclude the outer margin.
1476
1477 2006-12-01  Roman Kennke  <kennke@aicas.com>
1478
1479         * gnu/javax/swing/text/html/css/Length.java
1480         (emBase): New field.
1481         (exBase): New field.
1482         (isFontEMRelative): New field.
1483         (isFontEXRelative): New field.
1484         (Length): Recognize and setup EM and EX relative values.
1485         (getValue): Handle EM and EX relative values.
1486         (isEMRelative): New method.
1487         (isEXRelative): New method.
1488         (setEMBase): New method.
1489         (setEXBase): New method.
1490         (setFontBases): New method.
1491         * gnu/javax/swing/text/html/parser/support/Parser.java
1492         (_handleEmptyTag): Use new isBlock() helper method.
1493         (_handleEndTag_remaining): Use new isBlock() helper method.
1494         (_handleStartTag): Consume whitespace after block start tag.
1495         (Comment): Consume whitespace after a comment.
1496         (isBlock): New helper method.
1497         (readAttributes): Consider all characters in unquoted attribute
1498         values.
1499         * javax/swing/text/html/BlockView.java
1500         (layoutMinorAxis): Use cached span value.
1501         (paint): Added debug code (commented out).
1502         (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1503         * javax/swing/text/html/CSSBorder.java
1504         (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1505         with stylesheet.
1506         (getBorderWidth): Set the EM and EX base on the length values.
1507         * javax/swing/text/html/HTMLDocument.java
1508         (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1509         (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1510         (HTMLReader.inImpliedParagraph): Removed.
1511         (HTMLReader.inParagraph): Removed.
1512         (HTMLReader.parseStack): New field.
1513         (HTMLReader.addContent): Use new paragraph handling.
1514         (HTMLReader.addSpecialElement): Use new paragraph handling.
1515         (HTMLReader.blockClose): Use new paragraph handling.
1516         (HTMLReader.blockOpen): Use new paragraph handling.
1517         (HTMLReader.inImpliedParagraph): New helper method.
1518         (HTMLReader.inParagraph): New helper method.
1519         * javax/swing/text/html/ImageView.java
1520         (attributes): New field. Caches view attributes.
1521         (spans): New field. Caches CSS spans.
1522         (getAttributes): Correctly setup CSS view attributes.
1523         (getPreferredSpan): Use caches spans.
1524         (getStyleSheet): Use the view's getDocument() method.
1525         (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1526         (updateSize): Use cached spans.
1527         * javax/swing/text/html/ParagraphView.java
1528         (setPropertiesFromAttributes): Setup EM and EX.
1529         * javax/swing/text/html/StyleSheet.java
1530         (BoxPainter.BoxPainter): Setup EM and EX correctly.
1531         (getEMBase): New helper method.
1532         (getEXBase): New helper method.
1533         * javax/swing/text/html/TableView.java
1534         (width): New field. Caches the table width.
1535         (calculateMinorAxisRequirements): Use caches span.
1536         (setPropertiesFromAttributes): Cache span and setup EM/EX.
1537         (updateGrid): Correctly setup EM/EX.
1538
1539 2006-11-30  Roman Kennke  <kennke@aicas.com>
1540
1541         * javax/swing/text/html/FormSubmitEvent.java: New class.
1542         * javax/swing/text/html/FormView.java
1543         (SubmitThread): New class for submitting data in a separate thread.
1544         (actionPerformed): Fetch the actual for data.
1545         (addData): New helper method.
1546         (getElementFormData): New helper method.
1547         (getFormData): New helper method.
1548         (getInputFormData): New helper method.
1549         (submitData): Implemented.
1550         * javax/swing/text/html/FrameView.java
1551         (createComponent): Add this as hyperlink listener.
1552         Set the target document as frame document.
1553         (getTopEditorPane): New helper method.
1554         (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1555         (handleHyperlinkEvent): New helper method.
1556         (handleFormSubmitEvent): New helper method.
1557         * javax/swing/text/html/HTMLDocument.java
1558         (HTMLReader.BaseAction.start): Track the base target.
1559         (HTMLReader.BaseAction.end): Removed.
1560         (baseTarget): New field.
1561         (frameDocument): New field.
1562         (getBaseTarget): New property accessor.
1563         (isFrameDocument): New property accessor.
1564         (processHTMLFrameHyperlinkEvent): Implemented.
1565         (setFrameDocument): New property accessor.
1566         (updateFrame): New helper method.
1567         (updateFrameSet): New helper method.
1568         * javax/swing/text/html/HTMLEditorKit.java
1569         (LinkController.createHyperlinkEvent): Handle frame documents.
1570         (autoFormSubmission): New field.
1571         (HTMLEditorKit): Set autoFormSubmission to true.
1572         (isAutoFormSubmission): New property accessor.
1573         (setAutoFormSubmission): New property accessor.
1574
1575 2006-11-30  Roman Kennke  <kennke@aicas.com>
1576
1577         * javax/swing/text/ElementIterator.java
1578         (ElementRef): New inner class.
1579         (currentDepth): Removed.
1580         (currentElement): Removed.
1581         (previousItem): Removed.
1582         (stack): New field. Holds the iteration stack.
1583         (state): Removed.
1584         (ElementIterator(Document)): Removed init of removed fields.
1585         (ElementIterator(Element)): Removed init of removed fields.
1586         (current): Changed to stack based algorithm.
1587         (deepestLeaf): New helper method.
1588         (depth): Changed to stack based algorithm.
1589         (first): Changed to stack based algorithm.
1590         (next): Changed to stack based algorithm.
1591         (previous): Changed to stack based algorithm.
1592
1593 2006-11-30  Francis Kung  <fkung@redhat.com>
1594
1595         * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1596         * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1597
1598 2006-11-30  Francis Kung  <fkung@redhat.com>
1599
1600         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1601         (draw): Set transform in buffered composite.
1602         (drawComposite): Do not transform bounds; round bounds.
1603         (drawGlyphVector):  Set transform in buffered composite.
1604         (drawRenderedImage):  Set transform in buffered composite.
1605         (fill):  Set transform in buffered composite.
1606         (updateBufferedImage): Fix scanline & height calculations.
1607         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1608         (createPath): Simplify width & height calculation.
1609         (drawImage): Also transform width & height.
1610
1611 2006-11-30  Roman Kennke  <kennke@aicas.com>
1612
1613         * javax/swing/text/html/FrameSetView.java: New class. Implements
1614         HTML framesets.
1615         * javax/swing/text/html/FrameView.java: New class. Implements
1616         HTML frames.
1617         * javax/swing/text/html/HTMLDocument.java:
1618         (HTMLReader.addSpecialElement): Only add one artificial space.
1619         * javax/swing/text/html/HTMLEditorKit.java
1620         (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1621         * gnu/javax/swing/text/html/parser/support/Parser.java
1622         (_handleEmptyTag): Also consume whitespace after frame tags.
1623
1624 2006-11-30  Gary Benson  <gbenson@redhat.com>
1625
1626         * java/lang/Thread.java: Javadoc fixes.
1627
1628 2006-11-29  Tom Tromey  <tromey@redhat.com>
1629
1630         PR classpath/28203:
1631         * java/lang/Class.java (getAnnotations): Rewrote.
1632
1633 2006-11-29  Tania Bento  <tbento@redhat.com>
1634
1635         * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1636         (parseParams): Unescape 'val' before putting it into the Map.
1637         (unescapeString): New private method.
1638
1639 2006-11-29  Tom Tromey  <tromey@redhat.com>
1640
1641         * tools/gnu/classpath/tools/getopt/package.html: New file.
1642
1643 2006-11-29  David Gilbert  <david.gilbert@object-refinery.com>
1644
1645         * javax/swing/plaf/metal/MetalIconFactory.java
1646         (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1647         (VerticalSliderThumbIcon.paintIcon()): Likewise.
1648
1649 2006-11-29  Mario Torre  <neugens@limasoftware.net>
1650
1651         * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1652         with the default international currency sign \u00A4.
1653         * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1654         table for string formatting.
1655         (formatInternal): likewise.
1656         (scanNegativePattern): likewise.
1657         (applyPattern): likewise.
1658         * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1659         Locale is immutable and does not need clone.
1660
1661 2006-11-29  Francis Kung  <fkung@redhat.com>
1662
1663         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1664         (drawLine): Remove hard-coded pixel shifting.
1665
1666 2006-11-29  Roman Kennke  <kennke@aicas.com>
1667
1668         * java/awt/Component.java
1669         (isShowing): Simplified condition code and avoid unnecessary
1670         if-codepaths.
1671         (coalesceEvents): Always coalesce paint events and let the peer
1672         figure out the expanding of the repaint area.
1673         * gnu/java/awt/peer/swing/SwingComponentPeer.java
1674         (currentPaintEvents): Removed. Replaced by paintArea.
1675         (paintArea): New field. Tracks the dirty area.
1676         (SwingComponentPeer): Removed init of currentPaintEvents.
1677         (coalescePaintEvent): Simplified to only union the dirty regions.
1678         (handleEvent): Paint dirty region that was tracked in paintArea.
1679         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1680         (paintArea): New field. Tracks the dirty region.
1681         (coalescePaintEvent): Implemented to track the dirty region.
1682         (paintComponent): Use the dirty region in paintArea. Protect
1683         state by putting the paint and dispose code in a try-finally.
1684         (updateComponent): Use the dirty region in paintArea. Protect
1685         state by putting the paint and dispose code in a try-finally.
1686
1687 2006-11-29  Roman Kennke  <kennke@aicas.com>
1688
1689         * java/awt/font/TextLayout.java
1690         (getVisualHighlightShape): Removed debug output.
1691
1692 2006-11-28  Andrew Haley  <aph@redhat.com>
1693
1694         * vm/reference/sun/reflect/misc/ReflectUtil.java
1695         (checkPackageAccess): Implement.
1696
1697 2006-11-28  Dalibor Topic  <robilad@kaffe.org>
1698
1699         * native/jni/java-lang/java_lang_VMDouble.c:
1700         (parseDoubleFromChars) New function. Factored out from ...
1701         (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1702         (dtoa_toString): New function. Factored out from ...
1703         (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1704         Changed conversion mode to 2, as modes 0 and 1 don't round
1705         as the API spec demands. Invoke conversion function as often
1706         as necessary with growing precision until a reversible
1707         representation of the double in form of a string is reached.
1708
1709 2006-11-28  Roman Kennke  <kennke@aicas.com>
1710
1711         * javax/swing/JComponent.java
1712         (putClientProperty): Do not fire event when both old and new
1713         value are == null.
1714
1715 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1716
1717         * java/lang/Enum.java:
1718         Make name and ordinal final.
1719         
1720 2006-11-27  Casey Marshall  <csm@gnu.org>
1721
1722         * java/util/jar/JarEntry.java (certs): removed.
1723         (jarfile): new field.
1724         (getCertificates): read the certificates from the containing JarFile.
1725         * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1726         fill in 'certs,' fill in 'jarfile' for the entry.
1727         (getEntry): likewise.
1728         
1729 2006-11-27  Francis Kung  <fkung@redhat.com>
1730
1731         * java/awt/image/WritableRaster.java
1732         (createChild): Implemented.
1733
1734 2006-11-27  Roman Kennke  <kennke@aicas.com>
1735
1736         * java/awt/font/TextLayout.java
1737         (TextLayout(TextLayout,int,int)): Also layout the new runs.
1738         (getVisualHighlightShape): Implemented.
1739         (layoutRuns): Fixed boundary so that the last run is also laid out.
1740         (left): New helper method.
1741         (right): New helper method.
1742
1743 2006-11-27  Roman Kennke  <kennke@aicas.com>
1744
1745         * java/awt/font/TextLayout.java
1746         (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1747         (getCaretShape(TextHitInfo)): Use natural bounds.
1748         (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1749         (getCaretShapes(int,Rectangle2D)): Delegate to new method
1750         above with DEFAULT_CARET_POLICY.
1751         (getCaretShapes(int)): Use natural bounds.
1752
1753 2006-11-27  Roman Kennke  <kennke@aicas.com>
1754
1755         * java/awt/font/TextLayout.java
1756         (Run.font): New field.
1757         (Run.location): New field.
1758         (Run.Run): Initialize font.
1759         (font): Removed field. This is moved into Run as the actual font
1760         is something run-specific.
1761         (TextLayout(String,Font,FontRenderContext)): Set font on the
1762         single runs. Layout the runs here.
1763         (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1764         (findRunAtIndex): New helper method.
1765         (getCaretInfo): Implemented.
1766         (layoutRuns): New helper method.
1767         (toString): Don't put font in output string.
1768
1769 2006-11-27  Raif S. Naffah  <classpath@naffah-raif.name>
1770
1771         * AUTHORS: Added Jeroen Fritjers.
1772
1773 2006-11-27  neugens  <neugens@nirvana.limasoftware.net>
1774
1775         * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1776         for FieldPosition to be null.
1777         Check if the factional part is just 0 and can be omitted from the
1778         result.
1779         (scanNegativePattern): Fixed index out of bound exception when searching
1780         for international currency symbol in negative pattern.  
1781
1782 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1783
1784         * java/beans/beancontext/BeanContextSupport.java:
1785         (readObject(ObjectInputStream)): Implemented.
1786         (writeObject(ObjectOutputStream)): Likewise.
1787         (BCSChild.getTargetChild()): Added.
1788         (bcsPreDeserializationHook()): Implemented.
1789         (bcsPreSerializationHook()): Likewise.
1790         (childDeserializedHook(Object,BCSChild)): Likewise.
1791         (isSerializing()): Likewise.
1792         (readChildren(ObjectInputStream)): Likewise.
1793         (writeChildren(ObjectOutputStream)): Likewise.
1794         
1795 2006-11-26  Roger Sayle  <roger <at> eyesopen.com>
1796             Ian Lance Taylor  <ian <at> airs.com>
1797             Paolo Bonzini <bonzini <at> gnu.org>
1798
1799         Fixes bug #25557.
1800
1801         * lib/gen-classlist.sh.in:  Avoid using test's -ef operator for
1802         increased portability.  Likewise, use -f instead of -e.
1803
1804 2006-11-26  Mark Wielaard  <mark@klomp.org>
1805
1806         * lib/Makefile.am (propertydirs): Removed.
1807         (resources): Explicitly create all dirs.
1808
1809 2006-11-26  Mark Wielaard  <mark@klomp.org>
1810
1811         * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1812
1813 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1814
1815         * native/target/.cvsignore,
1816         native/target/generic/.cvsignore,
1817         native/target/Linux/.cvsignore:
1818         Removed no longer used files.
1819
1820         * native/target: Removed no longer used directory.
1821
1822 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1823
1824         Fixes bug #29133.
1825
1826         * libraries/clib/nio/gnu_java_nio_VMSelector.c
1827         (Java_gnu_java_nio_VMSelector_select):
1828         Use strerror if strerror_r is not available.
1829
1830         Reported by:  Michael Franz <mvfranz@gmail.com>,
1831                       Riccardo Mottola <zuse@libero.it>
1832
1833 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1834
1835         Fixes bug #26756.
1836         
1837         * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed 
1838         STRICT_WARNING_CFLAGS since it caused the build to fail 
1839         on GNU/Linux.
1840
1841 2006-11-26  Ian Rogers  <ian.rogers@manchester.ac.uk>
1842
1843         * doc/vmintegration.texinfo: Update VM Threading Model section.
1844
1845 2006-11-26  Tom Tromey  <tromey@redhat.com>
1846
1847         * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1848         include ifaddrs.h.
1849         (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1850         conditional.
1851         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1852         Conditionally include ifaddrs.h.
1853         (getif_address): Updated conditional.
1854         (getif_index): Likewise.
1855         * configure.ac: Check for ifaddrs.h.
1856
1857 2006-11-25  Mark Wielaard  <mark@klomp.org>
1858
1859         * java/io/File.java (list): Return empty list for unreadable dirs.
1860
1861 2006-11-25  Mark Wielaard  <mark@klomp.org>
1862
1863         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1864         Synchronize on font peer.
1865         (setFont): Likewise.
1866         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1867         synchronized.
1868         (getTextMetrics): Likewise.
1869
1870 2006-11-25  Roman Kennke  <kennke@aicas.com>
1871
1872         * javax/swing/text/GapContent.java
1873         (getPositionsInRange): Rewritten to use the more efficient
1874         binary search searchFirst() and avoid an NPE that was caused
1875         by GC'ed positions.
1876
1877 2006-11-25  Mark Wielaard  <mark@klomp.org>
1878
1879         * javax/swing/text/CompositeView.java (modelToView): Never return
1880         null.
1881
1882 2006-11-25  Mark Wielaard  <mark@klomp.org>
1883
1884         * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1885         Check whether rowView instanceof RowView.
1886         (updateGrid): Likewise.
1887
1888 2006-11-25  Mario Torre  <neugens@nirvana.limasoftware.net>
1889
1890         PR28462
1891         * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1892         * java/text/NumberFormat.java (format): all format methods, fixed
1893         FieldPosition argument should never be null.
1894         (format(Object, StringBuffer, FieldPosition)): fixed signature,
1895         method is not final.
1896         * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1897         locale.
1898         * AUTHORS: added my name to the file.
1899
1900 2006-11-25  Mark Wielaard  <mark@klomp.org>
1901
1902         * javax/swing/text/html/StyleSheet.java (paint): Guard against
1903         getChildAllocation() returning null.
1904
1905 2006-11-25  Mark Wielaard  <mark@klomp.org>
1906
1907         * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1908         Use clazzIndex for id substring.
1909
1910 2006-11-25  Mark Wielaard  <mark@klomp.org>
1911
1912         * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1913         it is still running.
1914
1915 2006-11-25  Mark Wielaard  <mark@klomp.org>
1916
1917         Fixes bug #28822
1918         * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1919         CREATE_API_DOCS
1920
1921 2006-11-24  Tania Bento  <tbento@redhat.com>
1922
1923         * java/awt/font/TextHitInfo.java
1924         (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1925         (beforeOffset): Decreased first parameter by 1.
1926
1927 2006-11-24  Francis Kung  <fkung@redhat.com>
1928
1929         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1930         (constructor): Check sample model when setting fastCM flag.
1931         (updateBufferedImage): Check scanline and sample model offsets before
1932         copying data directly into the image data buffer.
1933
1934 2006-11-24  Francis Kung  <fkung@redhat.com>
1935
1936         * gnu/java/awt/java2d/QuadSegment.java
1937         (offsetSubdivided): Handle special straight-line cases.
1938
1939 2006-11-24  Roman Kennke  <kennke@aicas.com>
1940
1941         * java/awt/dnd/DropTarget.java
1942         (DropTargetAutoScroller.HYSTERESIS): New constant.
1943         (DropTargetAutoScroller.DELAY): New constant.
1944         (DropTargetAutoScroller.inner): New field. A cached
1945         Rectangle instance.
1946         (DropTargetAutoScroller.outer): New field. A cached
1947         Rectangle instance.
1948         (DropTargetAutoScroller.timer): New field. The actual timer.
1949         (DropTargetAutoScroller.DropTargetAutoScroller):
1950         Initialize timer.
1951         (DropTargetAutoScroller.actionPerformed): Implemented.
1952         (DropTargetAutoScroller.stop): Implemented.
1953         (DropTargetAutoScroller.updateLocation): Implemented.
1954         (clearAutoscroll): Stop the autoscroller before nullifying it.
1955         (createDropTargetAutoScroller): Don't set the field here,
1956         only return a new instance.
1957         (dragEnter): Only do something when active. Initialize
1958         auto scrolling.
1959         (dragExit): Only do something when active. Stop auto scrolling.
1960         (dragOver): Only do something when active. Update auto scrolling.
1961         (drop): Only do something when active. Update auto scrolling.
1962         (dropActionChanged): Only do something when active. Update
1963         auto scrolling.
1964         (initializeAutoScrolling): Check if component is an instance
1965         of Autoscroll, otherwise do nothing.
1966         (setActive): Disable autoscrolling when deactivating.
1967         (setComponent): When component is set to null, disable autoscrolling.
1968
1969 2006-11-24  David Gilbert  <david.gilbert@object-refinery.com>
1970
1971         * java/beans/beancontext/BeanContextServicesSupport.java
1972         (getChildBeanContextServicesListener): Implemented.
1973
1974 2006-11-23  Roman Kennke  <kennke@aicas.com>
1975
1976         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1977         (createGraphics): Use constructor to create new instance of
1978         BufferedImageGraphics.
1979         * java/awt/Toolkit.java
1980         (getDefaultToolkit): Really try to get a real toolkit. Only
1981         use HeadlessToolkit if no other is available.
1982         * gnu/java/awt/peer/gtk/GtkToolkit.java
1983         (checkHeadless): New helper method. Checks for headless environment
1984         and throws HeadlessException if appropriate.
1985         (createButton): Check for headless.
1986         (createCanvas): Check for headless.
1987         (createCheckbox): Check for headless.
1988         (createCheckboxMenuItem): Check for headless.
1989         (createChoice): Check for headless.
1990         (createDialog): Check for headless.
1991         (createDragGestureRecognizer): Check for headless.
1992         (createDragSourceContextPeer): Check for headless.
1993         (createEmbeddedWindow): Check for headless.
1994         (createFileDialog): Check for headless.
1995         (createFrame): Check for headless.
1996         (createCheckbox): Check for headless.
1997         (createLabel): Check for headless.
1998         (createList): Check for headless.
1999         (createMenu): Check for headless.
2000         (createMenuBar): Check for headless.
2001         (createMenuItem): Check for headless.
2002         (createPanel): Check for headless.
2003         (createPopupMenu): Check for headless.
2004         (createScrollbar): Check for headless.
2005         (createScrollPane): Check for headless.
2006         (createTextArea): Check for headless.
2007         (createTextField): Check for headless.
2008         (createWindow): Check for headless.
2009
2010 2006-11-23  David Gilbert  <david.gilbert@object-refinery.com>
2011
2012         * java/beans/beancontext/BeanContextSupport.java
2013         (deserialize): Implemented,
2014         (serialize): Implemented.
2015
2016 2006-11-23  Roman Kennke  <kennke@aicas.com>
2017
2018         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2019         (createGraphics): Try to use Cairo graphics if available.
2020
2021 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
2022
2023         * java/beans/beancontext/BeanContextSupport.java
2024         (toArray): Added API docs,
2025         (toArray(Object[])): Added API docs, removed NotImplementedException.
2026
2027 2006-11-22  Tania Bento  <tbento@redhat.com>
2028
2029         * javax/swing/JRootPane.java
2030         (setLayeredPane): Added documentation; throw 
2031         IllegalComponentStateException if layered pane parameter is null.
2032
2033 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
2034
2035         * java/beans/beancontext/BeanContextSupport.java
2036         (avoidingGui): Removed NotImplementedException.
2037
2038 2006-11-22  Francis Kung  <fkung@redhat.com>
2039
2040         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2041         (drawGlyphVector): Clip updated area to glyph bounds.
2042         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2043         (createPath): Eliminate distortion when pixel-shifting rectangles; separate
2044         x-coordinate and y-coordinate pixel shifting.
2045         (shifted): Removed method.
2046         (shiftX): New method, recognising scaling transforms.
2047         (shiftY): New method, recognising scaling transforms.
2048         (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
2049
2050 2006-11-22  Roman Kennke  <kennke@aicas.com>
2051
2052         * java/awt/font/TextLayout.java
2053         (hash): New field. Caches the hash code.
2054         (hashCode): Implemented.
2055
2056 2006-11-22  Roman Kennke  <kennke@aicas.com>
2057
2058         * java/awt/image/ImageFilter.java
2059         Reformat whole class.
2060         (getFilterInstance): Don't touch the consumer field. Don't check
2061         consumer.
2062         (imageComplete): Don't check consumer.
2063         (setColorModel): Don't check consumer.
2064         (setDimensions): Don't check consumer.
2065         (setHints): Don't check consumer.
2066         (setPixels): Don't check consumer.
2067         (setProperties): Pass the original property too.
2068         * java/awt/image/IndexColorModel.java
2069         (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
2070         transparent pixel by calling the new helper method.
2071         (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
2072         transparent pixel by calling the new helper method.
2073         (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
2074         transparent pixel by calling the new helper method.
2075         (coerceData): Removed. This is not needed.
2076         (getAlpha): Simply return value from color map. The transparent
2077         pixel has to be there.
2078         (setTransparentPixel): New helper method. Inserts the transparent
2079         pixel.
2080         * java/awt/image/RGBImageFilter.java
2081         Reformat whole class.
2082         (convertColorModelToDefault): Removed. No longer needed.
2083         (filterIndexColorModel): Don't handle transparent pixels
2084         separately.
2085         (filterRGBPixels): Set pixels on consumer already.
2086         (makeColor): Removed. No longer needed.
2087         * java/awt/image/ReplicateScaleFilter.java
2088         (replicatePixels): Removed.
2089         (setDimension): Correctly compute destination size, avoid double
2090         calculations.
2091         (setPixels): Avoid double calculations. Fixed some boundary cases.
2092         (setupSources): New helper method.
2093         * java/awt/image/SampleModel.java
2094         (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
2095         and TYPE_DOUBLE.
2096         * java/awt/image/SinglePixelPackedSampleModel.java
2097         (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
2098         This is not needed as the superclass already copies line
2099         by line.
2100         (setDataElements(int,int,Object,DataBuffer)): Simplified code,
2101         removed some checks that the RI also doesn't perform. Call
2102         DataBuffer.setElem().
2103
2104 2006-11-22  Roman Kennke  <kennke@aicas.com>
2105
2106         * java/awt/text/TextLayout.java
2107         (getLogicalRangesForVisualSelection): Implemented.
2108
2109 2006-11-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2110
2111         * sun/reflect/annotation/AnnotationParser.java,
2112         * sun/reflect/annotation/AnnotationType.java,
2113         * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
2114         * sun/reflect/annotation/ExceptionProxy.java:
2115         Stubbed.
2116         * sun/misc/ServiceConfigurationError.java,
2117         * sun/misc/Service.java:
2118         Implemented.
2119         
2120 2006-11-21  Roman Kennke  <kennke@aicas.com>
2121
2122         * java/awt/text/TextLayout.java
2123         (Run.isLeftToRight): New helper method.
2124         (logicalToVisual): New field. Maps logical indices to visual
2125         indices.
2126         (visualToLogical): New field. Maps visual indices to logical
2127         indices.
2128         (TextLayout): Setup mappings.
2129         (setupMappings): New method for setting up the mappings.
2130         (getCharacterLevel): Reorganized code.
2131         (getNextLeftHit(int)): Implemented.
2132         (getNextLeftHit(int,CaretPolicy)): New method.
2133         (getNextLeftHit(TextHitInfo)): Implemented.
2134         (getNextRightHit(int)): Implemented.
2135         (getNextRightHit(int,CaretPolicy)): New method.
2136         (getNextRightHit(TextHitInfo)): New method.
2137         (getVisualOtherHit): Implemented.
2138         (checkHitInfo): New helper methods for checking parameters.
2139         (hitToCaret): New helper method. Maps hit infos to caret locations.
2140         (caretToHit): New helper method. Maps caret locations to hit infos.
2141         (isCharacterLTR): New helper method.
2142         (CaretPolicy.getStrongCaret): Implemented.
2143
2144 2006-11-21  Francis Kung  <fkung@redhat.com>
2145
2146         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2147         (draw): Include stroke width when calculating bounds.
2148         (updateBufferedImage): Round bounds more generously, handle negative
2149         height/width values, and clip more intelligently.
2150         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2151         (createPath): Add shortcut optimization for lines.
2152         (draw): Include stroke width when calculating bounds.
2153         (drawLine): Delegate to main draw() method.
2154         (drawRect): Likewise.
2155         (fillRect): Delegate to main fill() method.
2156         (findStrokedBounds): New method.
2157         (setCustomPaint): Round bounds more generously.
2158         * gnu/java/awt/peer/gtk/ComponentGraphics.java
2159         (drawLine): Removed.
2160         (drawRect): Removed.
2161         (fillRect): Removed.
2162
2163 2006-11-21  Francis Kung  <fkung@redhat.com>
2164
2165         * gnu/java/awt/java2d/TexturePaintContext.java
2166         (getRaster): Handle negative coordinate values.
2167         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2168         (setPaint): Moved custom paint processing to a new method.
2169         (setPaintPixels): Added x, y parameters.
2170         (getRealBounds): Added documentation.
2171         (copy): Copy clipping information.
2172         (drawLine): Process custom paints.
2173         (setCustomPaint): New method.
2174         (fill): Process custom paints.
2175         (drawGlyphVector): Process custom paints.
2176         (drawRect): Process custom paints.
2177         (draw): Process custom paints.
2178         * gnu/java/awt/peer/gtk/CairoSurface.java
2179         (cairoCM_opaque): New constant.
2180         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2181         (argb32): Removed constant.
2182         (rgb32): Removed constant.
2183         (BufferedImageGraphics(BufferedImage)): Updated constant names.
2184         (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
2185         (updateBufferedImage): Transform to device-space before updating.
2186         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
2187         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
2188         parameters.
2189         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2190         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
2191         source at designated x, y origin.
2192
2193 2006-11-21  Roman Kennke  <kennke@aicas.com>
2194
2195         * java/awt/text/TextLayout.java
2196         (Run): New inner helper class.
2197         (length): New field.
2198         (naturalBounds): New field.
2199         (offset): New field.
2200         (runIndices): Removed. This is now encapsulate in a Run object.
2201         (runs): Changed to Run[].
2202         (string): Changed to char[].
2203         (totalAdvance): New field. Caches advance value.
2204         (TextLayout(String,Font,FontRenderContext)): Change to store
2205         string as char[] and run layout as Run[]. Clean out empty
2206         run items.
2207         (TextLayout(TextLayout,int,int)): Change to store
2208         string as char[] and run layout as Run[].
2209         (clone): Call private constructor for maximum efficiency.
2210         (determineWhitespace): Adapted to use char[] data.
2211         (draw): Adapted to use Run objects.
2212         (getAdvance): Cache computed total advance.
2213         (getBlackBoxBounds): Adapted to use Run objects.
2214         (getCaretInfo): Use natural layout bounds.
2215         (getCharacterCount): Return length field.
2216         (getLogicalHighlightShape): Adapted to use Run objects.
2217         (getNaturalBounds): New helper method. Calculates and returns the
2218         natural bounds of this text layout.
2219         (getOutline): Adapted to use Run objects.
2220         (getStringProperties): Adapted to use char[] data.
2221         (getVisibleAdvance): Adapted to use char[] and Run data.
2222         (handleJustify): Adapted to use char[] and Run data.
2223         (hitTestChar(float,float,Rectangle2D)): Implemented.
2224         (hitTestChar(float,float)): Use natural bounds.
2225         (setCharIndices): Adapted to use char[] and Run data.
2226         (toString): Adapted to use char[] and Run data.
2227         * java/text/Bidi.java
2228         (requiresBidi): Exclude paragraph separators from bidi-triggers.
2229
2230 2006-11-21  Roman Kennke  <kennke@aicas.com>
2231
2232         * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
2233         Removed. This is now an inner class in GdkFontPeer.
2234         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2235         (drawString(float,float)): Use text layout cache from
2236         GdkFontPeer.
2237         (getFontMetrics): Delegate to GdkFontPeer.
2238         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2239         (getGlyphCodes): Also check array size.
2240         (getGlyphPositions): Also check array size.
2241         * gnu/java/awt/peer/gtk/GdkFontPeer.java
2242         (GdkFontLineMetrics.fm): Removed.
2243         (GdkFontLineMetrics.strikeThroughOffset): Removed.
2244         (GdkFontLineMetrics.strikeThroughThickness): Removed.
2245         (GdkFontLineMetrics.underlineOffset): Removed.
2246         (GdkFontLineMetrics.underlineThickness): Removed.
2247         (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
2248         FontMetrics argument. Don't init removed fields.
2249         (GdkFontLineMetrics.getAscent): Return font peer's field.
2250         (GdkFontLineMetrics.getDescent): Return font peer's field.
2251         (GdkFontLineMetrics.getHeight): Return font peer's field.
2252         (GdkFontLineMetrics.getLeading): Return font peer's field.
2253         (GdkFontLineMetrics.getNumChars): Reformat.
2254         (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
2255         (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
2256         (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
2257         (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
2258         (GdkFontMetrics): Moved class in here as inner class. 
2259         Make it use the font peer's fields and for the char(s) width
2260         and string width method, use TextLayout to measure the actual widths.
2261         (ascent): New field.
2262         (bundle): Removed.
2263         (DEFAULT_CTX): New constant field.
2264         (descent): New field.
2265         (FONT_METRICS_ASCENT): New constant.
2266         (FONT_METRICS_DESCENT): New constant.
2267         (FONT_METRICS_HEIGHT): New constant.
2268         (FONT_METRICS_MAX_ADVANCE): New constant.
2269         (FONT_METRICS_MAX_ASCENT): New constant.
2270         (FONT_METRICS_MAX_DESCENT): New constant.
2271         (FONT_METRICS_UNDERLINE_OFFSET): New constant.
2272         (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
2273         (height): New field.
2274         (maxAdvance): New field.
2275         (maxAscent): New field.
2276         (maxDescent): New field.
2277         (metrics): New field. Stores a FontMetrics for this font.
2278         (textLayoutCache): New field. Caches TextLayout instances.
2279         (underlineOffset): New field.
2280         (underlineThickness): New field.
2281         (cinit): Don't initialize resource bundle.
2282         (GdkFontPeer): Setup the metrics.
2283         (getFontMetrics): Return stored metrics if possible.
2284         (getLineMetrics): Adapt to new constructor.
2285         (initFont): New helper method.
2286         (setupMetrics): New helper method.
2287         * gnu/java/awt/peer/gtk/GtkToolkit.java
2288         (LRUCache): Made class a static class.
2289         (getFontMetrics): Delegate to GdkFontPeer.
2290         * native/jni/gtk-peer/gdkfont.h
2291         Added new constant defines.
2292         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2293         (getFontMetrics): Rewritten to fetch the font metrics from
2294         FreeType.
2295
2296 2006-11-20  Tania Bento  <tbento@redhat.com>
2297
2298         * javax/swing/ButtonGroup.java:
2299         (setSelected): Select the ButtonModel if all conditions
2300         are met.
2301
2302 2006-11-20  Tania Bento  <tbento@redhat.com>
2303
2304         * javax/swing/JSlider.java:
2305         (updateLabelUIs): Removed casting.
2306
2307 2006-11-20  Mark Wielaard  <mark@klomp.org>
2308
2309         * gnu/java/util/regex/RE.java (messages): Don't initialize.
2310         (bundle): New static final String field.
2311         (getLocalizedMessage): Initialize messages when still null.
2312         * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
2313         (set): Use RE.getLocalizedMessage().
2314         (clear): Likewise.
2315         (setLineSeparator): Likewise.
2316
2317 2006-11-20  Roman Kennke  <kennke@aicas.com>
2318
2319         * javax/swing/text/html/StyleSheet.java
2320         (linked): New field.
2321         (styleSheet): Replaced by linked.
2322         (addStyleSheet): Use an arraylist for simplicity.
2323         (getRule): Removed useless instantiation.
2324         (getStyleSheets): Convert array list to array.
2325         (removeStyleSheet): Use an arraylist for simplicity.
2326         (resolveStyle): Include styles from linked lists.
2327
2328 2006-11-20  Roman Kennke  <kennke@aicas.com>
2329
2330         * javax/swing/text/BoxView.java
2331         (BoxView): Initialize with invalid req's.
2332         (forwardUpdate): Trigger repaint when children changed the
2333         major axis.
2334         (getResizeWeight): Return resizable when the pref differs from
2335         the min or the pref differs from the max size.
2336         (layoutMajorAxis): Actually sum up the preferred sizes.
2337         (paint): Made binary search more robust.
2338         (replace): Let arrays shrink when needed.
2339         (replaceLayoutArray): Let arrays shrink when needed.
2340         (setAxis): Trigger preferenceChanged.
2341         * javax/swing/text/CompositeView.java
2342         (getInsideAllocation): Call insets method to take account
2343         of overriding subclasses.
2344         * javax/swing/text/DefaultStyledDocument.java
2345         (ElementBuffer.finishEdit): Clear the stack and edits buffer.
2346         (ElementBuffer.insertUpdate): Only remove the found element, not
2347         all.
2348         * javax/swing/text/GlyphView.java
2349         (insertUpdate): Pass null in preferenceChanged.
2350         (removeUpdate): Pass null in preferenceChanged.
2351         (changedUpdate): Pass null in preferenceChanged.
2352         * javax/swing/text/Utilities.java
2353         (drawTabbedText): Avoid single calls to charWidth() and instead
2354         call charsWidth() on whole chunks.
2355         * javax/swing/text/html/HTMLDocument.java
2356         (BlockElement.getName): Fall back to super when necessary.
2357         (RunElement.getName): Fall back to super when necessary.
2358         (HTMLReader.MAX_THRESHOLD): New constant field.
2359         (HTMLReader.GROW_THRESHOLD): New constant field.
2360         (HTMLReader.theshold): New field.
2361         (HTMLReader.HTMLReader): Fetch threshold from document.
2362         (HTMLReader.addContent): Sucessivly grow the threshold.
2363         (createLeafElement): Don't create two elemens and don't set
2364         attribute.
2365         * javax/swing/text/html/TableView.java
2366         (RowView.replace): Invalidate grid.
2367         (gridValid): Made package private.
2368         (layoutMinorAxis): Mark all rows as invalid.
2369         (replace): Invalidate grid.
2370
2371 2006-11-20  Roman Kennke  <kennke@aicas.com>
2372
2373         * javax/swing/text/AbstractDocument.java
2374         (DefaultDocumentEvent.changes): Changed to be a HashMap.
2375         (DefaultDocumentEvent.modified): Made private.
2376         (DefaultDocumentEvent.THRESHOLD): New constant field.
2377         (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2378         changes table.
2379         (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2380         exceeding threshold.
2381         (DefaultDocumentEvent.getChange): Use iterative approach
2382         when we have no hashmap yet.
2383         (documentCV): Removed.
2384         (numWriters): Renamed from numWritersWaiting.
2385         (createPosition): Reformat.
2386         (getCurrentWriter): Synchronized.
2387         (readLock): Implement more straightforward.
2388         (readUnlock): Implement more straightforward.
2389         (writeLock): Implement more straightforward.
2390         (writeUnlock): Implement more straightforward.
2391         (remove): Write-lock here.
2392         (removeImpl): Don't write-lock here.
2393
2394 2006-11-20  Roman Kennke  <kennke@aicas.com>
2395
2396         * javax/swing/JEditorPane.java
2397         (setPage): Set priority on loading thread.
2398
2399 2006-11-20  Roman Kennke  <kennke@aicas.com>
2400
2401         * javax/swing/plaf/basic/BasicTextUI.java
2402         (RootView.paint): Avoid allocation.
2403         (cachedInsets): New field. Caches an Insets instance.
2404         (getNextVisualPositionFrom): Read-lock the document to avoid
2405         thread nastiness. Push allocation.
2406         (getPreferredSize): Push fake allocation when not yet laid out.
2407         (getVisibleEditorRect): Use cached insets.
2408         (viewToModel): Read-lock the document to avoid
2409         thread nastiness. Push allocation.
2410
2411 2006-11-20  Roman Kennke  <kennke@aicas.com>
2412
2413         * javax/swing/text/StyleContext.java
2414         (attributeSetPool): Synchronize this map.
2415         (addAttribute): Synchronize this method.
2416         (addAttributes: Synchronize this method.
2417         (readObject): Install synchronized map on target object.
2418         (removeAttribute): Synchronize this method.
2419         (removeAttributes): Synchronize this method.
2420         (removeAttributes): Synchronize this method.    
2421         
2422 2006-11-20  Roman Kennke  <kennke@aicas.com>
2423
2424         * javax/swing/text/GapContent.java
2425         (GapContentPosition.GapContentPosition): Removed constructor.
2426         (Mark): Made subclass of WeakReference to refer directly to
2427         the associated position.
2428         (Mark.refCount): Removed.
2429         (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2430         New constructor. Used to reference a position and register the
2431         reference queue.
2432         (Mark.Mark(index)): Call super and don't adjust mark offset.
2433         (Mark.compareTo): Removed.
2434         (Mark.equals): Removed.
2435         (Mark.getOffset): Return at least null. Removed assert.
2436         (Mark.getPosition): New helper method.
2437         (garbageMarks): New field.
2438         (positions): Removed.
2439         (searchMark): New field.
2440         (GapContent): Removed init of positions map.
2441         (addImpl): New helper method.
2442         (adjustPositionsInRange): Removed.
2443         (compare): New helper method.
2444         (createPosition): Rewritten for new datastructures. This now
2445         performs a much more efficient binary search for finding
2446         a position at the requested offste.
2447         (garbageCollect): Rewritten to collect unused marks.
2448         (getPositionsInRange): Adjusted for new data structures.
2449         (removeImpl): New helper method.
2450         (replace): Use new addImpl() and removeImpl() helper method for
2451         correctly adjusting the positions and gap.
2452         (search): Rewritten. Implements a more suitable binary search.
2453         (searchFirst): New helper method.
2454         (setPositionsInRange): Removed.
2455         (shiftEnd): Update the marks here.
2456         (shiftGap): Update the marks here.
2457         (shiftGapEndUp): Update the marks here.
2458         (shiftGapStartDown): Update the marks here.
2459
2460 2006-11-20  Marco Trudel <mtrudel@gmx.ch>
2461
2462         * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2463         digest algorithm implementations.
2464         (readSignatures): Parse the manifest once and reuse that data.
2465         Add support for line breaks.
2466         (verifyHashes): Use the parsed manifest entry.
2467         (readManifestEntry): Removed.
2468
2469 2006-11-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2470
2471         * java/beans/beancontext/BeanContextServicesSupport.java:
2472         Added more documentation.
2473         (addService(Class,BeanContextServiceProvider,boolean)):
2474         Synchronized over global hierarchy lock.
2475         (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2476         (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2477         (childJustRemovedHook(Object,BCSChild)): Implemented.
2478         (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2479         Implemented.
2480         (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2481         Added revocation-only listeners.
2482         (getBeanContextServicesPeer()): Implemented.
2483         (getCurrentServiceClasses(Class)): Synchronized over global
2484         hierarchy lock.
2485         (getCurrentServiceSelectors(Class)): Synchronized over global
2486         hierarchy lock, and fixed FIXME.
2487         (getService(BeanContextChild,Object,Class,Object,
2488         BeanContextServiceRevokedListener)): Implemented.
2489         (hasService(Class)): Synchronized over global hierarchy lock.
2490         (releaseService(BeanContextChild,Object,Object)): Implemented.
2491         (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2492         * java/beans/beancontext/BeanContextSupport.java:
2493         (remove(Object, boolean)): Documentation correction.
2494         
2495 2006-11-19  Roman Kennke  <kennke@aicas.com>
2496
2497         * javax/swing/JEditorPane.java
2498         (PageStream): New inner class.
2499         (PageLoader): New inner class.
2500         (loading): New field.
2501         (setPage): Implemented asynchronous loading.
2502         * javax/swing/text/DefaultStyledDocument.java
2503         (ElementBuffer.create): New helper method.
2504         (create): Use new ElementBuffer method instead of hack.
2505         * javax/swing/text/html/HTMLDocument.java
2506         (HTMLReader.flushImpl): New helper method.
2507         (HTMLReader.addContent): Use flushImpl().
2508         (HTMLReader.blockClose): Added null check.
2509         (HTMLReader.flush): Use flushImpl().
2510         * javax/swing/text/html/HTMLEditorKit.java
2511         (createDefaultDocument): Set load priority to 4 and token threshold
2512         to 100.
2513         * javax/swing/text/html/TableView.java
2514         (insertUpdate): Overridden to provide correct view factory.
2515         (removeUpdate): Overridden to provide correct view factory.
2516         (changedUpdate): Overridden to provide correct view factory.
2517
2518 2006-11-19  Roman Kennke  <kennke@aicas.com>
2519
2520         * javax/swing/text/BoxView.java
2521         (clipRect): New field.
2522         (tmpRect): New field.
2523         (layout): Reorganized code. Now uses layoutAxis() helper method.
2524         (layoutAxis): New helper method.
2525         (paint): Optimized by using cached Rectangle objects and
2526         a binary search for child views inside the clip.
2527         * javax/swing/text/CompositeView.java
2528         (insideAllocation): Made private and initialized in constructor.
2529         (getInsideAllocation): Removed initialization block for
2530         insideAllocation field. Avoid unnecessary allocations.
2531         * javax/swing/text/GlyphView.java
2532         (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2533         The remaining stuff (background, underline and striking) is
2534         done in the GlpyhView itself. Avoid unnecessary allocations.
2535         (cached): A cached Segment instance.
2536         (getText): Return cached segment.
2537         (paint): Paint underline, strike and background here. Avoid
2538         unecessary allocs.
2539
2540 2006-11-19  Roman Kennke  <kennke@aicas.com>
2541
2542         * javax/swing/text/html/StyleSheet.java
2543         (getFontSize): Removed debug output.
2544         (ListPainter.tmpRect): New field.
2545         (ListPainter.paint): Align bullet vertically centered to
2546         the first line of the paragraph.
2547
2548 2006-11-17  Roman Kennke  <kennke@aicas.com>
2549
2550         * gnu/javax/swing/text/html/css/CSSParser.java
2551         (parseDeclaration): Trim string before reporting.
2552         * gnu/javax/swing/text/html/css/FontSize.java
2553         (size): New field.
2554         (isRelative): New field.
2555         (sizeIndex): New field.
2556         (FontSize): Initialize new fields.
2557         (getValue): Changed to call getValue(int).
2558         (getValue(int)): New method. Implements relative font sizes.
2559         (isRelative): New method.
2560         (mapAbsolute): Store index.
2561         (mapEM): New helper method.
2562         (mapLarger): New helper method.
2563         (mapPercent): New helper method.
2564         (mapRelative): New helper method.
2565         (mapSmaller): New helper method.
2566         (mapValue): New helper method.
2567         * javax/swing/text/html/CSS.java
2568         (parseBackgroundShorthand): Create CSSColor directly.
2569         * javax/swing/text/html/StyleSheet.java
2570         (addRule): Invalidate resolved styles.
2571         (getFont): Call new getFontSize() method to resolve relative
2572         font sizes.
2573         (getFontSize): New helper method. Resolves relative font sizes.
2574         (translateHTMLToCSS): Create CSS objects directly.
2575
2576 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2577
2578         * gnu/java/util/regex/RETokenNamedProperty.java:
2579         (getHandler(String)): Add support for 'all'.
2580
2581 2006-11-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2582
2583         * gnu/javax/management/Server.java:
2584         Initial implementation of a GNU management server.
2585         * javax/management/MBeanPermission.java,
2586         * javax/management/MBeanRegistration.java,
2587         * javax/management/MBeanTrustPermission.java:
2588         Implemented.
2589         
2590 2006-11-17  Mark Wielaard  <mark@klomp.org>
2591
2592         * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2593
2594 2006-11-17  Gary Benson  <gbenson@redhat.com>
2595
2596         * java/net/DatagramSocket.java (getLocalAddress, connect,
2597         receive): Perform security check on address not hostname.
2598
2599 2006-11-16  Roman Kennke  <kennke@aicas.com>
2600
2601         * gnu/javax/swing/text/html/parser/support/Parser.java
2602         (_handleText): Fixed condition for consuming whitespace.
2603         Removed validator check, this is superfluous now.
2604
2605 2006-11-16  Roman Kennke  <kennke@aicas.com>
2606
2607         * gnu/javax/swing/text/html/css/CSSParser.java
2608         (parseRuleset): Support 'combined' selectors.
2609         (main): Adapt callback for combined selectors support.
2610         * gnu/javax/swing/text/html/css/CSSParserCallback.java
2611         (startStatement): Take selector array as argument, to
2612         support combined selectors.
2613         * javax/swing/text/html/BlockView.java
2614         (calculateMinorAxisRequirements): Fetch and apply alignment.
2615         * javax/swing/text/html/StyleSheet.java
2616         (CSSStyle): Inverted the constants for correct precedence.
2617         (CSSStyleSheetParserCallback.styles): New field. Stores the current
2618         styles.
2619         (CSSStyleSheetParserCallback.style): Removed.
2620         (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2621         (CSSStyleSheetParserCallback.end): Push multiple styles.
2622         (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2623
2624 2006-11-16  Roman Kennke  <kennke@aicas.com>
2625
2626         * javax/swing/text/FlowView.java
2627         (LogicalView.getPreferredSpan): Calculate maximum correctly.
2628         * javax/swing/text/GlyphView.java
2629         (tabExpander): New field.
2630         (tabX): New field.
2631         (breakView): Set tabX on broken view.
2632         (getPartialSpan): Let the painter fetch the span.
2633         (getTabbedSpan): Update the tab expander field. Maybe trigger
2634         relayout.
2635         (getTabExpander): Simply return the stored expander.
2636         * javax/swing/text/Utilities.java
2637         (getTabbedTextOffset): Made algoritm a little smarter and more
2638         efficient.
2639         (getTabbedTextWidth): Don't add single char widths, instead add
2640         chunks of characters.
2641         * javax/swing/text/html/ParagraphView.java
2642         (calculateMinorAxisRequirements): Adjust margin only when the
2643         CSS span is not fixed.
2644
2645 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
2646
2647         * java/beans/beancontext/BeanContextSupport.java
2648         (getChildBeanContextMembershipListener): Implemented,
2649         (getChildPropertyChangeListener): Implemented,
2650         (getChildSerializable): Implemented,
2651         (getChildVetoableChangeListener): Implemented,
2652         (getChildVisibility): Implemented,
2653         (setDesignTime): Use same property name as Sun's implementation.
2654
2655 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
2656
2657         * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2658         * java/beans/Statement.java
2659         (toString): Updated to match reference implementation.
2660
2661 2006-11-15  Roman Kennke  <kennke@aicas.com>
2662
2663         * javax/swing/text/html/HTMLEditorKit.java
2664         (InsertHTMLTextAction.actionPerformed): Also try inserting
2665         the alternate tag. Adjust the selection accordingly.
2666         (InsertHTMLTextAction.adjustSelection): New helper method.
2667         Adjusts the selection after an insertion.
2668         (insertAtBoundary): Delegate to deprecated method.
2669         (insertAtBoundry): Implemented missing method.
2670         (tryInsert): New helper method.
2671         (defaultActions): Implemented to fill the array with
2672         a couple of InsertHTMLTextActions.
2673
2674 2006-11-15  Roman Kennke  <kennke@aicas.com>
2675
2676         * javax/swing/text/html/ImageView.java
2677         (Observer): New class. Observes image loading.
2678         (haveHeight): New field.
2679         (haveWidth): New field.
2680         (height): New field.
2681         (width): New field.
2682         (image): New field.
2683         (imageIcon): New field.
2684         (loading): New field.
2685         (observer): New field.
2686         (reloadImage): New field.
2687         (reloadProperties): New field.
2688         (ImageView): Initialize observer and some flags.
2689         (getImage): Update the image state and return the image.
2690         (loadImage): New helper method. Actually starts loading.
2691         (paint): Rewritten to paint the image directly, not via Icon.
2692         (reloadImage): Rewritten. Loads the image and its properties.
2693         (renderIcon): Removed. No more necessary.
2694         (setPropertiesFromAttributes): Don't nullify image here.
2695         Added comment about missing impl.
2696         (setSize): Added comment about missing impl.
2697         (updateSize): New helper method. Updates the size attributes.
2698         (updateState): New helper method. Makes sure the image
2699         and its properties are valid.
2700
2701 2006-11-15  Roman Kennke  <kennke@aicas.com>
2702
2703         * gnu/javax/swing/text/html/parser/support/Parser.java
2704         (_handleEndTag_remaining): Consume whitespace after a closing
2705         block like tag.
2706
2707 2006-11-15  Roman Kennke  <kennke@aicas.com>
2708
2709         * javax/swing/text/html/HTMLDocument.java
2710         (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2711         directly.
2712         (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2713         directly.
2714         (HTMLReader.parseStack): Removed.
2715         (HTMLReader.blockClose): Simply call addContent() with ' '
2716         instead of doing more complicated stuff. Removed parseStack
2717         handling.
2718         (HTMLReader.blockOpen): Removed parseStack handling.
2719         (getInsertingReader): Removed parseStack init.
2720         * gnu/javax/swing/text/html/parser/htmlValidator.java
2721         (closeTag): Return true only when the tag actually should be
2722         closed.
2723         * gnu/javax/swing/text/html/parser/support/Parser.java
2724         (_handleEndTag): Only actually close the tag when the validator
2725         allows it.
2726
2727 2006-11-15  Roman Kennke  <kennke@aicas.com>
2728
2729         * javax/swing/text/html/CSS.java
2730         (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2731         attribute.
2732         * javax/swing/text/html/StyleSheet.java
2733         (BoxPainter.bottomPadding): New field.
2734         (BoxPainter.leftPadding): New field.
2735         (BoxPainter.rightPadding): New field.
2736         (BoxPainter.topPadding): New field.
2737         (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2738         too.
2739         (BoxPainter.getInset): Recognize and include the padding.
2740         (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2741          javax/swing/text/html/TableView.java
2742         (RowView.calculateMajorAxisRequirements): Adjust req's for
2743         cellSpacing.
2744         (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2745         (cellSpacing): New field.
2746         (columnRequirements): Made package private to avoid accessor method.
2747         (calculateMinorAxisRequirements): Include cellSpacing.
2748         (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2749         (layoutMajorAxis): Likewise.
2750         (layoutColumns): Respect cellSpacing.
2751         (setParent): Overridden to fetch the CSS attributes when view gets
2752         connected.
2753         (setPropertiesFromAttributes): New method. Fetches the cell
2754         spacing from the CSS attributes.
2755
2756 2006-11-15  Roman Kennke  <kennke@aicas.com>
2757
2758         * gnu/javax/swing/text/html/parser/support/Parser.java
2759         (_handleText): Consume whitespace directly before a closing tag.
2760         (restOfTag): Consume whitespace directly after opening.
2761         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2762         (preprocess): Don't perform array boundary checking by
2763         catch AIOOBE, instead check the boundary in loop condition.
2764         * gnu/javax/swing/text/html/parser/support/low/Constants.java
2765         (TAG_CLOSE): New constants. Describes the token pattern for
2766         a closing tag.
2767
2768 2006-11-14  Roman Kennke  <kennke@aicas.com>
2769
2770         * javax/swing/text/html/ImageView.java
2771         (getPreferredSpan): Use CSS length values.
2772         * javax/swing/text/html/TableView.java
2773         (CellView.calculateMajorAxisRequirements): Overridden to
2774         set the maximum reqs to maximum.
2775         (RowView.getMaximumSize): For the X_AXIS, set the maximum
2776         span to maximum.
2777         (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2778         the total column reqs.
2779         (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2780         the total column reqs.
2781         * gnu/javax/swing/text/html/css/CSSColor.java
2782         (convertValue): Catch NumberFormatExceptions for more robustness.
2783         * gnu/javax/swing/text/html/css/FontSize.java
2784         (mapPixels): Actually map px values. Catch NFE for more robustness.
2785
2786 2006-11-14  Roman Kennke  <kennke@aicas.com>
2787
2788         * gnu/java/awt/font/autofit/AxisHints.java,
2789         * gnu/java/awt/font/autofit/Constants.java,
2790         * gnu/java/awt/font/autofit/GlyphHints.java,
2791         * nu/java/awt/font/autofit/Latin.java,
2792         * nu/java/awt/font/autofit/LatinAxis.java,
2793         * gnu/java/awt/font/autofit/LatinMetrics.java,
2794         * gnu/java/awt/font/autofit/Scaler.java,
2795         * gnu/java/awt/font/autofit/Script.java,
2796         * gnu/java/awt/font/autofit/ScriptMetrics.java,
2797         * gnu/java/awt/font/autofit/Segment.java,
2798         * gnu/java/awt/font/autofit/Width.java:
2799         New classes. This is some skeleton stuff for the FreeType-alike
2800         auto-gridfitter.
2801         * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2802         * gnu/java/awt/font/opentype/OpenTypeFont.java
2803         (unitsPerEm): Made field public.
2804         (getRawGlyphOutline): New method. Fetches the raw outline.
2805         * gnu/java/awt/font/opentype/Scaler.java
2806         (getRawGlyphOutline): New method. Fetches the raw outline.
2807         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2808         (loadGlyph): New method. This is used to load raw outlines.
2809         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2810         (getRawOutline): New method. Fetches the raw outline.
2811         * gnu/java/awt/font/opentype/truetype/Zone.java:
2812         Made class public.
2813
2814 2006-11-14  Roman Kennke  <kennke@aicas.com>
2815
2816         * javax/swing/RepaintManager.java
2817         (RepaintManager): Fetch the default state for the double buffering
2818         from a system property gnu.swing.doublebuffering.
2819
2820 2006-11-14  Roman Kennke  <kennke@aicas.com>
2821
2822         * javax/swing/plaf/basic/BasicLabelUI.java
2823         (cachedInsets): New field.
2824         (getFontMetrics): New helper method. Fetches the font metrics
2825         from the component or the toolkit.
2826         (getPreferredSize): Use getFontMetrics() helper method for
2827         fetching the font metrics.
2828         (paint): Use getFontMetrics() helper method for
2829         fetching the font metrics. Only paint if icon or text
2830         are != null. Use cached insets.
2831         (paintDisabledText): Don't store/restore color object. The
2832         JComponent painting mechanism takes care of this by calling
2833         create().
2834         (paintEnabledText): Don't store/restore color object. The
2835         JComponent painting mechanism takes care of this by calling
2836         create().
2837
2838 2006-11-14  Roman Kennke  <kennke@aicas.com>
2839
2840         * gnu/java/awt/peer/GLightweightPeer.java
2841         (handleEvent): Try to do something reasonable and trigger painting
2842         for the lightweight component.
2843         (getFontMetrics): Fetch and return a font metrics object from
2844         the Toolkit.
2845
2846 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2847
2848         * gnu/java/util/regex/RETokenNamedProperty.java:
2849         (getHandler(String)): Add support for 'all'.
2850         
2851 2006-11-13  Andreas Tobler  <a.tobler@schweiz.org>
2852
2853         * AUTHORS: Add myself.
2854
2855 2006-11-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
2856
2857         * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2858         Dalibor Topic.  Re-order 'K' section.  Remove trailing space from
2859         Roman Kennke's entry.
2860
2861 2006-11-13  Roman Kennke  <kennke@aicas.com>
2862
2863         * java/awt/image/IndexColorModel.java
2864         (createCompatibleSampleModel): Implemented missing method.
2865
2866 2006-11-11  Andreas Tobler  <a.tobler@schweiz.org>
2867
2868         * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2869         from big endian systems correctly.
2870
2871 2006-11-11  Roman Kennke  <kennke@aicas.com>
2872
2873         * gnu/javax/swing/text/html/css/CSSColor.java
2874         (isValidColor): New helper method. Checks strings if they
2875         form a valid color value.
2876         * gnu/javax/swing/text/html/css/Length.java
2877         (Length): Catch number format exceptions.
2878         * javax/swing/text/html/CSS.java
2879         (addInternal): New method. Checks for shorthand CSS attributes
2880         and parses them.
2881         (parseBackgroundShorthand): New method. Parses the background
2882         shorthand attribute.
2883         * javax/swing/text/html/HTMLDocument.java
2884         (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2885         (HTMLReader.LinkAction.start): Implemented to load the linked
2886         stylesheet.
2887         (HTMLReader.LinkAction.end): Removed. This is not needed.
2888         * javax/swing/text/html/StyleSheet.java
2889         (CSSStyleSheetParserCallback.declaration): Push declaration
2890         through CSS.addInternal() to parse shorthand attributes.
2891         (addCSSAttribute): Push declaration through CSS.addInternal()
2892         to parse shorthand attributes.
2893         (importStyleSheet): Implemented. This adds a stylesheet from
2894         an URL.
2895         * javax/swing/text/html/TableView.java
2896         (calculateColumnRequirements): Increase column index for
2897         non CellView children to avoid endless loop.
2898         * javax/swing/text/CompositeView.java
2899         (setParent): Comparen with numChildren not with real arraylength.
2900
2901 2006-11-11  David Gilbert  <david.gilbert@object-refinery.com>
2902
2903         * java/beans/beancontext/BeanContextSupport.java
2904         (getChildBeanContextChild): Implemented.
2905
2906 2006-11-10  Roman Kennke  <kennke@aicas.com>
2907
2908         * javax/swing/text/View.java
2909         (updateLayout): Only repaint when needed.
2910
2911 2006-11-10  David Gilbert  <david.gilbert@object-refinery.com>
2912
2913         * java/util/Collections.java
2914         (sort(List)): Minor API doc addition,
2915         (sort(List, Comparator)): Likewise.
2916
2917 2006-11-10  David Fu  <fchoong@netbeans.jp>
2918
2919         * javax/swing/text/html/HTMLWriter.java
2920         (traverse): Removed Classpath specific handling of implied
2921         tags.
2922         (traverseHtmlFragment): Removed Classpath specific handling of
2923         implied tags.
2924
2925 2006-11-10  Roman Kennke  <kennke@aicas.com>
2926
2927         * javax/swing/text/ParagraphView.java
2928         (Row.getMaximumSize): Removed. This method is not necessary.
2929         * javax/swing/text/html/TableView.java
2930         (CellView): Moved attribute init to setPropertiesFromAttributes().
2931         (setPropertiesFromAttributes): Fetch attributes here.
2932         (RowView.RowView): Documented.
2933         (RowView.getMaximumSpan): Overridden to restrict the max span
2934         in the Y direction.
2935         (RowView.layoutMajorAxis): Correctly layout the spans.
2936         (columnWidths): New field. Stores the width attributes of
2937         the columns.
2938         (calculateColumnRequirements): Added support for relative
2939          (== percent) width attributes.
2940         (calculateMajorAxisRequirements): Removed.
2941         (calculateMinorAxisRequirements): Removed unnecessary code.
2942         (getMaximumSpan): Overridden to restrict the table's width.
2943         (layoutColumns): Documented. Implement more clever table layout,
2944         i.e. for relative columns etc.
2945         (layoutMinorAxis): Don't mark rows invalid.
2946         (updateGrid): Added docs. Initialize column widths.
2947
2948 2006-11-09  Roman Kennke  <kennke@aicas.com>
2949
2950         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2951         * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2952         Implement basic headless toolkit.
2953         * java/awt/Toolkit.java
2954         (getDefaultToolkit): Check headless property and create
2955         headless toolkit when true.
2956
2957 2006-11-09  Ingo Proetel  <proetel@aicas.com>
2958 2006-11-09  Roman Kennke  <kennke@aicas.com>
2959
2960         * gnu/java/awt/peer/swing/SwingButtonPeer.java
2961         (SwingButton.button): New field.
2962         (SwingButton.SwingButton): Added constructor.
2963         (SwingButton.isShowing): Access button field instead of
2964         the surrounding class.
2965         (SwingButton.getParent): Access button field instead of
2966         the surrounding class.
2967         (SwingButtonPeer): Call new SwingButton constructor.
2968         * gnu/java/awt/peer/swing/SwingComponent.java:
2969         Several documentation updates.
2970         * gnu/java/awt/peer/swing/SwingComponentPeer.java
2971         (currentPaintEvents): New field.
2972         (peerFont): New field.
2973         (SwingComponentPeer): Initialize currentPaintEvents fields.
2974         (coalescePaintEvents): Implemented.
2975         (dispose): Unregister peer from heavyweight list of its container.
2976         (getGraphics): Fetch graphics from parent component.
2977         (handleEvent): Discard paint event if its coalesced.
2978         (init): Register component with its container for proper painting.
2979         (paint): Call peerPaint().
2980         (peerPaint): Added argument that indicates if we should update.
2981         Call paint or update on the actual AWT component.
2982         (peerPaintComponent): New method. Paints the peer (Swing) component.
2983         (setFont): Set peerFont field.
2984         * gnu/java/awt/peer/swing/SwingContainerPeer.java
2985         (backbuffer): New field.
2986         (focusOwner): New field.
2987         (heavyweightDescendents): New field.
2988         (SwingContainerPeer): Take Container as argument. Don't call init
2989         yet.
2990         (addHeavyweightDescendent): New method.
2991         (getFocusOwner): New helper method.
2992         (getInsets): Delegate to insets().
2993         (handleKeyEvent): Dispatch event to focus owner.
2994         (handleMouseEvent): Dispatch to child component.
2995         (isDoubleBuffering): New helper method.
2996         (peerPaint): Overridden to implement container painting with
2997         double buffering.
2998         (peerPaintChildren): New method. Paints the descendents of this
2999         container.
3000         (removeHeavyweightDescendent): New helper method.       
3001         * gnu/java/awt/peer/swing/SwingFramePeer.java
3002         (peerPaint): Removed.
3003         (peerPaintComponent): Overridden to paint the menu bar.
3004         * gnu/java/awt/peer/swing/SwingLabelPeer.java
3005         (SwingLabel.label): New field.
3006         (SwingLabel.SwingLabel): Added constructor with Label argument.
3007         (SwingLabel.getGraphics): Implemented to fetch the graphics from
3008         the actual AWT component.
3009         (SwingLabel.getParent): Implemented to fetch the parent from
3010         the AWT component.
3011         (SwingLabel.isShowing): Access the label field.
3012         (SwingLabelPeer): Set alignment from label.
3013         * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
3014         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
3015         fixlet.
3016         * gnu/java/awt/peer/swing/SwingPanelPeer.java:
3017         Don't be a lighweight peer.
3018         (SwingPanelPeer): Call init.
3019         * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
3020         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
3021         (SwingTextField.textField): New field.
3022         (SwingTextField.SwingTextField): New constructor.
3023         (SwingTextField.isShowing): Access field not enclosing class.
3024         (SwingTextField.getGraphics): New method.
3025         (SwingTextField.getParent): New method.
3026         (SwingTextFieldPeer): Call new constructor.
3027         (select): Renamed arguments.
3028         * gnu/java/awt/peer/swing/SwingWindowPeer.java
3029         (SwingWindowPeer): Call init.
3030
3031 2006-11-09  Tania Bento  <tbento@redhat.com>
3032
3033         * javax/swing/JLabel.java
3034         (JLabel(Icon)): Changed documentation; Changed text to null.
3035         (JLabel(Icon,int)): Likewise.
3036         (JLabel(text)): Changed documenation.
3037         (JLabel(text,int)): Likewise.
3038         (JLabel(text,Icon,int)): Changed documentation; Throw 
3039         IllegalArgumentException if int is not one of LEFT, RIGHT,
3040         CENTER, LEADING or TRAILING.
3041
3042 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
3043
3044         * java/beans/beancontext/BeanContextSupport.java
3045         (BeanContextSupport): Use correct dtime default,
3046         (BeanContextSupport(BeanContext)): Likewise,
3047         (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
3048         locale argument,
3049         (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
3050         (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
3051
3052 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
3053
3054         * java/beans/beancontext/BeanContextSupport.java
3055         (getBeanContextPeer): Implemented.
3056
3057 2006-11-09  Roman Kennke  <kennke@aicas.com>
3058
3059         * javax/swing/text/html/BlockView.java
3060         (cssHeight): Removed.
3061         (cssWidth): Removed.
3062         (cssSpans): New field. Replaces the two fields above.
3063         (BlockView): Allocate cssSpans array.
3064         (layoutMinorAxis): Fetch and use child span, not this view's span.
3065         (setCSSSpan): Adjusted to use cssSpans array.
3066         (setPropertiesFromAttributes): Adjusted to use cssSpans array.
3067
3068 2006-11-09  Roman Kennke  <kennke@aicas.com>
3069
3070         * javax/swing/text/html/InlineView.java
3071         (nowrap): New field.
3072         (getBreakWeight): Add support for nowrap.
3073         (setPropertiesFromAttributes): Fetch the nowrap setting.
3074
3075 2006-11-09  Roman Kennke  <kennke@aicas.com>
3076
3077         * gnu/javax/swing/text/html/css/CSSParser.java
3078         (parseRuleset): Use new Selector class.
3079         (parseValue): Parse multiple anys, not only one.
3080         (main): Allow stylesheet be specified on the command line.
3081         Use new Selector class.
3082         * gnu/javax/swing/text/html/css/CSSParserCallback.java
3083         (startStatement): Use Selector class.
3084         * gnu/javax/swing/text/html/css/CSSScanner.java
3085         (readName): Actually read a character in the loop to avoid
3086         endless loop.
3087         * gnu/javax/swing/text/html/css/Length.java
3088         (getValue): Only multiply when we have a percentage value.
3089         * gnu/javax/swing/text/html/css/Selector.java:
3090         New class. Provides handling of CSS selectors.
3091         * javax/swing/text/html/StyleSheet.java
3092         (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
3093         (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
3094         (CSSStyle.PREC_NORM): New constant field.
3095         (CSSStyle.PREC_UA): New constant field.
3096         (CSSStyle.PREC_USER_IMPORTANT): New constant field.
3097         (CSSStyle.precedence): New field.
3098         (CSSStyle.priority): Removed.
3099         (CSSStyle.selector): New field.
3100         (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
3101         and precendence.
3102         (CSSStyle.compareTo): Adjusted to use the precedence and
3103         specificity of the selector.
3104         (CSSStyleSheetParserCallback.precedence): New field.
3105         (CSSStyleSheetParserCallback.selector): Removed.
3106         (CSSStyleSheetParserCallback.style): New field.
3107         (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
3108         Initialize with precedence.
3109         (CSSStyleSheetParserCallback.declaration): Don't look up
3110         existing rule, simply create new one.
3111         (CSSStyleSheetParserCallback.endStatement): Append style
3112         to stylesheet.
3113         (CSSStyleSheetParserCallback.startStatement): Use new Selector
3114         class.
3115         (css): Changed to be ArrayList.
3116         (addRule): Create parser with author-normal precendence.
3117         (getRule): Fixed implementation.
3118         (loadRules): Create parser with UA precendence.
3119         (resolveStyle): Use Selector class for resolving and matching
3120         stylesheet rules.
3121         (translateHTMLToCSS): Added mappings for a couple of HTML
3122         attributes.
3123
3124 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
3125
3126         Fixes bug #29770
3127         * java/beans/SimpleBeanInfo.java
3128         (loadImage): Check for nulls.
3129
3130 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
3131
3132         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3133         (getpeername): Added 16 byte offset to memcpy operation.
3134
3135 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
3136
3137         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3138         (getsockname): Added 16 byte offset to memcpy operation.
3139
3140 2006-11-08  Mark Wielaard  <mark@klomp.org>
3141
3142         Fixes bug #29754
3143         * java/io/OutputStreamWriter.java
3144         (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
3145         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
3146
3147 2006-11-08  Roman Kennke  <kennke@aicas.com>
3148
3149         * javax/swing/text/html/HTMLEditorKit.java
3150         (getParser): Use plain HTML_401F DTD.
3151         * javax/swing/text/html/HTMLDocument.java
3152         (HTMLReader.print): Removed method and all calls to it.
3153         (HTMLReader.printBuffer): Removed method and all calls to it.
3154         (HTMLReader.inImpliedParagraph): New field.
3155         (HTMLReader.inParagraph): New field.
3156         (HTMLReader.addContent): Create implied p-tag if necessary.
3157         (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
3158         (HTMLReader.blockClose): Close implied p-tag if necessary.
3159         (HTMLReader.blockOpen): Close implied p-tag if necessary.
3160         * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
3161
3162 2006-11-08  Roman Kennke  <kennke@aicas.com>
3163
3164         * javax/swing/text/html/HTMLEditorKit.java
3165         (HTMLFactory.create): Removed mapping for TD tag. This
3166         is done in TableView.
3167         * javax/swing/text/html/TableView.java:
3168         Implemented from scratch.
3169
3170 2006-11-07  Roman Kennke  <kennke@aicas.com>
3171
3172         * gnu/javax/swing/text/html/parser/support/Parser.java
3173         (_handleText): Check if text content is actually allowed before
3174         passing empty text fragments on to the parser callbacks.
3175
3176 2006-11-07  Mark Wielaard  <mark@klomp.org>
3177
3178         * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
3179         path.
3180         (flat): New method.
3181
3182 2006-11-07  Tania Bento  <tbento@redhat.com>
3183
3184         * java/awt/FlowLayout.java
3185         (getSize): If parent does not have a component, then a 
3186         different formula is used to calcuate the width.
3187
3188 2006-11-07  Roman Kennke  <kennke@aicas.com>
3189
3190         * javax/swing/text/html/HTMLEditorKit.java
3191         (HTMLFactory.create): Include ListView.
3192         * javax/swing/text/html/ListView.java
3193         (paint): Removed comment.
3194         * javax/swing/text/html/StyleSheet.java
3195         (CSSStyle.priority): New field.
3196         (CSSStyle.CSSStyle(int)): New constructor with priority.
3197         (CSSStyle.compareTo): New method. Used for sorting the styles.
3198         (CSSStyleSheetParserCallback.declaration): Store the style
3199         with the complete selector.
3200         (ListPainter.attributes): Renamed as field.
3201         (ListPainter.styleSheet): New field.
3202         (ListPainter.type): New field.
3203         (ListPainter.ListPainter): Pass StyleSheet to constructor.
3204         (ListPainter.paint): Provide simplistic implementation.
3205         (getListPainter): Pass StyleSheet to constructor.
3206         (resolveStyle): Fixed CSS style resolving.
3207
3208 2006-11-07  Roman Kennke  <kennke@aicas.com>
3209
3210         * gnu/javax/swing/text/html/css/BorderWidth.java:
3211         New class. Handles CSS border width values.
3212         * gnu/javax/swing/text/html/css/Length.java
3213         (floatValue): Made protected so that BorderWidth can access it.
3214         * javax/swing/text/html/CSS.java
3215         (Attribute.BORDER_BOTTOM_COLOR): New static field.
3216         (Attribute.BORDER_BOTTOM_STYLE): New static field.
3217         (Attribute.BORDER_LEFT_COLOR): New static field.
3218         (Attribute.BORDER_LEFT_STYLE): New static field.
3219         (Attribute.BORDER_RIGHT_COLOR): New static field.
3220         (Attribute.BORDER_RIGHT_STYLE): New static field.
3221         (Attribute.BORDER_TOP_COLOR): New static field.
3222         (Attribute.BORDER_TOP_STYLE): New static field.
3223         (getValue): Added some mappings for the border color and
3224         border width values.
3225         * javax/swing/text/html/CSSBorder.java: New class. Implements
3226         CSS borders.
3227         * javax/swing/text/html/StyleSheet.java
3228         (BoxPainter.background): New field.
3229         (BoxPainter.border): New field.
3230         (BoxPainter.bottomInset): Documented.
3231         (BoxPainter.leftInset): Documented.
3232         (BoxPainter.rightInset): Documented.
3233         (BoxPainter.topInset): Documented.
3234         (BoxPainter.BoxPainter): Added support for borders and background.
3235         (BoxPainter.getInset): Add border insets.
3236         (BoxPainter.paint): Implemented. Paints the background and the
3237         CSS border.
3238         (addRule): Be less picky about parse and IO exceptions.
3239         (getBoxPainter): Adjust to new BoxPainter constructor.
3240
3241 2006-11-07  Andreas  <a.tobler@schweiz.org>
3242
3243         * examples/Makefile.am: Add rule to install the *.html files we use
3244         in the Swing Demo.
3245
3246 2006-11-06  Francis Kung  <fkung@redhat.com>
3247
3248         * gnu/java/awt/peer/gtk/ComponentGraphics.java
3249         (fillRect): Handle custom composites.
3250         (drawRenderedImage): Handle custom composites.
3251         (drawImage): Handle custom composites.
3252         (createBuffer): New method.
3253         (drawLine): Handle custom composites.
3254         (drawComposite): New method.
3255         (fill): Handle custom composites.
3256         (getNativeCM): New method.
3257         (drawGlyphVector): Handle custom composites.
3258         (drawRect): Handle custom composites.
3259         (draw): Handle custom composites.
3260         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3261         (drawComposite): Unset composite during draw call, to prevent parent
3262         from handling composite again.
3263         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3264         (getBufferCM): Added comments.
3265         (getNativeCM): Made abstract.
3266         (setComposite): Removed comments.
3267
3268 2006-11-06  Roman Kennke  <kennke@aicas.com>
3269
3270         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3271         Fixed initial window size and start document.
3272
3273 2006-11-06  Roman Kennke  <kennke@aicas.com>
3274
3275         * javax/swing/text/html/HTMLDocument.java
3276         (HTMLReader.addSpecialElement): Removed comment about
3277         htmlAttributeSet.
3278         (HTMLReader.handleComment): Create SimpleAttributeSet instead
3279         of htmlAttributeSet.
3280         * javax/swing/text/html/parser/DocumentParser.java
3281         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3282         of htmlAttributeSet.
3283         * javax/swing/text/html/parser/ParserDelegator.java
3284         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3285         of htmlAttributeSet.
3286         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
3287         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3288         of htmlAttributeSet.
3289         * gnu/javax/swing/text/html/parser/support/Parser.java
3290         (getAttributes): Return a SimpleAttributeSet.
3291         (restOfTag): Don't set resolving parent here.
3292
3293 2006-11-06  Tania Bento  <tbento@redhat.com>
3294
3295         * java/awt/TextComponent.java
3296         (setSelectionStart): Added check.
3297
3298 2006-11-06  Tania Bento  <tbento@redhat.com>
3299
3300         * java/awt/TextField.java
3301         (minimumSize(int)): Check if minimum size has been previously
3302         set and changed values of Dimension returned if peer == null.
3303         (preferredSize(int)): Check if preferred size has been previously
3304         set and changed values of Dimension returned if peer == null.
3305
3306 2006-11-06  Roman Kennke  <kennke@aicas.com>
3307
3308         * javax/swing/JTree.java
3309         (TreeModelHandler.treeNodesRemoved): Implemented.
3310         (TreeModelHandler.treeStructureChanged): Implemented.
3311         (nodeStates): Made package private.
3312
3313 2006-11-06  Francis Kung  <fkung@redhat.com>
3314
3315         PR 29420
3316         * javax/swing/JTree.java
3317         (clearSelectionPathStates): New private method to clean up nodeStates.
3318         (removeSelectionPath): Call clearSelectionPathStates().
3319         (removeSelectionPaths): Call clearSelectionPathStates().
3320         (removeSelectionRow): Call clearSelectionPathStates().
3321         (setSelectionPath): Call clearSelectionPathStates().
3322         (setSelectionPaths): Call clearSelectionPathStates().
3323         (setSelectionRow): Call clearSelectionPathStates().
3324
3325 2006-11-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3326
3327         Fixes bug #29703
3328         * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
3329
3330 2006-11-06  Roman Kennke  <kennke@aicas.com>
3331
3332         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3333         Changed to implement a minimalistic browser.
3334         * examples/gnu/classpath/examples/swing/forms.html,
3335         * examples/gnu/classpath/examples/swing/textstyles.html,
3336         * examples/gnu/classpath/examples/swing/welcome.html:
3337         Some example content.
3338
3339 2006-11-06  Roman Kennke  <kennke@aicas.com>
3340
3341         * javax/swing/text/ComponentView.java
3342         (setParent): Lock the document and repaint the hosting
3343         container.
3344         * javax/swing/text/FlowView.java
3345         (FlowStrategy.createView): Removed comment.
3346         (FlowView): Initialize span with Short.MAX_VALUE.
3347         (getFlowStart): Return 0 unconditionally.
3348         (layout): Moved code around to make it more readable.
3349         (loadChildren): Always set the parent.
3350         * javax/swing/text/GlyphView.java
3351         (DefaultGlyphPainter.fontMetrics): New field.
3352         (DefaultGlyphPainter.getAscent): Use new helper method to
3353         synchronize the font metrics.
3354         (DefaultGlyphPainter.getBoundedPosition): Use new helper method
3355         to synchronize the font metrics.
3356         (DefaultGlyphPainter.getDescent): Use new helper method to
3357         synchronize the font metrics.
3358         (DefaultGlyphPainter.getHeight): Use new helper method to
3359         synchronize the font metrics.
3360         (DefaultGlyphPainter.getSpan): Use new helper method to
3361         synchronize the font metrics.
3362         (DefaultGlyphPainter.modelToView): Use new helper method to
3363         synchronize the font metrics.
3364         (DefaultGlyphPainter.updateFontMetrics): New helper method for
3365         font metrics caching.
3366         (DefaultGlyphPainter.viewToModel): Use new helper method to
3367         synchronize the font metrics. Fixed view to model mapping.
3368         * javax/swing/text/View.java
3369         (removeAll): Pass null to replace().
3370         (setParent): Only reparent children that have this view as parent.
3371
3372 2006-11-05  Mark Wielaard  <mark@klomp.org>
3373
3374         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3375         * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3376         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3377         Removed.
3378         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3379         Removed.
3380         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3381         Remove gnu_java_nio_channels_FileChannelImpl.c.
3382
3383 2006-11-03  Roman Kennke  <kennke@aicas.com>
3384
3385         * javax/swing/text/html/BlockView.java
3386         (attributes): New field.
3387         (cssHeight): New field.
3388         (cssWidth): New field.
3389         (painter): New field.
3390         (calculateMajorAxisRequirements): Overridden to account for
3391         CSS settings.
3392         (calculateMinorAxisRequirements): Overridden to account for
3393         CSS settings.
3394         (layoutMinorAxis): Overridden to account for CSS settings.
3395         (changedUpdate): Formatting fixlet.
3396         (constrainSize): New helper method.
3397         (getAlignment): Fix alignment.
3398         (getAttributes): Cache attributes for better performance.
3399         (getStyleSheet): Fetch stylesheet from document rather than creating
3400         a new one.
3401         (paint): Remove comment.
3402         (setCSSSpan): New helper method.
3403         (setPropertiesFromAttributes): Implemented to fetch the
3404         recognized properties.
3405         * javax/swing/text/html/CSS.java
3406         (getValue): Added mapping for width and height attributes.
3407         * javax/swing/text/html/InlineView.java
3408         (longestWord): New field.
3409         (getLongestWord): New helper method.
3410         (calculateLongestWord): New helper method.
3411         (getMinimumSpan): Overridden to constrain the minimum span by the
3412         longest word.
3413         * javax/swing/text/html/ParagraphView.java
3414         (cssHeight): New field.
3415         (cssWidth): New field.
3416         (calculateMinorAxisRequirements): Overridden to account for
3417         CSS settings.
3418         (setCSSSpan): New helper method.
3419         (setPropertiesFromAttributes): Fetch CSS width and height. Added
3420         null check.
3421         * gnu/javax/swing/text/html/css/Length.java
3422         (percentage): New field.
3423         (Length): Determine percentage values.
3424         (getValue(float)): New method for handling percentage values.
3425         (isPercentage): New method.
3426
3427 2006-11-03  Tania Bento  <tbento@redhat.com>
3428
3429         * java/awt/TextArea.java
3430         (getMinimumSize): Changed documentation.
3431         (getPreferredSize): Changed documentation.
3432         (getMinimumSize(int,int)): Changed documenation.
3433         (getPreferredSize(int,int)): Changed documenation.
3434         (minimumSize): Changed documentation.
3435         (preferredSize): Changed documenation.
3436         (minimumSize(int,int)): Changed documentation.  Checked if 
3437         minimum size had been previously set and changed values of
3438         Dimension returned if peer == null.
3439         (preferredSize(int, int)): Checked if preferred size had been
3440         previously set and changed values of Dimension returned if
3441         peer = null.
3442
3443 2006-11-03  Tania Bento  <tbento@redhat.com>
3444
3445         * java/awt/event/ComponentEvent.java
3446         (paramString): Changed format of string representation returned.
3447
3448 2006-11-03  Roman Kennke  <kennke@aicas.com>
3449
3450         * javax/swing/text/html/HTMLDocument.java
3451         (HTMLReader.FormAction.start): Added support for textarea.
3452         (HTMLReader.FormAction.end): Added support for textarea.
3453         (HTMLReader.HeadAction.end): Call super to actually close the
3454         block.
3455         (HTMLReader.inTextArea): New field.
3456         (HTMLReader.textAreaDocument): New field.
3457         (HTMLReader.handleText): Call textAreaContent when inside
3458         a textarea tag.
3459         (HTMLReader.textAreaContent): Implemented to initialize
3460         the text area's model.
3461         * javax/swing/text/html/FormView.java
3462         (createComponent): Added support for textarea tag.
3463
3464 2006-11-03  Roman Kennke  <kennke@aicas.com>
3465
3466         * javax/swing/text/html/HTMLDocument.java
3467         (HTMLReader.IsindexAction.start): Implemented.
3468
3469 2006-11-03  Roman Kennke  <kennke@aicas.com>
3470
3471         * javax/swing/text/html/StyleSheet.java
3472         (addRule): Implemented.
3473         * javax/swing/text/html/HTMLDocument.java
3474         (HTMLReader.inStyleTag): New field.
3475         (HTMLReader.styles): New field.
3476         (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3477         if any.
3478         (HTMLReader.StyleAction.start): Set inStyleTag flag.
3479         (HTMLReader.StyleAction.end): Set inStyleTag flag.
3480         (HTMLReader.handleText): When inside a style tag, add
3481         content to the styles array.
3482
3483 2006-11-02  Roman Kennke  <kennke@aicas.com>
3484
3485         * javax/swing/text/html/FormView.java
3486         (maxIsPreferred): New field.
3487         (createComponent): Initialize components correctly.
3488         (getMaximumSpan): Return the preferred span for components
3489         that need this. The maxIsPreferred flag is set accordingly
3490         in createComponent.
3491         * javax/swing/text/html/HTMLDocument.java
3492         (HTMLReader.FormAction.start): Implemented to set the
3493         correct model as attribute.
3494         (HTMLReader.FormAction.setModel): New helper method.
3495         (HTMLReader.FormAction.end): Call super to finish the element.
3496         Added TODO about things left to do.
3497         (HTMLReader.handleComment): Use SimpleAttributeSet rather
3498         than htmlAttributeSet.
3499         * javax/swing/text/html/HTMLEditorKit.java
3500         (HTMLFactory.create): Create BlockView for FORM tags.
3501         Create FormView for INPUT, TEXTAREA and SELECT tags.
3502
3503 2006-11-02  David Gilbert  <david.gilbert@object-refinery.com>
3504
3505         * java/awt/geom/GeneralPath.java: API doc fixes.
3506
3507 2006-11-02  Roman Kennke  <kennke@aicas.com>
3508
3509         * javax/swing/text/html/ImageView.java
3510         (getImageURL): Fetch attribute from element. Consider the
3511         base URL for relative image locations.
3512
3513 2006-11-02  Roman Kennke  <kennke@aicas.com>
3514
3515         * javax/swing/JEditorPane.java
3516         (setContentType): Strip off attributes.
3517         * javax/swing/text/html/HTMLEditorKit.java
3518         (LinkController.activateLink(int,JEditorPane,int,int): New
3519         method. Implements activation of a hyperlink.
3520         (LinkController.activateLinke(int,JEditorPane)): Delegate
3521         to the other activateLink() method.
3522         (LinkController.createHyperlinkEvent): New helper method.
3523         (LinkController.mouseClicked): Implemented to activate the link.
3524         (LinkController.mouseDragged): Added comment that this
3525         method does nothing.
3526         (LinkController.mouseMoved): Update cursor for hyperlinks.
3527         (mouseHandler): Renamed field to linkController.
3528         (HTMLEditorKit): Create a link controller.
3529         (clone): Give the clone a new link controller.
3530         (deinstall): De-install link controller as mouseMotionListener too.
3531         (install): Install link controller as mouseMotionListener too.
3532
3533 2006-11-02  Roman Kennke  <kennke@aicas.com>
3534
3535         PR 29644
3536         * javax/swing/text/FlowView.java
3537         (FlowStrategy.changedUpdate): Reversed condition. This caused
3538         wrong layout and bad performance.
3539         (FlowStrategy.insertUpdate): Reversed condition. This caused
3540         wrong layout and bad performance.
3541         (FlowStrategy.removeUpdate): Reversed condition. This caused
3542         wrong layout and bad performance.
3543         (LogicalView): Changed to be a subclass of CompositeView.
3544         (LogicalView()): Only take one Element argument.
3545         (LogicalView.childAllocation): New method for implementing
3546         the abstract CompositeView method.
3547         (LogicalView.forwardUpdateToView): Overridden for correct
3548         reparenting.
3549         (getMinimumSpan): Overridden to handle line breaking correctly.
3550         (getPreferredSpan): Implemented to handle line breaking correctly.
3551         (getViewAtPoint): New method for implementing
3552         the abstract CompositeView method.
3553         (getViewIndexAtPosition): Overridden to handle leaf elements
3554         correctly.
3555         (isAfter): New method for implementing
3556         the abstract CompositeView method.
3557         (isBefore): New method for implementing
3558         the abstract CompositeView method.
3559         (loadChildren): Overridden to handle leaf elements
3560         correctly.
3561         (paint): New method for implementing
3562         the abstract CompositeView method.
3563         (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3564         (loadChildren): Initialize flow layout by sending a synthetic
3565         insertUpdate() to the layout strategy.
3566         * javax/swing/text/GlyphView.java
3567         (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3568         font metrics if component is not available. Add initial offset
3569         to result.
3570         (breakView): Be more clever when breaking the view.
3571         (getBreakLocation): New helper method to determine a good
3572         break location.
3573         (getBreakWeight): Be more clever when breaking the view.
3574         (getTabbedSpan): Make sure we have a painter. Use view's
3575         start and end offset rather than the element's.
3576         * javax/swing/text/Utilities.java
3577         (drawTabbedText): Avoid useless add and sub with the y offset.
3578
3579 2006-11-02  Roman Kennke  <kennke@aicas.com>
3580
3581         PR 29644
3582         * gnu/java/awt/peer/ClasspathFontPeer.java
3583         (getStringBounds): Removed abstract method. This is replaced
3584         in java.awt.Font to use a TextLayout.
3585         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3586         (GtkWindowPeer): Set a font on the window object.
3587         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3588         (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3589         Changed to take char,int,int instead of String. Filter
3590         control characters.
3591         (FreetypeGlyphVector(Font,String,FontRenderContext)):
3592         Create char array out of string.
3593         (getLogicalBounds): Don't translate bounds. They already are
3594         translated.
3595         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3596         (stringWidth): Filter out control characters.
3597         * gnu/java/awt/peer/gtk/GdkFontPeer.java
3598         (getStringBounds): Removed unneeded method.
3599         (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3600         constructor.
3601         * gnu/java/awt/peer/qt/QtFontPeer.java
3602         (getStringBounds): Removed unneeded method.
3603         * gnu/java/awt/peer/x/XFontPeer.java
3604         (getStringBounds): Removed unneeded method.
3605         * gnu/java/awt/peer/x/XFontPeer2.java
3606         (getStringBounds): Removed unneeded method.
3607         * java/awt/Font.java
3608         (getStringBounds(char[],int,int,FontRenderContext)):
3609         Use TextLayout to determine the bounds.
3610         (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3611         Delegate to the char[] version of this method.
3612         (getStringBounds(String,FontRenderContext)):
3613         Delegate to the char[] version of this method.
3614         (getStringBounds(String,int,int,FontRenderContext)):
3615         Delegate to the String version of this method.
3616
3617 2006-11-01  Tania Bento  <tbento@redhat.com>
3618
3619         * java/awt/ScrollPaneAdjustable.java
3620         (paramString): Changed format of string representation returned.
3621         (paramStringHelper): New private method.
3622
3623 2006-11-01  Tania Bento  <tbento@redhat.com>
3624
3625         * java/awt/GridBagLayout.java
3626         (toString): Implemented method.
3627
3628 2006-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3629
3630         * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3631         initialization to NP_Initialize.
3632         (NP_Initialize): Initialize GLib threading.
3633
3634 2006-10-31  Tania Bento  <tbento@redhat.com>
3635
3636         * javax/swing/JTextField.java
3637         (fireActionPerformed): When creating the new event, if
3638         actionCommand == null, then getText() is used.
3639
3640 2006-10-31  Francis Kung  <fkung@redhat.com>
3641
3642         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3643         (fillArc): Corrected arc type to Arc2D.PIE.
3644
3645 2006-10-31  Roman Kennke  <kennke@aicas.com>
3646
3647         * javax/swing/text/html/HTMLDocument.java
3648         (HTMLReader.PreAction.end): Implemented.
3649         (HTMLReader.PreAction.start): Implemented.
3650         (HTMLReader.inPreTag): New field.
3651         (HTMLReader.handleTag): When inside a pre tag, call preContent().
3652         (HTMLReader.preContent): Implemented.
3653
3654 2006-10-31  Tania Bento  <tbento@redhat.com>
3655
3656         * javax/swing/JTextField.java
3657         (fireActionPerformed): When creating the new event, 
3658         actionCommand should be used as the command, not
3659         getText().
3660
3661 2006-10-31  Roman Kennke  <kennke@aicas.com>
3662
3663         * javax/swing/text/html/HTMLEditorKit.java
3664         (write): Use HTMLWriter or MinimalHTMLWriter for writing
3665         HTML or Styled documents.
3666
3667 2006-10-31  David Fu  <fchoong@netbeans.jp>
3668
3669         * javax/swing/text/html/HTMLWriter.java: New class.
3670
3671 2006-10-30  Roman Kennke  <kennke@aicas.com>
3672
3673         * java/awt/dnd/DragSourceContext.java
3674         (dragExit): Use constant fields instead of 0.
3675         (updateCurrentCursor): Completed implementation.
3676
3677 2006-10-30  Roman Kennke  <kennke@aicas.com>
3678
3679         * java/awt/dnd/DragGestureRecognizer.java
3680         (resetRecognizer): Added API docs. Do not replace the events object
3681         but rather clear() it. Removed not implemented tag.
3682
3683 2006-10-30  Roman Kennke  <kennke@aicas.com>
3684
3685         * java/awt/datatransfer/DataFlavor.java
3686         (writeExternal): Remove not implemented tag.
3687
3688 2006-10-30  Roman Kennke  <kennke@aicas.com>
3689
3690         * java/awt/datatransfer/DataFlavor.java
3691         (javaFileListFlavor): Don't explicitly specify class.
3692         (plainTextFlavor): Don't explicitly specify class.
3693         (mimeType): Changed to type MimeType. Remove final.
3694         (representationClass): Remove final.
3695         (DataFlavor): Don't do anything here.
3696         (DataFlavor(Class,String,String)): Removed.
3697         (DataFlavor(Class,String)): Initialize here.
3698         (DataFlavor(String,String,ClassLoader)): Initialize in init().
3699         (DataFlavor(String,String)): Initialize in init().
3700         (DataFlavor(String)): Initialize in init().
3701         (init): New initialization method.
3702         (getMimeType): Delegate to MimeType.toString().
3703         (getParameter(String,String)): Removed. Is now done in MimeType.
3704         (getParameter(String)): Delegate to MimeType.
3705         (getPrimaryType): Delegate to MimeType.
3706         (getRepresentationClassFromMime): Removed.
3707         (getRepresentationClassFromMimeThrows): Removed.
3708         (getSubType): Delegate to MimeType.
3709         (hashCode): Take MimeType.toString() for the hashCode.
3710         (isFlavorRemoveObjectType): Return true only when representation
3711         class is remove and serializable and the mime type is remote.
3712         (isFlavorSerializedObjectType): Return true only when representation
3713         class is serializable and the mime type is serialized.
3714         (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3715         (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3716         (readExternal): Implemented stub method.
3717         (writeExternal): Implemented stub method.
3718         * java/awt/datatransfer/MimeType.java: New helper class.
3719
3720 2006-10-28  Roman Kennke  <kennke@aicas.com>
3721
3722         * javax/swing/TransferHandler.java
3723         (importData): Implemented stub method. Added API docs.
3724
3725 2006-10-26  Christian Elias Naur  <elias@oddlabs.com>
3726
3727         * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3728         function.
3729         * native/jni/classpath/classpath_jawt.h: Likewise.
3730         * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3731         initializer for surface_info_x11->depth.
3732
3733 2006-10-26  Tania Bento  <tbento@redhat.com>
3734         
3735         * java/awt/FileDialog.java:
3736         (setFile): Changed if-clause condition.
3737
3738 2006-10-25  Francis Kung  <fkung@redhat.com>
3739
3740         * include/gnu_java_nio_VMChannel.h,
3741         * include/java_net_VMNetworkInterface.h,
3742         * include/gnu_java_nio_EpollSelectorImpl.h,
3743         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3744         * include/gnu_java_nio_FileChannelImpl.h,
3745         * include/gnu_java_nio_KqueueSelectorImpl.h,
3746         * include/gnu_java_nio_VMPipe.h,
3747         * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3748
3749 2006-10-25  Tania Bento  <tbento@redhat.com>
3750
3751         * java/awt/Dialog.java: Created new private variable
3752         next_dialog_number.
3753         (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3754         Set cursor to default cursor.
3755         (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3756         Same.
3757         (generateName): New method.
3758         (getUniqueLong): New private method.
3759         * java/awt/FileDialog.java: Created new private variable
3760         next_file_dialog_number.
3761         (setFile): If file == "", set it to null.
3762         (generateName): New method.
3763         (getUniqueLong): New private method.
3764
3765 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3766
3767         * java/net/MulticastSocket.java:
3768         (setNetworkInterface): Rewritten.
3769
3770 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3771
3772         * native/jni/java-net/javanet.h: Added declaration for
3773         _javanet_create_inetaddress.
3774         * native/jni/java-net/javanet.c:
3775         (_javanet_create_inetaddress): Removed static keyword.
3776
3777 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3778
3779         * gnu/java/net/PlainDatagramSocketImpl.java:
3780         (connect): Use VMChannel instance for connect call.
3781         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3782         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3783         (setOption): Handle multicast options.
3784         (getOption): Handle multicast options.
3785         * gnu/java/net/PlainSocketImpl.java:
3786         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3787         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3788         (setOption): Filter unappropriate options.
3789         (getOption): Filter unappropriate options.
3790         (connect): Use given SocketAddress.
3791         (close): Reset address and port.
3792         (getInetAddress): 
3793         * include/Makefile.am: Removed all occurences of
3794         gnu_java_net_VMPlainDatagramSocketImpl.h.
3795         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3796         * native/jni/java-net/Makefile.am: Removed
3797         gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3798         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3799         Removed.
3800         as SocketException, declare to throw SocketException.
3801         * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3802         for SocketException and ConnectException.
3803         (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3804         of IOException.
3805         (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3806         of IOException.
3807         (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3808         (JCL_thread_interrupted): New function.
3809         (initIDs): Added initialisation for isThreadInterrupted method id.
3810         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3811         CPNET_IP_TTL to java_sockopt enum.
3812         (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3813         case, handle SO_LINGER case properly.
3814         (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3815         case, handle SO_LINGER case properly.
3816         (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3817         function.
3818         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3819         function.
3820         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3821         function.
3822         (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3823         IPV6_LEAVE_GROUP.
3824         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3825         * vm/reference/gnu/java/nio/VMChannel.java:
3826         (connect(int, byte[], int, int)): Declare to throw SocketException.
3827         (connect6): Declare to throw SocketException.
3828         (connect(InetSocketAddress, int)): Catch IOException and rethrow
3829         (isThreadInterrupted): New method.
3830         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3831         field.
3832         (setTimeToLive): New method.
3833         (getTimeToLive): New method.
3834         (setMulticastInterface(int, InetAddress)): New method.
3835         (setMulticastInterface(int, int, Inet4Address): New method.
3836         (setMulticastInterface6(int, int, Inet6Address): New method.
3837         (setOptions): Handle SO_LINGER case.
3838         (getOptions): Add missing SO_REUSEADDR case.
3839         * java/net/Socket.java:
3840         (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3841         when exception was thrown out of connect().
3842         (setSoLinger): Replaced instantiations with valueOf calls, replaced
3843         Boolean.FALSE with Integer.valueOf(-1).
3844         * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3845         * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3846         * NEWS: Documented VM interface changes.
3847
3848 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3849
3850         * java/net/Inet6Address.java:
3851         (isMulticastAddress): Fixed check.
3852
3853 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3854
3855         Fixes PR29576
3856         * java/net/MulticastSocket.java:
3857         (getNetworkInterface): Return a special NetworkInterface instance
3858         if the socket's multicast interface is set to any.
3859
3860 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3861
3862         Fixes PR29576
3863         * java/net/NetworkInterface.java:
3864         (createAnyInterface): New method.
3865         (equals): Added if-statement to handle case where netif.name is null.
3866         * vm/reference/java/net/VMNetworkInterface.java:
3867         (hashCode): Rewritten.
3868         (VMNetworkInterface): New constructor.
3869
3870 2006-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
3871
3872         * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3873         * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3874         Add ASM_JAR to bootclasspath.
3875
3876 2006-10-24  Tania Bento  <tbento@redhat.com>
3877
3878         * java/awt/Scrollbar.java:
3879         (setLineIncrement): Removed unnecessary if-clause and if 
3880         lineIncrement == 0, then it should be set to 1, not 0.
3881         (setPageIncrement): Removed unnecessary if-clause and if
3882         pageIncrement == 0, then it should be set to 1, not 0.
3883         (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3884         If maximum <= minimum, maximum should be set to mininum + 1. The
3885         actual value of maximum is maximum - visibleAmount, so I made 
3886         this change to the appropriate if-check. Remove the two unneccessary
3887         if-clauses.
3888
3889 2006-10-23  Francis Kung  <fkung@redhat.com>
3890
3891         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3892         (cairoSetFont): New method.
3893         (copy): Set font using setFont method.
3894         (setFont): Call cairoSetFont.
3895         (setup): Set font using setFont method.
3896         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3897         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3898         (install_font_peer): Removed.
3899         (cairoDrawGlyphVector): Removed call to install_font_peer.
3900         (cairoSetFont): New method.
3901
3902 2006-10-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3903
3904         * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3905         * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3906         NativeEventLoopRunningEvent after GTK main loop start and stop.
3907         * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3908         (getNextEvent): Set dispatchThread to null.
3909         (postEventImpl): Set nativeLoopRunning.
3910         (pop): Interrupt event dispatch thread.
3911         * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3912
3913 2006-10-22  Christian Thalinger  <twisti@complang.tuwien.ac.at>
3914
3915         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3916         Added include.
3917         * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3918         Likewise.
3919
3920 2006-10-23  Marco Trudel <mtrudel@gmx.ch>
3921
3922         * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3923         * javax/crypto/CipherOutputStream.java: Re-implemented.
3924         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3925         (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3926         decryption mode and check if it is a complete block.
3927         (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3928         (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3929         partially processed data into account.
3930
3931 2006-10-21  Tom Tromey  <tromey@redhat.com>
3932
3933         PR classpath/29086:
3934         * java/util/AbstractCollection.java (toArray): Removed cast.
3935
3936 2006-10-20  Tom Tromey  <tromey@redhat.com>
3937
3938         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3939         Don't use mangled class name for .h file.
3940         * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3941         Don't use mangled class name for .c file.
3942         * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3943         Handle classes from the default package.
3944
3945 2006-10-20  Francis Kung  <fkung@redhat.com>
3946
3947         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3948
3949 2006-10-19  Francis Kung  <fkung@redhat.com>
3950
3951         PR 29510
3952         * java/awt/image/BufferedImage.java
3953         (constructor): Updated some properties of default image types.
3954         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3955         (argb32): Updated field to match default in BufferedImage.
3956
3957 2006-10-18  Roman Kennke  <kennke@aicas.com>
3958
3959         PR 29419
3960         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3961         (copyArea): Changed size comparison to return when size == 0
3962         too.
3963         * javax/swing/JViewport.java
3964         (paintBackingStore): Check width and height of blitted area
3965         and only do blit if its > 0.
3966         (paintBlit): Check width and height of blitted area
3967         and only do blit if its > 0.
3968
3969 2006-10-18  Roman Kennke  <kennke@aicas.com>
3970
3971         PR 27091
3972         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3973         (maximize): New native method.
3974         (unmaximize): New native method.
3975         (iconify): New native method.
3976         (deiconify): New native method.
3977         (getState): Implemented.
3978         (setState): Implemented.
3979         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3980         (oldState): Rename to windowState and made protected, so that
3981         the FramePeer can access it.
3982         (postWindowEvent): Handle state change events more gently and
3983         correctly.
3984         * java/awt/Frame.java
3985         (getState): Fetch state from getExtendedState().
3986         (setExtendedState): Update the peer. Check if the state change
3987         is actually supported.
3988         (getExtendedState): Update the state from the peer.
3989         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3990         (maximize): New method.
3991         (unmaximize): New method.
3992         (iconify): New method.
3993         (deiconify): New method.
3994         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3995         (AWT_FRAME_NORMAL): New macro.
3996         (AWT_FRAME_ICONIFIED): New macro.
3997         (AWT_FRAME_MAXIMIZED_BOTH): New macro.
3998         (window_window_state_cb): Rewritten to handle window state changes
3999         more gently (mostly on the java side of the world).
4000         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
4001
4002 2006-10-18  Tania Bento  <tbento@redhat.com>
4003
4004         * java/awt/CardLayout.java:
4005         (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
4006         its height and width if Container passed as argument is null.
4007         (gotoComponent): Consider the case where the component is not visible.
4008
4009 2006-10-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
4010
4011         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
4012         Rename file...
4013         * resource/gnu/classpath/tools/appletviewer/messages.properties:
4014         New file.
4015         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
4016         Remove file.
4017         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
4018         Remove file.
4019         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
4020         Likewise.
4021         * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
4022         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
4023         Retrieve user-visible strings through Messages.getString.
4024         * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
4025         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
4026         Likewise.
4027         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
4028         Likewise.
4029         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
4030         Likewise.
4031         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
4032         Likewise.
4033         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
4034         Likewise.
4035         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
4036         Likewise.
4037
4038 2006-10-18  Roman Kennke  <kennke@aicas.com>
4039
4040         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4041         (AWT_WINDOW_OPENED): Remove unnecessary macro.
4042         (window_show_cb): Removed unnecessary function.
4043         (connect_signals): Don't connect signal for show.  *
4044         gnu/java/awt/peer/gtk/GtkWindowPeer.java
4045         (hasBeenShown): Removed. This is handled in java.awt.Window.
4046         (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
4047         in java.awt.Window.  * java/awt/Window.java
4048         (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
4049
4050 2006-10-18  Francis Kung  <fkung@redhat.com>
4051
4052         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
4053         (drawRenderedImage):  New method.
4054         (drawImage): New method.
4055         (CairoSurfaceGraphics): Set clip.
4056         (createBuffer): New method.
4057         (getBufferCM): New method.
4058         (drawComposite): New method.
4059         (fill): New method.
4060         (getNativeCM): New method.
4061         (drawGlyphVector): New method.
4062         (draw): New method.
4063         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4064         (getNativeCM): Reflect renamed field.
4065         * gnu/java/awt/peer/gtk/CairoSurface.java
4066         (cairoCM_pre): Renamed from cairoColorModel.
4067         (cairoColorModel): Set premultiplication to false.
4068
4069 2006-10-18  Roman Kennke  <kennke@aicas.com>
4070
4071         PR 28769
4072         * javax/swing/JScrollPane.java
4073         (viewportBorder): Made field private.
4074         (wheelScrollingEnabled): Made field private.
4075         (JScrollPane): Enabled wheel scrolling by default.
4076         * javax/swing/JTree.java
4077         (TreeSelectionRedirector.valueChanged): Don't repaint anything
4078         here.
4079         (getScrollableUnitIncrement): Fixed thinko.
4080         * javax/swing/plaf/basic/BasicScrollBarUI.java
4081         (static scrollByBlock): New static method to avoid code duplication
4082         for the BasicScrollPane wheel scrolling.
4083         (static scrollByUnits): New static method to avoid code duplication
4084         for the BasicScrollPane wheel scrolling.
4085         (scrollByBlock): Delegate to static helper method.
4086         (scrollByUnit): Delegate to static helper method.
4087         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4088         (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
4089         static helper methods to avoid code duplication.
4090         (MouseWheelHandler.bounds): Removed.
4091         (MouseWheelHandler.getValue): Removed.
4092         (MouseWheelHandler.scroll): Removed.
4093
4094 2006-10-18  Roman Kennke  <kennke@aicas.com>
4095
4096         PR 29502
4097         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4098         (updateComponent): Don't override this here.
4099         * java/awt/Window.java
4100         (addWindowListener): Ignore null listener. Set newEventsOnly flag.
4101         (addWindowFocusListener): Ignore null listener. Set newEventsOnly
4102         flag.
4103         (addWindowStateListener): Ignore null listener. Set newEventsOnly
4104         flag.
4105
4106 2006-10-18  Roman Kennke  <kennke@aicas.com>
4107
4108         * javax/swing/JEditorPane.java
4109         (getStream): Try to detect and set the content type of the
4110         connection stream.
4111
4112 2006-10-18  Roman Kennke  <kennke@aicas.com>
4113
4114         * javax/swing/RepaintManager.java
4115         (RepaintWorkerEvent): Pass full set of params to super.
4116         (RepaintWorker.dispatch): Overridden to allow apps to call this
4117         via reflection.
4118         (addDirtyRegion): Synchronize a little more to protect the
4119         dirtyComponents field and avoid NPEs.
4120         (invokeLater): Pass full set of params to RepaintWorkerEvent
4121         constructor.
4122
4123 2006-10-18  Roman Kennke  <kennke@aicas.com>
4124
4125         * javax/swing/JEditorPane.java
4126         (page): Removed field. The page is now stored in the correct
4127         document property.
4128         (getPage): Fetch page URL from document property.
4129         (read): Set the document for this JEditorPane. Use a Reader
4130         for reading in the document.
4131         (setPage): Call getStream() to get the stream from which we read.
4132         Fire property change. Store page in document property.
4133
4134 2006-10-18  Roman Kennke  <kennke@aicas.com>
4135
4136         * java/awt/datatransfer/DataFlavor.java
4137         (DataFlavor(String)): Removed check for space in mime string.
4138
4139 2006-10-18  Roman Kennke  <kennke@aicas.com>
4140
4141         * java/awt/Container.java
4142         (validateTree): Call ContainerPeer.begin|endLayout() rather than
4143         begin|endValidate().
4144         (validate): Call ContainerPeer.begin|endValidate() here.
4145         Added some local vars to avoid NPEs.
4146
4147 2006-10-18  Roman Kennke  <kennke@aicas.com>
4148
4149         * native/target/.cvsignore
4150         * native/target/Linux/.cvsignore
4151         * native/target/generic/.cvsignore:
4152         Added to let CVS ignore the generated Makefile and Makefile.in
4153         files.
4154
4155 2006-10-18  Roman Kennke  <kennke@aicas.com>
4156
4157         PR 29448
4158         * java/awt/Window.java
4159         (eventTypeEnabled): Overridden to handle WindowEvents.
4160         (processEvent): Switch between processWindowEvent(),
4161         processWindowFocusEvent() and processWindowStateEvent() here,
4162         rather than simply calling processWindowEvent().
4163         (processWindowEvent): Only dispatch event to listener, do not
4164         switch to processWindowFocusEvent() or processWindowStateEvent()
4165         here.
4166         * javax/swing/JFrame.java
4167         (frameInit): Explicitly enable window and key events here.
4168         (processWindowEvent): Throw out some unnecessary code.
4169         * javax/swing/JWindow.java
4170         (windowInit): Explicitly enable key events here.
4171         * javax/swing/JDialog.java
4172         (close_action): Renamed to closeAction.
4173         (dialogInit): Explicitly enable window events here.
4174         (getDefaultCloseOperation): Renamed close_action to closeAction.
4175         (processWindowEvent): Throw out some unnecessary code.
4176         Renamed close_action to closeAction.
4177         (setDefaultCloseOperation): Renamed close_action to closeAction.
4178
4179 2006-10-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
4180
4181         * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
4182         to track native GTK event loop status.
4183         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
4184         clear running flag when native GTK event loop starts and stops.
4185
4186 2006-10-17  Roman Kennke  <kennke@aicas.com>
4187
4188         * javax/swing/TransferHandler.java
4189         (exportToClipboard): Implemented.
4190
4191 2006-10-17  Francis Kung  <fkung@redhat.com>
4192
4193         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
4194         region to account for pixel-shifting.
4195         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
4196         proctected.
4197
4198 2006-10-17  Francis Kung  <fkung@redhat.com>
4199
4200         PR 29450
4201         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
4202         (getLogicalBounds): Translate individual glyphs before appending bounds.
4203         (getOutline): Translate individual glyphs before appending outline.
4204
4205 2006-10-17  Cameron McCormack  <cam@mcc.id.au>
4206
4207         PR 29014
4208         * java/awt/font/TextLayout.java
4209         (bidi): New field.
4210         (constructor): Store bidi in field.
4211         (getCharacterLevel): Implemented.
4212
4213 2006-10-17  Roman Kennke  <kennke@aicas.com>
4214
4215         * javax/swing/TransferHandler.java
4216         (PropertyTransferable): New inner class. Handles transfers
4217         from component properties.
4218         (createTransferable): Implemented.
4219
4220 2006-10-17  Francis Kung  <fkung@redhat.com>
4221
4222         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4223         (drawComposite): Ensure composite does not extend beyond buffer
4224         bounds.
4225         * java/awt/image/Raster.java
4226         (createChild): Ensure child does not extend beyond parent's
4227         bounds.
4228         * java/awt/image/WritableRaster.java
4229         (createWritableChild): Ensure child does not extend beyond
4230         parent's bounds.
4231
4232 2006-10-17  Jeroen Frijters  <jeroen@frijters.net>
4233
4234         * native/jni/classpath/jcl.c
4235         (JNI_OnLoad): Corrected calling convention.
4236
4237 2006-10-16  Roman Kennke  <kennke@aicas.com>
4238
4239         * javax/swing/TransferHandler.java
4240         (propertyName): New field.
4241         (TransferHandler(String)): Store property name in field.
4242         (canImport): Implemented stub method.
4243         (exportDone): This is a no-op. Removed not-implemented mark.
4244         (getPropertyDataFlavor): New helper method.
4245         (getPropertyDescriptor): New helper method.
4246
4247 2006-10-16  Roman Kennke  <kennke@aicas.com>
4248
4249         * javax/swing/AbstractButton.java
4250         (AccessibleJButton.getAfterIndex): Implemented.
4251         (AccessibleJButton.getAtIndex): Implemented.
4252         (AccessibleJButton.getBeforeIndex): Implemented.
4253         (AccessibleJButton.getCharacterAttribute): Completed incomplete
4254         method implementation.
4255
4256 2006-10-16  Roman Kennke  <kennke@aicas.com>
4257
4258         * javax/swing/JLabel.java
4259         (AccessibleJLabel.getIndexAtPoint): Implemented.
4260         (AccessibleJLabel.getCharacterBounds): Implemented.
4261         (AccessibleJLabel.getTextRectangle): New helper method.
4262
4263 2006-10-16  Roman Kennke  <kennke@aicas.com>
4264
4265         * javax/swing/filechooser/FileSystemView.java
4266         (getFileSystemView): Mark as implemented.
4267
4268 2006-10-14  Roman Kennke  <kennke@aicas.com>
4269
4270         PR 27957
4271         * javax/swing/JComponent.java
4272         (toolTipText): Removed field.
4273         (createToolTip): Don't set tooltip text here. This is done
4274         in the ToolTipManager.
4275         (setToolTipText): Set tooltip text as client property.
4276         (getToolTipText): Get tooltip text from client property.
4277         * javax/swing/ToolTipManager.java
4278         (currentComponent): Made field non-static and of type JComponent.
4279         (currentPoint): Made field non-static.
4280         (currentTip): Made field non-static.
4281         (popup): Made field non-static.
4282         (toolTipText): New field. Stores the current tooltip text.
4283         (checkTipUpdate): New helper method. Checks for updates of
4284         the tooltip text and triggers the appropriate actions.
4285         (getContentPaneDeepestComponent): Removed unneeded casts.
4286         (mouseEntered): Removed unneeded cast. Initially fetch tooltip
4287         text from component.
4288         (mouseMoved): Check for tooltip text updates.
4289         (showTip): Set tooltip text from current setting.
4290
4291 2006-10-14  Roman Kennke  <kennke@aicas.com>
4292
4293         PR 27956
4294         * javax/swing/JSlider.java
4295         (setPaintLabels): Call setLabelTable() instead of setting
4296         the field directly. This also updates the label's size.
4297
4298 2006-10-13  Tom Tromey  <tromey@redhat.com>
4299
4300         * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
4301         method.
4302
4303 2006-10-13  Tania Bento  <tbento@redhat.com>
4304
4305         * java/awt/ScrollPane.java
4306         (setLayout): Should throw AWTError whenever called.
4307
4308 2006-10-13  Roman Kennke  <kennke@aicas.com>
4309
4310         PR 29448
4311         * java/awt/Component.java
4312         (dispatchEventImpl): Special handle ComponentReshapeEvents to
4313         update the AWT's knowledge about a component's size.
4314         * gnu/java/awt/ComponentReshapeEvent.java: New class.
4315         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4316         (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
4317         to update the AWT's knowledge about the component bounds.
4318
4319 2006-10-13  Tania Bento  <tbento@redhat.com>
4320
4321         * java/awt/ScrollPaneAdjustable.java
4322         (setMaximum): Should throw AWTError whenever called.
4323         (setMinimum): Same.
4324         (setVisibleAmount): Same.
4325
4326 2006-10-13  Tania Bento  <tbento@redhat.com>
4327
4328         * java/awt/ScrollPane.java
4329         (addImpl): When calling super, index should be value passed, 
4330         not -1.
4331         (getIsValidString): New helper method for paramString().
4332         (getScrollbarDisplayString): New helper method for paramString(). 
4333         (paramString): Changed format of outputted string.
4334
4335 2006-10-13  David Gilbert  <david.gilbert@object-refinery.com>
4336
4337         * javax/swing/tree/DefaultTreeSelectionModel.java
4338         (clone): Added cast to TreePath[].
4339
4340 2006-10-13  Roman Kennke  <kennke@aicas.com>
4341
4342         PR 27780
4343         * javax/swing/JMenuItem.java
4344         (isDragging): New field. Indicates if we are inside a mouse
4345         drag.
4346         (createMenuDragMouseEvent): Removed unneeded method.
4347         (processMenuDragMouseEvent): Track if we are dragging.
4348         (processMouseEvent): Simply forward to processMenuDragMouseEvent().
4349         * javax/swing/plaf/basic/BasicMenuItemUI.java
4350         (MenuDragMouseHandler.menuDragMouseDragged): Fetch
4351         MenuSelectionManager from event.
4352         (MenuDragMouseHandler.menuDragMouseEntered): Fetch
4353         MenuSelectionManager from event.
4354         (MenuDragMouseHandler.menuDragMouseExited): Fetch
4355         MenuSelectionManager from event.
4356         (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
4357         release inside menu item, otherwise clear selection.
4358         (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
4359         and getY(). Call doClick() rather than the doClick() of JMenuItem.
4360         (doClick): Perform an immediate click.
4361
4362 2006-10-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
4363
4364         * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
4365         return if object is not in the list.
4366
4367 2006-10-12  Andrew Haley  <aph@redhat.com>
4368
4369         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4370         * java/lang/ThreadLocal.java: Likewise.
4371
4372 2006-10-12  Roman Kennke  <kennke@aicas.com>
4373
4374         PR 27956
4375         * javax/swing/JSlider.java
4376         (LabelUIResource): New inner class. A JLabel as UIResource.
4377         (createStandardLabels): Don't set label bounds here.
4378         Create LabelUIResource instances.
4379         (setInverted): Repaint.
4380         (setLabelTable): Update the label UIs. Revalidate and repaint.
4381         (setMajorTickSpacing): Update the label table. Repaint if
4382         necessary.
4383         (setMinorTickSpacing): Repaint if necessary.
4384         (setOrientation): Revalidate.
4385         (setPaintLabels): Revalidate and repaint.
4386         (setPaintTicks): Revalidate and repaint.
4387         (setPaintTrack): Repaint.
4388         (updateLabelUIs): Set the label sizes here.
4389         (updateUI): Also update the label UIs.
4390         * javax/swing/plaf/basic/BasicSliderUI.java
4391         (ComponentHandler.componentResized): Don't revalidate.
4392         (FocusHandler.focusGained): Don't set field.
4393         (FocusHandler.focusLost): Don't set field.
4394         (PropertyChangeHandler.propertyChange): Calculate geometry
4395         and repaint for a couple more properties.
4396         (TrackListener.mouseReleased): Repaint.
4397         (hasFocus): Removed unneeded field.
4398         (calculateContentRect): No need to check for content size < 0.
4399         (calculateFocusRect): Use insets from insetCache.
4400         (calculateLabelRect): Fixed calculation of label rectangle.
4401         It is relative to the tick rectangle, rather than the content
4402         rectangle.
4403         (calculateTickRect): Small restructuring to avoid unnecessary
4404         comparisons.
4405         (calculateTrackRect): Fixed calculation of track rectangle.
4406         (getMaximumSize): Fixed. Fetch preferred size and set
4407         the height of width to Short.MAX_VALUE.
4408         (getMinimumHorizontalSize): Fixed to return UIManager value.
4409         (getMinimumVerticalSize): Fixed to return UIManager value.
4410         (getPreferredHorizontalSize): Fixed to return UIManager value.
4411         (getPreferredVerticalSize): Fixed to return UIManager value.
4412         (getMinimumSize): Fixed to return the UIManager value plus
4413         insets added.
4414         (getPreferredSize): Fixed to return the UIManager value plus
4415         insets added.
4416         (getWidthOfWidestLabel): Restructured for more cleanness and
4417         efficiency.
4418         (hitClip): New helper method.
4419         (paintHorizontalLabel): Replaced by more efficient and clean
4420         implementation.
4421         (paintVerticalLabel): Replaced by more efficient and clean
4422         implementation.
4423         (paintLabels): Replaced by more efficient and clean
4424         implementation.
4425         (paint): Check if rectangles intersect with clip for maximum
4426         efficiency.
4427         (recalculateIfInsetsChanged): Fixed. This method should
4428         recalculate only when the insets changed.
4429         (setThumbLocation): Repaint with a reasonable clip.
4430         (xPositionForValue): Made more clean and efficient.
4431         (yPositionForValue): Made more clean and efficient.
4432         * javax/swing/plaf/basic/BasicLookAndFeel.java
4433         (initComponenDefaults): Added Slider.horizontalSize,
4434         Slider.verticalSize, Slider.minimumHorizontalSize and
4435         Slider.minimumVerticalSize properties.
4436         * javax/swing/plaf/metal/MetalSliderUI.java
4437         (getTickLength): Add 1 for horizontal sliders and 3 for
4438         vertical sliders.
4439         (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4440         (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4441         (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4442         (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4443
4444 2006-10-12  Roman Kennke  <kennke@aicas.com>
4445
4446         PR 28696
4447         * javax/swing/text/FlowView.java
4448         (FlowStrategy.layout): Preserve logical views from getting lost.
4449         (FlowStrategy.layoutRow): Fix line breaking.
4450         (FlowStrategy.adjustRow): Fix line breaking.
4451         (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4452         (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4453         (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4454         (createView): Don't check index.
4455         (contains): New helper method.
4456         (reparent): New helper method.
4457         (layoutDirty): Removed unneeded field.
4458         (FlowView): Removed layoutDirty field init.
4459         (changedUpdate): Removed layoutDirty handling.
4460         (insertUpdate): Removed layoutDirty handling.
4461         (removeUpdate): Removed layoutDirty handling.
4462         (layout): Use isLayoutValid() rather than the layoutDirty field.
4463         * javax/swing/text/GlyphView.java
4464         (startOffset): Removed.
4465         (endOffset): Removed.
4466         (offset): New field.
4467         (length): New field.
4468         (GlyphView): Initialize new fields. Removed old fields.
4469         (createFragment): Create fragment with new relative offsets.
4470         (getEndOffset): Work with new relative offsets.
4471         (getStartOffset): Work with new relative offsets.
4472         * javax/swing/text/ParagraphView.java
4473         (Row.getStartOffset): Overidden to determine the minimum start
4474         offset from the children.
4475         (Row.getEndOffset): Overidden to determine the maximum end
4476         offset from the children.
4477         * javax/swing/text/html/BRView.java
4478         Make subclass of InlineView.
4479         (getBreakWeight): Fall back to super for Y_AXIS.
4480
4481 2006-10-12  Roman Kennke  <kennke@aicas.com>
4482
4483         PR 28733
4484         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4485         (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4486         one that avoids faulty state that could cause division by zero
4487         error.
4488
4489 2006-10-12  Roman Kennke  <kennke@aicas.com>
4490
4491         PR 28057
4492         * javax/swing/plaf/basic/BasicRadioButtonUI.java
4493         (paint): Determine correct icon. Added support for HTML label.
4494         Added small optimizations.
4495         (getPreferredSize): Only consider the buttons iconTextGap, and
4496         only when the text is not null.
4497         * javax/swing/plaf/basic/BasicLookAndFeel.java
4498         (initComponentDefaults): Fetch border for RadioButton from
4499         BasicButtons.getRadioButtonBorder().
4500         * javax/swing/plaf/metal/MetalRadioButtonUI.java
4501         (paintFocus): Paint focus rectangle one pixel smaller.
4502
4503 2006-10-12  Roman Kennke  <kennke@aicas.com>
4504
4505         PR 29418
4506         * javax/swing/tree/AbstractLayoutCache.java
4507         (getNodeDimensions): Don't throw InternalError, but instead
4508         return null.
4509         (getRowsForPaths): Check for null here.
4510         (isFixedRowHeight): Returns true when rowHeight > 0.
4511         (setSelectionModel): Set this as the row mapper for the selection
4512         model.
4513         * javax/swing/tree/VariableHeightLayoutCache.java
4514         (NodeRecord.NodeRecord): Initialize bounds field.
4515         (getBounds): Simply return the bounds field.
4516         (row2Node): Changed to be an ArrayList.
4517         (RECT_CACHE): New field. Caches a Rectangle instance.
4518         (countRows): Added y parameter and return value. The method
4519         now takes the current y position as parameter, and returns
4520         the updated y position.
4521         (getBounds): Fixed to return the correct bounds.
4522         (getPathForRow): Replaced by fixed implementation.
4523         (getPreferredHeight): Replaced by more efficient implementation.
4524         This simply fetches the last node record and returns its lower
4525         bounds.
4526         (getPreferredWidth): Added null check.
4527         (getVisibleChildCount): Added null check.
4528         (getVisiblePathsFrom): Added null check.
4529         (setExpandedState): Also expand the ancestors of the node
4530         to be expanded.
4531         (setModel): Set dirty flag rather than updating for real.
4532         (setNodeDimensions): Overridden to set the dirty flag.
4533         (setRowHeight): Overridden to set the dirty flag.
4534         (update): Don't special case the root here, this is done now
4535         in countRows().
4536
4537 2006-10-12  Roman Kennke  <kennke@aicas.com>
4538
4539         * javax/swing/JComponent.java
4540         (paintImmediately2): Added support for components which need
4541         to force themselves as paint root.
4542         (isPaintRoot): New method. This should be overridden by components
4543         which need to force themselves as paint root.
4544         * javax/swing/JViewport.java
4545         (isPaintRoot): Overridden to force the viewport as paint root
4546         when running in backingstore mode.
4547
4548 2006-10-12  Roman Kennke  <kennke@aicas.com>
4549
4550         * javax/swing/tree/DefaultTreeSelectionModel.java
4551         (PathPlaceHolder): New inner class. Wraps a path and its status
4552         wrt to its newness.
4553         (selectedPaths): New field. A supporting datastructure.
4554         (tmpPaths): New field. A supporting datastructure.
4555         (DefaultTreeSelectionModel): Initialize the list selection model,
4556         the leadIndex and the supporting datastructures.
4557         (addPropertyChangeListener): Create changeSupport object lazily.
4558         (addSelectionPaths): Mostly rewritten to handle the different
4559         selection modes correctly.
4560         (addSelectionPath): Delegate to addSelectionPaths().
4561         (arePathsContiguous): Replaced with more efficient implementation
4562         using BitSet
4563         (canPathBeAdded): Removed unneeded method.
4564         (canPathsBeAdded): Replaced with more efficient implementation.
4565         (clearSelection): Create correct event. Clear the fields correctly,
4566         including the supporting datastructures.
4567         (clone): Also clone the supporting datastructures and nullify
4568         changeSupport field.
4569         (getMaxSelectionRow): Delegate to list selection model.
4570         (getMinSelectionRow): Delegate to list selection model.
4571         (getPath): Removed unneeded method.
4572         (getPropertyChangeListeners): Handle null changeSupport field
4573         correctly.
4574         (getRow): Handle null rowMapper field correctly.
4575         (getSelectionRows): Handle invisible rows correctly.
4576         (insureRowContinuity): Replaced by more efficient and correct
4577         implementation.
4578         (isRowSelected): Delegate to list selection model.
4579         (notifyPathChange): Made more efficient by use of PathPlaceHolder
4580         class.
4581         (removePropertyChangeListener): Handle null changeSupport field.
4582         (removeSelectionPaths): Mostly rewritten to handle the different
4583         selection modes correctly.
4584         (removeSelectionPath): Delegate to removeSelectionPaths().
4585         (resetRowSelection): Handle list selection model.
4586         (selectOne): Removed unneeded field.
4587         (setRowMapper): Reset the row selection.
4588         (setSelectionMode): Check for invalid mode and set to
4589         DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4590         (setSelectionPaths): Mostly rewritten to handle the different
4591         selection modes correctly.
4592         (setSelectionPath): Delegate to setSelectionPaths().
4593         (updateLeadIndex): Made more efficient.
4594
4595 2006-10-11  Francis Kung  <fkung@redhat.com>
4596
4597         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4598         (buffer, locked): New fields.
4599         (constructors): Initialize new variables.
4600         (createBuffer): New method.
4601         (draw): Implement custom composites.
4602         (drawComposite): New method.
4603         (drawGlyphVector): Implement custom composites.
4604         (drawImage): Implement custom composites.
4605         (drawRenderedImage): Implement custom composites.
4606         (fill): Implement custom composites.
4607         (getBufferCM): New method.
4608         (getNativeCM): New method.
4609         (updateBufferedImage): Fix premultiplication.
4610         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4611         (copy): Copy composite.
4612         (drawImage): Set background properly.
4613         (getBufferCM): New method.
4614         (setComposite): Reset alpha composite when using custom composite.
4615         * gnu/java/awt/peer/gtk/CairoSurface.java
4616         (cairoColorModel): New field.
4617         (nativeColorModel): Renamed.
4618         (constructor): Use renamed createCairoSampleModel method.
4619         (createCairoSampleModel): New method.
4620         (createNativeSampleModel): Renamed.
4621         (getBufferedImage): Use renamed cairoColorModel field.
4622         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4623         (gdkColorModel): New field.
4624         (createGdkSampleModel): New method.
4625         (getPixels): Added comments.
4626         (getSnapshot): Use GDK colour and sample models.
4627         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4628         (createBuffer): Use GDK colour and sample models.
4629         (getNativeCM): Added comments.
4630         * java/awt/image/BufferedImage.java
4631         (constructor): Set premultiplied flag properly.
4632         
4633 2006-10-11  Edwin Steiner  <edwin.steiner@gmx.net>
4634
4635         * native/jni/java-nio/gnu_java_nio_VMChannel.c
4636         (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4637
4638 2006-10-10  Francis Kung  <fkung@redhat.com>
4639
4640         PR 29372
4641         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4642         (createPath): Added isDraw parameter.
4643         (draw): Updated createPath call.
4644         (fill): Updated createPath call.
4645
4646 2006-10-10  Tom Tromey  <tromey@redhat.com>
4647
4648         PR classpath/29362:
4649         * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4650         there is a stylesheet.
4651
4652 2006-10-10  Roman Kennke  <kennke@aicas.com>
4653
4654         * java/awt/Toolkit.java
4655         (getDefaultTookit): Make method synchronized to avoid
4656         accidentally creating more than one toolkits from different
4657         threads.
4658
4659 2006-10-10  Roman Kennke  <kennke@aicas.com>
4660
4661         * java/awt/LightweightDispatcher.java
4662         (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4663         (redispatch): Transfer the button to the redispatched event.
4664
4665 2006-10-10  Francis Kung  <fkung@redhat.com>
4666
4667         * java/awt/image/ColorModel.java (coerceData): Implemented.
4668
4669 2006-10-09  Christian Elias Naur  <elias@oddlabs.com>
4670
4671         * vm/reference/java/lang/VMClassLoader.java:
4672         (defineClassWithTransformers): Use proper class name format.
4673
4674 2006-10-09  Gary Benson  <gbenson@redhat.com>
4675
4676         * java/net/ServerSocket.java
4677         (implAccept): Add security check.
4678         (accept): Close socket if security check fails.
4679         (setSocketFactory): Add security check and already-set check.
4680
4681 2006-10-09  Roman Kennke  <kennke@aicas.com>
4682
4683         PR 29325
4684         * javax/swing/JSplitPane.java
4685         (dividerLocation): New field. Stores the divider location.
4686         (JSplitPane): Initialize dividerLocation with -1.
4687         (addImpl): Removed unneeded local variables.
4688         (getDividerLocation): Manage dividerLocation in the JSplitPane
4689         class, not in the UI.
4690         (setDividerLocation): Manage dividerLocation in the JSplitPane
4691         class, not in the UI. Only call the UI method for notification.
4692         * javax/swing/plaf/basic/BasicSplitPaneUI.java
4693         (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4694         location from the JSplitPane. Honour the minimumSize, but only
4695         if the divider location hasn't been set explicitly.
4696         (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4697         statement.
4698         (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4699         statement.
4700         (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4701         the divider location.
4702         (dividerLocationSet): New field.
4703         (dividerLocation): Removed field.
4704         (createActionMap): Fetch and set divider location on the JSplitPane.
4705         (getDividerLocation): Return the actual real divider location.
4706         (getMaximumSize): Removed unneeded cast.
4707         (getPreferredSize): Removed unneeded cast.
4708         (getMinimumSize): Removed unneeded cast.
4709         (installUI): Initialize dividerLocationSet with false.
4710         (uninstallUI): Initialize dividerLocationSet with false.
4711         (setDividerLocation): Set dividerLocationSet to true.
4712
4713 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
4714
4715         * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4716         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4717         convert jstring into char *.
4718         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4719         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4720         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4721         (getif_address): Added const modifier to second argument.
4722         (getif_index): Dito.
4723
4724 2006-10-09  Roman Kennke  <kennke@aicas.com>
4725
4726         * javax/swing/JTree.java
4727         (isSelected): Added API docs.
4728
4729 2006-10-09  Roman Kennke  <kennke@aicas.com>
4730
4731         * javax/swing/JTree.java
4732         (isSelected): Delegate to the selection model directly.
4733
4734 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
4735
4736         * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4737         sizeof_struct_kevent to _sizeof_struct_kevent.
4738
4739 2006-10-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4740
4741         * tools/gnu/classpath/tools/rmic/RMICException.java:
4742         javadoc corrections, reformatted.
4743
4744 2006-10-07  Christian Elias Naur  <elias@oddlabs.com>
4745
4746         * gnu/java/lang/InstrumentationImpl.java:
4747         Made constructor package visible.
4748
4749 2006-10-05  Gary Benson  <gbenson@redhat.com>
4750
4751         * java/net/Socket.java
4752         (Socket): Perform security check on address not hostname.
4753
4754 2006-10-04  Roman Kennke  <kennke@aicas.com>
4755
4756         * javax/swing/tree/VariableHeightLayoutCache.java
4757         (getBounds): When rect is null, create a new Rectangle.
4758
4759 2006-10-04  Christian Thalinger  <twisti@complang.tuwien.ac.at>
4760
4761         * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4762         (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4763         (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4764         (cpnio_select): Use CPNIO_EXPORT.
4765         * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4766         inline instead of extern inline, as newer GCCs changed their
4767         behavior.
4768
4769 2006-10-04  Gary Benson  <gbenson@redhat.com>
4770
4771         * java/net/InetAddress.java: Updated javadoc.
4772         (<clinit>, getByLiteral): Throw InternalError on failures.
4773
4774 2006-10-03  Francis Kung  <fkung@redhat.com>
4775
4776         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4777         (compCtx): New field for composite context.
4778         (copy): Copy composite.
4779         (dispose): Dispose of composite context.
4780         (getNativeCM): New method.
4781         (setComposite): Discard old composite context and set up new context.
4782         (setRenderingHints): Update composite context.
4783         * gnu/java/awt/peer/gtk/CairoSurface.java
4784         (nativeColorModel): New field, renamed from nativeModel.
4785         (nativeModel): Renamed field to nativeColorModel.
4786         (CairoSurface(int, int)): Call new method to create sample model.
4787         (createNativeSampleModel): New method.
4788         (getBufferedImage): Updated variable name.
4789         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4790         (buffer): New field.
4791         (createBuffer): New method.
4792         (draw): New method.
4793         (drawComposite): New method.
4794         (drawGlyphVector): New method.
4795         (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4796         (drawImage(Image, int, int, ImageObserver)): Check composite.
4797         (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4798         (fill): New method.
4799         (getNativeCM): New method.
4800         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4801         (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use 
4802         intermediary pixbuf to grab on-screen pixels.
4803
4804 2006-10-03  Tom Tromey  <tromey@redhat.com>
4805
4806         PR classpath/28987:
4807         * java/util/IdentityHashMap.java (tombstone): Removed.
4808         (emptyslot): Removed.
4809         (nullslot): New field.
4810         (IdentityHashMap): Don't fill array.
4811         (clear): Fill with null.
4812         (hash): Now final.  Use linear probing.
4813         (xform): New method.
4814         (unxform): Likewise.
4815         (removeAtIndex): Likewise.
4816         (clone, containsKey, containsValue, entrySet, get, hashCode,
4817         keySet, put, remove, values): Updated.
4818         (IdentityIterator, IdentityEntry): Likewise.
4819         (writeObject): Likewise.
4820
4821 2006-10-03  Tom Tromey  <tromey@redhat.com>
4822
4823         * java/util/Locale.java (hashcode): Updated javadoc.
4824         (hashcodeCache): Removed.
4825         (Locale): Updated.
4826         (hashCode): Updated.
4827         (writeObject): New method.
4828         (readObject): Updated.
4829
4830 2006-10-02  Francis Kung  <fkung@redhat.com>
4831
4832         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4833         (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4834         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4835         (clearRect): Paint background colour with AlphaComposite.SRC rule.
4836         (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4837         pre-multiply data before drawing.
4838         (fillRect): Draw using regular fill() method.
4839         (setComposite): Handle null case with AlphaComposite.SrcOver default.
4840         * gnu/java/awt/peer/gtk/CairoSurface.java
4841         (nativeModel): Use correct value for alpha premultiplication (true).
4842         * java/awt/image/BufferedImage.java
4843         (coerceData): Update isPremultiplied field.
4844
4845 2006-10-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4846
4847         * gnu/classpath/ListenerData.java:
4848         New class for holding listener data.
4849         * gnu/java/lang/management/MemoryMXBeanImpl.java:
4850         ListenerData class moved to its own file.
4851         * javax/management/MBeanServerDelegate.java,
4852         * javax/management/MBeanServerDelegateMBean.java,
4853         * javax/management/MBeanServerNotification.java:
4854         Implemented.
4855
4856 2006-10-02  Tania Bento  <tbento@redhat.com>
4857
4858         * java/ast/Rectangle.java:
4859         (Rectangle(Rectangle)): Do not throw NPE.
4860         (Rectangle(Point, Dimension)): Same.
4861         (Rectangle(Point)): Same.
4862         (Rectangle(Dimension)): Same.
4863
4864 2006-09-29  Casey Marshall  <csm@gnu.org>
4865
4866         PR 29190
4867         * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4868         `AbstractSelectionKey.'
4869         (cancel, isValid): removed.
4870         * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4871         (events): new field.
4872         (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4873         fields.
4874         (<clinit>): initialize those constants.
4875         (<init>): don't initialize `cancelledKeys;' initialize `events.'
4876         (doSelect): deregister cancelled keys; remove keys attached to
4877         closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4878         `events' buffer; reallocate `events' buffer if needed.
4879         (register): reallocate `events' buffer if needed.
4880         (reallocateBuffer): new method.
4881         (cancel): removed.
4882
4883 2006-09-29  Roman Kennke  <kennke@aicas.com>
4884
4885         PR 28929
4886         * javax/swing/JViewport.java
4887         (cinit): Renamed system property to gnu.swing.scrollmode
4888         to avoid bloat. Default to BACKINGSTORE, this is much
4889         more reliable.
4890         (repaint): Forward repaint() to parent as is specified.
4891
4892 2006-09-29  Tania Bento  <tbento@redhat.com>
4893
4894         * javax/swing/plaf/basic/BasicTableUI.java
4895         (getPreferredSize): The number of iterations for the for-loop should be
4896         the number of columns in the table's column model, not the number of
4897         columns of the table.
4898         * javax/swing/JTable.java
4899         (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4900         lines that are not needed.
4901         (initializeLocalVars): dragEnabled should be set to false, not true.
4902         (getCellRenderer): Added a check to prevent an
4903         ArrayIndexOutOfBoundsException.
4904         (doLayout): The number of iterations for the for-loops should be the
4905         number of columns in the table's column model, not the number of columns
4906         of the table.
4907
4908 2006-09-29  Roman Kennke  <kennke@aicas.com>
4909
4910         * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4911         API docs.
4912         (isOptimized): Initialize with true.
4913         (paintRaster): Removed unneeded field.
4914         (shapeCache): New static field. Caches certain shapes for reuse.
4915         (computeIntersection): Removed unneeded casts.
4916         (drawArc): Use shape cache.
4917         (drawImage): Removed unneeded statement.
4918         (drawLine): Use shape cache. Pass untranslated coordinates
4919         to rawDrawLine().
4920         (drawOval): Use shape cache.
4921         (drawPolygon): Use shape cache.
4922         (drawRect): Overridden to provide accelerated rectangle drawing
4923         if possible and to use the shape cache.
4924         (drawRoundRect): Use shape cache.
4925         (fillArc): Use shape cache.
4926         (fillOval): Use shape cache.
4927         (fillPolygon): Use shape cache.
4928         (fillRect): Pass untranslated coordinates to rawFillRect().
4929         Use shape cache.
4930         (fillRoundRect): Use shape cache.
4931         (fillScanlineAA): Removed unneeded statement.
4932         (fillScanline): Updated API docs.
4933         (fillShapeAntialias): Removed unnecessary cast.
4934         (fillShapeImpl): Update API docs. Removed unnecessary cast.
4935         (fillShape): Updated API docs.
4936         (getShapeCache): New helper method.
4937         * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4938         certain shapes for reuse in AbstractGraphics2D.
4939
4940 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4941
4942         * javax/management/BadBinaryOpValueExpException.java:
4943         (getExp()): Implemented.
4944         * javax/management/MBeanConnection.java:
4945         Renamed to MBeanServerConnection.
4946         * javax/management/MBeanServer.java:
4947         (setAttribute(Attribute)): Fixed...
4948         (setAttribute(ObjectName,Attribute)): to this.
4949         * javax/management/MBeanServerConnection.java:
4950         Renamed from MBeanConnection.
4951         * javax/management/QueryExp.java:
4952         Extend Serializable.
4953         * javax/management/ValueExp.java:
4954         Likewise.
4955         * javax/management/loading/ClassLoaderRepository.java:
4956         (loadClass(String)): Throw ClassNotFoundException.
4957         (loadClassBefore(ClassLoader,String)): Likewise.
4958         (loadClassWithout(String, ClassLoader): Fixed...
4959         (loadClassWithout(ClassLoader,String)): to this.
4960         
4961 2006-09-28  Roman Kennke  <kennke@aicas.com>
4962
4963         * javax/swing/tree/DefaultTreeCellRenderer.java
4964         (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4965         property from UIManager.
4966         (paint): Rewritten to use super's implementation and only paint
4967         background and focus indicator before.
4968         (paintFocus): New helper method.
4969         (getXOffset): New helper method.
4970
4971 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4972         
4973         * javax/management/BadBinaryOpValueExpException.java,
4974         * javax/management/MBeanConnection.java,
4975         * javax/management/MBeanServer.java,
4976         * javax/management/ObjectInstance.java:
4977         Implemented.
4978         * javax/management/ObjectName.java:
4979         (setMBeanServer(MBeanServer)): Implemented.
4980         * javax/management/QueryExp.java,
4981         * javax/management/ValueExp.java,
4982         * javax/management/loading/ClassLoaderRepository.java:
4983         Implemented.
4984
4985 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
4986
4987         * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
4988
4989 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
4990
4991         * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
4992         * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
4993         * gnu/java/nio/EpollSelectorImpl.java:
4994         (doSelect): Use Integer.valueOf() instead of constructor call.
4995         (register): Use Integer.valueOf() instead of constructor call.
4996
4997 2006-09-27  Roman Kennke  <kennke@aicas.com>
4998
4999         * java/awt/Container.java
5000         (addContainerListener): Activate newEventsOnly for the component.
5001         Ignore null listeners.
5002
5003 2006-09-27  Roman Kennke  <kennke@aicas.com>
5004
5005         * java/awt/EventQueue.java
5006         (Queue): New inner class. Implements the actual queue.
5007         (LOW_PRIORITY): New constant field.
5008         (NORM_PRIORITY): New constant field.
5009         (queueHead): Removed. Moved into Queue.
5010         (queueTail): Removed. Moved into Queue.
5011         (queues): New field.
5012         (EventQueue): Initialize two internal queues, one for
5013         normal events, one for low priority events.
5014         (getNextEventImpl): New helper method, fetches the next event.
5015         (getNextEvent): Use getNextEventImpl() for fetching the event.
5016         (peekEvent): Use getNextEventImpl() for fetching the event.
5017         (peekEvent(int)): Search for event in all queues.
5018         (postEventImpl(AWTEvent)): Moved actual posting into
5019         postEventImpl(AWTEvent,int). Prioritize events here.
5020         (postEventImpl(AWTEvent,int)): Take priority parameter and insert
5021         event into correct queue. Re-enable event coalescing.
5022         * gnu/java/awt/LowPriorityEvent.java: New marker interface.
5023         * javax/swing/RepaintManager.java
5024         (RepaintWorkerEvent): New internal class. This is a low priority
5025         event for the repaint worker.
5026         (addDirtyRegion): Use new internal invokeLater() for sending
5027         a low priority event.
5028         (addInvalidComponent): Use new internal invokeLater() for sending
5029         a low priority event.
5030         (commitBuffer): Added some null checks.
5031         (invokeLater): New helper method. Sends a low priority
5032         repaint worker event on the event queue.
5033
5034 2006-09-27  Roman Kennke  <kennke@aicas.com>
5035
5036         PR 29036
5037         PR 29161
5038         * javax/swing/plaf/basic/BasicButtonUI.java
5039         (cachedInsets): New field.
5040         (installListeners): Fire synthetic property change to initialize
5041         TEXT_LAYOUT_CACHE for the button because the font has been
5042         installed before.
5043         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5044         (paint): Use cached insets.
5045         (paintText): Let new method forward to old one, not vice versa.
5046         * javax/swing/plaf/basic/BasicMenuItemUI.java
5047         (defaultAcceleratorLabelGap): Removed unused field.
5048         (MenuGap): Removed unused field.
5049         (propertyChangeListener): Made private.
5050         (getAcceleratorRect): Removed unused method.
5051         (getAcceleratorText): Removed unused method.
5052         (getPath): Removed unnecessary cast.
5053         (installListeners): Fire synthetic property change to initialize
5054         TEXT_LAYOUT_CACHE for the button because the font has been
5055         installed before.
5056         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5057         (layoutMenuItem): Removed unused statements.
5058         
5059 2006-09-27  Roman Kennke  <kennke@aicas.com>
5060
5061         PR 29218
5062         * javax/swing/tree/DefaultTreeModel.java
5063         (isLeaf): Check if the node allows children when
5064         asksAllowsChildren is true, otherwise fall back
5065         to return the node's leaf property.
5066
5067 2006-09-27  Mario Torre  <neugens@limasoftware.net>
5068
5069         * scripts/check_jni_methods.sh: removed methods from the
5070         ignore list:
5071         Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
5072         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
5073         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
5074         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5075         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5076         * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
5077         to better follow the GNU style.
5078         * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
5079         regenerated header file for GConfNativePeer.
5080
5081 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
5082
5083         * INSTALL: Added information about grmic being built when ASM
5084         is available, added information about gconf dependency, indented
5085         Qt4 dependency section.
5086         * configure.ac: Added information about grmic being built when ASM
5087         is available.
5088
5089 2006-09-27  Ian Rogers  <ian.rogers@manchester.ac.uk>
5090
5091         * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
5092         DeleteGlobalRef on a local ref.
5093
5094 2006-09-24  Mario Torre  <neugens@limasoftware.net>
5095
5096         * scripts/check_jni_methods.sh: added two new methods in the
5097         ignore list:
5098         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5099         and
5100         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5101         * native/jni/gconf-peer/GConfNativePeer.c:
5102         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
5103         refacored method name, renamed from
5104         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
5105         Added code to unescape escaped GConf key names.
5106         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
5107         refacored method name, renamed from
5108         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
5109         Added code to unescape escaped GConf key names.
5110         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
5111         new function.
5112         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
5113         new function.
5114         * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
5115         version javadoc tag.
5116         (escapeString): new method.
5117         (unescapeString): likewise.
5118         (gconf_escape_key): new native method.
5119         (gconf_unescape_key): likewise.
5120         (gconf_client_suggest_sync): update native method signature, now
5121         explicity throws BackingStoreException.
5122         (gconf_client_all_nodes): update native method signature, now
5123         explicity throws BackingStoreException. Refactored method name,
5124         renamed from gconf_client_gconf_client_all_nodes.
5125         (gconf_client_all_keys): update native method signature, now
5126         explicity throws BackingStoreException. Refactored method name,
5127         renamed from gconf_client_gconf_client_all_keys.
5128         (getKeys): refactored to use the new method name
5129         gconf_client_all_keys.
5130         (getChildrenNodes): refactored to use the new method name
5131         gconf_client_all_nodes.
5132         * gnu/java/util/prefs/GConfBasedPreferences.java: removed
5133         version javadoc tag.
5134         (GConfBasedPreferences): Added code to escape node names from
5135         invalid characters so that GConf now accept invalid node names.
5136         (GConfBasedPreferences): Moved code to register the current
5137         node to the list of nodes watched by GConf outside the constructor.
5138         (childSpi): Added code to register the current node to the
5139         list of nodes watched by GConf.
5140         (getGConfKey): Added code to escape key names from
5141         invalid characters so that GConf now accept invalid key names.
5142
5143 2006-09-26  Tom Tromey  <tromey@redhat.com>
5144
5145         * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
5146         call mkdirs in output-directory case.
5147         (getPrintStream): Create output directory.
5148         * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
5149         Don't call mkdirs.
5150
5151 2006-09-27  Raif S. Naffah  <raif@swiftdsl.com.au>
5152
5153         * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
5154         Accept three additional arguments.
5155         (writePreambleImpl): New method.
5156         (getPrintStreamImpl): Likewise.
5157         (printClass): Adapted to use new methods in Printer superclass.
5158         * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
5159         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
5160         * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
5161         * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
5162         (force): Likewise.
5163         (getParser): Add support for -o option.
5164         Check that only one of -d or -o is defined.
5165         Add support for -jni option.
5166         Add support for -force option.
5167         (makeOutputFile): New method.
5168         (writeHeaders): Removed File argument from signature.
5169         (run): Take into account newly added fields.
5170         Invoke concrete PrintStream implementations with augmented constructors.
5171         * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
5172         (isDirectory): Likewise.
5173         (force): Likewise.
5174         (wrotePreamble): Likewise.
5175         (Printer): Changed ctor to accept three additional arguments.
5176         (printClass): Changed signature to accept one ClassWrapper argument.
5177         (writePreambleImpl): New abstract method.
5178         (getPrintStreamImpl): Likewise.
5179         (getPrintStream): New method.
5180         (writePreamble): Likewise.
5181
5182 2006-09-26  Tania Bento  <tbento@redhat.com>
5183
5184         * java/awt/GridLayout.java
5185         (toString): There is no common before hgap.
5186         * java/awt/Rectangle.java
5187         (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
5188         (Rectangle(Point, Rectangle)): Throw NPE if either Point or 
5189         Rectangle is null.
5190         (Rectangle(Point)): Throw NPE if Point is null.
5191         (Rectangle(Dimension)): Throw NPE if Dimension is null.
5192
5193 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
5194
5195         * javax/swing/plaf/metal/MetalIconFactory.java
5196         (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
5197         returned by getShift(),
5198         (FileIcon16.getShift): Updated API docs,
5199         (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
5200         returned by getShift(),
5201         (FolderIcon16.getShift): Updated API docs,
5202         (TreeFolderIcon.getShift): Likewise,
5203         (TreeLeafIcon.getShift): Likewise.
5204
5205 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
5206
5207         * javax/swing/plaf/metal/MetalIconFactory.java
5208         (FileIcon16.paintIcon): Fetch colors from look and feel,
5209         (FolderIcon16.paintIcon): Likewise.
5210
5211 2006-09-25  Casey Marshall  <csm@gnu.org>
5212
5213         * gnu/java/nio/FileChannelImpl.java (read): revert back to using
5214         `readScattering.'
5215         (write): revert back to using `writeGathering.'
5216         * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
5217         the first buffer that has data remaining, and start at that one.
5218
5219 2006-09-25  Tom Tromey  <tromey@redhat.com>
5220
5221         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
5222         variable.
5223
5224 2006-09-25  Tom Tromey  <tromey@redhat.com>
5225
5226         * tools/.cvsignore: Updated.
5227
5228 2006-09-25  Tom Tromey  <tromey@redhat.com>
5229
5230         PR libgcj/29178:
5231         * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
5232         (Encoder.canEncode): Likewise.
5233         (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
5234         * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
5235         method.
5236         (Encoder.canEncode): Likewise.
5237         * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
5238         method.
5239         (Encoder.canEncode): Likewise.
5240
5241 2006-09-25  Tom Tromey  <tromey@redhat.com>
5242
5243         * native/fdlibm/mprec.c (mprec_calloc): Renamed.
5244         (Balloc): Updated.
5245
5246 2006-09-25  Francis Kung  <fkung@redhat.com>
5247
5248         * java/awt/image/ColorModel.java
5249         (coerceData): Made abstract.
5250         (coerceDataWorker): New protected method.
5251         * java/awt/image/ComponentColorModel.java
5252         (coerceData): Return new instance of proper ColorModel.
5253         * java/awt/image/DirectColorModel.java
5254         (coerceData): Return new instance of proper ColorModel.
5255         * java/awt/image/IndexColorModel.java
5256         (coerceData): New method.
5257
5258 2006-09-24  Casey Marshall  <csm@gnu.org>
5259
5260         * gnu/java/nio/FileChannelImpl.java
5261         (read): call `read' in a loop, don't use `readScattering.'
5262         (write): call `write' in a loop, don't use `writeGathering.'
5263
5264 2006-09-24  Mark Wielaard  <mark@klomp.org>
5265
5266         * configure.ac: Move -pedantic from WARNING to STRICT flags.
5267
5268 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5269
5270         * java/nio/channels/spi/AbstractSelectableChannel.java
5271         (register): Set interestOps and attachment when the key already
5272         exists.
5273
5274 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5275
5276         * java/net/ServerSocket.java
5277         (bind(SocketAddress,int)): Added support for null address.
5278         Throw proper exception if already bound.
5279         Handle unresolved addresses correctly. Ignore exceptions that
5280         happen during close in error path (to prevent losing the original
5281         exception.)
5282
5283 2006-09-24  Mark Wielaard  <mark@klomp.org>
5284
5285         Suggested by Aaron M. Ucko <ucko@debian.org>
5286         Fixes bug #29203
5287         * native/fdlibm/mprec.c (ulp): Define L as int32_t.
5288
5289 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5290
5291         * java/nio/channels/spi/AbstractSelectableChannel.java
5292         (implCloseChannel): Cancel all keys after closing the channel.
5293
5294 2006-09-22  Casey Marshall  <csm@gnu.org>
5295
5296         * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
5297         after we delete them.
5298         (selectedKeys): return an empty set if nothing's been selected.
5299         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5300         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
5301         throw an exception on EBADF.
5302         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
5303         throw exception on EINTR, just return 0.
5304         
5305 2006-09-22  Casey Marshall  <csm@gnu.org>
5306
5307         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5308         remove `const' from `filename.'
5309         * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
5310         `filename.'
5311         * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
5312
5313 2006-09-22  Casey Marshall  <csm@gnu.org>
5314
5315         * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
5316         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5317         allocate `filename,' and handle changes to `cpio_readDir.'
5318         * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
5319         available; copy the filename into the destination buffer; return
5320         an error code if readdir returns NULL, but errno is 0.
5321         * native/jni/native-lib/cpio.h (cpio_readDir): change second
5322         parameter to `const char *.'
5323
5324 2006-09-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5325
5326         * javax/management/ObjectName.java:
5327         Implemented.
5328         
5329 2006-09-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5330
5331         * resource/gnu/classpath/tools/orbd: New directory.
5332         * resource/gnu/classpath/tools/rmic: Likewise.
5333         * resource/gnu/classpath/tools/rmid: Likewise.
5334         * resource/gnu/classpath/tools/rmiregistry: Likewise.
5335         * resource/gnu/classpath/tools/tnameserv: Likewise.
5336         * tools/gnu/classpath/tools/giop: Move contents to...
5337         * tools/gnu/classpath/tools/orbd,
5338         tools/gnu/classpath/tools/tnameserv: New directories.
5339         * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
5340         * tools/gnu/classpath/tools/rmic: New directory.
5341         * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
5342         * tools/gnu/classpath/tools/rmid: New directory.
5343         * tools/gnu/classpath/tools/rmi/registry: Move contents to...
5344         * tools/gnu/classpath/tools/rmiregistry: New directory.
5345         * resource/gnu/classpath/tools/orbd/messages.properties: New file.
5346         * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
5347         * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
5348         * resource/gnu/classpath/tools/rmiregistry/messages.properties:
5349         Likewise.
5350         * resource/gnu/classpath/tools/tnameserv/messages.properties:
5351         Likewise.
5352         * tools/gnu/classpath/tools/orbd/Main.java,
5353         tools/gnu/classpath/tools/orbd/Messages.java,
5354         tools/gnu/classpath/tools/orbd/PersistentContext.java,
5355         tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
5356         tools/gnu/classpath/tools/orbd/PersistentMap.java,
5357         tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
5358         tools/gnu/classpath/tools/rmic/CompilationError.java,
5359         tools/gnu/classpath/tools/rmic/Generator.java,
5360         tools/gnu/classpath/tools/rmic/GiopIo.java,
5361         tools/gnu/classpath/tools/rmic/HashFinder.java,
5362         tools/gnu/classpath/tools/rmic/Main.java,
5363         tools/gnu/classpath/tools/rmic/Messages.java,
5364         tools/gnu/classpath/tools/rmic/MethodGenerator.java,
5365         tools/gnu/classpath/tools/rmic/RMICException.java,
5366         tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5367         tools/gnu/classpath/tools/rmic/RmicBackend.java,
5368         tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5369         tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5370         tools/gnu/classpath/tools/rmic/Variables.java,
5371         tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5372         tools/gnu/classpath/tools/rmic/templates,
5373         tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5374         tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5375         tools/gnu/classpath/tools/rmid/Main.java,
5376         tools/gnu/classpath/tools/rmid/Messages.java,
5377         tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5378         tools/gnu/classpath/tools/rmiregistry/Main.java,
5379         tools/gnu/classpath/tools/rmiregistry/Messages.java,
5380         tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5381         tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5382         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5383         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5384         tools/gnu/classpath/tools/tnameserv/Main.java,
5385         tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5386         * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5387         RMIC.java from cp-tools.
5388         * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5389         tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5390         (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5391         and grmic.
5392         * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5393         * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5394         Rename...
5395         (start): New method.
5396         * tools/Makefile.am: Add build support for new tool wrappers.
5397         * tools/gorbd.in: New file.
5398         * tools/grmic.in: Likewise.
5399         * tools/grmid.in: Likewise.
5400         * tools/grmiregistry.in: Likewise.
5401         * tools/gtnameserv.in: Likewise.
5402         * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5403         * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5404         file.
5405         * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5406         * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5407         * tools/gnu/classpath/tools/common/Persistent.java: New file.
5408
5409 2006-09-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5410
5411         Fixes bug #29047
5412         * gnu/java/util/regex/RETokenRepeated.java
5413         (findMatch): Rewriten without using recursive calls,
5414         (FindMatchControlStack): New class,
5415         (FindMatchControl): New class,
5416         (TryAnotherResult): New class,
5417         (tryAnother): New method.
5418
5419 2006-09-22  Gary Benson  <gbenson@redhat.com>
5420
5421         * java/net/SocketPermission.java
5422         (processHostport): Cope with IPv6 addresses with a
5423         one-digit first component.
5424
5425 2006-09-22  Roman Kennke  <kennke@aicas.com>
5426
5427         * java/awt/Component.java
5428         (enableEvents): Set newEventsOnly flag.
5429         * java/awt/Container.java
5430         (dispatchEventImpl): Consume event if lightweight dispatcher
5431         dispatched the event. Don't call processEvent() here, this
5432         is already done in Component.dispatchEventImpl(). For
5433         heavyweights or when the lightweight dispatcher could
5434         not dispatch, fall back to calling super.
5435         (dispatchNoLightweight): New helper method to avoid
5436         recursivly calling the lightweight dispatcher.
5437         * java/awt/LightweightDispatcher.java
5438         (dragButton): Removed field.
5439         (dragTarget): Removed field.
5440         (mouseEventTarget): New field.
5441         (convertPointToChild): Removed method.
5442         (dispatchEvent): Don't depend on component beeing
5443         a window.
5444         (findTarget): Improved algorithm for finding a target.
5445         Before we went down to the deepest component and went
5446         up again to find a suitable target. Now we go
5447         down only once, without going up.
5448         (handleMouseEvent): Broke method down into some smaller
5449         helper methods.
5450         (isDragging): New helper method.
5451         (isMouseListening): New helper method.
5452         (redispatch): New helper method.
5453         (trackEnterExit): New helper method.
5454
5455 2006-09-22  David Gilbert  <david.gilbert@object-refinery.com>
5456
5457         * javax/swing/SizeSequence.java
5458         (getSize): Return 0 if index is out of bounds.
5459
5460 2006-09-21  Tom Tromey  <tromey@redhat.com>
5461
5462         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5463         (PathOptionGroup): Make -I a joined option.
5464         * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5465         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5466         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5467         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5468         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5469         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5470         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5471         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5472         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5473         * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5474         * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5475         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5476         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5477         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5478         * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5479         * tools/gnu/classpath/tools/jar/Main.java: Updated.
5480         * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5481         * tools/gnu/classpath/tools/javah/Main.java: Updated.
5482         * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5483         * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5484         * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5485         unused entries.
5486         * resource/gnu/classpath/tools/common/Messages.properties: New file.
5487         * tools/gnu/classpath/tools/common/Messages.java: New file.
5488         * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5489         * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5490         from getopt.
5491         (ClasspathToolParser): Add -J option here.
5492         (ClasspathToolParser): Call other constructor in this class.
5493         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5494         Handle joined options.
5495         (handleShortOptions): Likewise.
5496         (handleShortOption): Removed.
5497         (finalGroup): New field.
5498         (Parser): Initialize new field.  Don't add -J option.
5499         (addFinal): New method.
5500         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5501         isJoined.
5502         * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5503         (Option): Check short option for validity.
5504         (Option): New constructors.
5505         (joined): New field.
5506
5507 2006-09-21  csm  <csm@pollux.local>
5508
5509         * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5510         `InterruptedIOException;' try again if it gets thrown.
5511         (receive): likewise, but re-throw `SocketTimeoutException.'
5512         * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5513         if we have nothing to select.
5514
5515 2006-09-21  Francis Kung  <fkung@redhat.com>
5516
5517         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5518         (getLogicalBounds): Respect glyph transformations.
5519         (getGlyphOutline): Added null pointer check.
5520         (getGlyphTransform): Do not generate identity transform (API permits null).
5521         (setGlyphPosition): Do not invalidate transform.
5522         (setGlyphTransform): Do not modify glyph position.
5523
5524 2006-09-21  Francis Kung  <fkung@redhat.com>
5525
5526         * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5527
5528 2006-09-21  Francis Kung  <fkung@redhat.com>
5529
5530         * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5531         * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5532         * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5533
5534 2006-09-21  Tania Bento  <tbento@redhat.com>
5535
5536         * javax/swing/JTabbedPane.java:
5537         (insertTab): Notify ChangeListeners if the tab inserted is selected.
5538         (setModel): A ChangeListener should be created only if there does not 
5539         currently exist one.
5540
5541 2006-09-21  David Gilbert  <david.gilbert@object-refinery.com>
5542
5543         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5544         (MaximizeAction.actionPerformed): Change icon on maxButton.
5545
5546 2006-09-21  Roman Kennke  <kennke@aicas.com>
5547
5548         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5549         (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5550         Use more efficient getViewPosition() and getViewSize() methods
5551         to avoid creating a rectangle.
5552         (HSBChangeListener.stateChanged): Update the view position
5553         unconditionally. Let the Viewport figure out if something
5554         changed.
5555         (VSBChangeListener.stateChanged): Update the view position
5556         unconditionally. Let the Viewport figure out if something
5557         changed.
5558         * javax/swing/JViewport.java
5559         (ViewListener.componentResized): Fire state change, because
5560         the extentSize changes.
5561         (extentSize): Removed unneeded field.
5562         (viewSize): Removed unneeded field.
5563         (getExtentSize): Return the viewport's size here.
5564         (getViewRect): Reformatted.
5565         (getViewSize): Reordered for only one return statement.
5566         (paintImmediately2): Fixed up javadoc.
5567         (paint): Removed unneeded statement.
5568         (setExtentSize): Set viewport size and check for actual change
5569         of value.
5570         (setViewPosition): Simplified condition. Set scrollUnderway
5571         true and don't set isViewSizeSet. Avoid creating one Point
5572         object.
5573         (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5574         to false.
5575         * javax/swing/JScrollBar.java
5576         (ScrollBarListener): New class. Forwards change events from
5577         the model as adjustment events.
5578         (sbChangeListener): New field.
5579         (JScrollBar): Install listener on new model.
5580         (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5581         method.
5582         (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5583         method to allow custom isAdjusting value.
5584         (setMaximum): Only forward to model.
5585         (setMinimum): Only forward to model.
5586         (setValue): Only forward to model.
5587         (setVisibleAmount): Only forward to model.
5588         (setValues): Only forward to model.
5589         (setModel): Update the change listener.
5590
5591 2006-09-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
5592
5593         * java/util/Formatter.java (basicIntegralConversion): Removed 
5594         check for ZERO && !LEFT_JUSTIFY.
5595                 
5596 2006-09-20  Roman Kennke  <kennke@aicas.com>
5597
5598         PR 29036
5599         * javax/swing/plaf/metal/DefaultMetalTheme.java
5600         (PLAIN_CONTROL_TEXT_FONT): New constant field.
5601         (BOLD_CONTROL_TEXT_FONT): New constant field.
5602         (PLAIN_MENU_TEXT_FONT): New constant field.
5603         (BOLD_MENU_TEXT_FONT): New constant field.
5604         (controlTextFont): Removed.
5605         (menuTextFont): Removed.
5606         (CONTROL_TEXT_FONT): New constant field.
5607         (MENU_TEXT_FONT): New constant field.
5608         (getControlTextFont): Use getFont() helper method for fetching
5609         the correct font.
5610         (getMenuTextFont): Use getFont() helper method for fetching
5611         the correct font.
5612         (getFont): New helper method.
5613         (isBoldMetal): New helper method.
5614
5615 2006-09-20  Casey Marshall  <csm@gnu.org>
5616
5617         * NEWS: mention epoll selector along with the kqueue one.
5618
5619 2006-09-20  Casey Marshall  <csm@gnu.org>
5620
5621         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5622         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5623
5624 2006-09-20  Francis Kung  <fkung@redhat.com>
5625
5626         PR 29011
5627         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5628         (getGlyphTransform): Use translation instead of scale.
5629         (performDefaultLayout): Increment position values instead of resetting, and
5630         pre-increment instead of post-increment.
5631         (setGlyphTransform): Handle null case with identity transform.
5632
5633 2006-09-20  Casey Marshall  <csm@gnu.org>
5634
5635         * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5636         (AC_CHECK_FUNCS): check for `epoll_create.'
5637         * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5638         * gnu/java/nio/EpollSelectorImpl.java: new file.
5639         * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5640         field.
5641         (openSelector): return epoll selector if requested and available.
5642         * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5643         (gnu_java_nio_EpollSelectorImpl.h): new target.
5644         * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5645         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5646         gnu_java_nio_EpollSelectorImpl.c.
5647         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5648
5649 2006-09-20  Casey Marshall  <csm@gnu.org>
5650
5651         * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5652         call `isConnected.'
5653         (isConnected): return false if `connectionPending' is true.
5654
5655 2006-09-20  Francis Kung  <fkung@redhat.com>
5656
5657         PR 29011
5658         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5659         (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5660         (getGlyphOutline): Call getGylphTransform to generate transform.
5661         (getGylphPosition): Read position directly out of array.
5662         (getGlyphPositions): Read positions directly out of array.
5663         (getGlyphTransform): Generate transform based on gylphPositions array.
5664         (performDefaultLayout): Populate glyphPositions array instead of transforms.
5665         (setGlyphPosition): Set position directly into array.
5666         (setGlyphTransform): Update positions array as well.
5667
5668 2006-09-20  David Daney  <ddaney@avtrex.com>
5669
5670         PR classpath/28661
5671         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):  Add
5672         default content-type for POST method.
5673
5674 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
5675
5676         * javax/swing/plaf/basic/BasicRadioButtonUI.java
5677         (BasicRadioButtonUI): Don't fetch icon here,
5678         (installDefaults): Initialise icon here,
5679         (getDefaultIcon): Just return icon.
5680
5681 2006-09-20  Mark Wielaard  <mark@klomp.org>
5682
5683         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5684         Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5685         (EXTRA_DIST): Include javanio.c.
5686
5687 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
5688
5689         * java/awt/geom/RoundRectangle2D.java:
5690         (getPathIterator): Reimplemented,
5691         and updated various API doc comments.
5692
5693 2006-09-20  Roman Kennke  <kennke@aicas.com>
5694
5695         * java/awt/Container.java
5696         (addImpl): Set the new component's parent after it has been
5697         added to the array. Call addNotify() and invalidate()
5698         after the component has been added, so that the peer
5699         gets to know about the component structure when it is created.
5700         * java/awt/Window.java
5701         (dispatchEventImpl): Only revalidate when window is resized,
5702         let the other stuff be processed by the superclass.
5703         (dispose): Post WINDOW_CLOSED event only when some listener
5704         is registered or event is explicitly enabled.
5705         (show): Post WINDOW_OPENED event when appropriate.
5706
5707 2006-09-20  Roman Kennke  <kennke@aicas.com>
5708
5709         * java/awt/Component.java
5710         (addNotify): Invalidate here. Fetch peer font.
5711         (getFont): Delegate to helper method, to protect from
5712         overriding client code. Lock the tree while fetching the font.
5713         (getFontImpl): New helper method. Moved code from getFont() in
5714         here.
5715         (removeNotify): Nullify peerFont too.
5716         (setFont): Synchronize on tree and component to avoid threading
5717         issues. Update the peerFont correctly.
5718         (validate): Update the peer font if necessary, before validating.
5719         (getGraphics): Revert to recursive graphics fetching.
5720         Set component font on the Graphics object.
5721         (translateEvent): Removed unnecessary cast.
5722         * java/awt/Container.java
5723         (invalidateTree): Made final and private. Made implementation
5724         slightly more efficient.
5725         (setFont): Get old and new font via getFont() to account for
5726         the real font, and only invalidate the tree when they are not
5727         the same and not equal.
5728         (visitChild): Set the font of the child on the component graphics.
5729         * java/awt/Frame.java
5730         (setMenuBar): Create local reference of peer for thread safety.
5731         Only call simple invalidate, not invalidateTree().
5732
5733 2006-09-19  Cameron McCormack  <cam@mcc.id.au>
5734
5735         PR 29012
5736         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5737         (constructor): Copy image field.
5738
5739 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
5740
5741         * javax/swing/JMenuBar.java
5742         (getHelpMenu): Implemented to throw an Error, and added API docs,
5743         (getMargin): Added API docs,
5744         (setMargin): Likewise.
5745
5746 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
5747
5748         * javax/swing/AbstractButton.java
5749         (AbstractButton): Don't call updateUI(),
5750         * javax/swing/JButton.java
5751         (JButton(String, Icon)): Call setModel() before init(),
5752         * javax/swing/JMenuItem.java
5753         (JMenuItem()): Delegate to another constructor,
5754         (JMenuItem(Icon)): Likewise,
5755         (JMenuItem(Action)): Set model,
5756         (JMenuItem(String, Icon)): Likewise,
5757         * javax/swing/JToggleButton.java
5758         (init): Call setModel() before init().
5759
5760 2006-09-19  Mark Wielaard  <mark@klomp.org>
5761
5762         Fixes bug #29137
5763         * java/util/logging/LogManager.java (addLogger): Always check for
5764         existing children of a new Logger.
5765
5766 2006-09-19  Roman Kennke  <kennke@aicas.com>
5767
5768         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5769         (HSBChangeListener.stateChanged): Moved handling of header to
5770         syncScrollPaneWithViewport().
5771         (VSBChangeListener.stateChanged): Moved handling of header to
5772         syncScrollPaneWithViewport().
5773         (ViewportChangedHandler.stateChanged): Removed unused statements.
5774         (syncScrollPaneWithViewport): Added null checks. Use setValues
5775         rather then the single setter methods to avoid multiple
5776         adjustments and side effects. Also snyc the headers here.
5777         (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5778         (uninstallUI): Removed unnecessary cast and this qualifier as well
5779         as the call to super.
5780
5781 2006-09-19  Gary Benson  <gbenson@redhat.com>
5782
5783         * java/net/ResolverCache.java: New class (a DNS cache).
5784         * java/net/InetAddress.java
5785         (internalGetCanonicalHostName, getAllByName): Use the above.
5786
5787 2006-09-19  Jeroen Frijters  <jeroen@frijters.net>
5788
5789         * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5790         * java/net/ServerSocket.java
5791         (port): New field.
5792         (bind): Set port field.
5793         (close): Set impl to null.
5794         (isClosed): Check impl and channel instead of using VMChannel.
5795         (toString): Use port field and getLocalPort() method.
5796         * java/net/Socket.java
5797         (isClosed): Check impl and channel instead of using VMChannel.
5798
5799 2006-09-18  Tom Tromey  <tromey@redhat.com>
5800
5801         * java/util/concurrent/CopyOnWriteArrayList.java
5802         (CopyOnWriteArrayList): New constructor.
5803
5804 2006-09-18  Casey Marshall  <csm@gnu.org>
5805
5806         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5807         (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5808
5809 2006-09-18  Tom Tromey  <tromey@redhat.com>
5810
5811         * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5812         isConnected): Removed old comment.
5813         (getRemoteSocketAddress): Uncommented.
5814         (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5815         setTrafficClass, getTrafficClass, setReuseAddress,
5816         getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5817         isOutputShutdown): Uncommented.
5818
5819 2006-09-18  David Pirkle  <dpirkle@symyx.com>
5820
5821         Fixes PR 28589
5822         * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5823           input stream during resolution.
5824
5825 2006-09-18  Roman Kennke  <kennke@aicas.com>
5826
5827         * java/awt/LightweightDispatcher.java
5828         (findTarget): Correctly translate child coordinates.
5829         Use Component.eventTypeEnabled() for checking if a component
5830         has a certain event enabled.
5831         (handleMouseEvent): Find the correct mouse event target.
5832         Use Component.eventTypeEnabled() for checking if a component
5833         has a certain event enabled.
5834
5835 2006-09-18  Roman Kennke  <kennke@aicas.com>
5836
5837         * java/awt/Component.java
5838         (show): Test for the peer beeing lightweight directly.
5839         (paintAll): Validate before painting. Don't paint when not
5840         showing. Call peer.paint() when the component is heavyweight.
5841         (repaint): Delegate to the parent when lightweight, rather
5842         than skipping to the nearest heavyweight.
5843         (createImage): Added null check to prevent NPE.
5844         (dispatchEvent): Moved old event dispatching and toolkit
5845         event dispatching to dispatchEventImpl.
5846         (addComponentListener): Don't enable event. Only add listener
5847         when not null. Switch to new event dispatching only.
5848         (addFocusListener): Likewise.
5849         (addHierarchyListener): Likewise.
5850         (addHierarchyBoundsListener): Likewise.
5851         (addKeyListener): Likewise.
5852         (addMouseListener): Likewise.
5853         (addMouseMotionListener): Likewise.
5854         (addMouseWheelListener): Likewise.
5855         (addInputMethodListener): Likewise.
5856         (coalesceEvents): For mouse events coalesce them only when
5857         their modifiers are equal. For paint events coalesce the events
5858         when one contains the other, without going through complicated
5859         heuristics.
5860         (dispatchEventImpl): Moved old event dispatching and toolkit
5861         event dispatching to dispatchEventImpl.
5862         (coalescePaintEvents): Removed.
5863         (HeavyweightInLightweightListener.componentHidden):
5864         Fixed condition.
5865         * java/awt/Container.java
5866         (addImpl): Don't enable events on lightweights.
5867         (remove): Reordered operations. Don't remove any listeners.
5868         Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5869         Only removeNotify() when peer is != null. Only invalidate if 
5870         not already invalid. Only fire ContainerEvent if there is
5871         an interested listener or the event is enabled. Dispatch this
5872         event directly without the event queue.
5873         (removeAll): Likewise.
5874         (paintComponents): Only paint when showing. Also paint heavyweights.
5875         Don't paint the container itself.
5876         (removeNotify): Create local variables for improved thread safety.
5877         (addNotifyContainerChildren): Don't enable events for lightweights.
5878
5879 2006-09-18  Roman Kennke  <kennke@aicas.com>
5880
5881         * java/awt/EventQueue.java
5882         (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5883         (next_in): Removed obsolete field.
5884         (next_out): Removed obsolete field.
5885         (queueHead): New field. Markes the head of the queue.
5886         (queueTail): New field. Markes the tail of the queue.
5887         (queue): Removed obsolete field.
5888         (EventQueue): Documented empty block.
5889         (getNextEvent): Changed array based implementation to single-linked
5890         list based implementation.
5891         (invokeAndWait): Use an Object as synchronization object rather
5892         than the current thread.
5893         (peekEvent(int)): Changed array based implementation to single-linked
5894         list based implementation.
5895         (peekEvent()): Changed array based implementation to single-linked
5896         list based implementation.
5897         (pop()): Changed array based implementation to single-linked
5898         list based implementation.
5899         (postEvent): Foward to postEventImpl.
5900         (postEventImpl): Changed array based implementation to single-linked
5901         list based implementation.
5902         (push): Changed array based implementation to single-linked
5903         list based implementation.
5904         * java/awt/AWTEvent.java
5905         (queueNext): New field. Implements a single-linked list for
5906         the EventQueue.
5907
5908 2006-09-17  Mark Wielaard  <mark@klomp.org>
5909
5910         * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5911         resource from HTMLEditorKit.class.
5912
5913 2006-09-17  Mark Wielaard  <mark@klomp.org>
5914
5915         * javax/swing/plaf/basic/BasicToolBarUI.java
5916         (setBorderToNonRollover): Check whether border is null.
5917         (setBorderToRollover): Likewise.
5918
5919 2006-09-17  Mark Wielaard  <mark@klomp.org>
5920
5921         * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5922
5923 2006-09-17  Mark Wielaard  <mark@klomp.org>
5924
5925         * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5926         * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5927         * native/jni/java-nio/gnu_java_nio_VMChannel.c
5928         (Java_gnu_java_nio_VMChannel_lock): Likewise.
5929         (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5930
5931 2006-09-17  Casey Marshall  <csm@gnu.org>
5932
5933         * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5934         unused.
5935
5936 2006-09-17  Chris Burdess  <dog@gnu.org>
5937
5938         Fixes PR 27610 27687.
5939         * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5940         * gnu/xml/transform/SAXTemplatesHandler.java,
5941         * gnu/xml/transform/SAXTransformerHandler.java: New files.
5942         * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5943           SAXTransformerFactory.
5944
5945 2006-09-16  Casey Marshall  <csm@gnu.org>
5946
5947         * NEWS: updated.
5948         * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5949         (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5950         kqueue, and kevent.
5951         (HAVE_INET6): define if IPv6 is supported.
5952         * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5953         (native_fd): removed.
5954         (impl): new field.
5955         (<init>): throw IOException; initialize fields.
5956         (finalize): removed.
5957         (getNativeFD): removed.
5958         (bind): use `PlainSocketImpl.bind.'
5959         (create): use `PlainSocketImpl.initSocket.'
5960         (disconnect): use `PlainSocketImpl.disconnect.'
5961         (getLocalPort): new method.
5962         (send): use `VMChannel.send.'
5963         (receive): use `VMChannel.receive.'
5964         (setOption): use `PlainSocketImpl.setOption.'
5965         (getOption): use `PlainSocketImpl.getOption.'
5966         (close): use `VMChannel.State.close.'
5967         (join): use `PlainSocketImpl.join.'
5968         (leave): use `PlainSocketImpl.leave.'
5969         (joinGroup, leaveGroup): implemented.
5970         * gnu/java/net/PlainSocketImpl.java: make non-final.
5971         (native_fd): removed.
5972         (impl): new field.
5973         (channel): new field.
5974         (<init>): initialize `impl.'
5975         (finalize, getNativeFD): removed.
5976         (setOption): use `PlainSocketImpl.setOption.'
5977         (getOption): use `PlainSocketImpl.getOption.'
5978         (shutdownInput): use `PlainSocketImpl.shutdownInput.'
5979         (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
5980         (create): create `channel,' initialize `impl's native state.
5981         (connect): use `connect(SocketAddress, int).'
5982         (connect): use `SocketChannelImpl.connect;' initialize `address'
5983         and `port.'
5984         (bind): use `VMPlainSocketImpl.bind.'
5985         (listen): use `VMPlainSocketImpl.listen.'
5986         (accept): use `SocketChannelImpl.accept.'
5987         (available): use `VMChannel.available.'
5988         (close): use `PlainSocketImpl.close.'
5989         (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
5990         (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
5991         getPort): new methods.
5992         (SocketInputStream.read): use `VMChannel.read.'
5993         (SocketInputStream.read): use `SocketChannel.read.'
5994         (SocketOutputStream.write): use `VMChannel.write.'
5995         (SocketOutputStream.write): use `SocketChannel.write.'
5996         * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
5997         (channel): new field.
5998         (<init>): initialize `channel.'
5999         (implCloseSelectableChannel): use `VMChannel.close.'
6000         (implConfigureBlocking): use `VMChannel.setBlocking.'
6001         (connect): use `VMChannel.connect.'
6002         (disconnect): use `VMChannel.disconnect.'
6003         (isConnected): use `VMChannel.getPeerAddress.'
6004         (write): use `VMChannel.write.'
6005         (write): use `VMChannel.writeGathering.'
6006         (read): use `VMChannel.read.'
6007         (read): use `VMChannel.readScattering.'
6008         (receive): use `VMChannel.receive.'
6009         (send): use `VMChannel.send.'
6010         (getVMChannel): new method.
6011         * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
6012         access native FD through VMChannel.State.
6013         * gnu/java/nio/FileChannelImpl.java: moved from
6014         gnu/java/nio/channels/FileChannelImpl.java.
6015         * gnu/java/nio/FileLockImpl.java: fix imports.
6016         * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
6017         * gnu/java/nio/KqueueSelectorImpl.java: new file.
6018         * gnu/java/nio/NIOSocket.java (impl): removed.
6019         (channel): new field.
6020         (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
6021         (getPlainSocketImpl, setChannel): removed.
6022         (isConnected): new method.
6023         * gnu/java/nio/NIOSocketImpl.java: new file.
6024         * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
6025         `VMChannelOwner.'
6026         (SourceChannelImpl.native_fd): removed.
6027         (SourceChannelImpl.<init>): init with a `VMChannel.'
6028         (SourceChannelImpl.getNativeFD): removed.
6029         (SourceChannelImpl.getVMChannel): new method.
6030         (SourceChannelImpl.implCloseSelectableChannel): implement.
6031         (SinkChannelImpl): implement `VMChannelOwner.'
6032         (SinkChannelImpl.native_fd): removed.
6033         (SinkChannelImpl.<init>): init with a `VMChannel.'
6034         (SinkChannelImpl.implCloseSelectableChannel): implement.
6035         (SinkChannelImpl.getNativeFD): removed.
6036         (SinkChannelImpl.getVMChannel): new method.
6037         * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
6038         deprecated.
6039         * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
6040         SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
6041         (openSelector): return kqueue selector if available.
6042         * gnu/java/nio/ServerSocketChannelImpl.java: implement
6043         `VMChannelOwner.'
6044         (channel): new field.
6045         (<init>): init `channel.'
6046         (finalizer): check if the `VMChannel.State' is valid.
6047         (implCloseSelectableChannel): use `VMChannel.close.'
6048         (implConfigureBlocking): use `VMChannel.setBlocking.'
6049         (accept): use `VMChannel.accept.'
6050         (getVMChannel): new method.
6051         * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
6052         access native FD through `VMChannel.State.'
6053         * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
6054         (impl): removed.
6055         (channel, connected, connectAddress): new field.
6056         (<init>): new constructors.
6057         (getPlainSocketImpl): removed.
6058         (implCloseSelectableChannel): use `VMChannel.close.'
6059         (implConfigureBlocking): use `VMChannel.setBlocking.'
6060         (connect): use `connect(SocketAddress,int).'
6061         (connect): use `VMChannel.connect.'
6062         (finishConnect): don't use a selector.
6063         (isConnected): use `VMChannel.getPeerAddress.'
6064         (read): use `VMChannel.read.'
6065         (read): use `VMChannel.readScattering.'
6066         (write): use `VMChannel.write.'
6067         (write): use `VMChannel.writeGathering.'
6068         (getVMChannel): new method.
6069         * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
6070         native FD from `VMChannel.State.'
6071         * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
6072         get native FD from `VMChannel.State.'
6073         * gnu/java/nio/VMChannelOwner.java: new file.
6074         * gnu/java/nio/channels/FileChannelImpl.java: removed.
6075         * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
6076         and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
6077         `gnu_java_nio_channels_FileChannelImpl.h.'
6078         * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
6079         * include/gnu_java_nio_FileChannelImpl.h: new file.
6080         * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
6081         * include/gnu_java_nio_VMChannel.h: regenerated.
6082         * include/gnu_java_nio_VMPipe.h: regenerated.
6083         * include/java_net_VMNetworkInterface.h: regenerated.
6084         * java/io/FileDescriptor.java: fix imports.
6085         * java/io/FileInputStream.java (<init>): handle exceptions.
6086         (read): wrap the destination arary.
6087         * java/io/FileOutputStream.java (<init>): handle exceptions.
6088         (write): wrap the source array.
6089         * java/io/RandomAccessFile.java (<init>): handle exceptions.
6090         * java/net/DatagramSocket.java (<init>): handle exceptions.
6091         (receive): handle length/port setting.
6092         (connect): bind to any address/port if the argument is null.
6093         * java/net/NetworkInterface.java (name, inetAddress): removed.
6094         (netif): new field.
6095         (<init>): make private.
6096         (getName): return `netif.name.'
6097         (getInetAddresses): access `netif.addresses.'
6098         (getDisplayName): return `netif.name.'
6099         (getByName, getByAddress): handle changes to `VMNetworkInterface.'
6100         (condense): removed.
6101         (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
6102         (equals): compare `netif' fields.
6103         (hashCode): get hash codes from `netif.'
6104         (toString): use a StringBuffer.
6105         * java/net/ServerSocket.java (close): don't set `impl' to null.
6106         (isClosed): use `VMChannel.State.isClosed.'
6107         * java/net/Socket.java (getLocalAddress): don't use `getOption' if
6108         the `SocketImpl' is a `PlainSocketImpl.'
6109         (close): just close the `impl.'
6110         (toString): use `super.toString' in the value we return.
6111         (isConnected): just access `impl,' not `getImpl.'
6112         (isBound): use `PlainSocketImpl' methods if we can.
6113         (isClosed): look at `VMChannel.State.'
6114         * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
6115         (JCL_NewRawDataObject): don't initialize cached fields here; throw
6116         an exception if they were not.
6117         (JCL_GetRawData): throw an exception if cached fields weren't
6118         created.
6119         * native/jni/java-lang/java_lang_VMProcess.c: handle
6120         FileChannelImpl move.
6121         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
6122         (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
6123         THROW_NO_NETWORK): new macros.
6124         (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
6125         (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
6126         (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
6127         (java_sockopt): new enum.
6128         (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
6129         (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
6130         (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
6131         reimplemented.
6132         (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
6133         reimplemented.
6134         (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
6135         function.
6136         (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
6137         (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
6138         (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
6139         (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
6140         (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
6141         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
6142         (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
6143         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
6144         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
6145         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
6146         (getif_address): new function.
6147         (getif_index): new function.
6148         * native/jni/java-net/java_net_VMNetworkInterface.c
6149         (java_net_VMNetworkInterface_init,
6150         java_net_VMNetworkInterface_addAddress): new file-scope globals.
6151         (Java_java_net_VMNetworkInterface_initIds): new function.
6152         (struct netif_entry): new struct.
6153         (free_netif_list): new function.
6154         (Java_java_net_VMNetworkInterface_getInterfaces): removed.
6155         (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
6156         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
6157         gnu_java_nio_channels_FileChannelImpl.c, add
6158         gnu_java_nio_KqueueSelectorImpl.c.
6159         * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
6160         * native/jni/java-nio/gnu_java_nio_VMChannel.c
6161         (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
6162         ALIGN_DOWN): new macros.
6163         (JCL_init_buffer): get the address through GetDirectBufferAddress
6164         if possible.
6165         (Java_gnu_java_nio_VMChannel_stdin_1fd,
6166         Java_gnu_java_nio_VMChannel_stdout_1fd,
6167         Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
6168         (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
6169         value.
6170         (Java_gnu_java_nio_VMChannel_read): renamed...
6171         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
6172         this; handle interrupted IO; add HAVE_READ check.
6173         (Java_gnu_java_nio_VMChannel_write): renamed...
6174         (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
6175         this; handle zero-length write; add HAVE_WRITE check.
6176         (Java_gnu_java_nio_VMChannel_receive): new function.
6177         (Java_gnu_java_nio_VMChannel_send): new function.
6178         (Java_gnu_java_nio_VMChannel_send6): new function.
6179         (Java_gnu_java_nio_VMChannel_read__I): new function.
6180         (Java_gnu_java_nio_VMChannel_write__II): new function.
6181         (Java_gnu_java_nio_VMChannel_socket): new function.
6182         (Java_gnu_java_nio_VMChannel_connect): new function.
6183         (Java_gnu_java_nio_VMChannel_connect6): new function.
6184         (Java_gnu_java_nio_VMChannel_getsockname): new function.
6185         (Java_gnu_java_nio_VMChannel_getpeername): new function.
6186         (Java_gnu_java_nio_VMChannel_accept): new function.
6187         (Java_gnu_java_nio_VMChannel_disconnect): new function.
6188         (Java_gnu_java_nio_VMChannel_close): new function.
6189         (Java_gnu_java_nio_VMChannel_available): new function.
6190         (FileChannel_mode): new enum.
6191         (Java_gnu_java_nio_VMChannel_open): new function.
6192         (Java_gnu_java_nio_VMChannel_position): new function.
6193         (Java_gnu_java_nio_VMChannel_seek): new function.
6194         (Java_gnu_java_nio_VMChannel_truncate): new funciton.
6195         (Java_gnu_java_nio_VMChannel_lock): new function.
6196         (Java_gnu_java_nio_VMChannel_unlock): new function.
6197         (Java_gnu_java_nio_VMChannel_size): new function.
6198         (Java_gnu_java_nio_VMChannel_map): new function.
6199         (Java_gnu_java_nio_VMChannel_flush): new function.
6200         * native/jni/java-nio/gnu_java_nio_VMPipe.c
6201         (Java_gnu_java_nio_VMPipe_init): removed.
6202         (Java_gnu_java_nio_VMPipe_pipe0): new function.
6203         * native/jni/java-nio/javanio.c: new file.
6204         * native/jni/java-nio/javanio.h: new file.
6205         * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
6206         systems without `gethostbyname_r.'
6207         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
6208         field.
6209         (<init>, <init>): new constructors.
6210         (setOption, getOption): make instance methods; defer to native
6211         implementation.
6212         (connect): removed.
6213         (bind): make an instance method; defer to native methods.
6214         (accept): removed.
6215         (available): removed.
6216         (listen): make an instance method; defer to native method.
6217         (read): removed.
6218         (join, leave): new methods.
6219         (write): removed.
6220         (joinGroup, leaveGroup): new methods.
6221         (shutdownInput, shutdownOutput): make instance methods.
6222         (sendUrgentData): removed.
6223         (State): new class.
6224         * vm/reference/gnu/java/nio/VMChannel.java: make final.
6225         (fd): removed.
6226         (nfd): new field.
6227         (<init>): new, public constructors.
6228         (getVMChannel): methods removed.
6229         (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
6230         stderr_fd): new methods.
6231         (setBlocking): make an instance method.
6232         (available): new method.
6233         (read): get native fd from `nfd.'
6234         (read): new single-byte read method.
6235         (readScattering): get native fd from `nfd.'
6236         (receive): new method.
6237         (write, writeGathering): get native fd from `nfd.'
6238         (send): new method.
6239         (write): new single-byte write method.
6240         (initSocket): new method.
6241         (connect): new method.
6242         (disconnect): new method.
6243         (getLocalAddress): new method.
6244         (getPeerAddress): new method.
6245         (accept): new method.
6246         (openFile): new method.
6247         (position): new method.
6248         (seek): new method.
6249         (truncate): new method.
6250         (lock): new method.
6251         (unlock): new method.
6252         (size): new method.
6253         (map): new method.
6254         (flush): new method.
6255         (close): new method.
6256         (State): new class.
6257         (Kind): new class.
6258         * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
6259         (pipe, pipe0): new method.
6260         * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
6261         new fields.
6262         (<clinit>): call `initIds.'
6263         (initIds): new method.
6264         (getInterfaces): removed.
6265         (getVMInterfaces): new method.
6266         (addAddress): new method.
6267         * vm/reference/java/nio/channels/VMChannels.java: fix imports.
6268
6269 2006-09-16  Chris Burdess  <dog@gnu.org>
6270
6271         Fixes PR 28572.
6272         * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
6273           when in text output mode.
6274
6275 2006-09-16  Chris Burdess  <dog@gnu.org>
6276
6277         Fixes PR 27293.
6278         * gnu/xml/dom/DomNode.java: Increment length of node during insert.
6279
6280 2006-09-14  Michael Koch  <konqueror@gmx.de>
6281
6282         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
6283
6284 2006-09-15  Chistian Elias Naur  <elias@oddlabs.com>
6285
6286         * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
6287         Added !cl.isArray() to serialVersionUID mismatch check.
6288
6289 2006-09-14  Francis Kung  <fkung@redhat.com>
6290
6291         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6292         (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
6293         be compatibe with Cairo 1.2.x.
6294
6295 2006-09-14  Francis Kung  <fkung@redhat.com>
6296
6297         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
6298         (cairoSurfaceSetFilter): Removed method.
6299         (drawImage): Pass interpolation type as argument to drawing methods.
6300         (drawPixels): Added interpolation parameter.
6301         (drawRaster): Pass interpolation type as argument to drawing method.
6302         (getInterpolation): New method.
6303         (setRenderingHint): Store hints, but do not set interpolation in cairo.
6304         (setRenderingHints): Store hints, but do not set interpolation in cairo.
6305         * gnu/java/awt/peer/gtk/CairoSurface.java
6306         (drawSurface): Added interpolation parameter.
6307         (nativeDrawSurface): Added interpolation parameter.
6308         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
6309         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6310         parameter.
6311         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6312         * native/jni/gtk-peer/cairographics2d.h
6313         (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
6314         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6315         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6316         parameter.
6317         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6318         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6319         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
6320         interpolation parameter.
6321
6322 2006-09-14  Gary Benson  <gbenson@redhat.com>
6323
6324         * java/net/InetAddress.java
6325         (internalGetCanonicalHostName): New method.
6326         (getCanonicalHostName): Use internalGetCanonicalHostName.
6327         (getByLiteral): New method.
6328         (getAllByName): Use getByLiteral.
6329         * java/net/SocketPermission.java
6330         (host): Replaced with...
6331         (hostname, address): New fields.
6332         (equals, hashcode): Reflect the above.
6333         (setHostPort): Parse host into hostname or address.
6334         (implies): Rewrite host checks.
6335
6336 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
6337
6338         Fixes PR28699
6339         * java/awt/Menu.java
6340         (insert(MenuItem, int)): Fixed loop range,
6341         (insert(String, int)): Updated API docs.
6342
6343 2006-09-14  Christian Thalinger  <twisti@complang.tuwien.ac.at>
6344
6345         Fixes PR22800
6346         * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
6347         architectures (like Arm).
6348         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
6349         Reverted SWAP_DOUBLE patch.
6350         (doubleToRawLongBits): Likewise.
6351         (longBitsToDouble): Likewise.
6352
6353 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
6354
6355         * java/awt/Menu.java: Reformatted source file.
6356
6357 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
6358
6359         * gnu/java/rmi/server/ActivatableRef.java
6360         (readExternal, writeExternal): Partial fix for serialization format.
6361
6362 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
6363
6364         PR classpath/28984
6365         * java/io/InputStreamReader.java
6366         (read(char[],int,int)): Fixed bug.
6367
6368 2006-09-13  Francis Kung  <fkung@redhat.com>
6369
6370         * java/awt/image/BandCombineOp.java: Updated documentation.
6371         (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6372
6373 2006-09-13  Tom Tromey  <tromey@redhat.com>
6374
6375         PR classpath/29034:
6376         * java/io/PipedReader.java (read): Return early if len==0.
6377         * java/io/PipedInputStream.java (read): Return early if len==0.
6378
6379 2006-09-13  Francis Kung  <fkung@redhat.com>
6380
6381         * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6382         Removed hard-coded max sample value.
6383         * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)): 
6384         Fixed finding of max sample value.
6385
6386 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6387
6388         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6389         (setPaint): Check null argument ('p').
6390
6391 2006-09-12  Francis Kung  <fkung@redhat.com>
6392
6393         PR 27940
6394         * gnu/java/awt/java2d/TexturePaintContext.java
6395         (constructor): Fixed typo, getMinY instead of getMaxX.
6396         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6397         (setPaint): Implemented support for custom Paint classes.
6398         (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6399         (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6400         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6401         to setPaintPixels, and added repeat parameter.
6402         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6403          Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6404
6405 2006-09-12  Gary Benson  <gbenson@redhat.com>
6406
6407         * java/net/NetworkInterface.java (getInetAddresses):
6408         Fix port used in security check.
6409
6410 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6411
6412         * javax/swing/plaf/metal/DefaultMetalTheme.java
6413         (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6414         (MENU_TEXT_FONT): Renamed 'menuTextFont',
6415         (getControlTextFont): Check 'swing.boldMetal' setting before 
6416         initialising font,
6417         (getMenuTextFont): Likewise.
6418
6419 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6420
6421         * javax/swing/plaf/metal/OceanTheme.java
6422         (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6423
6424 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6425
6426         * javax/swing/plaf/metal/MetalIconFactory.java
6427         (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6428
6429 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6430
6431         * javax/swing/AbstractSpinnerModel.java: API doc updates.
6432
6433 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6434
6435         * javax/swing/AbstractButton.java
6436         (AbstractButton): Initialise textIconGap field.
6437
6438 2006-09-11  Tom Tromey  <tromey@redhat.com>
6439
6440         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6441         "volatile" when needed.
6442
6443 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
6444
6445         * java/text/AttributedCharacterIterator.java
6446         (LANGUAGE): Initialise with lower case string,
6447         (INPUT_METHOD_SEGMENT): Likewise,
6448         (READING): Likewise,
6449         * java/text/AttributedStringIterator.java
6450         (getRunLimit): Check all attributes for changes.
6451
6452 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
6453
6454         * java/text/AttributedCharacterIterator.java: Added @since tag, 
6455         renamed some variables (no underscores) and removed some spaces to
6456         match the common style,
6457         * java/text/AttributedString.java: Likewise,
6458         * java/text/AttributedStringIterator.java: Likewise.
6459
6460 2006-09-11  Gary Benson  <gbenson@redhat.com>
6461
6462         * java/net/Inet4Address.java
6463         (FAMILY): Renamed back to AF_INET.
6464         (<init>, writeReplace): Reflect the above.
6465         * java/net/Inet6Address.java
6466         (FAMILY): Renamed back to AF_INET6.
6467         (<init>): Reflect the above.
6468
6469 2006-09-11  Cameron McCormack  <cam-gcc-bugzilla@aka.mcc.id.au>
6470
6471         Fixes PR29010
6472         * java/text/AttributedString.java
6473         (AttributedString(AttributedCharacterIterator, int, int, 
6474         AttributedCharacterIterator.Attribute[])): Fixed check for defined 
6475         attribute.
6476
6477 2006-09-11  Gary Benson  <gbenson@redhat.com>
6478
6479         * java/net/Inet4Address.java
6480         (AF_INET): Renamed to FAMILY.
6481         (<init>, writeReplace): Reflect the above.
6482         * java/net/Inet6Address.java
6483         (AF_INET6): Renamed to FAMILY.
6484         (<init>): Reflect the above.
6485
6486 2006-09-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6487
6488         Fixes bug #28867
6489         Originally in Kaffe: 2004-04-16  Helmer Kraemer <hkraemer@freenet.de>
6490         * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6491         * java/net/Socket.java: Avoid creating a redundant file descriptor.
6492         (implCreated): Deleted, (getImpl): Don't check impleCreated,
6493         (bind): Call getImpl().create(true).
6494
6495 2006-09-09  Chris Burdess  <dog@gnu.org>
6496
6497         * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6498           an instance of org.w3c.dom.NodeList.
6499
6500 2006-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
6501
6502         * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6503         missing security manager when run in standalone mode.
6504
6505 2006-09-08  Francis Kung  <fkung@redhat.com>
6506
6507         * java/awt/image/AffineTransformOp.java: Updated documentation.
6508         (createCompatibleDestRaster): Updated formatting.
6509         (filter(BufferedImage, BufferedImage)): Updated formatting.
6510         (filter(Raster, WritableRaster)): Delegated processing to native peers for
6511         if colour model is compatible.
6512         (filterBicubic): Get entire pixel at once, and use appropriate array type.
6513         (filterBilinear): Get entire pixel at once, and use appropriate array type.
6514
6515 2006-09-08  Gary Benson  <gbenson@redhat.com>
6516
6517         * java/net/InetAddress.java
6518         (family): Updated javadoc and made private.
6519         (<init>): Add an address family argument.
6520         (readObject): Don't overwrite family.
6521         * java/net/Inet4Address.java
6522         (AF_INET): New constant.
6523         (<init>): Use AF_INET as the family.
6524         (writeReplace): Likewise.
6525         * java/net/Inet6Address.java
6526         (AF_INET6): New constant.
6527         (<init>): Use AF_INET6 as the family.
6528
6529 2006-09-08  Gary Benson  <gbenson@redhat.com>
6530
6531         * java/net/InetAddress.java
6532         (getHostName): Move lookup into getCanonicalHostName.
6533         (getCanonicalHostName): Move lookup from getHostName,
6534         Perform security check on canonical name (ie after lookup).
6535
6536 2006-09-08  Gary Benson  <gbenson@redhat.com>
6537
6538         * java/net/Inet4Address.java (isMulticastAddress,
6539         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6540         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6541         isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6542         implementations from InetAddress.
6543         * java/net/InetAddress.java (isMulticastAddress,
6544         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6545         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6546         isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6547         implementations with UnsupportedOperationExceptions.
6548         
6549 2006-09-08  Gary Benson  <gbenson@redhat.com>
6550
6551         * java/net/InetAddress.java
6552         (inaddr_any): Removed.
6553         (ANY_IF, LOCALHOST): Create using getByAddress.
6554         (<init>): Updated javadoc.
6555         (getHostName): Cache hostname even if the lookup failed.
6556         (getByAddress): Create Inet4Address objects when passed
6557         IPv4-mapped IPv6 addresses.
6558         (aton): Removed.
6559         (getAllByName): Create address objects using getByAddress.
6560         Do not perform security checks unless actually required.
6561         Do not strip whitespace from the hostname.
6562         (getInaddrAny): Removed.
6563         (getLocalHost): Return the loopback address if getByName
6564         throws a SecurityException.
6565         (readResolve): Updated javadoc.
6566         * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6567         * include/java_net_VMInetAddress.h
6568         (Java_java_net_VMInetAddress_aton): Likewise.
6569         * native/jni/java-net/java_net_VMInetAddress.c
6570         (Java_java_net_VMInetAddress_aton): New method.
6571         * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6572         * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6573         * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6574         * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6575         * NEWS: Added note about updated VM interface.
6576
6577 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6578
6579         * javax/swing/plaf/basic/BasicInternalFrameUI.java
6580         (setNorthPane): Assign component to titlePane.
6581
6582 2006-09-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6583
6584         * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6585         Remove unused variable alt_addr.
6586         * gnu/CORBA/NamingService/NameTransformer.java (toName):
6587         Remove unused variables.
6588
6589 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6590
6591         * javax/swing/plaf/metal/MetalScrollBarUI.java
6592         (installDefaults): Initialise scrollBarWidth from UI defaults here,
6593         (createDecreaseButton): Don't fetch scrollBarWidth here, 
6594         (createIncreaseButton): Likewise.
6595
6596 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6597
6598         * java/awt/image/MemoryImageSource.java: Added API docs.
6599
6600 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6601
6602         * javax/swing/plaf/basic/BasicScrollBarUI.java
6603         (installDefaults): Call configureScrollBarColors().
6604
6605 2006-09-06  Francis Kung  <fkung@redhat.com>
6606
6607         * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6608         (constructor): Make copy of arrays.
6609         (createCompatibleDestImage): Changed treatment of null ColorModel.
6610         (filter(BufferedImage, BufferedImage)): Re-implemented.
6611         (filter(Raster, WritableRaster, boolean[])): New method.
6612         (filter(Raster, WritableRaster)): Re-implemented.
6613         (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6614         (getPoint2D): Cleaned up formatting.
6615         (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6616
6617 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6618
6619         * javax/swing/UIManager.java
6620         (getBoolean(Object)): Reimplemented,
6621         (getBoolean(Object, Locale)): Likewise,
6622         (getBorder(Object)): Likewise,
6623         (getBorder(Object, Locale)): Likewise,
6624         (getColor(Object)): Likewise,
6625         (getColor(Object, Locale)): Likewise,
6626         (getDimension(Object)): Likewise,
6627         (getDimension(Object, Locale)): Likewise,
6628         (getFont(Object)): Likewise,
6629         (getFont(Object, Locale)): Likewise,
6630         (getIcon(Object)): Likewise,
6631         (getIcon(Object, Locale)): Likewise,
6632         (getInsets(Object)): Updated API docs,
6633         (getInsets(Object, Locale)): Likewise,
6634         (getInt(Object)): Reimplemented,
6635         (getInt(Object, Locale)): Likewise,
6636         (getString(Object)): Likewise,
6637         (getString(Object, Locale)): Likewise.
6638
6639 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6640
6641         * javax/swing/UIManager.java
6642         (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6643         (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6644
6645 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6646
6647         * javax/swing/plaf/metal/MetalLookAndFeel.java
6648         (initComponentDefaults): Corrected various font defaults.
6649
6650 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6651
6652         * java/awt/List.java: Added @since to various methods.
6653
6654 2006-09-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6655
6656         * native/jni/native-lib/cpprocess.c:
6657         (forkAndExec(char*,char*,int,int,pid_t,char*)):
6658         Add redirection of stdout to stderr.
6659         * native/jni/native-lib/cpprocess.h:
6660         Added redirect argument.
6661         * native/jni/java-lang/java_lang_VMProcess.c
6662         (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6663         * vm/reference/java/lang/VMProcess.java: Likewise.
6664         * include/java_lang_VMProcess.h: Regenerated.
6665         
6666 2006-09-05  Andreas Tobler  <a.tobler@schweiz.ch>
6667
6668         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6669         __attribute to __attribute__.
6670
6671         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6672         header include.
6673
6674 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6675
6676         * java/awt/List.java: Source code reformatted.
6677
6678 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6679
6680         * gnu/CORBA/CollocatedOrbs.java,
6681         gnu/CORBA/SafeForDirectCalls.java: New files.
6682         * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6683         Implement gnu.CORBA.SafeForDirectCalls.
6684         * gnu/CORBA/NamingService/Ext.java: Likewise.
6685         * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6686         * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6687         of the local host. (ior_to_object): Return the local object
6688         where possible. (run): Register/unregister this ORB.
6689         * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.      
6690         * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6691         * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6692         (constructors): Initialize noRetain. (_invoke): Drop servant
6693         if noRetain is true. (getHandler): Always seach for the new servant
6694         if noRetain is true.
6695         * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6696         * NEWS: Added note about the new feature.
6697
6698 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6699
6700         * java/awt/Choice.java
6701         (addItem): Fixed API doc glitch.
6702
6703 2006-09-05  Francis Kung  <fkung@redhat.com>
6704
6705         * java/awt/image/LookupOp.java: Updated documentation & formatting.
6706         (createCompatibleDestImage): Re-implemented.
6707         (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6708         compatibility, and use ColorConvertOp for color conversion if needed.
6709         (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6710
6711 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6712
6713         gnu/CORBA/CDR/Vio.java,
6714         org/omg/CORBA_2_3/ORB.java,
6715         org/omg/CORBA_2_3/portable/InputStream.java,
6716         org/omg/CORBA_2_3/portable/OutputStream.java,
6717         org/omg/CosNaming/BindingIteratorHelper.java,
6718         org/omg/CosNaming/BindingTypeHelper.java,
6719         org/omg/CosNaming/NameComponentHelper.java,
6720         org/omg/CosNaming/NameHelper.java,
6721         org/omg/CosNaming/NamingContextExtHelper.java,
6722         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6723         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6724         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6725         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6726         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6727         org/omg/CosNaming/NamingContextHelper.java,
6728         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6729         org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6730         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6731         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6732         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6733         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6734         org/omg/DynamicAny/AnySeqHelper.java,
6735         org/omg/DynamicAny/DynAnyFactoryHelper.java,
6736         org/omg/DynamicAny/DynAnyFactoryOperations.java,
6737         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6738         org/omg/DynamicAny/DynAnyHelper.java,
6739         org/omg/DynamicAny/DynAnyOperations.java,
6740         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6741         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6742         org/omg/DynamicAny/DynAnySeqHelper.java,
6743         org/omg/DynamicAny/DynArrayHelper.java,
6744         org/omg/DynamicAny/DynEnumHelper.java,
6745         org/omg/DynamicAny/DynFixedHelper.java,
6746         org/omg/DynamicAny/DynSequenceHelper.java,
6747         org/omg/DynamicAny/DynStructHelper.java,
6748         org/omg/DynamicAny/DynStructOperations.java,
6749         org/omg/DynamicAny/DynUnionHelper.java,
6750         org/omg/DynamicAny/DynValueHelper.java,
6751         org/omg/DynamicAny/NameDynAnyPairHelper.java,
6752         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6753         org/omg/IOP/CodecFactoryHelper.java,
6754         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6755         org/omg/IOP/CodecOperations.java,
6756         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6757         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6758         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6759         org/omg/IOP/ComponentIdHelper.java,
6760         org/omg/IOP/ExceptionDetailMessage.java,
6761         org/omg/IOP/MultipleComponentProfileHelper.java,
6762         org/omg/IOP/ProfileIdHelper.java,
6763         org/omg/IOP/ServiceContextListHelper.java,
6764         org/omg/IOP/ServiceIdHelper.java,
6765         org/omg/IOP/TAG_CODE_SETS.java,
6766         org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6767         org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6768         org/omg/PortableInterceptor/CurrentHelper.java,
6769         org/omg/PortableInterceptor/IORInfo.java,
6770         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6771         org/omg/PortableInterceptor/ORBIdHelper.java,
6772         org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6773         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6774         org/omg/PortableInterceptor/ORBInitializerOperations.java,
6775         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6776         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6777         org/omg/PortableInterceptor/RequestInfoOperations.java,
6778         org/omg/PortableInterceptor/ServerIdHelper.java,
6779         org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6780         org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6781         org/omg/PortableServer/AdapterActivatorOperations.java,
6782         org/omg/PortableServer/CurrentHelper.java,
6783         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6784         org/omg/PortableServer/ForwardRequestHelper.java,
6785         org/omg/PortableServer/IdAssignmentPolicyValue.java,
6786         org/omg/PortableServer/IdUniquenessPolicyValue.java,
6787         org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6788         org/omg/PortableServer/LifespanPolicyValue.java,
6789         org/omg/PortableServer/POA.java,
6790         org/omg/PortableServer/POAHelper.java,
6791         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6792         org/omg/PortableServer/POAManagerPackage/State.java,
6793         org/omg/PortableServer/POAOperations.java,
6794         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6795         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6796         org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6797         org/omg/PortableServer/POAPackage/NoServantHelper.java,
6798         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6799         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6800         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6801         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6802         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6803         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6804         org/omg/PortableServer/RequestProcessingPolicyValue.java,
6805         org/omg/PortableServer/ServantActivatorHelper.java,
6806         org/omg/PortableServer/ServantLocatorHelper.java,
6807         org/omg/PortableServer/ServantLocatorOperations.java,
6808         org/omg/PortableServer/ServantRetentionPolicyValue.java,
6809         org/omg/PortableServer/ThreadPolicyValue.java,
6810         org/omg/PortableServer/_ServantActivatorStub.java,
6811         org/omg/PortableServer/_ServantLocatorStub.java,
6812         org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6813
6814 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6815
6816         * javax/rmi/CORBA/Tie.java,
6817         org/omg/CORBA/AnyHolder.java,
6818         org/omg/CORBA/AnySeqHelper.java,
6819         org/omg/CORBA/AnySeqHolder.java,
6820         org/omg/CORBA/BooleanHolder.java,
6821         org/omg/CORBA/BooleanSeqHelper.java,
6822         org/omg/CORBA/BooleanSeqHolder.java,
6823         org/omg/CORBA/ByteHolder.java,
6824         org/omg/CORBA/CharHolder.java,
6825         org/omg/CORBA/CharSeqHelper.java,
6826         org/omg/CORBA/CharSeqHolder.java,
6827         org/omg/CORBA/Context.java,
6828         org/omg/CORBA/CurrentHelper.java,
6829         org/omg/CORBA/CustomValue.java,
6830         org/omg/CORBA/DataOutputStream.java,
6831         org/omg/CORBA/DefinitionKindHelper.java,
6832         org/omg/CORBA/DomainManagerOperations.java,
6833         org/omg/CORBA/DoubleHolder.java,
6834         org/omg/CORBA/DoubleSeqHelper.java,
6835         org/omg/CORBA/DoubleSeqHolder.java,
6836         org/omg/CORBA/DynAny.java,
6837         org/omg/CORBA/DynSequence.java,
6838         org/omg/CORBA/DynValue.java,
6839         org/omg/CORBA/DynamicImplementation.java,
6840         org/omg/CORBA/FieldNameHelper.java,
6841         org/omg/CORBA/FixedHolder.java,
6842         org/omg/CORBA/FloatHolder.java,
6843         org/omg/CORBA/FloatSeqHelper.java,
6844         org/omg/CORBA/FloatSeqHolder.java,
6845         org/omg/CORBA/IdentifierHelper.java,
6846         org/omg/CORBA/IntHolder.java,
6847         org/omg/CORBA/LocalObject.java,
6848         org/omg/CORBA/LongHolder.java,
6849         org/omg/CORBA/LongLongSeqHelper.java,
6850         org/omg/CORBA/LongLongSeqHolder.java,
6851         org/omg/CORBA/LongSeqHelper.java,
6852         org/omg/CORBA/LongSeqHolder.java,
6853         org/omg/CORBA/ORB.java,
6854         org/omg/CORBA/ObjectHelper.java,
6855         org/omg/CORBA/ObjectHolder.java,
6856         org/omg/CORBA/OctetSeqHelper.java,
6857         org/omg/CORBA/OctetSeqHolder.java,
6858         org/omg/CORBA/PolicyErrorCodeHelper.java,
6859         org/omg/CORBA/PolicyErrorHelper.java,
6860         org/omg/CORBA/PolicyHelper.java,
6861         org/omg/CORBA/PolicyListHelper.java,
6862         org/omg/CORBA/PolicyTypeHelper.java,
6863         org/omg/CORBA/PrincipalHolder.java,
6864         org/omg/CORBA/RepositoryIdHelper.java,
6865         org/omg/CORBA/Request.java,
6866         org/omg/CORBA/ShortHolder.java,
6867         org/omg/CORBA/ShortSeqHelper.java,
6868         org/omg/CORBA/ShortSeqHolder.java,
6869         org/omg/CORBA/StringSeqHelper.java,
6870         org/omg/CORBA/StringSeqHolder.java,
6871         org/omg/CORBA/ULongLongSeqHelper.java,
6872         org/omg/CORBA/ULongLongSeqHolder.java,
6873         org/omg/CORBA/ULongSeqHelper.java,
6874         org/omg/CORBA/ULongSeqHolder.java,
6875         org/omg/CORBA/UShortSeqHelper.java,
6876         org/omg/CORBA/UShortSeqHolder.java,
6877         org/omg/CORBA/ValueBaseHelper.java,
6878         org/omg/CORBA/ValueBaseHolder.java,
6879         org/omg/CORBA/VersionSpecHelper.java,
6880         org/omg/CORBA/WCharSeqHelper.java,
6881         org/omg/CORBA/WCharSeqHolder.java,
6882         org/omg/CORBA/WStringSeqHelper.java,
6883         org/omg/CORBA/WStringSeqHolder.java,
6884         org/omg/CORBA/WrongTransactionHelper.java,
6885         org/omg/CORBA/_IDLTypeStub.java,
6886         org/omg/CORBA/_PolicyStub.java,
6887         org/omg/CORBA/portable/BoxedValueHelper.java,
6888         org/omg/CORBA/portable/Delegate.java,
6889         org/omg/CORBA/portable/ObjectImpl.java,
6890         org/omg/CORBA/portable/ServantObject.java,
6891         org/omg/CORBA/portable/StreamableValue.java,
6892         org/omg/CosNaming/BindingType.java,
6893         org/omg/CosNaming/IstringHelper.java,
6894         org/omg/DynamicAny/FieldNameHelper.java,
6895         org/omg/PortableServer/Servant.java: Documentation fixes.
6896
6897 2006-09-04  David Gilbert  <david.gilbert@object-refinery.com>
6898
6899         * java/awt/Rectangle.java
6900         (setRect(double, double, double, double)): Modified rounding of input
6901         values.
6902
6903 2006-09-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6904
6905         * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6906         Disallow H1 - H6 in the paragraphs.
6907         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6908         (preprocess): Leave at most one leading and/or trailing space.
6909         * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6910         Do not add any text after closing the HTML tag.
6911
6912 2006-09-02  Roman Kennke  <kennke@aicas.com>
6913
6914         PR 28928
6915         * javax/swing/plaf/basic/BasicTextUI.java
6916         (RootView.getPreferredSpan): Default to 10 when there is no
6917         real view.
6918         (RootView.getMinimumSpan): Forward to view and default to 10
6919         when there is no real view.
6920         (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6921         (getMaximumSize): Check for overflow.
6922         * javax/swing/text/FieldView.java
6923         (getResizeWeight): Removed unneeded assignment.
6924
6925 2006-09-01  Francis Kung  <fkung@redhat.com>
6926         * java/awt/image/ColorConvertOp.java
6927         (copyImage): Updated javadoc and comments.
6928         (copyRaster): Add javadoc.
6929         (createCompatibleColorModel): Add javadocs and comments.
6930         (createCompatibleDestImage): Use correct transfer type.
6931         (createCompatibleDestRaster): Add new parameter for transfer type.
6932         (filter): Use correct transfer type.
6933         * java/awt/image/ConvolveOp.java: Updated javadocs.
6934         (createCompatibleDestImage): Set new image properties correctly.
6935         (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6936         (filter(WritableRaster, Raster): Clip sample values to [0-255].
6937
6938 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6939
6940         * javax/swing/table/DefaultTableModel.java:
6941         (checkSize): Added null check for dataVector.
6942
6943 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6944
6945         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6946         (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6947         (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6948
6949 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6950
6951         * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6952         (paintIcon): Removed unused import statements, lowered cast requirement
6953         from JCheckBox to AbstractButton.
6954
6955 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6956
6957         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6958         (initComponentDefaults): Added, changed and removed some
6959         tabbed pane properties.
6960
6961 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6962
6963         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6964         (createContent): Changed menu item name and tab naming.
6965
6966 2006-09-01  Roman Kennke  <kennke@aicas.com>
6967
6968         PR 28922
6969         * javax/swing/plaf/basic/BasicHTML.java
6970         (HTMLRootView.getAttributes): Overridden to return null.
6971         (HTMLRootView.getElement): Overridden to return the view's
6972         element.
6973
6974 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6975
6976         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6977         (calculateTabAreaHeight): Use getTabRunOverlay method instead
6978         of accessing variable directly.
6979         (calculateTabAreaWidth): Dito.
6980
6981 2006-08-31  Keith Seitz  <keiths@redhat.com>
6982
6983         * include/jvmti.h: Include jvmti_md.h.
6984
6985 2006-08-31  Keith Seitz  <keiths@redhat.com>
6986
6987         From Martin Platter  <motse@complang.tuwien.ac.at>:
6988         * Makefile.am (include_HEADERS): Include jvmti.h.
6989         * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
6990         (jvmtiError): Remove superfluous comma after last entry.
6991         (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
6992         (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
6993         (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
6994         (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
6995         character pointer.
6996         (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
6997         (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
6998         (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
6999         character pointer.
7000
7001 2006-08-31  Roman Kennke  <kennke@aicas.com>
7002
7003         * javax/swing/text/BoxView.java
7004         (getWidth): Return the width with insets added, not with one
7005         added and one removed.
7006         (getHeight): Return the height with insets added, not with one
7007         added and one removed.
7008         * javax/swing/text/GlyphView.java
7009         (DefaultGlyphPainter.viewToModel): Need to add the start offset.
7010         * javax/swing/text/ParagraphView.java
7011         (Row.getAlignment): Adjust alignment with respect to
7012         the justification attribute.
7013         (Row.getLeftInset): Overridden to adjust for firstLineIndent
7014         attribute.
7015         * javax/swing/text/html/CSS.java
7016         (getValue): Convert length values.
7017         * javax/swing/text/html/Paragraph.java
7018         (painter): New field.
7019         (paint): Implemented to delegate painting to the BoxPainter too.
7020         (setPropertiesFromAttributes): Implemented to load attributes
7021         from CSS.
7022         * javax/swing/text/html/StyleSheet.java
7023         (BoxPainter.as): Removed field.
7024         (BoxPainter.leftInset): New field.
7025         (BoxPainter.bottomInset): New field.
7026         (BoxPainter.rightInset): New field.
7027         (BoxPainter.topInset): New field.
7028         (BoxPainter.BoxPainter): Implemented to load the insets from
7029         CSS.
7030         (BoxPainter.getInset): Implemented.
7031         * gnu/javax/swing/text/html/Length.java: New class.
7032         Converts CSS length units to usable values.
7033
7034 2006-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
7035
7036         * configure.ac: Add check for gethostbyname_r.
7037         Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
7038         * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
7039         SOCKET_NOSIGNAL according to the configure check.
7040         (cpnet_send): Use SOCKET_NOSIGNAL.
7041         (cpnet_sendTo): Likewise.
7042         (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
7043         defined.
7044         * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
7045         are not available.
7046
7047         * lib/Makefile.am (cssfiles): Add new rule to install css files.
7048
7049 2006-08-31  Roman Kennke  <kennke@aicas.com>
7050
7051         * javax/swing/JEditorPane.java
7052         (getPreferredSize): Replace preferred size with minimum
7053         UI size only if the scrollable does _not_ track the viewport
7054         size and only if the viewport's size is smaller than the
7055         scrollable's size.
7056         (getScrollableTracksViewportWidth): Avoid unnecessary multiple
7057         method calls.
7058         * javax/swing/plaf/basic/BasicTextUI.java
7059         (getPreferredSize): Read-lock the document to avoid
7060         concurrency problems.
7061         (getMaximumSize): Return maximum size of the view.
7062         Read-lock the document to avoid concurrency problems.
7063         (getMinimumSize): Return minimum size of the view.
7064         Read-lock the document to avoid concurrency problems.
7065
7066 2006-08-31  Gary Benson  <gbenson@redhat.com>
7067
7068         * java/net/SocketPermission.java
7069         (maybeBracketIPv6Address): Renamed to processHostport.
7070         (processHostport): Also translate "" to "localhost".
7071         (setHostPort): Remove special cases for empty hostport and for
7072         extra colons in hostport (processHostport handles these now).
7073
7074 2006-08-31  Mark Wielaard  <mark@klomp.org>
7075
7076         * javax/swing/text/ZoneView.java (Zone): Make static class.
7077         Constructor takes axis parameter.
7078         (createZone): Create Zone with getAxis() as major axis.
7079
7080 2006-08-30  Roman Kennke  <kennke@aicas.com>
7081
7082         * javax/swing/text/ZoneView.java
7083         (loadChildren): Implemented.
7084         (getViewIndexAtPosition): Implemented.
7085         (checkZoneAt): New helper method.
7086         (splitZone): New helper method.
7087         (getPreferredZoneEnd): New helper method.
7088
7089 2006-08-30  Roman Kennke  <kennke@aicas.com>
7090
7091         * javax/swing/text/ZoneView.java: New class.
7092
7093 2006-08-30  Roman Kennke  <kennke@aicas.com>
7094
7095         * javax/swing/JMenu.java
7096         (getMenu): Removed unneeded cast.
7097         (getPopupMenuOrigin): Made positioning algorithm better respect
7098         the screen bounds.
7099         (setMenuLocation): Also set the location on the popup if it's
7100         not null.
7101         (setModel): Use menuChangeListener so that we don't override
7102         the changeListener field from AbstractButton.
7103         (setPopupMenuVisible): Use custom location if set, otherwise
7104         fallback to getPopupMenuOrigin().
7105
7106 2006-08-29  Roman Kennke  <kennke@aicas.com>
7107
7108         * javax/swing/text/InternationalFormatter.java
7109         (stringToValue): Fixed bounds check.
7110         * javax/swing/text/MaskFormatter.java
7111         (MaskFormatter): Don't explicitly set allosInvalid property.
7112         (convertStringToValue): New helper method.
7113         (convertValueToString): New helper method.
7114         (convertValue): Removed. Replaced by the 2 convert* methods
7115         above.
7116         (getPadCharAt): Removed.
7117         (isCharValid): Removed.
7118         (pad): Removed.
7119         (stringToValue): Fixed stringToValue conversion.
7120         (stripLiterals): Removed.
7121         (valueToString): Fixed valueToString conversion.
7122         * javax/swing/text/DefaultFormatter.java
7123         (DefaultFormatter): Default to commitsOnValidEdit = false.
7124
7125 2006-08-29  Roman Kennke  <kennke@aicas.com>
7126
7127         * javax/swing/text/TextAction.java
7128         (getTextComponent): Check event for null and return null in
7129         this case.
7130         (augmentList): Augment Actions based on their names.
7131         * javax/swing/text/DefaultEditorKit.java
7132         (BeginAction.actionPerformed): Check target for null.
7133         (BeginLineAction.actionPerformed): Check target for null.
7134         (CopyAction.actionPerformed): Check target for null.
7135         (CutAction.actionPerformed): Check target for null.
7136         (EndAction.actionPerformed): Check target for null.
7137         (EndLineAction.actionPerformed): Check target for null.
7138         (InsertBreakAction.actionPerformed): Check target for null.
7139         (InsertTabAction.actionPerformed): Check target for null.
7140         (PasteAction.actionPerformed): Check target for null.
7141         (SelectAllAction.actionPerformed): Check target for null.
7142         (SelectionBeginAction.actionPerformed): Check target for null.
7143         (SelectionBeginLineAction.actionPerformed): Check target for null.
7144         (SelectionEndAction.actionPerformed): Check target for null.
7145         (SelectionEndLineAction.actionPerformed): Check target for null.
7146         (SelectLineAction.actionPerformed): Check target for null.
7147         (SelectWordAction.actionPerformed): Check target for null.
7148
7149 2006-08-29  Roman Kennke  <kennke@aicas.com>
7150
7151         * javax/swing/plaf/basic/BasicTextUI.java
7152         (FocusHandler): New class. This is moved from the anonymous
7153         inner focus listener class to a static member class, and
7154         is now shared between components.
7155         (DocumentHandler): This class is combined with the PropertyHandler
7156         into the Handler class.
7157         (PropertyChangeHandler): This class is combined with the
7158         DocumentHandler into the Handler class.
7159         (Handler): New class. This combines the Property and Document
7160         handler into one class.
7161         (RootView.changedUpdate): Only forward if real view != null.
7162         (RootView.insertUpdate): Only forward if real view != null.
7163         (RootView.removeUpdate): Only forward if real view != null.
7164         (documentHandler): Removed field and replaced by handler.
7165         (focuslistener): Made field static and renamed to focusListener.
7166         (handler): New field.
7167         (kit): Lazily initialize field.
7168         (rootView): Lazily initialize field.
7169         (updateHandler): Removed and replaced by handler.
7170         (getEditorKit): Lazily instantiate field.
7171         (installDefaults): Don't set margin twice. Install correct
7172         property for disabledTextColor. Moved caret and highlighter
7173         initialization to installFixedDefaults.
7174         (installFixedDefaults): New method. Installs defaults that
7175         can't be overridden by subclasses.
7176         (installListeners): Only install focus handler when new
7177         system property gnu.swing.text.no-xlike-clipboard is not set.
7178         Lazily initialize focus handler.
7179         (installUI): Lazily initialize rootView. Install handler
7180         both for property and document changes.
7181         (uninstallDefaults): Uninstall the UI defaults.
7182         (uninstallFixedDefaults): New method. Uninstalls the fixed
7183         defaults.
7184         (installListeners): Only uninstall focus handler when not null.
7185         (uninstallUI): Uninstall property and document listener here.
7186
7187 2006-08-29  Gary Benson  <gbenson@redhat.com>
7188
7189         * java/net/SocketPermission.java
7190         (maybeBracketIPv6Address): New method.
7191         (<init>): Pass the hostport argument through the above.
7192
7193         * java/net/NetworkInterface.java (getInetAddresses):
7194         Don't bracket IPv6 addresses.
7195
7196 2006-08-28  Roman Kennke  <kennke@aicas.com>
7197
7198         * javax/swing/text/BoxView.java
7199         (calculateMinorAxisRequirements): Initialize max size
7200         with Integer.MAX_VALUE.
7201         * javax/swing/text/Utilities.java
7202         (getBreakLocation): For simple chars, scan the text directly.
7203         * javax/swing/text/WrappedPlainView.java
7204         (tabBase): New field.
7205         (tabSize): New field.
7206         (calculateBreakPosition): Use Utilities. Fixed for correct
7207         break calculation.
7208         (changedUpdate): Update children directly.
7209         (insertUpdate): Update children directly. Notify children.
7210         (removeUpdate): Update children directly. Notify children.
7211         (updateChildren): New helper method.
7212         (nextTabStop): Fixed to return correct results.
7213         (paint): Update tabBase.
7214         (updateMetrics): Update tab size.
7215
7216 2006-08-28  Roman Kennke  <kennke@aicas.com>
7217
7218         * javax/swing/text/Position.java
7219         (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
7220         (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
7221
7222 2006-08-28  Roman Kennke  <kennke@aicas.com>
7223
7224         * javax/swing/text/View.java
7225         (height): Removed unneeded field.
7226         (width): Removed unneeded field.
7227         (getBreakWeight): Return GoodBreakWeight when pos is after
7228         the view's span.
7229         (getToolTipText): Check view index more carefully. Avoid
7230         Rectangle creation.
7231         (insertUpdate): Only execute method body if view count > 0.
7232         When updateChildren returns false, clear the ec variable.
7233         (updateChildren): Added null checks.
7234         (viewToModel): Initialize bias array correctly.
7235         * javax/swing/text/CompositeView.java
7236         (children): Made private.
7237         (numChildren): New field.
7238         (loadChildren): Check factory for null. Don't load children
7239         when factory is null.
7240         (replace): Removed null check. Nullify removed children. Made
7241         growing the array more efficient.
7242         (getViewCount): Return numChildren rather then the real array
7243         size.
7244         * javax/swing/text/BoxView.java
7245         (getViewAtPoint): Fixed algorithm for finding the view.
7246         (replace): Made array growing more efficient.
7247         (replaceLayoutArray): New helper method for growing/patching
7248         the layout arrays.
7249         (viewToModel): Make sure we have a valid layout.
7250
7251 2006-08-28  Tania Bento  <tbento@redhat.com>
7252
7253         * java/awt/MenuShortcut.java
7254         (MenuShortcut (int, boolean)): Set keyName.
7255         (toString): Modified string output.
7256         (setKeyName): New private method.
7257
7258 2006-08-28  Roman Kennke  <kennke@aicas.com>
7259
7260         * javax/swing/text/GapContent.java
7261         (Mark.getOffset): Made assert less strict, include boundary.
7262         (search): Made package private to avoid accessor method.
7263
7264 2006-08-28  Roman Kennke  <kennke@aicas.com>
7265
7266         * javax/swing/text/StringContent.java
7267         (InsertUndo.positions): New field.
7268         (InsertUndo.redo): Update the undo positions.
7269         (InsertUndo.undo): Fetch the undo positions.
7270         (Mark): New class. Layer of indirection to allow Positions
7271         to be GC'ed while we still hold references to the Mark.
7272         (RemoveUndo.len): New field.
7273         (RemoveUndo.positions): New field.
7274         (RemoveUndo.RemoveUndo): Fetch undo positions.
7275         (RemoveUndo.redo): Re-fetch positions and string.
7276         (RemoveUndo.undo): Update undo positions.
7277         (StickyPosition.mark): New field.
7278         (StickyPosition.offset): Removed field.
7279         (StickyPosition.StickyPosition): Create new Mark. Register
7280         Position in queueOfDeath. Update reference count on mark.
7281         (StickyPosition.getOffset): Return offset stored in mark.
7282         (StickyPosition.setOffset): Removed unneeded method.
7283         (UndoPosRef): New class. Handles undo/redo on positions/marks.
7284         (EMPTY): New field.
7285         (marks): New field. Stores the marks.
7286         (positions): Removed field.
7287         (queueOfDeath): New field. Used for GCing the positions.
7288         (StringContent): Initialize queueOfDeath.
7289         (createPosition): Lazily create marks vector.
7290         (garbageCollect): New helper method. Collects positions
7291         to be GCed and updates their marks.
7292         (getChars): Fixed bounds check.
7293         (getPositionsInRange): When v == null, create new Vector,
7294         otherwise use v. Store UndoPosRefs in vector.
7295         (getString): Added comment about bug in RI.
7296         (insertString): Use new helper method for replacing the array.
7297         Correctly update positions.
7298         (length): Removed this qualifier.
7299         (remove): Use new helper method for replacing the array.
7300         Correctly update positions.
7301         (replace): New helper method for growing or patching the array.
7302         (updateUndoPositions): Implemented. Updates the positions
7303         for undo/redo operations.
7304
7305 2006-08-27  Roman Kennke  <kennke@aicas.com>
7306
7307         * javax/swing/text/StyleContext.java
7308         (NamedStyle.attributes): Made field transient.
7309         (NamedStyle.changeEvent): Made field transient.
7310         (NamedStyle.name): Removed field. The name is stored as
7311         attribute.
7312         (NamedStyle.NamedStyle(String,Style)): Call setName() for
7313         storing the name and check for null name and resolveParent.
7314         Don't initialize changeEvent.
7315         (NamedStyle.copyAttributes): Return a new NamedStyle,
7316         rather than a plain copy of the attributes field.
7317         (NamedStyle.fireStateChange): Lazily create changeEvent
7318         field.
7319         (NamedStyle.getName): Fetch name from attributes.
7320         (NamedStyle.setName): Store name from attributes.
7321         (NamedStyle.readObject): Implemented for correct
7322         deserialization.
7323         (NamedStyle.writeObject): Implemented for correct
7324         serialization.
7325         (NamedStyle.setResolveParent): When new parent is null,
7326         remove resolveParent attribute. Use addAttribute() method
7327         rather than StyleContext addAttribute().
7328         (NamedStyle.toString): Fixed to produce output equal to the
7329         RI.
7330         (SmallAttributeSet.resolveParent): New field.
7331         (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
7332         the resolveParent field correctly.
7333         (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
7334         array but store it directly. Update
7335         the resolveParent field correctly.
7336         (SmallAttributeSet.clone): Return this as the object is
7337         immutable.
7338         (SmallAttributeSet.containsAttributes): Make sure that keys
7339         and values are the same.
7340         (SmallAttributeSet.containsAttribute):  Make sure that keys
7341         and values are the same.
7342         (SmallAttributeSet.copyAttributes): Return this as the object is
7343         immutable.
7344         (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
7345         are equal if they have the same number of attributes and
7346         one contains the other.
7347         (SmallAttributeSet.getAttribute): Improved lookup of
7348         resolveParent.
7349         (SmallAttributeSet.getResolveParent): Improved lookup of
7350         resolveParent.
7351         (SmallAttributeSet.isEqual): When comparing object is a
7352         SmallAttributeSet, consider them equal only if they are the
7353         same object.
7354         (SmallAttributeSet.toString): Fixed to produce output equal to the
7355         RI.
7356         (attributeSetPool): New field.
7357         (defaultStyleContext): Initialize lazily.
7358         (defaultStyle): Removed field. This is stored in the style context
7359         as attribute.
7360         (listenerList): Removed field. The NamedStyle stores the
7361         listeners.
7362         (readAttributeKeys): New static field. Used for looking up
7363         the serialization mappings when reading.
7364         (search): New field. Used as search key.
7365         (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7366         (styles): New field. Stores the styles and listeners.
7367         (styleTable): Removed field. Replaced by styles field.
7368         (writeAttributeKeys): New static field. Used for looking up
7369         the serialization mappings when writing.
7370         (static_initializer): Register mappings for all keys in
7371         StyleConstants.
7372         (StyleContext): Initialize styles correctly.
7373         (addAttributes): Fixed caching of immutable attributes.
7374         (addAttribute): Fixed caching of immutable attributes.
7375         (removeAttributes): Fixed caching of immutable attributes.
7376         (removeAttribute): Fixed caching of immutable attributes.
7377         (addChangeListener): Add listener to styles field.
7378         (removeChangeListener): Remove listener from styles field.
7379         (getChangeListeners): Fetch listeners from styles field.
7380         (addStyle): Add style to styles field.
7381         (cleanupPool): New method.
7382         (getDefaultStyleContext): Lazily create context.
7383         (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7384         (getMutableAttributeSet): New helper method. Used for
7385         caching.
7386         (getStaticAttribute): Fetch key from readAttributeKeys.
7387         (getStyleNames): Return names from styles field.
7388         (getStyle): Lookup style in styles field.
7389         (removeStyle): Remove style from styles field.
7390         (readAttributeSet): Fixed deserialization.
7391         (writeAttributeSet): Fixed serialization.
7392         (readObject): Fixed deserialization.
7393         (writeObject): Fixed serialization.
7394         (reclaim): Simply cleanup the pool.
7395         (registerStaticAttributeKey): Store mapping in both ways.
7396         (searchImmutableSet): New helper method for caching.
7397         (toString): Fixed for output like the RI.
7398         * javax/swing/text/StyleConstants.java
7399         (keys): New field. Stores all known keys.
7400         (StyleConstants): Store created key in keys list.
7401         * javax/swing/event/EventListenerList.java
7402         (readObject): Fixed deserialization.
7403         (writeObject): Fixed serialization.
7404
7405 2006-08-25  Roman Kennke  <kennke@aicas.com>
7406
7407         * javax/swing/text/CompositeView.java
7408         (insets): Removed. Replaced by single short fields.
7409         (top): New field. Replaces insets.
7410         (bottom): New field. Replaces insets.
7411         (left): New field. Replaces insets.
7412         (right): New field. Replaces insets.
7413         (CompositeView): Initialize insets fields.
7414         (createDefaultLocation): Removed unneeded method.
7415         (getBottomInset): Return field directly.
7416         (getTopInset): Return field directly.
7417         (getLeftInset): Return field directly.
7418         (getRightInset): Return field directly.
7419         (getInsideAllocation): Adjusted to work on new insets fields.
7420         (getViewIndex): Fixed check.
7421         (loadChildren): Don't replace the old children.
7422         (replace): Make sure that there is an array to operate on.
7423         Only set parent to null, when it is this View.
7424         (setInsets): Adjusted to work with new insets fields.
7425         (setParagraphInsets): Fixed to pull insets directly from
7426         StyleConstants.
7427
7428 2006-08-25  Roman Kennke  <kennke@aicas.com>
7429
7430         * javax/swing/text/ComponentView.java
7431         (Interceptor): New inner helper class. Used to propagate
7432         invalidate requests and cache component layout sizes.
7433         (interceptor): New field.
7434         (getAlignment): Fetch alignment from interceptor container.
7435         (getComponent): Don't create component here. This is done
7436         in setParent().
7437         (getMaximumSpan): Fetch layout info from interceptor. Check
7438         for illegal axis.
7439         (getMinimumSpan): Fetch layout info from interceptor. Check
7440         for illegal axis.
7441         (getPreferredSpan): Fetch layout info from interceptor. Check
7442         for illegal axis.
7443         (modelToView): Fixed model to view mapping.
7444         (viewToModel): Fixed view to model mapping.
7445         (paint): Check for null. Set bounds on interceptor rather
7446         then component.
7447         (setParentImpl): Install interceptor between component
7448         and hosting container.
7449         (setParent): Call super.setParent() immediately.
7450
7451 2006-08-25  Roman Kennke  <kennke@aicas.com>
7452
7453         * javax/swing/text/LabelView.java
7454         (setPropertiesFromAttributes): Only set background when
7455         the corresponding attribute is actually defined, otherwise
7456         set to null, as the StyleConstants would return black.
7457         * javax/swing/text/DefaultStyledDocument.java
7458         (ElementBuffer.documentEvent): Removed obsolete field.
7459         (ElementBuffer.change): Do prepareEdits() and finishEdits()
7460         to correctly update the element structure.
7461         (ElementBuffer.insertContentTag): Removed unused statement.
7462         (ElementBuffer.recreateAfterFracture): Removed
7463         unused obsolete method.
7464         (setCharacterAttributes): Removed unused statement.
7465
7466 2006-08-25  Roman Kennke  <kennke@aicas.com>
7467
7468         * examples/gnu/classpath/examples/swing/Demo.java
7469         (LaterMain.run): Removed unused local variable.
7470         (Demo): Don't put desktop in scrollpane.
7471         (addChildren): Removed unused method.
7472         (mkButtonBar): Added HTML demo.
7473         (mkMenuBar): Added HTML demo.
7474         (mkPanel): Removed unused method.
7475         (mkScrollPane): Removed unused method.
7476         (mkTree): Removed unused method.
7477         (valign2str): Removed unused method.
7478         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7479         Initialize text field with some HTML that already works.
7480         (DEBUG): New field. Set to true for debugging output.
7481         (createContent): Dump element tree after parsing.
7482
7483 2006-08-25  Roman Kennke  <kennke@aicas.com>
7484
7485         * javax/swing/text/html/CSS.java
7486         (getValue): Added color value conversion.
7487         * javax/swing/text/html/HTMLDocument.java
7488         (HTMLReader.ConvertAction): New class, converts HTML style tags
7489         to CSS attributes.
7490         (HTMLReader.initTags): Register ConvertAction for <font> tag.
7491         * javax/swing/text/html/InlineView.java
7492         (setPropertiesFromAttributes): Implemented to fetch
7493         CSS character attributes.
7494         * javax/swing/text/html/StyleSheet.java
7495         (addCSSAttribute): Convert value.
7496         (getBackground): Implemented to fetch CSS background color
7497         attribute.
7498         (getForeground): Implemented to fetch CSS color
7499         attribute.
7500         (getFont): Adjust font size for superscript and subscript.
7501         (translateHTMLToCSS): Rudimentary implementation that
7502         copies the original attributes, so that any CSS attributes in
7503         there are preserved.
7504         (stringToColor): Use CSSColor for conversion.
7505         * gnu/javax/swing/text/html/css/CSSColor.java:
7506         New class. Converts CSS color values to RGB color values.
7507         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7508         Removed. This is more or less replaced by CSSColor and the
7509         ConvertAction in HTMLReader.
7510
7511 2006-08-25  Roman Kennke  <kennke@aicas.com>
7512
7513         * javax/swing/text/BoxView.java
7514         (childReqs): Removed obsolete field.
7515         (baselineLayout): Reimplemented for correct baseline layout.
7516         (baselineRequirements): Reimplemented for correct baseline
7517         layout.
7518         (updateChildRequirements): Removed obsolete method.
7519         * javax/swing/text/GlyphView.java
7520         (DefaultGlyphPainter.getSpan): Removed unused statement.
7521         (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7522         specially. The subscript/superscript layout is performed
7523         via the alignment, the font is supplied by the StyleContext.
7524         (breakView): Removed unused statements.
7525         (getAlignment): Adjust alignment according to the
7526         superscript/subscript setting.
7527         (getFont): Reimplemented to fetch the font from the style
7528         context, or from the document if the stylecontext is not
7529         available.
7530         (getPreferredSpan): Adjust span for superscript. Use switch
7531         instead of if-else.
7532         * javax/swing/text/LabelView.java
7533         (setPropertiesFromAttributes): Fetch background and foreground
7534         from document / style context.
7535         (isSubscript): Resync properties if needed.
7536         * javax/swing/text/ParagraphView.java
7537         (Row.calculateMinorAxisRequirements): Overridden to perform
7538         a baseline layout.
7539         (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7540
7541 2006-08-24  Roman Kennke  <kennke@aicas.com>
7542
7543         * javax/swing/text/Utilities.java
7544         (BUF_LENGTH): Removed unused field.
7545         (drawTabbedText): Removed unneeded cast.
7546         (getBreakLocation): Removed unneeded cast.
7547         Fixed offset to account for Segments not starting at 0.
7548
7549 2006-08-24  Roman Kennke  <kennke@aicas.com>
7550
7551         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7552         (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7553         (TabbedPaneScrollLayout.layoutContainer): Likewise.
7554         (ScrollingPane.updateUI): Likewise.
7555         (calculateTabWidth): Rewritten to correctly and efficiently
7556         layout the tab width.
7557         (layoutLabel): Call SwingUtilities method with the tabPane
7558         as argument.
7559         (paintContentBorderLeftEdge): Removed unused statement.
7560         (paintContentBorderRightEdge): Removed unused statement.
7561         (paintContentBorder): Removed unused statement.
7562
7563 2006-08-24  Roman Kennke  <kennke@aicas.com>
7564
7565         * javax/swing/plaf/basic/BasicTextUI.java
7566         (RootView.getAttributes): Overridden to return null,
7567         as the RootView has no parent.
7568
7569 2006-08-24  Roman Kennke  <kennke@aicas.com>
7570
7571         * javax/swing/text/html/CSSParser.java: Removed.
7572         * javax/swing/text/html/CSS.java
7573         (getValue): New helper method. Returns special converter
7574         instances for certain kinds of property values.
7575         * javax/swing/text/html/HTMLDocument.java
7576         (HTMLReader.CharacterAction.start): Don't translate tags
7577         here. Instead, store the attributes directly with the tag
7578         as key.
7579         (content): Removed field. The Content object is handled
7580         by AbstractDocument.
7581         (styleSheet): Removed field. The styleSheet is the styleContext
7582         of this document and handled by the DefaultStyledDocument already.
7583         (HTMLDocument(Content,StyleSheet): Simply call super here.
7584         The super classes already handle the content and styleContext.
7585         (HTMLDocument()): Call this() with a default GapContent and
7586         StyleSheet.
7587         (getStyleSheet): Return the styleContext here.
7588         (insertUpdate): New method. Overridden to add the
7589         CONTENT dummy tag to the element's attributes.
7590         (setBase): Set the base on the styleContext.
7591         * javax/swing/text/html/HTMLEditorKit.java
7592         (styleContext): Removed unneeded field.
7593         (styleSheet): Made field private.
7594         (HTMLEditorKit): Do nothing here. The StyleSheet is
7595         created lazily in getStyleSheet(). A styleContext is not
7596         needed here.
7597         (getStyleSheet): Create StyleSheet correctly.
7598         (insertHTML): Removed unneeded cast.
7599         * javax/swing/text/html/InlineView.java
7600         (attributes): New field.
7601         (changedUpdate): Reload attributes. Trigger preferenceChanged.
7602         (getAttributes): Implemented to fetch the attributes from
7603         the stylesheet.
7604         * javax/swing/text/html/MultiAttributeSet.java: New class.
7605         Multiplexes between several AttributeSets.
7606         * javax/swing/text/html/MultiStyle.java: New class.
7607         Multiplexes between several Styles.
7608         * javax/swing/text/html/ParagraphView.java
7609         (attributes): New field.
7610         (getAttributes): Implemented to fetch the attributes from
7611         the stylesheet.
7612         * javax/swing/text/html/StyleSheet.java
7613         (CssParser): Removed inner class.
7614         (CSSStyle): New inner class. Represents a style defined
7615         by a CSS rule.
7616         (CSSStyleSheetParserCallback): New class, for parsing
7617         CSS stylesheets.
7618         (css): New field. Stores the CSS rules.
7619         (resolvedStyles): New field. Stores resolved styles.
7620         (StyleSheet): Initialize resolvedStyles map.
7621         (addRule): Removed bogus impl.
7622         (getFont): Implemented to fetch font, based on CSS rules.
7623         (getResolvedStyle): New helper method. Looks up resolved
7624         styles, and resolves a style if necessary.
7625         (resolveStyle): New pair of helper methods. Resolves
7626         CSS style rules.
7627         (getRule(String)): Provide rudimentary implementation.
7628         (getRule(Tag,Element)): Implemented.
7629         (getViewAttributes): Implemented.
7630         (loadRules): Implemented.
7631         (translateHTMLToCSS): Tagged as not implemented.
7632         * javax/swing/text/html/ViewAttributeSet.java: New class.
7633
7634 2006-08-24  Roman Kennke  <kennke@aicas.com>
7635
7636         * javax/swing/text/FlowView.java:
7637         (LogicalView.getAttributes): New method. Overrides super
7638         impl to return the attributes of the FlowView instance.
7639         * javax/swing/text/LabelView.java:
7640         (setPropertiesFromAttributes): Fetch attributes from
7641         View, rather then from the Element. (In the HTML
7642         package the getAttributes() method is overridden to
7643         return different attributes). Fetch font from the StyledDocument.
7644
7645 2006-08-24  Roman Kennke  <kennke@aicas.com>
7646
7647         * javax/swing/text/DefaultEditorKit.java:
7648         (DefaultKeyTypedAction.actionPerform): Also filter
7649         ALT and CTRL modifiers.
7650
7651 2006-08-24  Roman Kennke  <kennke@aicas.com>
7652
7653         * gnu/javax/swing/text/html/css/FontSize.java,
7654         * gnu/javax/swing/text/html/css/FontStyle.java,
7655         * gnu/javax/swing/text/html/css/FontWeight.java:
7656         New classes. Used to convert CSS font attributes to AWT/Swing
7657         Font constants.
7658
7659 2006-08-24  Francis Kung  <fkung@redhat.com>
7660         * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7661         * java/awt/image/ColorConvertOp.java: Updated javadocs.
7662         (srccs, dstcs, rasterValid): Variables removed.
7663         (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7664         (copyRaster): Check for null rendering hints
7665         (createCompatibleColorModel): New private method.
7666         (createCompatibleDestImage): Re-implemented.
7667         (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7668         (createCompatibleDestRaster(Raster)): Re-implemented.
7669         (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7670         (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7671         (getPoint2D): Clean up formatting.
7672         * java/awt/image/ComponentColorModel.java
7673         (constructor): use findBits method instead of passing null.
7674         (findBits): New method.
7675
7676 2006-08-24  Gary Benson  <gbenson@redhat.com>
7677
7678         * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7679         addresses.
7680
7681 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
7682
7683         * java/lang/ref/Reference.java
7684         (queue, nextOnQueue): Made volatile.
7685         (enqueue): Made thread safe.
7686         * java/lang/ref/ReferenceQueue.java
7687         (lock): New field.
7688         (poll): Removed synchronized.
7689         (enqueue): Changed to synchronize on lock object, to update Reference
7690         state and return success status.
7691         (dequeue, remove): Synchronize on lock object.
7692
7693 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
7694
7695         * java/security/SecureClassLoader.java
7696         (protectionDomainCache): Changed to HashMap.
7697         (SecureClassLoader): Removed redundant security check.
7698         (defineClass(String,byte[],int,int,CodeSource): Moved
7699         protection domain lookup/construction to new method.
7700         (defineClass(String,ByteBuffer,CodeSource): New method.
7701         (getProtectionDomain): New method.
7702
7703 2006-08-23  Roman Kennke  <kennke@aicas.com>
7704
7705         * javax/swing/JComponent.java
7706         (isRepainting): Made package private.
7707         (paintChild): New field.
7708         (findOpaqueParent): Removed method. This is now in
7709         paintImmediately().
7710         (findOverlapFreeParent): Removed method. This is now
7711         in paintImmediately2().
7712         (findPaintRoot): Removed method. This is now
7713         in paintImmediately2().
7714         (isCompletelyObscured): Changed to take rectangle as single
7715         ints as argument.
7716         (isPaintingDoubleBuffered): Removed method. This is now
7717         in paintImmediately2().
7718         (isPartiallyObscured): New helper method.
7719         (onTop): New helper method for optimization.
7720         (paintChildren): Paint only to specific child when
7721         requested like this from paintImmediately2().
7722         (paintDoubleBuffered): Changed to take rectangle as single int
7723         arguments.
7724         (paintImmediately2): Changed to take rectangle as single int
7725         arguments. Optimized determination of paint root.
7726         (paintImmediately(Rectangle)): Change to delegate to
7727         paintImmediately(int,int,int,int).
7728         (paintImmediately(int,int,int,int)): Look for opaque ancestor
7729         and start painting there.
7730         (paint): Call paintDoubleBuffered() with int arguments. Only
7731         paint component, when not completely occupied by opaque child.
7732         (processKeyBinding): Removed unnecessary cast.
7733         (isOccupiedByChild): New helper method.
7734         * javax/swing/RepaintManager.java
7735         (repaintUnderway): Removed obsolete field.
7736         (commitRequests): Removed obsolete field.
7737         (RepaintManager): Removed initialization of obsolete fields.
7738         (addDirtyRegion): Removed unused statement.
7739         (commitBuffer): Changed to take plain ints as argument.
7740         (compileRepaintRoots): Optimized to avoid use of Rectangle.
7741         Compute offsets in place, rather than using SwingUtilities.
7742         (paintDirtyRegions): Removed unused field.
7743         * javax/swing/JMenuItem.java
7744         (onTop): Return true when not descendant of JInternalFrame.
7745         * javax/swing/JPopupMenu.java
7746         (onTop): Return true.
7747         * javax/swing/JToolTip.java
7748         (onTop): Return true.
7749         * javax/swing/JViewport.java
7750         (paintImmediately2): Change signature to match the
7751         corresponding JComponent method.
7752
7753 2006-08-23  Tania Bento  <tbento@redhat.com>
7754
7755         * java/awt/Color.java
7756         (brighter): Modified algorithm to correctly determine the
7757         new brighter colour.
7758
7759 2006-08-23  Roman Kennke  <kennke@aicas.com>
7760
7761         * java/awt/Container.java
7762         (maxSize): Removed field. This is already declared in Component.
7763         (validateTree): Check for ContainerPeer. Don't addNotify here.
7764         Only validate Component instances if they are invalid.
7765
7766 2006-08-22  Roman Kennke  <kennke@aicas.com>
7767
7768         * javax/swing/JComponent.java
7769         (preferredSize): Removed field.
7770         (maximumSize): Removed field.
7771         (minimumSize): Removed field.
7772         (getMaximumSize): Adjusted to delegate to Component, rather
7773         then managing the size in JComponent.
7774         (getMinimumSize): Adjusted to delegate to Component, rather
7775         then managing the size in JComponent.
7776         (getPreferredSize): Adjusted to delegate to Component, rather
7777         then managing the size in JComponent.
7778         (isMaximumSizeSet): Removed.
7779         (isMinimumSizeSet): Removed.
7780         (isPreferredSizeSet): Removed.
7781         (setMaximumSize): Removed.
7782         (setMinimumSize): Removed
7783         (setPreferredSize): Removed.
7784
7785 2006-08-22  Roman Kennke  <kennke@aicas.com>
7786
7787         * javax/swing/AbstractButton.java
7788         (ButtonChangeListener.stateChanged): Delegate to combined
7789         handler.
7790         (EventHandler): New inner class. Handles all three types
7791         of events on the model.
7792         (eventHandler): New field. Stores the combined event
7793         handler.
7794         (AbstractButton): Moved listener initialization to
7795         setModel().
7796         (createActionListener): Return combined handler.
7797         (createChangeListener): Return combined handler.
7798         (createItemListener): Return combined handler.
7799         (getEventHandler): New helper method for creating the combined
7800         handler.
7801         (setModel): Initialize listeners here.
7802         * javax/swing/plaf/basic/BasicButtonListener.java
7803         (ButtonAction): New class. Implements the keyboard action
7804         for buttons.
7805         (checkOpacity): Implemented.
7806         (createDefaultActionMap): New helper method.
7807         (installKeyboardActions): Rewritten to install InputMap
7808         and ActionMap according to 'new' keyboard input method.
7809         (mouseClicked): Commented as no-op.
7810         (mouseDragged): Commented as no-op.
7811         (mouseMoved): Commented as no-op.
7812         (propertyChange): Check for contentAreaFilled change and
7813         update opacity. Pull handling of HTLM in font and text handler.
7814         (stateChanged): Repaint button.
7815         (uninstallKeyboardActions): Properly uninstall keyboard actions.
7816         * javax/swing/plaf/basic/BasicButtonUI.java
7817         (listener): Removed.
7818         (sharedListener): New static field. Stores the shared listener.
7819         (sharedUI): New static field. Stores the shared UI.
7820         (createButtonListener): Return shared instance here.
7821         (createUI): Return shared instance here.
7822         (getButtonListener): New helper method. Looks for the
7823         BasicButtonListener installed on a button and returns it.
7824         (installDefaults): Correctly install rollover property here.
7825         Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7826         (installKeyboardActions): Fetch listener with new helper method.
7827         (installListeners): Don't use removed field. Check for null.
7828         (installUI): Added comment about order of method invocations.
7829         (uninstallDefaults): Don't uninstall non-uninstallable properties.
7830         (uninstallKeyboardActions): Fetch listener with new helper method.
7831         (uninstallListeners): Fetch listener with new helper method.
7832         (paintIcon): Paint icon offset when pressed and armed.
7833         * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7834         * javax/swing/plaf/metal/MetalButtonUI.java
7835         (sharedUI): New field. Stores the shared UI.
7836         (MetalButtonUI): Don't initialize fields here.
7837         (createButtonListener): Removed method. Use super impl.
7838         (createUI): Return shared instance.
7839         (getDisabledTextColor): Update field here.
7840         (getFocusColor): Update field here.
7841         (getSelectColor): Update field here.
7842         (installDefaults): Don't handle rollover property here.
7843         (uninstallDefaults): Don't handle rollover property here.
7844         (paintButtonPressed): Use accessor method to update the
7845         field value.
7846
7847 2006-08-21  Mark Wielaard  <mark@klomp.org>
7848
7849         Merge NATIVE_LAYER branch.
7850
7851         2006-08-20  Mark Wielaard  <mark@klomp.org>
7852
7853         * doc/tools.texinfo: Add file from trunk.
7854         * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7855         * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7856         headers.
7857         * native/jni/java-lang/java_lang_VMProcess.c
7858         (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7859         * native/jni/java-net/java_net_VMInetAddress.c
7860         (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7861         * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7862         files.
7863         * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7864         mask.
7865         * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7866         theaddr.
7867         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7868         cpnet.h.
7869         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7870         don't implement.
7871         * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7872         argument.
7873         * include/java_lang_VMProcess.h: Regenerated.
7874
7875         2006-07-09  Guilhem Lavaux  <guilhem@kaffe.org>
7876
7877         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7878         (nativeReceive): Fixed the type of the arrays (use java types).
7879         (nativeSendTo): Force throwing an exception if port is 0.
7880
7881         * native/jni/java-net/javanet.c:
7882         (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7883         returned.
7884         (_javanet_recvfrom): Likewise.
7885         (_javanet_sendto): Throw a NullPointerException if the socket is
7886         not connected and no address is given.
7887         
7888         * native/jni/java-net/javanet.h
7889         (NULL_EXCEPTION): Defined.
7890
7891         2006-06-16  Guilhem Lavaux  <guilhem@kaffe.org>
7892
7893         * native/jni/java-net/java_net_VMInetAddress.c
7894         (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7895         error.
7896
7897         * native/jni/java-net/javanet.c
7898         (_javanet_accept): Fixed bogus call to TARGET.
7899         (_javanet_create_inetaddress): Fixed address generation. Fixed
7900         bogus memory free.
7901         (_javanet_bind): set "Reuse address" flag.
7902
7903         * native/jni/native-lib/cpio.c
7904         (cpio_getModificationTime): Fixed type.
7905         (cpio_removeFile): Use rmdir too.
7906
7907         * native/jni/native-lib/cpnet.c
7908         (cpnet_getHostByName): Fixed error detection.
7909
7910         * native/jni/native-lib/cpnet.h
7911         (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7912         memory.
7913         (cpnet_IPV4AddressToBytes): Fixed types.
7914         
7915         2006-06-10  Guilhem Lavaux  <guilhem@kaffe.org>
7916
7917         * native/jni/native-lib/cpio.c
7918         (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7919
7920         * native/jni/native-lib/cpnet.h:
7921         (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7922         messed by signs in jbyte.
7923         
7924         * native/jni/native-lib/cpproc.h
7925         (CPIO_EXEC_NUM_PIPES): Compilation fix.
7926
7927         2006-05-09  Guilhem Lavaux  <guilhem@kaffe.org>
7928
7929         * native/jni/native-lib/cpnet.c
7930         (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7931         (waitForWritable, waitForReadable): New functions.
7932         (socketTimeouts): New static global table to hold timeouts for all
7933         socket fds.
7934         (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7935         Added waitForXXXX safeguards to handle socket timeouts.
7936
7937         * native/jni/java-net/javanet.c
7938         (_javanet_accept): Check for the right error value when a timeout
7939         occurs.
7940         
7941         2006-03-25  Guilhem Lavaux  <guilhem@kaffe.org>
7942
7943         * native/jni/java-io/Makefile.am,
7944         native/jni/java-lang/Makefile.am,
7945         native/jni/java-net/Makefile.am,
7946         native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7947
7948         * native/jni/native-lib/Makefile.am: Added cpproc.c
7949
7950         * native/jni/native-lib/cpio.c: Implemented missing functions for
7951         CPIO.
7952
7953         * native/jni/native-lib/cpnet.c
7954         (cpnet_getHostByName): Fixed address array initialization.
7955         
7956         * native/jni/native-lib/cpproc.c: Implemented.
7957         
7958         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
7959
7960         * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7961
7962         * m4/gcc_attribute.m4: New file from ac_archive.
7963         
7964         * native/jni/java-net/javanet.c: Adapted to cpnet API
7965         modification.
7966
7967         * native/jni/native-lib/cpnet.c: Implemented.
7968
7969         * native/jni/native-lib/cpnet.h
7970         (cpnet_openSocketDatagram,
7971         cpnet_openSocketStream): These calls need an address family now.
7972         (cpnet_IPV4AddressToBytes,
7973         cpnet_bytesToIPV4Address): Convert the address to network order.
7974         
7975         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
7976
7977         * native/jni/java-io/java_io_VMFile.c,
7978         native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
7979         native/jni/midi-dssi/dssi_data.h,
7980         native/jni/native-lib/cpio.c,
7981         native/jni/native-lib/cpmath.h: Removed cpmath
7982         dependency. Fixed coding style.
7983
7984         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
7985
7986         * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
7987         dependency. Simplified the JNI code by moving some part into the
7988         native layer.
7989
7990         * native/jni/native-lib/cpproc.h: New interface to handle processes.
7991
7992         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
7993
7994         * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
7995         errors. Removed any remaining TARGET invocations.
7996
7997         * native/jni/java-net/javanet.c
7998         (_javanet_create_inetaddress): Removed spurious arr and
7999         octets. Fixed compilation errors.
8000
8001         * native/jni/native-lib/cpnet.h
8002         (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
8003         cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
8004         cpnet_isIPV4Address): New functions.
8005         (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
8006         the rest.
8007         
8008         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
8009
8010         * native/jni/java-io/java_io_VMFile.c,
8011         native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
8012         native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
8013         native/jni/java-net/javanet.c,
8014         native/jni/java-net/javanet.h: Adapted the VM layer code
8015         to the new native layer.
8016
8017         * native/jni/native-lib/cpnet.h
8018         (cpnet_addMembership,
8019         cpnet_dropMembership,
8020         cpnet_getAvailableBytes): Added the declarations of
8021         some new functions.
8022         (cpnet_newIPV6Address,
8023         cpnet_IPV6AddressToBytes,
8024         cpnet_bytesToIPV6Address): Implemented.
8025         (cpnet_newIPV4Address): Initialize the sin_family field.
8026
8027         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
8028
8029         * native/target: Removed.
8030
8031         * configure.ac: Removed target from CLASSPATH_INCLUDES and
8032         Makefile generation.
8033
8034         * native/jni/native-lib/Makefile.am,
8035         native/jni/native-lib/cpnet.h,
8036         native/jni/native-lib/cpnet.c
8037         native/jni/native-lib/cpio.h,
8038         native/jni/native-lib/cpio.c,
8039         native/jni/native-lib/cpmath.h: Imported new native compatibility
8040         layer.
8041
8042 2006-08-21  Roman Kennke  <kennke@aicas.com>
8043
8044         * gnu/javax/swing/text/html/css/CSSParser.java:
8045         New class.
8046         * gnu/javax/swing/text/html/css/CSSParserCallback.java:
8047         New interface.
8048         * gnu/javax/swing/text/html/css/CSSParserException.java:
8049         New exception.
8050         * gnu/javax/swing/text/html/css/CSSScanner.java:
8051         Adjusted API comments. Made all constants package private.
8052         (EOF): New constant field.
8053         (parseBuffer): Made package private.
8054         (tokenEnd): Made package private.
8055         (CSSScanner): Initialize lookahead buffer with -1.
8056         (main): Print out to System.out rather then System.err.
8057         (nextToken): Push back character after IDENT.
8058
8059 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
8060
8061         * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
8062
8063 2006-08-21  Roman Kennke  <kennke@aicas.com>
8064
8065         * gnu/javax/swing/text/html/css/CSSScanner.java
8066         (main): Use buffered input stream.
8067         (nextToken): Removed 65536 workaround. Use int value directly
8068         without cast to char.
8069         (readComment): Use int value directly without cast to char.
8070         Cast to char only when putting the character into the buffer.
8071         (readEscape): Likewise.
8072         (readIdent): Likewise.
8073         (readName): Likewise.
8074         (readNum): Likewise.
8075         (readString): Likewise.
8076         (readWhitespace): Likewise.
8077
8078 2006-08-21  Ingo Proetel  <proetel@aicas.com>
8079
8080         * java/io/InputStreamReader.java
8081         (bytesCache): New field.
8082         (cacheLock): New field.
8083         (read(byte[],int,int): Avoid allocations of new byte
8084         array on every call and reuse cached byte array if possible.
8085
8086 2006-08-21  Roman Kennke  <kennke@aicas.com>
8087
8088         * gnu/java/net/local/LocalSocketImpl.java
8089         Only load native lib if this is supported by runtime.
8090         * native/jni/java-net/local.c
8091         Include config.h unconditionally.
8092         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
8093         Include config.h unconditionally.
8094
8095 2006-08-21  Friedjof Siebert  <siebert@aicas.com>
8096
8097         * java/io/ObjectInputStream.java
8098         (objectLookupTable): Changed to be a Vector.
8099         (ObjectInputStream): Initialize objectLookupTable as Vector.
8100         (assignNewHandle): Store Object using handle index rather than
8101         Hashtable, using the new rememberHandle() method.
8102         (hierarchy): New method. This replaces inputGetObjectStreamClasses()
8103         with a caching in ObjectStreamClass.
8104         (inputGetObjectStreamClass): Replaced by hierarchy().
8105         (lookupHandle): New method. Looks up an object by it's handle
8106         index.
8107         (parseContent): Avoid creating of Integer objects. Use
8108         hierarchy() method for looking up the class hierarchy.
8109         (processResolution): Use rememberHandle() to store
8110         handle per index, rather than Hashtabling the object.
8111         (readFields): 
8112         (rememberHandle): New method.
8113         * java/io/ObjectOutputStream.java
8114         (OIDLookupTable): Use ObjectIdentityMap2Int instead of
8115         Hashtable for improved lookup performance.
8116         (ObjectOutputStream): Initialize OIDLookupTable as
8117         ObjectIdentityMap2Int.
8118         (assignNewHandle): Change to use ObjectIdentityMap2Int.
8119         (findHandle): Change to use ObjectIdentityMap2Int.
8120         (getBooleanField): Removed.
8121         (getByteField): Removed.
8122         (getCharField): Removed.
8123         (getDoubleField): Removed.
8124         (getField): Removed.
8125         (getFloatField): Removed.
8126         (getIntField): Removed.
8127         (getLongField): Removed.
8128         (getObjectField): Removed.
8129         (writeFields(Object,ObjectStreamClass)): Use new helper method.
8130         (writeFields(Object,ObjectStreamField)): New helper method.
8131         Use switch rather then if-else cascade.
8132         (writeObject): Use int handle, rather then Integer.
8133         * java/io/ObjectStreamClass.java
8134         (hierarchy): New field. Caches the class hierarchy.
8135         (methodCache): New field. Caches methods.
8136         (readObjectSignature): New field. Stores the read signature.
8137         (uidCache): New field. Caches UIDs.
8138         (writeObjectSignature): New field. Stores the write signature.
8139         (cacheMethods): Cache methods in methodCache.
8140         (calculateClassID): Outsourced from getClassUID()
8141         for computing the UIDs.
8142         (getClassUIDFromField): Outsourced from getClassUID() for
8143         fetching the UID from the class field.
8144         (getClassUID): Use cached uid if possible. Use new helper
8145         methods for fetching the UID from the field or computing
8146         from scratch.
8147         (getObjectStreamClasses): Removed. Replaced by more
8148         efficient hierarchy() method, that also caches the result.
8149         (hierarchy): Replaces getObjectStreamClasses() for caching
8150         the result.
8151         (loadedByBootOrApplicationClassLoader): New helper method.
8152         (setClass): Invalidate hierarchy cache.
8153         (setSuperclass): Invalidate hierarchy cache.
8154         * java/io/ObjectStreamField.java
8155         (field): Made field package private for access from other
8156         classes.
8157         * gnu/java/io/ObjectIdentityWrapper.java: Removed.
8158         * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
8159         hashtable for mapping objects to ints.
8160
8161 2006-08-21  Roman Kennke  <kennke@aicas.com>
8162
8163         * java/io/File.java
8164         (getAbsolutePath): Fetch absolute path from
8165         VMFile.getAbsolutePath(). Moved actual impl to there.
8166         (isAbsolute): Let VMFile determine the absoluteness.
8167         (toURL): Let VMFile convert the filename.
8168         * vm/reference/java/io/VMFile.java
8169         (getAbsolutePath): New method.
8170         (isAbsolute): New method.
8171         (toURL): New method.
8172
8173 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
8174
8175         * NEWS: Added note about updated VM interface.
8176
8177 2006-08-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8178
8179         * java/lang/management/ManagementFactory.java:
8180         Updated documentation.
8181         
8182 2006-08-20  Ito Kazumitsu  <kaz@maczuka.gcd.org>
8183
8184         Fixes bug #28412
8185         * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
8186         New methods.
8187         * gnu/java/util/regex/CharIndexedCharSequence.java,
8188         gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
8189         new methods above.
8190         * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
8191         (match): call the new method setHitEnd of the input,
8192         (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
8193         Some optimization commented out, Use CharIndexed#move1 instead of move.
8194         * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
8195         * gnu/java/util/regex/REToken.java(match): The method body has been
8196         moved to an internal private method, (matchFake): New method,
8197         (setHitEnd): New method.
8198         * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
8199         if the match is not complete, (matchOneString): Count the number of
8200         characters which matched the pattern.
8201         * gnu/java/util/regex/RETokenEnd.java(fake): New field,
8202         (setFake): New method, (match): Call super.match or super.matchFake.
8203         * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
8204         * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
8205         setHitEnd of the input,
8206         * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
8207         * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
8208         RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
8209
8210 2006-08-18  Tom Tromey  <tromey@redhat.com>
8211
8212         * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
8213         the 'int', not the cast char.
8214
8215 2006-08-18  Roger Sayle  <roger@eyesopen.com>
8216
8217         * scripts/check_jni_methods.sh: Don't use the "set -C" command
8218         which isn't available in all shells.
8219
8220 2006-08-18  Roger Sayle  <roger@eyesopen.com>
8221
8222         * lib/Makefile.am (resources): Fix some shell portability issues.
8223
8224 2006-08-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
8225
8226         * configure.ac (tool-wrappers): Check for ltdl support when tool
8227         wrapper binaries are enabled.
8228         * tools/Makefile.am (LIBJVM): Remove variable.
8229         (AM_CPPFLAGS): Add LIBJVM define.
8230         (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
8231         gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
8232         gjavah_LDFLAGS): Remove variables.
8233         * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
8234
8235 2006-08-18  Tom Tromey  <tromey@redhat.com>
8236
8237         * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
8238         debugging prints.
8239         * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
8240         print.
8241         (readEntries): Likewise.
8242
8243 2006-08-17  Roman Kennke  <kennke@aicas.com>
8244
8245         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8246         (layoutLabel): Reset the text and icon rectangles.
8247
8248 2006-08-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
8249
8250         PR classpath/28537
8251         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
8252         Transform gappletviewer name using program_transform_name.
8253
8254 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
8255
8256         * javax/swing/filechooser/FileSystemView.java
8257         (getFileSystemView): Always return UnixFileSystemView, since
8258         that's the only one we got. Marked with NotImplementedException.
8259         * javax/swing/plaf/basic/BasicFileChooserUI.java
8260         (mouseClicked, installUI): Don't parse path by hand.
8261
8262 2006-08-17  Roman Kennke  <kennke@aicas.com>
8263
8264         * javax/swing/JComponent.java
8265         (scrollRectToVisible): Handle intermediate non-JComponents
8266         more gracefully.
8267
8268 2006-08-17  Roman Kennke  <kennke@aicas.com>
8269
8270         * javax/swing/RepaintManager.java
8271         (blitBuffer): Removed. This is now done in commitBuffer().
8272         (commitBuffer): Always paint on the root window or applet.
8273         No need to look for intermediate heavyweights. Optimized
8274         rectangle translation.
8275         (commitRemainingBuffers): Removed. Not needed anymore.
8276         (getHeavyweightParent): Removed. Not needed anymore.
8277         (getOffscreenBuffer): Fetch offscreen image from the
8278         actual root component.
8279         (paintDirtyRegions): Don't call commitRemainingBuffers().
8280
8281 2006-08-17  Roman Kennke  <kennke@aicas.com>
8282
8283         * javax/swing/SwingUtilities.java
8284         (clipString): New helper method for trimming strings.
8285         (layoutCompoundLabelImpl): Fixed algorithm to conform
8286         testsuites. Trim text if it's too long. Avoid creating
8287         new Rectangles. Optimized for performance.
8288         (layoutCompoundLabel): Use switch rather then if-else-chain.
8289         * javax/swing/plaf/basic/BasicButtonUI.java
8290         (viewR): New field.
8291         (iconR): New field.
8292         (textR): New field.
8293         (paint): Reset and use cached rectangles. Only call paintIcon()
8294         if icon is not null. Don't call paintButtonPressed() when
8295         button is selected, only when it is both armed and pressed.
8296         * javax/swing/plaf/basic/BasicGraphicsUtils.java
8297         (getPreferredButtonSize): Reused cached rectangles rather
8298         then creating new ones. Don't create new Rectangle via
8299         Rectangle.union().
8300         * javax/swing/plaf/basic/BasicLabelUI.java
8301         (getPreferredSize): Correctly reset cached rectangles. Especially
8302         the view rect must have a big size to give it room for layouting.
8303         Short cut layout when text == null.
8304         (paint): Correctly reset cached rectangles.
8305         * javax/swing/plaf/basic/BasicMenuItemUI.java
8306         (resetRectangles): New helper method.
8307         (getPreferredMenuItemSize): Correctly reset the cached rectangles.
8308         (paintMenuItem): Correctly reset the cached rectangles.
8309         * javax/swing/plaf/basic/BasicRadioButtonUI.java
8310         (getPreferredSize): Use cached Rectangle objects and initialize
8311         them correctly.
8312         (paint): Use cached Rectangle objects and initialize
8313         them correctly.
8314
8315 2006-08-17  David Gilbert  <david.gilbert@object-refinery.com>
8316
8317         * java/util/Calendar.java: API doc additions.
8318
8319 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8320
8321         * javax/swing/DefaultButtonModel.java:
8322         (setRollover): Simplified statement.
8323
8324 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
8325
8326         * gnu/java/rmi/server/RMIClassLoaderImpl.java
8327         (loadClass): Rewritten to use getClassLoader.
8328         (loadProxyClass): Implemented.
8329         (getClassLoader): Fixed support for null or empty codebase.
8330         * gnu/java/rmi/server/RMIObjectInputStream.java
8331         (resolveClass): Use user class loader as default class loader.
8332         (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
8333         * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
8334         (loadClass): Simplified and use user class loader instead of
8335         context class loader as default.
8336         * java/io/ObjectInputStream.java
8337         (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
8338         * vm/reference/gnu/classpath/VMStackWalker.java
8339         (firstNonNullClassLoader): New method.
8340         * vm/reference/java/io/VMObjectInputStream.java
8341         (loaderAction, currentClassLoader): Removed.
8342
8343 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8344
8345         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8346         (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
8347         by current scroll offset, added method documention.
8348         (getTabBounds(int, Rectangle)): Added method documentation.
8349         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
8350         (paintContentBorderLeftEdge): Changed y to 1.
8351
8352 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8353
8354         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8355         (MouseHandler.mouseReleased): Implemented.
8356         (MouseHandler.mousePressed): Added delegation to tabbed pane.
8357         (MouseHandler.mouseEntered): Dito.
8358         (MouseHandler.mouseExited): Dito.
8359         (MouseHandler.mouseMoved): Dito.
8360         (MouseHandler.redispatchEvent): New method.
8361         (PropertyChangeHandler.propertyChange): Added extra block level,
8362         added code to handle tab placement changes, added comment.
8363         (updateViewPosition): Set unneeded coordinate to 0, added comment.
8364
8365 2006-08-16  Roman Kennke  <kennke@aicas.com>
8366
8367         * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8368         * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8369         New file.
8370
8371 2006-08-16  Mark Wielaard  <mark@klomp.org>
8372
8373         * java/awt/Component.java (orientation): Renamed to
8374         componentOrientation.
8375         (setComponentOrientation): Use new field name.
8376         (getComponentOrientation): Likewise.
8377
8378 2006-08-16  Roman Kennke  <kennke@aicas.com>
8379
8380         PR 28750
8381         * javax/swing/plaf/basic/BasicTreeUI.java
8382         (CellEditorHandler.editingCancelled): Call completeEditing
8383         directly.
8384         (CellEditorHandler.editingStopped): Call completeEditing
8385         directly.
8386         (NodeDimensionHandler.getNodeDimensions): Rewritten
8387         to use the preferred sizes of the renderer and editor.
8388         (TreeExpansionHandler.treeCollapsed): Complete editing
8389         here.
8390         (TreeSelectionHandler.valueChanged): Complete editing
8391         here.
8392         (cancelEditing): Call completeEditing with false, false and
8393         false. Don't call finish (removed method).
8394         (completeEditing(boolean,boolean,boolean): Only do something when
8395         stopEditingInCompleteEditing is true. Nullify editingComponent
8396         and editingPath. Remove editingComponent from tree. Update
8397         the layout when necessary and repaint.
8398         (completeEditing): Stop editing when necessary.
8399         (editorRequestFocus): New helper method. Request focus
8400         on the actual editor.
8401         (finish) Removed. This is now done in completeEditing().
8402         (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8403         (setLargeModel): Complete editing here.
8404         (setRootVisible): Complete editing here.
8405         (setRowHeight): Complete editing here.
8406         (setSelectionModel): Complete editing here.
8407         (startEditing): Correctly initialize and start editing.
8408         (updateExpandedDescendants): Complete editing here.
8409         * javax/swing/tree/DefaultTreeCellEditor.java
8410         (DefaultTextField): Fetch size from super and use renderer's height
8411         if appropriate.
8412         (EditorContainer.EditorContainer): Set layout to null, just
8413         to make sure.
8414         (EditorContainer.doLayout): Layout so that the editor
8415         is offset to the right of the icon.
8416         (EditorContainer.getPreferredSize): Implemented to
8417         provide a reasonable preferred size.
8418         (EditorContainer.paint): Position icon in the middle.
8419         Also paint border if appropriate.
8420         (EditorContainer.setBounds): Removed.
8421         (RealEditorListener): Removed.
8422         (DefaultTreeCellEditor): Set correct border.
8423         (cancelCellEditing): Message real editor. Call finish().
8424         (createCellEditor): Don't add listener.
8425         (determineOffset): Correctly determine offset, and update
8426         the icon.
8427         (finish): New helper method.
8428         (getTreeCellEditorComponent): Set correct font. Call
8429         prepareForEditing() and determineOffset() to correctly initialize
8430         the state.
8431         (stopCellEditing): Messsage realEditor to stop editing. Call
8432         finish to clean up.
8433         (stopEditingTimer): Removed.
8434         (valueChanged): Correctly reset lastPath.
8435         * javax/swing/tree/DefaultTreeCellRenderer.java
8436         (getPreferredSize): Return super plus some extra space for
8437         better readability.
8438
8439 2006-08-16  Roman Kennke  <kennke@aicas.com>
8440
8441         * javax/swing/plaf/metal/MetalTreeUI.java
8442         (LineStyleListener): New property listener, that updates
8443         the line style setting if the corresponding property
8444         changes.
8445         (lineStyleListener): New field.
8446         (lineStyle): New field.
8447         (LINE_STYLE_ANGLED): New constant field.
8448         (LINE_STYLE_HORIZONTAL): New constant field.
8449         (LINE_STYLE_NONE): New constant field.
8450         (LINE_STYLE_VALUE_ANGLED): New constant field.
8451         (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8452         (LINE_STYLE_VALUE_NONE): New constant field.
8453         (LINE_STYLE_PROPERTY): New constant field.
8454         (decodeLineStyle): Implemented.
8455         (installUI): Install line style listener. Set initial
8456         lineStyle.
8457         (uninstallUI): Uninstall line style listener.
8458         (paintHorizontalPartOfLeg): Only call super for angled
8459         lineStyle.
8460         (paintVerticalPartOfLeg): Only call super for angled
8461         lineStyle.
8462         (paintHorizontalSeparators): Implemented.
8463         (paint): If lineStyle==HORIZONTAL, call
8464         paintHorizontalSeparators().
8465         * examples/gnu/classpath/examples/swing/TreeDemo.java
8466         (createContent): Add panel for selecting line styles.   
8467
8468 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8469         
8470         * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8471         (createContent): Rewritten.
8472         (createPlacementChangingMenuItem): New method.
8473         (createLayoutPolicyChangingMenuItem): New method.
8474         (createTabbedPane): New method.
8475         (createTabContent): New method.
8476
8477 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8478
8479         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8480         (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8481         disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8482
8483 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8484
8485         * javax/swing/text/WrappedPlainView.java:
8486         (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8487         (calculateBreakPosition): Add p0 to return value.
8488
8489 2006-08-15  Roman Kennke  <kennke@aicas.com>
8490
8491         * javax/swing/plaf/basic/BasicTreeUI.java
8492         (MouseHandler.selectedOnPress): New field.
8493         (MouseHandler.handleEvent): New helper method for handling
8494         selection and start/stop editing for mouse events.
8495         (MouseHandler.mouseDragged): Commented as no-op method.
8496         (MouseHandler.mouseMoved): Commented as no-op method.
8497         (MouseHandler.mousePressed): Use handleEvent() to handle
8498         selection and editing handling.
8499         (MouseHandler.mouseReleased): Use handleEvent() to handle
8500         selection and editing handling.
8501         (MouseInputHandler.MouseInputHandler): Register itself
8502         as mouse listener on source. Redispatch event to
8503         destination.
8504         (MouseInputHandler.dispatch): New helper method.
8505         (MouseInputHandler.mouseClicked): Dispatch event.
8506         (MouseInputHandler.mouseDragged): Dispatch event.
8507         (MouseInputHandler.mouseEntered): Stop dispatching
8508         if dragging stopped.
8509         (MouseInputHandler.mouseExited): Stop dispatching
8510         if dragging stopped.
8511         (MouseInputHandler.mouseMoved): Stop dispatching.
8512         (MouseInputHandler.mousePressed): Marked as no-op.
8513         (MouseInputHandler.mouseReleased): Dispatch and stop
8514         dispatching afterwards.
8515         (MouseInputHandler.removeFromSource): Implemented.
8516         (PropertyChangeHandler.propertyChange): Also handle
8517         editable property changes by calling setEditable().
8518         (SelectionModelPropertyChangeHandler.propertyChange):
8519         Reset row selection.
8520         (startEditTimer): Removed.
8521         (setCellEditor): Call updateEditor().
8522         (setEditable): Call updateEditor().
8523         (startEditingAtPath): Make path fully visible before starting
8524         editing.
8525         (startEditing): Maybe cancel previous edit session. Add
8526         editing component itself, not its parent container.
8527         Register MouseInputHandler for correctly redispatching
8528         initial events.
8529         (stopEditing): Message cellEditor and only completeEditing()
8530         when approved by cell editor.
8531         (updateCellEditor): Complete editing before updating
8532         the cell editor. Get cell editor from JTree if possible,
8533         otherwise create default editor. Update the listeners
8534         on the editor.
8535         * javax/swing/tree/DefaultTreeCellEditor.java
8536         (CLICK_COUNT_TO_START): Removed.
8537         (DefaultTreeCellEditor): Install correct border. Let setTree()
8538         update the listeners. Don't initialize lastPath and font yet.
8539         (actionPerformed): Implemented to start editing.
8540         (createTreeCellEditor): Set click count to start to 1, rather than
8541         3.
8542         (isCellEditable): Prepare editor here. Determine if we can
8543         start immediately, or if we trigger a timer to do so.
8544         (prepareForEditing): Don't removeAll() (not necessary),
8545         check editingComponent to be non-null.
8546         (setTree): Update listeners.
8547         (shouldStartEditingTimer): Check for left mouse button.
8548         (startEditingTimer): Lazily create timer.
8549
8550 2006-08-15  Lillian Angel  <langel@redhat.com>
8551
8552         * java/awt/dnd/DropTargetDragEvent.java
8553         (getTransferable): Implemented.
8554
8555 2006-08-15  Roman Kennke  <kennke@aicas.com>
8556
8557         * java/util/Vector.java
8558         (removeAll): Added comment about NPE.
8559         (retainAll): Added comment about NPE.
8560
8561 2006-08-15  Roman Kennke  <kennke@aicas.com>
8562
8563         * java/util/zip/ZipFile.java
8564         (UTF8DECODER): Removed.
8565         (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8566         (utf8Decoder): New instance field.
8567         (decodeChars): Lazily create UTF8 decoder. Use instance
8568         field rather than a static field to avoid corruption.
8569
8570 2006-08-15  Roman Kennke  <kennke@aicas.com>
8571
8572         * java/io/PrintStream.java
8573         (line_separator): Provide default for system property.
8574         * java/io/FileDescriptor.java
8575         (valid): Create local copy of channel field for better
8576         threading safetly.
8577
8578 2006-08-15  Ingo Proetel  <proetel@aicas.com>
8579
8580         * java/util/zip/ZipFile.java
8581         (PartialInputStream.UTF8DECODER): New constant field, used
8582         for decoding UTF8 strings.
8583         (readLeShort): Access buffer directly if it has enough bytes
8584         available.
8585         (readLeInt): Access buffer directly if it has enough bytes
8586         available.
8587         (decodeChars): New helper method for decoding UTF8 strings.
8588         (readString): Avoid NIO charset decoder if possible.
8589
8590 2006-08-15  Roman Kennke  <kennke@aicas.com>
8591
8592         * java/util/Vector.java
8593         (removeAll): Don't explicitly null-check here. The RI allows
8594         null arguments when Vector is empty. In other cases we
8595         implicitly throw an NPE.
8596         (retainAll): Don't explicitly null-check here. The RI allows
8597         null arguments when Vector is empty. In other cases we
8598         implicitly throw an NPE.
8599
8600 2006-08-14  Casey Marshall  <csm@gnu.org>
8601
8602         Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8603         of changes made on this branch.
8604         Files modified:
8605         * gnu/classpath/debug/Component.java
8606         * gnu/classpath/debug/SystemLogger.java
8607         * gnu/java/security/action/GetPropertyAction.java
8608         * gnu/java/security/action/GetSecurityPropertyAction.java
8609         * gnu/javax/crypto/RSACipherImpl.java
8610         * gnu/javax/net/ssl/PrivateCredentials.java
8611         * gnu/javax/net/ssl/provider/Alert.java
8612         * gnu/javax/net/ssl/provider/AlertException.java
8613         * gnu/javax/net/ssl/provider/Certificate.java
8614         * gnu/javax/net/ssl/provider/CertificateRequest.java
8615         * gnu/javax/net/ssl/provider/CertificateType.java
8616         * gnu/javax/net/ssl/provider/CertificateVerify.java
8617         * gnu/javax/net/ssl/provider/CipherSuite.java
8618         * gnu/javax/net/ssl/provider/ClientHello.java
8619         * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8620         * gnu/javax/net/ssl/provider/CompressionMethod.java
8621         * gnu/javax/net/ssl/provider/Constructed.java
8622         * gnu/javax/net/ssl/provider/ContentType.java
8623         * gnu/javax/net/ssl/provider/DiffieHellman.java
8624         * gnu/javax/net/ssl/provider/Extension.java
8625         * gnu/javax/net/ssl/provider/Finished.java
8626         * gnu/javax/net/ssl/provider/Handshake.java
8627         * gnu/javax/net/ssl/provider/Jessie.java
8628         * gnu/javax/net/ssl/provider/ProtocolVersion.java
8629         * gnu/javax/net/ssl/provider/Random.java
8630         * gnu/javax/net/ssl/provider/ServerHello.java
8631         * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8632         * gnu/javax/net/ssl/provider/Signature.java
8633         * gnu/javax/net/ssl/provider/Util.java
8634         * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8635         * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8636         * java/security/MessageDigest.java
8637         * java/security/MessageDigestSpi.java
8638         * java/security/Signature.java
8639         * java/security/SignatureSpi.java
8640         * javax/crypto/Mac.java
8641         * javax/crypto/MacSpi.java
8642         * javax/net/ssl/HandshakeCompletedEvent.java
8643         * javax/net/ssl/HttpsURLConnection.java
8644         * javax/net/ssl/SSLContext.java
8645         * javax/net/ssl/SSLContextSpi.java
8646         * javax/net/ssl/SSLSession.java
8647         Files added:
8648         * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java 
8649         * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java 
8650         * gnu/javax/net/ssl/provider/SimpleSessionContext.java 
8651         * gnu/javax/net/ssl/provider/ServerRSAParams.java 
8652         * gnu/javax/net/ssl/provider/SSLContextImpl.java 
8653         * gnu/javax/net/ssl/provider/ServerDHParams.java 
8654         * gnu/javax/net/ssl/provider/ClientHelloBuilder.java 
8655         * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java 
8656         * gnu/javax/net/ssl/provider/SignatureAlgorithm.java 
8657         * gnu/javax/net/ssl/provider/CipherSuiteList.java 
8658         * gnu/javax/net/ssl/provider/ServerNameList.java 
8659         * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java 
8660         * gnu/javax/net/ssl/provider/CompressionMethodList.java 
8661         * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java 
8662         * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java 
8663         * gnu/javax/net/ssl/provider/TrustedAuthorities.java 
8664         * gnu/javax/net/ssl/provider/CertificateStatusRequest.java 
8665         * gnu/javax/net/ssl/provider/ServerHelloDone.java 
8666         * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java 
8667         * gnu/javax/net/ssl/provider/SSLSocketImpl.java 
8668         * gnu/javax/net/ssl/provider/ServerHelloBuilder.java 
8669         * gnu/javax/net/ssl/provider/Record.java 
8670         * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java 
8671         * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java 
8672         * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java 
8673         * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java 
8674         * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java 
8675         * gnu/javax/net/ssl/provider/CertificateBuilder.java 
8676         * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java 
8677         * gnu/javax/net/ssl/provider/CertificateStatusType.java 
8678         * gnu/javax/net/ssl/provider/ExtensionList.java 
8679         * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java 
8680         * gnu/javax/net/ssl/provider/ClientPSKParameters.java 
8681         * gnu/javax/net/ssl/provider/X500PrincipalList.java 
8682         * gnu/javax/net/ssl/provider/ServerHandshake.java 
8683         * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java 
8684         * gnu/javax/net/ssl/provider/SessionImpl.java 
8685         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java 
8686         * gnu/javax/net/ssl/provider/ServerPSKParameters.java 
8687         * gnu/javax/net/ssl/provider/TruncatedHMAC.java 
8688         * gnu/javax/net/ssl/provider/MaxFragmentLength.java 
8689         * gnu/javax/net/ssl/provider/HelloRequest.java 
8690         * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java 
8691         * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java 
8692         * gnu/javax/net/ssl/provider/CipherAlgorithm.java 
8693         * gnu/javax/net/ssl/provider/ClientHandshake.java 
8694         * gnu/javax/net/ssl/provider/ExchangeKeys.java 
8695         * gnu/javax/net/ssl/provider/CertificateURL.java 
8696         * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java 
8697         * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java 
8698         * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java 
8699         * gnu/javax/net/ssl/provider/Builder.java 
8700         * gnu/javax/net/ssl/provider/Debug.java 
8701         * gnu/javax/net/ssl/provider/SSLEngineImpl.java 
8702         * gnu/javax/net/ssl/provider/MacAlgorithm.java 
8703         * gnu/javax/net/ssl/provider/DelegatedTask.java 
8704         * gnu/javax/net/ssl/provider/InputSecurityParameters.java 
8705         * gnu/javax/net/ssl/provider/ClientHelloV2.java 
8706         * gnu/javax/net/ssl/provider/OutputSecurityParameters.java 
8707         * gnu/javax/net/ssl/provider/AbstractHandshake.java 
8708         * javax/net/ssl/SSLEngine.java 
8709         * javax/net/ssl/CertPathTrustManagerParameters.java 
8710         * javax/net/ssl/KeyStoreBuilderParameters.java 
8711         * javax/net/ssl/X509ExtendedKeyManager.java 
8712         * javax/net/ssl/SSLEngineResult.java 
8713         * gnu/javax/net/ssl/PreSharedKeyManager.java 
8714         * gnu/javax/net/ssl/Session.java 
8715         * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java 
8716         * gnu/javax/net/ssl/SSLCipherSuite.java 
8717         * gnu/javax/net/ssl/AbstractSessionContext.java 
8718         * gnu/javax/net/ssl/SessionStoreException.java 
8719         * gnu/javax/net/ssl/SSLRecordHandler.java 
8720         * gnu/javax/net/ssl/SSLProtocolVersion.java 
8721         * gnu/javax/crypto/key/GnuPBEKey.java 
8722         * gnu/java/security/util/ByteBufferOutputStream.java 
8723         * gnu/java/security/Requires.java 
8724         * gnu/javax/security/auth/callback/CertificateCallback.java 
8725         Files removed:
8726         * gnu/javax/net/ssl/provider/Context.java
8727         * gnu/javax/net/ssl/provider/DigestInputStream.java
8728         * gnu/javax/net/ssl/provider/DigestOutputStream.java
8729         * gnu/javax/net/ssl/provider/Enumerated.java
8730         * gnu/javax/net/ssl/provider/Extensions.java
8731         * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8732         * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8733         * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8734         * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8735         * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8736         * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8737         * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8738         * gnu/javax/net/ssl/provider/KeyPool.java
8739         * gnu/javax/net/ssl/provider/OverflowException.java
8740         * gnu/javax/net/ssl/provider/RecordInput.java
8741         * gnu/javax/net/ssl/provider/RecordInputStream.java
8742         * gnu/javax/net/ssl/provider/RecordOutputStream.java
8743         * gnu/javax/net/ssl/provider/RecordingInputStream.java
8744         * gnu/javax/net/ssl/provider/SSLRSASignature.java
8745         * gnu/javax/net/ssl/provider/SSLServerSocket.java
8746         * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8747         * gnu/javax/net/ssl/provider/SSLSocket.java
8748         * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8749         * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8750         * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8751         * gnu/javax/net/ssl/provider/SecurityParameters.java
8752         * gnu/javax/net/ssl/provider/Session.java
8753         * gnu/javax/net/ssl/provider/SessionContext.java
8754         * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8755         * gnu/javax/net/ssl/provider/XMLSessionContext.java
8756
8757 2006-08-14  Roman Kennke  <kennke@aicas.com>
8758
8759         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8760         (DividerLayout.layoutContainer): Removed debug output.
8761         * javax/swing/plaf/basic/BasicSplitPaneUI.java
8762         (BasicHorizontalLayoutManager.axis): New field.
8763         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8764         New constructor.
8765         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8766         Call new axis constructor.
8767         (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8768         handle direction.
8769         (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8770         handle direction.
8771         (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8772         Refactored to handle direction.
8773         (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8774         to handle direction.
8775         (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8776         handle direction.
8777         (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8778         to handle direction.
8779         (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8780         to handle direction.
8781         (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8782         to handle direction.
8783         (BasicHorizontalLayoutManager.updateComponents): Don't reset
8784         divider size.
8785         (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8786         New explicit constructor. Calls super with vertical axis.
8787         (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8788         to BasicHorizontalLayoutManager.
8789         (BasicVerticalLayoutManager.getInitialLocation): Functionality
8790         moved to BasicHorizontalLayoutManager.
8791         (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8792         Functionality moved to BasicHorizontalLayoutManager.
8793         (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8794         moved to BasicHorizontalLayoutManager.
8795         (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8796         moved to BasicHorizontalLayoutManager.
8797         (BasicVerticalLayoutManager.minimumSizeOfComponent):
8798         Functionality moved to BasicHorizontalLayoutManager.
8799         (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8800         moved to BasicHorizontalLayoutManager.
8801         (BasicVerticalLayoutManager.setComponentToSize): Functionality
8802         moved to BasicHorizontalLayoutManager.
8803         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8804         (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8805         (BUTTON_SPRITE_R): New constant field.
8806         (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8807         L sprite for left buttons.
8808         
8809 2006-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
8810
8811         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8812         (query_formats): g_free 'name' after usage.
8813         g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8814         g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8815
8816 2006-08-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
8817
8818         PR classpath/27723
8819         * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8820         seamonkey-plugin.
8821
8822 2006-08-14  Francis Kung  <fkung@redhat.com>
8823
8824         PR 28694
8825         * java/awt/image/ColorModel.java
8826         (coerceData): Added check for non-transparent images.
8827
8828 2006-08-14  Francis Kung  <fkung@redhat.com>
8829
8830         * java/awt/image/BandCombineOp.java
8831         (BandCombineOp): Perform checks on validity of matrix.
8832         (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8833         (filter): Updated to work with new matrix storage.
8834         (getMatrix): Updated javadoc.
8835         (getPoint2D): Formatting change.
8836
8837 2006-08-14  Francis Kung  <fkung@redhat.com>
8838
8839         * java/awt/image/AffineTransformOp.java
8840         (AffineTransformOp): Updated javadoc.
8841         (createCompatibleDestImage): Match behaviour of reference implementation.
8842         (createCompatibleDestRaster): Formatting changes.
8843         (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8844         (filter(Raster, WritableRaster)): Re-implemented.
8845         (filterBicubic): New private method.
8846         (filterBilinear): New private method.
8847         (filterNearest): New private method.
8848         (getBounds2D): No longer fixed around one point for rotations.
8849         (getInterpolationType): Add support for bicubic interpolation.
8850
8851 2006-08-14  Roman Kennke  <kennke@aicas.com>
8852
8853         * javax/swing/plaf/metal/MetalLookAndFeel.java
8854         (MetalLookAndFeel): Moved theme initialization to
8855         getDefaults().
8856         (createDefaultTheme): Forward to getCurrentTheme().
8857         (getDefaults): Initialize theme before doing anything else.
8858         (getCurrentTheme): Recognize swing.metalTheme property.
8859
8860 2006-08-14  Roman Kennke  <kennke@aicas.com>
8861
8862         * javax/swing/JTable
8863         (getScrollableUnitIncrement): Expose partially exposed
8864         row in scrolling direction.
8865
8866 2006-08-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
8867
8868         * javax/swing/JTable (getScrollableUnitIncrement): 
8869         Removing my name as the whole method body have been
8870         recently completely replaced.
8871
8872 2006-08-14  Roman Kennke  <kennke@aicas.com>
8873
8874         PR 28028
8875         * javax/swing/text/Utilities.java
8876         (getTabbedTextOffset): Don't add p0 here.
8877
8878 2006-08-14  Roman Kennke  <kennke@aicas.com>
8879
8880         PR 28719
8881         * javax/swing/plaf/basic/BasicScrollPaneUI.java
8882         (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8883         when wheel is going up.
8884
8885 2006-08-14  Roman Kennke  <kennke@aicas.com>
8886
8887         PR 28693
8888         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8889         (BasicOneTouchButton): New inner class.
8890         (DividerLayout.changeButtonOrientation): Removed.
8891         (DividerLayout.positionButtons): Moved into layoutContainer.
8892         (DividerLayout.layoutContainer): Reworked for correct layout.
8893         (OneTouchAction): New inner class.
8894         (centerOneTouchButtons): New field.
8895         (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8896         UIManager.
8897         (createLeftOneTouchButton): Reimplemented to return
8898         BasicOneTouchButton.
8899         (createRightOneTouchButton): Reimplemented to return
8900         BasicOneTouchButton.
8901         (getPreferredSize): Reimplemented to return fixed preferredSize.
8902         (oneTouchExpandableChanged): Add OneTouchAction action to
8903         buttons. Don't install mouse listeners.
8904         (MouseHandler.mousePressed): Removed handling of one touch buttons.
8905         (paint): Don't trigger extra paint for buttons.
8906         (propertyChange): Revalidate splitPane when orientation is changed.
8907         (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8908         oneTouchExpandable is true.
8909         * javax/swing/plaf/basic/BasicSplitPaneUI.java
8910         (installDefaults): Install dividerSize on the divider too.
8911         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8912         (MetalDividerLayout): Removed. Functionality is already
8913         in BasicSplitPaneDivider.DividerLayout.
8914         (MetalOneTouchButton): New inner class.
8915         (BUTTON_SPRITE): New constant field.
8916         (MetalSplitPaneDivider): Don't change layout.
8917         (createLeftOneTouchButton): Overridden to return custom button
8918         for Metal.
8919         (createRightOneTouchButton): Overridden to return custom button
8920         for Metal.
8921         (paint): Don't trigger button painting. Call super instead.
8922
8923 2006-08-13  Roman Kennke  <kennke@aicas.com>
8924
8925         * javax/swing/plaf/basic/BasicTableHeaderUI.java
8926         (installKeyboardAction): Unmarked as stub. Added comment
8927         explaining that the RI seems to do nothing here.
8928         (uninstallKeyboardAction): Unmarked as stub. Added comment
8929         explaining that the RI seems to do nothing here.
8930
8931 2006-08-13  Roman Kennke  <kennke@aicas.com>
8932
8933         PR 28135
8934         * javax/swing/ScrollPaneLayout.java
8935         (layoutContainer): Consider the viewportBorder of the
8936         JScrollPane.
8937         (minimumLayoutSize): Consider the viewportBorder of the
8938         JScrollPane.
8939         (preferredLayoutSize): Consider the viewportBorder of the
8940         JScrollPane.
8941         * javax/swing/plaf/basic/BasicScrollPaneUI.java
8942         (installDefaults): Also install viewportBorder if specified.
8943         (paint): Paint viewportBorder if present.
8944         (uninstallDefaults): Uninstall viewportBorder if appropriate.
8945         Don't nullify foreground, background and font. Uninstall
8946         border via LookAndFeel helper method to avoid uninstall
8947         user set border.
8948
8949 2006-08-13  Roman Kennke  <kennke@aicas.com>
8950
8951         PR 28696
8952         * javax/swing/plaf/basic/BasicHTML.java
8953         (HTMLRootView.HTMLRootView): Trigger initial layout.
8954         (HTMLRootView.setSize): Overridden to forward to real view.
8955         * javax/swing/plaf/basic/BasicToolTipUI.java
8956         (PropertyChangeHandler): New inner class. Updates the HTML
8957         renderer.
8958         (propertyChangeHandler): New field.
8959         (getMaximumSize): Add HTML width delta.
8960         (getMinimumSize): Add HTML width delta.
8961         (getPreferredSize): Reimplemented to use HTML view for size
8962         calculation if appropriate, otherwise use simple stringWidth()
8963         measurement.
8964         (installListeners): Install propertyChangeHandler.
8965         (uninstallListeners): Uninstall propertyChangeHandler.
8966         (installUI): Update HTML renderer.
8967         (uninstallUI): Update HTML renderer.
8968         (paint): Reimplemented to use HTML view for rendering if
8969         appropriate, simple drawString otherwise.
8970         * javax/swing/plaf/metal/MetalToolTipUI.java
8971         (getPreferredSize): Call super and add accelerator delta.
8972         (paint): Simply call super.
8973
8974 2006-08-13  Roman Kennke  <kennke@aicas.com>
8975
8976         * javax/swing/JMenu.java
8977         (changeListener): Renamed to menuChangeListener to avoid
8978         shadowing changeListener field from AbstractButton.
8979
8980 2006-08-13  Roman Kennke  <kennke@aicas.com>
8981
8982         * javax/swing/JTree.java
8983         (getScrollableUnitIncrement): Fixed direction.
8984         (getScrollableBlockIncrement): Implemented to scroll one
8985         page.
8986         * javax/swing/tree/VariableHeightLayoutCache.java
8987         (distance): Consider y + height already outside the node.
8988
8989 2006-08-13  Roman Kennke  <kennke@aicas.com>
8990
8991         * javax/swing/JTable.java
8992         (getScrollableUnitIncrement): Fixed direction. Make it behave
8993         like the RI.
8994         (getScrollableBlockIncrement): Fixed direction. Make it behave
8995         like the RI.
8996
8997 2006-08-13  Roman Kennke  <kennke@aicas.com>
8998
8999         * javax/swing/JList.java
9000         (getScrollableUnitIncrement): Fixed direction. Implemented
9001         horizontal scrolling. Improved usability.
9002         (getScrollableBlockIncrement): Fixed direction. Improved usability.
9003
9004 2006-08-13  Roman Kennke  <kennke@aicas.com>
9005
9006         * javax/swing/plaf/basic/BasicScrollBarUI.java
9007         (scrollByUnit): Scroll by -unit when direction is not positive
9008         and +unit otherwise.
9009         (scrollByBlock): Scroll by -unit when direction is not positive
9010         and +unit otherwise.
9011
9012 2006-08-13  Roman Kennke  <kennke@aicas.com>
9013
9014         PR 28028
9015         * javax/swing/text/PlainView.java
9016         (paint): Limit painted area to the lines inside the clip
9017         and allocation.
9018
9019 2006-08-13  Roman Kennke  <kennke@aicas.com>
9020
9021         * javax/swing/plaf/basic/BasicTextUI.java
9022         (uninstallListeners): Unregister document listener.
9023
9024 2006-08-13  Sven de Marothy  <sven@physto.se>
9025
9026         * java/util/Locale.java
9027         (hashcodeCache): New field.
9028         (hashCode): use the above field instead of the serialized one
9029         (writeObject): Removed method.
9030         (readObject): Intern strings.
9031         (equals): Revert to previous method.
9032
9033 2006-08-13  Roman Kennke  <kennke@aicas.com>
9034
9035         * javax/swing/JTabbedPane.java
9036         (JTabbedPane): Call setModel() here and let this install the
9037         change listener correctly.
9038         (setModel): Correctly uninstall and reinstall ChangeListener when
9039         model changes.
9040
9041 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
9042
9043         PR Classpath/23952
9044         * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
9045         (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
9046         (lastDefaultLocale): Removed.
9047         (emptyLocale): Likewise.
9048         (BundleKey.defaultLocale): New field.
9049         (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
9050         (BundleKey.set): Likewise.
9051         (BundleKey.equals): Take defaultLocal field into consideration.
9052         (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
9053
9054 2006-08-13  Roman Kennke  <kennke@aicas.com>
9055
9056         * javax/swing/JMenu.java
9057         (MenuChangeListener): New inner class, helps firing menu events.
9058         (changeListener): New field.
9059         (add(text)): Create new JMenuItem here and call add(JMenuItem).
9060         (add(Action)): Create Action using createActionComponent()
9061         and add via add(Component).
9062         (setModel): Install and uninstall MenuChangeListener here.
9063
9064 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
9065
9066         PR Classpath/27372
9067         * java/math/BigInteger.java: Updated copyright year.
9068         (init): Consume as little bytes as possible.
9069         (BigInteger(int, int, Random)): Ensure bitLength bits are used.
9070         (valueOf(String, int)): Throw NumberFormatException for malformed strings
9071         as per RI's documentation.
9072
9073 2006-08-13  Sven de Marothy  <sven@physto.se>
9074
9075         * java/util/Locale.java
9076         (hashcode): Is a serialized field, not transient.
9077         (equals): Should NOT compare strings by reference.
9078         (readObject/writeObject): Use the default methods and handle the hash
9079         seperately.
9080
9081 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
9082
9083         PR Classpath/28678
9084         * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
9085         Updated documentation.
9086         Formatting.
9087         (getInstance(String, String, Provider, Object[])): Likewise.
9088         Separate checks for null and empty string arguments.
9089         Include as much information as possible in the exception's message.
9090         Do not swallow original exception; instead use it as the cause of the
9091         resulting exception.
9092         * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
9093         (getInstance(String)): Updated documentation.
9094         Formatting.
9095         Store last exception caught when iterating through all providers.
9096         If no implementation found, raise last exception if one was caught.
9097         (getInstance(String, String)): Updated documentation.
9098         Formatting.
9099         Check for null or empty provider as per RI-5's documentation.
9100         (getInstance(String, Provider)): Updated documentation.
9101         Formatting.
9102         Use as much information as possible in the exception message.
9103         Do not swallow original exception; instead use it as the cause for the
9104         ultimate raised exception(s).
9105         * java/security/cert/CertificateFactory.java: Likewise.
9106         * java/security/cert/CertPathBuilder.java: Likewise.
9107         * java/security/cert/CertPathValidator.java: Likewise.
9108         * java/security/cert/CertStore.java: Likewise.
9109         * java/security/AlgorithmParameterGenerator.java: Likewise.
9110         * java/security/AlgorithmParameters.java: Likewise.
9111         * java/security/KeyFactory.java: Likewise.
9112         * java/security/KeyPairGenerator.java: Likewise.
9113         * java/security/KeyStore.java: Likewise.
9114         * java/security/MessageDigest.java: Likewise.
9115         * java/security/SecureRandom.java: Likewise.
9116         * java/security/Signature.java: Likewise.
9117         * javax/crypto/Cipher.java: Likewise.
9118         * javax/crypto/ExemptionMechanism.java: Likewise.
9119         * javax/crypto/KeyAgreement.java: Likewise.
9120         * javax/crypto/KeyGenerator.java: Likewise.
9121         * javax/crypto/Mac.java: Likewise.
9122         * javax/crypto/SecretKeyFactory.java: Likewise.
9123         * javax/net/ssl/KeyManagerFactory.java: Likewise.
9124         * javax/net/ssl/SSLContext.java: Likewise.
9125         * javax/net/ssl/TrustManagerFactory.java: Likewise.
9126
9127 2006-08-13  Roman Kennke  <kennke@aicas.com>
9128
9129         * javax/swing/JEditorPane.java
9130         (getScrollableTracksViewportHeight): Also check maximum size.
9131         * javax/swing/JTextPane.java
9132         (insertIcon): Use input attributes for adding the icon
9133         attribute.
9134         * javax/swing/plaf/basic/BasicTextUI.java
9135         (RootView.setSize): Overridden to forward to real view.
9136         (getPreferredSize): Trigger setSize() on the view.
9137         (viewToModel(JTextComponent,Point)): Pass Position.Bias array
9138         to viewToModel() call, rather then null.
9139         * javax/swing/text/ParagraphView.java
9140         (changedUpdate): Invalide layout. Call super.
9141         * javax/swing/text/SimpleAttributeSet.java
9142         (clone): Use super's clone method to create clone.
9143         * javax/swing/text/StyleConstants.java
9144         (setIcon): Also set element name attribute.
9145         * javax/swing/text/StyledEditorKit.java
9146         (BoldAction.actionPerformed): Actually set the bold attribute,
9147         not italic.
9148         (setCharacterAttributes): Replaced with more straightforward
9149         impl.
9150         * javax/swing/text/TextAction.java
9151         (getFocusedComponent): Implemented.
9152         * javax/swing/text/Utilities.java
9153         (getNextVisualPositionFrom): Pass Position.Bias arrays instead
9154         of null.
9155         * javax/swing/text/View.java
9156         (changedUpdate): Nullify element change when updateChildren
9157         says so.
9158
9159 2006-08-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9160
9161         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
9162         Fix documentation typos.
9163
9164 2006-08-11  David Daney  <ddaney@avtrex.com>
9165
9166         PR classpath/28580
9167         * gnu/java/net/protocol/http/Request.java (readResponse):  Call
9168         createResponseBodyStream in more cases and with new parameter.
9169         (createResponseBodyStream):  Added new parameter mayHaveBody.  Handle
9170         HEAD and !mayHaveBody responses specially.
9171         
9172 2006-08-11  Roman Kennke  <kennke@aicas.com>
9173
9174         * javax/swing/text/GlyphView.java
9175         (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
9176         * javax/swing/text/LabelView.java
9177         (valid): New flag indicating if the text attributes are valid.
9178         (LabelView): Initialize valid field with false.
9179         (setPropertiesFromAttributes): Call setter methods instead
9180         of setting properties directly. Set valid to true.
9181         (changedUpdate): Invalidate attributes. Call super.
9182         (getBackground): Sync attributes if necessary.
9183         (getForeground): Sync attributes if necessary.
9184         (getFont): Sync attributes if necessary.
9185         (isUnderline): Sync attributes if necessary.
9186         (isSuperscript): Sync attributes if necessary.
9187         (isStrikeThrough): Sync attributes if necessary.
9188         (getFontMetrics): Sync attributes if necessary. Fetch font metrics
9189         from toolkit if Container is not available yet.
9190
9191 2006-08-11  Roman Kennke  <kennke@aicas.com>
9192
9193         * javax/swing/text/PlainView.java
9194         (tabBase): New field.
9195         (tabSize): New field.
9196         (updateMetrics): Update tabSize.
9197         (lineToRect): Only allocate when really necessary.
9198         (modelToView): Use tabBase for offset calculations.
9199         (paint): Only allocate when really necessary. Update tabBase.
9200         (nextTabStop): Fixed tab calculation.
9201         (viewToModel): Correctly handle multiline text and locations
9202         outside the view's bounds. Set bias.
9203         (getLineLength): Use tabBase.
9204         * javax/swing/text/Utilities.java
9205         (drawTabbedText): Don't special case newlines. The views
9206         must take care of this.
9207
9208 2006-08-11  Roman Kennke  <kennke@aicas.com>
9209
9210         * javax/swing/text/GapContent.java
9211         (UndoPosRef): New inner class. Used for resetting positions
9212         after undo/redo operations.
9213         (InsertUndo.positions): New field.
9214         (InsertUndo.undo): Store positions in removed range.
9215         (InsertUndo.redo): Restore positions in re-inserted range.
9216         (UndoRemove.positions): New field.
9217         (UndoRemove.UndoRemove): Store positions in removed range.
9218         (UndoRemove.undo): Restore positions in re-inserted range.
9219         (UndoRemove.redo): Store positions in removed range.
9220         (insertString): Create InsertUndo instance before actually
9221         inserting the string.
9222         (remove): Create UndoRemove instance before actually
9223         removing.
9224         (getPositionsInRange): Don't clear the Vector. Return Vector
9225         of UndoPosRefs.
9226         (updateUndoPositions): Implemented to reset all UndoPosRefs
9227         in the vector.
9228
9229 2006-08-11  Jeroen Frijters  <jeroen@frijters.net>
9230
9231         * java/io/ObjectInputStream.java (readClassDescriptor):
9232         Use class's class loader to resolve field types.
9233         * java/io/ObjectStreamField.java
9234         (ObjectStreamField(String,String,ClassLoader)): Removed.
9235         (ObjectStreamField(String,String)): Don't try to resolve typename.
9236         (resolveType): New method.
9237
9238 2006-08-10  Roman Kennke  <kennke@aicas.com>
9239
9240         * javax/swing/text/BoxView.java
9241         (calculateMajorAxisRequirements): Sum up the preferred and
9242         maximum sizes.
9243         (isAfter): Also add in the rectangle's with/height.
9244         (childAllocation): Don't trigger layout here.
9245         (layoutMinorAxis): Removed debug output.
9246         (getWidth): Consider the insets.
9247         (getHeight): Consider the insets.
9248         (setSize): Consider the insets.
9249         (updateRequirements): Check axis and throw
9250         IllegalArgumentException.
9251
9252 2006-08-10  Roman Kennke  <kennke@aicas.com>
9253
9254         * javax/swing/text/AbstractDocument.java
9255         (BidiRootName): New constant field, denotes the element name
9256         for bidi root elements.
9257         (AsyncLoadPriority): New constant field, denotes the property
9258         to store the asynchronousLoadPriority.
9259         (I18N): New constant field, denotes the property for
9260         I18N support.
9261         (bidiRoot): Made field type BidiRootElement.
9262         (AbstractDocument): Build initial element structure for
9263         bidi.
9264         (getAsynchronousLoadPriority): Implemented. Returns the
9265         value stored in the document properties.
9266         (setAsynchronousLoadPriority): Implemented. Sets the
9267         value stored in the document properties.
9268         (getEndPosition): Implemented to use a Position from the
9269         content.
9270         (getStartPosition): Implemented to use a Position from the
9271         content.
9272         (insertStringImpl): Update the I18N setting if necessary.
9273         (insertUpdate): Update the bidi structure if necessary.
9274         (postRemoveUpdate): Update the bidi structure if necessary.
9275         (putProperty): Update the I18N setting and bidi structure
9276         if necessary.
9277         (updateBidi): New helper method for updating the bidi
9278         structure.
9279         (getBidis): New helper method. Fetches the Bidi analysers
9280         for the paragraphs of the range to check.
9281         (dump): Also dump the bidi structure.
9282         (AbstractElement.dump): Indent the '>' correctly.
9283         (AbstractElement.children): Check numChildren rather then
9284         children.length.
9285         (BidiRootElement): New inner class.
9286         (BidiElement): New inner class.
9287
9288 2006-08-10  Roman Kennke  <kennke@aicas.com>
9289
9290         * javax/swing/text/GapContent.java
9291         (getChars): Optimized to only copy array when really necessary.
9292         Respect the partialReturn property.
9293
9294 2006-08-10  Lillian Angel  <langel@redhat.com>
9295
9296         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9297         (getComponentPeer): Added check to prevent NPE.
9298
9299 2006-08-10  Gary Benson  <gbenson@redhat.com>
9300
9301         * java/security/AccessControlContext.java (<init>):
9302         Avoid a duplicated AccessController.getContext() call.
9303
9304 2006-08-09  Mark Wielaard  <mark@klomp.org>
9305   
9306         * doc/www.gnu.org/newsitems.txt: Add 0.92.
9307         * doc/www.gnu.org/downloads/downloads.wml: Likewise.
9308         * doc/www.gnu.org/announce/20060809.wml: New file.
9309
9310 2006-08-09  Mark Wielaard  <mark@klomp.org>
9311
9312         * configure.ac (VERSION): Set to 0.92-generics.
9313         * NEWS: Add updates for 0.92 release.
9314
9315 2006-08-09  Tom Tromey  <tromey@redhat.com>
9316
9317         PR classpath/28658:
9318         * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
9319         the pattern match any number of spaces in the text.
9320
9321 2006-08-09  Sven de Marothy  <sven@physto.se>
9322
9323         * java/awt/image/BufferedImage.java
9324         (BufferedImage): Reimplement predefined-type constructor.
9325         (observers/tileObservers): Field renamed to tileObservers.
9326         (createDefaultIndexedColorModel): New method.
9327
9328 2006-08-09  Tom Tromey  <tromey@redhat.com>
9329
9330         PR classpath/28666:
9331         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
9332         (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
9333         Create a 'short' array.
9334
9335 2006-08-09  Tom Tromey  <tromey@redhat.com>
9336
9337         * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
9338         handle arrays.
9339         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
9340         (writeFields): Print "L" after int constant.  Don't mangle the field
9341         name.  Only print int/long fields.
9342
9343 2006-08-09  Tom Tromey  <tromey@redhat.com>
9344
9345         * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
9346         "javah".
9347
9348 2006-08-09  Sven de Marothy  <sven@physto.se>
9349
9350         * javax/swing/JTree.java
9351         (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
9352         (setSelectionModel): Null parameter should create an EmptySelectionM.
9353
9354 2006-08-09  Roman Kennke  <kennke@aicas.com>
9355
9356         * javax/swing/text/AbstractDocument.java
9357         (insertString): Perform modifications inside a write lock.
9358         (insertStringImpl): Don't lock here. This is already done
9359         in insertString().
9360         (replace): Perform modifications inside a write lock.
9361         (AbstractElement.AbstractElement): Call addAttributes() to
9362         add the attributes.
9363         (AbstractElement.getName): Fetch name from the ElementNameAttibute.
9364         (BranchElement.lastIndex): New field. Optimizes getElementIndex().
9365         (BranchElement.BranchElement): Set lastIndex to -1.
9366         (BranchElement.getElementIndex): Implemented more efficient
9367         search.
9368
9369 2006-08-09  Roman Kennke  <kennke@aicas.com>
9370
9371         * javax/swing/text/DefaultStyledDocument.java
9372         (Edit): Moved this inner class into ElementBuffer where it
9373         is actually needed.
9374         (edits): Moved this field into ElementBuffer.
9375         (getEditForParagraphAndIndex): Removed obsolete method.
9376         (insertUpdate): Added some optimizations and fixes. Split
9377         out handling insertion after newlines.
9378         (insertAfterNewline): New helper method. Handles insertions
9379         after a newline.
9380         (ElementBuffer.Edit): New inner class. Moved here from
9381         DefaultStyledDocument.
9382         (ElementBuffer.createdFracture): New field.
9383         (ElementBuffer.documentEvent): Made private.
9384         (ElementBuffer.edits): New field. Moved here from
9385         DefaultStyledDocument.
9386         (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9387         (ElementBuffer.fracturedChild): New field.
9388         (ElementBuffer.fracturedParent): New field.
9389         (ElementBuffer.insertPath): New field.
9390         (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9391         fracturedParent.
9392         (ElementBuffer.offsetLastIndex): New field.
9393         (ElementBuffer.offsetLastIndexReplace): New field.
9394         (ElementBuffer.recreateLeafs): New field.
9395         (ElementBuffer.ElementBuffer): Don't initialize stack here.
9396         (ElementBuffer.canJoin): New helper method.
9397         (ElementBuffer.changeUpdate): Changed to use elementStack with
9398         Edits rather than Elements. Let the split method do the work.
9399         (ElementBuffer.cloneAsNecessary): New helper method.
9400         (ElementBuffer.createFracture): Changed to fracture the bottommost
9401         child in the stack.
9402         (ElementBuffer.finishEdit): New helper method. Moved out
9403         from insertUpdate to perform the actual changes and update
9404         the event.
9405         (fracture): New helper method.
9406         (insertContentTag): Fixed some bugs and changed to use Edit
9407         instances in the stack, rather then Elements.
9408         (insertElement): New helper method. Moved out from insertUpdate()
9409         to process the ElementSpecs.
9410         (insertFirstContentTag): Fixed some problems and changed to use Edit
9411         instances in the stack, rather then Elements.
9412         (insertFracture): Removed. Basically moved into createFracture()
9413         and fracture().
9414         (insertParagraph): Removed.
9415         (insertUpdate): Split out the ElementSpec processing into
9416         insertElement(). Use Edit instances in the stack. Fixed some
9417         problems.
9418         (insert): Split out the preparation and finishing code into
9419         prepareEdit() and finishEdit().
9420         (join): New helper method.
9421         (pop): New helper method.
9422         (prepareEdit): New helper method.
9423         (recreateFracturedElement): New helper method.
9424         (recreateLeaves): Removed.
9425         (recreate): New helper method.
9426         (removeElements): New helper method. Split out from removeUpdate().
9427         (removeUpdate): Split out the actual removal. Use the
9428         Edit stack to perform removal and perform the remove actions
9429         and event updates afterwards, just like in insertImpl().
9430         (remove): Use prepareEdit() and finishEdit().
9431         (split): Replaced with more flexible impl.
9432
9433 2006-08-09  Sven de Marothy  <sven@physto.se>
9434
9435         * gnu/java/awt/peer/gtk/CairoSurface.java
9436         Change class to extend WritableRaster and not DataBuffer.
9437         (CairoDataBuffer): New inner class.
9438         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9439         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9440         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9441         Accomodate the above change.
9442
9443 2006-08-09  Sven de Marothy  <sven@physto.se>
9444
9445         * gnu/java/awt/peer/gtk/GtkMainThread.java
9446         New file.
9447         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9448         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9449         Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9450         * gnu/java/awt/peer/gtk/GtkToolkit.java
9451         Minor style fixes; removed unused fields, 
9452         set fields to private where possible.
9453         (createDialog, createFrame, createWindow, createEmbeddedWindow): 
9454         Call GtkMainThread.createWindow().
9455         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9456         (dispose): New method.
9457         * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9458         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9459         (gtkQuit): New native method.
9460
9461 2006-08-08  Lillian Angel  <langel@redhat.com>
9462
9463         * java/awt/Component.java
9464         (setDropTarget): Added check.
9465
9466 2006-08-08  Lillian Angel  <langel@redhat.com>
9467
9468         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9469         (GtkDragSourceContextPeer): Added FIXME. Changed call
9470         to setTarget. 
9471         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9472         (GtkDropTargetContextPeer): Removed target initialization.
9473         * java/awt/Component.java
9474         (setTarget): Removed commented out code.
9475
9476 2006-08-08  Mark Wielaard  <mark@klomp.org>
9477
9478         * javax/swing/text/DefaultHighlighter.java: Qualify
9479         Highlighter.HighlightPainter class name for gcj.
9480
9481 2006-08-05  Roman Kennke  <kennke@aicas.com>
9482
9483         * javax/swing/plaf/basic/BasicTableUI.java
9484         (MouseInputHandler.mousePressed): Request focus on list
9485         component.
9486
9487 2006-08-05  Roman Kennke  <kennke@aicas.com>
9488
9489         * javax/swing/plaf/basic/BasicListUI.java
9490         (MouseInputHandler.mousePressed): Request focus on list
9491         component.
9492
9493 2006-08-05  Roman Kennke  <kennke@aicas.com>
9494
9495         PR 28650
9496         * javax/swing/plaf/basic/BasicMenuBarUI.java
9497         (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9498         than Tree.actionMap.
9499         * javax/swing/plaf/basic/BasicTreeUI.java
9500         (action): Removed obsolete field.
9501         (uninstallKeyboardActions): Removed action field handling.
9502         (installKeyboardActions): Removed action field handling.
9503         (createDefaultActions): Don't install removed TreeAction.
9504         (TreeAction): Removed obsolete inner class.
9505         (ActionListenerProxy): Removed obsolete inner class.
9506         (MouseHandler.mousePressed): Request focus on JTree component
9507         on mouse press.
9508
9509 2006-08-08  Roman Kennke  <kennke@aicas.com>
9510
9511         * javax/swing/plaf/basic/BasicListUI.java
9512         (MouseInputHandler.mousePressed): Request focus on list
9513         component.
9514
9515 2006-08-08  Roman Kennke  <kennke@aicas.com>
9516
9517         * javax/swing/plaf/basic/BasicTableUI.java
9518         (MouseInputHandler.mousePressed): Request focus on list
9519         component.
9520
9521 2006-08-08  Roman Kennke  <kennke@aicas.com>
9522
9523         * javax/swing/plaf/basic/BasicTextUI.java
9524         (damageRange(JTextComponent,int,int)): Call damageRange() with
9525         correct biases, rather than null.
9526         (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9527         to use simpler modelToView() approach without much special
9528         casing. This seems not worth the effort and actually
9529         caused problems. Added locking of the document.
9530         * javax/swing/text/BoxView.java
9531         (requirementsValid): New field.
9532         (calculateMajorAxisRequirements): Rewritten without using
9533         SizeRequirements. The SizeRequirements algorithms are slightly
9534         different and too inefficient.
9535         (calculateMinorAxisRequirements): Rewritten without using
9536         SizeRequirements. The SizeRequirements algorithms are slightly
9537         different and too inefficient.
9538         (getAlignment): Simply return the alignment of the cached
9539         requirements.
9540         (getMaximumSpan): Add insets.
9541         (getMinimumSpan): Add insets.
9542         (getPreferredSpan): Add insets.
9543         (layoutMajorAxis): Rewritten without using
9544         SizeRequirements. The SizeRequirements algorithms are slightly
9545         different and too inefficient.
9546         (layoutMinorAxis): Rewritten without using
9547         SizeRequirements. The SizeRequirements algorithms are slightly
9548         different and too inefficient.
9549         (modelToView): Call setSize() rather than layout().
9550         (paint): Check clip for more efficient painting.
9551         (preferenceChanged): Invalidate requirements here.
9552         (replace): Invalidate requirements here.
9553         (updateRequirements): Update requirements only when requirements
9554         are marked invalid.
9555         * javax/swing/text/CompositeView.java
9556         (modelToView): Added some more checks and handling of corner cases.
9557         * javax/swing/text/FlowView.java
9558         (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9559         span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9560         * javax/swing/text/IconView.java
9561         (getAlignment): Implemented to return 1.0 for vertical alignment.
9562         * javax/swing/text/ParagraphView.java
9563         (Row.getMaximumSpan): Implemented to let Rows span the whole
9564         ParagraphView.
9565         (getAlignment): Fixed horizontal alignment and vertical alignment
9566         for empty paragraphs to be 0.5.
9567
9568 2006-08-08  Roman Kennke  <kennke@aicas.com>
9569
9570         * javax/swing/text/View.java
9571         (modelToView): Added special handling for corner case at the end
9572         of the view and for multiline views.
9573
9574 2006-08-08  Roman Kennke  <kennke@aicas.com>
9575
9576         * javax/swing/plaf/basic/BasicTextUI.java
9577         (modelToView): Read-lock the document. Set size of the
9578         root view before fetching the model-to-view mapping.
9579         (getViewIndex): Check of the position is inside the range and
9580         return -1 if this is not the case.
9581         (getViewAtPosition(int,Rectangle): Update child allocation for valid
9582         view index.
9583         (getViewIndexAtPosition(int)): Delegate the index search to
9584         the element since we have a 1:1 mapping between elements and
9585         views here.
9586         * javax/swing/text/DefaultCaret.java
9587         (appear): Ignore BadLocationException.
9588         (paint): Ignore BadLocationException.
9589         * javax/swing/text/FlowView.java
9590         (changedUpdate): Also notify the layoutPool view.
9591         (removeUpdate): Also notify the layoutPool view.
9592         * javax/swing/text/ParagraphView.java
9593         (Row.getViewIndexAtPosition): Overridden to search linearily
9594         through the view instead of relying on a 1:1 model to view
9595         mapping.
9596         * javax/swing/text/View.java
9597         (removeUpdate): Clear ElementChange object if updateChildren
9598         returns false.
9599         (forwardUpdate): Special handle some boundary cases.
9600
9601 2006-08-07  Raif S. Naffah  <raif@swiftdsl.com.au>
9602
9603         * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9604         (hasInheritedParameters): New method.
9605         (equals): Updated documentation.
9606         Take into consideration the outcome of hasInheritedParameters invocation.
9607         (toString): Call hasInheritedParameters and adjust the result accordingly.
9608         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9609         Updated documentation.
9610         Handle case of public keys with null p, q, and g MPIs.
9611         (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9612
9613 2006-08-07  Tom Tromey  <tromey@redhat.com>
9614
9615         PR libgcj/23682:
9616         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9617         (attachment): Likewise.
9618         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9619         synchronized.
9620         (isValid): Likewise.
9621         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9622         (ch): Likewise.
9623         (interestOps): Synchronize.
9624         (readyOps): Likewise.
9625         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9626         interestOps call.
9627
9628 2006-08-07  C. Scott Marshall  <csm@gnu.org>
9629
9630         Fixes PR 28608.
9631         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9632         the mark has been set.
9633         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9634         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9635         allocated data.
9636
9637 2006-08-07  Sven de Marothy  <sven@physto.se>
9638
9639         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9640         (drawGlyphVector): Synchronize against font object when drawing.
9641         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9642         (nativeDrawGlyphVector): Use pango locking when drawing.
9643         (install_font_peer): Use pango locking when creating the cairo face.
9644
9645 2006-08-06  Roman Kennke  <kennke@aicas.com>
9646
9647         PR 28571
9648         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9649         (getPreferredSize): Renamed method to preferredSize(). That's
9650         the one that gets called from java.awt.*.
9651         * java/awt/peer/ComponentPeer.java
9652         (getPreferredSize): Added specnote about this method never
9653         beeing called in the RI.
9654         (getMinimumSize): Added specnote about this method never
9655         beeing called in the RI.
9656
9657 2006-08-03  Sven de Marothy  <sven@physto.se>
9658
9659         * gnu/java/awt/peer/gtk/ComponentGraphics.java
9660         (grab, nativeGrab): New methods.
9661         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9662         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9663         (nativeGrab): New method.
9664         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9665         (print): Implement.
9666         * java/awt/Component.java
9667         (printAll): Should call peer print method.
9668
9669 2006-08-06  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
9670
9671         * java/net/URL.java (getContent(Class[])): Implement.
9672
9673 2006-08-06  Mark Wielaard  <mark@klomp.org>
9674
9675         PR 28555
9676         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9677         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9678         withParams is null.
9679         * gnu/xml/transform/ForEachNode.java (clone): Check whether
9680         sortKeys is null.
9681
9682 2006-08-06  Roman Kennke  <kennke@aicas.com>
9683
9684         * NEWS: Added note about the X peers.
9685         * INSTALL: Added install notes about the X peers. 
9686
9687 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
9688             Paul Jenner  <psj@harker.dyndns.org>
9689
9690         * README: Update bug, patches and cvs instructions plus new URLs of
9691         various external projects.
9692
9693 2006-08-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
9694
9695         * configure.ac (MOZILLA_FOUND): Fall back to
9696         mozilla-firefox-plugin.
9697
9698 2006-08-06  Mario Torre  <neugens@limasoftware.net>
9699
9700         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9701         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9702         g_type_init earlier in function to correctly initialize the
9703         type system used by the backend.
9704
9705 2006-08-05  Roman Kennke  <kennke@aicas.com>
9706   
9707         * javax/swing/text/DefaultHighlight.java
9708         (DefaultHighlightPainter.paintHighlight): Removed method.
9709         (DefaultHighlightPainter.paintLayer): Implemented.
9710         (DefaultHighlightPainter.paint): Implemented more efficient
9711         painting for multiline-highlights.
9712         (HighlightEntry.p0): Changed to be a Position.
9713         (HighlightEntry.p1): Changed to be a Position.
9714         (HighlightEntry.HighlightEntry): Changed to take Position
9715         arfuments.
9716         (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9717         (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9718         (LayerHighlightEntry): New inner class. Extends HighlightEntry
9719         and tracks the painted rectangle for efficient repainting.
9720         (addHighlight): Handle layered highlight.
9721         (changeHighlight): Handle layered highlight.
9722         (paintLayeredHighlights): Implemented.
9723         (paint): Paint only non-layered highlights here.
9724         (removeAllHighlights): Trigger correct repaint.
9725         (removeHighlight): Handle layered highlight here for
9726         more efficient repainting.
9727         * javax/swing/text/GlyphView.java
9728         (paint): Handle layered highlights.
9729         * javax/swing/text/PlainView.java
9730         (paint): Handle layered highlights.
9731         * javax/swing/text/WrappedPlainView.java
9732         (WrappedLine.paint): Handle layered highlights.
9733
9734 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9735   
9736         PR 26972
9737         * NEWS: As suggested by Paul Jennier, added note about the fix of
9738         the InitialContext.
9739
9740 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9741
9742         * NEWS: Added entry about the context factories for JNDI.
9743
9744 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9745
9746         PR 27383
9747         * gnu/CORBA/Connected_objects.java (size): New method.
9748         * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9749         New method.
9750         * javax/naming/spi/NamingManager.java (getURLContext):
9751         Also search for the URL context factories in 
9752         gnu/javax/naming/jndi/url.
9753         * gnu/javax/naming/giop/ContextContinuation.java,
9754         gnu/javax/naming/giop/CorbalocParser.java,
9755         gnu/javax/naming/giop/GiopNamingEnumeration.java,
9756         gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9757         gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9758         gnu/javax/naming/giop/ListBindingsEnumeration.java,
9759         gnu/javax/naming/giop/ListEnumeration.java,
9760         gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9761         gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9762         gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9763         gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9764         gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9765         gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9766         gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9767         gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9768
9769 2006-08-06  Sven de Marothy  <sven@physto.se>
9770
9771         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9772         (drawGlyphVector): Synchronize against font object when drawing.
9773         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9774         (nativeDrawGlyphVector): Use pango locking when drawing.
9775         (install_font_peer): Use pango locking when creating the cairo face.
9776
9777 2006-08-06  C. Scott Marshall  <csm@gnu.org>
9778
9779         Fixes PR 28608.
9780         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9781         the mark has been set.
9782         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9783         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9784         allocated data.
9785
9786 2006-08-06  Mark Wielaard  <mark@klomp.org>
9787
9788         PR 28555
9789         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9790         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9791         withParams is null.
9792         * gnu/xml/transform/ForEachNode.java (clone): Check whether
9793         sortKeys is null.
9794
9795 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
9796             Paul Jenner  <psj@harker.dyndns.org>
9797
9798         * README: Update bug, patches and cvs instructions plus new URLs of
9799         various external projects.
9800   
9801 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9802
9803         * gnu/java/lang/management/BeanImpl.java:
9804         (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9805         with open variant.
9806         (getCachedMBeanInfo()): Return open variant.
9807         (getMBeanInfo()): Likewise.
9808         (getTypeFromClass(Class)): Implemented.
9809         (translateSignature(MBeanParameterInfo)): Likewise.
9810         (translate(String)): Likewise.
9811         * javax/management/StandardMBean.java:
9812         (getMBeanInfo()): Return attribute names with capital letters,
9813         as in docs for java.lang.management.ManagementFactory, and
9814         ensure descriptions are not "".
9815         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9816         * javax/management/openmbean/OpenMBeanInfoSupport.java,
9817         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9818         (toString()): Use Arrays.toString().
9819         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9820         (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9821         Set open type here rather than in other constructors.
9822
9823 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9824
9825         * javax/management/MBeanFeatureInfo.java:
9826         Make string variable package-private.
9827         * javax/management/StandardMBean.java:
9828         (getMBeanInterface()): Made final.
9829         * javax/management/openmbean/SimpleType.java:
9830         Made final.
9831
9832 2006-08-05  Jeroen Frijters  <jeroen@frijters.net>
9833
9834         * java/awt/Component.java (setDropTarget): Commented out GTK specific
9835         code.
9836   
9837 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9838
9839         * examples/gnu/classpath/examples/swing/FillRect.java,
9840         * gnu/CORBA/Focused_ORB.java,
9841         * gnu/CORBA/interfaces/gnuSocketFactory.java,
9842         * gnu/classpath/ByteArray.java,
9843         * gnu/classpath/ObjectPool.java,
9844         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9845         * gnu/java/awt/peer/x/fonts.properties,
9846         * gnu/java/security/util/Prime2.java,
9847         * gnu/javax/imageio/gif/GIFStream.java,
9848         * javax/swing/text/html/HTMLTableView.java,
9849         * native/cni/Makefile.am,
9850         * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9851         * org/omg/CORBA/SendingContext/Runtime.java,
9852         * resource/gnu/regexp/MessagesBundle.properties,
9853         * resource/gnu/regexp/MessagesBundle_fr.properties,
9854         * resource/gnu/regexp/MessagesBundle_it.properties,
9855         * tools/appletviewer.in,
9856         * tools/jarsigner.in,
9857         * tools/keytool.in,
9858         * vm/reference/java/lang/management/VMThreadInfo.java:
9859         Removed.
9860         * examples/gnu/classpath/examples/awt/aicas.png,
9861         * examples/gnu/classpath/examples/awt/palme.gif,
9862         * examples/gnu/classpath/examples/java2d/aicas.png,
9863         * examples/gnu/classpath/examples/java2d/palme.gif,
9864         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9865         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9866         * java/awt/doc-files/capjoin.png,
9867         * java/awt/geom/doc-files/Area-1.png,
9868         * java/awt/geom/doc-files/Ellipse-1.png,
9869         * java/awt/geom/doc-files/GeneralPath-1.png:
9870         Added.
9871         
9872 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9873
9874         * configdiag.jnlp:
9875         Removed.
9876         
9877 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9878
9879         * gnu/java/lang/management/BeanImpl.java:
9880         (getAttribute(String)): Implemented.
9881
9882 2006-08-05  Roman Kennke  <kennke@aicas.com>
9883
9884         * javax/swing/text/JTextComponent.java
9885         (AccessibleJTextComponent.dot): Renamed field into caretDot.
9886         (AccessibleJTextComponent.textComp): Removed field
9887         and replace with JTextComponent.this construct.
9888         (AccessibleJTextComponent.AccessibleJTextComponent):
9889         Fetch caret position.
9890         (caretUpdate): Implemented. Fires property change events and
9891         updates the caretDot field.
9892         (changedUpdate): Implemented. Fires property change events.
9893         (insertUpdate): Implemented. Fires property change events.
9894         (removeUpdate): Implemented. Fires property change events.
9895         (cut): Replaced textComp with JTextComponent.this construct.
9896         (paste): Replaced textComp with JTextComponent.this construct.
9897         (replaceText): Replaced textComp with JTextComponent.this construct.
9898         (selectText): Replaced textComp with JTextComponent.this construct.
9899         (getCaretPosition): Replaced textComp with JTextComponent.this
9900         construct.
9901         (getCharCount): Replaced textComp with JTextComponent.this construct.
9902         (getSelectedText): Replaced textComp with JTextComponent.this
9903         construct.
9904         (getSelectionEnd): Replaced textComp with JTextComponent.this
9905         construct.
9906         (getSelectionStart): Replaced textComp with JTextComponent.this
9907         construct.
9908         (getTextRange): Replaced textComp with JTextComponent.this
9909         construct.
9910         (doAccessibleAction): Implemented.
9911         (getAccessibleActionCount): Implemented.
9912         (getAccessibleActionDescription): Implemented.
9913         (getAccessibleStateSet): Implemented.
9914         (getAfterIndex): Implemented.
9915         (getBeforeIndex): Implemented.
9916         (getAtIndex): Implemented.
9917         (getAtIndexImpl): New helper method.
9918         (getCharacterAttribute): Implemented.
9919         (getCharacterBounds): Implemented.
9920         (getIndexAtPoint): Implemented. 
9921         (insertTextAtIndex): Implemented.
9922         (setAttributes): Implemented.
9923         (setTextContents): Implemented.
9924
9925 2006-08-05  Raif S. Naffah  <raif@swiftdsl.com.au>
9926   
9927         * configure.ac: Better handling of default-preferences-peer option.
9928
9929 2006-08-04  Andreas Tobler  <a.tobler@schweiz.ch>
9930
9931         * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9932         double[].
9933
9934 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9935
9936         * javax/management/openmbean/TabularData.java:
9937         Documentation corrections.
9938         * javax/management/openmbean/TabularDataSupport.java:
9939         New file.
9940
9941 2006-08-04  Francis Kung  <fkung@redhat.com>
9942
9943         * java/awt/BasicStroke.java
9944         (dashedStroke): Implemented.
9945
9946 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9947
9948         * javax/management/BadAttributeValueExpException.java,
9949         * javax/management/BadStringOperationException.java,
9950         * javax/management/InstanceAlreadyExistsException.java,
9951         * javax/management/InstanceNotFoundException.java,
9952         * javax/management/InvalidApplicationException.java,
9953         * javax/management/MBeanRegistrationException.java,
9954         * javax/management/MalformedObjectNameException.java,
9955         * javax/management/RuntimeErrorException.java,
9956         * javax/management/RuntimeMBeanException.java,
9957         * javax/management/ServiceNotFoundException.java:
9958         New files.
9959         
9960 2006-08-04  Roman Kennke  <kennke@aicas.com>
9961
9962         * javax/swing/SwingUtilities.java
9963         (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9964          int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9965         layoutCompoundLabelImpl().
9966         (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
9967          Rectangle,Rectangle,Rectangle,int)): Delegate to new
9968         layoutCompoundLabelImpl().
9969         (layoutCompoundLabelImpl): New helper method. Moved impl from
9970         layoutCompoundLabel() to here and added handling of HTML.
9971         * javax/swing/plaf/basic/BasicButtonUI.java
9972         (installUI): Update HTML view if appropriate.
9973         (uninstallUI): New method. Do the usual uninstallUI things
9974         and uninstall HTML view.
9975         (getMinimumSize): New method. Adjusts the minimum size
9976         by the HTML view minimum size.
9977         (getMaximumSize): New method. Adjusts the maximum size
9978         by the HTML view maximum size.
9979         (getPreferredSize): Pass the button's iconTextGap to the
9980         BasicGraphicsUtils method.
9981         (paint): Let HTML view paint the text, if present.
9982         * javax/swing/plaf/basic/BasicButtonListener.java
9983         (propertyChange): Update the HTML view when the button's
9984         text is changed.
9985         
9986 2006-08-04  Mario Torre  <neugens@limasoftware.net>
9987
9988         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9989         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9990         g_type_init earlier in function to correctly initialize the
9991         type system used by the backend.
9992
9993 2006-08-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9994
9995         PR 26972
9996         * javax/naming/Name.java (addAll, getPrefix, getSuffix):
9997         Documented.
9998         * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
9999
10000 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
10001
10002         Reported by Henrik Gulbrandsen <henrik@gulbra.net>
10003         Fixes PR27864.
10004         * gnu/xml/dom/DomIterator.java:
10005         (successor): Added if-statement.
10006
10007 2006-08-04  Mark Wielaard  <mark@klomp.org>
10008
10009         * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
10010
10011 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
10012
10013         * javax/swing/plaf/metal/MetalMenuBarUI.java:
10014         (update): Check size and paint smaller gradient.
10015         * javax/swing/plaf/metal/MetalBorders.java:
10016         (MenuBarBorder): Removed borderColor field.
10017         (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
10018         MetalLookAndFeel.
10019
10020 2006-08-03  Roman Kennke  <kennke@aicas.com>
10021
10022         PR 27637
10023         * javax/swing/plaf/basic/BasicInternalFrameUI.java
10024         (ComponentHandler.componentResized): Reimplemented to handle
10025         arbitrary parents.
10026         (InternalFramePropertyChangeHandler.propertyChange): (Un)install
10027         component listener on changed ancestor.
10028         (installListeners): Install componentListener.
10029         (uninstallListeners): Uninstall componentListener.
10030
10031 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
10032
10033         * StrictMath.java (cbrt): Return argument if it is a NaN.
10034         (cosh): Likewise.
10035         (expm1): Likewise.
10036         (sinh): Likewise.
10037   
10038 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
10039   
10040         * java/lang/StrictMath.java (tanh): New method.
10041   
10042 2006-08-03  Raif S. Naffah  <raif@swiftdsl.com.au>
10043   
10044         * scripts/import-cacerts.sh: Batch CA certificates import script.
10045   
10046 2006-08-03  Roman Kennke  <kennke@aicas.com>
10047
10048         PR 27606
10049         * javax/swing/plaf/basic/BasicListUI.java
10050         (paintCell): Pass row index to cell renderer.
10051         * javax/swing/plaf/basic/MetalFileChooserUI.java
10052         (DirectoryComboBoxRenderer.indentIcon): New field.
10053         (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
10054         Initialize indentIcon.
10055         (DirectoryComboBoxRenderer.getListCellRendererComponent):
10056         Fall back to super and removed standard functionality.
10057         Handle indentation.
10058         (IndentIcon): New class. Wraps and indents another icon.
10059
10060 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10061
10062         * javax/management/MBeanConstructorInfo.java:
10063         (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
10064         Copy array rather than directly assigning.
10065         * javax/management/MBeanInfo.java:
10066         (MBeanInfo(String,String,MBeanAttributeInfo[],
10067         MBeanConstructorInfo[], MBeanOperationInfo[],
10068         MBeanNotificationInfo[])): Likewise.
10069         * javax/management/MBeanOperationInfo.java:
10070         (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
10071         Likewise.
10072         * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
10073         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
10074         New files.
10075         * javax/management/openmbean/OpenMBeanInfo.java:
10076         Corrected documentation.
10077         * javax/management/openmbean/OpenMBeanInfoSupport.java:
10078         New file.
10079         * javax/management/openmbean/OpenMBeanOperationInfo.java:
10080         Corrected documentation.
10081         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10082         New file.
10083         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10084         (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
10085         Call other constructor rather than reimplementing.
10086
10087 2006-08-02  Lillian Angel  <langel@redhat.com>
10088
10089         * java/awt/dnd/DragSource.java
10090         (isDragImageSupported): Implemented.
10091         (getDragThreshold): Changed default value.
10092         * java/awt/dnd/DropTarget.java
10093         (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
10094         (DropTarget): Likewise.
10095         (DropTarget): If FlavorMap passed in is null, we should use the system default.
10096         (addDropTargetListener): Added check to determine if new DropTargetListener
10097         is this class. If so, an IllegalArgumentException is thrown. If the 
10098         new listener is null, nothing happens.
10099
10100 2006-08-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
10101
10102         * configure.ac (MOZILLA_FOUND): Fall back to
10103         mozilla-firefox-plugin.
10104
10105 2006-08-02  Sven de Marothy  <sven@physto.se>
10106
10107         * java/awt/geom/AffineTransform.java
10108         (hashCode): Tweak impl. 
10109         * java/awt/font/FontRenderContext.java
10110         (hashCode): Implement. 
10111
10112 2006-08-02  Carsten Neumann  <cn-develop@gmx.net>
10113
10114         * java/lang/StrictMath.java (sinh): New method.
10115
10116 2006-08-02  Roman Kennke  <kennke@aicas.com>
10117
10118         PR 27605
10119         * javax/swing/JComboBox.java
10120         (setSelectedItem): Fire ActionEvent here.
10121         * javax/swing/plaf/basic/BasicDirectoryModel.java
10122         (directories): Changed to type Vector.
10123         (files): New field.
10124         (loadThread): New field.
10125         (DirectoryLoadThread): New inner class. This loads the contents
10126         of directories asynchronously.
10127         (getDirectories): Return cached Vector.
10128         (getFiles): Return cached Vector.
10129         (getSize): Return plain size of contents Vector.
10130         (propertyChange): Reread directory also for DIRECTORY_CHANGED,
10131         FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
10132         (sort): Don't store sorted list in contents. This must be done
10133         asynchronously from the EventThread.
10134         (validateFileCache): Rewritten for asynchronous reading
10135         of directory contents.
10136         * javax/swing/plaf/basic/BasicFileChooserUI.java
10137         (installListeners): Install model as PropertyChangeListener.
10138         (uninstallListeners): Uninstall model as PropertyChangeListener.
10139         (createPropertyChangeListener): Return null just like the
10140         RI.
10141
10142 2006-08-02  Sven de Marothy  <sven@physto.se>
10143   
10144         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10145         (remove): Force event on removing item 0 when it's selected.
10146         (handleEvent): Always call Choice.selected().
10147         * java/awt/Choice.java:
10148         (remove): Simplify and correct.
10149   
10150 2006-08-02  Mark Wielaard  <mark@klomp.org>
10151   
10152         PR 28535
10153         * configure.ac (gconf-peer): Check for gdk-2.0.
10154         * native/jni/gconf-peer/Makefile.am
10155         (AM_LDFLAGS): Use GDK_LIBS.
10156         (AM_CFLAGS): Use GDK_CFLAGS.
10157   
10158 2006-08-02  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
10159   
10160         * java/net/URL.java (getContent(Class[])): Implement.
10161   
10162 2006-08-02  Roman Kennke  <kennke@aicas.com>
10163   
10164         PR 27624
10165         * javax/swing/JMenu.java
10166         (JMenu()): Removed setting of delay.
10167         (JMenu(String)): Removed setting of delay.
10168         (JMenu(Action)): Removed setting of delay.
10169         (JMenu(String,boolean)): Removed setting of delay.
10170         (setSelectedHelper): Removed unneeded method.
10171         (setSelected): Simply set the model state.
10172         (setPopupMenuVisible): Recognize the popup location
10173         determined by getPopupMenuOrigin().
10174         (getPopupMenuOrigin): Recognize the UI properties for
10175         X and Y offset.
10176         (menuSelectionChanged): Call setSelected() directly.
10177         * javax/swing/JPopupMenu.java
10178         (menuSelectionChanged): If invoker is a JMenu, then delegate
10179         to that to get the position right.
10180         * javax/swing/Popup.java
10181         (LightweightPopup.show): Insert the popup as first component
10182         in the layer, so that it overlaps it's caller.
10183         * javax/swing/plaf/basic/BasicMenuItemUI.java
10184         (getPath): Don't include the popup.
10185         * javax/swing/plaf/basic/BasicMenuUI.java
10186         (SelectMenuAction): New class. This invokes the popup when
10187         a menu is selected.
10188         (installDefaults): Install delay of 200 ms.
10189         (setupPostTimer): Implemented.
10190         (MouseInputHandler.mouseClicked): Do nothing here.
10191         (MouseInputHandler.mouseEntered): Use MenuSelectionManager
10192         magic to handle the selection. Open the menu via a timer.
10193         (MouseInputHandler.mousePressed): Use MenuSelectionManager
10194         magic to handle the selection. Open the menu via a timer.
10195         (MenuDragMouseHandler.menuMouseDragged): Probably use
10196         timer.
10197         (menuDragMouseEntered): Do nothing here.
10198   
10199 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10200         
10201         * javax/management/openmbean/InvalidOpenTypeException.java,
10202         * javax/management/openmbean/KeyAlreadyExistsException.java:
10203         New files.
10204
10205 2006-08-02  Roman Kennke  <kennke@aicas.com>
10206
10207         PR 27604
10208         * javax/swing/plaf/basic/BasicChooserUI.java
10209         (BasicFileView.getName): Fetch the real name from the
10210         file chooser's FileSystemView.
10211         * javax/swing/plaf/metal/MetalChooserUI.java
10212         (DirectoryComboBoxRenderer.getListCellRendererComponent):
10213         Set the text fetched from the JFileChooser.getName().
10214         * javax/swing/FileSystemView.java
10215         (createFileObject): When file is a filesystem root,
10216         create a filesystem root object first.
10217         (getSystemDisplayName): Return the filename. Added specnote
10218         about ShellFolder class that is mentioned in the spec.
10219         * javax/swing/UnixFileSystemView.java
10220         (getSystemDisplayName): Implemented to return the real name
10221         of a file, special handling files like '.' or '..'.
10222
10223 2006-08-03  Mark Wielaard  <mark@klomp.org>
10224
10225         * examples/gnu/classpath/examples/icons/badge.png: Add file.
10226
10227 2006-08-03  Roman Kennke  <kennke@aicas.com>
10228
10229         PR 28562
10230         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10231         (PropertyChangeHandler.propertyChange): Cleanly reinstall
10232         components when visual property chanegs.
10233
10234 2006-08-03  Roman Kennke  <kennke@aicas.com>
10235
10236         PR 28562
10237         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10238         (PropertyChangeHandler.propertyChange): Uninstall and reinstall
10239         component when visual properties change.
10240
10241 2006-08-03  Roman Kennke  <kennke@aicas.com>
10242
10243         PR 28534
10244         * javax/swing/JTree.java
10245         (JTree(TreeModel)): Set cell renderer to null.
10246         * javax/swing/plaf/basic/BasicTreeUI.java
10247         (setCellRenderer): Finish editing before setting the
10248         cell renderer. Refresh the layout. Don't set the
10249         currentCellRenderer field here (that's done in updateRenderer).
10250         (updateRenderer): Handle createdRenderer field here too.
10251         Set renderer to a default handler when the current renderer
10252         in the JTree is null.
10253
10254 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
10255
10256         PR Classpath/23899
10257         * java/security/SecureRandom.java (next): Call nextBytes as per specs.
10258
10259 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
10260
10261         PR Classpath/28556
10262         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
10263         Updated documentation to clarify that RFC-2459 states that the parameters
10264         field of the AlgorithmIdentifier element MUST be NULL if present.
10265         Amended the code to reflect the specs.
10266         (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
10267
10268 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10269
10270         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10271         Call parameter 'defaultValue' not 'defValue'.
10272
10273 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10274
10275         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10276         New file.
10277
10278 2006-08-01  Roman Kennke  <kennke@aicas.com>
10279   
10280         PR 28562
10281         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10282         (PropertyChangeHandler.propertyChange): Cleanly reinstall
10283         components when visual property chanegs.
10284   
10285 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10286
10287         * javax/management/openmbean/OpenMBeanAttributeInfo.java:
10288         (toString()): Corrected documentation.
10289         * javax/management/openmbean/OpenMBeanConstructorInfo.java,
10290         * javax/management/openmbean/OpenMBeanInfo.java,
10291         * javax/management/openmbean/OpenMBeanOperationInfo.java:
10292         New files.
10293         * javax/management/openmbean/OpenMBeanParameterInfo.java:
10294         (toString()): Corrected documentation.
10295         
10296 2006-08-01  Tania Bento  <tbento@redhat.com>
10297
10298         * java/awt/Choice.java
10299         (remove(int)): Added documentation.
10300
10301 2006-08-01  Tania Bento  <tbento@redhat.com>
10302         
10303         * java/awt/Choice.java
10304         (remove(int)): An IllegalArgumentException should not be thrown
10305         if int is invalid.  Update selectedIndex and peer selection.
10306
10307 2006-08-01  Tania Bento  <tbento@redhat.com>
10308
10309         * java/awt/CardLayout.java
10310         (toString): Changed format of string outputted.
10311         (goToComponent): Changed the order of the if-clause.
10312
10313 2006-07-31  Tom Tromey  <tromey@redhat.com>
10314
10315         * INSTALL: Updated for ASM.
10316
10317 2006-07-31  Tom Tromey  <tromey@redhat.com>
10318
10319         PR libgcj/23682:
10320         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10321         (attachment): Likewise.
10322         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10323         synchronized.
10324         (isValid): Likewise.
10325         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10326         (ch): Likewise.
10327         (interestOps): Synchronize.
10328         (readyOps): Likewise.
10329         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10330         interestOps call.
10331
10332 2006-07-31  Roman Kennke  <kennke@aicas.com>
10333
10334         * NEWS: Added note about the X peers.
10335         * INSTALL: Added install notes about the X peers.
10336
10337 2006-07-31  Carsten Neumann  <cn-develop@gmx.net>
10338
10339         * StrictMath.java (getLowDWord): Return long instead of int.
10340         (getHighDWord): Likewise.
10341         (buildDouble): Take two long arguments.
10342         (cbrt): Adapted to int -> long change.
10343         (expm1): Likewise.
10344         (cosh): Likewise.
10345
10346 2006-07-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
10347
10348         * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
10349         -avoid-version.
10350
10351 2006-07-31  Raif S. Naffah  <raif@swiftdsl.com.au>
10352
10353         * java/security/Provider.java: Updated copyright year.
10354         Updated documentation.
10355         Formatting.
10356         (put): Updated documentation.
10357         Added security manager check.
10358         Canonicalize the key before adding its mapping.
10359         (get): Override superclass implementation to use canonicalized keys.
10360         (remove): Updated documentation.
10361         Added security manager check.
10362         Canonicalize the key before removing its mapping.
10363         (clear): Updated documentation.
10364         Added security manager check.
10365         (toCanonicalKey): New method.
10366
10367 2006-07-30  Matt Wringe  <mwringe@redhat.com>
10368
10369         * gnu/java/security/Engine.java
10370         (getInstance): Ignore self referencing aliases.
10371
10372 2006-07-30  Mark Wielaard  <mark@klomp.org>
10373
10374         * javax/swing/JComponent.java (getListeners): Revert
10375         un-genericization.
10376
10377 2006-07-30  Mark Wielaard  <mark@klomp.org>
10378
10379         * resource/java/security/classpath.security: Add /dev/urandom as
10380         default securerandom.source.
10381
10382 2006-07-30  Mark Wielaard  <mark@klomp.org>
10383
10384         * java/util/GregorianCalendar.java (maximums): Months can have up to
10385         6 weeks.
10386         (nonLeniencyCheck): weeks is either 5 or 6.
10387
10388 2006-07-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10389         
10390         * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10391         * javax/management/openmbean/OpenMBeanParameterInfo.java:
10392         New files.
10393
10394 2006-07-30  Matt Wringe  <mwringe@redhat.com>
10395
10396         * gnu/java/security/Engine.java 
10397         (getInstance): Ignore self referencing aliases.
10398
10399 2006-07-30  Sven de Marothy  <sven@physto.se>
10400
10401         * java/awt/Choice.java:
10402         (accessibleAction): Call select() directly.
10403         (add, insert, remove): Reimplement.
10404         (dispatchEventImpl): Always call super.
10405         (processItemEvent): Does not set the index.
10406         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10407         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10408         (append): removed.
10409         (nativeAdd): Name changed to add.
10410         (selection_changed_cb): Simplify callback.
10411         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10412         (selected): New field.
10413         (add): Replaced with native impl.
10414         (handleEvent): New method.      
10415         
10416 2006-07-30  Sven de Marothy  <sven@physto.se>
10417
10418         * java/awt/Choice.java:
10419         Reformat, fix copyright year.
10420
10421 2006-07-29  Mark Wielaard  <mark@klomp.org>
10422
10423         * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10424         static field isPaintingDoubleBuffered to not have the same name
10425         as a method.
10426
10427 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10428   
10429         * examples/gnu/classpath/examples/management/TestBeans.java:
10430         New file.
10431         * javax/management/MBeanAttributeInfo.java:
10432         (toString()): Implemented.
10433         * javax/management/MBeanConstructorInfo.java:
10434         (toString()): Implemented.
10435         * javax/management/MBeanFeatureInfo.java:
10436         (toString()): Implemented.
10437         * javax/management/MBeanInfo.java:
10438         (toString()): Implemented.
10439         * javax/management/MBeanNotificationInfo.java:
10440         (toString()): Implemented.
10441         * javax/management/MBeanOperationInfo.java:
10442         (toString()): Implemented.
10443         * javax/management/MBeanParameterInfo.java:
10444         (toString()): Implemented.
10445         * javax/management/StandardMBean.java:
10446         (getMBeanInfo()): Fix attribute naming.
10447
10448 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10449
10450         * gnu/java/lang/management/BeanImpl.java:
10451         Extended javax.management.StandardMBean.
10452         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10453         * gnu/java/lang/management/CompilationMXBeanImpl.java,
10454         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10455         * gnu/java/lang/management/MemoryMXBeanImpl.java,
10456         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10457         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10458         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10459         * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10460         * gnu/java/lang/management/ThreadMXBeanImpl.java:
10461         Call the superclass with the appropriate class.
10462         * java/lang/management/ManagementFactory.java:
10463         (getOperatingSystemMXBean()): Catch exception from
10464         StandardMBean.
10465         (getRuntimeMXBean()): Likewise.
10466         (getClassLoadingMXBean()): Likewise.
10467         (getThreadMXBean()): Likewise.
10468         (getMemoryMXBean()): Likewise.
10469         (getCompilationMXBean()): Likewise.
10470         (getMemoryPoolMXBeans()): Likewise.
10471         (getMemoryManagerMXBeans()): Likewise.
10472         (getGarbageCollectorMXBeans()): Likewise.
10473         * javax/management/MBeanFeatureInfo.java:
10474         hashCode()): Fixed to check for null values.
10475
10476 2006-07-29  Matt Wringe  <mwringe@redhat.com>
10477
10478         * gnu/java/security/Engine.java
10479         (getInstance): Add case insentivity to algorithm names
10480         * java/security/Provider.java
10481         (put): Stop using canonical key naming
10482         (remove): Likewise
10483         (toCanonicalKey): Method removed
10484         (get): Method removed, no longer needs to overwrite
10485         parent implementation
10486
10487 2006-07-29  Mark Wielaard  <mark@klomp.org>
10488
10489         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10490         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10491         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10492         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10493         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10494         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10495         Removed.
10496
10497 2006-07-29  Sven de Marothy  <sven@physto.se>
10498
10499         * java/math/BigDecimal.java
10500         Adjust copyright date.
10501         (divide(BigDecimal): Implement.
10502         (precision): Reimplement.
10503         (numDigitsInBigInteger, numDigitsInLong): Removed.
10504         (toString): Get exponent from string length,
10505         fix negative values with exponential form.
10506         (toEngineeringString): Same as for toString.
10507         (setScale): Throw ArithmeticException if scale < 0.
10508
10509 2006-07-27  Francis Kung  <fkung@redhat.com>
10510
10511         * gnu/java/awt/java2d/CubicSegment.java: Added import.
10512         (cp1): Renamed from first().
10513         (c2): Renamed from last().
10514         (first): Renamed to cp1().
10515         (getDisplacedSegments): Implemented.
10516         (last): Renamed to cp2().
10517         * gnu/java/awt/java2d/LineSegment.java
10518         (cp1): Renamed from first().
10519         (c2): Renamed from last().
10520         (first): Renamed to cp1().
10521         (last): Renamed to cp2().
10522         * gnu/java/awt/java2d/QuadSegment.java
10523         (cp1): Renamed from first().
10524         (c2): Renamed from last().
10525         (first): Renamed to cp1().
10526         (last): Renamed to cp2().
10527         * gnu/java/awt/java2d/Segment.java: Added comments.
10528         (first): New field.
10529         (Segment): Keep track of first element in list.
10530         (add): Update first & last element variables.
10531         (cp1): Renamed from first().
10532         (c2): Renamed from last().
10533         (first()): Renamed to cp1() to reduce ambiguity.
10534         (last()): Renamed to cp2() to reduce ambiguity.
10535         (reverseAll): Update first element variable..
10536         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10537         (draw): Remove flattening path iterator.
10538         * java/awt/BasicStroke.java: Clarified comments.
10539         (addSegments): Refactored some code into joinSegments and
10540         joinInnerSegments.
10541         (capEnd): Rename of Segment.first() and Segment.end().
10542         (joinInnerSegments): New method.
10543         (joinOuterSegments): New method.
10544         (joinSegments): Refactored some code into joinOuterSegments.
10545         (solidStroke): Connect segments together properly.
10546
10547 2006-07-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
10548
10549         * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10550         -avoid-version.
10551         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10552         Likewise.
10553         * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10554         Likewise.
10555         * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10556         Likewise.
10557
10558 2006-07-28  Tom Tromey  <tromey@redhat.com>
10559
10560         * configure.ac: Enable -Werror by default on Linux-with-gcc.
10561
10562 2006-07-28  Lillian Angel  <langel@redhat.com>
10563
10564         * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10565         Removed function declarations.
10566         (connect_signals_for_widget): Removed implementation because
10567         stub functions have been removed.
10568         (drag_begin_cb): Removed function.
10569         (drag_motion_cb): Likewise.
10570         (drag_data_get_cb): Likewise.
10571         (drag_data_delete_cb): Likewise.
10572         (drag_drop_cb): Likewise.
10573         (drag_end_cb): Likewise.
10574         (drag_data_received_cb): Likewise.      
10575
10576 2006-07-28  Mark Wielaard  <mark@klomp.org>
10577
10578         * configure.ac: Set version to 0.93-pre.
10579
10580 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
10581
10582         * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10583
10584 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
10585
10586         * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10587         (getCallbackHandler): Fully qualify linked class in javadoc.
10588         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10589         * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10590         * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10591
10592 2006-07-27  Tom Tromey  <tromey@redhat.com>
10593
10594         PR classpath/28486:
10595         * java/net/URLStreamHandler.java (equals): Properly handle default
10596         port.  Rewrote javadoc.  Don't compare 'authority' parts of URLs.
10597
10598 2006-07-27  Roman Kennke  <kennke@aicas.com>
10599
10600         * javax/swing/text/AbstractDocument.java
10601         (documentCV): Made field private.
10602         (bypass): Made field private.
10603         (bidiRoot): New field.
10604         (AbstractDocument): Initialize bidiRoot.
10605         (getBidiRootElement): Return bidiRoot.
10606         (getRootElements): Adjusted to also return the bidiRoot element.
10607         (BranchElement.startOffset): Removed unneeded field.
10608         (BranchElement.endOffset): Removed unneeded field.
10609         (BranchElement.BranchElement): Removed unneeded fields.
10610         (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10611         done automatically when there's no element left in the array.
10612         (BranchElement.getStartOffset): Likewise.
10613         (BranchElement.replace): Reordered calculations to avoid double
10614         calculations.
10615         (removeImpl): Silently ignore requests with length <= 0.
10616         * javax/swing/text/GapContent.java
10617         (createPosition): Removed explicit check for correct offset.
10618         This class can deal with offsets outside the document.
10619         (shiftEnd): Update all positions, even those outside the
10620         document.
10621         (adjustPositionsInRange): Fixed to also adjust positions outside
10622         the document boundary.
10623
10624 2006-07-18  Kyle Galloway  <kgallowa@redhat.com>
10625
10626     * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10627     defining class.
10628     (getParameter): Returns _klass field instead of determining
10629     class from _instance.
10630     (setCatchLoc): New method.
10631     (writeData): Now assumes Location deals with empty locations instead of
10632     using null.
10633     * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10634     locations and write out accordingly.
10635     (getEmptyLocation): New method. 
10636
10637 2006-07-27  Roman Kennke  <kennke@aicas.com>
10638
10639         * javax/swing/text/SimpleAttributeSet.java
10640         (EMPTY): Use EmptyAttributeSet for this field rather than
10641         SimpleAttributeSet.
10642         * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10643         an empty and immutable AttributeSet.
10644
10645 2006-07-27  Roman Kennke  <kennke@aicas.com>
10646
10647         * java/awt/Component.java
10648         (reshape): Invalidate the component itself only when the
10649         size has changed. Invalidate the parent always. Fixed
10650         repainting. Pulled out the notification into
10651         notifyReshape().
10652         (notifyReshape): New helper method. Notify interested listeners
10653         about a reshape.
10654         (update): Simply call paint() without clearing the background.
10655         This is done in Container.update() if appropriate.
10656         (repaint): Delagate the repaint to the nearest heavyweight
10657         parent (for lightweights) and send an UPDATE event, rather than
10658         calling ComponentPeer.repaint().
10659         * java/awt/Container.java
10660         (backCleared): Removed field.
10661         (paint): Removed handling of backCleared flag.
10662         (update): Only paint if the container is actually
10663         showing. Removed handling of backCleared flag.
10664
10665 2006-07-27  Robert Schuster <robertschuster@fsfe.org>
10666
10667         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10668         authorship.
10669         (NavigateAction): New inner class.
10670         (NavigatePageDownAction): New inner class.
10671         (NavigatePageUpAction): New inner class.
10672         (RequestFocusAction): New inner class.
10673         (RequestFocusForVisibleComponentAction): New inner class.
10674         (FocusHandler.focusGained): Implemented.
10675         (FocusHandler.focusLost): Implemented.
10676         (MouseHandler.mouseReleased): Implemented.
10677         (MouseHandler.mousePressed): Rewritten.
10678         (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10679         currentScrollLocation to 0.
10680         (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10681         removed local variables, fixed indentation to stay under 80 column
10682         limit.
10683         (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10684         one, set selectedIndex to 0 if its negative, corrected start values
10685         for normalization, suppressed padding when only one tab run,
10686         (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10687         (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10688         80 column limit, corrected the starting value for the bounds fixing
10689         phase.
10690         (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10691         (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10692         selectedRun, set start index for loop to 0.
10693         (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10694         (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10695         (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10696         alignment and visibility handling.
10697         (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10698         layout mode.
10699         (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10700         (currentScrollOffset): New field.
10701         (tabRuns): Rewritten documentation.
10702         (selectedColor): New field.
10703         (tempTextRect): New field.
10704         (tempIconRect): New field.
10705         (scrollTab): New method.
10706         (updateButtons): New method.
10707         (updateViewPosition): New method.
10708         (createLayoutManager): Reordered method calls, predefine new fields,
10709         register proper listeners.
10710         (uninstallComponents): Implemented.
10711         (installDefaults): Corrected property names, fixed indentation,.
10712         (uninstallDefaults): Set new fields to null.
10713         (uninstallListeners): Remove listeners from components neccessary for
10714         scrolling tab layout.
10715         (installKeyboardActions): Implemented.
10716         (uninstallKeyboardActions): Implemented.
10717         (paint): Paint tab area background.
10718         (paintTabArea): Fixed indentation, removed usage of local Rectangle
10719         objects.
10720         (getTabLabelShiftX): Rewritten.
10721         (getTabLabelShiftY): Rewritten.
10722         (paintFocusIndicator): Reindented.
10723         (paintTabBorder): Rewritten.
10724         (paintTabBackground): Corrected color usage, rewritten background
10725         rectangle painting.
10726         (paintContentBorderTopEdge): Rewritten.
10727         (paintContentBorderBottomEdge): Rewritten.
10728         (paintContentBorderLeftEdge): Rewritten.
10729         (paintContentBorderRightEdge): Rewritten.
10730         (tabForCoordinate): Return selected index when no tab could be
10731         found, removed FIXME note.
10732         (getRunForTab): Changed return value for first if-statement.
10733         (navigateSelectedTab): Fixed last argument for both
10734         getTabRunOffset() calls.
10735         (selectedNextTabInRun): Added scrolling code.
10736         (selectedPreviousTabInRun): Added scrolling code.
10737         (selectedNextTab): Added scrolling code.
10738         (selectedPreviousTab): Added scrolling code.
10739         (selectAdjacentRunTab): Added scrolling code.
10740         (getTextViewForTab): Added FIXME note.
10741         (calculateTabHeight): Changed FIXME note.
10742         (getTabRunOffset): Fixed indentation.
10743         (getNextTabIndexInRun): Corrected return value.
10744         (rotateInsets): Make TOP case the default in switch-statement.
10745         (getActionMap): New method.
10746         (createActionMap): New method.
10747         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10748         (createLayoutManager): Rewritten.
10749         (paintLeftTabBorder): Do not paint left line when previous tab
10750         is selected but current tab is the first in its run, do not paint
10751         left line when current tab is selected and is first in its run.
10752         (paintRightTabBorder): Added missing setColor() call, fixed color
10753         usage, do not paint right line if previous tab is selected but
10754         current tab is the first in its run.
10755         (paintBottomTabBorder): Do not paint left line if tab is selected
10756         and is the first tab in the last run.
10757         (paintFocusIndicator): New method.
10758         (getLabelShiftX): New method.
10759         (getLabelShiftY): New method.
10760
10761 2006-07-27  Andreas Tobler  <a.tobler@schweiz.ch>
10762
10763         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10764         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10765         g_assert from unused obj.
10766         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10767         obj as unused and remove g_assert on it.
10768
10769 2006-07-26  Roman Kennke  <kennke@aicas.com>
10770
10771         * javax/swing/RepaintManager.java
10772         (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10773         for the component.
10774         (isCompletelyDirty): Consider a component completely dirty
10775         when it has a dirty region with Integer.MAX_VALUE.
10776
10777 2006-07-26  Roman Kennke  <kennke@aicas.com>
10778
10779         * java/awt/KeyboardFocusManager.java
10780         (getGlobalFocusOwner): Explicitly check for thread security.
10781         (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10782         (getGlobalFocusedWindow): Explicitly check for thread security.
10783         (getGlobalActiveWindow): Explicitly check for thread security.
10784         (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10785         (getGlobalObject): Added new argument for specifying if
10786         a security check should be performed or not.
10787         (setGlobalObject): Don't check for thread security when
10788         calling getGlobalObject.
10789
10790 2006-07-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10791
10792         * javax/management/MBeanConstructorInfo.java:
10793         Documentation fix.
10794         * javax/management/MBeanInfo.java:
10795         (MBeanInfo(String,String,MBeanAttributeInfo[],
10796         MBeanConstructorInfo[], MBeanOperationInfo[],
10797         MBeanNotificationInfo[])): Implemented.
10798         (equals(Object)): Likewise.
10799         (getAttributes()): Likewise.
10800         (getConstructors()): Likewise.
10801         (getOperations()): Likewise.
10802         (hashCode()): Likewise.
10803         * javax/management/MBeanOperationInfo.java,
10804         * javax/management/NotCompliantMBeanException.java,
10805         * javax/management/StandardMBean.java:
10806         New files.
10807
10808 2006-07-26  Sven de Marothy  <sven@physto.se>
10809
10810         * java/awt/geom/GeneralPath.java: Fix severe typo.
10811         
10812 2006-07-26  Sven de Marothy  <sven@physto.se>
10813
10814         * include/java_lang_VMSystem.h
10815         * vm/reference/java/lang/VMSystem.java
10816         * native/jni/java-lang/java_lang_VMSystem.c
10817         (nanoTime, currentTimeMillis): Switch the former to native code and
10818         the latter to java.
10819         
10820 2006-07-26  Andreas Tobler  <a.tobler@schweiz.ch>
10821
10822         * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10823         * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10824         * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10825         * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10826         * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10827         * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10828         * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10829         * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10830         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10831         * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10832         * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10833         * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10834         * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10835         * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10836         * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10837         * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10838         * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10839         * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10840         * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10841         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10842         * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10843
10844 2006-07-26  Roman Kennke  <kennke@aicas.com>
10845
10846         * java/awt/KeyboardFocusManager.java
10847         (getFocusOwner): Don't check permanent owner.
10848         (getGlobalFocusOwner): Don't check permanent owner.
10849
10850 2006-07-26  Carsten Neumann  <cn-develop@gmx.net>
10851
10852         * StrictMath.java (cosh): New method.
10853         (expm1): New method.
10854         (EXPM1_Q1): New field.
10855         (EXPM1_Q2): Likewise.
10856         (EXPM1_Q3): Likewise.
10857         (EXPM1_Q4): Likewise.
10858         (EXPM1_Q6): Likewise.
10859
10860 2006-07-26  Roman Kennke  <kennke@aicas.com>
10861
10862         * javax/swing/plaf/basic/BasicButtonListener.java
10863         (mousePressed): Request focus if appropriate.
10864         * javax/swing/text/DefaultCaret.java
10865         (mousePressed): Also handle the focus of the text component
10866         as specified. Don't consume events.
10867
10868 2006-07-26  Roman Kennke  <kennke@aicas.com>
10869
10870         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10871         (focusRequest): Removed field.
10872         (postFocusEvent(int,boolean,Component)): Removed.
10873         (postFocusEvent(int,boolean)): Reverted to post event using
10874         the heavyweight component.
10875         (requestFocus): Post focus event using the heavyweight
10876         component.
10877         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10878         (requestFocus): Post focus event using the heavyweight
10879         component.
10880         * java/awt/AWTEvent.java
10881         (isFocusManagerEvent): New field, indicating if this is
10882         an event that is redispatched by the KeyboardFocusManager.
10883         * java/awt/Component.java
10884         (requestFocusImpl): Register component for
10885         heavyweight->lightweight mapping.
10886         (dispatchEventImpl): Retarget focus events before dispatching
10887         to the KeyboardFocusManager. Use new AWTEvent flag instead
10888         of locking hack. Dispatch all events through the
10889         KeyboardFocusManager. Don't request focus on lightweight
10890         components.
10891         * java/awt/DefaultKeyboardFocusManager.java
10892         (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10893         FOCUS_LOST.
10894         (handleFocusGained): Fixed handling of temporary vs permanent
10895         focus changes. Added some checks.
10896         (handleFocusLost): Fixed handling of temporary vs permanent
10897         focus changes. Added some checks.
10898         * java/awt/EventDispatchThread.java
10899         (run): Don't dispatch to KeyboardFocusManager here. This
10900         is done in Component.dispatchEventImpl().
10901         * java/awt/KeyboardFocusManager.java
10902         (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10903         (focusRequests): New field.
10904         (retargetFocusEvent): New method. Retargets focus events
10905         that come from heavyweights to the correct lightweight component.
10906         (addLightweightFocusRequest): New method. Stores a mapping
10907         for later retargetting of heavyweight focus events.
10908         * java/awt/Window.java
10909         (addFocusListener): Removed bogus method. If at all, this
10910         should be performed in the KeyboardFocusManager.
10911         (Window): Don't install a focus listener on the Window.
10912
10913 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10914
10915         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10916         (drawLine): Apply shift to line coordinates.
10917
10918 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10919
10920         * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10921         (copyimage): Do not call setRenderingHints() when the respective map
10922         does not exist.
10923         (filter): Removed code to clone the ColorModel instance.
10924         * java/awt/image/ColorModel.java:
10925         (cloneColorModel): Removed.
10926
10927 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10928
10929         * javax/swing/JTabbedPane.java:
10930         (setSelectedIndex): Removed updating of component visibility status,
10931         added note.
10932         (remove(Component)): Use indexOfComponent() to find whether we have
10933         to use super.remove(int) or removeTabAt().
10934
10935 2006-07-26  Roman Kennke  <kennke@aicas.com>
10936
10937         * javax/swing/JOptionPane.java
10938         (createDialog): Add property change handler for closing
10939         the dialog when the value property changes.
10940         (ValuePropertyHandler): New inner helper class.
10941         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10942         (OptionPaneCloseAction): New class.
10943         (messageForeground): Removed field.
10944         (messageBorder): Removed field.
10945         (buttonBorder): Removed field.
10946         (addIcon): Configure the new label.
10947         (addMessageComponents): Configure newly created labels.
10948         (burstStringInto): Likewise.
10949         (createButtonArea): Install border here.
10950         (createMessageArea): Install border and foreground here.
10951         (createSeparator): Added comment and removed
10952         NotImplementedException.
10953         (installComponents): Don't install the UI defaults for the
10954         message and button area here. This is moved to the
10955         corresponding create* methods. Adjusted comment about
10956         separator.
10957         (installDefaults): Removed initialization of removed fields.
10958         (installKeyboardActions): Implemented.
10959         (getActionMap): New helper method.
10960         (createDefaultActions): New helper method.
10961         (uninstallDefaults): Removed de-initialization of removed fields.
10962         (uninstallKeyboardActions): Implemented.
10963         (configureLabel): New helper method.
10964         * javax/swing/plaf/basic/BasicTableUI.java
10965         (getActionMap): Fixed the UI property names.
10966         * javax/swing/plaf/basic/BasicToolBarUI.java
10967         (getActionMap): Fixed the UI property names.
10968
10969 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
10970
10971         * java/awt/image/BandedSampleModel.java
10972         (getDataElements): Check for negative x or y,
10973         (getPixels): Likewise,
10974         (getSamples): Likewise,
10975         (setSamples): Likewise.
10976
10977 2006-07-26  Roman Kennke  <kennke@aicas.com>
10978
10979         * javax/swing/plaf/basic/BasicToolBarUI.java
10980         (ToolBarAction): New inner class for handling keyboard
10981         actions.
10982         (installKeyboardActions): Implemented.
10983         (getActionMap): New helper method.
10984         (createDefaultActions): New helper method.
10985         (installListeners): Install focus listener on toolbar's
10986         children, rather than the toolbar itself.
10987         (navigateFocusedComp): Implemented.
10988         (uninstallKeyboardActions): Implemented.
10989         (uninstallListeners): Uninstall focus listener from
10990         toolbar's children, rather than the toolbar itself.
10991         (ToolBarContListener.componentAdded): Install focus
10992         listener on added child.
10993         (ToolBarContListener.componentRemoved): Uninstall focus
10994         listener from removed child.
10995         (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
10996         (ToolBarFocusListener.focusGained): Implemented.
10997         (ToolBarFocusListener.focusLost): Implemented.
10998
10999 2006-07-26  Roman Kennke  <kennke@aicas.com>
11000
11001         * java/awt/DefaultKeyboardFocusManager.java
11002         (dispatchEvent): Notify old focus owner when it has lost
11003         focus.
11004
11005 2006-07-26  Roman Kennke  <kennke@aicas.com>
11006
11007         * javax/swing/plaf/basic/BasicTableUI.java
11008         (FocusHandler.focusGained): Implemented to refresh the
11009         lead cell.
11010         (FocusHandler.focusLost): Implemented to refresh the
11011         lead cell.
11012         (FocusHandler.repaintLeadCell): New helper method.
11013         (MouseInputHandler.mouseEntered): Do nothing here.
11014         (MouseInputHandler.mouseExited): Do nothing here.
11015         (MouseInputHandler.mouseMoved): Do nothing here.
11016         (installKeyboardActions): Rewritten to use a shared InputMap
11017         and ActionMap and correctly install the maps via SwingUtilities
11018         methods.
11019         (getActionMap): New helper method.
11020         (createDefaultActions): New helper method.
11021         (ActionListenerProxy): Removed unneeded class.
11022         (TableAction): Made class static.
11023         (TableAction.actionPerformed): Determine table by fetching
11024         the event source. Pass the table to helper methods.
11025         Use __command__ hack to determine the action command.
11026         (TableAction.getFirstVisibleColumnIndex): Get table as argument.
11027         (TableAction.getLastVisibleColumnIndex): Get table as argument.
11028         (TableAction.getFirstVisibleRowIndex): Get table as argument.
11029         (TableAction.getLastVisibleRowIndex): Get table as argument.
11030         (TableAction.advanceMultipleSelection): Get table as argument.
11031         (uninstallDefaults): Do nothing here.
11032         (uninstallKeyboardActions): Uninstall the keyboard actions.
11033
11034 2006-07-26  Roman Kennke  <kennke@aicas.com>
11035
11036         * javax/swing/JComponent.java
11037         (processKeyBinding): Store the action command as property
11038         in the Action instance that we call. This allows for
11039         improvement on the side of the Action.
11040
11041 2006-07-26  Roman Kennke  <kennke@aicas.com>
11042
11043         * javax/swing/plaf/metal/MetalUtils.java
11044         (fillMetalPattern): Use fillRect() instead of drawLine() to
11045         fill single pixels.
11046
11047 2006-07-26  Roman Kennke  <kennke@aicas.com>
11048
11049         * javax/swing/text/GapContent.java
11050         (getChars): Check for negative length and throw
11051         BadLocationException.
11052
11053 2006-07-26  Roman Kennke  <kennke@aicas.com>
11054
11055         * javax/swing/plaf/basic/BasicMenuBarUI.java
11056         (FocusAction): Made class static.
11057
11058 2006-07-26  Roman Kennke  <kennke@aicas.com>
11059
11060         * javax/swing/plaf/basic/BasicLookAndFeel.java
11061         (initComponentDefaults): Add keyboard bindings for
11062         PopupMenu.
11063
11064 2006-07-26  Roman Kennke  <kennke@aicas.com>
11065
11066         * javax/swing/UIManager.java
11067         (getLookAndFeelDefaults): Return the look and feel defaults.
11068         (setLookAndFeel): Improved exception messsage.
11069
11070 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11071
11072         * javax/swing/text/StringContent.java
11073         (StringContent): Changed initialLength to 10.
11074
11075 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11076
11077         * java/util/Vector.java: Fixed API doc typo.
11078
11079 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11080
11081         * java/awt/image/BandedSampleModel.java
11082         (createCompatibleSampleModel): Fixed typo in loop increment, set
11083         correct scanlineStride, and updated API docs.
11084
11085 2006-07-25  Roman Kennke  <kennke@aicas.com>
11086
11087         * javax/swing/plaf/basic/BasicPopupMenuUI.java
11088         (NavigateAction): New inner class. This is responsible for
11089         keyboard navigation through menus.
11090         (KeyboardHelper): New inner class. This manages the
11091         keyboard mappings and focus when a popup opens or closes.
11092         (keyboardHelper): New static field.
11093         (numPopups): New static field.
11094         (installUI): Create KeyboardHelper for first popup.
11095         Call installKeyboardActions().
11096         (installKeyboardActions): Removed NotImplementedException.
11097         This method is a no-op.
11098         (installKeyboardActionsImpl): New method. Installs keyboard
11099         mapping when a popup is opened.
11100         (getActionMap): New helper method.
11101         (createDefaultActions): New helper method.
11102         (uninstallUI): Uninstall KeyboardHelper when last Popup is
11103         uninstalled. Call uninstallKeyboardActions().
11104         (uninstallKeyboardActions): Removed NotImplementedException.
11105         This method is a no-op.
11106         (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
11107         mapping when a popup is closed.
11108         
11109 2006-07-25  Roman Kennke  <kennke@aicas.com>
11110
11111         * java/awt/Component.java
11112         (requestFocus()): Reimplemented to use requestFocusImpl().
11113         (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
11114         (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
11115         (requestFocusInWindow(boolean)): Reimplemented to use
11116         requestFocusImpl().
11117         (requestFocusImpl): Reimplemented focus request to use
11118         new peer method. Also added some obvious additional checks
11119         for rejecting focus requests early.
11120         * java/awt/ComponentPeer.java
11121         (requestFocus(Component,boolean,boolean,long)): Documented
11122         this method.
11123         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11124         (requestFocus): New field.
11125         (gtkWidgetHasFocus): New native method.
11126         (gtkWidgetCanFocus): New native method.
11127         (requestFocus): Replaced with assert false to prevent
11128         usage of obsolete method.
11129         (postFocusEvent(int,boolean,Component)): New overloaded method
11130         for posting the focus event to a specific target.
11131         (postFocusEvent(int,boolean)): Post event to requestFocus
11132         component.
11133         (requestFocus(Component,boolean,boolean,long)): Implemented.
11134         (getWindowFor): New helper method.
11135         (isLightweightDescendant): New helper method.
11136         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11137         (gtkWindowHasFocus): New native method.
11138         (requestFocus(Component,boolean,boolean,long)): New method.
11139         Overrides GtkComponentPeer method to specially handly the
11140         case when a Window receives a focus request for a lightweight
11141         child.
11142         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11143         (gtkWidgetHasFocus): New native method.
11144         (gtkWidgetCanFocus): New native method.
11145         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11146         (gtkWindowHasFocus): New native method.
11147         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
11148         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
11149         Regenerated.
11150
11151 2006-07-25  Francis Kung  <fkung@redhat.com>
11152
11153         * java/awt/DefaultKeyboardFocusManager.java
11154         (dispatchEvent): Add check for valid component.
11155
11156 2006-07-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11157
11158         * javax/management/MBeanConstructorInfo.java:
11159         New file.
11160         * javax/management/MBeanNotificationInfo.java:
11161         Documentation fix.
11162         * javax/management/MBeanParameterInfo.java:
11163         New file.
11164
11165 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11166
11167         * java/awt/peer/gtk/CairoGraphics.java:
11168         (drawLine): Added special case for 1 pixel lines.
11169
11170 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11171
11172         Fixes PR27844.
11173         * java/awt/peer/gtk/CairoGraphics.java:
11174         (drawLine): Removed calls to shifted().
11175
11176 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11177
11178         * javax/swing/JTabbedPane.java:
11179         (remove(Component)): Rewritten.
11180         (setSelectedIndex): Implemented updating of component visibility state.
11181
11182 2006-07-25  Sven de Marothy  <sven@physto.se>
11183
11184         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
11185         (init): Default to the actual depth in the worst case.
11186         
11187         * java/awt/Font.java
11188         (createFont(int, File)): New method.
11189         
11190 2006-07-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
11191
11192         Fixes bug #28413
11193         * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
11194         New field.
11195         (RETokenEnd): New constructer to set check_java_line_terminators.
11196         (matchThis): Checck line terminators if check_java_line_terminators.
11197         * gnu/java/util/regex/RETokenStart.java: Likewise.
11198         * gnu/regexp/RE.java(initialize): Use the new constructors for
11199         RETokenEnd and RETokenStart if REG_MULTILINE is set.
11200         * java/util/regex/Pattern.java(Patteren): Changed so that
11201         gnu/regexp/RE.java may use the new the new constructors.
11202
11203 2006-07-25  Roman Kennke  <kennke@aicas.com>
11204
11205         * java/awt/Container.java
11206         (focusTraversalPolicyProvider): New field.
11207         (isFocusTraversalPolicyProvider): New method.
11208         (setFocusTraversalPolicyProvider): New method.
11209         * java/awt/ContainerOrderFocusTraversalPolicy.java
11210         (getFirstComponent): Use accept() instead of lengthy checks.
11211         Don't fetch getComponents() to avoid copying of array.
11212         Traverse down the hierarchy to find the first focused component.
11213         * java/awt/DefaultKeyboardFocusManager.java
11214         (dispatchEvent): Let the initial component request focus.
11215
11216 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
11217
11218         * javax/swing/text/Segment.java
11219         (last): Update current index before returning DONE for zero count.
11220         
11221 2006-07-24  Mark Wielaard  <mark@klomp.org>
11222
11223         * javax/swing/tree/TreePath.java (equals): Swap path equals call.
11224
11225 2006-07-25  Roman Kennke  <kennke@aicas.com>
11226
11227         * javax/swing/plaf/basic/BasicMenuBarUI.java
11228         (FocusAction): New inner class. Used to grab focus.
11229         (installKeyboardActions): Implemented.
11230         (uninstallKeyboardActions): Implemented.
11231         (getActionMap): New helper method.
11232         (createDefaultActions): New helper method.
11233
11234 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11235
11236         * examples/gnu/classpath/examples/swing/Demo.java:
11237         (mkMenuBar): Install instantiable basic look and feel.
11238         (InstantiableBasicLookAndFeel): New inner class.
11239
11240 2006-07-25  Roman Kennke  <kennke@aicas.com>
11241
11242         * javax/swing/plaf/basic/BasicInternalFrameUI.java
11243         (GlassPaneDispatcher.dragTarget): New field.
11244         (GlassPaneDispatcher.isDragging): New field.
11245         (GlassPaneDispatcher.pressedComponent): Removed field.
11246         (GlassPaneDispatcher.tempComponent): Removed field.
11247         (GlassPaneDispatcher.pressCount): Removed field.
11248         (GlassPaneDispatcher.mousePressed): Call
11249         borderListener.mousePressed() to activate the frame.
11250         (acquireComponentForMouseEvent): Removed method.
11251         (handleEvent): Rewritten.
11252         (redispatch): New method.
11253         (InternalFramePropertyChangeListener.propertyChange):
11254         Make glasspane invisible when frame is selected, and visible
11255         if it gets deselected.
11256         
11257 2006-07-25  Roman Kennke  <kennke@aicas.com>
11258
11259         * java/awt/LightweightDispatcher.java
11260         (handleMouseEvent): Dispatch event to real target if
11261         the dragTarget has become invisible in the meantime.
11262
11263 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
11264
11265         * javax/swing/text/TabSet.java
11266         (equals): New method override for 1.5,
11267         (hashCode): Likewise,
11268         (toString): Added spaces to match reference implementation.
11269
11270 2006-07-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11271
11272         * javax/management/IntrospectionException.java,
11273         * javax/management/MBeanAttributeInfo.java:
11274         New files.
11275         * javax/management/MBeanNotificationInfo.java:
11276         Documentation cleanups.
11277         
11278 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
11279
11280         * javax/swing/text/TabSet.java
11281         (TabSet): Check for null argument,
11282         (getTab): Throw IllegalArgumentException for index out of bounds,
11283         (getTabIndexAfter): Changed test to '<=',
11284         and updated API docs all over,
11285         * javax/swing/text/TabStop.java: Updated API docs.
11286
11287 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
11288
11289         * javax/swing/text/TabStop.java
11290         (toString): Don't use 'left ' prefix, and added space between tab
11291         location and '(w/leader)' suffix.
11292
11293 2006-07-24  Francis Kung  <fkung@redhat.com>
11294
11295         * javax/swing/JComboBox.java
11296         (DefaultKeySelectionManager): Implemented.
11297         (createDefaultKeySelectionManager): Implemented.
11298         (getKeySelectionManager): Implemented.
11299         (processKeyEvent): Removed duplicate code.
11300         * javax/swing/JPopupMenu.java
11301         (selectionModel): Changed visibility.
11302         * javax/swing/plaf/basic/BasicComboBoxUI.java
11303         (KeyHandler.keyPressed): Added navigation keys.
11304         (configureEditor): Add key listener.
11305         (installListeners): Install focus listener to combo box.
11306         (isNavigationKey): Added enter, escape, and tab.
11307         (selectPreviousPossibleValue): Added out of bounds check.
11308         (unconfigureEditor): Remove key listener.
11309         * javax/swing/plaf/metal/MetalComboBoxButton.java
11310         (paintComponent): Highlight combo box when in focus.
11311
11312 2006-07-24  Roman Kennke  <kennke@aicas.com>
11313
11314         * javax/swing/SwingUtilities.java
11315         (isLeftMouseButton): Fixed condition.
11316         * java/awt/LightweightDispatcher.java
11317         (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
11318         is dragged.
11319
11320 2006-07-24  Roman Kennke  <kennke@aicas.com>
11321
11322         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11323         (setPaint): Fixed scaleX and scaleY.
11324
11325 2006-07-24  Roman Kennke  <kennke@aicas.com>
11326
11327         * javax/swing/JTable.java
11328         (handleInsert): Repaint the whole table for variable row
11329         height tables and an optimized region otherwise.
11330         (handleDelete): Likewise.
11331         (handleUpdate): Likewise.
11332
11333 2006-07-24  Mario Torre  <neugens@limasoftware.net>
11334
11335         * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
11336         now explicity registerListeners on GtkMouseDragGestureRecognizer
11337         instance.
11338         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11339         (unregisterListeners): new method, overrided from base class
11340         to rise visibility (from protected to public).
11341         (registerListeners): Likewise.
11342         (GtkMouseDragGestureRecognizer): fixed potential threading issue:
11343         removed call to registerListeners from the constructor.
11344
11345 2006-07-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11346
11347         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11348         * java/lang/management/MemoryPoolMXBean.java:
11349         (getType()): Changed return type to MemoryType.
11350         * java/lang/management/MemoryType.java:
11351         New file.
11352
11353 2006-07-23  Mark Wielaard  <mark@klomp.org>
11354
11355         * configure.ac: Check for moc and moc-qt4.
11356
11357 2006-07-23  David Gilbert  <david.gilbert@object-refinery.com>
11358
11359         * java/awt/image/Kernel.java: API doc updates.
11360
11361 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
11362
11363         * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11364         bit more.
11365
11366 2006-07-22  Mark Wielaard  <mark@klomp.org>
11367
11368         * java/lang/Iterable.java: Import all of java.util.
11369         * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11370         * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11371
11372 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11373
11374         * doc/vmintegration.texinfo:
11375         Document getType(String).
11376         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11377         * java/lang/management/MemoryPoolMXBean.java:
11378         (getType()): Implemented.
11379         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11380         (getType(String)): Implemented.
11381         
11382 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11383
11384         * doc/vmintegration.texinfo:
11385         Move end of itemization block.
11386
11387 2006-07-22  Robert Schuster  <robertschuster@fsfe.org>
11388
11389         * javax/swing/plaf/metal/MetalLookAndFeel.java:
11390         (initComponentDefaults): Added new properties, added comments.
11391         
11392 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11393
11394         * doc/vmintegration.texinfo:
11395         Mention callback methods.
11396         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11397         (fireNotification(String,String,long,long,long,long,long)):
11398         Made package-private.
11399         (fireThresholdExceededNotification(String,long,long,long,
11400         long,long)): Likewise.
11401         (fireCollectionThresholdExceededNotification(String,long,
11402         long,long,long,long)): Likewise.
11403         * java/lang/management/MemoryMXBean.java:
11404         Document notifications.
11405
11406 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11407
11408         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11409         (fireNotification(String,String,long,long,long,long,long)):
11410         Implemented.
11411         (fireThresholdExceededNotification(String,long,long,long,
11412         long,long)): Likewise.
11413         (fireCollectionThresholdExceededNotification(String,long,
11414         long,long,long,long)): Likewise.
11415         * java/lang/management/MemoryNotificationInfo.java:
11416         Use composite type from MemoryMXBeanImpl.
11417         * javax/management/openmbean/CompositeData.java:
11418         Correct documentation.
11419         * javax/management/openmbean/CompositeDataSupport.java,
11420         * javax/management/openmbean/InvalidKeyException.java:
11421         New files.
11422
11423 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
11424
11425         * gnu/java/security/util/IntegerUtil.java: New file.
11426
11427 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
11428
11429         PR Classpath/28100
11430         * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11431         (KEY_SIZE): Likewise.
11432         (adjustParity(int,byte[],int): New method.
11433         (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11434         (isParityAdjusted(int,byte[],int)): New method.
11435         (isParityAdjusted): Call above method with 3 as 1st argument.
11436         (keySizes): Add 8 and 16 as other valid key sizes.
11437         (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11438
11439 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
11440
11441         * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11442         code for the pixel swap routine to be more efficient.
11443
11444 2006-07-21  Carsten Neumann  <cn-develop@gmx.net>
11445
11446         * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11447         (lastIndexOf(E, int)): Likewise.
11448         (add(E)): Increase the size of newData array by one.
11449         (add(int, E)): Likewise.
11450
11451 2006-07-20  Lillian Angel  <langel@redhat.com>
11452
11453         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11454         Removed unused fields.
11455         (GtkMouseDragGestureRecognizer): Removed initializations.
11456
11457 2006-07-20  Lillian Angel  <langel@redhat.com>
11458
11459         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11460         (GtkMouseDragGestureRecognizer): New constructor.
11461         (GtkMouseDragGestureRecognizer): New constructor.
11462         (GtkMouseDragGestureRecognizer): New constructor.
11463         (mouseClicked): Removed FIXME.
11464         (mousePressed): Implemented.
11465         (mouseReleased): Implemented.
11466         (mouseEntered): Implemented.
11467         (mouseDragged): Implemented to check mouse point and trigger origin.
11468         (mouseMoved): Removed FIXME.
11469         (getDropActionFromEvent): New helper function used to convert mouse event
11470         modifiers to a drop action.
11471         * java/awt/dnd/DragSource.java
11472         (getDragThreshold): Changed to return some arbitrary value for testing
11473         purposes.
11474
11475 2006-07-20  Roman Kennke  <kennke@aicas.com>
11476
11477         * java/awt/LightweightDispatcher.java
11478         (findTarget): Also consider components that have their eventMask
11479         set, for compatibility with stonage AWT. Optimized check
11480         for MouseListener.
11481         (handleMouseEvent): Likewise.
11482
11483 2006-07-20  Roman Kennke  <kennke@aicas.com>
11484
11485         * javax/swing/JTable.java
11486         (tableChanged): Split out handling of the event into multiple
11487         subroutines.
11488         (handleCompleteChange): New method. Clear the selection and
11489         check the lead/anchor indices.
11490         (handleInsert): New method. Check the lead/anchor indices.
11491         Optimized repainting.
11492         (handleDelete): New method. Check the lead/anchor indices.
11493         Optimized repainting.
11494         (handleUpdate): New method. Optimized repainting.
11495         (checkSelection): New helper method.
11496         (setSelectionModel): Update lead/anchor indices.
11497
11498 2006-07-20  Lillian Angel  <langel@redhat.com>
11499
11500         PR 28440
11501         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11502         (dispose): Reset all fields.
11503
11504 2006-07-20  Roman Kennke  <kennke@aicas.com>
11505
11506         * gnu/java/awt/peer/x/XToolkit.java
11507         (createImage(InputStream)): Only copy image to Pixmap if
11508         it's actually opaque. Transparent images are left as
11509         BufferedImage and composited later onto the screen.
11510         * gnu/java/awt/peer/x/XGraphics.java
11511         (XGraphics): Fetch some parameters for image rendering.
11512         (drawImage): Added special handling of transparent images.
11513         (getRGB): New helper method.
11514         (setRGB): New helper method.
11515
11516 2006-07-20  Roman Kennke  <kennke@aicas.com>
11517
11518         * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11519         ImageInputStreams as normal InputStreams.
11520         * gnu/javax/imageio/gif/GIFStream.java:
11521         Moved to gnu/javax/imageio/IIOInputStream.java.
11522         * gnu/javax/imageio/gif/GIFImageReader.java
11523         (readImage): Use IIOInputStream.
11524         * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11525         (canDecodeInput): Use IIOInputStream.
11526         * gnu/javax/imageio/png/PNGException.java: Make subclass
11527         of IOException.
11528         * gnu/javax/imageio/png/PNGImageReader.java: New class.
11529         Implements the ImageIO ImageReader for PNG.
11530         * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11531         Implements the ImageIO ImageReaderSpi for PNG.
11532         * javax/imageio/spi/IIORegistry.java:
11533         (IIORegistry): Add PNGImageReaderSpi.
11534
11535 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
11536
11537         * java/awt/image/ComponentSampleModel.java
11538         (getPixel): Added argument check,
11539         (getSample): Modified exception message.
11540
11541 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
11542
11543         PR Classpath/28422
11544         * java/awt/image/ConvolveOp.java
11545         (filter(Raster, WritableRaster)): Reimplemented,
11546         (fillEdge): New private method.
11547
11548 2006-07-19  Keith Seitz  <keiths@redhat.com>
11549
11550         * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11551         (JVMTI_VERSION): Define.
11552
11553 2006-07-19  Roman Kennke  <kennke@aicas.com>
11554
11555         * resource/gnu/regexp/MessagesBundle.properties,
11556         * resource/gnu/regexp/MessagesBundle_fr.properties,
11557         * resource/gnu/regexp/MessagesBundle_it.properties:
11558         Moved to resource/gnu/java/util/regex.
11559         * resource/gnu/java/util/regex/MessagesBundle.properties,
11560         * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11561         * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11562         New files.
11563         * gnu/java/util/regex/RE.java
11564         Use new resource bundle location.
11565
11566 2006-07-19  Roman Kennke  <kennke@aicas.com>
11567
11568         * javax/swing/JComponent.java
11569         (paintChildren): Refactored. The paintChildrenOptimized method
11570         has been moved back in here. Added locking of the tree and
11571         only check for completely obscured child components
11572         when not optimized drawing enabled. Use Graphics.create() to
11573         protect from irreversible changes.
11574         (isCompletelyObscured): New helper method.
11575         (paintComponent): Also use Graphics.create() for Graphics2D,
11576         to protect from irreverible changes.
11577         (clipAndTranslateGraphics): Refactored to use more efficient
11578         iterative (vs recursive) approach.
11579         * javax/swing/RepaintManager.java
11580         (getOffscreenBuffer): Create image from root component.
11581         
11582 2006-07-19  Roman Kennke  <kennke@aicas.com>
11583
11584         * gnu/java/awt/peer/x/XGraphics.java
11585         (translate): Don't set the clip on the X server.
11586         (clipRect): Use setXClip() to set the clip on the X server.
11587         (hitClip): More efficient and correct implementation.
11588         (setClip): Use setXClip() to set the clip on the X server.
11589         (setClip(Shape)): Use setXClip() to set the clip on the X server.
11590         (copyArea): Translate and clip the source rectangle correctly.
11591         (dispose): Only flush when object is not yet disposed.
11592         (clone): Use setXClip() to set the clip on the X server.
11593
11594 2006-07-19  Sven de Marothy  <sven@physto.se>
11595
11596         * gnu/javax/imageio/png/PNGChunk.java,
11597         * gnu/javax/imageio/png/PNGData.java,
11598         * gnu/javax/imageio/png/PNGDecoder.java,
11599         * gnu/javax/imageio/png/PNGEncoder.java,
11600         * gnu/javax/imageio/png/PNGException.java,
11601         * gnu/javax/imageio/png/PNGFile.java,
11602         * gnu/javax/imageio/png/PNGFilter.java,
11603         * gnu/javax/imageio/png/PNGGamma.java,
11604         * gnu/javax/imageio/png/PNGHeader.java,
11605         * gnu/javax/imageio/png/PNGICCProfile.java,
11606         * gnu/javax/imageio/png/PNGPalette.java,
11607         * gnu/javax/imageio/png/PNGPhys.java,
11608         * gnu/javax/imageio/png/PNGTime.java:
11609         New files.
11610
11611 2006-07-19  Sven de Marothy  <sven@physto.se>
11612
11613         * java/net/Inet6Address.java:
11614         (getScopedId, getScopedInterface): New methods.
11615         
11616 2006-07-19  Lillian Angel  <langel@redhat.com>
11617
11618         * examples/gnu/classpath/examples/awt/Demo.java
11619         (DragDropWindow): Fixed typo in Label text.
11620         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11621         (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11622         (startDrag): Initialized context field.
11623         (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11624         function.
11625         (dragEnter): New function.
11626         (dragExit): Likewise.
11627         (dragDropEnd): Likewise.
11628         (dragMouseMoved): Likewise.
11629         (dragOver): Likewise.
11630         (dragActionChanged): Likewise.
11631
11632 2006-07-19  Raif S. Naffah  <raif@swiftdsl.com.au>
11633
11634         PR Classpath/26302
11635         * resource/java/security/classpath.security: Updated copyright year.
11636         (auth.login.defaultCallbackHandler): New property; set to our default
11637         callback handler. This is needed by the LoginContext when no callback
11638         handler was specified.
11639         * javax/security/auth/login/LoginContext.java: Updated copyright year.
11640         (LoginContext(4)): Assign passed parameters to local fields before invoking
11641         lookup method.
11642
11643 2006-07-19  Roman Kennke  <kennke@aicas.com>
11644
11645         * gnu/java/awt/peer/x/XGraphics.java
11646         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11647         Fixed ordering of parameters.
11648
11649 2006-07-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11650
11651         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11652         (MemoryMXBeanImpl()): Implemented.
11653         (ListenerData): New private class.
11654         (addNotificationListener(NotificationListener,
11655         NotificationFilter, Object)): Implemented.
11656         (getNotificationInfo()): Likewise.
11657         (removeNotificationListener(NotificationListener)):
11658         Likewise.
11659         (removeNotificationListener(NotificationListener,
11660         NotificationFilter, Object)): Likewise.
11661         
11662 2006-07-18  Roman Kennke  <kennke@aicas.com>
11663
11664         * gnu/java/awt/peer/x/XFontPeer.java
11665         (encodeFont): Be more flexible with font sizes.
11666         (validSize): New helper method.
11667         * gnu/java/awt/peer/x/XGraphics.java
11668         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11669         Implemented.
11670         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11671         Implemented.
11672         * gnu/java/awt/peer/x/XImage.java
11673         (properties): New field.
11674         (getProperty): Implemented.
11675         * resource/gnu/java/awt/peer/x/fonts.properties:
11676         Added copyright header. Fixed font size field.
11677
11678 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11679
11680         * java/awt/image/BandedSampleModel.java
11681         (createDataBuffer): New method override,
11682         * java/awt/image/ByteLookupTable.java
11683         (ByteLookupTable(int, byte[][])): Create new array to hold references,
11684         (ByteLookuptable(int, byte[])): Check for null array,
11685         * java/awt/image/ComponentSampleModel.java
11686         (createDataBuffer): Removed unnecessary braces,
11687         (getSample): Check (x, y) is within bounds,
11688         * java/awt/image/ShortLookupTable.java
11689         (ShortLookupTable(int, short[][])): Create new array to hold references,
11690         (ShortLookupTable(int, short[])): Check for null array,
11691         (getTable): Added API docs,
11692         (lookupPixel): Source reformatting.
11693
11694 2006-07-18  Tania Bento  <tbento@redhat.com>
11695         
11696         * java/awt/GridLayout.java
11697         (setHgap): Illegal Argument Exception should not be thrown if 
11698         hgap < 0.
11699         (setVgap): Illegal Argument Exception should not be thrown if 
11700         vgap < 0.
11701         (toString): Opening square braket ([) should appear before hgap
11702         value, not the name of the class.
11703
11704 2006-07-18  Roman Kennke  <kennke@aicas.com>
11705
11706         * lib/copy-vmresources.sh.in: Reverted.
11707         * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11708         * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11709
11710 2006-07-18  Roman Kennke  <kennke@aicas.com>
11711
11712         * lib/copy-vmresources.sh.in: Include properties from X peers.
11713
11714 2006-07-18  Raif S. Naffah  <raif@swiftdsl.com.au>
11715
11716         PR Classpath/27205
11717         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11718         certificate validity.
11719         (getIssuerName): New method.
11720         (getSubjectName): Likewise.
11721         (getNotAfterDate): Likewise.
11722         (getNotBeforeDate): Likewise.
11723         * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11724         messages for newly added messages in SFHelper.
11725
11726 2006-07-18  Roman Kennke  <kennke@aicas.com>
11727
11728         * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11729         * gnu/java/awt/peer/x/XEventPump.java
11730         (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11731         * gnu/java/awt/peer/x/XFramePeer.java
11732         Made a subclass of XWindowPeer, rather than SwingFramePeer.
11733         * gnu/java/awt/peer/x/XGraphics.java
11734         Made subclass of Graphics rather than Graphics2D. Removed
11735         all Graphics2D specific method stubs.
11736         (setColor): Map colors using the X color map that is
11737         stored in XToolkit.
11738         * gnu/java/awt/peer/x/XToolkit.java
11739         (colorMap): New field.
11740         (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11741         instance.
11742         (createDialog): Implemented.
11743         (createImage(ImageProducer)): Implemented.
11744         (createImage(InputStream)): Use createImage(ImageProducer)
11745         to convert the BufferedImage to an XImage.
11746         * gnu/java/awt/peer/x/XWindowPeer.java
11747         (XWindowPeer): Removed debug output.
11748
11749 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11750
11751         * java/awt/image/BufferedImageOp.java: API docs added,
11752         * java/awt/image/RasterOp.java: Likewise.
11753
11754 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11755
11756         * java/awt/Graphics2D.java: API docs updated.
11757
11758 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11759
11760         * java/awt/image/WritableRaster.java: Added API docs and reformatted 
11761         source code.
11762
11763 2006-07-18  Sven de Marothy  <sven@physto.se>
11764
11765         * java/net/Inet6Address.java:
11766         Add 1.5 serialized fields.
11767         (getByAddress): New methods.
11768         (readObject, writeObject): New methods. 
11769         (equals): Reimplement.
11770
11771 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11772
11773         * java/awt/image/Raster.java: Added API docs and reformatted source
11774         code.
11775
11776 2006-07-18  Andreas Tobler  <a.tobler@schweiz.ch>
11777
11778         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11779         imports.
11780         * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11781         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11782         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11783         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11784         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11785         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11786         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11787         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11788         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11789         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11790         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11791         * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11792         * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11793         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11794         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11795         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11796         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11797         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11798         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11799         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11800         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11801
11802 2006-07-17  Andreas Tobler  <a.tobler@schweiz.ch>
11803
11804         * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11805         to make it compile again under jikes. Note added.
11806
11807 2006-07-17  Lillian Angel  <langel@redhat.com>
11808
11809         * examples/gnu/classpath/examples/awt/Demo.java
11810         (Demo): Added new window for DnD demo.
11811         (DragDropWindow): New class.
11812         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11813         Added new fields and declarations for native functions.
11814         (GtkDragSourceContextPeer): Implemented.
11815         (getComponentPeer): New function.
11816         (startDrag): Partially implemented.
11817         (getCursor): Implemented.
11818         (setCursor): Implemented.
11819         * include/GtkDragSourceContextPeer.h: New file.
11820         * include/Makefile.am: Added new header file.
11821         * java/awt/Component.java
11822         (addNotify): Added call to the dropTarget's addNotify.
11823         * java/awt/dnd/DragSource.java
11824         (startDrag): Fixed code to use shared instances of peer and
11825         context.
11826         (getDragThreshold): Added stub.
11827         * java/awt/dnd/DropTarget.java
11828         (DropTarget): Implemented fully.
11829         (addNotify): Added code to get the peer of the parent that is
11830         not lightweight.
11831         * java/awt/dnd/DropTargetDragEvent.java
11832         (getTransferable): Added stub.
11833         * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11834         * native/jni/gtk-peer/Makefile.am: Added new c file.
11835         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11836         Changed to extend GtkGenericPeer.
11837         (GtkDropTargetContextPeer): New constructor.
11838         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11839         Changed to extend GtkGenericPeer.
11840         (GtkDropTargetContextPeer): New constructor.
11841
11842 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11843
11844         * java/awt/image/SinglePixelPackedSampleModel.java
11845         (createSubsetSampleModel): Added argument check and API docs.
11846
11847 2006-07-17  Roman Kennke  <kennke@aicas.com>
11848
11849         * gnu/java/awt/peer/x/XGraphics.java
11850         (copyArea): Implemented.
11851
11852 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11853
11854         * java/awt/image/SinglePixelPackedSampleModel.java
11855         (getSampleSize): Return copy of array,
11856         (getOffset): Added API docs,
11857         (getScanlineStride): Likewise,
11858         (hashCode): Implemented.
11859
11860 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11861
11862         * java/awt/image/MultiPixelPackedSampleModel.java
11863         (getOffset): Updated API docs and source reformatting,
11864         (getBitOffset): Source reformatting only,
11865         (getDataElements): Likewise,
11866         (getPixel): Likewise,
11867         (getPixels): Removed method override,
11868         (setDataElements): Reimplemented.
11869
11870 2006-07-17  Gary Benson  <gbenson@redhat.com>
11871
11872         * resource/META-INF/services/.cvsignore: New file.
11873         * lib/.cvsignore: Updated.      
11874
11875 2006-07-17  Roman Kennke  <kennke@aicas.com>
11876
11877         * javax/swing/plaf/basic/BasicButtonListener.java
11878         (propertyChange): Only do the text layout caching as long
11879         as the noGraphics2D property isn't set.
11880         * javax/swing/plaf/basic/BasicMenuItemUI.java
11881         (PropertyChangeHandler.propertyChange): Only do the text layout
11882         caching as long as the noGraphics2D property isn't set.
11883
11884 2006-07-17  Roman Kennke  <kennke@aicas.com>
11885
11886         * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11887         (XGraphicsEnvironment): Make constructor public so that it
11888         can be called via Class.forName().newInstance().
11889         * gnu/java/awt/peer/x/XImage.java
11890         (XImage): Fetch GraphicsEnvironment via
11891         GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11892         than the XToolkit method, to avoid double instantiation
11893         of the XGraphicsEnvironment.
11894         * gnu/java/awt/peer/x/XToolkit.java
11895         (env): Removed field.
11896         (getLocalGraphicsEnvironment): Removed impl. This method
11897         should not be called since we set the graphicsenv property
11898         in the constructor.
11899
11900 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11901
11902         * java/util/UUID.java:
11903         (compareTo(Object)): Call compareTo(UUID).
11904         (compareTo(UUID)): Implemented.
11905         
11906 2006-07-16  Tom Tromey  <tromey@redhat.com>
11907
11908         * java/lang/StrictMath.java (cbrt): Added '@since'.
11909
11910 2006-07-16  Carsten Neumann  <cn-develop@gmx.net>
11911
11912         * java/lang/StrictMath.java (cbrt): New method.
11913         (getLowDWord): New helper method.
11914         (getHighDWord): Likewise.
11915         (buildDouble): Likewise.
11916         (CBRT_B1): New field.
11917         (CBRT_B2): Likewise.
11918         (CBRT_C): Likewise.
11919         (CBRT_D): Likewise.
11920         (CBRT_E): Likewise.
11921         (CBRT_F): Likewise.
11922         (CBRT_G): Likewise.
11923
11924 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11925
11926         * javax/management/MBeanInfo.java:
11927         (getNotifications()): Implemented.
11928         * javax/management/NotificationBroadcaster.java:
11929         (removeNotificationListener(NotificationListener)):
11930         Renamed from removeListener.
11931         * javax/management/NotificationEmitter.java:
11932         (removeNotificationListener(NotificationListener,
11933         NotificationFilter, Object)): Likewise.
11934         * javax/management/NotificationFilter.java:
11935         Implement Serializable.
11936         * javax/management/NotificationListener.java:
11937         Implement java.util.EventListener.
11938         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11939         Implement Serializable.
11940
11941 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11942
11943         * java/lang/management/MemoryNotificationInfo.java:
11944         New file.
11945         
11946 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
11947
11948         PR 28392
11949         * gnu/javax/swing/text/html/parser/htmlValidator.java 
11950         (tagIsValidForContext): If it is not possible to insert any tag, but 
11951         is possible to insert a P, insert a P.
11952         * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11953         (newInstance): Removed print statement. (getBodyElements):
11954         Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11955         valid body level tags (will be enclosed into P's).
11956
11957 2006-07-17  Raif S. Naffah  <raif@swiftdsl.com.au>
11958
11959         * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11960         Condition the creation of .keystore (a default keystore) based on the
11961         createIfNotFound argument as well.
11962
11963 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
11964
11965         PR 28392
11966         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
11967         Removed heading p tag from the parsing example.
11968         * gnu/javax/swing/text/html/parser/HTML_401F.java:
11969         (createHtmlContentModel): Explained.
11970         (defineElements): Call getBodyElements to get the body
11971         elements. (getBodyElements): New method. (model):
11972         Made protected from private.
11973         * gnu/javax/swing/text/html/parser/htmlValidator.java
11974         (openTag): Mind that current content model may be null.
11975         (tagIsValidForContext): If the tag is PCDATA, and it is not
11976         valid for context, but the paragraph (P) is valid for context,
11977         suggest to insert the P tag here.
11978         * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
11979         HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
11980         implied P tags here.
11981         * javax/swing/text/html/HTMLEditorKit.java (getParser):
11982         Get the custom parser, using HTML_401Swing.java DTD.
11983         * javax/swing/text/html/parser/ParserDelegator.java:
11984         Removed the obsolete note that HTMLEditorKit does not exist.
11985         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
11986         gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
11987
11988 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11989
11990         * javax/management/ListenerNotFoundException.java:
11991         New file.
11992         * javax/management/MBeanFeatureInfo.java:
11993         (hashCode()): Use summation instead of multiplication
11994         for consistency with other classes.
11995         * javax/management/MBeanNotificationInfo.java,
11996         * javax/management/Notification.java,
11997         * javax/management/NotificationBroadcaster.java,
11998         * javax/management/NotificationEmitter.java,
11999         * javax/management/NotificationFilter.java,
12000         * javax/management/NotificationListener.java:
12001         New files.
12002         * javax/management/OperationsException.java:
12003         (serialVersionUID): Added.
12004         
12005 2006-07-16  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
12006             Mark Wielaard  <mark@klomp.org>
12007
12008         * java/io/PrintStream.java: Added four constructors, for File and
12009         String describing a filename with or without explicit encoding.
12010
12011 2006-07-16  Sven de Marothy  <sven@physto.se>
12012
12013         * javax/rmi/ssl/SslRMIServerSocketFactory.java,
12014         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12015         New files.
12016
12017 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12018
12019         PR Classpath/28391
12020         * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)): 
12021         New method.
12022         (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
12023         (setProviderClassNameParam): Made private.
12024         (setKeystoreTypeParam): Likewise.
12025         (setKeyPasswordParam): Likewise
12026         (setKeystorePasswordParam): Likewise.
12027         (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
12028         create or not the keystore if it's not there, and the second is the store's
12029         password to process before loading the keystore. Amended the code
12030         accordingly.
12031         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
12032         setKeyStoreParams(5) with true as its first argument.
12033         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
12034         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
12035
12036 2006-07-16  Sven de Marothy  <sven@physto.se>
12037
12038         * java/util/UUID.java: New file.
12039
12040 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12041
12042         * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
12043         * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
12044         * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
12045         * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
12046         * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
12047         * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
12048         * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
12049         added Key Wrapping Algorithm SPIs.
12050
12051 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12052
12053         * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
12054         wrapping/unwrapping to invoke their engineGetOutputSize.
12055
12056 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12057
12058         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
12059         (engineInit): If a SecureRandom was specified then use it.
12060         (nextRandomBytes): New method.
12061         (engineWrap): Use above method.
12062         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
12063         (getDefaultPRNG): New method.
12064         * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
12065         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
12066         New constant.
12067
12068 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12069
12070         * gnu/javax/crypto/jce/params/BlockCipherParameters.java
12071         (engineGetParameterSpec): Should be able to return an IvParameterSpec.
12072
12073 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12074
12075         * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
12076         offset into consideration.
12077
12078 2006-07-16  Mario Torre  <neugens@limasoftware.net>
12079
12080         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
12081         Fixed comment. This functions now requires to be called
12082         with gdk lock held, the comment states that.
12083         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
12084         Introduces gdk locks around critical regions of code.
12085         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
12086         Likewise.
12087         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
12088         Likewise.
12089         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
12090         Likewise.
12091         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12092         Likewise.
12093         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12094         Likewise.
12095         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12096         Likewise.
12097         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
12098         Likewise.
12099         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
12100         Likewise.
12101         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12102         Likewise.
12103         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
12104         * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
12105
12106 2006-07-15  Sven de Marothy  <sven@physto.se>
12107
12108         * javax/swing/JFileChooser.java
12109         Change default selection mode to FILES_ONLY.
12110         * javax/swing/plaf/basic/BasicDirectoryModel.java
12111         Document, fix selection mode filtering.
12112         (renameFile): Implement
12113         * javax/swing/plaf/basic/BasicFileChooserUI.java
12114         (selectedDir): New field to handle selected directories,
12115         disallow selecting of directories in FILES_ONLY mode.
12116         * javax/swing/plaf/metal/MetalFileChooserUI.java:
12117         (EditingActionListener.actionPerformed):
12118         Stop editing on all actions (e.g. return-key press)
12119
12120 2006-07-15  Mark Wielaard  <mark@klomp.org>
12121
12122         * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
12123         to code.
12124         (JNI Implementation): Mark JVMTI Implementation as next.
12125         (JVMTI Implementation): Mark JNI Implementation as prev.
12126
12127 2006-07-15  Mark Wielaard  <mark@klomp.org>
12128
12129         * include/Makefile.am: Remove
12130         include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
12131         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
12132         * native/jni/gtk-peer/Makefile.am: Remove
12133         gnu_java_awt_peer_gtk_GdkTextLayout.c
12134         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
12135         Removed.
12136
12137         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
12138
12139 2006-07-15  Mark Wielaard  <mark@klomp.org>
12140
12141         * autogen.sh: Recognize autoconf 2.60.
12142
12143 2006-07-15  Keith Seitz  <keiths@redhat.com>
12144
12145         * NEWS: Update for JVMTI and jvmti.h.
12146         * doc/vmintegration.texinfo: Likewise.
12147         * include/jvmti.h: New file.
12148
12149 2006-07-15  Mark Wielaard  <mark@klomp.org>
12150
12151         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12152         Removed C++ style comment.
12153
12154 2006-07-15  Sven de Marothy  <sven@physto.se>
12155
12156         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
12157         * java/awt/MouseInfo.java,
12158         * java/awt/PointerInfo.java,
12159         * java/awt/peer/MouseInfoPeer.java:
12160         New files.
12161
12162         * java/awt/Image.java
12163         (accelerationPriority): New field.
12164         (setAccelerationPriority, getAccelerationPriority): New methods..
12165
12166         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
12167         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
12168         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
12169         (getMouseCoordinates): New method.
12170
12171         * gnu/java/awt/peer/gtk/GtkFramePeer.java
12172         (updateAlwaysOnTop): Remove stub overload.
12173
12174         * gnu/java/awt/ClasspathToolkit.java,
12175         * gnu/java/awt/peer/gtk/GtkToolkit.java,
12176         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
12177         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12178         (getMouseInfoPeer): New method.
12179         (getMouseNumberOfButtons): New method.
12180         
12181         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
12182         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
12183         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12184         (gtkWindowSetAlwaysOnTop): New method.
12185         (updateAlwaysOnTop): Implement.
12186
12187         * java/awt/Toolkit.java,
12188         (getMouseInfoPeer): New method.
12189
12190         * java/awt/Window.java
12191         (alwaysOnTop): New field.
12192         (isAlwaysOnTop, setAlwaysOnTop): New methods.
12193
12194         * java/awt/peer/WindowPeer.java: Doc fix.
12195
12196 2006-07-14  Sven de Marothy  <sven@physto.se>
12197
12198         * java/awt/font/TextLayout.java:
12199         (hitTestChar): Stub method.
12200         * java/awt/font/TextMeasurer.java:
12201         (getLayout): Throw exception on invalid argument.
12202         
12203 2006-07-14  Sven de Marothy  <sven@physto.se>
12204
12205         * java/awt/image/DataBuffer.java
12206         (DataBuffer): Call constructors in the correct order,
12207         
12208 2006-07-14  Mark Wielaard  <mark@klomp.org>
12209
12210         Revert to previous implementation.
12211         * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
12212         constraints insets.
12213
12214 2006-07-14  Roman Kennke  <kennke@aicas.com>
12215
12216         * gnu/java/awt/peer/x/XToolkit.java
12217         (XToolkit): Install properties to SystemProperties
12218         rather than System, to avoid SecurityManager.
12219         (getImage(String)): Return error image when string is invalid.
12220         (createImage(URL)): Moved image loading to helper method.
12221         (createImage(ImageProducer)): Implemented.
12222         (createImage(byte[],int,int)): Implemented.
12223         (createImage(InputStream)): New helper method.
12224
12225 2006-07-14  Tania Bento  <tbento@redhat.com>
12226
12227         * java/awt/FlowLayout.java
12228         (setHgap): No Excpetion should be thrown if hgap has
12229         a negative value.
12230         (setVgap): No Exception should be thrown if vgap has
12231         a negative value.
12232
12233 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12234
12235         * java/awt/image/MultiPixelPackedSampleModel.java: 
12236         Added API docs all over.
12237
12238 2006-07-14  Matt Wringe  <mwringe@redhat.com>
12239
12240         * gnu/javax/crypto/jce/cipher/CipherAdapter.java 
12241         (engineInit): Throw InvalidAlgorithmParameterException
12242         for invalid IVParameterSpec IV length.
12243
12244 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12245
12246         * java/awt/image/MultiPixelPackedSampleModel.java
12247         (createDataBuffer): Include dataBitOffset in calculating the size for
12248         the data buffer.
12249
12250 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12251
12252         * java/awt/image/MultiPixelPackedSampleModel.java
12253         (getSampleSize()): Return a copy of the array,
12254         (getTransferType()): New method override.
12255
12256 2006-07-14  Roman Kennke  <kennke@aicas.com>
12257
12258         * java/awt/CardLayout.java
12259         (show): Validate parent to make sure that the layout is
12260         valid.
12261
12262 2006-07-14  Roman Kennke  <kennke@aicas.com>
12263
12264         * java/awt/Component.java
12265         (enable): Added tree locking.
12266         (disable): Added tree locking.
12267         (show): Added tree locking.
12268         (hide): Added tree locking.
12269         (getLocationOnScreen): Added tree locking.
12270         (reshape): Added tree locking.
12271         (addHierarchyListener): Added tree locking.
12272         (removeHierarchyListener): Added tree locking.
12273         (addHierarchyBoundsListener): Added tree locking.
12274         (removeHierarchyBoundsListener): Added tree locking.
12275         (addNotify): Added tree locking.
12276         (removeNotify): Added tree locking.
12277         * java/awt/Container.java
12278         (invalidateTree): Added tree locking.
12279         (getAlignmentX): Added tree locking.
12280         (getAlignmentY): Added tree locking.
12281         (addNotify): Added tree locking.
12282         (setComponentZOrder): Added tree locking.
12283         (getComponentZOrder): Added tree locking.
12284
12285 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12286
12287         * java/awt/image/MultiPixelPackedSampleModel.java
12288         (createSubsetSampleModel): Restored argument check, but let null
12289         through.
12290
12291 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12292
12293         * java/awt/image/MultiPixelPackedSampleModel.java
12294         (createSubsetSampleModel): Removed argument check.
12295
12296 2006-07-14  Roman Kennke  <kennke@aicas.com>
12297
12298         * java/awt/Component.java
12299         (numHierarchyListeners): New field.
12300         (numHierarchyBoundsListeners): New field.
12301         (show): Fire hierarchy events here. Only fire component event
12302         if there is actually a listener for it.
12303         (hide): Fire hierarchy events here. Only fire component event
12304         if there is actually a listener for it.
12305         (reshape): Fire hierarchy events here. Only fire component event
12306         if there is actually a listener for it.
12307         (addHierarchyListeners): Update listener counters.
12308         (removeHierarchyListeners): Update listener counters.
12309         (addHierarchyBoundsListeners): Update listener counters.
12310         (removeHierarchyBoundsListeners): Update listener counters.
12311         (fireHierarchyEvent): New helper method for firing hierarchy
12312         events.
12313         * java/awt/Container.java
12314         (addImpl): Update listener counters. Fire hierarchy event.
12315         (remove): Update listener counters. Fire hierarchy event.
12316         (fireHierarchyEvent): New helper method for firing hierarchy
12317         events.
12318         (updateHierarchyListenerCount): New helper method for
12319         updating the listener counters.
12320
12321 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12322
12323         * java/awt/image/MultiPixelPackedSampleModel.java
12324         (equals): New method override,
12325         (hashCode): Likewise.
12326
12327 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12328
12329         * java/awt/image/MultiPixelPackedSampleModel.java
12330         (MultiPixelPackedSampleModel(int, int, int, int, int, int)): 
12331         Corrected scanlineStride calculation.
12332
12333 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
12334
12335         * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
12336         (AES_KWA): Likewise.
12337         (AES128_KWA): Likewise.
12338         (AES192_KWA): Likewise.
12339         (AES256_KWA): Likewise.
12340         (RIJNDAEL_KWA): Likewise.
12341         (TRIPLEDES_KWA): Likewise.
12342         (DESEDE_KWA): Likewise.
12343         * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
12344         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
12345         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
12346         * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
12347         * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
12348         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
12349
12350 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
12351
12352         * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
12353         (PADDING_BLOCK_SIZE): New constant.
12354         (init(Map attributes)): New method.
12355         * gnu/javax/crypto/pad/BasePad.java (init): New method.
12356
12357 2006-07-14  Mario Torre  <neugens@limasoftware.net>
12358
12359         * gnu/java/security/OID.java (OID): Private Constructor removed as
12360         it is not needed anymore.
12361         (clone): Fixed. Now uses super.clone instead of the private
12362         constructor as per specification of clone method.
12363         (serialVersionUID): added new field to allow serialization.
12364
12365 2006-07-13  Sven de Marothy  <sven@physto.se>
12366
12367         * gnu/javax/imageio/gif/GIFImageReader.java
12368         (read): Remove old debugging trace.
12369
12370 2006-07-13  Andreas Tobler  <a.tobler@schweiz.ch>
12371
12372         PR awt/28369:
12373         * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12374         blue mask.
12375
12376 2006-07-13  Roman Kennke  <kennke@aicas.com>
12377
12378         * java/awt/Component.java
12379         (DEFAULT_MAX_SIZE): New static constant.
12380         (preferredSize): Return copy of the actual value computed
12381         by new helper method.
12382         (preferredSizeImpl): New helper method. Adds locking and
12383         correct handling of cached value.
12384         (minimumSize): Return copy of the actual value computed
12385         by new helper method.
12386         (minimumSizeImpl): New helper method. Adds locking and
12387         correct handling of cached value.
12388         (getMaximumSize):  Return copy of the actual value computed
12389         by new helper method.
12390         (maximumSizeImpl): New helper method. Adds locking and
12391         correct handling of cached value.
12392         (invalidate): Correct handling of cached layout information.
12393         Added locking.
12394         * java/awt/Container.java
12395         (preferredSize): Minimized locking. Corrected handling of cached
12396         values. Return copy of real value.
12397         (minimumSize): Minimized locking. Corrected handling of cached
12398         values. Return copy of real value.
12399         (getMaximumSize): Minimized locking. Corrected handling of cached
12400         values. Return copy of real value.
12401         
12402 2006-07-13  Tania Bento  <tbento@redhat.com>
12403
12404         * gnu/java/awt/peer/ClasspathFontPeer.java
12405         (isLogicalFontName): Return true if name == default.
12406         (logicalFontNameToFaceName): Check if name == default,
12407         and if so, return "Dialog.plain".
12408         (setStandardAttributes(String, Map)): If name == null, 
12409         it should be set to "Default", not "SansSerif".
12410         * java/awt/Canvas.java
12411         (generateName): Fixed documentation.
12412         * java/awt/CheckboxMenuItem.java
12413         Added static variable "next_chkmenuitem_number".
12414         (generateName): Added and implemented method.
12415         (getUniqueLong): Likewise.
12416         * java/awt/Choice.java
12417         Added static variable "next_choice_number".
12418         (generateName): Added and implemented method.
12419         (getUniqueLong): Likewise.
12420         * java/awt/Cursor.java
12421         (Cursor(int)): Set name depending on the type passed.
12422         * java/awt/List.java
12423         Added static variable "next_list_number".
12424         (generateName): Added and implemented method.
12425         (getUniqueLong): Likewise.
12426         * java/awt/Menu.java
12427         Added static variable "next_menu_number".
12428         (generateName): Added and implemented method.
12429         (getUniqueLong): Likewise.
12430         * java/awt/MenuBar.java
12431         Added static variable "next_menubar_number".
12432         (generateName): Added and implemented method.   
12433         (getUniqueLong): Likewise.
12434         * java/awt/MenuComponent.java
12435         (getName): Before returning name, check if name == null
12436         and name is not explicity set.  If this is the case,    
12437         name will be generated.
12438         (generateName): Added and implemented method.   
12439         * java/awt/MenuItem.java
12440         Added static variable "next_menuitem_number".
12441         (generateName): Added and implemented method.   
12442         (getUniqueLong): Likewise.
12443         * java/awt/PopupMenu.java
12444         Added static variable "next_popup_number".
12445         (generateName): Added and implemented method.
12446         (getUniqueLong): Likewise.
12447         * java/awt/ScrollPane.java
12448         Added static variable "next_scrollpane_number".
12449         (generateName): Added and implemented method.
12450         (getUniqueLong): Likewise.
12451         * java/awt/TextField.java
12452         Added static variable "next_textfield_number".
12453         (generateName): Added and implemented method.
12454         (getUniqueLong): Likewise.
12455
12456
12457 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12458
12459         * java/awt/image/SinglePixelPackedSampleModel.java
12460         (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12461         mask correctly as an unsigned integer,
12462         (equals): New method override.
12463
12464 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12465
12466         * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12467         insertAfterStart, insertBeforeEnd):  Removed stub markings.
12468
12469 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12470
12471         * java/awt/image/BandedSampleModel.java: API doc updates and source 
12472         code reformatting,
12473         * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12474
12475 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12476
12477         * java/awt/image/BandedSampleModel.java: API doc updates.
12478
12479 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12480
12481         * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack): 
12482         Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12483         HTMLReader.insertTag, HTMLReader.insertTagEncountered, 
12484         HTMLReader.pushDepth, HTMLReader.popDepth): Documented. 
12485         (HRMLReader.blockClose): Mind that parser stack may be empty. 
12486         (HTMLReader.handeComment, HTMLReader.handleStartTag,
12487         HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten. 
12488         (HTMLReader.shouldInsert): New method. (getElement(String)): 
12489         Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd, 
12490         insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12491         Implemented. (getInsertingReader): New method. 
12492         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12493         Added buttons to demonstrate the work of the insert actions.
12494
12495 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12496
12497         * java/awt/image/SampleModel.java: API doc updates and additions,
12498         * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12499
12500 2006-07-12  Sven de Marothy  <sven@physto.se>
12501
12502         * javax/swing/JFileChooser.java:
12503         (createDialog): Close operation should cause a cancel.
12504
12505 2006-07-12  Francis Kung  <fkung@redhat.com>
12506
12507         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12508         (cairoArc): New native method.
12509         (cairoRestore): New native method.
12510         (cairoSave): New native method.
12511         (cairoScale): New native method.
12512         (createPath): New method to centralize code from draw and fill.
12513         (draw): Modified to use createPath method.
12514         (fill): Modified to use createPath method.
12515         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added 
12516         function declarations.
12517         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12518         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New 
12519         method.
12520         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New 
12521         method.
12522         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New 
12523         method.
12524         
12525 2006-07-12  Tom Tromey  <tromey@redhat.com>
12526
12527         PR libgcj/27271:
12528         * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12529         on PartialInputStream.
12530         (PartialInputStream.dummyByteCount): New field.
12531         (PartialInputStream.fillBuffer): Handle dummy byte.
12532         (PartialInputStream.read): Likewise.
12533         (PartialInputStream.addDummyByte): New method.
12534
12535 2006-07-12  Mario Torre  <neugens@limasoftware.net>
12536
12537         * native/jni/gconf-peer/GConfNativePeer.c
12538         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12539         Fixed C++ style comment.
12540
12541 2006-07-12  David Gilbert  <david.gilbert@object-refinery.com>
12542
12543         * java/util/Arrays.java
12544         (asList): Updated API docs.
12545
12546 2006-07-11  Robert Schuster  <robertschuster@fsfe.org>
12547
12548         Fixes PR28350.
12549         * native/jni/gconf-peer/GConfNativePeer.c:
12550         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12551         Changed if-expression.
12552         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12553         Added check for _value not being NULL.
12554         
12555 2006-07-11  Roman Kennke  <kennke@aicas.com>
12556
12557         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12558         (read): Use fd when local sockets are disabled to make the
12559         compiler quite.
12560         (write): Likewise.
12561
12562 2006-07-11  Roman Kennke  <kennke@aicas.com>
12563
12564         * java/awt/image/MultiPixelPackedSampleModel.java
12565         (MultiPixelPackedSampleModel): Substract -1 so that the integer
12566         division gets rounded up.
12567
12568 2006-07-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12569
12570         * java/lang/management/ManageFactory.java:
12571         (getMemoryManagerMXBeans()): Use addAll, not add.
12572         
12573 2006-07-11  Vivek Lakshmanan  <vivekl@redhat.com>
12574
12575         PR 27649:
12576         * gnu/classpath/ByteArray.java: Removed (moved).
12577         * gnu/java/security/util/ByteArray.java: New File.
12578         * gnu/javax/crypto/RSACipherImpl.java: Reference 
12579         gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12580
12581 2006-07-11  Roman Kennke  <kennke@aicas.com>
12582
12583         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12584         (available): Pass fd as argument and avoid JNI class/field
12585         lookup.
12586         (read): Likewise.
12587         (write): Likewise.
12588         * include/gnu_java_net_local_LocalSocketImpl.h:
12589         Regenerated.
12590         * gnu/java/net/local/LocalSocketImpl.h
12591         (available): Pass fd as argument and avoid JNI class/field
12592         lookup.
12593         (read): Likewise.
12594         (write): Likewise.      
12595
12596 2006-07-11  Sven de Marothy  <sven@physto.se>
12597
12598         * gnu/javax/sound/sampled/AU/AUReader.java:
12599         Correct file extension from .as to .au.
12600
12601 2006-07-11  Sven de Marothy  <sven@physto.se>
12602
12603         * gnu/javax/sound/sampled/AU/AUReader.java:
12604         New file.
12605         * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
12606         Added new provider.
12607
12608 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12609
12610         * javax/swing/JTable.java
12611         (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12612         (setColumnSelectionAllowed): Likewise.
12613
12614 2006-07-10  Vivek Lakshmanan  <vivekl@redhat.com>
12615
12616         PR 27649:
12617         * gnu/classpath/debug/Simple1LineFormatter.java: Use
12618         AccessController.doPrivileged instead of SystemProperties.getProperty.
12619         * gnu/classpath/debug/SystemLogger.java: Likewise.
12620         * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12621         repeated getProperty calls for "file.seperator".
12622         (refresh): Since already in privileged block, call System.getProperty
12623         instead of SystemProperties.getProperty.
12624         * gnu/java/security/key/dss/DSSKey.java
12625         (toString): Use AccessController.doPrivileged instead of
12626         SystemProperties.getProperty.
12627         * gnu/java/security/key/dss/DSSPrivateKey.java
12628         (toString): Likewise.
12629         * gnu/java/security/key/dss/DSSPublicKey.java
12630         (toString): Likewise.
12631         * gnu/java/security/key/rsa/GnuRSAKey.java
12632         (toString): Likewise.
12633         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12634         (toString): Likewise.
12635         * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12636         (toString): Likewise.
12637         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12638         * gnu/javax/crypto/key/dh/GnuDHKey.java 
12639         (toString): Likewise.
12640         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java 
12641         (toString): Likewise.
12642         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java 
12643         (toString): Likewise.
12644
12645 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12646
12647         * javax/swing/AbstractButton.java
12648         (disabledIcon): Fixed name (was 'disabeldIcon'),
12649         (getDisabledIcon): Updated for corrected field name,
12650         (setDisabledIcon): Fire a PropertyChangeEvent.
12651
12652 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12653
12654         * javax/swing/DefaultBoundedRangeModel.java
12655         (readObject): New private method,
12656         (writeObject): Likewise.
12657
12658 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12659
12660         * javax/swing/ButtonGroup.java
12661         (add): Ignore null argument,
12662         (remove): Ignore null argument.  If removing selected button, clear the
12663         sel field,
12664         (findButton): Changed case for method name, and documented,
12665         (setSelected): Updated for modification to findButton() method name,
12666         (isSelected): Updated API docs.
12667
12668 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12669
12670         * java/awt/image/BufferedImage.java
12671         (BufferedImage(int, int, int)): Use correct color space for 
12672         TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an 
12673         IllegalArgumentException for an unrecognised type.
12674
12675 2006-07-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12676
12677         * java/lang/management/ManagementFactory.java:
12678         (getMemoryPoolMXBeans): Genericized fully.
12679         (getMemoryManagerMXBeans): Likewise.
12680         (getGarbageCollectorMXBeans): Likewise.
12681         
12682 2006-07-10  Tom Tromey  <tromey@redhat.com>
12683
12684         * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12685         Genericized.
12686         (getMemoryManagerMXBeans): Likewise.
12687         (getGarbageCollectorMXBeans): Likewise.
12688
12689 2006-07-10  Mario Torre  <neugens@limasoftware.net>
12690
12691         * java/awt/BasicStroke.java: Removed unused import.
12692         * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed. 
12693         * gnu/java/awt/java2d/LineSegment.java (clone): Fixed. 
12694         * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12695
12696 2006-07-10  Matt Wringe  <mwringe@redhat.com>
12697
12698         PR classpath/28212:
12699         * javax/crypto/spec/SecretKeySpec.java 
12700         (equals): Check object type. 
12701
12702 2006-07-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12703
12704         * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12705         communication/StructureToPassHelper.java,
12706         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12707         communication/StructureToReturnHelper.java,
12708         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12709         communication/TreeNodeHelper.java,
12710         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12711         communication/WeThrowThisExceptionHelper.java,
12712         gnu/CORBA/ForwardRequestHelper.java,
12713         org/omg/CORBA/CompletionStatusHelper.java,
12714         org/omg/CORBA/CurrentHelper.java,
12715         org/omg/CORBA/DefinitionKindHelper.java,
12716         org/omg/CORBA/IDLTypeHelper.java,
12717         org/omg/CORBA/NameValuePairHelper.java,
12718         org/omg/CORBA/ObjectHelper.java,
12719         org/omg/CORBA/ParameterModeHelper.java,
12720         org/omg/CORBA/PolicyErrorCodeHelper.java,
12721         org/omg/CORBA/PolicyErrorHelper.java,
12722         org/omg/CORBA/PolicyHelper.java,
12723         org/omg/CORBA/PolicyListHelper.java,
12724         org/omg/CORBA/PolicyTypeHelper.java,
12725         org/omg/CORBA/ServiceDetailHelper.java,
12726         org/omg/CORBA/ServiceInformationHelper.java,
12727         org/omg/CORBA/SetOverrideTypeHelper.java,
12728         org/omg/CORBA/StringValueHelper.java,
12729         org/omg/CORBA/UnionMemberHelper.java,
12730         org/omg/CORBA/UnknownUserExceptionHelper.java,
12731         org/omg/CORBA/VisibilityHelper.java,
12732         org/omg/CORBA/WStringValueHelper.java,
12733         org/omg/CORBA/WrongTransactionHelper.java,
12734         org/omg/CosNaming/BindingHelper.java,
12735         org/omg/CosNaming/BindingIteratorHelper.java,
12736         org/omg/CosNaming/BindingListHelper.java,
12737         org/omg/CosNaming/BindingTypeHelper.java,
12738         org/omg/CosNaming/NameComponentHelper.java,
12739         org/omg/CosNaming/NameHelper.java,
12740         org/omg/CosNaming/NamingContextExtHelper.java,
12741         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12742         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12743         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12744         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12745         org/omg/CosNaming/NamingContextHelper.java,
12746         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12747         org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12748         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12749         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12750         org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12751         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12752         org/omg/DynamicAny/AnySeqHelper.java,
12753         org/omg/DynamicAny/DynAnyFactoryHelper.java,
12754         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12755         org/omg/DynamicAny/DynAnyHelper.java,
12756         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12757         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12758         org/omg/DynamicAny/DynAnySeqHelper.java,
12759         org/omg/DynamicAny/DynArrayHelper.java,
12760         org/omg/DynamicAny/DynEnumHelper.java,
12761         org/omg/DynamicAny/DynFixedHelper.java,
12762         org/omg/DynamicAny/DynSequenceHelper.java,
12763         org/omg/DynamicAny/DynStructHelper.java,
12764         org/omg/DynamicAny/DynUnionHelper.java,
12765         org/omg/DynamicAny/DynValueHelper.java,
12766         org/omg/DynamicAny/NameDynAnyPairHelper.java,
12767         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12768         org/omg/DynamicAny/NameValuePairHelper.java,
12769         org/omg/DynamicAny/NameValuePairSeqHelper.java,
12770         org/omg/IOP/CodecFactoryHelper.java,
12771         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12772         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12773         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12774         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12775         org/omg/IOP/ComponentIdHelper.java,
12776         org/omg/IOP/IORHelper.java,
12777         org/omg/IOP/MultipleComponentProfileHelper.java,
12778         org/omg/IOP/ProfileIdHelper.java,
12779         org/omg/IOP/ServiceContextHelper.java,
12780         org/omg/IOP/ServiceContextListHelper.java,
12781         org/omg/IOP/ServiceIdHelper.java,
12782         org/omg/IOP/TaggedComponentHelper.java,
12783         org/omg/IOP/TaggedProfileHelper.java,
12784         org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12785         org/omg/PortableInterceptor/AdapterNameHelper.java,
12786         org/omg/PortableInterceptor/AdapterStateHelper.java,
12787         org/omg/PortableInterceptor/CurrentHelper.java,
12788         org/omg/PortableInterceptor/ForwardRequestHelper.java,
12789         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12790         org/omg/PortableInterceptor/InvalidSlotHelper.java,
12791         org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12792         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12793         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12794         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12795         org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12796         org/omg/PortableServer/CurrentHelper.java,
12797         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12798         org/omg/PortableServer/ForwardRequestHelper.java,
12799         org/omg/PortableServer/POAHelper.java,
12800         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12801         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12802         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12803         org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12804         org/omg/PortableServer/POAPackage/NoServantHelper.java,
12805         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12806         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12807         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12808         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12809         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12810         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12811         org/omg/PortableServer/ServantActivatorHelper.java,
12812         org/omg/PortableServer/ServantLocatorHelper.java: Remove the 
12813         typecode caching and always use OrbRestricted.Singleton.
12814
12815 2006-07-09  Tom Tromey  <tromey@redhat.com>
12816
12817         * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12818
12819 2006-07-09  Mark Wielaard  <mark@klomp.org>
12820
12821         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12822         New static final boolean field.
12823         (getComponentGraphics): Use hasXRenderExtension.
12824         (setClip): Override method for locking.
12825
12826 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
12827
12828         * javax/swing/AbstractButton.java
12829         (setHorizontalTextPosition): Added check for illegal argument,
12830         (setVerticalTextPosition): Likewise.
12831
12832 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
12833
12834         * javax/swing/Timer.java
12835         (setDelay): Throw IllegalArgumentException for negative delay,
12836         (setInitialDelay): Likewise,
12837         * javax/swing/ToolTipManager.java
12838         (setInitialDelay): Document IllegalArgumentException,
12839         (setDismissDelay): Likewise,
12840         (setReshowDelay): Likewise.
12841
12842 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12843
12844         * java/lang/management/MemoryUsage.java:
12845         (from(javax.management.openmbean.CompositeData)):
12846         Implemented.
12847         * java/lang/management/ThreadInfo.java:
12848         Changed to use open types throughout for the state.
12849         (ThreadInfo(long,String,String,long,long,String,
12850         long,String,long,long,boolean,StackTraceElement[])):
12851         New constructor.
12852         (checkAttribute(javax.management.openmbean.CompositeType,
12853         String, javax.management.openmbean.OpenType)): New method.
12854         (from(javax.management.openmbean.CompositeData)):
12855         Implemented.
12856         (getLockName()): Fixed to use new variable.
12857         (getLockOwnerId()): Likewise.
12858         (getLockOwnerName()): Likewise.
12859         (getThreadId()): Likewise.
12860         (getThreadName()): Likewise.
12861         (getThreadState()): Likewise.
12862         (toString()): Refactored to use new variables.
12863         * javax/management/openmbean/ArrayType.java:
12864         New file.
12865         * javax/management/openmbean/CompositeType.java:
12866         Variables should be transient, not volatile.
12867         * javax/management/openmbean/OpenDataException.java:
12868         (serialVersionUID): Added.
12869         * javax/management/openmbean/SimpleType.java:
12870         New file.
12871         * javax/management/openmbean/TabularType.java
12872         Variables should be transient, not volatile.
12873
12874 2006-07-09  Tom Tromey  <tromey@redhat.com>
12875
12876         * tools/.cvsignore: Updated for new tools.
12877
12878 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12879
12880         * javax/management/openmbean/CompositeData.java,
12881         * javax/management/openmbean/CompositeType.java,
12882         * javax/management/openmbean/OpenDataException.java,
12883         * javax/management/openmbean/OpenType.java,
12884         * javax/management/openmbean/TabularData.java,
12885         * javax/management/openmbean/TabularType.java,
12886         * javax/management/openmbean/package.html:
12887         New files.
12888
12889 2006-07-09  Mark Wielaard  <mark@klomp.org>
12890
12891         * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12892         * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12893         * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12894
12895 2006-07-08  Anthony Green  <green@redhat.com>
12896
12897         * gnu/javax/sound/sampled/WAV/WAVReader.java,
12898         resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
12899         New files.
12900
12901 2006-07-09  Mario Torre  <neugens@limasoftware.net>
12902
12903         * native/jni/gconf-peer/GConfNativePeer.c:
12904         Fixed indentation to be more compliant to the GNU coding
12905         guidelines.
12906         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12907         Added explicit test for errors in the GConf backend.
12908         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12909         Added explicit test for errors in the GConf backend.
12910         Fixed Segmentation Fault when non valid key names are given as input.
12911         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12912         likewise.
12913         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12914         Added explicit test for errors in the GConf backend.
12915         * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12916         Added javadoc comments for all native methods.
12917         (nodeExist): removed test to check for valid absolute path name
12918         for nodes.
12919         (startWatchingNode): likewise.
12920         (stopWatchingNode): likewise.
12921         (setString): likewise, plus fixed javadoc comments.
12922         (unset): likekwise.
12923         (getKey): likewise.
12924         (getKeys): likewise, also fixed javadoc comments.
12925         (getChildrenNodes): likewise.
12926         * gnu/java/util/prefs/GConfBasedPreferences.java:
12927         changed DEFAULT_USER_ROOT to /apps/classpath.
12928         (constructor): Test to check for a valid absolute path for nodes
12929         is now in the contructor for that node, instead of being on
12930         each method of the backend.
12931         (getGConfKey): removed empty new line.
12932
12933 2006-07-08  Mark Wielaard  <mark@klomp.org>
12934
12935         * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12936
12937 2006-07-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12938
12939         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12940         Handle the forced break in the same way as exceeding the
12941         available row space.
12942         * javax/swing/text/html/HRuleView.java: Rewritten.
12943         * javax/swing/text/html/HTMLDocument.java 
12944         (HTMLReader.addSpecialElement):Reserve two characters for
12945         the special elements.
12946         * examples/gnu/classpath/examples/swing/HtmlDemo.java
12947         (text): Extended the HTML example to parse.
12948
12949 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12950
12951         * javax/swing/AbstractButton.java
12952         (setHorizontalAlignment): Check for illegal argument,
12953         (setVerticalAlignment): Likewise.
12954
12955 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12956
12957         * javax/swing/text/html/TableView.java
12958         (getStyleSheet): New method. (RowView.getStyleSheet):
12959         New method.
12960
12961 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12962
12963         * javax/swing/AbstractButton.java
12964         (setRolloverIcon): Call setRolloverEnabled(true),
12965         (setRolloverSelectedIcon): Likewise.
12966
12967 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12968
12969         * javax/swing/border/TitledBorder.java
12970         (setTitlePosition): Added message to exception,
12971         (setTitleJustification): Likewise.
12972
12973 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12974
12975         * javax/swing/plaf/metal/MetalLookAndFeel.java
12976         (createDefaultTheme): Corrected API docs,
12977         (initComponentDefaults): Added entry for 'TitledBorder.border',
12978         (getCurrentTheme): Initialise theme if it is null.
12979
12980 2006-07-07  Roman Kennke  <kennke@aicas.com>
12981
12982         * java/awt/Component.java
12983         (isValid): Return false when component has no peer,
12984         don't query the showing state.
12985
12986 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12987
12988         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12989         Advance the offset also in the case of the enforced break.
12990
12991 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12992
12993         * javax/swing/plaf/basic/BasicArrowButton.java
12994         (MAXIMUM_SIZE): Removed field,
12995         (MINIMUM_SIZE): Likewise,
12996         (PREFERRED_SIZE): Likewise,
12997         (getMaximumSize): Return new instance every time,
12998         (getMinimumSize): Likewise,
12999         (getPreferredSize): Likewise.
13000
13001 2006-07-07  Roman Kennke  <kennke@aicas.com>
13002
13003         * java/awt/LightweightDispatcher.java
13004         (findTarget):  Avoid array copying in
13005         Container.getComponents().
13006
13007 2006-07-07  Roman Kennke  <kennke@aicas.com>
13008
13009         * javax/swing/JComponent.java
13010         (paintChildrenWithOverlap): Avoid array copying in
13011         Container.getComponents().
13012         (paintChildrenOptimized): Avoid array copying in
13013         Container.getComponents().
13014         (fireAncestorEvent):  Avoid array copying in
13015         Container.getComponents().
13016         (findOverlapFreeParent): Avoid array copying in
13017         Container.getComponents().
13018
13019 2006-07-07  Matt Wringe <mwringe@redhat.com>
13020
13021         * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
13022         (passwordValid): New field.
13023         (setPassword): New method.
13024         (setSalt): Likewise.
13025         (setIterationCount): Likewise.
13026         (setKeyLength): Likewise.
13027         (PBEKeySpec(char[])): Use new setter methods.
13028         (PBEKeySpec(char[], byte[], int)): Likewise.
13029         (PBEKeySpec(char[], byte[], int, int)): Likewise.
13030         (clearPassword): Set passwordValid to false.
13031         (getPassword): Check that clearPassword() was not called earlier.
13032         Return a clone of the password.
13033         (getSalt): Return a clone of the salt if it was not null.
13034
13035 2006-07-07  Roman Kennke  <kennke@aicas.com>
13036
13037         * java/awt/Component.java
13038         (isValid): Always return false when component is
13039         not showing.
13040         (setFont): Always set font, even when setting
13041         the same or equal font again.
13042
13043 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13044
13045         * javax/swing/plaf/metal/MetalIconFactory.java
13046         (CheckBoxMenuItemIcon): Implement UIResource,
13047         (FileChooserDetailViewIcon): Likewise,
13048         (FileChooserHomeFolderIcon): Likewise,
13049         (FileChooserListViewIcon): Likewise,
13050         (FileChooserNewFolderIcon): Likewise,
13051         (FileChooserUpFolderIcon): Removed redundant 'implements',
13052         (RadioButtonMenuItemIcon): Implement UIResource,
13053         (HorizontalSliderThumbIcon): Likewise,
13054         (InternalFrameCloseIcon): Likewise,
13055         (InternalFrameDefaultMenuIcon): Likewise,
13056         (InternalFrameAltMaximizeIcon): Likewise,
13057         (InternalFrameMaximizeIcon): Likewise,
13058         (InternalFrameMinimizeIcon): Likewise,
13059         (VerticalSliderThumbIcon): Likewise,
13060         (TreeHardDriveIcon): Likewise,
13061         (TreeFloppyDriveIcon): Likewise,
13062         (TreeComputerIcon): Likewise,
13063         (horizontalSliderThumbIcon): New field,
13064         (verticalSliderThumbIcon): New field,
13065         (getHorizontalSliderThumbIcon): Cache icon,
13066         (getVerticalSliderThumbIcon): Likewise.
13067
13068 2006-07-06  Mark Wielaard  <mark@klomp.org>
13069
13070         * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
13071         (DISTCLEANFILES): Add standard.omit.
13072         (clean-local): Remove Makefile.deps, only remove dirs.
13073
13074 2006-07-06  Roman Kennke  <kennke@aicas.com>
13075
13076         * java/awt/Component.java
13077         (setFont): Only invalidate when component is valid.
13078         * java/awt/Container.java
13079         (setLayout): Only invalidate when component is valid.
13080
13081 2006-07-06  Lillian Angel  <langel@redhat.com>
13082
13083         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
13084         New class not fully implemented.
13085         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
13086         New class not fully implemented.
13087         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
13088         New class not fully implemented.
13089         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
13090         New class not fully implemented.
13091         * nu/java/awt/peer/gtk/GtkToolkit.java:
13092         Fixed Imports.
13093         (createDragSourceContextPeer): Implemented.
13094         (createDragGestureRecognizer): New function to override
13095         java.awt.Toolkit.createDragGestureRecognizer.
13096         * java/awt/dnd/DragSource.java
13097         (NoDragGestureRecognizer): Removed inner class.
13098         (createDragGestureRecognizer): Re-Implemented to 
13099         call Toolkit's createDragGestureRecognizer.
13100         (createDefaultDragGestureRecognizer): Re-Implemented to
13101         call Toolkit's createDragGestureRecognizer.
13102         * java/awt/dnd/DropTarget.java
13103         (addNotify): Added check to determine type of peer and call
13104         addDropTarget.
13105         (removeNotify): Added call to removeDropTarget.
13106
13107 2006-07-06  Tom Tromey  <tromey@redhat.com>
13108
13109         * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
13110         'queue'.
13111         (run): Wait on queue, not 'this'.
13112
13113 2006-07-06  Lillian Angel  <langel@redhat.com>
13114
13115         * java/awt/dnd/DragSource.java
13116         (startDrag): Implemented. Added comments describing
13117         what the function should do. Removed FIXME.
13118
13119 2006-07-06  Tania Bento  <tbento@redhat.com>
13120         
13121         * gnu/java/awt/Canvas.java
13122         Added new private variable 'next_canvas_number'.
13123         (generateName): Added.
13124         (getUniqueLong): Added.
13125
13126 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13127
13128         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
13129         (getColor): Made public.
13130         * javax/swing/text/html/StyleSheet.java (stringToColor):
13131         Use CharacterAttributeTranslator.getColor(String)
13132
13133 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13134
13135         * javax/swing/text/html/HTMLEditorKit.java:
13136         (HTMLFactory.createElement): Update reference to the html table view.
13137         * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
13138         * javax/swing/text/html/TableView.java: New file.
13139
13140 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13141
13142         * javax/swing/text/html/HTMLEditorKit.java: 
13143         (HTMLFactory.createElement): Uncomment
13144         code for BRView and HRuleView.
13145         * javax/swing/text/html/BRView.java,
13146         javax/swing/text/html/HRuleView.java: New files.
13147
13148 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13149
13150         * java/lang/Thread.java:
13151         (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
13152         Added generic type signature.
13153
13154 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13155
13156         * NEWS: Updated.
13157         * doc/vmintegration.texinfo: Likewise.
13158         * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
13159         * examples/gnu/classpath/examples/management/TestMemoryManager.java,
13160         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
13161         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
13162         * java/lang/management/GarbageCollectorMXBean.java:
13163         New files.
13164         * java/lang/management/ManagementFactory.java:
13165         (getGarbageCollectorMXBeans()): Implemented.
13166         (getMemoryManagerMXBeans()): Likewise.
13167         * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
13168         * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
13169         New files.
13170         * vm/reference/java/lang/management/VMManagementFactory.java:
13171         (getMemoryManagerNames()): Added.
13172         (getGarbageCollectorNames()): Added.
13173         
13174 2006-07-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
13175
13176         * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
13177         from lib_LTLIBRARIES.
13178         (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
13179
13180 2006-07-05  Lillian Angel  <langel@redhat.com>
13181
13182         * java/awt/dnd/DragGestureEvent.java:
13183         Added new fields.
13184         (DragGestureEvent): Initialized new fields, added to check and 
13185         added documentation.
13186         (getSourceAsDragGestureRecognizer): Added documentation and 
13187         changed to use getSource.
13188         (getComponent): Added documentation and fixed to return the proper
13189         value.
13190         (getDragSource): Likewise.
13191         (getDragOrigin): Added documentation.
13192         (iterator): Implemented and added documentation.
13193         (toArray): Likewise.
13194         (toArray): Likewise.
13195         (getDragAction): Likewise.
13196         (getTriggerEvent): Likewise.
13197         (startDrag): Likewise.
13198         * java/awt/dnd/DragGestureRecognizer.java
13199         (resetRecognizer): Added FIXME.
13200         * java/awt/dnd/DragSource.java:
13201         Added new field.
13202         (DragSource): Set ds to be null if headless.
13203         (getDefaultDragSource): Added documentation and implemented.
13204         (isDragImageSupported): Marked as unimplemented.
13205         (startDrag): Likewise.
13206         (createDragSourceContext): Implemented.
13207         (NoDragGestureRecognizer): Formatted inner class.
13208         * java/awt/dnd/DropTarget.java
13209         (stop): Marked as unimplemented.
13210         (actionPerformed): Likewise.
13211         (addDropTargetListener): Added code to throw exception.
13212         (removeDropTargetListener): Added check, removed FIXME.
13213         (dragEnter): Implemented.
13214         (dragOver): Implemented.
13215         (dropActionChanged): Implemented.
13216         (dragExit): Implemented.
13217         (drop): Implemented.
13218         (addNotify): Implemented.
13219         (removeNotify): Implemented.
13220         (createDropTargetContext): Implemented.
13221         (createDropTargetAutoScroller): Implemented.
13222         (initializeAutoscrolling): Implemented.
13223         (updateAutoscroll): Implemented.
13224         (clearAutoscroll): Implemented.
13225         * java/awt/dnd/DropTargetContext.java
13226         (dropComplete): Implemented.
13227         (acceptDrag): Implemented.
13228         (rejectDrag): Implemented.
13229         (acceptDrop): Implemented.
13230         (rejectDrop): Implemented.
13231         (getCurrentDataFlavors): Implemented.
13232         (getTransferable): Partially implemented.
13233         * java/awt/dnd/DropTargetDragEvent.java
13234         (getDropAction): Uncommented correct code.
13235         * java/awt/dnd/DropTargetDropEvent.java
13236         (dropComplete) :Implemented.
13237         * java/awt/dnd/InvalidDnDOperationException.java
13238         (InvalidDnDOperationException): Added call to super.
13239
13240 2006-07-05  Robert Schuster  <robertschuster@fsfe.org>
13241
13242         * javax/swing/plaf/basic/BasicArrowButton.java:
13243         (paint): Removed getBounds() call, changed center point
13244         calculation.
13245
13246 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
13247
13248         * javax/swing/InputMap.java
13249         (inputMap): Don't initialize yet,
13250         (InputMap): Removed TODO,
13251         (get): Check for null inputMap,
13252         (put): Return immediately for null keyStroke, check for null inputMap
13253         and initialize if necessary,
13254         (remove): Check for null inputMap,
13255         (size): Likewise,
13256         (clear): Likewise,
13257         (keys): Likewise,
13258         (allKeys): Likewise,
13259         (writeObject): Removed,
13260         (readObject): Removed.
13261
13262 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
13263
13264         * gnu/classpath/examples/swing/TabbedPaneDemo.java
13265         (createContent): Use different labels for buttons.
13266
13267 2006-07-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13268
13269         * NEWS: Updated.
13270         * doc/vmintegration.texinfo: Likewise.
13271         * examples/gnu/classpath/examples/management/TestMemoryPool.java,
13272         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
13273         New files.
13274         * java/lang/management/ManagementFactory.java:
13275         (getMemoryPoolMXBeans()): Implemented.
13276         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
13277         * vm/reference/java/lang/management/VMManagementFactory.java:
13278         New files.
13279         
13280 2006-07-04  Lillian Angel  <langel@redhat.com>
13281
13282         * java/awt/dnd/DragSourceContext.java:
13283         Removed FIXMEs from fields.
13284         (DragSourceContext): Added code to initialize cursor and sourceActions.
13285         (getDragSource): Added documentation.
13286         (getComponent): Likewise.
13287         (getTrigger): Likewise.
13288         (getSourceActions): Added documentation and implemented.
13289         (setCursor): Implemented. Added documentation.
13290         (getCursor): Implemented. Added documentation.
13291         (dragEnter): Added code to notify DragSource's listeners.
13292         (dragOver): Likewise.
13293         (dragExit): Likewise.
13294         (dropActionChanged): Likewise.
13295         (dragDropEnd): Likewise.
13296         (dragMouseMoved): Implemented.
13297         (getTransferable): Added API documentation.
13298         (updateCurrentCursor): Added API documentation and partially implemented.
13299
13300 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13301
13302         * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
13303
13304 2006-07-04  Lillian Angel  <langel@redhat.com>
13305
13306         * java/awt/dnd/DragSourceContext.java
13307         (DragSourceContext): Implemented fully. Fixed API docs.
13308         (transferablesFlavorsChanged): Implemented.
13309         (dragEnter): Implemented.
13310         (dragOver): Implemented.
13311         (dragExit): Implemented.
13312         (dropActionChanged): Implemented.
13313         (dragDropEnd): Implemented.
13314
13315 2006-07-04  Lillian Angel  <langel@redhat.com>
13316
13317         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
13318         Fixed name of constant.
13319         (getIconWidth): Changed name of constant returned.
13320         (getIconHeight): Likewise.
13321         (paint): Likewise.
13322         (createSeparator): Marked as unimplemented.
13323         * javax/swing/plaf/basic/BasicTableUI.java
13324         (focusGained): Marked as unimplemented.
13325         (focusLost): Marked as unimplemented.
13326         (mouseEntered): Likewise.
13327         (mouseMoved): Likewise.
13328         (uninstallDefaults): Likewise.
13329         * javax/swing/plaf/basic/BasicToolBarUI.java
13330         (mouseClicked): Changed comment.
13331         (mouseEntered): Likewise.
13332         (mouseExited): Likewise.
13333         (mouseMoved): Likewise.
13334         (setOrientation): Implemented.
13335         (ToolBarFocusListener): Marked as unimplemented.
13336         (focusGained): Marked as unimplemented.
13337         (focusLost): Marked as unimplemented.
13338
13339 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13340
13341         PR 28061
13342         * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
13343         Mind the effect of the root visibility on the position of the control.
13344         Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the 
13345         vertical line over first level nodes.
13346
13347 2006-07-04  Lillian Angel  <langel@redhat.com>
13348
13349         * javax/swing/plaf/basic/BasicMenuUI.java
13350         (installKeyboardActions): Implemented to call super. Nothing else
13351         needs to be done here.
13352         (setupPostTimer): Marked as unimplemented.
13353         (uninstallKeyboardActions): Implemented to call super. Nothing else
13354         needs to be done here.
13355         (mouseMoved): Removed TODO. Nothing to be done here.
13356         (ChangeHandler): Implemented.
13357         (menuDragMouseExited): Removed TODO. Nothing to be done here.
13358         (menuDragMouseReleased): Removed TODO. Nothing to be done here.
13359         (menuKeyReleased): Removed TODO. Nothing to be done here.
13360         (menuKeyTyped): Marked as unimplemented.
13361
13362 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13363
13364         PR 28061
13365         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13366         (getDefaults): Set hash color to black.
13367         * javax/swing/plaf/basic/BasicLookAndFeel.java
13368         (initComponentDefaults): Set hash color to grey blue.
13369         * javax/swing/plaf/basic/BasicTreeUI.java
13370         (instellDefaults): Set hash color.
13371         * javax/swing/plaf/metal/MetalIconFactory.java
13372         (TreeControlIcon.paint): Rewritten.
13373
13374 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13375
13376         PR 28061
13377         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13378         Always cancel the current editing session before doing anything else,
13379         return immediately if this fails.
13380         (TreeHomeAction): Ensure that the lead selection path is visible after
13381         the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13382         Likewise. TreeTraverseAction: Likewise.
13383
13384 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13385
13386         PR 28061
13387         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13388         Returned back the code to handle the start of the click-pause-click
13389         editing initiation, explained about this code. 
13390         (TreeStartEditingAction): New inner class.
13391         (stopEditingInCompleteEditing): Explained about this field.
13392         (completeEditing(boolean, boolean, boolean): Only return early
13393         if there is no current editing session.
13394         (createDefaultActions): Install TreeStartEditingAction and
13395         TreeCancelEditingAction.
13396
13397 2006-07-04  Mario Torre  <neugens@limasoftware.net>
13398
13399         * configure.ac: Added new option --enable-default-preferences-peer
13400         to pass user specified default preference backend.
13401         If the GConf peer is built, GConf become the default backend.
13402         * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13403         new file. 
13404         * lib/Makefile.am: excludes files terminating in 'in' from
13405         the metafiles list.
13406         * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13407         from copy into META-INF.
13408         * java/util/prefs/Preferences.java: added two new import
13409         classes gnu.classpath.ServiceFactory and java.util.Iterator.
13410         (getFactory): Now try to check for
13411         a system defined default preference backend before to fall back on
13412         FileBasedPreference.
13413
13414 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13415
13416         PR 28061
13417         * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13418         (EXPANDED): Initialise to Boolean.TRUE.
13419         * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13420         First configure layout cache and then set the assigned value 
13421         as row mapper. Set the root visibility property.
13422         (toggleExpandState): Obtains expansion state from the layout cache.
13423
13424 2006-07-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13425
13426         * java/lang/management/MemoryPoolMXBean.java:
13427         New file.
13428         
13429 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
13430
13431         * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13432
13433 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
13434
13435         * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13436         * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13437         * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13438         * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13439         * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13440         * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13441         * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13442         * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13443         * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13444         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13445         * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13446         * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13447         * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13448         * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13449         * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13450         * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13451         * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13452         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13453         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13454         * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13455         * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13456         * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13457         * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13458         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13459         * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13460         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13461         * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13462         * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13463         * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13464         * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13465         * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13466         * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13467         * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13468         * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13469         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13470         * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13471         * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13472         * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13473         * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13474         * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13475         * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13476         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13477         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13478         * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13479         * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13480         * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13481         * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13482
13483 2006-07-02  Anthony Green  <green@redhat.com>
13484
13485         * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13486         sure that every track written ends with an End Of Track meta
13487         message.
13488
13489 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13490
13491         * java/lang/management/MemoryUsage.java:
13492         (toString()): Fix missing MB for maximum memory usage.
13493         
13494 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13495
13496         * NEWS:
13497         Updated to include VMCompilationMXBeanImpl.
13498         * doc/vmintegration.texinfo:
13499         Likewise, along with update to VMMemoryMXBeanImpl
13500         as below.
13501         * examples/gnu/classpath/examples/management/TestCompilation.java,
13502         * gnu/java/lang/management/CompilationMXBeanImpl.java,
13503         * java/lang/management/CompilationMXBeanImpl.java:
13504         New files.
13505         * java/lang/management/ManagementFactory.java:
13506         (getCompilationMXBean()): Implemented.
13507         * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13508         New file.
13509         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13510         (getHeapMemoryUsage()): Added default implementation.   
13511         
13512 2006-07-02  Anthony Green  <green@redhat.com>
13513
13514         * NEWS: Mention MIDI file reader/writer providers.
13515
13516 2006-07-02  Anthony Green  <green@redhat.com>
13517
13518         * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13519         gnu/javax/sound/midi/file/MidiFileWriter.java,
13520         gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13521
13522 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13523
13524         * NEWS:
13525         Updated to include VMMemoryMXBeanImpl.
13526         * doc/vmintegration.texinfo: Likewise.
13527         * examples/gnu/classpath/examples/management/TestMemory.java:
13528         New file.
13529         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13530         Remove redundant import.
13531         * gnu/java/lang/management/MemoryMXBeanImpl.java:
13532         New file.
13533         * gnu/java/lang/management/ThreadMXBeanImpl.java:
13534         Remove redundant import.
13535         * java/lang/management/ManagementFactory.java:
13536         (getMemoryMXBean()): Implemented.
13537         * java/lang/management/MemoryMXBean.java,
13538         * java/lang/management/MemoryUsage.java:
13539         New files.
13540         * java/lang/management/ThreadInfo.java:
13541         (toString()): Updated documentation.
13542         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13543         New file.
13544         
13545 2006-07-01  Anthony Green  <green@redhat.com>
13546
13547         * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13548         gnu/javax/sound/midi/file/MidiFileReader.java,
13549         gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13550         gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13551
13552 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13553
13554         * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13555         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13556         * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13557         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13558         * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13559         * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13560         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13561
13562 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13563
13564         * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13565         * gnu/javax/crypto/pad/IPad.java: Likewise.
13566         * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13567         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13568         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13569         * gnu/javax/crypto/pad/SSL3.java: Likewise.
13570         * gnu/javax/crypto/pad/TBC.java: Likewise.
13571         * gnu/javax/crypto/pad/TLS1.java: Likewise.
13572         * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13573
13574 2006-07-01  Anthony Green  <green@redhat.com>
13575
13576         * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13577         status byte test.
13578         (setMessage): Fix it again, in a different setMessage method.
13579
13580 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13581
13582         * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13583         * gnu/javax/crypto/mode/CBC.java: Likewise.
13584         * gnu/javax/crypto/mode/CFB.java: Likewise.
13585         * gnu/javax/crypto/mode/CTR.java: Likewise.
13586         * gnu/javax/crypto/mode/EAX.java: Likewise.
13587         * gnu/javax/crypto/mode/ECB.java: Likewise.
13588         * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13589         * gnu/javax/crypto/mode/ICM.java: Likewise.
13590         * gnu/javax/crypto/mode/IMode.java: Likewise.
13591         * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13592         * gnu/javax/crypto/mode/OFB.java: Likewise.
13593
13594 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13595
13596         * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13597         * gnu/javax/crypto/mac/HMac.java: Likewise.
13598         * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13599         * gnu/javax/crypto/mac/IMac.java: Likewise.
13600         * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13601         * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13602         * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13603         * gnu/javax/crypto/mac/OMAC.java: Likewise.
13604         * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13605         * gnu/javax/crypto/mac/UHash32.java: Likewise.
13606         * gnu/javax/crypto/mac/UMac32.java: Likewise.
13607
13608 2006-07-01  Anthony Green  <green@redhat.com>
13609
13610         * javax/sound/midi/Track.java (vector, eventSet): Initialize. 
13611
13612 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13613
13614         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13615         * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13616         * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13617         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13618         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13619         * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13620         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13621         * gnu/javax/crypto/keyring/Entry.java: Likewise.
13622         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13623         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13624         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13625         * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13626         * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13627         * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13628         * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13629         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13630         * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13631         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13632         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13633         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13634         * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13635         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13636         * gnu/javax/crypto/keyring/Properties.java: Likewise.
13637         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13638
13639 2006-07-01  David Gilbert  <david.gilbert@object-refinery.com>
13640
13641         * javax/swing/AbstractCellEditor.java: Source code formatting,
13642         * javax/swing/AbstractSpinnerModel.java: Likewise,
13643         * javax/swing/Box.java: Likewise,
13644         * javax/swing/BoxLayout.java: Likewise,
13645         * javax/swing/DefaultListModel.java: Likewise,
13646         * javax/swing/GrayFilter.java: Likewise,
13647         * javax/swing/LookAndFeel.java: Likewise,
13648         * javax/swing/ProgressMonitor.java: Likewise,
13649         * javax/swing/ProgressMonitorInputStream.java: Likewise,
13650         * javax/swing/ScrollPaneLayout.java: Likewise,
13651         * javax/swing/SpringLayout.java: Likewise,
13652         * javax/swing/event/EventListenerList.java: Likewise,
13653         * javax/swing/event/MenuEvent.java: Likewise,
13654         * javax/swing/event/TreeExpansionListener.java: Likewise.
13655
13656 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13657
13658         * NEWS:
13659         Mention threading bean and getState().
13660         * doc/vmintegration.texinfo:
13661         Update documentation for threading bean and new
13662         method of VMThread.
13663         
13664 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13665         
13666         * examples/gnu/classpath/examples/management/TestClassLoading.java,
13667         * examples/gnu/classpath/examples/management/TestOS.java,
13668         * examples/gnu/classpath/examples/management/TestRuntime.java,
13669         * examples/gnu/classpath/examples/management/TestThread.java:
13670         New files.
13671         
13672 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
13673
13674         * java/lang/ThreadGroup.java
13675         (getThreadFromId, getThreadFromIdImpl): New methods.
13676
13677 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
13678
13679         * java/lang/Thread.java:
13680         Make thread IDs start from 1 in a more efficient way.
13681
13682 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13683
13684         * java/lang/Thread.java:
13685         Make thread IDs start from 1.
13686         
13687 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13688
13689         * gnu/java/lang/management/BeanImpl.java:
13690         New superclass for all bean implementations.
13691         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13692         Extend BeanImpl and call permission code there.
13693         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13694         Extend BeanImpl.
13695         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13696         Extend BeanImpl and call permission code there.
13697         * gnu/java/lang/management/ThreadMXBeanImpl.java:
13698         New file.
13699         * java/lang/management/ManagementFactory.java:
13700         (getThreadMXBean()): Implemented.
13701         * java/lang/management/ThreadInfo.java:
13702         (ThreadInfo(Thread,int)): Replaced...
13703         (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13704         boolean, boolean, StackTraceElement[])): with this.
13705         (getBlockedCount()): Refactored to use local variables.
13706         (getBlockedTime()): Likewise.
13707         (getLockName()): Likewise.
13708         (getLockOwnerId()): Likewise.
13709         (getLockOwnerName()): Likewise.
13710         (getStackTrace()): Likewise.
13711         (getWaitedCount()): Likewise.
13712         (getWaitedTime()): Likewise.
13713         (isInNative()): Likewise.
13714         (isSuspended()): Likewise.
13715         (toString()): Changed to use new local variables.
13716         * java/lang/management/ThreadMXBean.java:
13717         (getThreadInfo(long, int)): Corrected documentation.
13718         (getThreadInfo(long[], int)): Likewise.
13719         * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13720         New file.
13721         * vm/reference/java/lang/management/VMThreadInfo.java:
13722         Removed.
13723
13724 2006-07-01  Raif S. Naffah  <raif@swiftdsl.com.au>
13725
13726         * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13727         * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13728         * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13729         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13730         * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13731         * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13732         * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13733         * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13734         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13735         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13736         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13737         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13738         * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13739         * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13740         * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13741         * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13742         * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13743         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13744         * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13745         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13746         * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13747         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13748         * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13749         * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13750         * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13751         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13752         * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13753         * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13754         * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13755         * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13756         * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13757         * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13758
13759 2006-07-01  Roman Kennke  <kennke@aicas.com>
13760
13761         * gnu/java/awt/java2d/AbstractGraphics2D.java
13762         (transform): Make field protected.
13763         (getDestinationRaster): Provide default implementation for
13764         previously abstract method.
13765
13766 2006-06-30  Tania Bento  <tbento@redhat.com>
13767
13768         * java/awt/TextArea.java
13769         (TextArea(String, int, int, int)): No longer throws
13770         IllegalArgumentException if rows, columns, or scrollbarVisibility 
13771         values are invalid.  
13772         (TextArea(String, int, int, int)): If rows or columns are < 0, 
13773         they get set to 0.  If scrollbarVisibility is < 0 or > 4, it 
13774         gets set to the default value of 0 (SCROLLBARS_BOTH).
13775          (appendText): Added case when peer = null.
13776         (insertText): Added case when peer == null.
13777         (replaceText): Added case when peer == null.
13778         * java/awt/TextComponent.java
13779         (TextComponent(String)): If text == null, set it to "".
13780
13781 2006-06-30  Lillian Angel  <langel@redhat.com>
13782
13783         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13784         (create): Added synchronized block around groupMap.get calls.
13785         (setCheckboxGroup): Likewise.
13786
13787 2006-06-30  Lillian Angel  <langel@redhat.com>
13788
13789         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13790         (create): Changed to be non-synchronized.
13791         (setLabel): Likewise.
13792         (setCheckboxGroup): Likewise.
13793         (addToGroupMap): Likewise. Added synchronized block around
13794         code.
13795         (dispose): Changed to be non-synchronized.
13796
13797 2006-06-30  Lillian Angel  <langel@redhat.com>
13798
13799         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13800         Changed all return values of native functions to void.
13801         (create): Changed function to be synchronized. Removed
13802         call to put value in groupMap, this is now done from 
13803         the native code.
13804         (setState): Changed function to be synchronized.
13805         (setLabel): Changed function to be synchronized.
13806         (setCheckboxGroup): Changed function to be synchronized. Removed
13807         call to put value in groupMap, this is now done from
13808         the native code.
13809         (postItemEvent): Changed function to be synchronized.
13810         (addToGroupMap): New function. Called by native code to add
13811         new value to the group.
13812         (dispose): Changed function to be synchronized.
13813         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13814         all functions.
13815         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13816         (cp_gtk_checkbox_init_jni): Added code to link to 
13817         java function.
13818         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton): 
13819         Changed return value to void. Added call
13820         to java function to set pointer in groupMap.
13821         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13822         changed check to an assert. Also, removed call to set/del pointer.
13823         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): 
13824         Likewise. Also, added check to determine if native_group should be 
13825         set to NULL.
13826         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13827
13828 2006-06-30  Sven de Marothy  <sven@physto.se>
13829
13830         * gnu/java/awt/ClasspathToolkit.java,
13831         * gnu/java/awt/peer/x/XToolkit.java,
13832         * gnu/java/awt/peer/qt/QtToolkit.java,
13833         * gnu/java/awt/peer/gtk/GtkToolkit.java,
13834         Remove ClasspathTextLayoutPeer.
13835         * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13836         * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13837         Files removed.
13838         
13839 2006-06-30  Sven de Marothy  <sven@physto.se>
13840
13841         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13842         (drawGlyphVector): Don't draw empty vectors.
13843
13844 2006-06-30  Lillian Angel  <langel@redhat.com>
13845             Tom Fitzsimmons <fitzsim@redhat.com>
13846
13847         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13848         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13849         Added current_group, groupMap fields. Added definitions for
13850         new native functions.
13851         (create): Removed FIXME. Added code to create the check button or
13852         radio button when appropriate. Updated groupMap to contain
13853         pointer to the newly created group.
13854         (setCheckboxGroup): Added code to handle all cases. Removing
13855         a button from a group, adding a button to a group, or changing the
13856         group of a button.
13857         (dispose): Changed to call super.
13858         * include/Makefile.am: Removed reference to 
13859         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13860         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13861         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13862         for new functions.
13863         * native/jni/gtk-peer/Makefile.am: Removed reference to 
13864         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13865         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13866         Removed file.
13867         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13868         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget): 
13869         Renamed to checkbox_get_widget.
13870         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): 
13871         Changed to use checkbox_get_widget.
13872         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup): 
13873         Removed.
13874         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13875         Changed to use checkbox_get_widget.
13876         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13877         Likewise.
13878         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13879         New function. Creates checkbutton without a group.
13880         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13881         Creates a radio button in a group, using groupPointer. If groupPointer
13882         is 0, then a new group is created.
13883         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13884         check button to a group, using groupPointer. A radio button is created
13885         in its place. If groupPointer is 0, then a new group is created.
13886         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13887         radio button is removed from the group. A check button is created in 
13888         its place.
13889         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13890         radio button is moved to a new group.
13891
13892 2006-06-30  Mark Wielaard  <mark@klomp.org>
13893
13894         * configure.ac: Move standard.omit creation after dirs are created.
13895         Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13896         * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13897         (clean-local): Remove standard.omit.
13898         * lib/gen-classlist.sh.in: Use omit file in build dir.
13899         * lib/standard.omit.in: Make exclude regex more explicit.
13900
13901 2006-06-30  Roman Kennke  <kennke@aicas.com>
13902
13903         * lib/Makefile.am: Added Escher dir/jar to classpath when
13904         requested.
13905         * configure.ac: Moved handling of standard.omit to a place
13906         where it actually gets executed.
13907
13908 2006-06-30  David Gilbert  <david.gilbert@object-refinery.com>
13909
13910         * java/awt/TextComponent.java: Reformatted source code,
13911         * java/awt/TextField.java: Likewise.
13912
13913 2006-06-29  Jeroen Frijters <jeroen@sumatra.nl>
13914
13915         * java/lang/Thread.java:
13916         (getState()): Handle case of no VMThread
13917         correctly.
13918
13919 2006-06-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13920
13921         * java/lang/Thread.java,
13922         * java/lang/VMThread.java:
13923         Reverted patch from 2006-06-28.
13924         
13925 2006-06-29  Roman Kennke  <kennke@aicas.com>
13926
13927         * gnu/java/awt/peer/x/GLGraphics.java,
13928         * gnu/java/awt/peer/x/ImageConverter.java,
13929         * gnu/java/awt/peer/x/KeyboardMapping.java,
13930         * gnu/java/awt/peer/x/XEventPump.java,
13931         * gnu/java/awt/peer/x/XFontPeer.java,
13932         * gnu/java/awt/peer/x/XFontPeer2.java,
13933         * gnu/java/awt/peer/x/XFramePeer.java,
13934         * gnu/java/awt/peer/x/XGraphics.java,
13935         * gnu/java/awt/peer/x/XGraphics2D.java,
13936         * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13937         * gnu/java/awt/peer/x/XGraphicsDevice.java,
13938         * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13939         * gnu/java/awt/peer/x/XImage.java,
13940         * gnu/java/awt/peer/x/XLightweightPeer.java,
13941         * gnu/java/awt/peer/x/XToolkit.java,
13942         * gnu/java/awt/peer/x/XWindowPeer.java,
13943         * gnu/java/awt/peer/x/fonts.properties: New files.
13944         * lib/standard.omit: Removed.
13945         * lib/standard.omit.in: Added.
13946         * configure.ac: Added configure option --with-escher. Added some
13947         configury for omitting gnu.java.awt.peer.x package when
13948         this option is not specified.
13949
13950 2006-06-29  David Gilbert  <david.gilbert@object-refinery.com>
13951
13952         * javax/swing/JComponent.java
13953         (JComponent()): Initialize the locale here, not the default locale,
13954         (getDefaultLocale): If null, return Locale.getDefault(),
13955         (setDefaultLocale): Added API docs.
13956
13957 2006-06-29  Tania Bento  <tbento@redhat.com>
13958
13959         * java/awt/Container.java
13960         (applyComponentOrientation): Implemented method.
13961
13962 2006-06-29  Gary Benson  <gbenson@redhat.com>
13963
13964         * java/io/File.java (listRoots): Merge security checks from libgcj.
13965
13966 2006-06-29  Gary Benson  <gbenson@redhat.com>
13967
13968         * java/io/FilePermission.java (implies): Work when path is "/".
13969
13970 2006-06-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13971
13972         * java/lang/Thread.java:
13973         (Thread(ThreadGroup,Runnable,String,long)): Update
13974         state.
13975         (Thread(VMThread,String,int,boolean)): Likewise.
13976         (join(long,int)): Likewise.
13977         (resume()): Likewise.
13978         (sleep(long,int)): Likewise.
13979         (start()): Likewise.
13980         (stop()): Likewise.
13981         (suspend()): Likewise.
13982         (die()): Likewise.
13983         (getState()): Return either state or use VMThread.
13984         * java/lang/VMThread.java:
13985         (getState()): Added default implementation to return
13986         thread.state
13987         
13988 2006-06-28  Andreas Tobler  <a.tobler@schweiz.ch>
13989
13990         * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
13991         GdkPixbuf correctly on big endian systems. Fix a typo in the little
13992         endian swapping code.
13993
13994         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
13995         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
13996         without alpha information correctly on big endian systems.
13997
13998 2006-06-28  Roman Kennke  <kennke@aicas.com>
13999
14000         * gnu/java/net/local/LocalSocket.java
14001         (setSoTimeout): Don't throw exception and ignore request.
14002         (getSoTimeout): Don't throw exception and always return 0.
14003
14004 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14005
14006         * javax/swing/JComponent.java
14007         (getRegisteredKeyStrokes): Implemented.
14008
14009 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14010
14011         * javax/swing/JComponent.java
14012         (verifyInputWhenFocusTarget): Initialise to true.
14013
14014 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14015
14016         * java/beans/VetoableChangeSupport.java
14017         (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
14018         null listener,
14019         (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
14020         for null property name and/or listener,
14021         * javax/swing/JComponent.java
14022         (getListeners): Handle VetoableChangeListener.class as a special case,
14023         (getVetoableChangeListeners): Fetch these from the 
14024         vetoableChangeSupport object.
14025
14026 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14027
14028         * javax/swing/JComponent.java
14029         (componentPopupMenu): New field,
14030         (inheritsPopupMenu): New field,
14031         (getInheritsPopupMenu): Implemented,
14032         (setInheritsPopupMenu): Likewise,
14033         (getComponentPopupMenu): Likewise,
14034         (setComponentPopupMenu): Likewise,
14035         * javax/swing/JLabel.java
14036         (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
14037
14038 2006-06-28  Raif S. Naffah  <raif@swiftdsl.com.au>
14039
14040         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
14041         (toString): New method.
14042         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
14043         (toString): New method.
14044         * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
14045         (toString): New method.
14046         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
14047         Handle case when Q is null.
14048         (decodePrivateKey): Likewise.
14049         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
14050         Likewise.
14051         (decodePublicKey): Likewise.
14052         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
14053         aliases for all block ciphers.
14054         * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
14055         (engineDoPhase): Compute fully the shared secret.
14056         (checkState): New method.
14057         (reset): Likewise.
14058         (engineGenerateSecret()): Reset key-agreement before returning.
14059         (engineGenerateSecret(byte[],int)): Check for short-buffer.
14060         Reset key-agreement before returning.
14061         (engineGenerateSecret(String)): Reset key-agreement before returning.
14062         (engineInit(Key,SecureRandom)): Call reset() before returning.
14063         * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
14064         (engineInit): Replace printing to System.out with conditional logging.
14065         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
14066         When the key-size is not specified, attempt best effort to find a suitable
14067         value among those advertised by the cipher before setting it to the length
14068         of provided key material.
14069
14070 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14071
14072         * javax/swing/table/DefaultTableColumnModel.java
14073         (changeEvent): Don't initialize yet, removed FIXME,
14074         (fireColumnModelChanged): Initialize changeEvent if necessary.
14075
14076 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14077
14078         * java/lang/Thread.java:
14079         (getAllStackTraces()): Implemented.
14080         (getStackTrace()): Likewise.
14081         
14082 2006-06-27  Tania Bento  <tbento@redhat.com>
14083
14084         * java/awt/Component.java
14085         (setComponentOrientation): NPE should not be thrown.
14086
14087 2006-06-27  Tom Tromey  <tromey@redhat.com>
14088
14089         * configure.ac: Create gjar, gnative2ascii, gserialver.
14090         * tools/gappletviewer.in: Quote $@.
14091         * tools/gkeytool.in: Likewise.
14092         * tools/gjarsigner.in: Likewise.
14093         * tools/gjar.in: New file.
14094         * tools/gnative2ascii.in: Likewise.
14095         * tools/gserialver.in: Likewise.
14096         * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
14097         gserialver.
14098         (bin_SCRIPTS): Likewise.
14099
14100 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14101
14102         * java/lang/management/ThreadMXBean.java:
14103         (getThreadInfo(long[])): Corrected return type.
14104         (getThreadInfo(long[], int)): Likewise.
14105
14106 2006-06-27  Mark Wielaard  <mark@klomp.org>
14107
14108         * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
14109         nothing when listener is null.
14110         (removeFlavorListener): Likewise.
14111
14112         * java/awt/datatransfer/DataFlavor.java
14113         (getRepresentationClassFromMime): Renamed to
14114         getRepresentationClassFromMimeThrows.
14115         (isRepresentationClassInputStream): Use Class.isAssignableFrom().
14116         (isRepresentationClassSerializable): Likewise.
14117         (isFlavorJavaFileListType): Likewise and check primary and
14118         subtype.
14119         (getParameter): Parameters are separated by semi-colons.
14120         (DataFlavor(Class,String,String)): Do some sanity checks.
14121         (DataFlavor(String,String,ClassLoader)): Call
14122         getRepresentationClassFromMimeThrows.
14123         (DataFlavor(String)): Likewise.
14124         (equals(DataFlavor)): Special case primary type text and charset
14125         parameter.
14126         
14127 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14128
14129         * java/awt/Component.java
14130         (setName): Fire required PropertyChangeEvent,
14131         * java/awt/Label.java
14132         (getText): Removed redundant brackets,
14133         (generateName): New method (override),
14134         (nextLabelNumber): New field,
14135         (getUniqueLong): New method.
14136
14137 2006-06-27  Roman Kennke  <kennke@aicas.com>
14138
14139         * gnu/java/awt/peer/swing/SwingComponentPeer.java
14140         (createImage): Delegate this to the parent.
14141         (handleEvent): Only handle PAINT/UPDATE events when the
14142         component is actually showing.
14143         (hide): Repaint the parent after hiding a component.
14144         (prepareImage): Have only one return point.
14145         (setVisible): Delegate to show() and hide().
14146         (createVolatileImage): Added null check to avoid NPE.
14147
14148 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14149
14150         * java/awt/Label.java: Reformatted source code.
14151
14152 2006-06-27  Roman Kennke  <kennke@aicas.com>
14153
14154         * java/awt/image/BufferedImage.java
14155         (getSource): Use a fixed DirectColorModel to deliver the
14156         RGB pixels to the ImageConsumer.
14157
14158 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14159
14160         * java/awt/Point.java
14161         (setLocation(double, double)): Round to nearest integer coordinates.
14162
14163 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14164
14165         * java/awt/Component.java
14166         (minSizeSet): New field,
14167         (maxSize): Likewise,
14168         (maxSizeSet): Likewise,
14169         (isMaximumSizeSet): Implemented,
14170         (isMinimumSizeSet): Likewise,
14171         (isPreferredSizeSet): Likewise,
14172         (setMaximumSize): Likewise,
14173         (setMinimumSize): Likewise,
14174         (setPreferredSize): Likewise. 
14175
14176 2006-06-27  Roman Kennke  <kennke@aicas.com>
14177
14178         * javax/imageio/spi/IIORegistry.java
14179         (IIORegistry): Added BMP codec.
14180
14181 2006-06-27  Mark Wielaard  <mark@klomp.org>
14182
14183         * javax/swing/JComponent.java
14184         (firePropertyChange(String,char,char)): New override method.
14185
14186 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14187
14188         * java/lang/Thread.java:
14189         (getState()): New method.
14190         * java/lang/management/ClassLoadingMXBean.java:
14191         Corrected class documentation.
14192         * java/lang/management/ManagementFactory.java:
14193         Added new temporary marked stub to get thread bean.
14194         * java/lang/management/OperatingSystemMXBean.java:
14195         Corrected class documentation.
14196         * java/lang/management/RuntimeMXBean.java:
14197         Corrected class documentation.
14198         * java/lang/management/ThreadInfo.java,
14199         * java/lang/management/ThreadMXBean.java:
14200         New classes.
14201         * vm/reference/java/lang/VMThread.java:
14202         (getState()): New method.
14203         * vm/reference/java/lang/management/VMThreadInfo.java:
14204         New VM class.
14205
14206 2006-06-26  Sven de Marothy  <sven@physto.se>
14207
14208         * gnu/javax/imageio/gif/GIFFile.java
14209         * gnu/javax/imageio/gif/GIFImageReader.java
14210         * gnu/javax/imageio/gif/GIFImageSpi.java
14211         * gnu/javax/imageio/gif/GIFStream.java
14212         New files.
14213         * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
14214
14215 2006-06-26  Tania Bento  <tbento@redhat.com>
14216
14217         * java/awt/List.java
14218         (List): A list should have at least 4 visible rows.     
14219         (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
14220         not an IllegalArgumentException.
14221         (makeVisible): Should not throw an IllegalArgumentException if
14222         the specified index is out of range.
14223
14224 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14225
14226         * javax/swing/JList.java
14227         (getNextMatch): Reimplemented to perform a circular search for the 
14228         matching item.
14229
14230 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14231
14232         * javax/swing/JList.java
14233         (init): Set default value for visibleRowCount to 8,
14234         (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
14235
14236 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14237
14238         * javax/swing/JList.java
14239         (valueIsAdjusting): Removed,
14240         (init): Removed initialization of valueIsAdjusting field,
14241         (getValueIsAdjusting): Fetch value from selection model,
14242         (setValueIsAdjusting): Store value in selection model.
14243
14244 2006-06-26  Roman Kennke  <kennke@aicas.com>
14245
14246         * javax/swing/plaf/basic/BasicListUI.java
14247         (installKeyboardActions): Rewritten to fit with the
14248         ActionMap/InputMap architecture.
14249         (uninstallKeyboardActions): Implemented.
14250         (ListAction): Made private. Added TODO for splitting
14251         up this bulk Action.
14252         (ListAction.ListAction): New constructor. This one
14253         takes a cmd parameter to be installed as actionCommand.
14254
14255 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
14256
14257         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
14258         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14259
14260 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
14261
14262         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
14263         * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
14264         * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
14265         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
14266         * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
14267         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
14268         * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
14269         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
14270         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14271         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14272         * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
14273         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
14274         * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
14275         * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
14276         * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
14277         * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
14278         * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
14279         * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
14280         * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
14281         * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
14282         * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
14283         * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
14284         * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
14285         * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
14286         * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
14287         * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
14288         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
14289         * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
14290         * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
14291         * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
14292         * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
14293         * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
14294         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
14295         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
14296         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
14297         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
14298         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
14299         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
14300         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
14301         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
14302         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
14303         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
14304         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
14305         * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
14306         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14307         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
14308         * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
14309         * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
14310         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
14311         * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
14312         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
14313         * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
14314         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14315         * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
14316         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
14317         * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
14318         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
14319         * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
14320         * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
14321         * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
14322         * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
14323         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
14324         * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
14325         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
14326         * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
14327         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
14328         * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
14329         * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
14330         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
14331         * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
14332         * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
14333         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
14334         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14335         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
14336         * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
14337         * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
14338         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14339         * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
14340         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
14341         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
14342         * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
14343         * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
14344
14345 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14346
14347         * javax/swing/JList.java
14348         (setLayoutOrientation): Check for valid argument.
14349
14350 2006-06-26  Roman Kennke  <kennke@aicas.com>
14351
14352         * javax/swing/JComponent.java
14353         (firePropertyChange(String,int,int)): New method. Overrides
14354         Component method and makes it public.
14355         (firePropertyChange(String,boolean,boolean)): Likewise.
14356
14357 2006-06-25  Vivek Lakshmanan  <vivekl@redhat.com>
14358         
14359         * gnu/java/security/.cvsignore: New File.
14360         * gnu/java/security/Configuration.java.in: New File.
14361         * gnu/java/security/Properties.java: Change import from 
14362         gnu.classpath.Configuration to gnu.java.security.Configuration.
14363         * gnu/java/security/hash/Whirlpool.java: Likewise.
14364         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14365         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14366         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14367         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14368         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14369         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14370         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14371         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14372         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14373         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14374         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14375         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14376         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14377         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14378         * gnu/java/security/util/Base64.java: Likewise.
14379         * gnu/java/security/x509/X509CRL.java: Likewise.
14380         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14381         * gnu/java/security/x509/ext/Extension.java: Likewise.
14382         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14383         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14384         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14385         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14386         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14387         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14388         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14389         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14390         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14391         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14392         * gnu/javax/crypto/keyring/Entry.java: Likewise.
14393         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14394         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14395         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14396         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14397         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14398         * gnu/javax/crypto/mac/OMAC.java: Likewise.
14399         * gnu/javax/crypto/pad/BasePad.java: Likewise.
14400         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14401         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14402         * gnu/javax/crypto/pad/TBC.java: Likewise.
14403         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14404         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14405         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14406         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14407         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14408         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14409         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14410         * gnu/javax/security/auth/login/GnuConfiguration.java 
14411         (getAppConfigurationEntry): Change reference to 
14412         gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14413         (getConfigFromUserHome): Likewise.
14414         (getInputStreamFromURL): Likewise.
14415         (getUserHome): Likewise.
14416         (init): Likewise.
14417         (processSecurityProperties): Likewise.
14418         (processSystemProperty): Likewise.
14419         (processUserHome): Likewise.
14420         * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14421         * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14422         
14423
14424 2006-06-25  Carsten Neumann  <cn-develop@gmx.net>
14425
14426         * javax/swing/text/DefaultCaret.java (isActive): New method.
14427
14428 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14429
14430         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14431         * java/lang/management/ClassLoadingMXBean.java:
14432         (getTotalLoadedClassCount()): Corrected return type.
14433         (getUnloadedClassCount()): Likewise.
14434         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14435         (getUnloadedClassCount()): Likewise.
14436         
14437 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
14438
14439         * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14440         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14441         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14442         * gnu/javax/crypto/cipher/Square.java: Likewise.
14443         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14444         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14445         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14446         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14447         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14448         * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14449         * gnu/javax/crypto/cipher/DES.java: Likewise.
14450         * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14451         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14452         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14453         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14454         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14455
14456 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
14457
14458         * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14459         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14460         * gnu/javax/crypto/assembly/Stage.java: Likewise.
14461         * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14462         * gnu/javax/crypto/assembly/Operation.java: Likewise.
14463         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14464         * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14465         * gnu/javax/crypto/assembly/Direction.java: Likewise.
14466         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14467         * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14468         * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14469         * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14470         * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14471
14472 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14473
14474         * NEWS,
14475         * doc/vmintegration.texinfo:
14476         Updated with information on new VM interface.
14477         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14478         * java/lang/management/ClassLoadingMXBean.java:
14479         New files implementing the class loading bean.
14480         * java/lang/management/ManagementFactory.java:
14481         (getClassLoadingMXBean()): Implemented.
14482         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14483         New VM interface file.
14484
14485 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14486
14487         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14488         (isBootClassPathSupported()): Use SystemProperties
14489         rather than System.getProperty.
14490         
14491 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
14492
14493         * gnu/java/security/Properties.java: Source formatting.
14494         * gnu/java/security/Registry.java: Likewise.
14495
14496 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
14497
14498         * gnu/java/security/util/Util.java: Source formatting.
14499         * gnu/java/security/util/SimpleList.java: Likewise.
14500         * gnu/java/security/util/Sequence.java: Likewise.
14501         * gnu/java/security/util/PRNG.java: Likewise.
14502         * gnu/java/security/util/ExpirableObject.java: Likewise.
14503         * gnu/java/security/util/Base64.java: Likewise.
14504         * gnu/java/security/sig/SignatureFactory.java: Likewise.
14505         * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14506         * gnu/java/security/sig/ISignature.java: Likewise.
14507         * gnu/java/security/sig/BaseSignature.java: Likewise.
14508         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14509         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14510         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14511         * gnu/java/security/sig/rsa/RSA.java: Likewise.
14512         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14513         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14514         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14515         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14516         * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14517         * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14518         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14519         * gnu/java/security/provider/Gnu.java: Likewise.
14520         * gnu/java/security/prng/RandomEventListener.java: Likewise.
14521         * gnu/java/security/prng/RandomEvent.java: Likewise.
14522         * gnu/java/security/prng/PRNGFactory.java: Likewise.
14523         * gnu/java/security/prng/MDGenerator.java: Likewise.
14524         * gnu/java/security/prng/LimitReachedException.java: Likewise.
14525         * gnu/java/security/prng/IRandom.java: Likewise.
14526         * gnu/java/security/prng/EntropySource.java: Likewise.
14527         * gnu/java/security/prng/BasePRNG.java: Likewise.
14528
14529 2006-06-23  Francis Kung  <fkung@redhat.com>
14530
14531         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14532         (Harness.actionPerformed): Process additional options.
14533         (J2dBenchmarkWrapper): Defer init call until after options are processed.
14534         (J2dBenchmarkWrapper.setAlias): New method.
14535         (J2dBenchmarkWrapper.setComposite): New method.
14536         (J2dBenchmarkWrapper.setFill): New method.
14537         (J2dBenchmarkWrapper.setRotation): New method.
14538         (J2dBenchmarkWrapper.setShear): New method.
14539         (J2dBenchmarkWrapper.setStroke): New method.
14540         (J2dBenchmarkWrapper.setTranslation): New method.
14541         (run): Add additional options to GUI.
14542         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14543         Added protected fields for various options.
14544         (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14545         (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14546         (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14547         (getNextColor): Renamed to setRandom.
14548         (init): Load additional image for texturing if needed.
14549         (loadBufferedImage): New method.
14550         (main): Accept additional command-line switches.
14551         (prepareGraphics): New method.
14552         (resetGraphics): New method.
14553         (runTestSuite): Accept additional image-processing options.
14554         (setRandom): Renamed from getNextColor; generate various random options
14555         (test_drawArc): Rename getNextColor to setRandom.
14556         (test_drawCubic): Likewise.
14557         (test_drawEllipse): Likewise.
14558         (test_drawGeneralPath): Likewise.
14559         (test_drawImage): Likewise.
14560         (test_drawLine): Likewise.
14561         (test_drawQuadCurve): Likewise.
14562         (test_drawRectangle): Likewise.
14563         (test_drawRoundRectangle): Likewise.
14564         (test_drawTransparentImage): Likewise.
14565         (test_fillArc): Rename getNextColor to setRandom.
14566         (test_fillEllipse): Likewise.
14567         (test_fillGeneralPath): Likewise.
14568         (test_fillRectangle): Likewise.
14569         (test_fillRoundRectangle): Likewise.
14570         (TestRecorder.getAverage): Round the average time.
14571
14572 2006-06-23  Tom Tromey  <tromey@redhat.com>
14573
14574         * java/util/logging/LoggingMXBean.java: New file.
14575         * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14576         (loggingBean): New field.
14577         (getLoggingMXBean): New method.
14578
14579 2006-06-23  Tania Bento  <tbento@redhat.com>
14580
14581         * java/awt/TextField.java
14582         (TextField): Default number of columns should be 0, not 1.
14583         (TextField): Check if number of columns given as argument
14584         is valid (>= 0) and set the number of columns accordingly.
14585         (TextField): Check if the string passed is null. If it is, 
14586         set columns to 0, else columns is set to the length of
14587         the string.
14588
14589 2006-06-23  Roman Kennke  <kennke@aicas.com>
14590
14591         * javax/swing/plaf/basic/BasicInternalFrameUI.java
14592         (InternalFramePropertyChangeListener.propertyChange):
14593         Don't call getPropertyName() repeatedly. Added null checks
14594         to avoid NPEs. Call closeFrame() if the closed property
14595         changes.
14596
14597 2006-06-23  Roman Kennke  <kennke@aicas.com>
14598
14599         * javax/swing/JInternalFrame.java
14600         (maxTransition): Removed.
14601         (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14602         Don't initialize storedBounds here.
14603         (dipose): Rewritten to correctly dispose the JInternalFrame.
14604         (getDesktopIcon): Don't initialize desktopIcon here.
14605         (getLayer): Delegate to JLayeredPane.getLayer().
14606         (getNormalBounds): Return bounds when storedBounds == null,
14607         otherwise storedBounds.
14608         (hide): Don't change selection. Also hide the desktopIcon.
14609         (moveToBack): Call getParent() only once.
14610         (moveToFront): Call getParent() only once.
14611         (pack): Call validate() to make sure that the layout is
14612         propagated to the children.
14613         (setClosed): Fire InternalFrameEvent first, before the
14614         PropertyVetoEvent.
14615         (setJMenuBar): Fire PropertyChangeEvent for this property.
14616         (setLayer): Delegate to JLayeredPane.
14617         (setLayeredPane): Check for null and throw IllegalArgumenException.
14618         (setMaximum): Remove handling of maxTransition and normalBounds.
14619         Should probably be done in the UI.
14620         (setNormalBounds): Store Rectangle object directly, not a copy.
14621         (setRootPane): Go into rootPaneCheckingEnabled mode so that
14622         adding the RootPane doesn't add it to the contentPane.
14623         Fire PropertyChangeEvent.
14624         (setSelected): Added condition for when this property must not
14625         be changed.
14626         (show): Don't ask the DesktopPane to select the frame. Moved
14627         code around to fire InternalFrameEvent before actually calling
14628         super.show(). Also make the desktopIcon visible.
14629         (setTitle): Fire PropertyChangeEvent unconditionally.
14630
14631 2006-06-23  Roman Kennke  <kennke@aicas.com>
14632
14633         * javax/swing/JLayeredPane.java
14634         (getPosition): Moved code around to avoid unnecessary method calls.
14635         (setPosition): Delegate to setLayer().
14636         (insertIndexForLayer(int,int)): Delegate to new private helper method.
14637         (insertIndexForLayer(Component,int,int)): New helper method
14638         to support the use of setComponentZOrder() which doesn't remove
14639         the component and thus the insertIndexForLayer must ignore
14640         the component to be moved to get the index right.
14641         (setLayer): Added check to prevent unnecessary execution of
14642         method body. Changed to update the component order here.
14643         Added repaint() to make sure that the update becomes visible.
14644         (addImpl): Call setLayer() only when a constraint has been specified.
14645         Validate and repaint the JLayeredPane.
14646
14647 2006-06-23  Roman Kennke  <kennke@aicas.com>
14648
14649         * java/awt/Container.java
14650         (getComponentZOrder): Use ncomponents instead of
14651         component.length so that we don't consider the empty space
14652         after the last component.
14653
14654 2006-06-22  Roman Kennke  <kennke@aicas.com>
14655
14656         * javax/swing/JComponent.java
14657         (vetoableChangeSupport): New field.
14658         (removeVetoableChangeListener): Rewritten to use
14659         vetoableChangeSupport.
14660         (addVetoableChangeListener): Rewritten to use
14661         vetoableChangeSupport.
14662         (fireVetoableChange): Rewritten to use
14663         vetoableChangeSupport.
14664         (addPropertyChangeListener): Removed. This is handled in
14665         Component already.
14666         (firePropertyChange(String,boolean,boolean)): Likewise.
14667         (firePropertyChange(String,char,char)): Likewise.
14668         (firePropertyChange(String,int,int)): Likewise.
14669         (revalidate): Don't do anything when the commponent has no
14670         parent.
14671
14672 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14673
14674         * javax/swing/JLabel.java: Updated API docs.
14675
14676 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
14677
14678         * java/awt/Insets.java: Updated copyright year.
14679         (toString): Changed string, removed a line from the 
14680         documentation.
14681
14682 2006-06-22  Roman Kennke  <kennke@aicas.com>
14683
14684         * javax/swing/text/AbstractDocument.java
14685         (AbstractDocument): Set the i18n document property.
14686         (removeImpl): Added checks for correct boundaries.
14687
14688 2006-06-22  Roman Kennke  <kennke@aicas.com>
14689
14690         * javax/swing/text/PlainDocument.java
14691         (rootElement): Changed type to Element.
14692         (tabSize): Removed field. This is stored in the document properties
14693         instead.
14694         (PlainDocument): Set tabSize property. Init rootElement without
14695         cast.
14696         (insertUpdate): Rewritten. The previous implementation did not
14697         handle some corner cases properly and was a mess.
14698         (removeUpdate): Cast rootElement to BranchElement.
14699
14700 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14701
14702         * javax/swing/plaf/basic/BasicLabelUI.java
14703         (installKeyboardActions): Implemented,
14704         (uninstallKeyboardActions): Implemented,
14705         (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14706         properties.
14707
14708 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
14709
14710         * javax/swing/JMenu.java:
14711         (removeAll): Added check for popupMenu not being null.
14712
14713 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14714
14715         * javax/swing/JLabel.java
14716         (getText): Updated API docs,
14717         (setText): Corrected the check for an unchanged value, and the update 
14718         of the displayedMnemonicIndex.
14719
14720 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14721
14722         * javax/swing/JLabel.java
14723         (setDisplayedMnemonic(int)): Fire property change event AFTER updating 
14724         field,
14725         (setDisplayedMnemonicIndex): Modified argument checking to handle case
14726         where label text is null.
14727
14728 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14729
14730         * javax/swing/JLabel.java
14731         (setDisplayedMnemonic): Updated API docs,
14732         (getDisplayedMnemonic): Removed unnecessary type-cast,
14733         (setDisplayedMnemonicIndex): Removed unnecessary validation, 
14734         (getDisplayedMnemonicIndex): Updated API docs.
14735
14736 2006-06-21  Jeroen Frijters  <jeroen@frijters.net>
14737
14738         * java/util/Collections (entrySet): Fixed compile error.
14739
14740 2006-06-21  David Gilbert  <david.gilbert@object-refinery.com>
14741
14742         * javax/swing/DefaultListSelectionModel.java
14743         (getSelectionMode): Updated API docs,
14744         (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14745         (addSelectionInterval): If mode is SINGLE_SELECTION, just call 
14746         setSelectionInterval(),
14747         (setSelectionInterval): Reimplemented SINGLE_SELECTION and 
14748         SINGLE_INTERVAL_SELECTION cases.
14749
14750 2006-06-21  Roman Kennke  <kennke@aicas.com>
14751
14752         * javax/swing/text/AbstractDocument.java
14753         (BranchElement.numChildren): New field.
14754         (BranchElement.BranchElement): Initialize children array with
14755         one element (that's the least number of elements that makes sense).
14756         Initialize numChildren.
14757         (BranchElement.children): Use numChildren as boundary.
14758         (BranchElement.getElement): Use numChildren as boundary.
14759         (BranchElement.getElementCount): Use numChildren as boundary.
14760         (BranchElement.getElementIndex): Use numChildren as boundary.
14761         (BranchElement.getEndOffset): Use numChildren as boundary.
14762         (BranchElement.getStartOffset): Use numChildren as boundary.
14763         (BranchElement.positionToElement): Use numChildren as boundary.
14764         (BranchElement.replace): Handle the children array more efficiently
14765         by growing in blocks > 1, and reusing space from removed elements.
14766         (LeafElement.startDelta): Removed.
14767         (LeafElement.endDelta): Removed.
14768         (LeafElement.LeafElement): Removed handling of deltas.
14769         (LeafElement.getEndOffset): Likewise.
14770         (LeafElement.getStartOffset): Likewise.
14771         * javax/swing/text/JTextComponent.java
14772         (setDocument): Added locking of the old document to avoid dangling
14773         notification beeing delivered while the document is beeing
14774         disconnected.
14775         (getScrollableTracksViewportWidth): Fixed condition.
14776         * javax/swing/text/PlainDocument.java
14777         (createDefaultRoot): Create elements without AttributeSet.
14778         * javax/swing/text/rtf/RTFParser.java
14779         (parseFile): Handle slightly incorrect RTF gracefully.
14780         * javax/swing/text/rtf/RTFScanner.java
14781         (lastToken): New field.
14782         (readTokenImpl): New method.
14783         (peekToken): New method.
14784         (readToken): Changed to call readTokenImpl or return the lastToken
14785         if there's one present.
14786
14787 2006-06-21  Tania Bento  <tbento@redhat.com>
14788
14789         * javax/swing/JMenu.java
14790         (remove): An IllegalArgumentException should be thrown if
14791         either index < 0 or if index > 0 and there are no menu
14792         components. Also, a check was added that ensures there are
14793         menu components before removing the desired the component.
14794
14795 2006-06-21  Lillian Angel  <langel@redhat.com>
14796
14797         * javax/swing/text/DefaultCaret.java
14798         (install): Added check to prevent NPE.
14799         (propertyChange): Added checks to prevent NPEs.
14800
14801 2006-06-21  Tania Bento  <tbento@redhat.com>
14802
14803         * javax/swing/JMenu.java
14804         Changed instantiation of popupMenu to null.
14805         (JMenu): Instantiated popupMenu to new JPopupMenu.
14806         (JMenu): Instantiated popupMenu to new JPopupMenu.      
14807         (add): Changed popupMenu to getPopupMenu().
14808         (add): Changed popupMenu to getPopupMenu().
14809         (add): Changed popupMenu to getPopupMenu().
14810         (add): Changed popupMenu to getPopupMenu().
14811         (remove): Changed popupMenu to getPopupMenu().
14812         (remove): Changed popupMenu to getPopupMenu().
14813         (insert): Changed popupMenu to getPopupMenu().
14814         (setSelectedHelper): Changed popupMenu to getPopupMenu().
14815         (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14816         (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14817         (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14818         (getMenuComponents): Changed popupMenu to getPopupMenu().
14819         (getPopupMenu): Check first if popupMenu is null and if so,
14820         instantiate it to a new JPopupMenu and set the invoker.
14821         * javax/swing/plaf/basic/BasicPopupMenuUI.java
14822         (popupMenuWillBecomeVisible): Component Listener should only
14823         be added to the root container if the root container is not 
14824         null. This avoids a null pointer exception.
14825
14826 2006-06-21  Tania Bento  <tbento@redhat.com>
14827
14828         * javax/swing/JMenu.java
14829         (JMenu): Delay should be set to 200, not default of 0.
14830         (JMenu): Delay should be set to 200, not default of 0.
14831         (JMenu): Delay should be set to 200, not default of 0.
14832         (JMenu): Delay should be set to 200, not default of 0.  
14833         (remove): Added check that index >= 0 before removing
14834         the component.
14835         (getItem): Return null if item count equals 0.
14836         (isTearOff): Should throw new error and not return false.
14837         (getMenuComponent): Return null if popupMenu is null or
14838         if there are no menu components.
14839
14840 2006-06-21  Roman Kennke  <kennke@aicas.com>
14841
14842         * java/awt/font/FontRenderContext.java:
14843         (equals): Added special conditions for affineTransform beeing
14844         null.
14845
14846 2006-06-21  Roman Kennke  <kennke@aicas.com>
14847
14848         * javax/swing/UIManager.java
14849         (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14850         must not be cleared.
14851
14852 2006-06-21  Roman Kennke  <kennke@aicas.com>
14853
14854         * javax/swing/plaf/metal/MetalUtils.java
14855         (paintHorizontalGradient): Use paintHorizontalGradient2D when
14856         Graphics2D is available. Use fillRect instead of drawLine, this
14857         is much faster.
14858         (paintVerticalGradient): Use paintHorizontalGradient2D when
14859         Graphics2D is available. Use fillRect instead of drawLine, this
14860         is much faster.
14861         (paintHorizontalGradient2D): New method. Paints gradient
14862         using Graphics2D functions.
14863         (paintVerticalGradient2D): New method. Paints gradient
14864         using Graphics2D functions.
14865
14866 2006-06-21  Roman Kennke  <kennke@aicas.com>
14867
14868         * javax/swing/plaf/basic/BasicButtonListener.java
14869         (propertyChange): Create a TextLayout and store it in the button
14870         when the 'text' property changes.
14871         * javax/swing/plaf/basic/BasicButtonUI.java
14872         (paintText): Call BasicGraphicsUtils utility method for
14873         drawing strings, instead of Graphics.drawString().
14874         * javax/swing/plaf/basic/BasicGraphicsUtils.java
14875         (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14876         cached text layouts as client properties in JComponents.
14877         (drawString(JComponent,Graphics,String,int,int)): New helper method.
14878         (drawStringUnderlineCharAt): New helper method.
14879         * javax/swing/plaf/basic/BasicMenuItemUI.java
14880         (PropertyChangeHandler.propertyChange): Update cached text layout
14881         when 'text' property changes. Use equals() instead of == for
14882         string comparison.
14883         (paintText): Use new BasicGraphicsUtils methods for painting
14884         the cached text layout.
14885         (installListeners): Call super.installListeners() and remove
14886         the unneeded listener installs.
14887         (uninstallListeners): Call super.uninstallListeners() and remove
14888         the unneeded listener uninstalls.
14889
14890 2006-06-21  Roman Kennke  <kennke@aicas.com>
14891
14892         * javax/swing/plaf/basic/BasicTextUI.java
14893         (PropertyChangeHandler.propertyChange): Handle document listener
14894         update here.
14895         (background): Removed unneeded fields.
14896         (inactiveBackground): Remove unneeded fields.
14897         (installUI): Install the document listener. Slightly changed
14898         order of operations. Don't trigger modelChanged().
14899         (installDefaults): Only install properties when the
14900         current properties are null or instances of UIResource.
14901         (installListeners): Removed unnecessary listener installs.
14902         (installDocumentListeners): Removed unneeded method.
14903         (uninstallListeners): Removed unnecessary listener uninstalls.
14904         (modelChanged): Removed call to installDocumentListeners().     
14905         * javax/swing/plaf/basic/BasicTextFieldUI.java
14906         (propertyChange): Update the colors by fetching them from
14907         SharedUIDefaults. Fixed conditions.
14908         * javax/swing/plaf/basic/SharedUIDefaults.java
14909         (getColor): New method.
14910
14911 2006-06-21  Roman Kennke  <kennke@aicas.com>
14912
14913         * javax/swing/SizeSequence.java
14914         (SizeSequence): Initialize array with correct number of entries.
14915
14916 2006-06-21  Roman Kennke  <kennke@aicas.com>
14917
14918         * javax/swing/JSplitPane.java
14919         (setDividerLocation): Substract divider size when computing
14920         the absolute size.
14921
14922 2006-06-21  Roman Kennke  <kennke@aicas.com>
14923
14924         * javax/swing/JComponent.java
14925         (paintChildrenWithOverlap): Determine opaque property by
14926         calling the corresponding Component method, without requiring
14927         a JComponent.
14928         (paintChildrenOptimized): Removed old unneeded code.
14929         (paintImmediately): Use JComponent's convertRectangleToAncestor()
14930         method instead of SwingUtilities.convertRectangle(). This is
14931         more efficient.
14932
14933 2006-06-21  Roman Kennke  <kennke@aicas.com>
14934
14935         * javax/swing/AbstractButton.java
14936         (init): Call setText() instead of setting the property directly,
14937         so that listeners (especially in the UI) get notified.
14938
14939 2006-06-21  Roman Kennke  <kennke@aicas.com>
14940
14941         * javax/swing/UIManager.java
14942         (MultiplexUIDefaults): New inner class.
14943         (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14944         (userUIDefaults): Changed name to be lookAndFeelDefaults.
14945         (<cinit>): Call setLookAndFeel(String) instead of trying to load
14946         directly. Print stacktrace if something goes wrong.
14947         (get): Delegate call to currentUIDefaults.
14948         (getDefaults): If currentUIDefaults is null, then lazily instantiate
14949         it.
14950         (getUI): Delegate call to currentUIDefaults.
14951         (put): Delegate call to currentUIDefaults.
14952         (setLookAndFeel): Initialize currentUIDefaults with
14953         MultiplexUIDefaults. Set lookAndFeelDefaults.
14954         (setLookAndFeel): Use current thread's context classloader for
14955         loading the L&F.
14956
14957 2006-06-21  Roman Kennke  <kennke@aicas.com>
14958
14959         * javax/swing/text/GapContent.java
14960         (GapContentPosition.GapContentPosition): Replace
14961         Collections.binarySearch with call to local search() to make
14962         sure we find the first object that equals the searched object.
14963         (setPositionsInRange): Likewise.
14964         (adjustPositionsInRange): Likewise.
14965         (search): New helper method.
14966
14967 2006-06-21  Gary Benson  <gbenson@redhat.com>
14968
14969         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
14970         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
14971         * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
14972
14973 2006-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
14974
14975         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
14976         APPLETVIEWER_EXECUTABLE to gappletviewer.
14977
14978 2006-06-20  Tom Tromey  <tromey@redhat.com>
14979
14980         PR classpath/28095:
14981         * java/net/URL.java (URL): Throw MalformedURLException if a
14982         RuntimeException is caught.  Chain exceptions.
14983
14984 2006-06-20  Lillian Angel  <langel@redhat.com>
14985
14986         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14987         (create): Added check to prevent Seg Fault. Should not
14988         set the label if it is null.
14989         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
14990         (setText): Changed to be a non-native function. Calls
14991         setNativeText if the String parameter is non-null.
14992         (setNativeText): Replaces old native setText function.
14993         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
14994         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14995         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
14996         Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
14997         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
14998         Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
14999
15000 2006-06-20  Lillian Angel  <langel@redhat.com>
15001
15002         * javax/swing/text/JTextComponent.java
15003         (AccessibleJTextComponent): Rewrote all javadocs
15004         for this inner class.
15005
15006 2006-06-20  Francis Kung  <fkung@redhat.com>
15007
15008         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
15009         Changed many members to be protected.
15010         (J2dBenchmark): moved to init() instead.
15011         (init): New method.
15012         (main): Call init() after creating object
15013         (testComplete): New method.
15014         (test_drawArc): Use maxTests varialbe instead of constant.
15015         (test_drawCubicCurve): Likewise.
15016         (test_drawEllipse): Likewise.
15017         (test_drawGeneralPath): Likewise.
15018         (test_drawImage): Likewise.
15019         (test_drawLine): Likewise.
15020         (test_drawQuadCurve): Likewise.
15021         (test_drawRectangle): Likewise.
15022         (test_drawRoundRectangle): Likewise.
15023         (test_drawTransparentImage): Likewise.
15024         (test_fillArc): Likewise.
15025         (test_fillEllipse): Likewise.
15026         (test_fillGeneralPath): Likewise.
15027         (test_fillRectangle): Likewise.
15028         (test_fillRoundRectangle): Likewise.
15029         (GraphicsTest.runSetNoClipping): Added runCount parameter.
15030         (GraphicsTest.runSetWithClipping): Likewise.
15031         (GraphicsTest.runSetZeroClipping): Likewise.
15032         (GraphicsTest.run): Added checks for more option flags.
15033         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
15034         New file.
15035
15036 2006-06-20  Roman Kennke  <kennke@aicas.com>
15037
15038         * javax/swing/text/GapContent.java
15039         (GapContentPosition.mark): New field.
15040         (GapContentPosition.index): Removed.
15041         (GapContentPosition.GapContentPosition): Changed to take the
15042         real offset as parameter. Added handling of reference counter.
15043         Try to cleanup before creating new instances.
15044         (getOffset): Delegate to the Mark method with same name.
15045         (Mark): New class, encapsulating a mark.
15046         (positionMarks): Removed field.
15047         (numMarks): Removed field.
15048         (marks): New field.
15049         (queueOfDeath): New field.
15050         (GapContent): Removed init of old fields, added init of new fields.
15051         (createPosition): Added check for validity of arguments.
15052         Create GapContentPosition directly with offset.
15053         (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
15054         (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
15055         (shiftGapStartDown): Call resetMarksAtZero().
15056         (shiftGapEndUp): Call resetMarksAtZero().
15057         (replace): Don't call resetMarksAtZero().
15058         (setPositionInRange): Replaced by simpler algorithm, similar to
15059         adjustPositionsInRange.
15060         (adjustPositionsInRange): Adapted to use of Mark objects.
15061         (resetMarksAtZero): Reset all marks that point to zero instead
15062         of only the first one.
15063         (dumpMarks): Adjusted to dump Mark objects.
15064         (insertMark): Removed.
15065         (garbageCollect): New method. Cleans up the marks list.
15066         (binarySearch): Removed.
15067
15068 2006-06-20  Lillian Angel  <langel@redhat.com>
15069
15070         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15071         (drawImage): Added call to updateColor because
15072         Cairo seems to lose the current color.
15073
15074 2006-06-20  Gary Benson  <gbenson@redhat.com>
15075
15076         * java/awt/Toolkit.java: Add security check.
15077         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
15078         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
15079
15080 2006-06-20  Raif S. Naffah  <raif@swiftdsl.com.au>
15081
15082         * gnu/java/security/key/dss/DSSKey.java: Source formatting.
15083         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15084         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15085         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
15086         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
15087         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15088         * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
15089         * gnu/java/security/key/dss/FIPS186.java: Likewise.
15090         * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
15091         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15092         * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
15093         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15094         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15095         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
15096         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15097         * gnu/java/security/key/IKeyPairCodec.java: Likewise.
15098         * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
15099         * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
15100         * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
15101
15102 2006-06-19  Lillian Angel  <langel@redhat.com>
15103
15104         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15105         (drawImage): Should always use getRGB to get the pixels.
15106         getData returns an incorrect array of pixels.
15107
15108 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
15109
15110         * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
15111         * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
15112         * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
15113         * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
15114         * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
15115         * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
15116         * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
15117         * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
15118         * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
15119         * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
15120         * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
15121         * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
15122         * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
15123         * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
15124         * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
15125         * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
15126         * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
15127         * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
15128         * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
15129         * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
15130         * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
15131         * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
15132         * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
15133         * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
15134         * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
15135         * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
15136         * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
15137         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
15138         * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
15139         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
15140         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15141         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
15142         * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
15143         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15144         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
15145         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15146
15147 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
15148
15149         * NEWS: Updated (delayed) for security tools and tools.texinfo.
15150
15151 2006-06-19  Roman Kennke  <kennke@aicas.com>
15152
15153         * gnu/java/awt/peer/gtk/ComponentGraphics.java
15154         (drawImage): Clip volatile image correctly.
15155         (drawVolatileImage): Added arguments for clipping.
15156         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15157         (drawVolatileImage): Added arguments for clipping. Clip image
15158         correctly.
15159         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15160
15161 2006-06-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
15162
15163         PR 28035
15164         * java/rmi/server/UID.java (constructor): Synchronized
15165         the whole constructor on the UID class.
15166
15167 2006-06-19  Roman Kennke  <kennke@aicas.com>
15168
15169         * javax/swing/RepaintManager.java
15170         (addInvalidComponent): Only add component that are displayable,
15171         that have displayable parents and that have a validateRoot.
15172         Also, don't validate components that have a CellRendererPane
15173         ancestor.
15174
15175 2006-06-19  David Gilbert  <david.gilbert@object-refinery.com>
15176
15177         * javax/swing/plaf/IconUIResource.java
15178         (IconUIResource): Throw IllegalArgumentException for null icon.
15179
15180 2006-06-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
15181
15182         PR 28035
15183         * java/rmi/server/UID.java (constructor): First increment
15184         uidCounter, and then use the value.
15185
15186 2006-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
15187
15188         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15189         * java/awt/GridBagConstraints.java: Indent.
15190
15191 2006-06-18  Tom Tromey  <tromey@redhat.com>
15192
15193         * native/jni/gconf-peer/.cvsignore: New file.
15194
15195 2006-06-18  Tom Tromey  <tromey@redhat.com>
15196
15197         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
15198         Also handle short options.
15199
15200 2006-06-18  Jim Huang  <jserv@kaffe.org>
15201
15202         PR classpath/28076:
15203         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
15204         Fixed typo.
15205
15206 2006-06-19  Mark Wielaard  <mark@klomp.org>
15207
15208         * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
15209         on gnu/java/util/prefs/gconf/%.class.
15210         * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
15211         chache typo, should be cache.
15212         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
15213         Declare tmp early.
15214         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
15215         Likewise.
15216         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
15217         Don't return a value for void function.
15218         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
15219         Likewise.
15220         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
15221         Mark clazz as unused.  Return JNI_FALSE, not NULL for jboolean
15222         function.
15223         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
15224         Mark clazz ad unused.
15225
15226 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
15227
15228         * gnu/java/security/hash/Whirlpool.java: Source formatting.
15229         * gnu/java/security/hash/Tiger.java: Likewise.
15230         * gnu/java/security/hash/Sha512.java: Likewise.
15231         * gnu/java/security/hash/Sha384.java: Likewise.
15232         * gnu/java/security/hash/Sha256.java: Likewise.
15233         * gnu/java/security/hash/Sha160.java: Likewise.
15234         * gnu/java/security/hash/RipeMD160.java: Likewise.
15235         * gnu/java/security/hash/RipeMD128.java: Likewise.
15236         * gnu/java/security/hash/MD5.java: Likewise.
15237         * gnu/java/security/hash/MD4.java: Likewise.
15238         * gnu/java/security/hash/MD2.java: Likewise.
15239         * gnu/java/security/hash/IMessageDigest.java: Likewise.
15240         * gnu/java/security/hash/Haval.java: Likewise.
15241         * gnu/java/security/hash/HashFactory.java: Likewise.
15242         * gnu/java/security/hash/BaseHash.java: Likewise.
15243
15244 2006-06-18  Sven de Marothy  <sven@physto.se>
15245
15246         * java/awt/event/KeyEvent.java:
15247         (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
15248         *  natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15249         Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
15250
15251 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
15252
15253         * gnu/java/security/util/Prime2.java: Removed.
15254         * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
15255         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15256         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
15257         (generate): Use isProbablePrime() in BigInteger instead of Prime2.
15258         * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
15259         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15260         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
15261         (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
15262         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
15263         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15264         * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
15265         (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
15266
15267 2006-06-18  Sven de Marothy  <sven@physto.se>
15268
15269         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15270         * java/awt/font/TextMeasurer.java: Fix copyright date, 
15271         remove commented-out code.
15272
15273 2006-06-18  Sven de Marothy  <sven@physto.se>
15274
15275         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15276         (FreetypeGlyphVector, clone): Implement cloning.
15277         (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
15278         * java/awt/font/TextMeasurer.java: Implement.
15279         * java/awt/font/LineBreakMeasurer.java: 
15280         Reimplement to use TextMeasurer.
15281         * java/awt/font/TextLayout.java
15282         New constructors.
15283         (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
15284         (getText, getFont): New private static methods.
15285         (setCharIndices): New method.
15286         * java/text/AttributedString.java
15287         (AttributedString): Fix constructor to stop at end point.
15288         
15289 2006-06-17  Tom Tromey  <tromey@redhat.com>
15290
15291         * lib/gen-classlist.sh.in: Search all top-level directories, not
15292         just 'org', in external.
15293
15294 2006-06-12  Mario torre  <neugens at limasoftware.net>
15295
15296         * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
15297         * gnu/java/util/prefs/GConfBasedFactory.java: new class.
15298         * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
15299         * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
15300         header file.
15301         * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
15302         * configure.ac: update to introduce new files. Added options
15303         to build gconf native peer used by the GConf preference backend.
15304         * include/Makefile.am: update to introduce new files.
15305         * native/jni/Makefile.am update to introduce new files.
15306         * scripts/check_jni_methods.sh: added three new ignored file
15307         from check.
15308         * native/jni/gconf-peer/Makefile.am: new Makefile needed to
15309         build gconf-peer shared library.
15310
15311 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
15312
15313         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
15314         Use Integer.valueOf() instead of new Integer().
15315         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15316         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15317         * gnu/java/security/util/Sequence.java: Likewise.
15318         * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
15319         * gnu/java/security/x509/X509Certificate.java: Likewise.
15320         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15321         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15322         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15323         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15324         * gnu/javax/crypto/cipher/DES.java: Likewise.
15325         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15326         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15327         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15328         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15329         * gnu/javax/crypto/cipher/Square.java: Likewise.
15330         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15331         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15332         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15333         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15334         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15335         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
15336         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15337         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15338         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
15339         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
15340         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
15341         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15342         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15343         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
15344         * gnu/javax/crypto/mac/UHash32.java: Likewise.
15345         * gnu/javax/crypto/mac/UMac32.java: Likewise.
15346         * gnu/javax/crypto/mode/BaseMode.java: Likewise.
15347         * gnu/javax/crypto/mode/EAX.java: Likewise.
15348         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
15349         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
15350         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
15351         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
15352         * java/security/cert/X509CertSelector.java: Likewise.
15353
15354 2006-06-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15355
15356         * javax/management/DynamicMBean.java:
15357         (setAttribute): Fixed to return void.
15358         * javax/management/MBeanFeatureInfo.java:
15359         New file.
15360         
15361 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
15362
15363         On behalf of Vivek Lakshmanan <vivekl@redhat.com>
15364         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
15365         (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15366         into engineInitHandler and reuse the code in
15367         engineInit(int, Key, AlgorithmSpec, SecureRandom).
15368         (engineInitHandler): New method.
15369         (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15370         null, use random or default information when possible.
15371
15372 2006-06-16  Francis Kung  <fkung@redhat.com>
15373
15374         * examples/gnu/classpath/examples/swing/Demo.java:
15375         (mkButtonBar): Rename FillRect to JNIOverhead.
15376         (mkMenuBar): Rename FillRect to JNIOverhead.
15377         * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15378         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15379         * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15380         Moved from old FillRect.
15381
15382 2006-06-16  Tom Tromey  <tromey@redhat.com>
15383
15384         * tools/.cvsignore: Added new tool names.
15385
15386 2006-06-16  Keith Seitz  <keiths@redhat.com>
15387
15388         * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15389         instantiation so that EventManager is created when getDefault
15390         is first called.
15391         * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15392         of EventManager.
15393
15394 2006-06-16  Keith Seitz  <keiths@redhat.com>
15395
15396         * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15397         (_initCount): New field.
15398         (Jdwp): Don't set isDebugging until fully initialized.
15399         (subcomponentInitialized): New method.
15400         (run): Wait for PacketProcessor and JdwpConnection to
15401         startup, then set isDebugging, and then let this thread
15402         die.
15403         * gnu/classpath/jdwp/transport/JdwpConnection.java
15404         (run): Add synchronization notification.
15405         * gnu/classpath/jdwp/processor/PacketProcessor.java
15406         (run): Likewise.
15407
15408 2006-06-16  Tom Tromey  <tromey@redhat.com>
15409
15410         * NEWS: Updated for JSR 166.
15411
15412 2006-06-16  Tom Tromey  <tromey@redhat.com>
15413
15414         * lib/Makefile.am (compile_classpath): Added jsr166.
15415         * configure.ac: Added external/jsr166/Makefile.
15416         * external/Makefile.am (SUBDIRS): Added jsr166.
15417         * external/jsr166/Makefile.am: New file.
15418         * lib/gen-classlist.sh.in: Look in external/jsr166.
15419
15420 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
15421
15422         * gnu/classpath/jdwp/event/ExceptionEvent:
15423         Added Object instance to javadoc in constructor
15424         * gnu/classpath/jdwp/event/MethodEntryEvent:
15425         Ditto.
15426         * gnu/classpath/jdwp/event/MethodExitEvent:
15427         Ditto,
15428         * gnu/classpath/jdwp/event/SingleStepEvent:
15429         Ditto. 
15430
15431 2006-06-16  Tom Tromey  <tromey@redhat.com>
15432
15433         Imported JSR 166 reference implementation:
15434         * .classpath: Added external/jsr166.
15435         * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15436         * java/util/AbstractQueue.java: Removed.
15437         * java/util/Queue.java: Removed.
15438         * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15439         (runPeriodic): Added explicit cast.
15440         * external/jsr166/java/util/ArrayDeque.java (clone): Use
15441         elements.clone.
15442
15443 2006-06-16  Tom Tromey  <tromey@redhat.com>
15444
15445         * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15446         Removed.
15447         (getCallerClass): Now static.
15448         * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15449
15450 2006-06-16  Lillian Angel  <langel@redhat.com>
15451
15452         * java/awt/FileDialog.java
15453         (FileDialog): Added @since tag to API docs.
15454         (FileDialog): Likewise.
15455         (FileDialog): Likewise.
15456         * java/awt/Font.java:
15457         Added @since tag to TYPE1_FONT field docs.
15458         * javax/swing/plaf/basic/BasicScrollBarUI.java:
15459         (isThumbRollover): Likewise.
15460         (setThumbRollover): Likewise.
15461         (getSupportsAbsolutePositioning): Likewise.
15462         * javax/swing/plaf/basic/BasicSliderUI.java:
15463         (isDragging): Likewise.
15464
15465 2006-06-16  Lillian Angel  <langel@redhat.com>
15466
15467         * java/awt/FileDialog.java
15468         (FileDialog): Implemented.
15469         (FileDialog): Implemented.
15470         (FileDialog): Implemented.
15471         * java/awt/Font.java:
15472         Added TYPE1_FONT constant field.
15473
15474 2006-06-16  Lillian Angel  <langel@redhat.com>
15475
15476         * java/awt/font/TextLayout.java:
15477         Removed unneeded imports.
15478         * javax/swing/plaf/basic/BasicScrollBarUI.java:
15479         Added new thumbRollover field.
15480         (mouseMoved): Added code to set thumbRollover field.
15481         (isThumbRollover): New function.
15482         (setThumbRollover): New function.
15483         (getSupportsAbsolutePositioning): Implemented. This
15484         needs to be changed once the feature has been 
15485         implemented.
15486         * javax/swing/plaf/basic/BasicSliderUI.java:
15487         Added new dragging field.
15488         (mouseDragged): Initialized dragging field.
15489         (isDragging): New function.
15490         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15491         (focusGained): Marked as not implemented.
15492         (focusLost): Likewise.
15493
15494 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
15495
15496         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15497         Added check for null ThreadId to avoid null pointer
15498         exception.
15499
15500 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15501
15502         * javax/swing/DefaultComboBoxModel.java
15503         (removeElementAt): Set new selected item by calling setSelectedItem().
15504
15505 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15506
15507         * javax/swing/DefaultButtonModel.java
15508         (setSelected): Use 'this', not null, for the item in the ItemEvent.
15509
15510 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15511
15512         * javax/swing/event/ListDataEvent.java: updated API docs, plus
15513         (ListDataEvent): Handle case where index0 > index1,
15514         (toString): Implemented.
15515
15516 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
15517
15518         * javax/swing/plaf/metal/MetalMenuBarUI.java:
15519         (update): Added subexpression to if-statement.
15520
15521 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
15522
15523         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15524         (installDefaults): Removed unneccessary code.
15525         (paint): Removed complex if-cascade, revert to default icon if
15526         icon property is not set.
15527         (getPreferredSize): New method.
15528
15529 2006-06-16  Roman Kennke  <kennke@aicas.com>
15530
15531         PR 28027
15532         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15533         (drawImage): Don't use setClip() but instead clipRect() to
15534         intersect the current clip with a new one.
15535
15536 2006-06-15  Tom Tromey  <tromey@redhat.com>
15537
15538         * scripts/sanitize-jsr166: New file.
15539         * external/jsr166/IMPORTING: New file.
15540         * vm/reference/sun/reflect/Reflection.java: New file.
15541         * vm/reference/gnu/classpath/Unsafe.java: Moved...
15542         * vm/reference/sun/misc/Unsafe.java: ...here.
15543
15544 2006-06-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
15545
15546         * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15547         gjarsigner and keytool to gkeytool.
15548         * doc/tools.texinfo: Add note about tool exectable names.
15549         * tools/Makefile.am: Rename appletviewer to gappletviewer,
15550         jarsigner to gjarsigner and keytool to gkeytool.
15551         * tools/appletviewer.in: Rename ...
15552         * tools/gappletviewer.in: New file.
15553         * tools/jarsigner.in: Rename ...
15554         * tools/gjarsigner.in: New file.
15555         * tools/keytool.in: Rename ...
15556         * tools/gkeytool.in: New file.
15557         * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15558
15559 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15560
15561         * javax/management/AttributeList.java:
15562         Add serialization UID.
15563         * javax/management/DynamicMBean.java:
15564         New file.
15565         * javax/management/JMRuntimeException.java:
15566         Add serialization UID and correct name
15567         of serialized field.
15568         * javax/management/MBeanInfo.java: New file.
15569         
15570 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15571
15572         * javax/management/AttributeList.java,
15573         * javax/management/JMRuntimeException.java,
15574         * javax/management/RuntimeOperationsException.java:
15575         New files.
15576         
15577 2006-06-15  Lillian Angel  <langel@redhat.com>
15578
15579         * java/awt/font/TextLayout.java:
15580         DEFAULT_CARET_POLICY changed to be public static final.
15581
15582 2006-06-15  Tania Bento  <tbento@redhat.com>
15583
15584         * javax/swing/plaf/metal/MetalScrollButton.java
15585         (MetalScrollButton): Should set 'focusable' to false.
15586
15587 2006-06-15  Tania Bento  <tbento@redhat.com>
15588
15589         * javax/swing/plaf/basic/BasicArrowButton.java
15590         (BasicArrowButton): Should set 'focusable' to false.
15591         (BasicArrowButton): Should set 'focusable' to false.
15592
15593 2006-06-15  Mark Wielaard  <mark@klomp.org>
15594
15595         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15596         (getGraphicsConfiguration): Return default screen device.
15597         * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15598         New field.
15599         (GtkVolatileImage): Record initiating component.
15600         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15601         (getDeviceConfiguration): Return configuration of image component.
15602
15603 2006-06-15  Mark Wielaard  <mark@klomp.org>
15604
15605         * java/awt/geom/GeneralPath.java (closePath): Return if path already
15606         closed.
15607
15608 2006-06-15  Mark Wielaard  <mark@klomp.org>
15609
15610         * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15611         with null argument.
15612
15613 2006-06-15  Kyle Galloway  <kgallowa@redhat.com>
15614
15615         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15616         (matches): Added explicit brackets to return statement.
15617
15618 2006-06-15  Tania Bento  <tbento@redhat.com>
15619
15620         * javax/swing/JRadioButtonMenuItem.java
15621         (JRadioButtonMenuItem): Should set 'focusable' to false.
15622
15623 2006-06-15  Tania Bento  <tbento@redhat.com>
15624
15625         * javax/swing/JCheckBoxMenuItem.java
15626         (JCheckBoxMenuItem): Should set 'focusable' to false.
15627
15628 2006-06-15  Tania Bento  <tbento@redhat.com>
15629
15630         * javax/swing/AbstractButton.java:
15631         (AbstractButton): 'Focusable' should be set to true and not false.
15632
15633 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15634
15635         * java/lang/management/ManagementFactory.java:
15636         Add private constructor to prevent instance creation.
15637         * java/lang/management/ManagementPermission.java:
15638         Make final.
15639         
15640 2006-06-15  Francis Kung  <fkung@redhat.com>
15641
15642         * javax/swing/plaf/basic/BasicArrowButton.java:
15643         (BasicArrowButton): move client property for not triggering out 
15644         of consturctor
15645         * javax/swing/plaf/basic/BasicComboBoxUI.java:
15646         (configureArrowButton): set client property for not triggering
15647         (installUI): set client property for not triggering
15648         * javax/swing/plaf/basic/BasicLookAndFeel.java:
15649         (PopupHelper.mousePressed): check client property for triggering
15650
15651 2006-06-15  Roman Kennke  <kennke@aicas.com>
15652
15653         PR 28037
15654         * javax/swing/RepaintManager.java
15655         (blitBuffer): Substract coordinates the other way around.
15656
15657 2006-06-15  Roman Kennke  <kennke@aicas.com>
15658
15659         PR 28027
15660         * javax/swing/JComponent.java
15661         (paintImmediately2): Only paint component without double buffering
15662         when all of it's parents have also double buffering disabled.
15663         (isPaintingDoubleBuffered): New helper method.
15664
15665 2006-06-15  David Gilbert  <david.gilbert@object-refinery.com>
15666
15667         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15668         (draw(Shape)): Pass null transform to getPathIterator(),
15669         (getClip): Likewise,
15670         * gnu/java/print/PostscriptGraphics2D.java
15671         (drawStringShape): Pass null transform to getPathIterator(),
15672         (writeShape): Likewise,
15673         * java/awt/Shape.java: Small updates to API docs.
15674
15675 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15676
15677         * javax/naming/InitialContext.java:
15678         (list(javax.naming.Name)): Fixed generic type.
15679         (list(String)): Likewise.
15680         (listBindings(javax.naming.Name)): Likewise.
15681         (listBindings(String)): Likewise.
15682         
15683 2006-06-14  Roman Kennke  <kennke@aicas.com>
15684
15685         * javax/swing/plaf/basic/BasicComboBoxUI.java
15686         (getAccessibleChildrenCount): Implemented.
15687         (getAccessibleChild): Implemented.
15688         (isNavigationKey): Implemented.
15689         (KeyHandler.keyPressed): Implemented.
15690
15691 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15692
15693         * java/lang/management/ManagementPermission.java:
15694         Added serialization UID.
15695         * javax/management/Attribute.java: Likewise.
15696         * javax/management/MBeanException.java,
15697         * javax/management/ReflectionException.java:
15698         Added serialization UID and changed to extend
15699         javax.management.JMException.
15700         
15701 2006-06-14  Lillian Angel  <langel@redhat.com>
15702
15703         * java/awt/Component.java
15704         (ignoreOldMouseEvents): Made static.
15705         (translateEvent): Made static.
15706         * java/awt/TextComponent.java
15707         (ignoreOldMouseEvents): Made static.
15708
15709 2006-06-14  Mark Wielaard  <mark@klomp.org>
15710
15711         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15712         call super.
15713         (drawRect): Likewise.
15714         (fillRect): Likewise.
15715
15716 2006-06-14  Lillian Angel  <langel@redhat.com>
15717
15718         * java/awt/Component.java
15719         (ignoreOldMouseEvents): New helper function.
15720         (translateEvent): Changed to be non-static and use new helper.
15721         * java/awt/TextComponent.java
15722         (ignoreOldMouseEvents): New helper function.
15723
15724 2006-06-14  Roman Kennke  <kennke@aicas.com>
15725
15726         * javax/swing/RepaintManager.java
15727         (MERGE_REGIONS): New constant flag.
15728         (commitBuffer): Exclude the merging of regions by default. This
15729         was causing painting artifacts in some applications, especially
15730         when different areas of the GUI are updated synchronously.
15731
15732 2006-06-14  Roman Kennke  <kennke@aicas.com>
15733
15734         * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15735         New file. This is a benchmark for AWT 1.1 style graphics operations.
15736         * examples/gnu/classpath/examples/awt/palme.gif: New file.
15737         * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15738
15739 2006-06-14  Tom Tromey  <tromey@redhat.com>
15740
15741         * java/io/File.java (getParent): Javadoc fix.
15742
15743 2006-06-14  Tom Tromey  <tromey@redhat.com>
15744
15745         * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15746         jar.
15747         * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15748         when index entry does not exist.
15749
15750 2006-06-14  Tania Bento  <tbento@redhat.com>
15751
15752         * javax/swing/AbstractButton.java
15753         (AbstractButton): Set focusable to false, not true.
15754
15755 2006-06-14  Tania Bento  <tbento@redhat.com>
15756
15757         * javax/swing/JMenuItem.java
15758         (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15759
15760 2006-06-14  Tania Bento  <tbento@redhat.com>
15761
15762         * javax/swing/JCheckBoxMenuItem.java
15763         (JCheckBoxMenuItem): Added check to set the selected state.
15764
15765 2006-06-14  Roman Kennke  <kennke@aicas.com>
15766
15767         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15768         (cairoDrawLine): New native method.
15769         (cairoDrawRect): New native method.
15770         (cairoFillRect): New native method.
15771         (drawLine): Use special native method.
15772         (drawRect): Use special native method.
15773         (fillRect): Use special native method.
15774         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15775         (cairoDrawLine): New native method.
15776         (cairoDrawRect): New native method.
15777         (cairoFillRect): New native method.
15778         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15779
15780 2006-06-14  Mark Wielaard  <mark@klomp.org>
15781
15782         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15783         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15784         cannot be allocated.
15785
15786 2006-06-14  Tom Tromey  <tromey@redhat.com>
15787
15788         PR java/28024:
15789         * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15790         * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15791
15792 2006-06-14  Roman Kennke  <kennke@aicas.com>
15793
15794         * javax/swing/JComponent.java
15795         (isRepainting): New flag.
15796         (paintImmediately2): Set isRepainting flag.
15797         (getRoot): Removed obsolete method.
15798         (paintDoubleBuffered): Differenciate between paint calls from
15799         RepaintManager and from AWT refresh. Call
15800         RepaintManager.commitBuffer with this and local coordinates.
15801         (findOpaqueParent): Stop searching at heavyweight component. These
15802         are always opaque.
15803         (paintChildrenOptimized): Don't paint heavyweight children. These
15804         should care for themselves.
15805         (paintChildrenWithOverlap): Don't paint heavyweight children. These
15806         should care for themselves.
15807         * javax/swing/RepaintManager.java
15808         (getOffscreenBuffer): Associate offscreen buffer with toplevel
15809         windows only.
15810         (getVolatileOffscreenBuffer): Associate offscreen buffer with
15811         toplevel windows only.
15812         (getRoot): Removed obsolete method.
15813         (commitBuffer): Blit buffer on nearest heavyweight.
15814         (blitBuffer): New helper method.
15815         (getHeavyweightParent): New helper method.
15816         (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15817         * javax/swing/SwingUtilities.java
15818         (convertRectangleToAncestor): New helper method.
15819
15820 2006-06-14  Raif S. Naffah  <raif@swiftdsl.com.au>
15821
15822         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15823         Condition all trace/debug code based on Configuration.DEBUG.
15824         Use logger instead of STDOUT and ot STDERR.
15825
15826 2006-06-13  Lillian Angel  <langel@redhat.com>
15827
15828         * native/plugin/gcjwebplugin.cc
15829         (NP_Initialize): Removed code to create whitelist file.
15830         (GCJ_New): Added code to create whitelist file.
15831         (plugin_user_trusts_documentbase): Fixed error message.
15832
15833 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15834
15835         * javax/swing/plaf/metal/MetalIconFactory.java
15836         (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to 
15837         prevent overwriting border,
15838         (VerticalSliderThumbIcon.gradientMask): Likewise.
15839
15840 2006-06-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15841
15842         * javax/management/AttributeNotFoundException.java,
15843         * javax/management/InvalidAttributeValueException.java,
15844         * javax/management/JMException.java,
15845         * javax/management/MBeanException.java,
15846         * javax/management/OperationsException.java,
15847         * javax/management/ReflectionException.java:
15848         New files.
15849         
15850 2006-06-13  Roman Kennke  <kennke@aicas.com>
15851
15852         * java/awt/Component.java
15853         (dispatchEvent): Handle events even when consumed (this might be
15854         picked up later in the dispatching chain).
15855         * javax/swing/plaf/basic/BasicLookAndFeel.java
15856         (PopupHelper.mousePressed): Don't consume event. Only close popup
15857         when target component isn't flagged as DONT_CANCEL_POPUP.
15858         (DONT_CANCEL_POPUP): New package private constant for flagging
15859         special components that don't trigger popup closing.
15860         * javax/swing/plaf/basic/BasicArrowButton.java
15861         (BasicArrowButton): Set client property for not triggering closing
15862         of popups.
15863
15864 2006-06-13  Lillian Angel  <langel@redhat.com>
15865
15866         * java/awt/image/PixelGrabber.java
15867         (PixelGrabber): Added to API documentation.
15868
15869 2006-06-13  Keith Seitz  <keiths@redhat.com>
15870
15871         From Kyle Galloway  <kgallowa@redhat.com>:
15872         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15873         (ExceptionOnlyFilter): Allow null refId.
15874
15875         * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15876         compatibility with filters.
15877         (getParameter): Modified to allow access to above. 
15878
15879 2006-06-13  Sven de Marothy  <sven@physto.se>
15880
15881         * gnu/java/awt/peer/gtk/CairoSurface.java
15882         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15883         (create): Use stride in ints.
15884
15885 2006-06-13  Keith Seitz  <keiths@redhat.com>
15886
15887         From Kyle Galloway  <kgallowa@redhat.com>:
15888         * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15889
15890 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15891
15892         * javax/swing/plaf/basic/BasicSliderUI.java
15893         (calculateThumbSize): Removed unnecessary code,
15894         (calculateThumbLocation): Shift position by one,
15895         (calculateTickRect): Shift position by one when ticks are displayed,
15896         (calculateLabelRect): Calculate rect differently according to whether
15897         or not the labels are visible,
15898         (paintTrack): Shift track down one pixel.
15899
15900 2006-06-13  Lillian Angel  <langel@redhat.com>
15901
15902         * java/awt/image/PixelGrabber.java
15903         (PixelGrabber): Removed check to throw exception. JDK does
15904         not do this.
15905         (startGrabbing): Removed line to print stacktrace. 
15906
15907 2006-06-13  Mark Wielaard  <mark@klomp.org>
15908
15909         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15910         allocate unused AffineTransform. Add comment about conversion to
15911         BufferedImage.
15912         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15913         Recognize identity transform as "easy". Always convert to
15914         BufferedImage before calling super.
15915
15916 2006-06-13  Roman Kennke  <kennke@aicas.com>
15917
15918         * java/awt/Component.java
15919         (getGraphics): Translate child graphics correctly.
15920         (dispatchEvent): Only dispatch event if it hasn't been consumed
15921         yet by the global dispatcher.
15922         * javax/swing/plaf/basic/BasicLookAndFeel.java
15923         Added some API docs.
15924         (PopupHelper.mousePressed): Consume the event after closing
15925         opened menus.
15926
15927 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15928
15929         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting 
15930         changes only,
15931         * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15932         * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15933         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15934         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15935         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15936         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15937         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15938         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15939         * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15940         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15941         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15942         * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15943         * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15944         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15945         * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15946         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15947
15948 2006-06-12  Sven de Marothy  <sven@physto.se>
15949
15950         * java/awt/font/LineBreakMeasurer.java): Implement.
15951
15952 2006-06-12  Keith Seitz  <keiths@redhat.com>
15953
15954         From Kyle Galloway  <kgallowa@redhat.com>:
15955         * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15956
15957 2006-06-12  Keith Seitz  <keiths@redhat.com>
15958
15959         From Kyle Galloway  <kgallowa@redhat.com>:
15960         * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15961
15962         * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15963
15964 2006-06-12  Roman Kennke  <kennke@aicas.com>
15965
15966         * javax/swing/JComponent.java
15967         (paintDoubleBuffered): Correctly translate and clip the Graphics
15968         instance.
15969         (clipAndTranslateGraphics): New helper method.
15970
15971 2006-06-12  Roman Kennke  <kennke@aicas.com>
15972
15973         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15974         (copy): Use getClip() to copy the clip. Make copied transform
15975         null when original transform is null. Set clip here.
15976         (setTransform): Correctly update the clip.
15977         (setTransformImpl): New method. Updates the actual transform for
15978         Cairo.
15979         (transform): Correctly update the clip.
15980         (translate): Correctly update the clip.
15981         (clip): Handle null clip and argument correctly.
15982         (clipRect): Avoid creating new Rectangle objects.
15983         (getClip): Get the correct copy of the clip.
15984         (setClip): Correctly handle null argument.
15985         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15986         (CairoSurfaceGraphics): Don't set the clip here. The clip can either
15987         be null or whatever has been set in copy().
15988         * gnu/java/awt/peer/gtk/ComponentGraphics.java
15989         (drawImage): Add translation to the image coordinates.
15990         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15991         (VolatileImageGraphics): Don't set clip here. The clip can either
15992         be null or whatever has been set in copy().
15993
15994 2006-06-12  Keith Seitz  <keiths@redhat.com>
15995
15996         From Kyle Galloway  <kgallowa@redhat.com>:
15997         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15998         (forCaught): Removed unused/unnecessary method.
15999         (forUncaught): Likewise.
16000         (matches): Implement.
16001
16002 2006-06-12  Keith Seitz  <keiths@redhat.com>
16003
16004         From Kyle Galloway  <kgallowa@redhat.com>:
16005         * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
16006
16007 2006-06-12  Keith Seitz  <keiths@redhat.com>
16008
16009         From Kyle Galloway  <kgallowa@redhat.com>:
16010         * gnu/classpath/jdwp/event/Event.java: Added constants for
16011         type.
16012         (getParameter): Changed parameter type from Class to int.
16013         * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
16014         Changed from Class type to constants.
16015         * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
16016         Likewise.
16017         * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
16018         Likewise.
16019         * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
16020         Likewise.
16021         * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
16022         Likewise.
16023         * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
16024         Likewise.
16025         * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
16026         Likewise.
16027         * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
16028         Likewise.
16029         * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
16030         Likewise.
16031         * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
16032         Likewise.
16033
16034 2006-06-12  Lillian Angel  <langel@redhat.com>
16035
16036         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
16037         (StandaloneAppletWindow): Changed title of standalone window.
16038
16039 2006-06-12  Lillian Angel  <langel@redhat.com>
16040
16041         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16042         (layoutContainer): Added missing selectedComponent assignment.
16043
16044 2006-06-12  Lillian Angel  <langel@redhat.com>
16045
16046         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16047         (layoutContainer): Added check to prevent exception.
16048
16049 2006-06-12  Tom Tromey  <tromey@redhat.com>
16050
16051         * java/lang/Thread.java (uncaughtException): Javadoc fix.
16052
16053 2006-06-12  Mark Wielaard  <mark@klomp.org>
16054
16055         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
16056         New static field.
16057         (ONE): Likewise.
16058         (lock): New method.
16059         (unlock): Likewise.
16060         (draw): Use lock() and unlock().
16061         (fill): Likewise.
16062         (drawRenderedImage): Likewise.
16063         (drawImage): Likewise.
16064         (drawGlyphVector): Likewise.
16065
16066 2006-06-12  Roman Kennke  <kennke@aicas.com>
16067
16068         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16069         (drawPixels): Include alpha in parameter list.
16070         (cairoFill): Include alpha in parameter list.
16071         (setComposite): Don't modify the color.
16072         (draw(Shape))): Use fill when the current composite has an alpha
16073         of != 1.0, so that the stroked shaped will be composited.
16074         (fill(Shape)): Call cairoFill() with alpha.
16075         (drawImage): Call drawPixels or drawSurface with alpha.
16076         (drawGlyphVector): When composite alpha is != 1.0, render the
16077         outline using fill() to enable compositing for text.
16078         (drawRaster): Call drawPixels with alpha.
16079         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16080         (nativeDrawSurface): Include alpha in parameter list.
16081         (drawSurface): Include alpha in parameter list. Pass it to
16082         nativeDrawSurface().
16083         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
16084         * include/gnu_java_awt_peer_gtk_CairoSurface.h:
16085         Regenerated.
16086         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16087         (drawPixels): Handle possible alpha for compositing.
16088         (cairoFill): Likewise.
16089         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16090         (nativeDrawSurface): Handle possible alpha for compositing.
16091
16092 2006-06-12  Mark Wielaard  <mark@klomp.org>
16093
16094         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16095         Notify data when completely done. Wait for worker thread to finish.
16096         Rethrow any pending exceptions.
16097         (exception): New field.
16098         (run): Store pending exception.
16099
16100 2006-06-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16101
16102         * java/lang/management/ManagementPermission.java:
16103         New file.
16104         
16105 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
16106
16107         * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
16108
16109 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
16110
16111         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16112         Use String.charAt().
16113
16114 2006-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
16115
16116         * doc/tools.texinfo
16117         (Applet Tools): New chapter.
16118         (appletviewer Tool): New section.
16119         (gcjwebplugin): New section.
16120
16121 2006-06-11  Mark Wielaard  <mark@klomp.org>
16122
16123         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16124         Takes GdkPixbufWriter.
16125         (GdkPixbufWriter): Implements Runnable.
16126         (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
16127         data processing.
16128         (DATADONE): New static final field.
16129         (data): New field.
16130         (write(byte[])): New method.
16131         (run): Likewise.
16132         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
16133         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
16134         Get dataOutputWriteID from writeClass.
16135         (stream_save_request): Change stream field to writer.
16136         (save_to_stream): Remove FIXME, call writer.
16137         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
16138         Store writer.
16139
16140 2006-06-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16141
16142         * NEWS:
16143         Mention new VM interface and use of properties.
16144         * doc/vmintegration.texinfo:
16145         Update with new gnu.java.lang.management section.
16146         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
16147         New file.
16148         * java/lang/management/ManagementFactory.java:
16149         (getRuntimeMXBean()): Implemented.
16150         * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
16151         New VM interface file.
16152         
16153 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16154
16155         PR Classpath/26065
16156         * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
16157         debug code based on Configuration.DEBUG.
16158         Use logger instead of STDOUT and ot STDERR.
16159         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
16160         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
16161         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
16162         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
16163         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
16164         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
16165         * gnu/javax/crypto/pad/TBC.java: Likewise.
16166         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
16167         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
16168         * gnu/javax/crypto/pad/BasePad.java: Likewise.
16169         * gnu/javax/crypto/mac/OMAC.java: Likewise.
16170         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
16171         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
16172         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
16173         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
16174         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
16175         * gnu/javax/crypto/keyring/Entry.java: Likewise.
16176         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
16177         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
16178         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
16179         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
16180         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
16181         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
16182         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
16183         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
16184         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
16185         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
16186         * gnu/java/security/Properties.java: Likewise.
16187         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
16188         * gnu/java/security/x509/X509CRL.java: Likewise.
16189         * gnu/java/security/x509/ext/Extension.java: Likewise.
16190         * gnu/java/security/util/Prime2.java: Likewise.
16191         * gnu/java/security/util/Base64.java: Likewise.
16192         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
16193         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
16194         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
16195         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
16196         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
16197         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
16198         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
16199         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
16200         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
16201         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
16202         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
16203         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
16204         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
16205         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
16206         * gnu/java/security/hash/Whirlpool.java: Likewise.
16207
16208 2006-06-11  Mark Wielaard  <mark@klomp.org>
16209
16210         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16211         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
16212         Remove unused variable glyph_index.
16213
16214 2006-06-11  Mark Wielaard  <mark@klomp.org>
16215
16216         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
16217         Don't recurse, return false if not an BufferedImage and no image
16218         source available.
16219         * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
16220         end_gdk_drawing() to finally block.
16221         (fill): Likewise.
16222         (drawRenderedImage): Likewise.
16223         (drawImage): Likewise.
16224         (drawGlyphVector): Likewise.
16225
16226 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16227
16228         * doc/tools.texinfo: Added text for new -cacert command.
16229         Re-structured sections.
16230         * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
16231         for -cacert command.
16232         * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
16233         (_CACERT): Likewise.
16234         (shutdownThread): New field.
16235         (Main): Install shutdown thread.
16236         (main): Uninstall shutdown thread.
16237         (start): Handle new -cacert command.
16238         (getParser): Likewise.
16239         (teardown): Increased visibility.
16240         (ShutdownHook): New inner class.
16241         * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
16242
16243 2006-06-11  Sven de Marothy  <sven@physto.se>
16244
16245         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16246         (setupGlyphMetrics): New method. Add glyphmetrics caching.
16247         (getOutline): Operate on the shape directly.
16248         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16249         (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
16250         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16251         (getGlyph renamed getGlyphs)
16252         * java/awt/geom/AffineTransform.java
16253         (getTranslateInstance): Set fields directly.
16254         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16255         (getGlyphs): Get all glyph codes at once.
16256         
16257 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16258
16259         PR Classpath/27853
16260         * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
16261
16262 2006-06-11  Sven de Marothy  <sven@physto.se>
16263
16264         * java/awt/font/TextLayout.java
16265         (getLogicalHighlightShape): Add check.
16266         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16267         (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
16268
16269 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16270
16271         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16272         Check that every component of 'cn' starts with a valid Java identifier char.
16273
16274 2006-06-10  Tom Tromey  <tromey@redhat.com>
16275
16276         * java/io/File.java (pathSeparator): Typo fix.
16277
16278 2006-06-10  Mark Wielaard  <mark@klomp.org>
16279
16280         * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
16281         Removed.
16282         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16283         Mark all unused parameters.
16284         (cp_gtk_get_cairo_t): Removed.
16285         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
16286         Don't mix declerations and statements.
16287         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
16288         Mark all unused parameters.
16289         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
16290         Get cairographics2d pointer directly.
16291         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
16292         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
16293         Use jlong to pass pointer.
16294         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16295         Mark all unused parameters.
16296         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16297         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
16298         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
16299         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
16300         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
16301         * include/java_io_VMFile.h: Regenerated.
16302
16303 2006-06-10  Roman Kennke  <kennke@aicas.com>
16304
16305         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16306         (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
16307         instead of setClip(), so that an already present clip is intersected
16308         and not resetted.
16309
16310 2006-06-10  Mark Wielaard  <mark@klomp.org>
16311
16312         * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
16313         Call getSize() to avoid accessor method.
16314
16315 2006-06-10  Mark Wielaard  <mark@klomp.org>
16316
16317         * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
16318         Qualify ElementSpec.
16319
16320 2006-06-10  Mark Wielaard  <mark@klomp.org>
16321
16322         * lib/.cvsignore: Add sun.
16323         * lib/Makefile.am (dist-hook): Likewise.
16324
16325 2006-06-10  Roman Kennke  <kennke@aicas.com>
16326
16327         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16328         * gnu/java/awt/peer/gtk/CairoSurface.java
16329         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16330         * gnu/java/awt/peer/gtk/ComponentGraphics.java
16331         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16332         * native/jni/gtk-peer/cairographics2d.h
16333         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16334         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16335         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16336         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16337         Changed method signatures and calls to pass native pointers directly
16338         into the JNI code, in order to avoid costly lookups on each
16339         JNI call.
16340         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
16341         * include/gnu_java_awt_peer_gtk_CairoSurface.h,
16342         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
16343         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
16344         Regenerated
16345
16346 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16347
16348         PR 27973
16349         * javax/swing/text/DefaultStyledDocument.java 
16350         (ElementBuffer.insertContentTag):
16351         Do not recreate leaves and do not remove elements here. 
16352
16353 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16354
16355         * javax/swing/text/html/HTMLDocument.java
16356         (HTMLReader.HiddenAction): Implemented.
16357
16358 2006-06-10  Roman Kennke  <kennke@aicas.com>
16359
16360         * javax/swing/RepaintManager.java
16361         (getVolatileOffscreenBuffer): Store the created buffer.
16362         * javax/swing/JComponent.java
16363         (paintDoubleBuffered): Try to use a volatile offscreen buffer
16364         for better performance.
16365
16366 2006-06-10  Roman Kennke  <kennke@aicas.com>
16367
16368         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16369         (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16370         context correctly.
16371         (getRealBounds): Overridden to return the correct bounds.
16372
16373 2006-06-10  Roman Kennke  <kennke@aicas.com>
16374
16375         * javax/swing/plaf/metal/MetalButtonUI.java
16376         (update): Fixed to paint the gradient under the correct conditions.
16377         (updateWidthGradient): Removed.
16378         (isToolbarButton): New helper method.
16379         (isDrawingGradient): New helper method.
16380
16381 2006-06-09  Roman Kennke  <kennke@aicas.com>
16382
16383         * javax/swing/JTabbedPane.java
16384         (setSelectedIndex): Don't change the visibility of the components,
16385         this is done by the UI class.
16386         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16387         (TabbedPaneLayout.layoutContainer): Change visibility of component
16388         here, depending on the selected index. Only do this if the new
16389         selected component is not null. Some programs seem to expect
16390         this.
16391         (visibleComponent): New field.
16392         (getVisibleComponent): Changed to return visibleComponent field.
16393         (setVisibleComponent): Changed to set the visibility of
16394         the old and new visible component.
16395
16396 2006-06-09  Roman Kennke  <kennke@aicas.com>
16397
16398         * javax/swing/JComponent.java
16399         (paintChildrenOptimized): Paint component with a new Graphics
16400         object to protect the other painting code from modifications
16401         done in that object, and avoid cleanup ops on possibly dispose()ed
16402         Graphics object.
16403
16404 2006-06-09  Sven de Marothy  <sven@physto.se>
16405
16406         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16407         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16408         Use GTK locks while disposing (Xlib) surface.
16409
16410 2006-06-09  Tom Tromey  <tromey@redhat.com>
16411
16412         * lib/Makefile.am (install-data-local): Copy 'sun' files.
16413         (uninstall-local): Delete 'sun' directory.
16414         (glibj.zip): Include 'sun' classes.
16415         (clean-local): Delete 'sun' directory.
16416         * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16417
16418 2006-06-09  Roman Kennke  <kennke@aicas.com>
16419
16420         * gnu/java/awt/java2d/AbstractGraphics2D.java
16421         (drawImage): Fixed scaling.
16422         (fillShape): Removed offset handling.
16423         (fillShapeImpl): Limit scanlining to device bounds.
16424         (getSegments): Removed offset handling.
16425         * gnu/java/awt/java2d/PolyEdge.java
16426         (toString): Include isClip flag in output.
16427
16428 2006-06-08  Sven de Marothy  <sven@physto.se>
16429
16430         * java/awt/font/TextLayout.java
16431         (getOutline): Allow null transform.
16432
16433 2006-06-08  Sven de Marothy  <sven@physto.se>
16434
16435         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16436         (drawString): Use TextLayout instead of GlyphVector.
16437
16438 2006-06-08  Sven de Marothy  <sven@physto.se>
16439
16440         * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16441         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16442         New constructor for bidirectionality.
16443         (getGlyphMetrics): Return whitespace glyphs.
16444         (getLogicalBounds): Offset rectangles to correct positions.
16445         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16446         (getBaselineFor): Default to ROMAN_BASELINE.
16447         (GdkFontLineMetrics): Guess some values for underline and 
16448         strikethrough.
16449         (layoutGlyphVector): Use bidirectionality.
16450         * java/awt/font/TextLayout.java: Implement, mostly.
16451         
16452 2006-06-09  Anthony Green  <green@redhat.com>
16453
16454         PR classpath/27888:
16455         * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16456         * java/util/Collections.java (binarySearch): Use unsigned shift.
16457         * java/util/Arrays.java (binarySearch): Use unsigned shift.
16458
16459 2006-06-09  Tom Tromey  <tromey@redhat.com>
16460
16461         * tools/.cvsignore: Added .deps.
16462
16463 2006-06-09  Kazuya Ujihara  <ujihara@aurora.dti.ne.jp>
16464
16465         PR classpath/27966:
16466         * gnu/javax/security/auth/login/ConfigFileParser.java
16467         (validateClassName): Quote '.' in regexp.
16468
16469 2006-06-09  Tom Tromey  <tromey@redhat.com>
16470
16471         PR classpath/23863:
16472         * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16473         finished.
16474         * native/fdlibm/mprec.c: New version from newlib.  Commented out
16475         some includes.  Added <assert.h>.
16476         (_reent, _Bigint): New defines.
16477         (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16478         (__ULong, __Long): New types.
16479         (_calloc_r): New function.
16480         (Balloc): Dynamically add new _freelist entries as needed.
16481         * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16482         MAX_BIGNUMS to size _x[].
16483         (struct _Jv_reent): _freelist now a _Jv_Bigint**.  Removed
16484         _allocation_map, num.  Added _max_k.
16485
16486 2006-06-09  Roman Kennke  <kennke@aicas.com>
16487
16488         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16489         (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16490         implementations.
16491
16492 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16493
16494         * java/awt/image/BufferedImage.java
16495         (BufferedImage(int, int, int)): Added API docs,
16496         (getProperty(String)): Return correct value for undefined properties,
16497         (getPropertyNames()): Added comments and removed FIXME.
16498
16499 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
16500
16501         * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16502         (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16503
16504 2006-06-09  Francis Kung  <fkung@redhat.com>
16505
16506         * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16507         (getPreferredSize): Return correct height for null or empty 
16508         items.
16509
16510 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16511
16512         * java/awt/datatransfer/DataFlavor.java
16513         (readExternal): Mark as stub,
16514         (writeExternal): Likewise,
16515         * java/awt/dnd/DropTargetContext.java
16516         (dropComplete): Mark as stub,
16517         (acceptDrag): Likewise,
16518         (rejectDrag): Likewise,
16519         (acceptDrop): Likewise,
16520         (rejectDrop): Likewise,
16521         (getCurrentDataFlavors): Likewise,
16522         (getTransferable): Likewise,
16523         * java/awt/dnd/DropTargetDropEvent.java
16524         (dropComplete): Mark as stub.
16525
16526 2006-06-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16527
16528         * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16529         (constructor): Do not lowercase the values.
16530         * javax/swing/text/html/HTMLDocument.java
16531         (HTMLReader.addSpecialElement): Implemented.
16532         * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16533
16534 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
16535
16536         On behalf of Matthew Wringe <mwringe@redhat.com>
16537         * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16538         * gnu/javax/crypto/pad/ISO10126.java: New class.
16539         * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16540         (getInstance): Added support for ISO-10126 scheme.
16541         (getNames): Likewise.
16542         Cache result for speed.
16543
16544 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
16545
16546         * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16547         flexible self-test by sub-classes.
16548         (test1BlockSize): New method.
16549
16550 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16551
16552         * javax/swing/plaf/basic/BasicLookAndFeel.java
16553         (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16554         * javax/swing/plaf/basic/BasicScrollBarUI.java
16555         (installKeyboardActions): Implemented,
16556         (uninstallKeyboardActions): Implemented,
16557         (getInputMap): New method,
16558         (getActionMap): New method,
16559         (createActionMap): New method,
16560         (installUI): Call installKeyboardActions(),
16561         (uninstallUI): Call uninstallKeyboardActions().
16562         
16563 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16564
16565         * javax/swing/plaf/basic/BasicScrollPaneUI.java
16566         (getActionMap): Use correct key to store action map.
16567
16568 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
16569
16570         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16571         (executeInstruction): Added NOT support.
16572
16573 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
16574
16575         * sun/reflect/annotation/AnnotationInvocationHandler.java:
16576         New file.
16577
16578 2006-06-08  Tom Tromey  <tromey@redhat.com>
16579
16580         * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16581         of 'types'.
16582
16583 2006-06-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16584
16585         * java/lang/management/RuntimeMXBean.java:
16586         New file.
16587         
16588 2006-06-08  Lillian Angel  <langel@redhat.com>
16589
16590         * native/plugin/gcjwebplugin.cc:
16591         (NP_Shutdown): Freed whitelist_filename.
16592
16593 2006-06-08  Lillian Angel  <langel@redhat.com>
16594
16595         * native/plugin/Makefile.am:
16596         Removed DATA_DIRECTORY.
16597         * native/plugin/gcjwebplugin.cc:
16598         Added new global fields for whitelist_file
16599         and data_directory. Removed WHITELIST_FILE.
16600         (NP_Initialize): Initialized new fields. Also,
16601         Changed to use new fields.
16602         (NP_Shutdown): Freed data_directory.
16603         (GCJ_New): Changed to use new fields.
16604         (plugin_ask_user_about_documentbase): Likewise.
16605
16606 2006-06-08  Lillian Angel  <langel@redhat.com>
16607
16608         * native/plugin/Makefile.am:
16609         Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16610         * native/plugin/gcjwebplugin.cc:
16611         Changed all instances of PLUGIN_DATA_DIRECTORY
16612         to DATA_DIRECTORY.
16613
16614 2006-06-08  Roman Kennke  <kennke@aicas.com>
16615
16616         * java/awt/LightweightDispatcher.java
16617         (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16618         with convertPointToChild(). This is more efficient and avoids
16619         problems with getLocationOnScreen().
16620         (findTarget): Check for component beeing showing() early.
16621         Simplified AWTUtilities.convertPoint() to a simple substraction
16622         operation.
16623         (convertPointToChild): New helper method.
16624
16625 2006-06-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
16626
16627         * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16628         message.
16629
16630 2006-06-08  Tom Fitzsimmons  <fitzsim@redhat.com>
16631             Lillian Angel  <langel@redhat.com>
16632
16633         * native/plugin/gcjwebplugin.cc
16634         (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16635         Also, reset initialized field.
16636
16637 2006-06-08  Lillian Angel  <langel@redhat.com>
16638
16639         * javax/swing/plaf/basic/BasicProgressBarUI.java
16640         (paintString): Fixed to paint string at the correct location.
16641
16642 2006-06-08  Roman Kennke  <kennke@aicas.com>
16643
16644         * javax/swing/plaf/basic/BasicTreeUI.java
16645         (createDefaultActions): Added new actions.
16646         (TreePageAction.TreePageAction): Set action name.
16647         (TreePageAction.actionPerformed): Implemented.
16648         (TreePageAction.isEnabled): Implemented.
16649         (TreeToggleAction.TreePageAction): Set action name.
16650         (TreeToggleAction.actionPerformed): Implemented.
16651         (TreeToggleAction.isEnabled): Implemented.
16652         (TreeTraverseAction.TreeTraverseAction): Set action name.
16653         (TreeTraverseAction.actionPerformed): Use action name as command.
16654         (TreeTraverseAction.isEnabled): Implemented.
16655
16656 2006-06-08  Roman Kennke  <kennke@aicas.com>
16657
16658         * javax/swing/plaf/basic/BasicTreeUI.java
16659         (installKeyboardActions): Rewritten to correctly install the UI
16660         input and action maps.
16661         (getActionMap): New helper method.
16662         (createDefaultActionMap): New helper method.
16663         (TreeHomeAction.TreeHomeAction()): Implemented.
16664         (TreeHomeAction.actionPerformed): Implemented.
16665         (TreeHomeAction.isEnabled): Implemented.
16666         (TreeIncrementAction.TreeIncrementAction()): Implemented.
16667         (TreeIncrementAction.actionPerformed): Use action name as command.
16668         (TreeIncrementAction.isEnabled): Implemented.
16669
16670 2006-06-08  Mark Wielaard  <mark@klomp.org>
16671
16672         PR 27917
16673         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16674         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16675         and unref loader.
16676
16677 2006-06-08  Mark Wielaard  <mark@klomp.org>
16678
16679         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16680         (attrs): Removed unused static.
16681
16682 2006-06-08  David Gilbert  <david.gilbert@object-refinery.com>
16683
16684         * javax/swing/plaf/basic/BasicScrollPaneUI.java
16685         (getInputMap): New method,
16686         (getActionMap): New method,
16687         (createActionMap): New method,
16688         (installKeyboardActions): Implemented,
16689         (uninstallKeyboardActions): Implemented.
16690
16691 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
16692
16693         * javax/swing/border/MatteBorder.java:
16694         (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16695         throwing.
16696         (paintBorder): Added if-statement to abort painting early.
16697
16698 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
16699
16700         Fixes PR27864.
16701         * gnu/xml/dom/DomIterator.java:
16702         (successor): Changed expression.
16703
16704 2006-06-08  Sven de Marothy  <sven@physto.se>
16705
16706         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16707         (defaultLayout): Do kerning.
16708         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16709         (getKerning): Correct class name, removed unused variable.
16710
16711 2006-06-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
16712
16713         * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16714         libqtpeer.so unconditionally.
16715
16716 2006-06-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16717
16718         * java/util/InputMismatchException.java:
16719         Documented.
16720         
16721 2006-06-07  Andreas Tobler  <a.tobler@schweiz.ch>
16722
16723         * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16724
16725 2006-06-07  Roman Kennke  <kennke@aicas.com>
16726
16727         * javax/swing/plaf/basic/BasicTreeUI.java
16728         (completeUIUninstall): Implemented.
16729         (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16730         editing before uninstalling anything.
16731         (isToggleEvent): Implemented.
16732         (selectPathForEvent): Make use of isToggleEvent().
16733         (ComponentHandler.componentMoved): Implemented.
16734         (ComponentHandler.startTimer): Implemented.
16735         (ComponentHandler.getScrollPane): Implemented.
16736         (ComponentHandler.actionPerformed): Implemented.
16737
16738 2006-06-07  Francis Kung  <fkung@redhat.com>
16739
16740         * javax/swing/JMenuBar.java:
16741         (getSubElements): Do not return null values.
16742
16743 2006-06-07  Roman Kennke  <kennke@aicas.com>
16744
16745         PR 27902
16746         * gnu/regexp/BacktrackStack.java
16747         * gnu/regexp/CharIndexed.java
16748         * gnu/regexp/CharIndexedCharArray.java
16749         * gnu/regexp/CharIndexedCharSequence.java
16750         * gnu/regexp/CharIndexedInputStream.java
16751         * gnu/regexp/CharIndexedString.java
16752         * gnu/regexp/CharIndexedStringBuffer.java
16753         * gnu/regexp/RE.java
16754         * gnu/regexp/REException.java
16755         * gnu/regexp/REFilterInputStream.java
16756         * gnu/regexp/REMatch.java
16757         * gnu/regexp/REMatchEnumeration.java
16758         * gnu/regexp/RESyntax.java
16759         * gnu/regexp/REToken.java
16760         * gnu/regexp/RETokenAny.java
16761         * gnu/regexp/RETokenBackRef.java
16762         * gnu/regexp/RETokenChar.java
16763         * gnu/regexp/RETokenEnd.java
16764         * gnu/regexp/RETokenEndOfPreviousMatch.java
16765         * gnu/regexp/RETokenEndSub.java
16766         * gnu/regexp/RETokenIndependent.java
16767         * gnu/regexp/RETokenLookAhead.java
16768         * gnu/regexp/RETokenLookBehind.java
16769         * gnu/regexp/RETokenNamedProperty.java
16770         * gnu/regexp/RETokenOneOf.java
16771         * gnu/regexp/RETokenPOSIX.java
16772         * gnu/regexp/RETokenRange.java
16773         * gnu/regexp/RETokenRepeated.java
16774         * gnu/regexp/RETokenStart.java
16775         * gnu/regexp/RETokenWordBoundary.java
16776         * gnu/regexp/UncheckedRE.java
16777         * gnu/java/util/regex/BacktrackStack.java
16778         * gnu/java/util/regex/CharIndexed.java
16779         * gnu/java/util/regex/CharIndexedCharArray.java
16780         * gnu/java/util/regex/CharIndexedCharSequence.java
16781         * gnu/java/util/regex/CharIndexedInputStream.java
16782         * gnu/java/util/regex/CharIndexedString.java
16783         * gnu/java/util/regex/CharIndexedStringBuffer.java
16784         * gnu/java/util/regex/RE.java
16785         * gnu/java/util/regex/REException.java
16786         * gnu/java/util/regex/REFilterInputStream.java
16787         * gnu/java/util/regex/REMatch.java
16788         * gnu/java/util/regex/REMatchEnumeration.java
16789         * gnu/java/util/regex/RESyntax.java
16790         * gnu/java/util/regex/REToken.java
16791         * gnu/java/util/regex/RETokenAny.java
16792         * gnu/java/util/regex/RETokenBackRef.java
16793         * gnu/java/util/regex/RETokenChar.java
16794         * gnu/java/util/regex/RETokenEnd.java
16795         * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16796         * gnu/java/util/regex/RETokenEndSub.java
16797         * gnu/java/util/regex/RETokenIndependent.java
16798         * gnu/java/util/regex/RETokenLookAhead.java
16799         * gnu/java/util/regex/RETokenLookBehind.java
16800         * gnu/java/util/regex/RETokenNamedProperty.java
16801         * gnu/java/util/regex/RETokenOneOf.java
16802         * gnu/java/util/regex/RETokenPOSIX.java
16803         * gnu/java/util/regex/RETokenRange.java
16804         * gnu/java/util/regex/RETokenRepeated.java
16805         * gnu/java/util/regex/RETokenStart.java
16806         * gnu/java/util/regex/RETokenWordBoundary.java
16807         * gnu/java/util/regex/UncheckedRE.java
16808         Moved gnu.regexp classes to gnu.java.util.regex package.
16809         * java/util/regex/Matcher.java
16810         * java/util/regex/Pattern.java
16811         Adjusted import statements for new package name for gnu regexp.
16812
16813 2006-06-07  Tom Tromey  <tromey@redhat.com>
16814
16815         PR classpath/27905:
16816         * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16817         Added missing charsets.
16818         (charsetForName): Don't check 'extendedLoaded'.
16819
16820 2006-06-07  Roman Kennke  <kennke@aicas.com>
16821
16822         PR 27833
16823         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16824         (clip(Shape)): Implemented correctly, so that the current shape
16825         gets intersected by the parameter shape.
16826
16827 2006-06-07  Lillian Angel  <langel@redhat.com>
16828
16829         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16830         (getTabBounds): If this method is called with a tab index
16831         that is not in the rects array, we need to re-layout the container
16832         so it is created.
16833
16834 2006-06-07  Lillian Angel  <langel@redhat.com>
16835
16836         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16837         (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16838         * java/lang/String.java
16839         (codePointCount): Fixed check to match API. Shouldn't throw exception
16840         if end == count. end is 1 more than the endIndex, so end == count is 
16841         possible.
16842
16843 2006-06-07  Gary Benson  <gbenson@redhat.com>
16844
16845         PR 24895
16846         * native/jni/java-io/java_io_VMFile.c
16847         (Java_java_io_VMFile_toCanonicalForm): New method.
16848         * configure.ac: Added checks for lstat and readlink.
16849         * include/java_io_VMFile.h: Added new method.
16850         * vm/reference/java/io/VMFile.java: Use new method.
16851         * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16852         * NEWS: Documented the above.
16853         * java/io/File.java: Javadoc fix.
16854
16855 2006-06-07  Roman Kennke  <kennke@aicas.com>
16856
16857         PR 27920
16858         * javax/swing/JTree.java
16859         (JTree()): Initialize with default model.
16860         (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16861         on the updateUI() / setModel() order.
16862         (setModel): Correctly (un-)setup the listeners. Clear the expanded
16863         paths.
16864         * javax/swing/plaf/basic/BasicTreeUI.java
16865         (BasicTreeUI()): Initialize listeners in installListeners().
16866         (setModel): Complete editing on model change. Correctly resetup
16867         the listeners. Update the layout cache accordingly.
16868         (setShowRootHandles): Complete editing and update layout. Do not
16869         call back into the JTree, this could cause cycles.
16870         (prepareForUIInstall): Implemented. Moved some init code from
16871         installUI() to this method.
16872         (completeUIInstall): Implemented. Moved some init code from
16873         installUI() to this method.
16874         (createDefaultCellEditor): Check for type of renderer, and install
16875         with null renderer when not DefaultTreeCellRenderer.
16876         (updateLayoutCacheExpandedNodes): Added null check for tree root
16877         to avoid NPE.
16878         (updateRenderer): Call updateEditor().
16879         (installListeners): Initialize the listeners here. Added some null
16880         checks to avoid NPEs.
16881         (installUI): Moved some init code to prepareForUIInstall() and
16882         completeUIInstall().
16883         (completeEditing): Return immediately if editing component is null
16884         or if the setting is to not stop editing on complete editing.
16885         (checkForClickInExpandControl): Call handleExpandControlClick()
16886         instead of toggleExpandState() directly.
16887         (isLocationInExpandControl): Rewritten to correctly determine the
16888         expand click location.
16889         (MouseHandler.mousePressed): Rewritten to make better use of the
16890         instance methods of BasicTreeUI to handle the click.
16891         (PropertyHandler.propertyChange): Handle model and cell renderer
16892         updates.
16893         * javax/swing/tree/DefaultTreeCellEditor.java
16894         (DefaultTreeCellEditor): Removed initialization of the icon. This
16895         is done so that the constructor can deal with null renderer as the
16896         RI does. Maybe this needs more fixing.
16897         * javax/swing/tree/TreePath.java
16898         (isDescendant): Fixed this method. The previous version did too
16899         much and compared the wrong things, which lead to a ClassCastException
16900         in equals().
16901         * javax/swing/tree/VariableHeightLayoutCache.java
16902         (update): Do nothing when model is null.
16903         (setModel): Clear the tables and update the layout. Added null
16904         check to prevent NPE.
16905
16906 2006-06-07  Sven de Marothy  <sven@physto.se>
16907
16908         * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16909
16910 2006-06-07  Sven de Marothy  <sven@physto.se>
16911
16912         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16913         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16914         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16915         New files.
16916
16917         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16918         (getGlyphVector): Removed native method.
16919         (createGlyphVector, getStringBounds): Use new GV class.
16920
16921         * include/Makefile.am
16922         * native/jni/gtk-peer/Makefile.am
16923         Add new files.
16924
16925         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16926         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16927         (getGlyphVector): Removed native method.
16928         
16929 2006-06-07  Chris Burdess  <dog@gnu.org>
16930
16931         * gnu/classpath/debug/TeeInputStream.java,
16932           gnu/classpath/debug/TeeOutputStream.java,
16933           gnu/classpath/debug/TeeReader.java,
16934           gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16935         * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16936           read more characters than absolutely necessary in tryRead method.
16937
16938 2006-06-07  Robert Schuster  <robertschuster@fsfe.org>
16939
16940         * examples/gnu/classpath/examples/swing/Demo.java:
16941         (mkMenuBar): Put look and feel radio buttons into 
16942         appropriate button group.
16943
16944 2006-06-07  Chris Burdess  <dog@gnu.org>
16945
16946         * gnu/xml/stream/SAXParser.java,
16947           gnu/xml/stream/XMLParser.java: Add command line options for setting
16948           parsing parameters (for simpler debugging).
16949         * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16950           closing output stream is propagated to application.
16951
16952 2006-06-06  Mark Wielaard  <mark@klomp.org>
16953
16954         PR 27917
16955         * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16956         * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16957         call disposeSurface.
16958         (disposeSurface): New native method.
16959         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16960         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16961         pattern_pixels.
16962         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16963         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16964         cairo_pattern_destroy.
16965         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16966         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16967         New function to destroy the surface.
16968         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16969         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
16970         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
16971
16972 2006-06-06  Mark Wielaard  <mark@klomp.org>
16973
16974         * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
16975         with JNICALL.
16976
16977 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
16978
16979         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
16980         (paint): If has focus, paint special background color,
16981         * javax/swing/plaf/basic/BasicSplitPaneUI.java
16982         (FocusHandler.focusGained): Implemented,
16983         (FocusHandler.focusLost): Implemented.
16984
16985 2006-06-06  Tom Tromey  <tromey@redhat.com>
16986
16987         * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
16988         Javadoc fix.
16989         (writeAttributeSet): Implemented.
16990
16991 2006-06-06  Tom Tromey  <tromey@redhat.com>
16992
16993         * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
16994         Implement.
16995         (SpecialAction.end): Removed.
16996         (IsindexAction.end): Likewise.
16997
16998 2006-06-06  Tom Tromey  <tromey@redhat.com>
16999
17000         * include/jni.h (JDK1_1InitArgs): New struct.
17001         (JDK1_1AttachArgs): Likewise.
17002
17003 2006-06-06  Tom Tromey  <tromey@redhat.com>
17004
17005         * java/security/UnresolvedPermission.java (getUnresolvedType): New
17006         method.
17007         (getUnresolvedName): New method.
17008         (getUnresolvedActions): New method.
17009         (getUnresolvedCerts): New method.
17010
17011 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17012
17013         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17014         (getColor): Removed debugging code.
17015
17016 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17017
17018         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17019         (getColor): Added support for "rgb(red, green, blue)" notation.
17020         (translateTag): Use Boolean.TRUE, not new Boolean().
17021
17022 2006-06-06  Roman Kennke  <kennke@aicas.com>
17023
17024         PR 27651
17025         * javax/swing/JTree.java
17026         (JTree(TreeModel)): Call updateUI() before setModel().
17027         (setModel): Don't call updateUI here.
17028
17029 2006-06-06  Lillian Angel  <langel@redhat.com>
17030         
17031         * native/plugin/gcjwebplugin.cc:
17032         Fixed failure message and commenting.
17033         (NP_Initialize): Added more comments.
17034
17035 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17036
17037         * javax/swing/JSplitPane.java
17038         (AccessibleJSplitPane): API doc fixes,
17039         (setDividerLocation): Likewise,
17040         * javax/swing/plaf/basic/BasicLookAndFeel.java
17041         (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
17042         * javax/swing/plaf/basic/BasicSplitPaneUI.java
17043         (getInputMap): New method,
17044         (getActionMap): New method,
17045         (createActionMap): New method,
17046         (installKeyboardActions): Implemented,
17047         (uninstallKeyboardActions): Implemented.
17048
17049 2006-06-06  Roman Kennke  <kennke@aicas.com>
17050
17051         PR 27523
17052         * javax/swing/MenuSelectionManager.java
17053         (processKeyEvent): Added check to avoid
17054         ArrayIndexOutOfBoundsException.
17055
17056 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17057
17058         * gnu/javax/swing/text/html/htmlAttributeSet.java
17059         (getAttributeNames): Rewritten
17060
17061 2006-06-06  Chris Burdess  <dog@gnu.org>
17062
17063         * gnu/xml/transform/TransformerImpl.java: Check type of created
17064           document (more cases).
17065
17066 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17067
17068         * gnu/javax/swing/text/html/htmlAttributeSet.java
17069         (clone): New method. (copyAttributes): New method.
17070         (getResolveParent): Comment fix. (getAttribute):
17071         Rewritten. (addAttribute): Rewritten.
17072         * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
17073         New file.
17074
17075 2006-06-06  Roman Kennke  <kennke@aicas.com>
17076
17077         PR 27522
17078         * javax/swing/JMenuBar.java
17079         (processKeyBindingHelper): Added null check to prevent NPE.
17080
17081 2006-06-06  Roman Kennke  <kennke@aicas.com>
17082
17083         * javax/swing/plaf/basic/BasicInternalFrameUI.java
17084         (ShowSystemMenuAction): New class.
17085         (installKeyboardActions): Implemented.
17086         (uninstallKeyboardActions): Implemented.
17087         * javax/swing/plaf/metal/MetalInternalFrameUI.java
17088         (installKeyboardActions): Overridden to remove showSystemMenu action.
17089
17090 2006-06-06  Chris Burdess  <dog@gnu.org>
17091
17092         * gnu/xml/transform/TransformerImpl.java: Check type of created
17093           document.
17094
17095 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17096
17097         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
17098         (getScreenDevices): Added explicit cast.
17099
17100 2006-06-06  Roman Kennke  <kennke@aicas.com>
17101
17102         * javax/swing/plaf/basic/BasicTextUI.java
17103         (installKeyboardActions): Use shared input map. Correctly
17104         install the input/action maps in the component's input/action
17105         map hierarchies.
17106         (getActionMap): New helper method for fetching an ActionMap from
17107         the UIManager or creating a default one if there is none supplied
17108         by the UIManager.
17109         (createActionMap): Add the TransferHandler's actions here. Made
17110         method private.
17111         (getInputMap): Leave out unnecessary method parameter. Load
17112         shared input map.
17113         * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
17114
17115 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17116
17117         * configure.ac: Added missing [ to expression.
17118
17119 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17120
17121         * configure.ac: Added missing { to expression.
17122
17123 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17124
17125         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
17126         * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
17127         * include/Makefile.am: Added
17128         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
17129         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
17130         (GdkGraphicsConfiguration): Rewritten.
17131         (getColorModel): Rewritten.
17132         (getColorModel(int)): Rewritten.
17133         (getBounds): Rewritten.
17134         (createCompatibleVolatileImage): Implemented.
17135         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
17136         initializer.
17137         (getDefaultScreenDevice): Rewritten.
17138         (nativeGetDefaultScreenDevice): New method.
17139         (getScreenDevices): Rewritten.
17140         (nativeGetScreenDevices): New method.
17141         (nativeInitState): New method.
17142         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
17143         rewritten.
17144         (X11DisplayMode): New inner class.
17145         * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
17146         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
17147         * native/jni/gtk-peer/gdkdisplay.h: New file.
17148         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
17149         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
17150         New function.
17151         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
17152         New function.
17153         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17154         _nativeGetScreenDevices):
17155         New function.
17156         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17157         _nativeGetDefaultScreenDevice):
17158         New function.
17159         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
17160         New file.
17161         * configure.ac: Added check for Xrandr library.
17162
17163 2006-06-06  Roman Kennke  <kennke@aicas.com>
17164
17165         * javax/swing/plaf/basic/BasicTableUI.java
17166         (getMaximumSize): Don't return null. Fixed calculation of
17167         table height.
17168         (getMinimumSize): Don't return null. Fixed calculation of
17169         table height.
17170         (getPreferredSize): Fixed calculation of with and height. Added
17171         API docs.
17172         (getHeight): New helper method.
17173
17174 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17175
17176         * javax/swing/JComponent.java
17177         (getInputMap(int)): Throw IllegalArgumentException for unknown 
17178         condition argument, and added API docs,
17179         (getInputMap()): Added API docs.
17180
17181 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17182
17183         * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
17184
17185 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17186
17187         * javax/swing/JTable.java
17188         (AccessibleJTableHeaderCell.header): New field,
17189         (AccessibleJTableHeaderCell.columnIndex): Likewise,
17190         (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
17191         (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
17192         (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
17193         (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
17194         (AccessibleJTable.getAccessibleChild(int)): Overridden,
17195         (AccessibleJTable.getAccessibleAt): Reimplemented.
17196
17197 2006-06-05  Sven de Marothy  <sven@physto.se>
17198
17199         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17200         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17201         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17202         (initFromVolatile): New method.
17203         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17204         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17205         Reimplement.
17206         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17207         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17208         (copyArea, drawVolatileImage): New methods.
17209         
17210 2006-06-05  Tania Bento  <tbento@redhat.com>
17211
17212         * javax/swing/JFrame.java
17213         (frameInit): Set background color and fixed layout parameters.
17214
17215 2006-06-05  Tom Tromey  <tromey@redhat.com>
17216
17217         * NEWS: Mention VMURLConnection.
17218
17219 2006-06-05  Lillian Angel  <langel@redhat.com>
17220
17221         * native/plugin/gcjwebplugin.cc:
17222         Added new field to keep track of initialization.
17223         (plugin_start_appletviewer): Fixed to return an error value, if
17224         an error was encountered when loading the appletviewer.
17225         (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
17226         has failed.
17227         (plugin_failed): New helper function. Shows a warning if the appletviewer
17228         has not been installed.
17229         (NP_Initialize): Added code to make sure this function is only called
17230         once.
17231
17232 2006-06-05  Lillian Angel  <langel@redhat.com>
17233
17234         * native/plugin/Makefile.am:
17235         Fixed to use a set plugin directory in the .mozilla directory.
17236         All applet logs are now stored here, instead of /tmp.
17237         * native/plugin/gcjwebplugin.cc:
17238         Added new fields for security warning.
17239         (GCJ_NEW): Added code to generate a security warning for all pages
17240         that spawn an appletviewer. This warning asks the user if they trust
17241         the applet and if they would like to add it to a 'whitelist'. This
17242         whitelist keeps track of all the addresses the user would like
17243         to trust indefinitely.
17244         (plugin_user_trusts_documentbase): New helper function.
17245         (plugin_add_documentbase_to_whitelist): New helper function.
17246         (plugin_ask_user_about_documentbase): New helper function.
17247         (plugin_in_pipe_callback): Fixed check to determine if channel_error 
17248         has been set.
17249         (plugin_start_appletviewer): Likewise.
17250         (plugin_create_applet_tag):  Reset all fields to null after they have been
17251         freed.
17252         (plugin_send_message_to_appletviewer): Fixed all error checks to determine 
17253         if channel_error has been set.
17254         (plugin_stop_appletviewer): Likewise.
17255         (NP_Initialize): Likewise. Also, added code to determine if directory and file
17256         should be created.      
17257
17258 2006-06-05  Francis Kung  <fkung@redhat.com>
17259         
17260         PR 27507
17261         * gnu/java/awt/peer/gtk/GtkImage.java
17262         (getSource): Added check to determine if in
17263         errorLoading state.
17264         * gnu/java/awt/peer/gtk/GtkToolkit.java
17265         (createImage): Added check to prevent NPE.
17266
17267 2006-06-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17268
17269         * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
17270         Create the ImageView, when applicable.
17271         * gnu/javax/swing/text/html/CombinedAttributes.java,
17272         javax/swing/text/html/ImageView.java: New files.
17273
17274 2006-06-05  Roman Kennke  <kennke@aicas.com>
17275
17276         PR 27834
17277         * javax/swing/text/GapContent.java
17278         (setPositionsInRange): Compare with startIndex and endIndex
17279         rather than start and end.
17280         (dumpMarks): Only dump real marks.
17281
17282 2006-06-05  Sven de Marothy  <sven@physto.se>
17283
17284         *  gnu/java/awt/peer/gtk/ComponentGraphics.java
17285         (ComponentGraphics): Use 0,0 as clip origin.
17286         
17287 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17288
17289         * java/util/Formattable.java,
17290         * java/util/FormattableFlags.java,
17291         * java/util/Formatter.java:
17292         Documented.
17293
17294 2006-06-04  Tom Tromey  <tromey@redhat.com>
17295
17296         * javax/naming/Context.java (list): Genericized.
17297         (listBindings): Likewise.
17298         * javax/naming/Reference.java (addrs): Genericized.
17299         * javax/naming/InitialContext.java (myProps): Fixed type.
17300         (init): Genericized.
17301         
17302 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17303
17304         * java/util/DuplicateFormatFlagsException.java,
17305         * java/util/FormatFlagsConversionMismatchException.java,
17306         * java/util/FormatterClosedException.java,
17307         * java/util/IllegalFormatCodePointException.java,
17308         * java/util/IllegalFormatConversionException.java,
17309         * java/util/IllegalFormatException.java,
17310         * java/util/IllegalFormatFlagsException.java,
17311         * java/util/IllegalFormatPrecisionException.java,
17312         * java/util/IllegalFormatWidthException.java,
17313         * java/util/MissingFormatArgumentException.java,
17314         * java/util/MissingFormatWidthException.java,
17315         * java/util/UnknownFormatConversionException.java,
17316         * java/util/UnknownFormatFlagsException.java:
17317         Documented.
17318
17319 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17320
17321         * java/lang/System.java:
17322         (getenv()): Handle cases where split only
17323         returns an array of size 1.
17324         
17325 2006-06-04  Sven de Marothy  <sven@physto.se>
17326
17327         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17328         (createVolatileImage): Pass peer to VolatileImage constructor.
17329         * java/awt/Component.java
17330         (createVolatileImage): Call peer method directly.
17331         
17332 2006-06-04  Sven de Marothy  <sven@physto.se>
17333
17334         * gnu/java/awt/peer/gtk/CairoSurface.java
17335         (getFlippedBuffer): New method.
17336         (getGtkImage): Renamed method.
17337         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17338         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17339         Renamed getSharedImage to getGtkImage.
17340         * include/gnu_java_awt_peer_gtk_CairoSurface.h
17341         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17342         (getFlippedBuffer): New method
17343         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17344         Avoid window casts.
17345 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17346
17347         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17348         (drawVolatile): Add casts.
17349         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
17350         (getOutline): Add casts.
17351         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17352         Comment out unused prototype.
17353         (getPixels): Add appropriate cast and comment out unused variable.
17354         
17355 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
17356
17357         * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
17358         * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
17359         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
17360         * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
17361         (getSystemInstance): Fix javadoc @link.
17362         (counter): Increased visibility.
17363         * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
17364         * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
17365         * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17366         * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17367         * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17368         * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17369         * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17370         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17371         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17372         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17373         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17374         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17375         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17376         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17377         * gnu/javax/crypto/mac/OMAC.java: Likewise.
17378         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17379         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17380         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17381         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17382         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17383         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17384         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17385         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17386         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17387         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17388         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17389         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17390         * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17391         * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17392         * gnu/javax/crypto/assembly/Direction.java: Likewise.
17393         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17394
17395 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
17396
17397         * gnu/java/security/PolicyFile.java: Updated copyright year.
17398         (logger): Increased visibility.
17399         * gnu/java/security/x509/Util.java: Updated copyright year.
17400         (hexDump): Fix javadoc @link.
17401         * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17402         Removed unused import.
17403         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17404         * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17405         * gnu/java/security/util/ExpirableObject.java: Likewise.
17406         (destroy): Likewise.
17407         * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17408         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17409         Updated copyright year.
17410         (checkCRL): Fix javadoc @param.
17411
17412 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17413
17414         * java/lang/annotation/IncompleteAnnotationException.java:
17415         Documented.
17416
17417 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17418
17419         * java/lang/ProcessBuilder.java:
17420         Documented.
17421         (environment): Create as a copy.
17422         * java/lang/System.java:
17423         (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17424         New constructor.
17425         (EnvironmentMap.put(String,String)): Override superclass
17426         method with checks for nulls and non-Strings.
17427         
17428 2006-06-02  Sven de Marothy  <sven@physto.se>
17429
17430         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17431         (cairoPreserveClip, cairoResetClip): New methods.
17432         (setClip, clip): Reimplement.
17433         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17434         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17435         (cairoPreserveClip, cairoResetClip): New methods.
17436         
17437 2006-06-02  Sven de Marothy  <sven@physto.se>
17438
17439         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17440         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17441         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17442         New files.
17443         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17444         (drawImage): Overloads for VolatileImage drawing.
17445         (drawVolatile): New method.
17446         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17447         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17448         (drawVolatile): New method.
17449         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17450         Unstub implementation.
17451         * include/Makefile.am
17452         * native/jni/gtk-peer/Makefile.am
17453         Add new files.
17454         * native/jni/gtk-peer/gtkpeer.h
17455         New prototype.
17456         
17457 2006-06-03  Roman Kennke  <kennke@aicas.com>
17458
17459         PR 27418
17460         * javax/swing/plaf/basic/BasicTextUI.java
17461         (damageRange): Added null check to avoid NPE.
17462
17463 2006-06-03  Roman Kennke  <kennke@aicas.com>
17464
17465         * javax/swing/text/PlainView.java
17466         (updateDamage): Check for valid longestLine and initialize if
17467         necessary.
17468
17469 2006-06-03  Mark Wielaard  <mark@klomp.org>
17470
17471         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17472         comments, not C++.
17473
17474 2006-06-02  Sven de Marothy  <sven@physto.se>
17475
17476         PR 27879 
17477         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17478         (copyArea): Implement.
17479         (copyAreaImpl, getRealBounds): New methods.
17480         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17481         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17482         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17483         (copyAreaImpl, getRealBounds): Implement.
17484         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17485         (nativeCopyArea): Reimplement.  
17486         
17487 2006-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
17488
17489         * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17490         (XTEST_LIBS): New, substitute.
17491         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17492
17493 2006-06-02  Roman Kennke <kennke@aicas.com>
17494
17495         PR 26738
17496         * javax/swing/text/PlainView.java
17497         (updateDamage): Rewritten for correct repainting and revalidating.
17498         (findLongestLine): New helper method.
17499         (getLineLength): New helper method.
17500
17501 2006-06-02  Sven de Marothy  <sven@physto.se>
17502
17503         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17504         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17505         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17506         (nativeCopyArea): Change stride parameter to use # of ints.
17507         (setPixels): Add checks.
17508         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17509         (ComponentGraphics): Set background, clip.
17510         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17511         (Cairographics2D): Don't set clip.
17512         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17513         Add flush.
17514
17515 2006-06-02  Lillian Angel  <langel@redhat.com>
17516
17517         PR 24458
17518         * java/awt/DefaultKeyboardFocusManager.java
17519         (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17520         to get the focused window.
17521
17522 2006-06-01  Miriam Schuster  <schmir11@web.de>
17523
17524         * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17525         Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17526
17527 2006-06-02  Roman Kennke <kennke@aicas.com>
17528
17529         * javax/swing/JTable.java
17530         (columnSelectionChanged): Don't return when there's only one
17531         column (might still need repainting). Correctly calculate
17532         repaint rectangle.
17533         (valueChanged): Use return value of SwingUtilities.computeUnion
17534         as dirty region.
17535
17536 2006-06-01  Keith Seitz  <keiths@redhat.com>
17537
17538         From Martin Platter  <motse@complang.tuwien.ac.at>:
17539         * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17540         (executeSet): Fix buffer underflow reading reference ID.
17541         * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17542         (executeParent): Fix  NPE if ThreadGroup is top-level ThreadGroup. 
17543         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17544         (executeSuperclass): Handle case of Object with ID zero.
17545
17546 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17547
17548         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17549         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17550         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17551         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17552         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17553         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17554         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17555         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17556         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17557         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17558         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17559
17560 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17561
17562         * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17563         (Command): Add the shutdown hook.
17564         (doCommand): Remove the shutdown hook.
17565         (ShutdownHook): New class.
17566
17567 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17568
17569         * tools/jarsigner.in: Use @VM_BINARY@.
17570         * tools/keytool.in: Likewise.
17571
17572 2006-06-01  Sven de Marothy  <sven@physto.se>
17573
17574         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17575         (setColor): Update the cairo paint.
17576
17577 2006-06-01  Mark Wielaard  <mark@klomp.org>
17578
17579         * java/util/logging/LogManager.java (createInstance): Always add
17580         original exception on warning.
17581
17582 2006-06-01  Lillian Angel  <langel@redhat.com>
17583
17584         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17585         (prependCodebase): Fixed check. No dirname was ever considered to 
17586         be a file, so every applet fell into the if-statement causing a lot
17587         of classloading problems with the applets.
17588
17589 2006-06-01  Sven de Marothy  <sven@physto.se>
17590
17591         Patch submitted by Boris Dusek.
17592         * native/jni/qt-peer/qtmenupeer.cpp
17593         Fix segfault
17594
17595 2006-06-01  Roman Kennke <kennke@aicas.com>
17596
17597         * javax/swing/JTable.java
17598         (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17599         why the behaviour is like it is.
17600         (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17601         (AccessibleJTableHeader): New inner class.
17602         (AccessibleJTableHeaderCell): New inner class.
17603         (AccessibleJTable.lastSelectedRow): New field.
17604         (AccessibleJTable.lastSelectedColumn): New field.
17605         (AccessibleJTable.caption): New field.
17606         (AccessibleJTable.summary): New field.
17607         (AccessibleJTable.rowDescriptions): New field.
17608         (AccessibleJTable.columnDescriptions): New field.
17609         (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17610         (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17611         (AccessibleJTable.isAccessibleChildSelected): Implemented.
17612         (AccessibleJTable.addAccessibleSelection): Implemented.
17613         (AccessibleJTable.removeAccessibleSelection): Implemented.
17614         (AccessibleJTable.clearAccessibleSelection): Implemented.
17615         (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17616         (AccessibleJTable.valueChange): Implemented.
17617         (AccessibleJTable.tableRowsInserted): Implemented.
17618         (AccessibleJTable.tableRowsDeleted): Implemented.
17619         (AccessibleJTable.handleRowChange): New helper method.
17620         (AccessibleJTable.columnAdded): Implemented.
17621         (AccessibleJTable.columnMarginChanged): Implemented.
17622         (AccessibleJTable.columnMoved): Implemented.
17623         (AccessibleJTable.columnRemoved): Implemented.
17624         (AccessibleJTable.columnSelectionChanged): Implemented.
17625         (AccessibleJTable.handleColumnChange): New helper method.
17626         (AccessibleJTable.editingCanceled): Implemented.
17627         (AccessibleJTable.editingStopped): Implemented.
17628         (AccessibleJTable.getAccessibleRow): Implemented.
17629         (AccessibleJTable.getAccessibleColumn): Implemented.
17630         (AccessibleJTable.getAccessibleIndex): Implemented.
17631         (AccessibleJTable.getAccessibleCaption): Implemented.
17632         (AccessibleJTable.setAccessibleCaption): Implemented.
17633         (AccessibleJTable.getAccessibleSummary): Implemented.
17634         (AccessibleJTable.setAccessibleSummary): Implemented.
17635         (AccessibleJTable.getAccessibleRowCount): Implemented.
17636         (AccessibleJTable.getAccessibleColumnCount): Implemented.
17637         (AccessibleJTable.getAccessibleAt): Implemented.
17638         (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17639         (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17640         (AccessibleJTable.getAccessibleRowHeader): Implemented.
17641         (AccessibleJTable.setAccessibleRowHeader): Implemented.
17642         (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17643         (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17644         (AccessibleJTable.getAccessibleRowDescription): Implemented.
17645         (AccessibleJTable.setAccessibleRowDescription): Implemented.
17646         (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17647         (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17648         (AccessibleJTable.isAccessibleSelected): Implemented.
17649         (AccessibleJTable.isAccessibleRowSelected): Implemented.
17650         (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17651         (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17652         (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17653         (getAccessibleContext): Register listeners for the accessibility
17654         class on the JTable.
17655
17656 2006-06-01  Sven de Marothy  <sven@physto.se>
17657
17658         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17659         (setPaint): Scale +1 pixel larger.
17660
17661 2006-06-01  Sven de Marothy  <sven@physto.se>
17662
17663         PR 27854
17664         * gnu/java/awt/Buffers.java (getData): Reimplement.
17665         * gnu/java/awt/peer/gtk/CairoSurface.java
17666         (getElem, setElem): Call native methods.
17667
17668 2006-06-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17669
17670         * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17671
17672 2006-06-01  Sven de Marothy  <sven@physto.se>
17673
17674         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17675         (drawImage): Check for zero size.
17676         * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17677         (setFont): Declare new native method.
17678         (GdkTextLayout): Read some attributes.
17679         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17680         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17681         (setFont): New native method.
17682         
17683 2006-06-01  Sven de Marothy  <sven@physto.se>
17684
17685         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17686         (updateBufferedImage): Fix some errors.
17687
17688 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
17689
17690         * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style 
17691         fixes,
17692         * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17693         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17694         * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17695         * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17696         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17697         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17698         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17699         * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17700         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17701         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17702         
17703 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
17704
17705         * javax/swing/JComboBox.java: Minor source code formatting fixes,
17706         * javax/swing/JEditorPane.java: Likewise,
17707         * javax/swing/JFormattedTextField.java: Likewise,
17708         * javax/swing/JLayeredPane.java: Likewise,
17709         * javax/swing/JScrollPane.java: Likewise,
17710         * javax/swing/JSlider.java: Likewise,
17711         * javax/swing/JSpinner.java: Likewise,
17712         * javax/swing/JTree.java: Likewise,
17713         * javax/swing/JViewport.java: Likewise,
17714         * javax/swing/UIDefaults.java: Likewise,
17715         * javax/swing/UIManager.java: Likewise.
17716         
17717 2006-06-01  Sven de Marothy  <sven@physto.se>
17718
17719         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17720         (BufferedImageGraphics): Cache surfaces.
17721         (updateBufferedImage): Copy directly for certain color models.
17722         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17723         (drawImage): Reimplement.
17724
17725 2006-06-01  Sven de Marothy  <sven@physto.se>
17726
17727         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17728         (setPixels): Don't swap, correct size.
17729
17730 2006-05-31  Anthony Green  <green@redhat.com>
17731
17732         PR 27828
17733         * java/net/InetSocketAddress.java: Defer getting the host
17734         name until somebody calls InetSocketAddress.getHostName().
17735         Fix "represenation" typo.
17736
17737 2006-06-01  Sven de Marothy  <sven@physto.se>
17738
17739         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17740         (updateBufferedImage): Simplify.
17741         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17742         (getPixels): Don't swap.
17743
17744 2006-06-01  Sven de Marothy  <sven@physto.se>
17745
17746         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17747         (setGradient): Reimplement.
17748         
17749 2006-06-01  Andreas Tobler  <a.tobler@schweiz.ch>
17750
17751         * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17752         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17753         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17754         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17755         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17756         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17757         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17758         Likewise.
17759
17760 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17761
17762         * javax/swing/table/JTableHeader.java
17763         (getColumnHeaderRenderer): New method,
17764         (getAccessibleColumnHeaderRenderer): Delegate part to new
17765         getColumnHeaderRenderer() method,
17766         (getLocale): Implemented.
17767
17768 2006-05-31  Andreas Tobler  <a.tobler@schweiz.ch>
17769
17770         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17771         (cp_gtk_grab_current_drawable): Rename
17772         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17773         cp_gtk_grab_current_drawable, remove static declaration.
17774         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17775         function.
17776         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17777         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17778         Remove prototype of
17779         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17780         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17781         function.
17782         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17783         * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17784         cp_gtk_grab_current_drawable here.
17785
17786 2006-05-31  Sven de Marothy  <sven@physto.se>
17787
17788         Should fix PR 27835
17789         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17790         (updateBufferedImage): Keep within image bounds.
17791
17792 2006-05-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
17793             Andreas Tobler  <a.tobler@schweiz.ch>
17794
17795         * configure.ac: Check for libXrender when the GTK peers are
17796         enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17797         X_EXTRA_LIBS.
17798         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17799         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17800         [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17801
17802 2006-05-31  Lillian Angel  <langel@redhat.com>
17803
17804         * javax/swing/plaf/basic/BasicProgressBarUI.java
17805         (paintString): Implemented to paint the string vertically.
17806
17807 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17808
17809         * javax/swing/JTable.java
17810         (AccessibleJTable.AccessibleJTable()): Check for null editor,
17811         (AccessibleJTable.getAccessibleRole()): Overridden to return correct 
17812         value,
17813         (AccessibleJTable.getAccessibleTable()): Likewise,
17814         (getAccessibleContext): Create new context if required.
17815
17816 2006-05-31  Roman Kennke <kennke@aicas.com>
17817
17818         * javax/swing/JTabbedPane.java
17819         (AccessibleJTabbedPane.stateChanged): Implemented.
17820         (Page.getAccessibleStateSet): Implemented.
17821         (Page.getAccessibleIndexInParent): Implemented.
17822         (getAccessibleContext): Add AccessibleJTabbedPane object
17823         as ChangeListener to the JTabbedPane.
17824
17825 2006-05-31  Roman Kennke <kennke@aicas.com>
17826
17827         * javax/swing/JMenuItem.java
17828         (getAccessibleContext): Register accessible object as ChangeListener
17829         to the JMenuItem.
17830         (AccessibleJMenuItem.armed): New field.
17831         (AccessibleJMenuItem.focusOwner): New field.
17832         (AccessibleJMenuItem.pressed): New field.
17833         (AccessibleJMenuItem.selected): New field.
17834         (stateChanged): Implemented.
17835
17836 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17837
17838         * javax/swing/ListSelectionModel.java: Added API docs all over.
17839
17840 2006-05-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17841
17842         * examples/gnu/classpath/examples/swing/FillRect.java 
17843         (paintComponent): Optionally paint lines rather than rectangles.
17844         (createContent): Added option to test line painting.
17845
17846 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17847
17848         * javax/swing/event/EventListenerList.java
17849         (getListenerList): Updated API docs.
17850
17851 2006-05-30  Sven de Marothy  <sven@physto.se>
17852
17853         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17854         (drawImage): Clip scaled image to dest rectangle.
17855
17856 2006-05-30  Sven de Marothy  <sven@physto.se>
17857
17858         * gnu/java/awt/peer/gtk/CairoSurface.java:
17859         (CairoSurface): Convert pixels properly.
17860         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17861         Remove commented-out lines.
17862
17863 2006-05-30  Sven de Marothy  <sven@physto.se>
17864
17865         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17866         (drawImage): Use Toolkit to convert to BufferedImage.
17867         * gnu/java/awt/peer/gtk/CairoSurface.java
17868         (CairoSurface(GtkImage)): New Constructor.
17869         (getBufferedImage): New method.
17870         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17871         Don't fill background - FIXME.
17872         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17873         Remove unused methods.
17874         * gnu/java/awt/peer/gtk/GtkImage.java:
17875         (pixbuflock): New field. Methods change to use this lock.
17876         * gnu/java/awt/peer/gtk/GtkToolkit.java
17877         (createImage): Use Cairo-backed surfaces via GtkImage instead of 
17878         GtkPixbufDecoder.
17879         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17880         (setPixels): Correct length in bytes.
17881
17882 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
17883
17884         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17885         System.loadLibrary unconditionally.
17886         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17887         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17888         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17889         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17890
17891 2006-05-30  Mark Wielaard  <mark@klomp.org>
17892
17893         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17894         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17895         Mark unused parameters, remove unused variables.
17896
17897 2006-05-30  Sven de Marothy  <sven@physto.se>
17898
17899         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17900         (copyArea): Implemented.
17901         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17902         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17903         (copyAreaNative): New method.
17904
17905 2006-05-30  Andreas Tobler  <a.tobler@schweiz.ch>
17906
17907         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17908         (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17909         for non big endian systems.
17910         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17911
17912 2006-05-30  Roman Kennke <kennke@aicas.com>
17913
17914         * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17915         * java/awt/TexturePaint.java
17916         (createContext): Implemented.
17917
17918 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17919
17920         * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17921         field early.
17922
17923 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17924
17925         * java/awt/Container.java:
17926         (removeAll): Reimplemented, added note.
17927
17928 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17929
17930         * java/awt/Container.java:
17931         (removeAll): Implemented different removal mechanism, added note.
17932
17933 2006-05-30  Lillian Angel  <langel@redhat.com>
17934
17935         PR 27785
17936         * java/awt/Component.java:
17937         (translateEvent): Added handling to translate WindowEvents
17938         * java/awt/Window.java:
17939         Removed unneeded imports.
17940
17941 2006-05-30  Mark Wielaard  <mark@klomp.org>
17942
17943         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17944         cairographics2d.h.
17945
17946 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
17947
17948         * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17949
17950 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17951
17952         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17953         (clearRect): Do not reuse the fg field, call updateColor.
17954         (drawRaster): Likewise.
17955         (setColor): Call updateColor.
17956         (updateColor): New method.
17957
17958 2006-05-30  Mark Wielaard  <mark@klomp.org>
17959
17960         * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17961         (PTR_TO_JLONG): Likewise.
17962         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17963         (getPointer): Use new conversion macros.
17964         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17965         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17966         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
17967         Likewise.
17968         (setNativeObject): Likewise.
17969         (getNativeObject): Likewise.
17970         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17971         (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
17972         Mark static.
17973         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
17974         Correctly cast XID and pointer values.
17975         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17976         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
17977         Mark unused variables.
17978         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
17979         Likewise.
17980         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17981         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17982         Remove unused cairographics2d struct.
17983         (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
17984         (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
17985         Use new conversion macros.
17986         * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
17987
17988 2006-05-30  Mark Wielaard  <mark@klomp.org>
17989
17990         * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
17991
17992 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17993
17994         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17995         (copy): Do not reuse the fd field.
17996         (setColor): Do not set the color if the parameter
17997         matches fd field.
17998         (translate(double, double): Rewritten to use
17999         AffineTransform.translate. 
18000
18001 2006-05-30  Sven de Marothy  <sven@physto.se>
18002
18003         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
18004         * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
18005         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
18006         New files.
18007         * include/Makefile.am
18008         * native/jni/gtk-peer/Makefile.am
18009         Add new files.
18010         * gnu/java/awt/peer/gtk/CairoSurface.java
18011         (getSharedGtkImage): New method.
18012         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18013         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18014         Fix copyArea.
18015         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18016         Support a non-xrender context.
18017         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18018         Plug memory leak.
18019         * gnu/java/awt/peer/gtk/GtkImage.java
18020         * include/gnu_java_awt_peer_gtk_GtkImage.h
18021         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18022         (initFromBuffer): New method.   
18023         * native/jni/gtk-peer/gtkpeer.h: 
18024         Remove declarations of previouslyremoved methods.
18025
18026 2006-05-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
18027
18028         * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
18029
18030 2006-05-29  Mark Wielaard  <mark@klomp.org>
18031
18032         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18033         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
18034         arguments.
18035         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18036         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
18037         early. Remove unused return statement in void function.
18038         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
18039         ptr early.
18040         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18041         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
18042         unused arguments.
18043         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
18044         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
18045         Likewise.
18046         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
18047         Likewise.
18048
18049 2006-05-29  Sven de Marothy  <sven@physto.se>
18050
18051         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18052         (setPixels): Remove superfluous return statement.       
18053
18054 2006-05-29  Sven de Marothy  <sven@physto.se>
18055
18056         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18057         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18058         * gnu/java/awt/peer/gtk/CairoSurface.java
18059         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18060         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18061         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
18062         * include/gnu_java_awt_peer_gtk_CairoSurface.h
18063         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18064         * native/jni/gtk-peer/cairographics2d.h
18065         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18066         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18067         New files.
18068
18069         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18070         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18071         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
18072         Removed
18073
18074         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
18075         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18076         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18077         (releasePeerGraphicsResource): Moved to Font peer class.
18078
18079         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18080         (createGraphics): Use new context classes.
18081
18082         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18083         Use native BufferedImages where possible.
18084
18085         * gnu/java/awt/peer/gtk/GdkTextLayout.java
18086         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
18087         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18088         Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
18089         renamed to cairoDrawGdkTextLayout.
18090         
18091         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18092         (getGraphics): Use ComponentGraphics context.
18093         (createImage): Use native BufferedImage.
18094         
18095         * gnu/java/awt/peer/gtk/GtkImage.java:
18096         * include/gnu_java_awt_peer_gtk_GtkImage.h
18097         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18098         Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
18099         Remove drawing methods.
18100                 
18101         * gnu/java/awt/print/JavaPrinterGraphics.java:
18102         Use CairoSurface instead of GtkImage.
18103         
18104         * include/Makefile.am
18105         * native/jni/gtk-peer/Makefile.am
18106         Update for new files.
18107
18108         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
18109         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
18110         Remove superfluous GtkImage code for GdkPixmaps. 
18111
18112         * native/jni/gtk-peer/gtkpeer.h
18113         Remove graphics2d structure.
18114         
18115 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18116
18117         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
18118         Do not reuse fg in the constructor.
18119
18120 2006-05-29  Carsten Neumann  <cn-develop@gmx.net>
18121
18122         * java/io/ObjectStreamConstants.java: Added API docs.
18123
18124 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18125
18126         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
18127         Take no action if this color is already set.
18128
18129 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18130
18131         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
18132         Rewritten. 
18133         * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
18134         Optionally paint with translation. (createContent): Added option
18135         to test painting with translation
18136
18137 2006-05-29  Raif S. Naffah  <raif@swiftdsl.com.au>
18138
18139         * java/util/logging/FileHandler.java (FileHandler): Set the instance field
18140         pattern to the default value when null.
18141         Pass field pattern, and not parameter with same name to createFileStream.
18142
18143 2006-05-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18144
18145         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
18146         New class implementing the OS bean.
18147         * gnu/java/lang/management/package.html:
18148         New file to document the gnu.java.lang.management package.
18149         * java/lang/management/ManagementFactory.java:
18150         New class to provide access to the OS bean.
18151         * java/lang/management/OperatingSystemMXBean.java:
18152         New interface.
18153         * java/lang/management/package.html:
18154         New file to document the java.lang.management package.
18155         
18156 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18157
18158         * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
18159         (JKS): Likewise.
18160         (LIB): Likewise.
18161         (SECURITY): Likewise.
18162         (CACERTS): Likewise.
18163         (CACERTS_GKR): Likewise.
18164         (gkrCaCertsPathName): New field.
18165         (jksCaCertsPathName): Likewise.
18166         (selfSignedCertificate): Likewise.
18167         (start): Initialize trusted certificate key stores if -trustcacerts is
18168         specified.
18169         (ensureReplyIsOurs): Initialize selfSignedCertificate.
18170         (orderChain): Implemented.
18171         (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
18172         certificate key stores if -trustcacerts option is specified.
18173         (findTrustInCACerts): Removed.
18174         (getCertPathParameters): New method.
18175         (validate): New method.
18176         * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
18177
18178 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18179
18180         * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
18181         (PATTERN_KEY): Likewise.
18182         (DEFAULT_PATTERN): Likewise.
18183         (LIMIT_KEY): Likewise.
18184         (DEFAULT_LIMIT): Likewise.
18185         (COUNT_KEY): Likewise.
18186         (DEFAULT_COUNT): Likewise.
18187         (APPEND_KEY): Likewise.
18188         (DEFAULT_APPEND): Likewise.
18189         (FileHandler()): Use pattern value as set in logging.properties.
18190         Use constants defined above.
18191         (FileHandler(1)): Use constants defined above.
18192         (FileHandler(2)): Likewise.
18193         (FileHandler(3)): Likewise.
18194         (FileHandler(4)): Likewise.
18195         (createFileStream): Likewise.
18196
18197 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18198
18199         * java/util/logging/FileHandler.java: Reverted previous patch.
18200         * java/util/logging/LogManager.java: Likewise.
18201
18202 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18203
18204         * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
18205         (DEFAULT_PATTERN): Likewise.
18206         (FileHandler()): Use configured pattern property if any; otherwise use a
18207         default value as per RI documentation.
18208         * java/util/logging/LogManager.java (getStringProperty): New method.
18209
18210 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
18211
18212         * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
18213
18214 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
18215
18216         * configure.ac (FOUND_CACAO): New automake conditional.
18217         Add --enable-tool-wrappers.
18218         * NEWS: Introduce the --enable-tool-wrappers option.
18219         * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
18220         * tools/appletviewer.c: Remove file.  Make tool-indepedent and
18221         rename ...
18222         * tools/toolwrapper.c: New file.
18223
18224 2006-05-27  Dalibor Topic  <robilad@kaffe.org>
18225
18226         * java/awt/Graphics2D.java: Use full class name for 
18227         PrinterJob in javadoc.
18228
18229 2006-05-27  Andreas Tobler  <a.tobler@schweiz.ch>
18230
18231         * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
18232         (callMouseMethod): Likewise.
18233
18234 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18235
18236         * native/jni/java-net/java_net_VMURLConnection.c:
18237         Fix function declarations to specify unused parameters.
18238         * scripts/check_jni_methods.sh:
18239         Remove copies of the same function using uniq.
18240         
18241 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18242
18243         * vm/reference/java/net/VMURLConnection.java:
18244         Make package-private and final.
18245         
18246 2006-05-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18247
18248         * examples/gnu/classpath/examples/swing/TableDemo.java
18249         (TModed): Added editor for the icons column.
18250         (createContent): Increase the row height by 2 px.
18251
18252 2006-05-26  Tom Tromey  <tromey@redhat.com>
18253
18254         PR classpath/27685:
18255         * java/math/BigInteger.java (modPow): Correctly handle negative
18256         exponent.
18257
18258 2006-05-26  Tom Tromey  <tromey@redhat.com>
18259
18260         * configure.ac: Check for magic.h and -lmagic.
18261         * vm/reference/java/net/VMURLConnection.java: New file.
18262         * include/java_net_VMURLConnection.h: New file.
18263         * include/Makefile.am (H_FILES): Add VMURLConnection.h.
18264         ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
18265         * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
18266         Mention new file.
18267         (libjavanet_la_LIBADD): Add $(LIBMAGIC).
18268         * native/jni/java-net/java_net_VMURLConnection.c: New file.
18269
18270 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18271
18272         * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
18273
18274 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18275
18276         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
18277         libjawtgnu.la libjawt.la.
18278
18279 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18280
18281         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18282         gtkcairopeer.h.
18283
18284 2006-05-25  Lillian Angel  <langel@redhat.com>
18285         
18286         PR 26174
18287         * java/awt/Window.java
18288         (Window): Moved code to helper.
18289         (addWindowFocusListener): New function. Handles focus
18290         listener code. Added code to handle focus lost/gained
18291         from the window.
18292
18293 2006-05-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18294
18295         * configure.ac:
18296         Make pkg-config check for GTK+ >= 2.8.
18297         
18298 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18299
18300         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18301         (flush): Remove debugging printfs.
18302
18303 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18304
18305         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18306         (schedule_flush): New function.
18307         (end_drawing_operation): Call schedule_flush.
18308
18309 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18310
18311         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
18312         paint performance demo.
18313         * examples/gnu/classpath/examples/swing/FillRect.java: New file.
18314
18315 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18316
18317         * INSTALL: Bump GTK requirement to 2.8 or higher.  Do not mention
18318         Cairo version requirement.  Do not mention --enable-gtk-cairo
18319         configure option.
18320         * NEWS: Add entry for GdkGraphics2D.
18321         * configure.ac: Remove --enable-gtk-cairo and explicit checks for
18322         Cairo library and headers.
18323         * .externalToolBuilders/Configure.launch: Remove
18324         --enable-gtk-cairo from configure line.
18325         * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
18326         field.
18327         * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
18328         * gnu/java/awt/peer/gtk/GdkFontPeer.java,
18329         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
18330         useGraphics2D references.  Always assume Graphics2D is enabled.
18331         * gnu/java/awt/peer/gtk/GdkGraphics.java,
18332         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
18333         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
18334         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
18335         Unlocked method variants.  Remove GTK_CAIRO_ENABLED and
18336         useGraphics2D references.  Always assume Graphics2D is enabled.
18337         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
18338         Graphics2D check.  Always assume Graphics2D is enabled.
18339         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
18340         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
18341         (realize): Remove method.
18342         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18343         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18344         (isRealized): Remove method.
18345         (realize): Implement as a native method.  Remove useGraphics2D
18346         references.  Always assume Graphics2D is enabled.
18347         * gnu/java/awt/peer/gtk/GtkImage.java,
18348         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
18349         GdkGraphics references with GdkGraphics2D references.
18350         * gnu/java/awt/peer/gtk/GtkToolkit.java,
18351         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
18352         useGraphics2D references.  Always assume Graphics2D is enabled.
18353         * include/Makefile.am (GTKPEER_H_FILES): Remove
18354         gnu_java_awt_peer_gtk_GdkGraphics.h.
18355         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
18356         * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
18357         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
18358         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
18359         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
18360         * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
18361         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18362         gnu_java_awt_peer_gtk_GdkGraphics.c.  Include
18363         gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
18364         (AM_LDFLAGS): Remove CAIRO_LIBS.
18365         (AM_CFLAGS): Remove CAIRO_CFLAGS.
18366         * native/jni/gtk-peer/gtkcairopeer.h: Remove.  Move declarations
18367         to ...
18368         * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18369
18370 2006-05-25  Lillian Angel  <langel@redhat.com>
18371
18372         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18373         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18374         Added check to prevent assertion error. If widget->window is null, then
18375         use the parent widget's window to set the cursor on.
18376
18377 2006-05-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18378
18379         * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18380         Implemented.
18381
18382 2006-05-24  Lillian Angel  <langel@redhat.com>
18383
18384         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18385         (prependCodeBase): Added check to determine if the documentbase
18386         points to a directory or a file.
18387
18388 2006-05-24  Sven de Marothy  <sven@physto.se>
18389
18390         * java/awt/dnd/DragGestureRecognizer.java
18391         (resetRecognizer): Implement.
18392         (fireDragGestureRecognized): Implement.
18393
18394 2006-05-24  David Gilbert  <david.gilbert@object-refinery.com>
18395
18396         * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18397         fixed source code formatting.
18398
18399 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18400
18401         * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18402
18403 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18404
18405         Reported by Antony Balkisson.
18406         * javax/swing/JTable.java (selectAll): Return without action 
18407         if the table is empty.
18408
18409 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18410
18411         * examples/gnu/classpath/examples/swing/TableDemo.java:
18412         (SliderCell): New inner class. (setCustomEditors,
18413         setInformativeHeaders): New fields. (createContent):
18414         Rewritten.
18415         * javax/swing/DefaultCellEditor.java 
18416         (JComboBoxDelegate.shouldSelectCell): New method.
18417         * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18418         * javax/swing/plaf/basic/BasicTableUI.java
18419         (MouseInputHandler.mouseClicked): Start editing on a single
18420         click if the cell editor is not a default cell editor.
18421
18422 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18423
18424         * javax/swing/naming/CompositeName.java,
18425         javax/swing/naming/CompoundName.java:
18426         Documented.
18427
18428 2006-05-23  Archie Cobbs  <archie@dellroad.org>
18429
18430         * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18431         ordering problem.
18432
18433 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
18434
18435         * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18436         * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18437         * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18438         * javax/swing/tree/DefaultTreeModel.java: Likewise,
18439         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18440         * javax/swing/tree/ExpandVetoException.java: Likewise,
18441         * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18442         * javax/swing/tree/RowMapper.java: Likewise,
18443         * javax/swing/tree/TreeNode.java: Likewise,
18444         * javax/swing/tree/TreeSelectionModel.java: Likewise,
18445         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18446
18447 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
18448
18449         * javax/swing/tree/DefaultTreeCellRenderer.java
18450         (DefaultTreeCellRenderer): Changed key for 
18451         setBackgroundNonSelectionColor(),
18452         plus API docs all over.
18453
18454 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18455         
18456         PR 27680
18457         * javax/swing/JTable.java (booleanInvertingEditor): New field.
18458         (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18459         Initialise in constructor. (columnMoved): Cancel editing.
18460         (createDefaultEditors): Rewritten. (editCellAt):
18461         Just invert the value if this is a boolean cell. 
18462         (initialiseLocalVars): Do not initialise renderer and editor tables.
18463         (setUI): Create editors and renderers here.
18464
18465 2006-05-23  Robert Schuster  <robertschuster@fsfe.org>
18466
18467         * examples/gnu/classpath/examples/awt/Demo.java:
18468         (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18469         instance as subframe.
18470         (ResolutionWindow): New inner class.
18471         (FullscreenWindow): New inner class.
18472
18473 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18474         
18475         PR 27680
18476         * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18477         Set horizontal alignment to centered.
18478
18479 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18480
18481         * javax/accessibility/AccessibleContext.java
18482         (getAccessibleComponent): Fixed typo in docs,
18483         * javax/swing/JLabel.java:
18484         (AccessibleJLabel.getAccessibleName): Check for explicit 
18485         accessibleName,
18486         * javax/swing/JTableHeader.java
18487         (AccessibleJTableHeaderEntry.columnIndex): New field,
18488         (AccessibleJTableHeaderEntry.parent): New field,
18489         (AccessibleJTableHeaderEntry.table): New field,
18490         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()): 
18491         Implemented,
18492         (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New 
18493         utility method,
18494         (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18495         (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18496         (AccessibleJTableHeaderEntry.contains): Implemented,
18497         (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18498         (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18499         (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18500         (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18501         (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18502         (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18503         (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18504         (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18505         (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18506         (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18507         (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18508         (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18509         (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18510         (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18511         (AccessibleJTableHeaderEntry.getBackground): Implemented,
18512         (AccessibleJTableHeaderEntry.getBounds): Implemented,
18513         (AccessibleJTableHeaderEntry.getCursor): Implemented,
18514         (AccessibleJTableHeaderEntry.getFont): Implemented,
18515         (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18516         (AccessibleJTableHeaderEntry.getForeground): Implemented,
18517         (AccessibleJTableHeaderEntry.getLocation): Implemented,
18518         (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18519         (AccessibleJTableHeaderEntry.getSize): Implemented,
18520         (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18521         (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18522         (AccessibleJTableHeaderEntry.isShowing): Implemented,
18523         (AccessibleJTableHeaderEntry.isVisible): Implemented,
18524         (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18525         (AccessibleJTableHeaderEntry.removePropertyChangeListener): 
18526         Implemented,
18527         (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18528         (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18529         (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18530         (AccessibleJTableHeaderEntry.setBackground): Implemented,
18531         (AccessibleJTableHeaderEntry.setBounds): Implemented,
18532         (AccessibleJTableHeaderEntry.setCursor): Implemented,
18533         (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18534         (AccessibleJTableHeaderEntry.setFont): Implemented,
18535         (AccessibleJTableHeaderEntry.setForeground): Implemented,
18536         (AccessibleJTableHeaderEntry.setLocation): Implemented,
18537         (AccessibleJTableHeaderEntry.setSize): Implemented,
18538         (AccessibleJTableHeaderEntry.setVisible): Implemented,
18539         (AccessibleJTableHeader.getAccessibleRole): Implemented,
18540         (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18541         (AccessibleJTableHeader.getAccessibleChild): Implemented,
18542         (AccessibleJTableHeader.getAccessibleAt): Implemented.
18543
18544 2006-05-22  Tom Tromey  <tromey@redhat.com>
18545
18546         * NEWS: Updated.
18547
18548 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18549
18550         * javax/swing/JLabel.java
18551         (AccessibleJLabel.getAccessibleName): New method (override),
18552         (setLabelFor): Fire 'labelFor' property change event before other
18553         events.
18554
18555 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18556
18557         * javax/swing/JLabel.java
18558         (AccessibleJLabel.getAccessibleRole): New method (override).
18559
18560 2006-05-22  Tom Tromey  <tromey@redhat.com>
18561
18562         * resource/gnu/classpath/tools/serialver/messages.properties: New
18563         file.
18564         * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18565         * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18566         field.
18567         (classpath): Likewise.
18568         (run): New method.
18569         (main): Use it.
18570         (addFileURL): New method.
18571         (getClassLoader): Likewise.
18572         (printMessage): Likewise.
18573
18574 2006-05-22  Tom Tromey  <tromey@redhat.com>
18575
18576         * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18577
18578 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18579
18580         * javax/swing/JTable.java (doLayout): In the column
18581         resize mode, only repaing the changed part of the table.
18582         (getLeftResizingBoundary): New method.
18583
18584 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18585
18586         * javax/naming/spi/InitialContextFactory.java,
18587         javax/naming/spi/InitialContextFactoryBuilder.java,
18588         javax/naming/spi/NamingManager.java,
18589         javax/naming/spi/ObjectFactory.java,
18590         javax/naming/spi/ResolveResult.java,
18591         javax/naming/spi/Resolver.java,
18592         javax/naming/spi/StateFactory.java: Documented.
18593
18594 2006-05-21  Tom Tromey  <tromey@redhat.com>
18595
18596         PR classpath/27688:
18597         * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18598         a WorkSet.
18599         (initSet): Removed.
18600         (shouldExtract): Removed.
18601         (run): Updated.
18602         * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18603         * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18604         method.
18605         (listJar): Use it.
18606         (allItems): New field.
18607         (run): Initialize it.
18608         (listJar): Use it.
18609
18610 2006-05-22  Sven de Marothy  <sven@physto.se>
18611
18612         * java/nio/CharBuffer.java
18613         (wrap): Fix bounds checking.
18614
18615 2004-08-26  Tom Tromey  <tromey@redhat.com>
18616
18617         * java/io/OutputStream.java 
18618         (OutputStream): Implements Closeable, Flushable.
18619
18620 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18621
18622         * java/io/ObjectOutputStream.java:
18623         (writeObject(Object)): Added enum support.
18624         (writeClassDescriptor(ObjectStreamClass)): Likewise.
18625         * java/io/ObjectStreamClass.java:
18626         (isEnum()): New package-private method.
18627         (setFlags(Class)): Added enum support.
18628         * java/io/ObjectStreamConstants.java:
18629         (SC_ENUM): Added.
18630
18631 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18632
18633         * java/io/ObjectInputStream.java:
18634         (parseContent(byte)): Added enum support.
18635         * java/io/ObjectStreamConstants.java:
18636         (TC_ENUM): Added.
18637         (TC_MAX): Changed to new maximum, TC_ENUM.
18638
18639 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18640
18641         * java/beans/beancontext/BeanContextSupport.java:
18642         (instantiateChild(String)): Implemented.
18643         
18644 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18645
18646         * java/beans/beancontext/BeanContextSupport.java:
18647         (add(Object)): Add further documentation.
18648         (isEmpty()): Documented.
18649         (propertyChange(PropertyChangeEvent)): Implemented.
18650         (remove(Object)): Documented.
18651         (remove(Object,boolean)): Documented and implemented.
18652         (vetoableChange(PropertyChangeEvent)): Marked as
18653         implemented (only subclasses appear to need this).
18654         
18655 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18656
18657         * java/beans/beancontext/BeanContextSupport.java:
18658         (add(Object)): Implement support for the child being
18659         a BeanContextChild.
18660         (avoidingGui()): Implemented.
18661         (dontUseGui()): Likewise.
18662         (needsGui()): Likewise.
18663         (okToUseGui()): Likewise.
18664         
18665 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18666
18667         * javax/naming/Context.java,
18668         javax/naming/ContextNotEmptyException.java,
18669         javax/naming/Reference.java: Documented.
18670
18671 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18672
18673         * javax/swing/text/html/MinimalHTMLWriter.java
18674         (writeComponent, writeImage): Declare that the method
18675         may throw the IOException.
18676
18677 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18678         
18679         PR 26972
18680         * javax/naming/InitialContext.java (colon_list): Changed type to
18681         hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18682         (merge): Rewritten.
18683
18684 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18685
18686         * javax/naming/InitialContext.java: Documented.
18687
18688 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18689
18690         * javax/naming/NameParser.java,
18691         javax/naming/NamingEnumeration.java,
18692         javax/naming/PartialResultException.java,
18693         javax/naming/SizeLimitExceededException.java,
18694         javax/naming/spi/ObjectFactory.java,
18695         javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18696
18697 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18698
18699         * gnu/java/net/loader/JarURLLoader.java:
18700         Use Map.Entry instead of LinkedHashMap.Entry
18701         
18702 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18703
18704         * javax/naming/Context.java: Documented.
18705
18706 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18707
18708         * javax/naming/Referenceable.java: Documented.
18709         * javax/naming/spi/NamingManager.java: Documented.
18710
18711 2006-05-21  Raif S. Naffah  <raif@swiftdsl.com.au>
18712
18713         * doc/tools.texinfo: Replaced references to MessageBundle.properties
18714         to messages.properties.
18715         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18716         Renamed to messages.properties.
18717         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18718         Likewise.
18719         * resource/gnu/classpath/tools/jarsigner/messages.properties:
18720         Renamed from MessageBundle.properties.
18721         Added copyright notice.
18722         * resource/gnu/classpath/tools/keytool/messages.properties:
18723         Likewise.
18724         * tools/gnu/classpath/tools/jarsigner/Messages.java
18725         (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18726         (getFormattedString): Fixed a spelling mistake.
18727         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18728
18729 2006-05-20  Sven de Marothy  <sven@physto.se>
18730
18731         * gnu/java/awt/font/opentype/NameDecoder.java
18732         Made class public.
18733         (getName): Use getShort instead of getChar(), fix PS name.
18734         (decodeName): New method.
18735         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18736         (getSubFamilyName): Implement.
18737         (getPostScriptName): Use the NameDecoder class instead.
18738         (parsePSName): Removed.
18739         (getName): Added
18740
18741 2006-05-20  Sven de Marothy  <sven@physto.se>
18742
18743         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18744         (getTrueTypeTable): New native method.
18745         (getPostScriptName): Reimplement.
18746         (parsePSName): New method.
18747         (getNumGlyphs): Implement.
18748         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18749         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18750         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18751         New function. File is now explicitly dependent on FT2.
18752         
18753 2006-05-20  Tom Tromey  <tromey@redhat.com>
18754
18755         * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18756         * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18757         file.
18758         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18759         (HandleFile): New class.
18760         (input, output, encoding, reversed): New fields.
18761         (createParser): New method.
18762         (run): Likewise.
18763         (main): Use 'run'.
18764         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18765         (notifyFile): Throws OptionException.
18766
18767 2006-05-20  Tom Tromey  <tromey@redhat.com>
18768
18769         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18770         from cp-tools.
18771
18772 2006-05-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18773
18774         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18775         (JCL_print_buffer): Fix to work with -Werror on 64-bit
18776         platforms.
18777         
18778 2006-05-20  Sven de Marothy  <sven@physto.se>
18779
18780         * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18781         
18782 2006-05-20  Sven de Marothy  <sven@physto.se>
18783
18784         * gnu/java/awt/print/JavaPrinterJob.java 
18785         (print): Use PostScriptGraphics2D.
18786         * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18787         
18788 2006-05-20  Sven de Marothy  <sven@physto.se>
18789
18790         * javax/swing/text/html/MinimalHTMLWriter.java: New file
18791         
18792 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18793
18794         * gnu/java/security/OID.java: Updated copyright year.
18795         (OID): Removed unused Javadoc param tag.
18796         * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18797         * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18798
18799 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18800
18801         * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18802         Formatting.
18803         Added trace/debug statements.
18804         (engineSetCertificateEntry): Ensure alias is not already used for a Key
18805         Entry.  Also ensure that any previous entry for this alias is removed
18806         before a new one is added.
18807         (engineGetKey): Do not trace/log passwords.
18808         Trace key's class name only.
18809         (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18810         Certificate Entry. Also ensure that previous entry for this alias is
18811         removed before a new one is added.
18812         (engineLoad): Do not trace/log passwords.
18813         (engineStore): Likewise.
18814         (engineSize): Use size of enumeration instead of collection size.
18815
18816 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18817
18818         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18819         (toString): New method.
18820         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18821         Do not trace/log passwords.
18822         Set masked to false before decoding envelope.
18823         Do not set payload to null.
18824         (encrypt): Set masked to true.
18825         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18826         Do not trace/log passwords.
18827         Set masked to false before decoding envelope.
18828         Do not set payload to null.
18829         Added trace/debug statements.
18830         (authenticate): Do not trace/log passwords.
18831         Set masked to true.
18832         Added trace/debug statements.
18833         (getMac): Added trace/debug statements.
18834         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18835         (remove(String)): Changed the signature to return a boolean.
18836         (toString): New method.
18837         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18838         Formatting
18839         (getCertificate): Likewise.
18840         (putCertificate): Likewise.
18841         (load): Likewise.
18842         Do not trace/log passwords.
18843         (store): Likewise.
18844         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18845         Do not trace/log passwords.
18846         Added more trace/logging statements.
18847         (putPrivateKey): Do not trace/log passwords.
18848         Trace only key's class name.
18849         Formatting.
18850         (containsPublicKey): Formatting.
18851         (getPublicKey): Likewise.
18852         Trace only key's class name.
18853         (putPublicKey): Trace only key's class name.
18854         (containsCertPath): Formatting.
18855         (getCertPath): Likewise.
18856         (putCertPath): Likewise.
18857         (load): Do not trace/log passwords.
18858         Formatting.
18859         (store): Likewise.
18860         * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18861         (add): Do not set payload to null.
18862         Added trace/debug statements.
18863         (containsAlias): Added trace/debug statements.
18864         (get): Likewise.
18865         (remove(Entry)): Likewise.
18866         (remove(String)): Likewise.
18867         Changed the signature to return a boolean.
18868         Do not set payload to null unless really removed.
18869         (toString): New method.
18870         (decodeEnvelope): Clear entries before proceeding.
18871         (makeAliasList): Added trace/debug statements.
18872         Ensure only non-null aliases and alias-lists are added.
18873         * gnu/javax/crypto/keyring/Entry.java (log): New field.
18874         (TYPES): New constant.
18875         (toString): New method.
18876         (defaultDecode): Add trace/debug statement.
18877
18878 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18879
18880         * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18881         Increased visibility.
18882         (setup): Do not trace/log passwords.
18883         (parsed): Was not setting correct (rfc) field; fixed.
18884         (print1Chain): Formatting.
18885         * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18886         Do not trace/log passwords.
18887         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18888         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18889         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18890         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18891         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18892         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18893         (orderChain): Added FIXME.
18894         * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18895         Do not trace/log passwords.
18896         Removed commented out code.
18897         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18898         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18899         * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18900         (setKeystoreURLParam): Likewise.
18901         (setKeystorePasswordParam): Do not trace/log passwords.
18902         (saveKeyStore): Likewise.
18903
18904 2006-05-19  Roman Kennke <kennke@aicas.com>
18905
18906         * gnu/java/awt/java2d/AbstractGraphics2D.java
18907         Added class docs.
18908         (pixel): Removed obsolete field.
18909         (draw(Shape)): Removed commented out code.
18910         (drawImage): Formatting.
18911         (drawString): Added optimization hook.
18912         (setPaint): Removed rawSetForeground().
18913         (getFontRenderContext): Return context with correct transform.
18914         (drawGlyphVector): Draw complete outline in one go.
18915         (copyArea): Added optimization hook.
18916         (clearRect): Added optimization hook.
18917         (drawImage): Added optimization hook.
18918         (fillShape): (Temporarily) Set antialiasing off by default for
18919         font rendering. Adjust the shape by some bits to improve rendering.
18920         Pass clip bounds to the render methods.
18921         (drawPixel): Removed.
18922         (rawSetPixel): Removed.
18923         (rawSetForeground): Removed.
18924         (rawDrawLine): Default impl calls standard pipeline.
18925         (rawDrawString): New method, calls standard pipeline for rendering.
18926         (rawClearRect): New method, calls standard pipeline for rendering.
18927         (rawFillRect): New method, calls standard pipeline for rendering.
18928         (rawDrawImage): New method, calls standard pipeline for rendering.
18929         (rawCopyArea): New method.
18930         (copyAreaImpl): New method.
18931         (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18932         for rendering.
18933         (fillShapeAntialias): Fixed AA rendering.
18934         (fillScanlineAA): Fixed AA rendering.
18935         (getSegments): Take offset into account.
18936
18937 2006-05-19  Sven de Marothy  <sven@physto.se>
18938
18939         * javax/swing/text/AbstractWriter.java
18940         (getText): Fix parameters (start, length) not (start, end).
18941         
18942 2006-05-19  Tom Tromey  <tromey@redhat.com>
18943
18944         PR classpath/27444:
18945         * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18946         Changed return type.
18947         * java/net/URLClassLoader.java (urlloaders): Removed.
18948         (addURLImpl): Updated.
18949         * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18950         (indexSet): Likewise.
18951         (classPath): Changed type.
18952         (JarURLLoader): New constructor.
18953         (initialize): New method.
18954         (getResource): Use index set if it exists.
18955         (getClassPath): Updated.
18956         * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18957         (prefixes): New field.
18958         (headers): Removed.
18959         (IndexListParser): Fill in prefixes.
18960         (clearAll): Clear prefixes.
18961         (getHeaders): Changed return type.
18962
18963 2006-05-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18964
18965         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
18966         (MouseInputHandler.mouseExitted): No nothing there.
18967         (MouseInputHandler.endDragging): Move column to the
18968         first/last position if released outside the horizontal
18969         table range.
18970
18971 2006-05-19  Lillian Angel  <langel@redhat.com>
18972
18973         * java/awt/font/GlyphVector.java
18974         (getGlyphCharIndex): Implemented.
18975         (getGlyphCharIndices): Implemented.
18976         (getGlyphOutline): Implemented.
18977         (getGlyphVisualBounds): Implemented.
18978         (getGlyphVisualBounds): Implemented.
18979         (getPixelBounds): Implemented.
18980         (getLayoutFlags): Implemented.
18981
18982 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
18983
18984         * java/awt/LightweightDispatcher.java: Added field dragButton and
18985         documentation for it.
18986         (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
18987         added subexpression to if-clause in MOUSE_RELEASED case.
18988
18989 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
18990
18991         * javax/swing/metal/MetalButtonUI.java:
18992         (update): Removed some subexpression from if-clause and call
18993         updateWithGradient.
18994         (updateWithGradient): New method.
18995
18996 2006-05-19  Roman Kennke <kennke@aicas.com>
18997
18998         * javax/swing/JComponent.java
18999         (findOverlapFreeParent): Implemented algorithm for finding
19000         overlapping in component hierarchy.
19001
19002 2006-05-19  Jeroen Frijters  <jeroen@frijters.net>
19003
19004         * java/lang/Thread.java
19005         (contextClassLoaderIsSystemClassLoader): New field.
19006         (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
19007         (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
19008         and set contextClassLoaderIsSystemClassLoader.
19009         (Thread(ThreadGroup,Runnable,String,long)):
19010         Set contextClassLoaderIsSystemClassLoader.
19011         (createAnonymousThreadName): New method.
19012         (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
19013         and fixed security check.
19014         (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
19015
19016 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
19017
19018         * javax/swing/plaf/basic/BasicToolBarUI.java:
19019         (createNonRolloverBorder): Rewritten.
19020         (createRolloverBorder): Rewritten.
19021         (setToNonRolloverBorder): Store old border instance in hashtable.
19022         (setToRolloverBorder): Store old border instance in hashtable, use
19023         AbstractButton instead of JButton in statements.
19024         (setBorderToNormal): Rewritten.
19025         * javax/swing/plaf/metal/MetalLookAndFeel.java:
19026         (initComponentDefaults): Added values for ToolBar.rolloverBorder and
19027         ToolBar.nonrolloverBorder.
19028
19029 2006-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
19030
19031         * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
19032         * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
19033
19034 2006-05-18  Lillian Angel  <langel@redhat.com>
19035
19036         * java/awt/font/GlyphMetrics.java
19037         (getLSB): Implemented.
19038         (getRSB): Implemented.
19039
19040 2006-05-18  Lillian Angel  <langel@redhat.com>
19041
19042         * java/awt/font/GraphicAttribute.java:
19043         Documented entire class.
19044         (GraphicAttribute): Added check for alignment.
19045         (getBounds): Implemented.
19046         (getJustificationInfo): Implemented.
19047
19048 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
19049
19050         * java/awt/LightweightDispatcher.java:
19051         (handleMouseEvent): Added note, added subexpression to if-statement.
19052
19053 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
19054
19055         * javax/swing/plaf/basic/BasicToolBarUI.java:
19056         (navigateFocusedComp): Marked as stub.
19057         (createRolloverBorder): Create a different Border instance, added note.
19058         * javax/swing/plaf/metal/MetalBorders.java:
19059         (ButtonBorder): Added documentation.
19060         (ButtonBorder.paintDefaultButtonBorder): Added else-block.
19061         (ButtonBorder.paintOceanButtonBorder): Added else-block, added
19062         subexpression into if-else cascade, added note.
19063
19064 2006-05-18  Lillian Angel  <langel@redhat.com>
19065
19066         * java/awt/font/ShapeGraphicAttribute.java:
19067         Documented entire class.
19068         (ShapeGraphicAttribute): Initialized bounds field.
19069         (draw): Implemented.
19070         (equals): Implemented.
19071         (getAdvance): Implemented.
19072         (getAscent): Implemented.
19073         (getBounds): Implemented.
19074         (getDescent): Implemented.
19075         (hashCode): Implemented.
19076
19077 2006-05-18  Roman Kennke <kennke@aicas.com>
19078
19079         * javax/swing/CellRendererPane.java
19080         (CellRendererPane): Set CellRendererPane to invisible.
19081
19082 2006-05-18  Roman Kennke <kennke@aicas.com>
19083
19084         * gnu/java/awt/peer/gtk/GdkGraphics.java
19085         (clipRect): Removed old intersection statement.
19086
19087 2006-05-18  Roman Kennke <kennke@aicas.com>
19088
19089         * gnu/java/awt/peer/gtk/GdkGraphics.java
19090         (clipRect): Don't use Rectangle.intersection() to avoid creating
19091         2 unnecessary Rectangle instances and fix a clipping problem.
19092         (computeIntersection): New helper method, adapted from SwingUtilities.
19093
19094 2006-05-18  Roman Kennke <kennke@aicas.com>
19095
19096         * javax/swing/JComponent.java
19097         (isCompletelyDirty): Removed.
19098         (paint): Don't mark children as clean, this is no longer necessary.
19099         (findOverlapFreeParent): Don't stop at Viewports, this breaks
19100         painting when something overlaps the viewport (like a popup/menu).
19101         * javax/swing/RepaintManager.java
19102         (currentRepaintManagers): Made package private to avoid accessor
19103         methods.
19104         (dirtyComponents): Made private.
19105         (dirtyComponentsWork): Made private.
19106         (markCompletelyDirty): Fixed bounds of dirtyrect to be
19107         component-local not parent-local. Do not set flag in JComponent.
19108         (markCompletelyClean): Don't set JComponent flag.
19109         (isCompletelyDirty): Rewritten to return true when the complete
19110         component is marked dirty.
19111         (paintDirtyRegions): Improved parent-merging so that the merged-in
19112         components don't get painted too. 'Outsourced' the compilation
19113         of the repaint root components.
19114         (compileRepaintRoots): New helper method.
19115
19116 2006-05-18  Roman Kennke <kennke@aicas.com>
19117
19118         PR 26368
19119         * javax/swing/text/GapContent.java
19120         (GapContentPosition(int)): Use adapted binarySearch method to
19121         allow for having a greater array than number of entries.
19122         (numMarks): New field, holds the end of the marks list.
19123         (GapContent): Initialize positionMarks with size of 10 instead of 0.
19124         (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
19125         (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
19126         (setPositionsInRange): Changed signature to narrow the purpose and
19127         special cases inside. Reimplemented to crunch together equal marks.
19128         (adjustPositionsInRange): Added assertion to make sure we do
19129         not accidentally change the order of the mark. Added some debug
19130         output for a special case of which I don't know if it even exists.
19131         (resetMarksAtZero): Made impl simpler.
19132         (dumpMarks): New debug helper method.
19133         (insertMark): Grow array in bigger chunks to avoid excessive copying.
19134         (binarySearch): New method. An adaption of Arrays.binarySearch()
19135         that allows for an maxIndex parameter.
19136
19137 2006-05-18  Roman Kennke <kennke@aicas.com>
19138
19139         * javax/swing/KeyboardManager.java
19140         (topLevelLookup): Use WeakHashMap to avoid memory leak.
19141
19142 2006-05-18  Jeroen Frijters  <jeroen@frijters.net>
19143
19144         * gnu/java/net/loader/JarURLLoader.java
19145         (JarURLLoader): Use a slightly more efficient URL constructor.
19146
19147 2006-05-18  David Gilbert  <david.gilbert@object-refinery.com>
19148
19149         * gnu/java/awt/print/JavaPrinterGraphics.java
19150         (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
19151         (drawImage(Image, int, int, ImageObserver)): Likewise,
19152         (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
19153         (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
19154         (drawImage(Image, int, int, int, int, int, int, int, int, Color, 
19155         ImageObserver)): Likewise,
19156         (drawImage(Image, int, int, int, int, int, int, int, int, 
19157         ImageObserver)): Likewise.
19158
19159 2006-05-17  Tom Tromey  <tromey@redhat.com>
19160
19161         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
19162         LinkedHashSet.
19163
19164 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
19165
19166         * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
19167         * javax/swing/border/BevelBorder.java: Likewise,
19168         * javax/swing/border/CompoundBorder.java: Likewise,
19169         * javax/swing/border/TitledBorder.java: Likewise.
19170
19171 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
19172
19173         * javax/swing/table/AbstractTableModel.java: Formatting fixes,
19174         * javax/swing/table/DefaultTableModel.java: Likewise,
19175         * javax/swing/table/TableCellEditor.java: Likewise,
19176         * javax/swing/table/TableCellRenderer.java: Likewise.
19177
19178 2006-05-17  Lillian Angel  <langel@redhat.com>
19179
19180         * java/awt/font/ImageGraphicAttribute.java:
19181         Documented entire class.
19182         (ImageGraphicAttribute): Changed to call this.
19183         (ImageGraphicAttribute): Implemented.
19184         (draw): Implemented.
19185         (equals): Implemented.
19186         (getAdvance): Implemented.
19187         (getAscent): Implemented.
19188         (getBounds): Implemented.
19189         (getDescent): Implemented.
19190         (hashCode): Implemented.
19191         * javax/swing/text/html/HTMLDocument.java
19192         (create): Removed. Sufficent enough for
19193         super to be called.
19194         (insert): Likewise.
19195         (insertUpdate): Likewise.
19196         (processHTMLFrameHyperlinkEvent): Marked as stub.
19197         (start): Removed FIXME.
19198         (end): Likewise.
19199         (start): Called super. 
19200         (end): Called super.
19201         (getElement): removed unneeded code.
19202         (setParagraphAttribute): Removed. Sufficent enough
19203         for super to be called.
19204         (fireChangedUpdate): Likewise.
19205         (fireUndoableEditUpdate): Likewise.     
19206
19207 2006-05-17  Lillian Angel  <langel@redhat.com>
19208
19209         * java/awt/TexturePaint.java:
19210         Added documentation for class and all functions.
19211         (getTransparency): Implemented.
19212
19213 2006-05-17  Roman Kennke <kennke@aicas.com>
19214
19215         * java/awt/LightweightDispatcher.java
19216         (findTarget): Translate point to child components.
19217
19218 2006-05-17  Roman Kennke <kennke@aicas.com>
19219
19220         PR 26368
19221         * javax/swing/text/GapContent.java
19222         (GapContentPosition): Do no more implement Comparable.
19223         (GapContentPosition.mark): Removed field.
19224         (GapContentPosition.index): New field to hold the index into
19225         the positions array.
19226         (GapContentPosition(int)): Rewritten to use the new indirection
19227         to the positions array.
19228         (GapContentPosition.compareTo): Removed.
19229         (GapContentPosition.getOffset): Synchronized. Fetch mark from
19230         positionMarks array.
19231         (WeakPositionComparator): Removed obsolete class.
19232         (positions): Changed type to WeakHashMap.
19233         (positionMarks): New field, holds the marks of the positions.
19234         (GapContent): Initialize new fields.
19235         (createPosition): Rewritten to use the new indirection
19236         to the positions array.
19237         (getPositionsInRange): Rewritten to use the new indirection
19238         to the positions array.
19239         (setPositionsInRange): Rewritten to use the new indirection
19240         to the positions array.
19241         (adjustPositionsInRange): Rewritten to use the new indirection
19242         to the positions array.
19243         (insertMark): New helper method.
19244         (clearPositionReferences): Removed obsolete methods.
19245
19246 2006-05-17  Lillian Angel  <langel@redhat.com>
19247
19248         * java/awt/GraphicsConfiguration.java
19249         (getImageCapabilities): Implemented.
19250         (getBufferCapabilities): Implemented.
19251
19252 2006-05-17  Lillian Angel  <langel@redhat.com>
19253
19254         * javax/swing/plaf/basic/BasicSliderUI.java
19255         (focusGained): Implemented.
19256         (focusLost): Implemented.
19257         (paint): Added code to paint the focus.
19258         * javax/swing/plaf/metal/MetalSliderUI.java
19259         (paintThumb): Added code to set the thumbColor.
19260         (paintFocus): Implemented properly.
19261
19262 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19263
19264         PR 27383
19265         * javax/naming/spi/NamingManager.java (getURLContext):
19266         Always search for the factory class in all possible places
19267         and use VMStackWalker.
19268         (forName): New method.
19269
19270 2006-05-17  Roman Kennke <kennke@aicas.com>
19271
19272         * java/awt/LightweightDispatcher.java
19273         (handleMouseEvent): Fixed search algorithm for finding the
19274         mouse event target.
19275         (findTarget): Fixed search algorithm for finding the
19276         mouse event target.
19277
19278 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19279
19280         * javax/naming/spi/NamingManager.java: Documented.
19281
19282 2006-05-17  Mark Wielaard  <mark@klomp.org>
19283
19284         * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
19285         * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
19286         * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
19287         * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
19288
19289 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
19290
19291         Fixes PR 26947.
19292         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
19293         year.
19294         (BorderListener.mouseClicked): Detect double-clicks in title pane,
19295         copied code from
19296         BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
19297
19298 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
19299
19300         Fixes PR 27626.
19301         * java/awt/LightweightDispatcher.java:
19302         (handleMouseEvent): Moved assignment into switch-block, added notes.
19303
19304 2006-05-16  Lillian Angel  <langel@redhat.com>
19305
19306         * javax/swing/text/StyleContext.java:
19307         Changed staticAttributeKeys  to be a Hashtable.
19308         (getStaticAttribute): Implemented.
19309         (getStaticAttributeKey): Implemented.
19310         (readAttributeSet): Implemented.
19311         (writeAttributeSet): Added FIXME. Not sure how
19312         to implement this.
19313         (readAttributes): Implemented.
19314         (writeAttributes): Implemented.
19315         (registerStaticAttibuteKey): Fixed to add key to 
19316         the hash table.
19317
19318 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
19319
19320         * javax/swing/DefaultButtonModel.java
19321         (setGroup): Removed event notification.
19322
19323 2006-05-16  Lillian Angel  <langel@redhat.com>
19324
19325         * javax/swing/plaf/basic/BasicComboBoxUI.java
19326         (installKeyboardActions): Implemented.
19327         (uninstallKeyboardActions): Implemented.
19328         * javax/swing/plaf/basic/BasicComboPopup.java
19329         (uninstallKeyboardActions): Removed FIXME. Nothing
19330         to be done here.
19331         (installKeyboardActions): Likewise.
19332         * javax/swing/plaf/basic/BasicTextUI.java
19333         (uninstallKeyboardActions): Implemented.
19334         * javax/swing/plaf/basic/BasicTreeUI.java:
19335         Added field for hashColor.
19336         Marked stub methods.
19337         (getHashColor): Implemented to use field.
19338         (setHashColor): Likewise.
19339         (getRowX): Implemented.
19340         (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.   
19341
19342 2006-05-16  Roman Kennke <kennke@aicas.com>
19343
19344         PR 26521
19345         * javax/swing/JTable.java
19346         (rowHeights): New field.
19347         (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
19348         in order to initialize rowHeights correctly.
19349         (tableChanged): Nullify rowHeights when model changes. Only
19350         create default columns from model when corresponding property
19351         is set. Sync table model with rowHeights as appropriate.
19352         (valueChanged): Call repaint with the correct rectangle.
19353         (rowAtPoint): Handle rowHeights.
19354         (getCellRect): Mostly rewritten. Check for boundaries
19355         of model and return (0,0,0,0) or (0,0,width,height) when outside.
19356         Handle component orientation. Round correctly.
19357         (getRowHeight(int)): Implemented for variable row height.
19358         (setRowHeight(int,int)): Implemented for variable row height.
19359         (setRowHeight(int)): Nullify rowHeights.
19360         (setModel): Notify tableChanged().
19361         * javax/swing/plaf/basic/BasicTableUI.java
19362         (installDefaults): Create rendererPane in installUI.
19363         (installUI): Create and install rendererPane.
19364         (uninstallUI): Uninstall rendererPane and nullify rendererPane
19365         and table.
19366         (paint): Correctly handle rowMargin.
19367
19368 2006-05-16  Tom Tromey  <tromey@redhat.com>
19369
19370         PR classpath/27563:
19371         * java/text/NumberFormat.java (getIntegerInstance): Use
19372         "integerFormat", not "numberFormat".
19373
19374 2006-05-16  Lillian Angel  <langel@redhat.com>
19375
19376         * javax/swing/JPopupMenu.java
19377         (addMenuKeyListener): Implemented.
19378         (removeMenuKeyListener): Implemented.
19379         (getMenuKeyListeners): Implemented.
19380         * javax/swing/ProgressMonitor.java:
19381         Added new protected field.
19382         (getAccessibleContext): Implemented.
19383
19384 2006-05-16  Lillian Angel  <langel@redhat.com>
19385
19386         * javax/swing/JFileChooser.java:
19387         Added new private field.
19388         (setDragEnabled): Implemented.
19389         (getDragEnabled): Implemented.
19390
19391 2006-05-16  Lillian Angel  <langel@redhat.com>
19392
19393         * java/awt/Window.java
19394         (applyResourceBundle): Implemented.
19395
19396 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
19397
19398         * javax/swing/DefaultButtonModel.java
19399         (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19400         states also.
19401
19402 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19403
19404         * javax/swing/JList.java (getSelectedValues):
19405         Ask the value for the indexed array element.
19406
19407 2006-05-16  Roman Kennke <kennke@aicas.com>
19408
19409         * javax/swing/JTable.java
19410         (valueChanged): Also repaint when table has only 1 row. Fixed
19411         repaint rectangle to span the entire changed rows.
19412
19413 2006-05-16  Roman Kennke <kennke@aicas.com>
19414
19415         PR 24031
19416         * javax/swing/JOptionPane.java
19417         (startModal): Rewritten. The events are now dispatched, even
19418         when the event dispatch thread gets blocked by the call
19419         to this method. Also, mouse events get intercepted outside the
19420         internal frame.
19421
19422 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19423
19424         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19425         (BorderListener.mouseDragged):Do not set cursor 
19426         if the frame is being dragged.
19427
19428 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19429
19430         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19431         (BorderListener): Rewritten. (InternalFrameBorder):
19432         Made package private.
19433         (InternalFrameBorder.offset):
19434         Renamed to cornerSize, made package private.
19435         (bSize): Made package private.
19436
19437 2006-05-16  Roman Kennke <kennke@aicas.com>
19438
19439         * javax/swing/JMenu.java
19440         (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19441         (AccessibleJMenu.getAccessibleChild): Implemented.
19442         (AccessibleJMenu.getAccessibleSelection): Implemented.
19443         (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19444         (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19445         (AccessibleJMenu.getAccessibleRole): Documented.
19446         (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19447         (AccessibleJMenu.addAccessibleSelection): Implemented.
19448         (AccessibleJMenu.removeAccessibleSelection): Implemented.
19449         (AccessibleJMenu.clearAccessibleSelection): Implemented.
19450         (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19451         (createPath): New helper method.
19452
19453 2006-05-15  Tom Tromey  <tromey@redhat.com>
19454
19455         * java/text/MessageFormat.java (format): Now varargs.
19456
19457 2006-05-15  Tom Tromey  <tromey@redhat.com>
19458
19459         * java/lang/Thread.java (State): Fixed typo.
19460
19461 2006-05-15  Tom Tromey  <tromey@redhat.com>
19462
19463         * java/net/URLClassLoader.java: Moved inner classes to
19464         gnu.java.net.loader.
19465         (factoryCache): Changed type.
19466         (URL_LOADER_PREFIX): New constant.
19467         (URLClassLoader): Updated for new factoryCache.
19468         (addURLImpl): Use reflection to search for a loader.
19469         (findClass): Use getClass method on URLLoader.
19470         (getURLStreamHandler): Removed.
19471         * gnu/java/net/loader/URLLoader.java: New file, extracted
19472         from URLClassLoader.
19473         * gnu/java/net/loader/Resource.java: Likewise.
19474         * gnu/java/net/loader/FileResource.java: Likewise.
19475         * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19476         * gnu/java/net/loader/JarURLLoader.java: Likewise.
19477         * gnu/java/net/loader/JarURLResource.java: Likewise.
19478         * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19479         * gnu/java/net/loader/RemoteResource.java: Likewise.
19480         * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19481
19482 2006-05-15  Sven de Marothy  <sven@physto.se>
19483
19484         * native/target/generic/target_generic_network.h: 
19485         Add a pair of parenthesis.
19486
19487 2006-05-15  Mark Wielaard  <mark@klomp.org>
19488
19489         * java/awt/Graphics2D.java: Remove PrinterJob import.
19490
19491 2006-05-15  Mark Wielaard  <mark@klomp.org>
19492
19493         * doc/www.gnu.org/announce/20060515.wml: New file.
19494         * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19495         * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19496
19497 2006-05-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
19498
19499         * NEWS: Announce inclusion of gcjwebplugin.
19500         Announce inclusion of appletviewer.
19501         * INSTALL: Note gcjwebplugin dependencies.
19502
19503 2006-05-15  Mark Wielaard  <mark@klomp.org>
19504
19505         * configure.ac (VERSION): Set to 0.91-generics.
19506
19507 2006-05-15  Mark Wielaard  <mark@klomp.org>
19508
19509         * NEWS: Add release date and VMClassLoader.getBootPackages()
19510         changes.
19511
19512 2006-05-15  Christian Thalinger  <twisti@complang.tuwien.ac.at>
19513
19514         * README: Added CACAO to list of VMs.
19515
19516 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19517
19518         * javax/swing/RepaintManager.java (paintDirtyRegions):
19519         Break loop as soon as the component repaint is merged
19520         with some parent. (ComponentComparator): Removed.
19521         (comparator): Removed.
19522
19523 2006-05-15  Roman Kennke <kennke@aicas.com>
19524
19525         * javax/swing/border/TitledBorder.java
19526         (paintBorderWithTitle): Fixed indentation.
19527
19528 2006-05-15  Roman Kennke <kennke@aicas.com>
19529
19530         * javax/swing/border/TitledBorder.java
19531         (layoutBorderWithTitle): Fetch border using getBorder() instead
19532         of using the border field directly. Allows for the use of
19533         an UI supplied border in the case when a null border was set.
19534         Fixed component orientation.
19535         (paintBorderWithTitle): Fetch border using getBorder() instead
19536         of using the border field directly. Allows for the use of
19537         an UI supplied border in the case when a null border was set.
19538
19539 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19540
19541         * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19542         (contains): New method.
19543
19544 2006-05-15  Tom Tromey  <tromey@redhat.com>
19545
19546         * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19547         argument indices.
19548         * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19549         argument indices.
19550
19551 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19552
19553         * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19554          JViewport's.
19555         * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19556         region. (paintDirtyRegions): Rewritten.
19557
19558 2006-05-15  Tom Tromey  <tromey@redhat.com>
19559
19560         * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19561         MessageFormat.
19562         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19563         MessageFormat.
19564         * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19565         (run): Use MessageFormat.
19566         * resource/gnu/classpath/tools/jar/messages.properties: New file.
19567         * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19568         (writeFile): Use MessageFormat.
19569
19570 2006-05-15  Jeroen Frijters  <jeroen@frijters.net>
19571
19572         * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19573         instead of directly calling the class loader.
19574
19575 2006-05-15  Tom Tromey  <tromey@redhat.com>
19576
19577         * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19578         Removed old comment.
19579         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19580         Externalized strings.
19581         (getVersionString): Use MessageFormat.
19582         * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19583         * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19584         * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19585         (getArgument): Use a MessageFormat.
19586         (handleLongOption): Likewise.
19587         (parse): Likewise.
19588
19589 2006-05-15  Robert Schuster  <robertschuster@fsfe.org>
19590
19591         Fixes PR 27197.
19592         * javax/swing/text/FieldView.java:
19593         (paint): Calculate intersection between clip and allocation area and
19594         set that as new clip.
19595
19596 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19597
19598         * javax/swing/text/JTextComponent.java: Marked stub methods.
19599
19600 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19601
19602         * javax/swing/JTable.java: Marked stub methods.
19603
19604 2006-05-15  Raif S. Naffah  <raif@swiftdsl.com.au>
19605
19606         * tools/gnu/classpath/tools/jarsigner/Main.java:
19607         Increased visibility of fields used by parser anonymous classes.
19608         (KEYTOOL_TOOL): New constant.
19609         (cmdLineParser): Changed type to ToolParser.
19610         (fileAndAlias): new field.
19611         (main): Don't catch OptionException.
19612         (processArgs): Removed validation checks; now handled by ToolParser.
19613         (getParser): Removed.
19614         (ToolParserCallback): New inner class.
19615         (ToolParser): Likewise.
19616
19617 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19618
19619         * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19620         Removed.
19621
19622 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19623
19624         * javax/swing/DefaultDesktopManager.java (endDraggingFrame, 
19625         endResizingFrame): Do not repaint, unless in the outline mode.
19626
19627 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19628
19629         * javax/swing/JTabbedPane.java
19630         (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19631         (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19632         (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19633         (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19634         (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19635         (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19636         (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19637         (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19638         (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19639         (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19640         (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19641         (Page.getAccessibleName): Implemented.
19642
19643 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19644
19645         * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19646         Do not repaint nor revalidate here.
19647
19648 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19649
19650         * javax/swing/RepaintManager.java (addDirtyRegion):
19651         If there is a lightweight parent, recursively add the corresponding
19652         region of the parent instead.
19653
19654 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19655
19656         * java/awt/Graphics2D.java: Added some API doc comments.
19657
19658 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19659
19660         * javax/swing/JTabbedPane.java
19661         (paramString): Reimplemented,
19662         (getAccessibleContext): Added API docs.
19663
19664 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19665
19666         * javax/swing/JFileChooser.java
19667         (paramString): Reimplemented,
19668         (getAccessibleContext): Updated API docs,
19669         (AccessibleJFileChooser): Added API docs.
19670
19671 2006-05-14  Tom Tromey  <tromey@redhat.com>
19672
19673         * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19674         OptionException.
19675         * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19676         OptionException.
19677         * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19678         OptionException.
19679         * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed.  Moved
19680         validation to JarParser.
19681         * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19682         (run): Moved validation to JarParser.  Don't throw OptionException.
19683         (initializeParser): Create a JarParser.
19684         (main): Don't catch OptionException.
19685         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19686         public.
19687         (validate): New method.
19688         (parse): Call it.  Print '-help' in error message when long-only.
19689
19690 2006-05-14  Tom Tromey  <tromey@redhat.com>
19691
19692         * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19693         assignment.
19694
19695 2006-05-15  Sven de Marothy  <sven@physto.se>
19696
19697         * gnu/java/awt/print/JavaPrinterGraphics.java:
19698         Sweeping changes I can't be bothered to document in detail.
19699         * gnu/java/awt/print/JavaPrinterJob.java
19700         (getPageAttributes): New method.
19701         (setPageable,cancel,isCancelled): Implement.
19702
19703 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
19704
19705         * javax/swing/JCheckBoxMenuItem.java
19706         (requestFocus): Fixed typo in API docs,
19707         (paramString): Just call super.paramString(),
19708         (getAccessibleContext): Added API docs,
19709         (AccessibleJCheckBoxMenuItem): Likewise.
19710
19711 2006-05-14  Tom Tromey  <tromey@redhat.com>
19712
19713         * tools/gnu/classpath/tools/jar/Indexer.java
19714         (writeCommandLineEntries): Simplify insertion.
19715         * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19716         -m and -M.
19717
19718 2006-05-14  Tom Tromey  <tromey@redhat.com>
19719
19720         PR classpath/27514:
19721         * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed.  Now
19722         constant.
19723         (JAR_INDEX_VERSION_KEY): Likewise.
19724         (IndexListParser): Updated.
19725         (getVersionInfo): Likewise.
19726         * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19727         * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19728         OptionException.
19729         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19730         -i.
19731         (ModeOption): New constructor.
19732         (parsed): Updated.  Use setArchiveFile.
19733         (setArchiveFile): New method.
19734         (run): Handle no-argument case.
19735         (main): Emit --help message on option error.
19736         * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19737         (createManifest): New method.
19738         (run): Updated.  Throws OptionException.  Correctly copy zip entry.
19739         * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19740         method.
19741         (writeManifest): Removed.
19742         (outputStream): Now a JarOutputStream.
19743         (writeCommandLineEntries): Changed parameters.  Updated callers.
19744         (run): Throws OptionException.
19745         * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19746         * java/util/jar/Manifest.java (read): Typo fix.
19747
19748 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
19749
19750         * javax/swing/JMenuItem.java
19751         (paramString): Fixed class name in API doc comment.
19752
19753 2006-05-14  Tom Tromey  <tromey@redhat.com>
19754
19755         * native/plugin/.cvsignore: Updated.
19756
19757 2006-05-14  Mark Wielaard  <mark@klomp.org>
19758
19759         * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19760         comments.
19761
19762 2006-05-14  Chris Burdess  <dog@gnu.org>
19763
19764         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19765         nodes to be preserved during cloneNode.
19766
19767 2006-05-14  Mark Wielaard  <mark@klomp.org>
19768
19769         PR 27459
19770         * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19771         inherited timeout on socket.
19772
19773 2006-05-14  Lillian Angel  <langel@redhat.com>
19774
19775         * java/util/SimpleTimeZone.java: Reverted patch.
19776         (SimpleTimeZone): Throw exception if startMonth ==
19777         endMonth.
19778         (SimpleTimeZone): Likewise.
19779         (checkRule): Rewritten to properly check all values (more
19780         efficently).
19781         This code is now more stable, at least less buggy than before.
19782         Fixed API documentation.
19783         (setStartRule): Moved checkRule call to end.
19784         (setStartRule): Likewise.
19785         (setEndRule): Likewise.
19786         (setEndRule): Likewise.
19787
19788 2006-05-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19789
19790         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19791         Initialise to -1.
19792
19793 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
19794
19795         PR classpath/27595
19796         * javax/swing/text/AbstractDocument.java:
19797         (insertString): Flipped if-expression and its blocks.
19798         (remove): Dito.
19799         (replace): Flipped if-expression and its blocks, added note, invoke
19800         insertString and remove instead of insertStringImpl and removeImpl.
19801
19802 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
19803
19804         * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19805
19806 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
19807
19808         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19809         Added help text.
19810         * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19811         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: 
19812         Increased visibility of fields used by parser anonymous classes.
19813         (processArgs): Removed.
19814         (getParser): New method.
19815         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19816         (setup): Mark (Eclipse) strings that need not be externalised.
19817         (start): Likewise.
19818         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19819         * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19820         command line option parsing.
19821         * tools/gnu/classpath/tools/keytool/ListCmd.java: 
19822         Increased visibility of fields used by parser anonymous classes.
19823         (processArgs): Removed.
19824         (setup): set 'all' local field.
19825         (getParser): New method.
19826         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: 
19827         Increased visibility of fields used by parser anonymous classes.
19828         (processArgs): Removed.
19829         (getParser): New method.
19830         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19831         (setNewKeyPassword): Fixed comments.
19832         * tools/gnu/classpath/tools/keytool/ImportCmd.java: 
19833         Increased visibility of fields used by parser anonymous classes.
19834         (processArgs): Removed.
19835         (getParser): New method.
19836         (findTrustInCACerts): Mark (Eclipse) strings that need not be
19837         externalised.
19838         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: 
19839         Increased visibility of fields used by parser anonymous classes.
19840         (processArgs): Removed.
19841         (setup): Mark (Eclipse) strings that need not be externalised.
19842         (getParser): New method.
19843         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19844         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: 
19845         Increased visibility of fields used by parser anonymous classes.
19846         (processArgs): Removed.
19847         (getParser): New method.
19848         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19849         (ATTRIBUTES_OPT): New constant.
19850         * tools/gnu/classpath/tools/keytool/ExportCmd.java: 
19851         Increased visibility of fields used by parser anonymous classes.
19852         (processArgs): Removed.
19853         (setup): Mark (Eclipse) strings that need not be externalised.
19854         (start): Likewise.
19855         Reduced logging level.
19856         (getParser): New method.
19857         * tools/gnu/classpath/tools/keytool/Command.java
19858         (processArgs): Made it concrete.
19859         (getParser): New abstract method.
19860         * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19861
19862 2006-05-13  Casey Marshall  <csm@gnu.org>
19863
19864         Patch by Michael Barker <mike@middlesoft.co.uk>.
19865         * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19866         * gnu/java/nio/SelectorImpl.java (register): Added condition for
19867         gnu.java.nio.SocketChannelSelectionKeyImpl.
19868         * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19869         * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19870         VMChannel.
19871         * include/gnu_java_nio_VMChannel.h: new file.
19872         * java/nio/FileChannel.java (read,write): changed to call abstract
19873         method.
19874         * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19875         * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19876         `gnu_java_nio_VMChannel.c.'
19877         * vm/reference/gnu/java/nio/VMChannel.java: new file.
19878
19879 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
19880
19881         * javax/swing/text/AbstractDocument.java:
19882         (insertString): Flipped if-expression and its blocks.
19883         (remove): Dito.
19884         (replace): Flipped if-expression and its blocks, added note, invoke
19885         insertString and remove instead of insertStringImpl and removeImpl.
19886
19887 2006-05-13  Tom Tromey  <tromey@redhat.com>
19888
19889         * java/nio/ByteBufferImpl.java (compact): Always set position.
19890
19891 2006-05-13  Sven de Marothy  <sven@physto.se>
19892
19893         * gnu/java/awt/print/JavaPrinterGraphics.java
19894         (spoolPostScript): Use a faster writer.
19895
19896 2006-05-13  Sven de Marothy  <sven@physto.se>
19897
19898         * gnu/java/awt/print/JavaPrinterGraphics.java
19899         (colorTripleHex): Reimplement better.
19900
19901 2006-05-13  Sven de Marothy  <sven@physto.se>
19902
19903         * javax/swing/text/html/HTMLDocument.java
19904         (CharacterAction.start): Translate tag to StyleAttribute.
19905         (pushCharacterStyle): Push copy of attributes onto stack.
19906         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19907         New file
19908
19909 2006-05-13  Sven de Marothy  <sven@physto.se>
19910
19911         * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19912         * java/awt/print/PrinterJob.java 
19913         (getPrinterJob): Return a JavaPrinterJob
19914         (setPrintService,getPrintService): Implement.
19915         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19916         (getPixels): Gtk_threads_enter required.
19917         * gnu/java/awt/print/JavaPrinterGraphics.java
19918         * gnu/java/awt/print/JavaPrinterJob.java
19919         * gnu/java/awt/print/SpooledDocumet.java: 
19920         New files.
19921         
19922 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19923
19924         * javax/swing/text/TextAction.java:
19925         (HorizontalMovementAction): New inner class.
19926         (VerticalMovementAction): New inner class.
19927         * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19928         new inner classes to array 'defaultActions'.
19929         (SelectionBeginWordAction): New inner class.
19930         (SelectionEndWordAction): New inner class.
19931         (BeginWordAction): New inner class.
19932         (EndWordAction): New inner class.
19933         (PreviousWordAction.actionPerformed): Rewritten.
19934         (SelectLineAction): New inner class.
19935         (SelectWordAction): New inner class.
19936         (SelectionDownAction): Rewritten.
19937         (SelectionUpAction): Rewritten.
19938         (DownAction): Rewritten.
19939         (UpAction): Rewritten.
19940         (SelectionForwardAction): Rewritten.
19941         (SelectionBackwardAction): Rewritten.
19942         (ForwardAction): Rewritten.
19943         (BackwardAction): Rewritten.
19944         (BeginAction): New inner class.
19945         (EndAction): New inner class.
19946         (DefaultKeyTypedAction.actionPerformed): Use int variant of
19947         Character.isISOControl.
19948
19949 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19950
19951         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19952         (WordFilter.getNextVisualPositionFrom): Added statement to check
19953         for variable pt not being null.
19954
19955 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19956
19957         * javax/swing/text/Utilities.java:
19958         (getNextWord): Fixed grammar in exception message.
19959         (getPreviousWord): Changed expression in first if-clause, added sub-
19960         expression to if-clause in while-loop.
19961         (getWordStart): Changed expression in if-clause.
19962         getNextVisualPositionFrom): Added package-private helper method.
19963
19964 2006-05-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19965  
19966         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19967         Initialise to -1.
19968
19969 2006-05-13  Raif S. Naffah  <raif@swiftdsl.com.au>
19970
19971         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
19972         Added help text.
19973         * tools/Makefile.am (JARSIGNER_HELPS): Removed.
19974         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
19975         * tools/gnu/classpath/tools/jarsigner/Main.java:
19976         Increased visibility of fields used by parser anonymous classes.
19977         (HELP_PATH): Removed.
19978         (cmdLineParser): New field.
19979         (main): Handle JVM exit status.
19980         Handle command line parsing exceptions.
19981         (processArgs): Use getopt command line parser.
19982         (getParser): New method.
19983         (setupCommonParams): Removed checks now handled by processArgs().
19984         (setupSigningParams): Likewise.
19985         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
19986         Reuse an existing message-bundle constant.
19987
19988 2006-05-12  Tom Tromey  <tromey@redhat.com>
19989
19990         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
19991         Explicitly specify class for synchronization.
19992
19993 2006-05-12  Tom Tromey  <tromey@redhat.com>
19994
19995         * java/util/logging/Logger.java (resetLogger): Fixed typo.
19996
19997 2006-05-12  Sven de Marothy  <sven@physto.se>
19998
19999         * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
20000         * gnu/java/net/protocol/http/HTTPURLConnection.java
20001         (setConnectTimeout): New method.
20002         (getConnection): Add timeout parameter.
20003         *  java/net/URLConnection.java  
20004         (getConnectTimeout, setConnectTimeout): Implement.
20005         * native/target/generic/target_generic_network.h: 
20006         Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
20007         
20008 2006-05-12  Sven de Marothy  <sven@physto.se>
20009   
20010         * gnu/javax/print/CupsServer.java
20011         (CupsServer): Make the Cups host configurable.
20012         * java/lang/System.java: Document the system property.
20013         
20014 2006-05-12  Roman Kennke <kennke@aicas.com>
20015   
20016         * javax/swing/border/TitledBorder.java
20017         (paintBorder): Rewritten for simplicity and correctness.
20018         (layoutBorderWithTitle): New helper method.
20019         (paintBorderWithTitle): New helper method.
20020         (getBorderInsets): Rewritten.
20021         (getMinimumSize): Rewritten.
20022         (getRealJustification): Removed.
20023         (getMeasurements): Removed.
20024         (Measurements): Removed.
20025   
20026 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
20027   
20028         * javax/swing/plaf/basic/BasicPanelUI.java
20029         (sharedUI): New field,
20030         (createUI): Return a shared instance rather than a new instance,
20031         (installUI): Reformatted and added API docs,
20032         (installDefaults): Install border if one is defined,
20033         (uninstallDefaults): Uninstall border.
20034
20035 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
20036
20037         * javax/swing/JProgressBar.java: Updated API docs all over.
20038
20039 2006-05-11  Lillian Angel  <langel@redhat.com>
20040
20041         * java/awt/ContainerOrderFocusTraversalPolicy.java
20042         (getComponentAfter): Should not throw exception if
20043         the ancestor is null. Added a check for this.
20044         Also, changed to use new helper function, we should
20045         iterate through all the components at least once.
20046         (getNextAvailableComponent): New helper function.
20047         (getPrevAvailableComponent): New helper function.
20048         (getComponentBefore): Should not throw exception if
20049         the ancestor is null. Added a check for this.
20050         Also, changed to use new helper function, we should
20051         iterate through all the components at least once.
20052         (getFirstComponent): Changed check to manually check
20053         fields. Calling accept() casts the object to a Component,
20054         so different values may be returned.
20055         (getLastComponent): Likewise.
20056
20057 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20058
20059         * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
20060         * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
20061         * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
20062         * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
20063         * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
20064         * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
20065         * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
20066         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
20067         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
20068         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
20069         * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
20070         * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
20071         * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
20072         * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
20073         * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
20074         * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
20075         * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
20076         * javax/swing/plaf/metal/MetalUtils.java: Likewise.
20077
20078 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20079
20080         * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
20081         package-private, added field 'active'.
20082         (PropertyChangeHandler.propertyChange): Added variable 'name', added
20083         cases to update field 'active'.
20084         (mouseDragged): Added documentation, added if-clause to update
20085         selection or caret position.
20086         (mouseClicked): Added early return when text component is disabled.
20087         (focusGained): Moved statements into an if-clause.
20088         (focusLost): Added subexpression to if-clause.
20089         (install): Preset value of 'active'.
20090         (paint): Added subexpression to if-clause.
20091         (isVisible): Extended return expression.
20092         * javax/swing/text/JTextComponent.java:
20093         (copy): Copy only if component is enabled.
20094         (cut): Cut only if component is enabled and editable.
20095         (paste): Dito.
20096
20097 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20098
20099         * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
20100         * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
20101         * javax/swing/plaf/multi/MultiListUI.java: Likewise,
20102         * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
20103         * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
20104         * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
20105         * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.      
20106
20107 2006-05-11  Roman Kennke <kennke@aicas.com>
20108
20109         * gnu/java/awt/font/GNUGlyphVector.java
20110         (GNUGlyphVector): Don't apply the font renderer context's
20111         transform.
20112   
20113 2006-05-11  Mark Wielaard  <mark@klomp.org>
20114
20115         * java/util/logging/Logger.java (global): Initialize inside static
20116         PrivilegedAction.
20117
20118 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20119   
20120         * javax/swing/JFrame.java
20121         (EXIT_ON_CLOSE): Added note to API docs,
20122         (close_action): Renamed closeAction,
20123         (JFrame()): Change title to "",
20124         (JFrame(String)): Added API docs,
20125         (getAccessibleContext): Likewise,
20126         (getDefaultCloseOperation): Updated for renamed field, added API docs,
20127         (processWindowEvent): Updated for renamed field,
20128         (setDefaultCloseOperation): Likewise, and updated API docs.
20129   
20130 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20131   
20132         * javax/swing/JFrame.java
20133         (paramString): Reimplemented,
20134         * javax/swing/SwingUtilities.java
20135         (convertWindowConstantToString): New method.
20136   
20137 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20138   
20139         * javax/swing/WindowConstants.java: Updated API docs.
20140   
20141 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20142   
20143         * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
20144         (createUI): Removed 'final' qualifier for parameter,
20145         (paint): Reformatted.
20146   
20147 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20148   
20149         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
20150         (createUI): Removed 'final' qualifier on method argument.
20151   
20152 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20153   
20154         * javax/swing/plaf/basic/BasicCheckBoxUI.java
20155         (getDefaultIcon): Removed this redundant method.
20156
20157 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20158
20159         * javax/swing/plaf/basic/BasicRadioButtonUI.java
20160         (paint): Pass component size to paintFocus().
20161
20162 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20163
20164         * java/awt/Component.java:
20165         (dispatchEventImpl): Added comment.
20166   
20167   2006-05-11  Mark Wielaard  <mark@klomp.org>
20168   
20169         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
20170         Option constructor null argument to String.
20171   
20172 2006-05-11  Mark Wielaard  <mark@klomp.org>
20173
20174         * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
20175         Fully qualify PathIterator constants
20176
20177 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20178
20179         * java/awt/Component.java:
20180         (dispatchEventImpl): Added subexpression to if-clause.  
20181
20182 2006-05-11  Mark Wielaard  <mark@klomp.org>
20183
20184         * java/util/Collections.java (UnmodifiableMapEntry): Qualify
20185         Map.Entry.
20186
20187 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20188
20189         * javax/swing/TransferHandler.java: Marked stub methods.
20190
20191 2006-05-10  Roman Kennke <kennke@aicas.com>
20192
20193         PR classpath/27481
20194         * javax/swing/plaf/basic/BasicInternalFrameUI.java
20195         (installDefaults): Set background of content pane to null, if
20196         no custom color has been installed by the application yet.
20197
20198 2006-05-10  Roman Kennke <kennke@aicas.com>
20199
20200         PR classpath/27481
20201         * javax/swing/JRootPane.java
20202         (createContentPane): Don't set background to null.
20203
20204 2006-05-10  Sven de Marothy <sven@physto.se>
20205
20206         * java/awt/print/PrinterJob.java:
20207         (lookupPrintServices): Un-comment-out.
20208
20209 2006-05-11  Raif S. Naffah  <raif@swiftdsl.com.au>
20210
20211         * tools/gnu/classpath/tools/getopt/OptionGroup.java
20212         (FILLER): New constant.
20213         (formatText(PrintStream,String,int)): New method.
20214         (formatText(PrintStream,String,int,Locale)): Likewise.
20215         (printHelp): Use formatText method.
20216         * tools/gnu/classpath/tools/getopt/Parser.java
20217         (MAX_LINE_LENGTH): New constant.
20218         (formatText(PrintStream,String)): New method.
20219         (formatText(PrintStream,String,Locale)): Likewise.
20220         (printHelp): New method.
20221         (printHelp(PrintStream)): Increased visibility to protected.
20222         Use formatText method.
20223
20224 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20225
20226         * javax/swing/plaf/metal/MetalRadioButtonUI.java
20227         (installDefaults): Use getPropertyPrefix() to allow subclasses to 
20228         modify the lookup key.
20229
20230 2006-05-10  Lillian Angel  <langel@redhat.com>
20231
20232         * java/util/SimpleTimeZone.java: Reverted patch.
20233         (SimpleTimeZone): Throw exception if startMonth == 
20234         endMonth.
20235         (SimpleTimeZone): Likewise.
20236         (checkRule): Rewritten to properly check all values (more 
20237         efficently).
20238         This code is now more stable, at least less buggy than before. 
20239         Fixed API documentation.
20240         (setStartRule): Moved checkRule call to end.
20241         (setStartRule): Likewise.
20242         (setEndRule): Likewise.
20243         (setEndRule): Likewise.
20244
20245 2006-05-10  Roman Kennke <kennke@aicas.com>
20246
20247         * gnu/java/awt/peer/swing/SwingComponent.java:
20248         Some API comment fixlets.
20249         * gnu/java/awt/peer/swing/SwingComponentPeer.java:
20250         (createImage): Create a BufferedImage, not a Toolkit image.
20251         (paint): Removed bogus API comment.
20252         (prepareImage): Added checks to avoid NPE.
20253         * gnu/java/awt/peer/swing/SwingContainerPeer.java:
20254         (getInsets): Added check to avoid NPE.
20255         (handleMouseEvent): Added check to avoid NPE.
20256         * gnu/java/awt/peer/swing/SwingFramePeer.java:
20257         Some API comment fixlets.
20258         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
20259         Some API comment fixlets.
20260         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
20261         Changed start_pos name to startPos.
20262         * gnu/java/awt/peer/swing/SwingWindowPeer.java:
20263         Some API comment fixlets.
20264
20265 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20266
20267         * java/awt/BasicStroke.java
20268         (equals): Fixed typo in HTML tag for API doc comment.
20269
20270 2006-05-10  Gary Benson  <gbenson@redhat.com>
20271
20272         * java/lang/ThreadGroup.java (parent): Make package-private.
20273         * java/lang/SecurityManager.java (checkAccess(Thread)):
20274         Reference ThreadGroup.parent directly to avoid extra checks.
20275         * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
20276         Likewise.
20277
20278 2006-05-10  Roman Kennke <kennke@aicas.com>
20279
20280         Reported by Ingo Proetel (proetel@aicas.com)
20281         * java/awt/EventDispatchThread.java
20282         (DEFAULT_PRIORITY): New constant field.
20283         (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
20284         system property for adjusting the priority of the event
20285         dispatch thread.
20286
20287 2006-05-10  Roman Kennke <kennke@aicas.com>
20288
20289         Reported by Ingo Proetel (proetel@aicas.com)
20290         * java/awt/image/ColorModel.java
20291         (S_RGB_MODEL): New constant field.
20292         (getRGBDefault): Return constant SRGBColorModel.
20293         (SRGBColorModel): Specialized color model for sRGB.
20294
20295 2006-05-10  Roman Kennke <kennke@aicas.com>
20296
20297         * java/awt/ColorPaintContext.java
20298         (getRaster): Create Raster with (0,0) as source location.
20299
20300 2006-05-10  Roman Kennke <kennke@aicas.com>
20301
20302         * gnu/java/awt/java2d/AlphaCompositeContext.java
20303         (compose): Don't premultiply alpha to alpha itself.
20304
20305 2006-05-10  Roman Kennke <kennke@aicas.com>
20306
20307         * gnu/java/awt/java2d/AbstractGraphics2D.java
20308         (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
20309         (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
20310         New method.
20311         (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
20312         (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
20313         (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
20314         New method.
20315         (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
20316         (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
20317         New method.
20318         (scale): Inverse transform by doing 1/scale instead of -scale.
20319         (drawImage(Image,int,int,ImageObserver)): Implemented.
20320         (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
20321         (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
20322         (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
20323         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
20324         Implemented.
20325         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
20326         Implemented.
20327         (fillScanline): Work on translated destination raster for
20328         correct compositin.
20329         (init): Fetch the clip after the destination raster is initialized.
20330         * gnu/java/awt/java2d/ImagePaint.java: New file.
20331         * gnu/java/awt/java2d/RasterGraphics
20332         (drawImage): Removed.
20333
20334 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20335
20336         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20337         Clarify option descriptions.
20338         * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
20339         uppercase for metasyntactic variables.
20340
20341 2006-05-09  Robert Schuster  <robertschuster@fsfe.org>
20342
20343         PR classpath/24216
20344         * javax/swing/text/AbstractDocument.java:
20345         (insertString): Added more documentation, added argument check.
20346         (remove): Added more documentation.
20347         (removeImpl): Added argument check.
20348         (replace): Added more documentation, added argument check.
20349
20350 2006-05-09  Tom Tromey  <tromey@redhat.com>
20351
20352         * tools/.cvsignore: Added appletviewer.
20353
20354 2006-05-09  Tom Tromey  <tromey@redhat.com>
20355
20356         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
20357         empty groups.
20358
20359 2006-05-09  Tom Tromey  <tromey@redhat.com>
20360
20361         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): 
20362         Special case for '-J'.  Use space instead of '='.
20363         * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20364         comment.
20365
20366 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20367
20368         * configure.ac: Add --disable-plugin and --with-vm options.  Check
20369         for plugin support headers and libraries.
20370         * native/Makefile.am: Recurse into plugin directory.
20371         * native/plugin/.cvsignore: New file.
20372         * native/plugin/Makefile.am: New file.
20373         * native/plugin/gcjwebplugin.cc: New file.
20374         * tools/Makefile.am: Install appletviewer wrapper script.
20375         * tools/appletviewer.in: Replace VM location heuristic with
20376         VM_BINARY configure substitution.
20377
20378 2006-05-09  Tom Tromey  <tromey@redhat.com>
20379
20380         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20381         an initial pass to look for short options.  Added 'longOnly' option.
20382         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20383         option.
20384         * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20385         options into final group.  Added -J.
20386         (add): Insert new groups before final group.
20387         (printHelp): Updated.
20388
20389 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20390
20391         PR 27518
20392         * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20393         tools/gnu/classpath/tools/rmi/RMIC.java (main):
20394         Expect -classpath option.
20395         * tools/gnu/classpath/tools/rmi/RMIC.txt,
20396         tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20397         -classpath option.
20398         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20399         (classLoader): New field. (loadClass, setClassPath):
20400         New methods.
20401
20402 2006-05-09  Roman Kennke <kennke@aicas.com>
20403
20404         * gnu/java/awt/java2d/RasterGraphics.java
20405         (RasterGraphics): Call init() and super().
20406         (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20407         this.
20408
20409 2006-05-09  Gary Benson  <gbenson@redhat.com>
20410
20411         * java/lang/Thread.java (Thread): Always perform threadgroup
20412         access checks on thread creation.
20413
20414 2006-05-09  Chris Burdess  <dog@gnu.org>
20415
20416         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20417           be preserved during cloneNode.
20418
20419 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20420
20421         PR 27517
20422         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile): 
20423         Do not demand all thrown exceptions to be an instance of RemoteException.
20424
20425 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20426
20427         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20428         Use hash-style comments.
20429         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20430         Likewise.
20431
20432 2006-05-09  David Gilbert  <david.gilbert@object-refinery.com>
20433
20434         * javax/swing/JLabel.java
20435         (paramString): Added more attribute details,
20436         * javax/swing/SwingUtilities.java
20437         (convertHorizontalAlignmentCodeToString): New method,
20438         (convertVerticalAlignmentCodeToString): New method.
20439
20440 2006-05-08  Tom Tromey  <tromey@redhat.com>
20441
20442         * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20443         * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20444         * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20445         ZipInputStream.
20446         (run): Updated.
20447         * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20448         for verbose.
20449         (run): Use ZipInputStream.
20450         (initSet): New method.
20451         (shouldExtract): Likewise.
20452         (run): Use new methods.
20453         * tools/gnu/classpath/tools/jar/Creator.java
20454         (writeCommandLineEntries): New overload.
20455         (writeFile): Use System.err for verbose.
20456         (writeManifest): New method.
20457         (writtenItems): New field.
20458         (writeFile): Update it.
20459         (writeCommandLineEntries): Return void.  Call writeManifest.
20460         (addEntries): Don't add extra '/'.
20461         * NEWS: Mention jar.
20462
20463 2006-05-08  Lillian Angel  <langel@redhat.com>
20464
20465         * gnu/java/net/IndexListParser.java: New class.
20466         * java/net/URLClassLoader.java
20467         (JarURLLoader): Fixed code to use new class.
20468
20469 2006-05-08  Roman Kennke <kennke@aicas.com>
20470
20471         * javax/swing/JComboBox.java
20472         (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20473         (AccessibleJComboBox.getAccessibleChild): Implemented.
20474         (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20475         (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20476         (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20477         (AccessibleJComboBox.getAccessibleAction): Implemented.
20478         (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20479         (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20480         (AccessibleJComboBox.doAccessibleAction): Implemented.
20481         (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20482         (AccessibleJComboBox.addAccessibleSelection): Implemented.
20483         (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20484         (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20485         (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20486
20487 2006-05-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
20488
20489         * configure.ac: Add support for building appletviewer.
20490         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20491         New file.
20492         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20493         New file.
20494         * tools/appletviewer.c: New file.
20495         * tools/appletviewer.in: New file.
20496         * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20497         New file.
20498         * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20499         New file.
20500         * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20501         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20502         file.
20503         * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20504         New file.
20505         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20506         New file.
20507         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20508         file.
20509         * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20510         file.
20511         * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20512         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20513         New file.
20514         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20515         New file.
20516         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20517         New file.
20518         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20519         New file.
20520         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20521         New file.
20522         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20523         New file.
20524         * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20525         file.
20526
20527 2006-05-08  Tom Tromey  <tromey@redhat.com>
20528
20529         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20530         * tools/gnu/classpath/tools/jar/Action.java: New file.
20531         * tools/gnu/classpath/tools/jar/Creator.java: New file.
20532         * tools/gnu/classpath/tools/jar/Entry.java: New file.
20533         * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20534         * tools/gnu/classpath/tools/jar/Lister.java: New file.
20535         * tools/gnu/classpath/tools/jar/Main.java: New file.
20536         * tools/gnu/classpath/tools/jar/Updater.java: New file.
20537         * tools/gnu/classpath/tools/getopt/Option.java: New file.
20538         * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20539         * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20540         * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20541         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20542         file.
20543
20544 2006-05-08  Lillian Angel  <langel@redhat.com>
20545
20546         * java/net/URLClassLoader.java
20547         (JarURLLoader): Added check to make sure the INDEX.LIST file
20548         exists.
20549
20550 2006-05-08  Roman Kennke <kennke@aicas.com>
20551
20552         * gnu/java/awt/java2d/AbstractGraphics2D.java
20553         (fill): Removed commented out code.
20554         (fillShape): Also determine the outline of the clip and feed
20555         it into the rendering method. Use new helper method for
20556         converting the shapes into lists of segments.
20557         (getUserBounds): Removed obsolete method.
20558         (rawFillShape): Respect the clip when rendering shapes.
20559         (fillShapeAntialias): Adjusted signature for new clipped rendering.
20560         However, the implementation can't clip still.
20561         (getSegments): New helper method for converting a shape into
20562         a list of segments.
20563         (clipShape): Removed obsolete method.
20564         * gnu/java/awt/java2d/PolyEdge.java
20565         (isClip): New field.
20566         (PolyEdge): Added isField argument to constructor.
20567
20568 2006-05-08  Roman Kennke <kennke@aicas.com>
20569
20570         PR 27481
20571         * javax/swing/JRootPane.java
20572         (createContentPane): Set background of the content pane to null,
20573         so that the content pane inherits its background from the
20574         root pane.
20575
20576 2006-05-08  Roman Kennke <kennke@aicas.com>
20577
20578         PR 27480
20579         * javax/swing/ButtonGroup.java
20580         (add): Check if new button is selected and if so, deselect other
20581         buttons in the group.
20582
20583 2006-05-08  Lillian Angel  <langel@redhat.com>
20584
20585         PR 27444
20586         * java/net/URLClassLoader.java
20587         (JarURLLoader): Added code to go through 
20588         META-INF/INDEX.LIST file to load all jars listed.
20589
20590 2006-05-08  Roman Kennke <kennke@aicas.com>
20591
20592         PR 27461
20593         * javax/swing/ImageIcon.java
20594         (ImageIcon(URL)): Set description to URL.toString().
20595
20596 2006-05-08  Roman Kennke <kennke@aicas.com>
20597
20598         PR 27482
20599         * javax/swing/JTable.java
20600         (IconCellRenderer.getTableCellRendererComponent): Set icon to
20601         null when cell value is null.
20602
20603 2006-05-08  Roman Kennke <kennke@aicas.com>
20604
20605         PR 27484
20606         * javax/swing/DefaultDesktopManager.java
20607         (closeFrame): Don't perform default close action on the frame
20608         to prevent endless loop.
20609
20610 2006-05-08  Roman Kennke <kennke@aicas.com>
20611
20612         PR 27485
20613         * javax/swing/table/DefaultTableModel.java
20614         (addExtraRows): New helper method.
20615         (checkSize): New helper method.
20616         (setRowCount): Use addExtraRows helper method.
20617         (addColumn): Use addExtraRows helper method.
20618         (getColumnName): Check and adjust size if necessary using
20619         checkSize().
20620
20621 2006-05-08  Roman Kennke <kennke@aicas.com>
20622
20623         PR 27486
20624         * javax/swing/JTable.java
20625         (setValueAt): Allow setting values even when table is editable.
20626
20627 2006-05-08  Tom Tromey  <tromey@redhat.com>
20628
20629         * java/text/SimpleDateFormat.java (compileFormat): Added missing
20630         space to error message.
20631
20632 2006-05-08  David Gilbert  <david.gilbert@object-refinery.com>
20633
20634         * javax/swing/AbstractButton.java: Fixed comment typos.
20635
20636 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20637
20638         PR classpath/27435:
20639         * java/util/zip/DeflaterEngine.java:
20640         (deflateFast(boolean,boolean)): Empty buffer when full.
20641         
20642 2006-05-07  Sven de Marothy <sven@physto.se>
20643
20644         Fixed PR27343
20645         * java/util/Calendar.java (setTimeZone): Force recalculation.
20646         
20647 2006-05-07  Sven de Marothy <sven@physto.se>
20648
20649         Fixed PR27463
20650         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20651         (propertyChange): Handle FRAME_ICON_PROPERTY property.
20652         
20653 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20654
20655         PR classpath/27311:
20656         * gnu/java/text/StringFormatBuffer.java:
20657         (toString()): Implemented so we can see the contents.
20658         * java/text/DecimalFormat.java:
20659         (formatInternal(double,StringFormatBuffer,FieldPosition)):
20660         Don't calculate the exponent when the number is 0 or less.
20661         Also, use log10 instead of log now it's available.
20662         
20663 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
20664
20665         * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20666         Use instance's field creationDate not the constructor's argument.
20667         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20668         Removed unused imports.
20669         Sorted imports.
20670         (log): New field.
20671         (decrypt): Added trace/debug/timing statements.
20672         (encrypt): Likewise.
20673         Use PRNG instead of instantiating every time a new SecureRandom.
20674         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20675         Removed unused imports.
20676         Sorted imports.
20677         (log): New field.
20678         (verify): Added trace/debug/timing statements.
20679         (authenticate): Likewise.
20680         Use PRNG instead of instantiating every time a new SecureRandom.
20681
20682 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
20683
20684         * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20685         (THREAD_FORMAT): Likewise.
20686         (dateFormat): Added field.
20687         (threadFormat): Added field.
20688         (format): Initialize instance fields if null.
20689         Use StringBuilder instead of StringBuffer.
20690
20691 2006-05-07  Roman Kennke <kennke@aicas.com>
20692
20693         * gnu/java/awt/java2d/RasterGraphics.java: New file.
20694
20695 2006-05-07  Roman Kennke <kennke@aicas.com>
20696
20697         * gnu/java/awt/java2d/AbstractGraphics2D.java
20698         (fillShape): Determine user space bounds of shape and feed them
20699         into the actual rendering pipeline.
20700         (rawSetPixel): Made non-abstract for now. Maybe remove later.
20701         (rawSetForeground): Likewise.
20702         (getDestinationColorModel): Removed.
20703         (getDeviceBounds): Made non-abstract. Provide useful default impl.
20704         (rawFillShape): Handle paint context.
20705         (fillScanline): Implement painting and compositing.
20706         (fillShapeAntialias): Handle paint context.
20707         (fillScanlineAA): Implemented preliminary antialiasing based on
20708         composite context. Not working yet.
20709         (fillScanlineAlpha): Removed.
20710         (init): Fetch destination raster.
20711         (getDestinationRaster): New abstract method.
20712         (updateRaster): New backend method.
20713
20714 2006-05-07  Roman Kennke <kennke@aicas.com>
20715
20716         * gnu/java/awt/java2d/AlphaCompositeContext.java
20717         (compose): Fixed loops, conditions and logic to make compositing
20718         work correctly.
20719
20720 2006-05-07  Roman Kennke <kennke@aicas.com>
20721
20722         * java/awt/ColorPaintContext.java
20723         (ColorPaintContext): Fixed filling of the raster.
20724
20725 2006-05-07  Sven de Marothy <sven@physto.se>
20726
20727         Fixed PR27455
20728         * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20729         * java/awt/Component.java (processMouseEvent): 
20730         Do lightweight cursor handling.
20731         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
20732         (endResizing,mouseMoved): Save and reset original cursor, not the 
20733         default one.
20734
20735 2006-05-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20736
20737         PR 27298
20738         * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20739         getNodeDimensions): Mind the size of the node icon. (getRowX):
20740         use totalChildIndent. (TreeExpansionHandler): Set maximal height
20741         to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20742         Return nullIcon if there is no other icon. (getNodeIcon): New method.
20743         (installDefaults): assign totalChildIndent. (installUI): Call
20744         updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20745         (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20746         the tree.
20747
20748 2006-05-06  Sven de Marothy <sven@physto.se>
20749
20750         Fixed PR27454
20751         * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled): 
20752         Check for zero image sizes.
20753         
20754 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
20755
20756         Fixed PR27362
20757         * java/util/Calendar.java (clear(int)): Forced internal state
20758         completion before performing a field clearing.
20759
20760 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
20761
20762         * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20763         UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20764         (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20765         UnmodifiableMap.UnmodifiableEntrySet.toArray,
20766         UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20767         UnmodifiableMapEntry as part of their return value. 
20768
20769 2006-05-06  Raif S. Naffah  <raif@swiftdsl.com.au>
20770
20771         * tools/keytool.sh.in: Removed (renamed to keytool.in).
20772         * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20773         * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20774         Generate jarsigner and keytool scripts.
20775         * tools/keytool.in: New file (renamed from keytool.sh.in).
20776         * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20777         * tools/.cvsignore: Replaced *.sh with *
20778         * configure.ac: Replaced tools/*.sh with tools/*.
20779
20780 2006-05-05  Roman Kennke <kennke@aicas.com>
20781
20782         * java/awt/image/ColorModel.java
20783         (getNormalizedComponents): Implemented.
20784
20785 2006-05-05  Roman Kennke <kennke@aicas.com>
20786
20787         * javax/swing/plaf/basic/BasicRadioButtonUI.java
20788         (paint): Query the button model for it's state, not the
20789         button itself.
20790
20791 2006-05-05  Roman Kennke <kennke@aicas.com>
20792
20793         * javax/swing/JTable.java
20794         (tableChanged): Sync selection model with table model changes.
20795
20796 2006-05-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20797
20798         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20799         if there are no visible nodes to paint.
20800
20801 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20802
20803         * javax/swing/JOptionPane.java: API doc updates.
20804
20805 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20806
20807         * javax/swing/JToolBar.java
20808         (paramString): Reimplemented.
20809
20810 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20811
20812         * javax/swing/JScrollBar.java
20813         (paramString): Reimplemented.
20814
20815 2006-05-04  Tom Tromey  <tromey@redhat.com>
20816
20817         PR classpath/27375:
20818         * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20819         (readEntries): Updated.
20820         (getEntries): Likewise.
20821         (getEntry): Likewise.
20822         (getInputStream): Likewise.
20823
20824 2006-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
20825
20826         * gnu/javax/imageio/jpeg/DCT.java,
20827         gnu/javax/imageio/jpeg/HuffmanTable.java,
20828         gnu/javax/imageio/jpeg/JPEGComponent.java,
20829         gnu/javax/imageio/jpeg/JPEGDecoder.java,
20830         gnu/javax/imageio/jpeg/JPEGException.java,
20831         gnu/javax/imageio/jpeg/JPEGFrame.java,
20832         gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20833         gnu/javax/imageio/jpeg/JPEGImageReader.java,
20834         gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20835         gnu/javax/imageio/jpeg/JPEGMarker.java,
20836         gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20837         gnu/javax/imageio/jpeg/JPEGScan.java,
20838         gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20839         gnu/javax/imageio/jpeg/ZigZag.java: New files.
20840
20841 2006-05-04  Lillian Angel  <langel@redhat.com>
20842
20843         * javax/swing/JLabel.java
20844         (JLabel): Pass in an empty string for the text parameter.
20845         (JLabel): Likewise.
20846         (JLabel): Likewise.
20847
20848 2006-05-04  Roman Kennke <kennke@aicas.com>
20849
20850         * javax/swing/plaf/basic/BasicButtonListener.java
20851         (mouseEntered): Fixed conditions for changing states.
20852
20853 2006-05-04  Roman Kennke <kennke@aicas.com>
20854
20855         * javax/swing/JOptionPane.java
20856         (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20857
20858 2006-05-04  Roman Kennke <kennke@aicas.com>
20859
20860         * javax/swing/JLabel.java
20861         (AccessibleJLabel.getSelectedText): Return null instead of "".
20862         (AccessibleJLabel.getSelectionStart): Added comment why
20863         return -1 is correct here.
20864         (AccessibleJLabel.getSelectionEnd): Added comment why
20865         return -1 is correct here.
20866         (AccessibleJLabel.getCharacterAttribute): Added comment about what
20867         to do here.
20868         (AccessibleJLabel.getCharCount): Added comment about what
20869         to do here.
20870         (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20871         (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20872         (paramString): Return super.paramString() here, this provides
20873         a more meaningful output.
20874
20875 2006-05-04  Roman Kennke <kennke@aicas.com>
20876
20877         * javax/swing/JComponent.java
20878         (paint): Added null check to avoid NPE when clip == null.
20879
20880 2006-05-04  Roman Kennke <kennke@aicas.com>
20881
20882         * javax/swing/AbstractButton.java
20883         (addImpl): New method. Installs an OverlayLayout if no
20884         other layout has been installed before.
20885         (setLayout): New method. Detect if a client app installs a custom
20886         layout.
20887
20888 2006-05-04  Roman Kennke <kennke@aicas.com>
20889
20890         * javax/swing/table/DefaultTableCellRenderer.java
20891         (noFocusBorder): Fixed width of empty border to 1.
20892         (getTableCellRendererComponent): Don't change the colors for
20893         focuses cells. Fixed border for focused cells.
20894
20895 2006-05-04  Roman Kennke <kennke@aicas.com>
20896
20897         * javax/swing/JTable.java
20898         (moveToCellBeingEdited): Adjust bounding box of editing component
20899         to exactly cover the grid.
20900         * javax/swing/plaf/basic/BasicTableUI.java
20901         (paint): Paint grid to the bottom and right of the cells instead
20902         of left and top. Adjust bounding box of cells accordingly.
20903         * javax/swing/plaf/metal/MetalLookAndFeel.java
20904         (initComponentDefaults): Fixed color of JTable selection border.
20905         * javax/swing/plaf/metal/OceanTheme.java
20906         (addCustomEntriesToTable): Fixed color of JTable selection border.
20907
20908 2006-05-04  Raif S. Naffah  <raif@swiftdsl.com.au>
20909
20910         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20911         Use _alias instead of alias.
20912
20913 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20914
20915         * configure.ac:
20916         Set version to 0.92-pre.
20917         * NEWS:
20918         Add space for 0.92 entries.
20919
20920 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20921
20922         * include/Makefile.am:
20923         Added rules for gnu.java.net.local.LocalSocketImpl.h
20924         * include/java_lang_VMSystem.h:
20925         Regenerated correctly.
20926         
20927 2006-05-03  Sven de Marothy <sven@physto.se>
20928        
20929         PR 24023, 24701
20930         * java/awt/Image.java:
20931         (getScaledInstance): Default to AreaAveraging for "smooth", 
20932         don't thrown an error on illegal flag values.
20933         * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20934
20935 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
20936
20937         * javax/swing/text/FieldView.java:
20938         (adjustAllocation): Added if-block to return null when shape argument
20939         is null.
20940         * javax/swing/text/PlainView.java:
20941         (updateDamage): Added if-block to return early if a is null.
20942
20943 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
20944
20945         * javax/swing/plaf/basic/BasicTextUI.java:
20946         (changeUpdate): Added note.
20947         (removeUpdate): Dito.
20948         (insertUpdate): Dito.
20949         (damageRange): Added if-block to return early.
20950         (modelToView): Added check of getVisibleEditorRect's return value.
20951         (getVisibleEditorRect): Return null instead of empty rectangle.
20952         * javax/swing/text/DefaultCaret.java:
20953         (clearHighlight): Removed if-clause to create a highlight entry if it
20954         did not exist before.
20955         * javax/swing/text/WrappedPlainView.java:
20956         (WrappedLine.modelToView): Throw exception if allocation area is empty,
20957         removed 2nd part of if-expression.
20958         (WrappedLine.updateDamage): Added more documentation, added check
20959         whether allocation area rectangle is null.
20960
20961 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20962
20963         * javax/swing/JSplitPane.java (setDividerLocation(int)):
20964         Reset to preferred sizes if the argument is negative.
20965
20966 2006-05-03  David Gilbert  <david.gilbert@object-refinery.com>
20967
20968         * javax/swing/JList.java: Added/updated API docs.
20969
20970 2006-05-03  Lillian Angel  <langel@redhat.com>
20971
20972         * javax/swing/JComponent.java
20973         (getRoot): New private function. Gets the root appropriate
20974         for painting. If an applet exists as a parent, then it is returned.
20975         (paintDoubleBuffered): Changed to use new function.
20976         * javax/swing/RepaintManager.java
20977         (getRoot): New private function. Gets the root appropriate
20978         for painting. If an applet exists as a parent, then it is returned.
20979         (getOffscreenBuffer): Changed to use new function.
20980         * javax/swing/SwingUtilties.java
20981         (getRoot): Reverted last patch to return Window, even if 
20982         an Applet exists.
20983
20984 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
20985
20986         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
20987         a pair of one public keyring and one private keyring.
20988         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
20989         (containsCertificate): Added logging.
20990         (getCertificate): Likewise.
20991         (putCertificate): Likewsie.
20992         (load): Likewise.
20993         (store): Likewise.
20994         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
20995         (containsPrivateKey): Added logging.
20996         (getPrivateKey): Likewise.
20997         (putPrivateKey): Likewise.
20998         (containsPublicKey): Likewise.
20999         (getPublicKey): Likewise.
21000         (putPublicKey): Likewise.
21001         (containsCertPath): Likewise.
21002         (getCertPath): Likewise.
21003         (putCertPath): Likewise.
21004         (load): Likewise.
21005         (store): Likewise.
21006
21007 2006-05-03  Roman Kennke <kennke@aicas.com>
21008
21009         * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
21010         * java/awt/AlphaComposite.java
21011         (createContext): Implemented.
21012
21013 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21014
21015         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
21016         Set the current color again after drawing the raster.
21017
21018 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21019
21020         * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
21021         Do not check pos < currLineEnd if currLineStart == currLineEnd.
21022
21023 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
21024
21025         * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
21026         Assign returned value to field handler.
21027         * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
21028         Likewise.
21029
21030 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21031
21032         * javax/swing/ScrollPaneLayout.java (layoutContainer):
21033         Return without action if there is no view in the viewport.
21034         * javax/swing/text/WrappedPlainView.java 
21035         (WrappedLine.getPreferredSpan): If metrics == null, update
21036         metrics.
21037         * javax/swing/tree/DefaultTreeModel.java (constructors):
21038         Do not call setRoot, assign the root node directly.
21039
21040 2006-05-02  Lillian Angel  <langel@redhat.com>
21041
21042         * javax/swing/SwingUtilities.java
21043         (getRoot): Should return the Applet if it exists.
21044         Only return the Window if an Applet has not been
21045         encountered.
21046
21047 2006-05-02  Lillian Angel  <langel@redhat.com>
21048
21049         * gnu/javax/swing/text/html/parser/support/Parser.java
21050         (readAttributes): Reverted Audrius' last patch. There is 
21051         a slight difference in code between the NUMTOKEN and SLASH case. 
21052
21053 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
21054
21055         * javax/swing/text/JTextComponent.java:
21056         (setText): Throw InternalError from catch-block.
21057         * javax/swing/text/GapContent.java:
21058         (removed): Removed if-expression, changed '>' to '>='.
21059
21060 2006-05-02  Roman Kennke <kennke@aicas.com>
21061
21062         * gnu/java/awt/java2d/AbstractGraphics2D.java
21063         (AA_SAMPLING): New constant.
21064         (alpha): New field. Used in the antialiasing renderer.
21065         (edgeTable): New field. Used in the antialiasing renderer.
21066         (AbstractGraphics2D): Initialize rendering hints wrt
21067         anti-aliasing.
21068         (draw): Clip after stroking. Commented out clipping for now,
21069         it seems to be buggy.
21070         (fill): Commented out clipping for now, it seems to be buggy.
21071         (setComposite): Don't create composite context.
21072         (setPaint): Only change paint when parameter is not null.
21073         (translate): Call setClip() so subclasses can update their clip
21074         too.
21075         (clip): Call setClip() so subclasses can update their clip
21076         too.
21077         (drawGlyphVector): Added clipping, but left it commented out
21078         because it's buggy.
21079         (getClipBounds): Returns null when clip is null.
21080         (drawLine): Call rawDrawLine with translation applied.
21081         (filLRect): Call rawFillRect with translation applied.
21082         (fillShape): Added support for anti-aliasing.
21083         (rawSetForeground(int,int,int)): New method.
21084         (rawFillShape): A couple of painting fixes.
21085         (fillScanline): Implemented to call rawDrawLine.
21086         (fillShapeAntialias): New method. Implements an anti-aliasing
21087         shape filler.
21088         (fillScanlineAA): New method. Used for the anti-aliasing
21089         shape filler.
21090         (fillScanlineAlpha): New method. Used for the anti-aliasing
21091         shape filler.
21092         (init): Initialize clip with the device bounds.
21093         (updateOptimization): Fixed the optimization condition.
21094
21095 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
21096
21097         * javax/swing/text/GapContent.java:
21098         (GapContent): Restrict size argument by 2.
21099         (insertString): Changed expression from >= to >.
21100         (remove): Changed right side of expression to 'length - 1', changed
21101         exception message.
21102         (getChars): Throw exception if where below 0.
21103         (replace): Replaced call to setPositionsInRange() with
21104         resetMarksAtZero(), removed note.
21105
21106 2006-05-02  Roman Kennke <kennke@aicas.com>
21107
21108         PR 27326
21109         * javax/swing/MenuSelectionManager.java
21110         (setSelectedPath): Rewritten.
21111
21112 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21113
21114         * gnu/javax/swing/text/html/parser/support/Parser.java
21115         (readAttributes): Merge case NUMTOKEN: and case SLASH:
21116         sections.
21117
21118 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21119
21120         * tools/.cvsignore: Added keytool.sh.
21121         * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
21122
21123 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21124
21125         * doc/tools.texinfo: New file.
21126         * doc/Makefile.am: Generate tools documentation.
21127
21128 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21129
21130         * tools/keytool.sh.in: New file.
21131         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
21132         * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
21133         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
21134         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
21135         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
21136         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
21137         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
21138         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
21139         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
21140         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
21141         * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
21142         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
21143         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
21144         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
21145         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
21146         * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
21147         * tools/gnu/classpath/tools/keytool/package.html: Likewise.
21148         * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
21149
21150 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21151
21152         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
21153         resemble more closely man-page style text.
21154         * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
21155         Mark (Eclipse) strings that need not be externalised.
21156         (writeSF): Likewise.
21157         (writeDSA): Likewise.
21158         Use package-private Messages class to provide i18n-ready strings.
21159         (startSigning):
21160         Use package-private Messages class to provide i18n-ready strings.
21161         (updateEntry): Likewise.
21162         Mark (Eclipse) strings that need not be externalised.
21163         (finishSigning): Likewise.
21164         * tools/gnu/classpath/tools/jarsigner/Main.java:
21165         Mark (Eclipse) strings that need not be externalised.
21166         (main): Do not use constant strings as class name.
21167         Use package-private Messages class to provide i18n-ready strings.
21168         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21169         (processArgs): Do not use constant strings as class name.
21170         Mark (Eclipse) strings that need not be externalised.
21171         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21172         (start): Do not use constant strings as class name.
21173         (teardown): Likewise.
21174         Use ProviderUtil.
21175         (setupCommonParams): Do not use constant strings as class name.
21176         Use package-private Messages class to provide i18n-ready strings.
21177         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21178         (installNewProvider): Do not use constant strings as class name.
21179         Use ProviderUtil.
21180         (setupSigningParams): Do not use constant strings as class name.
21181         Use package-private Messages class to provide i18n-ready strings.
21182         Mark (Eclipse) strings that need not be externalised.
21183         (getCallbackHandler): Use CallbackUtil.
21184         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
21185         Use package-private Messages class to provide i18n-ready strings.
21186         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21187         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
21188         (verifySF): Likewise.
21189         (verifySFEntries): Do not use constant strings as class name.
21190         Use Boolean.valueOf instead of new Boolean().
21191         (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
21192         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
21193         New file.
21194         * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
21195         * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
21196
21197 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21198
21199         * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
21200         * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
21201         * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
21202
21203 2006-05-01  Tom Tromey  <tromey@redhat.com>
21204
21205         * java/nio/ByteBufferImpl.java (compact): Don't reset position
21206         in empty case.
21207         * gnu/java/nio/ChannelReader.java (read): Synchronize.
21208         (close): Synchronize.
21209         * java/nio/ShortBufferImpl.java (compact): Rewrote.
21210         * java/nio/LongBufferImpl.java (compact): Rewrote.
21211         * java/nio/IntBufferImpl.java (compact): Rewrote.
21212         * java/nio/FloatBufferImpl.java (compact): Rewrote.
21213         * java/nio/DoubleBufferImpl.java (compact): Rewrote.
21214         * java/nio/CharBufferImpl.java (compact): Rewrote.
21215         * gnu/java/nio/ChannelWriter.java: New file.
21216         * java/nio/channels/Channels.java (newWriter): Implemented.
21217
21218 2006-05-01  Lillian Angel  <langel@redhat.com>
21219
21220         * java/util/SimpleTimeZone.java
21221         (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
21222         (SimpleTimeZone): Likewise.
21223         (checkRule): Rewritten to properly check all values (more efficently). 
21224         This code is now more stable, at least less buggy than before. Fixed
21225         API documentation.
21226         (setStartRule): Moved checkRule call to end.
21227         (setStartRule): Likewise.
21228         (setEndRule): Likewise.
21229         (setEndRule): Likewise.
21230
21231 2006-05-01  Tom Tromey  <tromey@redhat.com>
21232
21233         * lib/.cvsignore: Added classes.2.
21234
21235 2006-05-01  Tom Tromey  <tromey@redhat.com>
21236
21237         * java/util/jar/JarFile.java (provider): Now package-private.
21238         * java/lang/Enum.java (compareTo): Javadoc fix.
21239         * java/lang/Boolean.java (compareTo): Javadoc fix.
21240
21241 2006-05-01  Lillian Angel  <langel@redhat.com>
21242
21243         * gnu/javax/swing/text/html/parser/support/Parser.java
21244         (readAttributes): Formatted function. Added handling for 
21245         SLASH token. The value of an attribute may start with a slash
21246         (i.e. a path). I added handling similar to to the NUMTOKEN code.
21247         We should not be skipping over these type of attributes.
21248
21249 2006-04-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21250
21251         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21252         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21253         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21254         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21255         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21256         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21257         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21258         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21259         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21260         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21261         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21262         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21263         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21264         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21265         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21266         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21267         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21268         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21269         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21270         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21271         * include/gnu_java_awt_peer_gtk_GtkImage.h,
21272         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21273         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21274         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21275         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21276         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21277         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21278         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21279         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21280         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21281         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21282         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21283         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21284         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21285         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21286         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21287         * include/gnu_java_awt_peer_qt_MainQtThread.h,
21288         * include/gnu_java_awt_peer_qt_QMatrix.h,
21289         * include/gnu_java_awt_peer_qt_QPainterPath.h,
21290         * include/gnu_java_awt_peer_qt_QPen.h,
21291         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21292         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21293         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21294         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21295         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21296         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21297         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21298         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21299         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21300         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21301         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21302         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21303         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21304         * include/gnu_java_awt_peer_qt_QtGraphics.h,
21305         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21306         * include/gnu_java_awt_peer_qt_QtImage.h,
21307         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21308         * include/gnu_java_awt_peer_qt_QtListPeer.h,
21309         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21310         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21311         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21312         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21313         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21314         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21315         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21316         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21317         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21318         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21319         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21320         * include/gnu_java_awt_peer_qt_QtToolkit.h,
21321         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21322         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21323         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21324         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21325         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21326         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21327         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21328         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21329         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21330         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21331         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21332         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21333         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21334         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21335         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21336         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21337         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21338         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21339         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21340         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21341         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21342         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21343         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21344         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21345         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21346         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21347         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21348         * include/java_lang_VMProcess.h:
21349         Regenerated.
21350         * native/jni/java-lang/java_lang_VMProcess.c:
21351         Redirect when pipe_count is 2 not 3.    
21352
21353 2006-04-30  Sascha Brawer <sascha@brawer.ch>
21354
21355         * gnu/java/awt/font/FontDelegate.java,
21356         * gnu/java/awt/font/FontFactory.java,
21357         * gnu/java/awt/font/GNUGlyphVector.java,
21358         * gnu/java/awt/font/opentype/CharGlyphMap.java,
21359         * gnu/java/awt/font/opentype/GlyphNamer.java,
21360         * gnu/java/awt/font/opentype/MacResourceFork.java,
21361         * gnu/java/awt/font/opentype/NameDecoder.java,
21362         * gnu/java/awt/font/opentype/OpenTypeFont.java,
21363         * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
21364         * gnu/java/awt/font/opentype/Scaler.java,
21365         * gnu/java/awt/font/opentype/truetype/Fixed.java,
21366         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21367         * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21368         * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21369         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21370         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21371         * gnu/java/awt/font/opentype/truetype/Zone.java,
21372         * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21373         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21374         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21375         New files. Imported font framework from:
21376         http://www.brawer.ch/software/fonts/
21377
21378 2006-04-30  Roman Kennke <kennke@aicas.com>
21379
21380         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21381         (lastTabInRun): Fix calculation of the last tab in a run. This
21382         has caused painting problems sometimes, making the
21383         last tab painted incorrectly.
21384
21385 2006-04-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21386
21387         PR 27297
21388         * javax/swing/JComponent.java (paintChildrenWithOverlap):
21389         Use for and not while to prevent the endless loop.
21390
21391 2006-04-29  David Gilbert  <david.gilbert@object-refinery.com>
21392
21393         * javax/swing/JList.java
21394         (paramString): Changed from public to protected.
21395
21396 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21397
21398         * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21399         (printHelpAndExit): Re-factored to use the above method.
21400
21401 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21402
21403         * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21404         Use -Xbootclasspath/p instead of -cp when invoking the main class.
21405         * tools/gnu/classpath/tools/jarsigner/Main.java:
21406         Changed license to GPL + Exception.
21407         (handler): New field.
21408         (getCallbackHandler): New method.
21409         (setupSigningParams): Use above method.
21410         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21411         Changed license to GPL + Exception.
21412         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21413         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21414         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21415         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21416
21417 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21418
21419         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21420         (handleConfirmation): Use print instead of println.
21421         (handleConfirmation): When case is YES_NO_OPTION, print default option
21422         if one was set.
21423         (handleLanguage): Use print instead of println.
21424
21425 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21426
21427         * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21428         (putComponent): Handle O and OU components.
21429         (getDer): Use correct (it2) iterator.
21430         (readAttributeValue): Read next character and break if end-of-stream.
21431
21432 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21433
21434         * gnu/java/security/provider/Gnu.java (run):
21435         Add "RSA" as an alias to MD5withRSA.
21436         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21437         Always encode a NULL as the value of an algorithm parameters field.
21438         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21439         (encodePrivateKey): Added trace/log statements.
21440         (decodePrivateKey): Likewise.
21441         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21442         (setup): Added trace/log statements.
21443         (generate): Likewise.
21444         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21445         (toString): New method.
21446         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21447         (str): New field.
21448         (toString): New method.
21449         * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21450         (getEncoded): Use defaultFormat.
21451         (toString): New method.
21452         * gnu/java/security/key/dss/DSSKey.java (toString):
21453         Include defaultFormat in string.
21454         * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21455         Break if successfully decoded public key.
21456         (engineGeneratePrivate): Break if successfully decoded private key.
21457
21458 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21459
21460         * java/security/Security.java <clinit>: Add our Callback provider.
21461         * resource/java/security/classpath.security: Likewise
21462
21463 2006-04-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21464
21465         PR 27296
21466         * javax/swing/ScrollPaneLayout.java (layoutContainer):
21467         Decide about scroll bars from the preferred view size, not
21468         the current size.
21469         * javax/swing/ViewportLayout.java (layoutContainer):
21470         Do not change returned preferred size. Do not treat JScrollPane
21471         specially.
21472
21473 2006-04-28  Sven de Marothy <sven@physto.se>
21474
21475         * java/awt/image/ReplicateScaleFilter.java: Fix comment. 
21476         * javax/swing/ProgressMonitor.java (actionPerformed): 
21477         Avoid divide-by-zero.
21478
21479 2006-04-28  Sven de Marothy <sven@physto.se>
21480
21481         * javax/swing/JSpinner.java: Fix default text justification.
21482         * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21483
21484 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21485
21486         * javax/swing/JList.java
21487         (getMinSelectionIndex): Return correct value, added API docs,
21488         (getMaxSelectionIndex): Added API docs.
21489
21490 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21491
21492         * javax/swing/JList.java
21493         (JList(Object[])): Pass new model directly to init(),
21494         (JList(Vector)): Likewise,
21495         (JList(ListModel)): Renamed argument and updated API docs,
21496         (init): Throw IllegalArgumentException for null argument,
21497         (setListData(Object[])): Delegate model creation,
21498         (setListData(Vector)): Likewise,
21499         (createListModel(Object[])): New private method,
21500         (createListModel(Vector)): New private method,
21501         (paramString): Implemented.
21502
21503 2006-04-28  Tom Tromey  <tromey@redhat.com>
21504
21505         * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21506         (isEnum): Rewrote.
21507         (isSynthetic): Likewise.
21508         (isAnnotation): Likewise.
21509         * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21510         (isAnnotation): Likewise.
21511         (isEnum): Likewise.
21512
21513 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21514
21515         * javax/swing/text/View.java:
21516         (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21517         view.
21518
21519 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21520
21521         * javax/swing/text/View.java:
21522         (getNextVisualPositionFrom): Rewritten.
21523         * javax/swing/text/CompositeView.java:
21524         (getNextEastWestVisualPositionFrom): Partly implemented.
21525         (getNextNorthSouthVisualPositionFrom): Partly implemented.
21526
21527 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21528
21529         * javax/swing/JList.java
21530         (setFixedCellHeight): Use correct property name for event.
21531
21532 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21533
21534         * javax/swing/text/Utilities.java:
21535         (getNextWord): Use codePointAt instead of charAt, added note, changed
21536         if-expression, added throwing of exception.
21537         (getPreviousWord): Use codePointAt instead of charAt.
21538
21539 2006-04-28  Jeroen Frijters  <jeroen@frijters.net>
21540
21541         * java/lang/StringBuilder.java
21542         (ensureCapacity, getChars, append(StringBuffer),
21543         append(char[],int,int), delete, replace, insert(int,char[],int,int),
21544         insert(int,String), insert(int,char), trimToSize): Replaced
21545         System.arraycopy calls with VMSystem.arraycopy.
21546
21547 2006-04-27  Tom Tromey  <tromey@redhat.com>
21548
21549         * java/awt/image/renderable/RenderableImageProducer.java
21550         (requestTopDownLeftRightResend): Implemented.
21551         (run): Likewise.
21552         (startProduction): Add new consumer.
21553
21554 2006-04-27  Sven de Marothy  <sven@physto.se>
21555
21556         * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21557
21558 2006-04-27  Roman Kennke <kennke@aicas.com>
21559
21560         * java/awt/LightweightDispatcher.java
21561         Dispatch events only to targets that have a mouselistener
21562         attached. Changed to also handle null targets.
21563
21564 2006-04-27  Roman Kennke <kennke@aicas.com>
21565
21566         * NEWS: Added entries about accessibility support and L&F
21567         window decorations.
21568
21569 2006-04-27  Robert Schuster  <robertschuster@fsfe.org>
21570         
21571         * javax/swing/text/Utilities.java:
21572         (getTabbedTextOffset): Introduced width variable, rewritten the check
21573         which ends the loop.
21574         (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21575         to false.
21576               
21577 2006-04-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21578
21579         * examples/gnu/classpath/examples/swing/TreeDemo.java
21580         (createContent): Added root visibility and selection listener demos.
21581         * javax/swing/JTree.java (setRootVisible): If false, unselect
21582         the root node, if it is selected.
21583         * javax/swing/plaf/basic/BasicTreeUI.java 
21584         (TreeTraverseAction.actionPerformed): Do not select the root if it
21585         is not visible.
21586         * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21587         removeSelectionPaths): Reset lead to null if the current lead path is
21588         removed from selection.
21589         * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21590         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21591         Return the same path regardless is root visible or not. (update):
21592         Reduce the identation if the root is not visible.
21593         * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21594         Return the same path regardless is root visible or not. (update):
21595         Reduce the identation if the root is not visible.
21596
21597 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org
21598
21599         * javax/swing/plaf/basic/BasicTreeUI.java
21600         (TreeAction.actionPerformed):Newly obtain the current lead
21601         path that must stay visible.
21602         (TreeTraverseAction.actionPerformed):Rewritten.
21603         * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21604         Do not treat root specially. (setModel): Assume the root node
21605         initially expanded.
21606         * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21607         Do not treat root specially. (setModel): Assume the root node
21608         initially expanded.
21609
21610 2006-04-26  Chris Burdess  <dog@gnu.org>
21611
21612         Fixes PR 27290
21613         * javax/xml/datatype/DatatypeFactory.java: Use complete
21614           implementation resolution mechanism.
21615
21616 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21617
21618         * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged): 
21619         Implemented.
21620         * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21621         Removed NoImplementException form the implemented method.
21622
21623 2006-04-26  Tom Tromey  <tromey@redhat.com>
21624
21625         * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21626         throw IOException.
21627
21628 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
21629
21630         * javax/swing/DefaultListSelectionModel.java
21631         (clone): Initialise empty listener list,
21632         (setSelectionMode): Throw IllegalArgumentException for bad input.
21633
21634 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
21635
21636         * javax/swing/DefaultListSelectionModel.java
21637         (clearSelection): Clear the Bitset.
21638
21639 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21640
21641         * javax/swing/JTree.java (setLeadSelectionPath):
21642         Repaint the new and old lead pathes.
21643         * javax/swing/plaf/basic/BasicTreeUI.java
21644         (FocusHandler): Repaint the lead row when focus changes.
21645         (PropertyChangeHandler): Use existing constants, not the
21646         string literals for the property names.
21647         (TreeIncrementAction): Shrink the selection when moving
21648         from the selection edge to the selection anchor.
21649         (TreeSelectionHandler.valueChanged): Repaint the 
21650         new and old lead pathes.
21651         (paintRow): Treat row as focused only if it is the lead row.
21652         * javax/swing/tree/DefaultTreeCellRenderer.java
21653         (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21654         (paint): Rewritten.
21655         * javax/swing/tree/DefaultTreeSelectionModel.java
21656         (addSelectionPath): Event construction fix (old and new lead were
21657         always the same).
21658         (addSelectionPaths): Likewise.
21659         * javax/swing/JComponent.java (setOpaque): Explained.
21660         * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21661         Accept null.
21662         * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21663         Accept null.
21664
21665 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21666
21667         * examples/gnu/classpath/examples/swing/TreeDemo.java
21668         (createContent): Call DefaultTreeModel.reload(), not the
21669         tree.repaint(). Expand the parent of the added node.
21670         * javax/swing/JTree.java (constructor): Do not call
21671         UpdateUI (and documented why). (treeDidChange):
21672         Added comment, excluding the misinterpretation of this method.
21673         * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21674         focusListener, keyListener, mouseListener, propertyListener,
21675         selectionModelPropertyChangeListener, treeModelListener,
21676         treeSelectionListener): Made package private.
21677         (PropertyChangeHandler): If the model changes, install the
21678         listener on it. (installUI): Assign treeModel.
21679         * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21680         comment, excluding misinterpretation.
21681         * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21682         (reload(TreeNode)): Implemented.
21683
21684 2006-04-25  Tom Tromey  <tromey@redhat.com>
21685
21686         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21687         * javax/swing/tree/VariableHeightLayoutCache.java
21688         (getVisiblePathsFrom): Genericized.
21689         * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21690         Genericized.
21691
21692 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21693
21694         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21695         If clicked on the other row, cancel the current editing session.
21696
21697 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21698
21699         * javax/swing/plaf/basic/BasicTreeUI.java
21700         (NodeDimensionsHandler.getRowX): Add half of the icon width.
21701         (paintExpandControl): Always paint in one gap distance from the left
21702         border of the path bounds.
21703         (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21704         into consideration.
21705         (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21706         left edge.
21707
21708 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21709
21710         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21711
21712 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21713
21714         * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21715         Allow slashes (/) in the unquoted parameter value. 
21716
21717 2006-04-25  Roman Kennke <kennke@aicas.com>
21718
21719         * gnu/java/awt/java2d/AbstractGraphics2D.java
21720         (drawString(String,int,int)): Implemented.
21721         (drawString(String,float,float)): Implemented.
21722         (drawString(AttributedCharacterIterator,int,int)): Implemented.
21723         (drawString(AttributedCharacterIterator,float,float)): Implemented.
21724         (getFontRenderContext): Implemented.
21725         (drawGlyphVector): Implemented.
21726         (getFont): Implemented.
21727         (setFont): Don't change font setting when null.
21728         (getFontMetrics): Implemented.
21729         (fillShape): Re-written to fill call rawFillShape() with a list
21730         of the edges instead of double arrays.
21731         (rawFillShape): Implemented using a polygon scanline conversion.
21732         (fillScanline): New helper method.
21733         (init): Initialize foreground black. Set font.
21734         * gnu/java/awt/java2d/PolyEdge.java: New file.
21735         * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21736
21737 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21738
21739         * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21740
21741 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21742
21743         * javax/swing/JTable.java: Fixed API doc tags,
21744         * javax/swing/text/AsyncBoxView.java: Likewise,
21745         * javax/swing/text/FlowView.java: Likewise.
21746
21747 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21748
21749         * javax/swing/table/DefaultTableColumnModel.java
21750         (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21751
21752 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
21753
21754         * javax/swing/table/DefaultTableColumnModel.java
21755         (DefaultTableColumnModel): Set selection model field and add 'this' as
21756         listener directly,
21757         (addColumn): Add 'this' as a PropertyChangeListener,
21758         (removeColumn): Remove column before firing event, and remove 'this' as
21759         a PropertyChangeListener,
21760         (setSelectionModel): Remove 'this' as a listener from old model, 
21761         (propertyChange): Check for 'width' property rather than
21762         TableColumn.COLUMN_WIDTH_PROPERTY.
21763
21764 2006-04-24  Chris Burdess  <dog@gnu.org>
21765
21766         Fixes PR 27262
21767         * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21768           attributes when no doctype exists.
21769
21770 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
21771
21772         * javax/swing/event/ChangeEvent.java: Updated API docs,
21773         * javax/swing/event/ChangeListener.java: Likewise,
21774         * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21775         * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21776         * javax/swing/table/TableColumnModel.java: Likewise.
21777
21778 2006-04-24  Robert Schuster  <robertschuster@fsfe.org>
21779
21780         * javax/swing/text/Utilities.java:
21781         (getBreakLocation): Introduced shift variable, added notes.
21782         * javax/swing/text/WrappedPlainView.java:
21783         (calculateBreakPosition): Decrease allocation area bounds by insets,
21784         added early return when allocation area is empty, provide start offset
21785         as argument.
21786         (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21787         (WrappedPlainView.WrappedLine.paint): Added count variable, update
21788         numLines after loop.
21789         (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21790         (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21791         (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21792         decreasing variable end by one, changed break condition in while-loop,
21793         added check for return value.
21794         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21795         allocation area is empty.
21796
21797 2006-04-24  Sven de Marothy  <sven@physto.se>
21798
21799         * gnu/java/awt/java2d/Segment.java: New file.
21800         * gnu/java/awt/java2d/CubicSegment.java: New file.
21801         * gnu/java/awt/java2d/QuadSegment.java: New file.
21802         * gnu/java/awt/java2d/LineSegment.java: New file.
21803         * java/awt/BasicStroke.java
21804         (start): New field.
21805         (end): New field.
21806         (createStrokedShape): Implemented.
21807         (solidStroke): New method.
21808         (dashedStroke): New method.
21809         (capEnds): New method.
21810         (convertPath): New method.
21811         (addSegments): New method.
21812         (capEnd): New method.
21813         (lineIntersection): New method.
21814         (joinSegments): New method.
21815
21816 2006-04-24  Roman Kennke <kennke@aicas.com>
21817
21818         * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21819         Cloneable.
21820         (font): New field.
21821         (clip): Changed clip to be in user space not in target space.
21822         (isOptimized): Added flag to allow optimized drawing for
21823         primitive operations (e.g. for Swing).
21824         (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21825         with the paint context etc.
21826         (draw): Clip the shape before drawing it.
21827         (fill): Clip the shape before drawing it.
21828         (setComposite): Update isOptimized flag.
21829         (setPaint): Likewise.
21830         (setStroke): Likewise.
21831         (translate): Update the clip.
21832         (rotate): Likewise.
21833         (scale): Likewise.
21834         (shear): Likewise.
21835         (transform): Likewise.
21836         (setTransform): Likewise.
21837         (clip): Added optimization for rectangle clips.
21838         (create): Implemented.
21839         (clone): New method.
21840         (setFont): Basic implementation.
21841         (setClip): Update opimization flag.
21842         (drawLine): Added possible optimization.
21843         (fillRect): Added possible optimization.
21844         (fillShape): Implemented shape-filling by filling the flattended
21845         shape using polygon fill.
21846         (drawPixel): Added basic painting.
21847         (rawSetPixel): Changed signature to only take coordinates.
21848         (rawSetForeground): New abstract method.
21849         (getUserBounds): Implemented default for this method.
21850         (rawDrawLine): New method.
21851         (rawFillRect): New method.
21852         (rawFillPolygon): New method.
21853         (init): New method.
21854         (updateOptimization): New method.
21855         (computeIntersection): New method.
21856         (updateClip): New method.
21857         (clipShape): New method.
21858
21859 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21860
21861         * java/lang/Package.java: Added compatibility constructor to ease
21862         VM interface migration.
21863
21864 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21865
21866         * java/lang/Class.java (getEnumConstants): Implemented without
21867         delegating to VMClass.
21868         * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21869
21870 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21871
21872         * java/lang/ClassLoader.java (definePackage): Added argument to
21873         Package constructor.
21874         * java/lang/Package.java (Package): Added ClassLoader argument.
21875         (loader): New field.
21876         (getDeclaredAnnotations): Implemented without help from VMPackage.
21877         * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21878         to Package constructor.
21879         * vm/reference/java/lang/VMPackage.java: Removed.
21880
21881 2006-04-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21882
21883         * examples/gnu/classpath/examples/swing/TreeDemo.java:
21884         (createContent): Added check box to swith between single and 
21885         multiple selection.
21886         * javax/swing/JTree.java (leadSelectionPath): Removed.
21887         (addSelectionInterval): Explained. (getLeadSelectionPath):
21888         Request the path from model. (getPathsBetweenRows): Explained.
21889         (setLeadSelectionPath): Set the path in model.
21890         * javax/swing/plaf/basic/BasicTreeUI.java 
21891         (TreeIncrementAction.actionPerformed, isMultiSelectionEvent, 
21892         isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21893         (MouseHandler.mousePressed): Call selectPathForEvent.
21894
21895 2006-04-23  Roman Kennke <kennke@aicas.com>
21896
21897         * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21898
21899 2006-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21900
21901         * NEWS:
21902         Mention changes to VMProcess and VMSystem.
21903         * doc/vmintegration.texinfo:
21904         Change documentation on VMProcess and VMSystem.
21905         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21906         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21907         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21908         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21909         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21910         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21911         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21912         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21913         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21914         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21915         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21916         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21917         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21918         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21919         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21920         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21921         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21922         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21923         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21924         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21925         * include/gnu_java_awt_peer_gtk_GtkImage.h,
21926         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21927         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21928         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21929         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21930         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21931         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21932         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21933         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21934         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21935         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21936         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21937         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21938         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21939         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21940         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21941         * include/gnu_java_awt_peer_qt_MainQtThread.h,
21942         * include/gnu_java_awt_peer_qt_QMatrix.h,
21943         * include/gnu_java_awt_peer_qt_QPainterPath.h,
21944         * include/gnu_java_awt_peer_qt_QPen.h,
21945         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21946         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21947         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21948         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21949         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21950         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21951         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21952         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21953         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21954         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21955         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21956         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21957         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21958         * include/gnu_java_awt_peer_qt_QtGraphics.h,
21959         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21960         * include/gnu_java_awt_peer_qt_QtImage.h,
21961         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21962         * include/gnu_java_awt_peer_qt_QtListPeer.h,
21963         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21964         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21965         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21966         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21967         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21968         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21969         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21970         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21971         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21972         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21973         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21974         * include/gnu_java_awt_peer_qt_QtToolkit.h,
21975         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21976         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21977         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21978         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21979         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21980         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21981         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21982         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21983         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21984         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21985         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21986         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21987         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21988         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21989         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21990         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21991         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21992         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21993         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21994         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21995         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21996         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21997         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21998         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21999         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
22000         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
22001         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
22002         * include/java_lang_VMProcess.h,
22003         * include/java_lang_VMSystem.h:
22004         Regenerated with GCJ 4.1.
22005
22006 2006-04-22  Casey Marshall  <csm@gnu.org>
22007
22008         Fixes PR classpath/27228.
22009         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
22010         (initialize): also accept `DHParameterSpec.'
22011         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
22012         handle a passed-in `DHParameterSpec' properly.
22013         (generate): don't check if the random exponent is less than `q -
22014         1' if no `q' was specified.
22015
22016 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22017
22018         * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
22019         Only repaint the patches, speficied in the passed event.
22020         (expandPath): Do nothing if the path is already expanded.
22021         (scrollPathToVisible): Only scroll to visible, do nothing else.
22022         * javax/swing/plaf/basic/BasicTreeUI.java 
22023         (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
22024         (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
22025         (TreeTraverseAction.actionPerformed): Collapse the node on the
22026         action "selectParent". (selectPath): Rewritten.
22027         * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
22028         Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
22029         Do not reuse selection array.
22030         * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
22031         Accept null.
22032         * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
22033         Accept null.
22034
22035 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22036
22037         * javax/swing/tree/DefaultTreeSelectionModel.java
22038         (addSelectionPath): If the path cannot be added, set it.
22039         (addSelectionPaths): Call insureRowContinuity.
22040         (arePathsContiguous): Implemented.
22041         (canPathBeAdded): New private method.
22042         (canPathsBeAdded): Implemented.
22043         (canPathsBeRemoved): Implemented.
22044         (getPath): New private method.
22045         (insureRowContinuity): Implemented.
22046         (removeSelectionPath): Call insureRowContinuity.
22047         (removeSelectionPaths): Call insureRowContinuity.
22048         (resetRowSelection): Removed stub marking, not used in implementation 
22049         (nothing to do there).
22050         (selectOne): New private method.
22051         (setSelectionMode) Call insureRowContinuity.
22052         (setSelectionPaths) Remove the current selection by clearing it.
22053
22054 2006-04-22  Carsten Neumann  <cn-develop@gmx.net>
22055
22056         * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
22057         parameters consistendly, documented some methods.
22058         * java/sql/Blob.java: Likewise.
22059         * java/sql/CallableStatement.java: Likewise.
22060         * java/sql/Clob.java: Likewise.
22061         * java/sql/Connection.java: Likewise.
22062         * java/sql/DatabaseMetaData.java: Likewise.
22063         * java/sql/Date.java: Likewise.
22064         * java/sql/Driver.java: Likewise.
22065         * java/sql/PreparedStatement.java: Likewise.
22066         * java/sql/ResultSet.java: Likewise.
22067         * java/sql/ResultSetMetaData.java: Likewise.
22068         * java/sql/SQLData.java: Likewise.
22069         * java/sql/SQLOutput.java: Likewise.
22070         * java/sql/SQLWarning.java: Likewise.
22071         * java/sql/Statement.java: Likewise.
22072         * java/sql/Time.java: Likewise.
22073         * java/sql/Timestamp.java: Likewise.
22074
22075 2006-04-21  Jeroen Frijters  <jeroen@frijters.net>
22076
22077         * java/lang/reflect/AccessibleObject.java:
22078         Implemented AnnotatedElement.
22079         (getAnnotation, getAnnotations, getDeclaredAnnotations,
22080         isAnnotationPresent): New methods.
22081
22082 2006-04-21  Tom Tromey  <tromey@redhat.com>
22083
22084         PR classpath/27163:
22085         * gnu/java/net/protocol/ftp/FTPConnection.java
22086         (changeWorkingDirectory): Do nothing if path is empty.
22087
22088 2006-04-21  Tom Tromey  <tromey@redhat.com>
22089
22090         PR libgcj/27231:
22091         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
22092         case where no '/' appears in 'location'.
22093
22094 2006-04-21  Tom Tromey  <tromey@redhat.com>
22095
22096         * java/security/Security.java (<clinit>): Add all default providers.
22097         * resource/java/security/classpath.security: Added comment.
22098
22099 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22100
22101         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
22102         * javax/swing/SpinnerNumberModel.java: Likewise.
22103
22104 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22105
22106         * javax/swing/SpinnerDateModel.java
22107         (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
22108         checking to call compareTo() on start and end.
22109
22110 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22111
22112         * javax/swing/border/AbstractBorder.java: API doc updates,
22113         * javax/swing/border/BevelBorder.java: Likewise,
22114         * javax/swing/border/CompoundBorder.java: Likewise,
22115         * javax/swing/border/EtchedBorder.java: Likewise,
22116         * javax/swing/border/LineBorder.java: Likewise,
22117         * javax/swing/border/MatteBorder.java: Likewise,
22118         * javax/swing/border/TitledBorder.java: Likewise.
22119
22120 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22121
22122         * gnu/javax/crypto/cipher/Anubis.java:
22123         (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
22124         instance,
22125         * gnu/javax/crypto/cipher/Blowfish.java:
22126         (selfTest): Likewise,
22127         * gnu/javax/crypto/cipher/Cast5.java:
22128         (selfTest): Likewise,
22129         * gnu/javax/crypto/cipher/Khazad.java:
22130         (selfTest): Likewise,
22131         * gnu/javax/crypto/cipher/Rijndael.java:
22132         (selfTest): Likewise,
22133         * gnu/javax/crypto/cipher/Serpent.java:
22134         (selfTest): Likewise,
22135         * gnu/javax/crypto/cipher/Square.java:
22136         (selfTest): Likewise,
22137         * gnu/javax/crypto/cipher/Twofish.java:
22138         (selfTest): Likewise,
22139         * gnu/javax/crypto/mac/UMac32.java:
22140         (selfTest): Likewise,
22141         * gnu/javax/crypto/prng/CSPRNG.java:
22142         (getSystemInstance): Likewise.
22143
22144 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22145
22146         * gnu/java/security/hash/Haval.java:
22147         (selfTest): Use Boolean.valueOf() to avoid creating new Boolean 
22148         instance,
22149         * gnu/java/security/hash/MD2.java:
22150         (selfTest): Likewise,
22151         * gnu/java/security/hash/MD4.java:
22152         (selfTest): Likewise,
22153         * gnu/java/security/hash/MD5.java:
22154         (selfTest): Likewise,
22155         * gnu/java/security/hash/RipeMD128.java:
22156         (selfTest): Likewise,
22157         * gnu/java/security/hash/RipeMD160.java:
22158         (selfTest): Likewise,
22159         * gnu/java/security/hash/Sha160.java:
22160         (selfTest): Likewise,
22161         * gnu/java/security/hash/Sha256.java:
22162         (selfTest): Likewise,
22163         * gnu/java/security/hash/Sha384.java:
22164         (selfTest): Likewise,
22165         * gnu/java/security/hash/Sha512.java:
22166         (selfTest): Likewise,
22167         * gnu/java/security/hash/Tiger.java:
22168         (selfTest): Likewise,
22169         * gnu/java/security/hash/Whirlpool.java:
22170         (selfTest): Likewise.
22171
22172 2006-04-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22173
22174         * javax/swing/plaf/basic/BasicTreeUI.java 
22175         (PropertyChangeHandler.propertyChange): Set the row mapper
22176         for the selection model.
22177         * javax/swing/tree/AbstractLayoutCache.java 
22178         (NodeDimensions.getNodeDimensions): Explained.
22179         (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
22180         Implemented. (setRowHeight): Invalidate sizes. 
22181         * javax/swing/tree/DefaultTreeSelectionModel.java
22182         (addSelectionPath, addSelectionPaths): Update lead row.
22183         (removeSelectionPath, removeSelectionPaths): Do nothing if
22184         selection is empty.
22185         (clone): Only clone list selection model if it is not null.
22186         (getRow): New method. (isRowSelected, getLeadSelectionRow, 
22187         setSelectionPath, setSelectionPaths, toString): Implemented.
22188         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
22189         Pass the empty rectangle. (isFixedRowHeight): New method.
22190         * javax/swing/tree/VariableHeightLayoutCache.java
22191         (NodeRecord.getBounds): Pass the empty rectangle.
22192         
22193 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22194
22195         * gnu/java/security/Properties.java
22196         (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
22197
22198 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22199
22200         * gnu/classpath/jdwp/util/Value.java
22201         (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid 
22202         creating new Boolean instances.
22203
22204 2006-04-20  Mark Wielaard  <mark@klomp.org>
22205
22206         * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
22207         PrivilegedAction. Access awt.toolkit through SystemProperties.
22208
22209 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22210
22211         * javax/swing/ActionMap.java: Removed unused imports,
22212         * javax/swing/DefaultListSelectionModel.java
22213         (clearSelection): Removed unused label,
22214         * javax/swing/JScrollPane.java: Removed unused imports,
22215         * javax/swing/UIManager.java: Likewise,
22216         * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
22217
22218 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22219
22220         * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
22221         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
22222         * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
22223         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
22224         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
22225
22226 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22227
22228         * java/sql/Array.java: Fixed Eclipse API doc warnings,
22229         * java/sql/Blob.java: Likewise,
22230         * java/sql/CallableStatement.java: Likewise,
22231         * java/sql/Clob.java: Likewise,
22232         * java/sql/Connection.java: Likewise,
22233         * java/sql/DatabaseMetaData.java: Likewise,
22234         * java/sql/Date.java: Likewise,
22235         * java/sql/Driver.java: Likewise,
22236         * java/sql/PreparedStatement.java: Likewise,
22237         * java/sql/ResultSet.java: Likewise,
22238         * java/sql/ResultSetMetaData.java: Likewise,
22239         * java/sql/SQLData.java: Likewise,
22240         * java/sql/SQLOutput.java: Likewise,
22241         * java/sql/SQLWarning.java: Likewise,
22242         * java/sql/Statement.java: Likewise,
22243         * java/sql/Time.java: Likewise,
22244         * java/sql/Timestamp.java: Likewise.
22245
22246 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22247
22248         * java/sql/DriverManager.java
22249         (setLoginTimeout): Use incoming argument,
22250         (setLogStream): Likewise,
22251         (println): Fix API doc comment.
22252
22253 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22254
22255         * javax/swing/JMenuItem.java
22256         (paramString): Updated API docs,
22257         (getAccessibleContext): Added API docs,
22258         (AccessibleJMenuItem.stateChanged): Marked as stub,
22259         (AccessibleJMenuItem.getAccessibleRole): Added API docs,
22260         * javax/swing/JSlider.java
22261         (paramString): Fix for API docs,
22262         * javax/swing/JToolTip.java
22263         (getAccessibleContext): Fix for API docs.
22264
22265 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22266
22267         * javax/swing/JRadioButtonMenuItem.java
22268         (paramString): Reimplemented,
22269         (getAccessibleContext): API docs added,
22270         (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()): 
22271         Likewise,
22272         (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
22273
22274 2006-04-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22275
22276         * javax/swing/plaf/basic/BasicTreeUI.java
22277         (finish): Invalidate path bounds.
22278         (getMaxHeight): Set the row height to the layout cache.
22279         (startEditing): Do not request to recalculated 
22280         row height and preferred size.
22281         * javax/swing/tree/DefaultTreeCellEditor.java
22282         (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
22283         with 0.
22284         * javax/swing/tree/FixedHeightLayoutCache.java:
22285         Rewritten.
22286
22287 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22288
22289         * javax/swing/JDesktopPane.java
22290         (paramString): Reimplemented,
22291         plus API doc updates in AccessibleJDesktopPane.
22292
22293 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22294
22295         * javax/swing/ImageIcon.java:
22296         (AccessibleImageIcon.getAccessibleStateSet): Return null always,
22297         (AccessibleImageIcon.getLocale): Declared exception and always return 
22298         null,
22299         (getAccessibleContext): Updated API docs,
22300         plus updated API docs all over AccessibleImageIcon.
22301
22302 2006-04-20  Roman Kennke  <kennke@aicas.com>
22303
22304         PR 27196
22305         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22306         (paintText): Fetch the ascent only once. Add the ascent to
22307         the text rect also when tabs are disabled.
22308
22309 2006-04-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
22310
22311         * java/util/Locale.java (defaultLocale): Set to en_US per
22312         default and use user.country but prioritize user.region if
22313         defined.
22314         (getLocale(String language, String country)): Renamed region to
22315         country.
22316         (getLocale(String language, String region, String variant)):
22317         Likewise.
22318         (getAvailableLocales): Likewise.
22319
22320 2006-04-20  Roman Kennke  <kennke@aicas.com>
22321
22322         PR 27222
22323         * javax/swing/JList.java
22324         (JList()): Call init() with DefaultListModel instance.
22325         (JList(Object[])): Call init() with null.
22326         (JList(Vector)): Call init() with null.
22327         (JList(ListModel)): Call init() with model.
22328         (init): Changed to take the model as argument. Don't call
22329         setter methods and initialize stuff directly instead.
22330         (getCellBounds): Check if UI is null.
22331
22332 2006-04-20  Robert Schuster  <robertschuster@fsfe.org>
22333
22334         * javax/swing/text/WrappedPlainView.java: Initialize
22335         WrappedLine.numLines with -1.
22336         (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
22337         numLines is -1 and reculcalate the value appropriately.
22338         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
22339         allocation area is empty.
22340
22341 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22342
22343         * javax/swing/JTabbedPane.java
22344         (AccessibleJTabbedPane.stateChanged): Marked as stub,
22345         (AccessibleJTabbedPane.getAccessibleRole): Likewise,
22346         (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
22347         (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
22348         (AccessibleJTabbedPane.getAccessibleAt): Likewise,
22349         (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
22350         (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
22351         (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
22352         (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
22353         (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
22354         (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
22355         (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
22356         (Page.getAccessibleStateSet): Likewise,
22357         (Page.getAccessibleIndexInParent): Likewise.
22358
22359 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22360
22361         * javax/swing/JProgressBar.java
22362         (paramString): Reimplemented.
22363
22364 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22365
22366         * javax/swing/JButton.java: Updated API docs all over.
22367
22368 2006-04-19  Roman Kennke  <kennke@aicas.com>
22369
22370         * java/awt/Toolkit.java
22371         (getDefaultToolkit): Use system classloader to load the
22372         toolkit.
22373
22374 2006-04-19  Robert Schuster  <robertschuster@fsfe.org>
22375
22376         * javax/swing/text/DefaultCaret.java:
22377         (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22378         instead of DefaultCaret.setDot.
22379
22380 2006-04-19  Roman Kennke  <kennke@aicas.com>
22381
22382         * native/jni/java-net/local.c
22383         (local_read): Handle EINTR correctly.
22384         (local_write): Likewise.
22385
22386 2006-04-19  Riccardo Mottola  <multix@gmail.com>
22387
22388         PR classpath/27062, PR classpath/25650:
22389         * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22390
22391 2006-04-19  Tom Tromey  <tromey@redhat.com>
22392
22393         * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22394         value of 'pureMinutes'.  PR classpath/27189.
22395
22396 2006-04-19  Olivier Jolly  <olivier.jolly@pcedev.com>
22397
22398    * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22399    boot packages list from the META-INF/INDEX.LIST file if it exists. 
22400
22401 2006-04-19  Raif S. Naffah  <raif@swiftdsl.com.au>
22402
22403         Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22404         * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22405         (ITERATION_COUNT): Removed modifiers.
22406         (PASSWORD): Likewise.
22407         (SALT): Likewise.
22408         (PASSWORD_ENCODING): New property.
22409         (DEFAULT_PASSWORD_ENCODING): New constant.
22410         * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22411         material (bytes) before a password (chars).
22412
22413 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22414
22415         * javax/swing/JMenu.java
22416         (getAccessibleChildrenCount): Marked as stub,
22417         (getAccessibleChild): Likewise,
22418         (getAccessibleSelection): Likewise,
22419         (getAccessibleSelection(int)): Likewise,
22420         (isAccessibleChildSelected): Likewise,
22421         (getAccessibleSelectionCount): Likewise,
22422         (addAccessibleSelection): Likewise,
22423         (removeAccessibleSelection): Likewise,
22424         (clearAccessibleSelection): Likewise,
22425         (selectAllAccessibleSelection): Likewise.
22426
22427 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22428
22429         * javax/swing/JSplitPane.java
22430         (getAccessibleContext): Added API docs,
22431         (paramString): Reimplemented,
22432         (setOrientation): Updated API docs,
22433         (setResizeWeight): Added argument checking and event notification.
22434
22435 2006-04-18  Casey Marshall  <csm@gnu.org>
22436
22437         Fixes PR classpath/25673        
22438         * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22439         property is set. Update JavaDoc to reflect this.
22440
22441 2006-04-18  Lillian Angel  <langel@redhat.com>
22442
22443         * gnu/xml/dom/DomDocument.java
22444         (setCheckingCharacters): New function used to set
22445         checkingCharacters flag.
22446         * gnu/xml/dom/html2/DomHTMLParser.java
22447         (parseDocument): Added call to set checkingCharacters flag
22448         to false.
22449
22450 2006-04-18  Lillian Angel  <langel@redhat.com>
22451
22452         * gnu/xml/dom/DomDocument.java
22453         (checkNCName): Reverted last patch. Added check for colon at
22454         last position back in.
22455
22456 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22457
22458         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22459         New file.
22460         * examples/gnu/classpath/examples/swing/Demo.java:
22461         (mkMenuBar): Added NavigationFilter demo.
22462
22463 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22464
22465         * javax/swing/JSeparator.java: Updated API docs all over, plus
22466         (setOrientation): Fire PropertyChangeEvent,
22467         (paramString): Reimplemented.
22468
22469 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22470
22471         * javax/swing/plaf/basic/BasicTextUI.java:
22472         (getNextVisualPositionFrom): Implemented.
22473
22474 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22475
22476         * javax/swing/JPanel.java: Updated API docs all over, plus
22477         (JPanel(LayoutManager, boolean)): Pass on null layout, set 
22478         double-buffer flag.
22479
22480 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22481
22482         * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22483         New file.
22484         * examples/gnu/classpath/examples/swing/Demo.java:
22485         (mkMenuBar): Added DocumenFilter demo.
22486
22487 2006-04-18  Tom Tromey  <tromey@redhat.com>
22488
22489         * doc/www.gnu.org/include/layout.wml: Add FMJ.
22490
22491 2006-04-18  Mark Wielaard  <mark@klomp.org>
22492
22493         Reported by John Sullivan (johns@fsf.org)
22494         * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22495
22496 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22497
22498         * javax/swing/JInternalFrame.java
22499         (JDesktopIcon.getAccessibleContext): Added API docs,
22500         (getDefaultCloseOperation): Likewise,
22501         (paramString): Added 'title' attribute,
22502         (setDefaultCloseOperation): Added API docs.
22503
22504 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22505
22506         * javax/swing/JSlider.java
22507         (paramString): Reimplemented.
22508
22509 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22510
22511         * javax/swing/JComboBox.java
22512         (paramString): Reimplemented,
22513         (getAccessibleContext): Added API docs,
22514         (AccessibleJComboBox.getAccessibleRole): Likewise.
22515
22516 2006-04-18  Roman Kennke  <kennke@aicas.com>
22517
22518         * javax/swing/RepaintManager.java
22519         (dirtyComponentsWork): New field.
22520         (ComponentComparator): Use dirtyComponentsWork instead of
22521         dirtyComponents.
22522         (RepaintManager): Initialize new field.
22523         (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22524         and work on the copy.
22525
22526 2006-04-18  Roman Kennke  <kennke@aicas.com>
22527
22528         * gnu/java/awt/peer/swing/SwingComponentPeer.java
22529         (setBounds): Call reshape().
22530         * gnu/java/awt/peer/swing/SwingContainerPeer.java
22531         (SwingContainerPeer): Changed argument to be a Component
22532         instead a Container.
22533         (getInsets): Call insets().
22534         (handleMouseEvent): Added null check to avoid NPE.
22535         (handleMouseMotionEvent): Added null check to avoid NPE.
22536         
22537 2006-04-18  Roman Kennke  <kennke@aicas.com>
22538
22539         PR 27185
22540         * javax/swing/JComponent.java
22541         (paintChildrenWithOverlap): When one child is not opaque, propagate
22542         the dirty rectangles to the next child.
22543         (paintChildrenOptimized): Removed unnecessary 'optimization'.
22544         This actually didn't work right and probably gained nothing.
22545
22546 2006-04-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22547
22548         * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22549         (moveToCellBeingEdited): Do not clone the rectangle here.
22550
22551 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22552
22553         * javax/swing/plaf/basic/BasicSliderUI.java
22554         (getActionMap): Fixed lookup key,
22555         (createActionMap): Modified actions to fetch slider/ui from the event
22556         source.
22557
22558 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22559
22560         * java/lang/Enum.java: Documented.
22561
22562 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22563
22564         * gnu/java/lang/InstrumentationImpl.java:
22565         Moved from java.lang.
22566         * java/lang/InstrumentationImpl.java:
22567         Removed.
22568         * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22569         Moved from java.lang.
22570         * vm/reference/java/lang/VMClassLoader.java:
22571         Corrected reference to InstrumentationImpl.
22572         * vm/reference/java/lang/VMInstrumentationImpl.java:
22573         Removed.
22574         
22575 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22576
22577         * java/lang/annotation/Annotation.java:
22578         Documented.
22579         
22580 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22581
22582         * javax/swing/JToolBar.java
22583         (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22584         (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22585         (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22586         (getAccessibleContext): Likewise.
22587
22588 2006-04-17  Dalibor Topic  <robilad@kaffe.org>
22589
22590         * configure.ac:
22591         Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22592
22593         * native/fdlibm/Makefile.am,
22594         native/jni/classpath/Makefile.am:
22595         Don't use -module and -version-info for convenience libraries LDFLAGS.
22596         Fixes libtool warnings.
22597
22598 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22599
22600         * javax/swing/plaf/basic/BasicComboBoxUI.java:
22601         (installKeyboardActions): Marked as stub,
22602         (uninstallKeyboardActions): Likewise,
22603         * javax/swing/plaf/basic/BasicComboPopup.java:
22604         (installKeyboardActions): Marked as stub,
22605         (uninstallKeyboardActions): Likewise,
22606         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22607         (installKeyboardActions): Marked as stub,
22608         (uninstallKeyboardActions): Likewise,
22609         * javax/swing/plaf/basic/BasicLabelUI.java:
22610         (installKeyboardActions): Marked as stub,
22611         (uninstallKeyboardActions): Likewise,
22612         * javax/swing/plaf/basic/BasicListUI.java:
22613         (installKeyboardActions): Marked as stub,
22614         (uninstallKeyboardActions): Likewise,
22615         * javax/swing/plaf/basic/BasicMenuBarUI.java:
22616         (installKeyboardActions): Marked as stub,
22617         (uninstallKeyboardActions): Likewise,
22618         * javax/swing/plaf/basic/BasicMenuUI.java:
22619         (installKeyboardActions): Marked as stub,
22620         (uninstallKeyboardActions): Likewise,
22621         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22622         (installKeyboardActions): Marked as stub,
22623         (uninstallKeyboardActions): Likewise,
22624         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22625         (installKeyboardActions): Marked as stub,
22626         (uninstallKeyboardActions): Likewise,
22627         * javax/swing/plaf/basic/BasicScrollBarUI.java:
22628         (installKeyboardActions): Marked as stub,
22629         (uninstallKeyboardActions): Likewise,
22630         * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22631         (installKeyboardActions): Marked as stub,
22632         (uninstallKeyboardActions): Likewise,
22633         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22634         (installKeyboardActions): Marked as stub,
22635         (uninstallKeyboardActions): Likewise,
22636         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22637         (installKeyboardActions): Marked as stub,
22638         (uninstallKeyboardActions): Likewise,
22639         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22640         (installKeyboardActions): Marked as stub,
22641         (uninstallKeyboardActions): Likewise,
22642         * javax/swing/plaf/basic/BasicTableUI.java:
22643         (installKeyboardActions): Marked as stub,
22644         (uninstallKeyboardActions): Likewise,
22645         * javax/swing/plaf/basic/BasicTextUI.java:
22646         (installKeyboardActions): Marked as stub,
22647         (uninstallKeyboardActions): Likewise,
22648         * javax/swing/plaf/basic/BasicToolBarUI.java:
22649         (installKeyboardActions): Marked as stub,
22650         (uninstallKeyboardActions): Likewise.   
22651
22652 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22653
22654         * javax/swing/plaf/basic/BasicSliderUI.java
22655         (installKeyboardActions): Implemented,
22656         (uninstallKeyboardActions): Implemented,
22657         (scrollByBlock): Accept any value for direction,
22658         (scrollByUnit): Likewise,
22659         (getInputMap): New method,
22660         (getActionMap): New method,
22661         (createActionMap): New method.
22662
22663
22664 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22665         
22666         * doc/vmintegration.texinfo:
22667         Fix sectioning.
22668
22669 2006-04-16  Tom Tromey  <tromey@redhat.com>
22670
22671         * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22672
22673 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22674
22675         * NEWS:
22676         Mention generics additions to the VM interface.
22677         * doc/vmintegration.texinfo:
22678         Added information on VMClass 1.5 additions and
22679         VMSecureRandom.
22680         
22681 2006-04-16  Casey Marshall  <csm@gnu.org>
22682
22683         * NEWS: add an entry mentioning local socket support.
22684
22685 2006-04-16  Casey Marshall  <csm@gnu.org>
22686
22687         * configure.ac (--enable-local-sockets): new enable argument.
22688         (ENABLE_LOCAL_SOCKETS): new define.
22689         * native/jni/java-net/Makefile.am (local_sources): new variable.
22690         (lib_javanet_la_SOURCES): append `local_sources.'
22691         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22692         * native/jni/java-net/local.c,
22693         * native/jni/java-net/local.h,
22694         * include/gnu_java_net_local_LocalSocketImpl.h,
22695         * gnu/java/net/local/LocalServerSocket.java,
22696         * gnu/java/net/local/LocalSocket.java,
22697         * gnu/java/net/local/LocalSocketAddress.java,
22698         * gnu/java/net/local/LocalSocketImpl.java: new files.
22699
22700 2006-04-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22701
22702         * javax/accessibility/AccessibleAction.java:
22703         (DECREMENT): Added field.
22704         (INCREMENT): Likewise.
22705         (TOGGLE_EXPAND): Likewise.
22706         * javax/accessibility/AccessibleRole.java:
22707         (EDITBAR): Added field.
22708         (FOOTER): Likewise.
22709         (HEADER): Likewise.
22710         (PARAGRAPH): Likewise.
22711         (PROGRESS_MONITOR): Likewise.
22712         (RULER): Likewise.
22713         * javax/accessibility/AccessibleState.java:
22714         (INDETERMINATE): Added field.
22715         (MANAGES_DESCENDANTS): Likewise.
22716         (TRUNCATED): Likewise.
22717
22718 2006-04-14  Tom Tromey  <tromey@redhat.com>
22719
22720         * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22721         Genericized.
22722         * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22723         Genericized.
22724
22725 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22726
22727         * javax/swing/text/DefaultCaret.java:
22728         (getBypass): New method.
22729         (moveDot): Rewritten.
22730         (moveDotImpl): New method.
22731         (setDot): Rewritten.
22732         (setDotImpl): New method.
22733         (DefaultCaret.Bypass): New class.
22734
22735 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22736
22737         * javax/swing/text/AbstractDocument.java:
22738         (getBypass): New method.
22739         (insertString): Rewritten.
22740         (remove): Rewritten.
22741         (replace): Rewritten.
22742         (insertStringImpl): New method.
22743         (removeImpl): New method.
22744         (replaceImpl): New method.
22745         (AbstractDocument.Bypass): New class.
22746
22747 2006-04-14  Casey Marshall  <csm@gnu.org>
22748
22749         Fixes PR classpath/24642
22750         * NEWS: add note about SecureRandom changes, and addition of
22751         VMSecureRandom.
22752         * java/security/SecureRandom.java (isSeeded): new field.
22753         (setSeed, setSeed): set `isSeeded' to `true.'
22754         (nextBytes): seed this instance if `isSeeded' is false.
22755         (getSeed): call `generateSeed.'
22756         (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22757         (generateSeed, generateSeed): new methods.
22758         * vm/reference/java/security/VMSecureRandom.java: new file.
22759
22760 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22761
22762         * javax/swing/text/FieldView.java:
22763         (paint): Apply clipping rectangle of the allocation area
22764         before painting the text.
22765         * javax/swing/text/DefaultHighlighter.java:
22766         (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22767         compute union and intersection, calculate intersection with allocation
22768         area before painting, adjust x and width when painting multiple lines
22769         by the range of the allocation area.
22770
22771 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22772
22773         * javax/swing/text/DefaultHighlighter.java:
22774         (paintLayeredHighlights): Marked as stub.
22775
22776 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22777
22778         * javax/swing/plaf/basic/BasicTextFieldUI.java:
22779         (propertyChanged): Added note, change color only if current background
22780         is a ColorUIResource instance.
22781
22782 2006-04-14  Tom Tromey  <tromey@redhat.com>
22783
22784         * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22785         a stub.
22786         (next): Likewise.
22787
22788 2006-04-14  Tom Tromey  <tromey@redhat.com>
22789
22790         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22791
22792 2006-04-14  Mark Wielaard  <mark@klomp.org>
22793
22794         * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22795         thread group when exceptionHandler isn't set.
22796         * vm/reference/java/lang/VMThread.java (run): Use result of
22797         thread.getUncaughtExceptionHandler directly.
22798
22799 2006-04-14  David Gilbert  <david.gilbert@object-refinery.com>
22800
22801         * javax/swing/JSplitPane.java
22802         (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22803         (AccessibleJSplitPane.getAccessibleRole): Implemented,
22804         (AccessibleJSplitPane.getAccessibleValue): Implemented,
22805         (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22806         (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22807         (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22808         (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22809
22810 2006-04-10  Tom Tromey  <tromey@redhat.com>
22811
22812         * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22813         Fixed parameter bounds.
22814
22815 2006-04-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22816         
22817         * gnu/javax/crypto/assembly/Assembly.java,
22818         * gnu/javax/crypto/assembly/Cascade.java,
22819         * gnu/javax/crypto/assembly/CascadeStage.java,
22820         * gnu/javax/crypto/assembly/CascadeTransformer.java,
22821         * gnu/javax/crypto/assembly/Direction.java,
22822         * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22823         * gnu/javax/crypto/assembly/ModeStage.java,
22824         * gnu/javax/crypto/assembly/Operation.java,
22825         * gnu/javax/crypto/assembly/PaddingTransformer.java,
22826         * gnu/javax/crypto/assembly/Stage.java,
22827         * gnu/javax/crypto/assembly/Transformer.java,
22828         * gnu/javax/crypto/cipher/Square.java,
22829         * gnu/javax/crypto/jce/cipher/AESSpi.java,
22830         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22831         * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22832         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22833         * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22834         * gnu/javax/crypto/jce/cipher/DESSpi.java,
22835         * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22836         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22837         * gnu/javax/crypto/jce/cipher/PBES2.java,
22838         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22839         * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22840         * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22841         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22842         * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22843         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22844         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22845         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22846         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22847         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22848         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22849         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22850         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22851         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22852         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22853         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22854         * gnu/javax/crypto/jce/mac/MacAdapter.java,
22855         * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22856         * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22857         * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22858         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22859         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22860         * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22861         * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22862         * gnu/javax/crypto/pad/WrongPaddingException.java,
22863         * gnu/javax/crypto/prng/ICMGenerator.java,
22864         * gnu/javax/crypto/prng/IPBE.java,
22865         * gnu/javax/crypto/prng/PBKDF2.java,
22866         * gnu/javax/crypto/sasl/ConfidentialityException.java,
22867         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22868         * gnu/javax/crypto/sasl/srp/IALG.java,
22869         * gnu/javax/crypto/sasl/srp/SRPServer.java:
22870         Remove CVS revision tags.
22871
22872 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22873
22874         * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize): 
22875         Removed debugging code.
22876
22877 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22878  
22879         * javax/swing/JTree.java (getPreferredSize): Return the
22880         cloned instance.
22881         * javax/swing/ViewportLayout.java (layoutContainer):
22882         Do not manage the view size and location if the view is
22883         in the scroll pane. Also manage size and location for
22884         Scrollable, if it is not in the scroll pane.
22885         * javax/swing/plaf/basic/BasicTreeUI.java,
22886         * javax/swing/tree/FixedHeightLayoutCache.java,
22887         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22888         * gnu/javax/swing/tree/GnuPath.java: New file.
22889
22890 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22891
22892         * javax/swing/JToolBar.java
22893         (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22894
22895 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22896
22897         * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22898         (createCustomColoredPanel): Set background color as demo intends,
22899         changed custom selection color to red.
22900         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22901         Replaced various single variables with a Compound instance, added
22902         custom highlighter demo.
22903         (TextFieldDemo.DemoHighlightPainter): New class (taken from
22904         TextAreaDemo).
22905         (TextFieldDemo.Compound): New class.
22906         (createTextFieldCompound): New method.
22907         (createLeftAlignedPanel): Rewritten.
22908         (createRightAlignedPanel): Rewritten.
22909         (createCenteredPanel): Rewritten.
22910         (createCustomColoredPanel): Removed.
22911         (createCustomColoredPanel1): New method.
22912         (createCustomColoredPanel2): New method.
22913         (createCustomBordersPanel): New method.
22914         (createMiscPanel): Rewritten.
22915         (actionPerformed): Rewritten.
22916         (createContent): Add panels of new compounds to main panel, put
22917         main panel in a JScrollPane.
22918         * examples/gnu/classpath/examples/swing/Demo.java:
22919         (Demo): Put desktop in a scrollpane.
22920         (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22921         method via reflection.
22922
22923 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22924
22925         * javax/swing/plaf/metal/MetalDesktopIconUI.java
22926         (createUI): Return new instance rather than shared instance.
22927
22928 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22929
22930         * javax/swing/text/FieldView.java:
22931         (checkContainer): Call updateVisibility() at the end.
22932
22933 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22934
22935         * java/awt/event/MouseEvent.java:
22936         (paramString): Add value of 'consumed' variable in string.
22937
22938 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22939
22940         PR 26967
22941         * javax/swing/JTextField.java: Removed scrollOffset variable.
22942         (JTextField): Moved up initialization of horizontalVisibility field.
22943         (getScrollOffset): Implemented.
22944         (setScrollOffset): Implemented.
22945         (getHorizonztalVisibility): Removed note.
22946         (scrollRectToVisible): New method.
22947         * javax/swing/text/FieldView.java: Added cachedSpan variable.
22948         (checkContainer): New method.
22949         (updateVisibility): New method.
22950         (calculateHorizontalSpan): New method.
22951         (adjustAllocation): Removed unneeded local variables, added code
22952         to handle scrolling.
22953         (getPreferredSpan): Use new method calculateHorizontalSpan,
22954         avoid calculation by returning cached value cachedSpan.
22955         (paint): Added check whether the hosted component is a JTextField.
22956         (insertUpdate): Invalidate cached span value, update visibility
22957         if neccessary.
22958         (removeUpdate): Dito.
22959         (changeUpdate): Dito.
22960
22961 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22962
22963         * javax/swing/JInternalFrame.java
22964         (setTitle): Set old value to 'this.title', not 'title'.
22965
22966 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22967
22968         * javax/swing/JInternalFrame.java
22969         (AccessibleJInternalFrame.getAccessibleName): Implemented,
22970         (AccessibleJInternalFrame.getAccessibleRole): Implemented,
22971         (AccessibleJInternalFrame.getAccessibleValue): Implemented,
22972         (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
22973         (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
22974         (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
22975         (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
22976         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
22977         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
22978         (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue): 
22979         Implemented,
22980         (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue): 
22981         Implemented,
22982         (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue): 
22983         Implemented,
22984         (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue): 
22985         Implemented,
22986         (JInternalFrame()): Use "" for default title,
22987         (getAccessibleContext): Updated API docs,
22988         (getDesktopIcon): Likewise,
22989         (getLayer): Check for layer in client properties, and return 
22990         DEFAULT_LAYER if no setting is found,
22991         (getTitle): Updated API docs,
22992         (setDesktopIcon): Fire property change event.
22993
22994 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22995
22996         * javax/swing/ScrollPaneLayout.java (layoutContainer):
22997         Mind that the presence of one scroll bar may cause the
22998         need for another.
22999
23000 2006-04-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
23001
23002         * gnu/regexp/REToken.java(unicodeAware): New field,
23003         (toLowerCase, toUpperCase): New methods.
23004         * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
23005         gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
23006         Use toLowerCase and toUpperCase defined in REToken instead of
23007         those defined in java.lang.Character.
23008         * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
23009         (initialize): Sets unicodeAware of the generated REToken to false if
23010         REG_ICASE_USASCII is set.
23011         * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
23012         to lower case and keep the original value.
23013         (matchOneString): Use the new method charEquals to compare characters.
23014         (charEquals): New method to compare characters.
23015         * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
23016
23017 2006-04-12  David Gilbert  <david.gilbert@object-refinery.com>
23018
23019         * javax/swing/event/InternalFrameEvent.java:
23020         (paramString): Implemented,
23021         updated API docs all over.
23022         
23023 2006-04-12  Casey Marshall  <csm@gnu.org>
23024
23025         * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
23026         (Generator.setup): call `fillBlock.'
23027
23028 2006-04-12  Casey Marshall  <csm@gnu.org>
23029
23030         Fixes PR classpath/24481.
23031         * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
23032         initialize the adaptee.
23033         (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
23034         * gnu/java/security/prng/MDGenerator.java (addRandomByte,
23035         addRandomBytes): new methods.
23036
23037 2006-04-12  Tom Tromey  <tromey@redhat.com>
23038
23039         * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
23040         length strings.
23041
23042 2006-04-12  Lillian Angel  <langel@redhat.com>
23043
23044         * gnu/xml/dom/DomDocument.java
23045         (checkNCName): Removed unneeded part of check.
23046         * gnu/xml/dom/DomNode.java
23047         (dispatchEvent): Added code to grow ancestors array
23048         if needed. Changed checks to use depth of node instead.
23049         Fixes an infinite loop and segmentation fault.
23050         * gnu/xml/dom/html2/DomHTMLParser.java
23051         (handleEndTag): No need to use/make a copy of the node.
23052         Causes an infinite loop.
23053
23054 2006-04-12  Tom Tromey  <tromey@redhat.com>
23055
23056         PR classpath/27131:
23057         * java/util/BitSet.java (get): Early return if to==from.
23058
23059 2006-04-12  Mark Wielaard  <mark@klomp.org>
23060
23061         * java/security/SecureRandom.java (algorithm): New private field.
23062         (SecureRandom): Initialize algorithm.
23063         (SecureRandom(SecureRandomSpi,Provider,String)): New private
23064         constructor.
23065         (getInstance): Call 3 argument constructor.
23066         (getAlgorithm): New method.
23067
23068 2006-04-12  Mark Wielaard  <mark@klomp.org>
23069
23070         Port UncaughtExceptionHandler support from generics branch.
23071         * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
23072
23073 2006-04-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23074
23075         * java/lang/Thread.java:
23076         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
23077         Added docs and security check.
23078         (getUncaughtExceptionHandler()): Documented.
23079         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
23080         Added docs and security check.
23081         (getDefaultUncaughtExceptionHandler()): Documented.
23082         (getId()): Documented.
23083
23084 2006-04-12  Tom Tromey  <tromey@redhat.com>
23085
23086         * vm/reference/java/lang/VMThread.java (run): Use thread's
23087         uncaught handler.
23088         * java/lang/Thread.java (defaultHandler): New field.
23089         (setDefaultUncaughtExceptionHandler,
23090         getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
23091         getUncaughtExceptionHandler): New methods.
23092         * java/lang/ThreadGroup.java (ThreadGroup): Implements
23093         UncaughtExceptionHandler.
23094         (uncaughtException): Use getDefaultUncaughtExceptionHandler.
23095
23096 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
23097
23098         * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
23099         buffer. Loop only once to determine Utf8 length when possible. Make
23100         the inner loop bounded by buf.length.
23101         (getUTFlength): New private method.
23102         (buf): New private field.
23103
23104 2006-04-11  Lillian Angel  <langel@redhat.com>
23105
23106         * gnu/xml/dom/DomNodeIterator.java
23107         (nextNode): Moved line of code to avoid an infinite loop.
23108         * gnu/xml/dom/html2/DomHTMLAppletElement.java
23109         (getCls): New function.
23110         (setCls): Likewise.
23111         (getSrc): Likewise.
23112         (setSrc): Likewise.
23113         * gnu/xml/dom/html2/DomHTMLDocument.java:
23114         Added DomHTMLEmbedElement to map.
23115         (getApplets): Added node name, 'embed'.
23116         * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
23117         New class.
23118         * gnu/xml/dom/html2/DomHTMLObjectElement.java
23119         (getJavaCode): New function.
23120         (setJavaCode): Likewise.
23121         (getObject): Likewise.
23122         (setObject): Likewise.
23123         (getJavaObject): Likewise.
23124         (setJavaObject): Likewise.
23125         (getJavaArchive): Likewise.
23126         (setJavaArchive): Likewise.
23127         (getJavaCodeBase): Likewise.
23128         (setJavaCodeBase): Likewise.
23129         (getJavaType): Likewise.
23130         (setJavaType): Likewise.
23131         (setMayscript): Likewise.
23132         (getMayscript): Likewise.
23133         (setScriptable): Likewise.
23134         (getScriptable): Likewise.
23135         * gnu/xml/dom/html2/DomHTMLParser.java
23136         (parseDocument): Should not check for well formedness
23137         when parsing an html document.
23138         * java/awt/Window.java
23139         (dispatchEvent): Added check to avoid NPE.
23140
23141 2006-04-10  Tom Tromey  <tromey@redhat.com>
23142
23143         * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
23144         name.
23145         * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
23146         (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23147
23148 2006-04-10  Robert Schuster  <robertschuster@fsfe.org>
23149
23150         * javax/swing/plaf/basic/BasicTextUI.java:
23151         (getNextVisualPositionFrom): Marked as stub.
23152
23153 2006-04-10  Roman Kennke  <kennke@aicas.com>
23154
23155         * javax/swing/plaf/basic/BasicLookAndFeel.java
23156         (initSystemColorDefaults): Changed to use loadSystemColorDefaults
23157         and create the defaults as strings constants.
23158         (loadSystemColors): Implemented stubbed method.
23159
23160 2006-04-10  Tom Tromey  <tromey@redhat.com>
23161
23162         * .settings/org.eclipse.core.resources.prefs: Set encoding for
23163         ChangeLog.
23164
23165 2006-04-10  Tom Tromey  <tromey@redhat.com>
23166
23167         * java/io/CharArrayWriter.java (append): Javadoc fix.
23168         (append): Likewise.
23169
23170 2006-04-10  Tom Tromey  <tromey@redhat.com>
23171
23172         * javax/accessibility/AccessibleTextSequence.java: New file.
23173         * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
23174         field.
23175         (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
23176         EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
23177         FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
23178         SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23179         * javax/accessibility/AccessibleExtendedText.java: New file.
23180         * javax/accessibility/AccessibleContext.java
23181         (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
23182         (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
23183         (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
23184         * javax/accessibility/AccessibleAttributeSequence.java: New file.
23185         * javax/accessibility/AccessibleStreamable.java: New file.
23186         * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
23187         fix.
23188
23189 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23190
23191         * javax/swing/tree/AbstractLayoutCache.java 
23192         (getNodeDimensions, getRowsForPath): Implemented.
23193         * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
23194         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23195
23196 2006-04-10  Roman Kennke  <kennke@aicas.com>
23197
23198         * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
23199
23200 2006-04-10  Roman Kennke  <kennke@aicas.com>
23201
23202         * javax/swing/JInternalFrame.java
23203         (AccessibleJInternalFrame): Marked all stubbed methods as such
23204         by adding throws NotImplementedException.
23205
23206 2006-04-10  Roman Kennke  <kennke@aicas.com>
23207
23208         * javax/swing/JFileChooser.java
23209         (getAccessibleContext): Don't create a new instance on each
23210         call, instead store the accessible context in the
23211         accessibleContext field.
23212
23213 2006-04-10  Roman Kennke  <kennke@aicas.com>
23214
23215         * javax/swing/JComboBox.java
23216         (AccessibleJComboBox): Marked all stubbed methods as such
23217         by adding throws NotImplementedException.
23218
23219 2006-04-10  Roman Kennke  <kennke@aicas.com>
23220
23221         * javax/swing/ActionMap.java
23222         (readObject): Removed.
23223         (writeObject): Removed.
23224
23225 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23226
23227         * javax/swing/tree/DefaultTreeSelectionModel.java
23228         (addSelectionPaths, setSelectionPaths): Call 
23229         insureUniqueness. (clone, setRowMapper): Implemented.
23230         * TreePath (path): Marked final.
23231
23232 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23233
23234         * javax/swing/tree/DefaultTreeSelectionModel.java:
23235         Documented and autoformatted. (insureUniqueness):
23236         Removed stub marking.
23237
23238 2006-04-09  David Gilbert  <david.gilbert@object-refinery.com>
23239
23240         * javax/swing/SizeSequence.java
23241         (sizes): Don't initialise here,
23242         (SizeSequence(int, int)): Initialise sizes field,
23243         (SizeSequence(int[])): Clone argument instead of calling setSizes(),
23244         (setSize): Do nothing when index is out of bounds,
23245         (getIndex): Implemented,
23246         (setSizes): Reimplemented,
23247         (getSizes): Likewise,
23248         (insertEntries): Likewise,
23249         (removeEntries): Likewise,
23250         plus added API docs all over.
23251
23252 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org
23253
23254         * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
23255         one way message and retry after any IOException.
23256
23257 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23258
23259         * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
23260         Set the byte order.
23261
23262 2006-04-09  Wolfgang Baer  <WBaer@gmx.de>
23263
23264         * org/omg/PortableServer/ServantLocatorPOA.java: 
23265         (preinvoke, postinvoke): Remove default implementation.
23266         * org/omg/PortableServer/ServantActivatorPOA.java: 
23267         (incarnate, etherealize): Remove default implementation.        
23268         * org/omg/PortableInterceptor/ObjectReferenceFactory.java: 
23269         Extends from ValueBase and not from ObjectReferenceFactoryOperations.
23270         (make_object): Moved method from ObjectReferenceFactoryOperations.
23271         * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java: 
23272         Removed unspecified interface.  
23273         * org/omg/DynamicAny/_DynAnyStub.java:
23274         (_DynAnyStub(Delegate)): Removed constructor.
23275         * org/omg/DynamicAny/_DynArrayStub.java,
23276         * org/omg/DynamicAny/_DynAnyFactoryStub.java,
23277         * org/omg/DynamicAny/_DynEnumStub.java,
23278         * org/omg/DynamicAny/_DynFixedStub.java,
23279         * org/omg/DynamicAny/_DynSequenceStub.java,
23280         * org/omg/DynamicAny/_DynStructStub.java,
23281         * org/omg/DynamicAny/_DynUnionStub.java,
23282         * org/omg/DynamicAny/_DynValueStub.java: 
23283         Extend from ObjectImpl and not from _DynAnyStub.
23284         (type, next, destroy, copy, rewind, assign, component_count, 
23285         current_component, equal, from_any, get_any, get_boolean, get_char, 
23286         get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet, 
23287         get_reference, get_short, get_string, get_typecode, get_ulong, 
23288         get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
23289         insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
23290         insert_long, insert_longlong, insert_octet, insert_reference, 
23291         insert_short, insert_string, insert_typecode, insert_ulong, 
23292         insert_ulonglong, insert_ushort, insert_val, insert_wchar, 
23293         insert_wstring, seek, to_any): New methods copied from _DynAnyStub.             
23294         * org/omg/CosNaming/_BindingIteratorStub.java:
23295         (_BindingIteratorStub(Delegate)): Made package private.
23296         * org/omg/CosNaming/_NamingContextExtStub.java:
23297         (_NamingContextExtStub(Delegate)): Made package private.
23298         * org/omg/CosNaming/_NamingContextStub.java:
23299         (_NamingContextStub(Delegate)): Made package private.
23300         (throw4, throw5): Likewise.
23301         * gnu/CORBA/NamingService/NameParser.java (resolve): 
23302         Adapt to package private constructor. Use _set_delegate instead.        
23303         * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
23304         * org/omg/CORBA/ORB.java: 
23305         (create_recursive_sequence_tc): Made abstract.
23306         (get_default_context): Likewise.
23307         * gnu/CORBA/OrbRestricted.java: 
23308         (create_recursive_sequence_tc): New moved method.
23309         (get_default_context): Likewise.        
23310         * org/omg/CORBA/ParameterMode.java: 
23311         (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final. 
23312
23313 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23314
23315         * gnu/CORBA/GIOP/MessageHeader.java (write): 
23316         More informative exception.
23317         * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
23318         * gnu/CORBA/SocketRepository.java (get_socket):
23319         Removed debugging code.
23320
23321 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23322
23323         * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
23324         one way message, but ignore if EOF was received.
23325         * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
23326         Minor.EOF if the end of file is received instead of the header.
23327
23328 2006-04-09  Roman Kennke  <kennke@aicas.com>
23329
23330         * javax/swing/plaf/metal/MetalRootPaneUI.java
23331         (MetalTitlePane.IconifyAction): New inner class.
23332         (MetalTitlePane.MaximizeAction): New inner class.
23333         (MetalTitlePane.createActions): Create iconifyAction and
23334         maximizeAction.
23335         (MetalRootLayout.titlePane): New field.
23336         (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
23337         constructor.
23338         (MetalRootLayout.preferredLayoutSize): Changed to not make
23339         assumptions about the actual component order.
23340         (MetalRootLayout.layoutContainer): Changed to not make
23341         assumptions about the actual component order.
23342         (installWindowDecorations): Pass the titlePane as parameter to
23343         the MetalRootLayout constructor.
23344         (uninstallWindowDecorations): Changed to not make
23345         assumptions about the actual component order.
23346
23347 2006-04-08  Roman Kennke  <kennke@aicas.com>
23348
23349         * javax/swing/plaf/metal/MetalRootPaneUI.java
23350         (MetalTitlePane.MouseHandler): New inner class to handle dragging
23351         of frames.
23352         (MetalTitlePane.installListeners): Don't register a focus listener
23353         on the window. This is a potential memory leak and must be
23354         implemented on a different way. Install mouse listener here.
23355         (installWindowDecorations): Fixed assertion condition. Always
23356         insert the window decoration at index#1 in the layered 
23357         pane.
23358
23359 2006-04-08  Roman Kennke  <kennke@aicas.com>
23360
23361         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
23362         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
23363         Only resize window if actual width or height value changes.
23364         Avoids nasty flicker when only setLocation() is beeing called
23365         on a window.
23366
23367 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23368
23369         * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23370         exception if the magic sequence does not match.
23371
23372 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23373
23374         * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23375         response for the one way messages.
23376
23377 2006-04-08  Roman Kennke  <kennke@aicas.com>
23378
23379         * javax/swing/MenuSelectionManager.java
23380         (processKeyEvent): Implemented stub method.
23381         * javax/swing/JMenu.java
23382         (processKeyEvent): Implemented stub method.
23383         * javax/swing/JMenu.java
23384         (processKeyEvent): Implemented stub method.
23385         (processMenuKeyEvent): Implemented stub method.
23386
23387 2006-04-08  Roman Kennke  <kennke@aicas.com>
23388
23389         * javax/swing/AbstractAction.java
23390         (readObject): Removed unneeded method.
23391         (writeObject): Removed unneeded method.
23392
23393 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23394
23395         * javax/swing/plaf/synth/SynthPainter.java: 
23396         (paintSplitPaneDividerBorder): Removed.
23397
23398 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23399
23400         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java: 
23401         (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23402         No longer constants.
23403         (static_initializer): Added to initialize above fields.
23404         * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY, 
23405         MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23406         (static_initializer): Added to initialize above fields.
23407
23408 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23409
23410         * java/awt/Dialog.java: Improved documentation all over.
23411         (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23412         (Dialog(Dialog)): Likewise.
23413
23414 2006-04-08  Mark Wielaard  <mark@klomp.org>
23415
23416         * java/util/jar/JarFile.java (provider): New static field.
23417         (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23418         to `getInstance.'
23419
23420 2006-04-08  Mark Wielaard  <mark@klomp.org>
23421
23422         PR 27081
23423         * java/lang/StackTraceElement.java (toString): Don't add space
23424         between type and source indicator.
23425
23426 2006-04-07  Casey Marshall  <csm@gnu.org>
23427
23428         Fixes PR classpath/24464        
23429         * java/util/jar/JarFile.java (verify, verifyHashes,
23430         EntryInputStream.<init>): pass the Gnu provider directly to
23431         `getInstance.'
23432
23433 2006-04-08  Raif S. Naffah  <raif@swiftdsl.com.au>
23434
23435         PR classpath/27071
23436         * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23437         (DIGEST0): Use version 3 test vector.
23438         (Sd): Removed.
23439         (S_box): New field: Version 3 S-box values.
23440         (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23441         (transform): Formating.
23442         (padBuffer): Likewise.
23443         (getResult): Likewise.
23444         (selfTest): Likewise.
23445
23446 2006-04-07  Tom Tromey  <tromey@redhat.com>
23447
23448         * java/util/InvalidPropertiesFormatException.java
23449         (serialVersionUID): New field.
23450         (readObject, writeObject): New methods.
23451         * java/util/Arrays.java (toString): Javadoc fixes.
23452         * java/net/URLConnection.java: Cleaned up imports.
23453         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23454         * java/lang/reflect/MalformedParameterizedTypeException.java
23455         (serialVersionUID): New field.
23456         * java/lang/reflect/GenericSignatureFormatError.java
23457         (serialVersionUID): New field.
23458         * java/lang/Class.java (Class): Javado fixes.
23459         (getComponentType): Likewise.
23460         (getGenericInterfaces): Likewise.
23461         (getTypeParameters): Likewise.
23462         * java/io/CharArrayWriter.java (append): Javadoc fixes.
23463         * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23464         New field.
23465         * java/lang/TypeNotPresentException.java (serialVersionUID): New
23466         field.
23467         * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23468         New field.
23469
23470 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
23471
23472         * java/awt/Dialog.java 
23473         (AccessibleAWTDialog): Added api docs
23474         (AccessibleAWTDialog.getAccessibleStateSet):
23475          Renamed from getAccessibleState.
23476         * java/awt/Frame.java 
23477         (AccessibleAWTFrame): Added api docs
23478         (AccessibleAWTFrame.getAccessibleStateSet):
23479          Renamed from getAccessibleState.
23480
23481 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
23482
23483         * java/awt/Dialog.java: Reformatted.
23484
23485 2006-04-07  Lillian Angel  <langel@redhat.com>
23486
23487         * java/awt/Component.java
23488         (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23489         HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23490
23491 2006-04-07  Tom Tromey  <tromey@redhat.com>
23492
23493         * java/beans/beancontext/BeanContextMembershipEvent.java
23494         (serialVersionUID): New field.
23495         * java/beans/beancontext/BeanContextServicesSupport.java
23496         (addBeanContextServicesListener): Synchronize.
23497         (addService): Implemented.
23498         (createBCSChild): Implemented.
23499         (BCSSChild): Added arguments.
23500         (fireServiceAdded): Implemented.
23501         (fireServiceRevoked): Implemented.
23502         (getCurrentServiceSelectors): Implemented.
23503         (hasService): Implemented.
23504         (removeBeanContextServicesListener): Implemented.
23505         (serviceAvailable): Implemented.
23506         (serviceRevoked): Implemented.
23507         * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23508         arguments.
23509         (createBCSChild): Implemented.
23510         (BeanContextSupport): 
23511         (addBeanContextMembershipListener): Synchronize.
23512         (fireChildrenAdded): Implemented.
23513         (fireChildrenRemoved): Implemented.
23514         (BeanContextSupport): Use default locale.
23515         (isEmpty): Implemented.
23516         (isDesignTime): Implemented.
23517         (size): Implemented.
23518         (toArray): Synchronized.
23519         (toArray): Likewise.
23520         (iterator): Likewise.
23521         (BCSIterator): Implemented.
23522         (bcsChildren): Implemented.
23523         (validatePendingAdd): Implemented.
23524         (validatePendingRemove): Likewise.
23525         (childJustAddedHook): Implemented.
23526         (childJustRemovedHook): Likewise.
23527         (classEquals): Likewise.
23528         (toArray): Mark as stub.
23529         (setDesignTime): Implemented.
23530         (copyChildren): Implemented.
23531         (containsKey): Implemented.
23532         (contains): Likewise.
23533         (containsAll): Likewise.
23534         (getResource): Implemented.
23535         (getResourceAsStream): Likewise.
23536         (removeBeanContextMembershipListener): Likewise.
23537         * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23538         (serialVersionUID): New field.
23539         * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23540         (serialVersionUID): New field.
23541         * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23542         fix.
23543
23544 2006-04-06  Roman Kennke  <kennke@aicas.com>
23545
23546         PR 26937
23547         * javax/swing/MenuSelectionManager.java
23548         (setSelectedPath): Search one more item in the loop.
23549         
23550 2006-04-06  Tom Tromey  <tromey@redhat.com>
23551
23552         * java/awt/image/renderable/RenderableImageProducer.java
23553         (image, context, consumers): New fields.
23554         (RenderableImageProducer): Implemented.
23555         (setRenderContext): Likewise.
23556         (addConsumer): Likewise.
23557         (isConsumer): Likewise.
23558         (removeConsumer): Likewise.
23559         (startProduction): Likewise.
23560
23561 2006-04-06  Roman Kennke  <kennke@aicas.com>
23562
23563         * java/awt/Component.java
23564         (AccessibleAWTComponent.getBounds): Return the component
23565         bounds regardless of its showing state.
23566         (AccessibleAWTComponent.getLocation): Return the component
23567         location regardless of its showing state.
23568         (AccessibleAWTComponent.getSize): Return the component
23569         size regardless of its showing state.
23570
23571 2006-04-06  Roman Kennke  <kennke@aicas.com>
23572
23573         * javax/swing/JRootPane.java
23574         (getAccessibleContext): New method. Provides an accessibleContext
23575         for JRootPanes.
23576
23577 2006-04-06  Roman Kennke  <kennke@aicas.com>
23578
23579         * java/awt/Toolkit.java
23580         (initAccessibility): Use the 'gnu.classpath.home.url' property
23581         to determine the system confiuration directory.
23582         * java/awt/Component.java
23583         (dispatchEvent): Trigger Toolkit dispatching here.
23584         (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23585         so it can't be overridden by subclasses and is performed in
23586         any case.
23587
23588 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23589         
23590         * javax/naming/Binding.java: Added API docs.
23591         * javax/naming/NameClassPair.java: Added API docs.
23592         (fullName): New field.
23593         (setNameInNamespace): New 1.5 method.
23594         (getNameInNamespace): Likewise.
23595
23596 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23597
23598         * javax/naming/CompositeName.java: 
23599         (readObject): New deserialization method.
23600         (writeObject): New serialization method.
23601
23602 2006-03-29  Nektarios K. Papadopoulos  <npapadop at inaccessnetworks.com>
23603
23604         * javax/security/auth/x500/X500Principal.java
23605         (readAttributeValue) Check for separator after quoted value was
23606         failing in all cases.
23607
23608 2006-04-06  Mark Wielaard  <mark@klomp.org>
23609
23610         * java/lang/Class.java (getClassLoader): Don't do security check
23611         when loader is null.
23612
23613 2006-04-06  Roman Kennke  <kennke@aicas.com>
23614
23615         * java/awt/Toolkit.java
23616         (getDefaultToolkit): Initialize accessibility after setting
23617         up the toolkit.
23618         (initAccessibility): New helper method to setup accessibility.
23619
23620 2006-04-06  Roman Kennke  <kennke@aicas.com>
23621
23622         * javax/swing/AbstractButton.java
23623         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23624         (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23625         stub.
23626         (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23627         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23628         (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23629         (AccessibleAbstractButton.getCharCount): Implemented stub.
23630         (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23631         (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23632         (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23633         (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23634         (AccessibleAbstractButton.getSelectedText): Implemented stub.
23635         (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23636         private method.
23637
23638 2006-04-06  Roman Kennke  <kennke@aicas.com>
23639
23640         * java/awt/Component.java
23641         (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23642         state here. This is only done in JComponent.
23643         * javax/swing/JComponent.java
23644         (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23645         here.
23646         (getNextFocusableComponent): Implemented stub method.
23647         (grabFocus): Implemented stub method.
23648         (unregisterKeyboardAction): Implemented stub method.
23649         (setNextFocusableComponent): Implemented stub method.
23650         * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23651         This is a helper class for providing compatibility with the older
23652         Swing focus API.
23653
23654 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23655
23656         Fixes bug #26995
23657         * javax/naming/directory/BasicAttribute.java,
23658         * javax/naming/directory/BasicAttributes.java: 
23659         (readObject): New deserialization method.
23660         (writeObject): New serialization method.
23661
23662 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23663
23664         * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23665         (getErrorHandler): Made method abstract.
23666         (setErrorHanlder): Likewise.
23667         * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23668         (getErrorHandler): Implement abstract method from superclass.
23669         (setErrorHandler): Likewise.
23670         (errorHandler): New field.
23671         * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:     
23672         (getErrorHandler): Implement abstract method from superclass.
23673         (setErrorHandler): Likewise.
23674         (errorHandler): New field.      
23675         * javax/xml/XMLConstants.java: Corrected since tag.
23676         (XMLConstants): Added private constructor.
23677         * javax/xml/datatype/Duration.java: Corrected since tag.
23678         (multiply): Made method abstract.
23679         * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23680         (DatatypeConstants): Added private constructor.
23681         * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23682         (XPathConstants): Added private constructor.
23683
23684 2006-04-05  Tom Tromey  <tromey@redhat.com>
23685
23686         * javax/security/auth/kerberos/ServicePermission.java: Now final.
23687
23688 2006-04-05  Tom Tromey  <tromey@redhat.com>
23689
23690         PR libgcj/26625:
23691         * lib/Makefile.am (compile-classes): Touch the output file.
23692
23693 2006-04-05  Roman Kennke  <kennke@aicas.com>
23694
23695         * javax/swing/AbstractButton.java
23696         (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23697         of the focused state. This is already done in AccessibleAWTComponent.
23698
23699 2006-04-05  Roman Kennke  <kennke@aicas.com>
23700
23701         * javax/swing/JComponent.java
23702         (accessibleContext): Fixed API doc for this field.
23703         (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23704         (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23705         Implemented and added API docs.
23706         (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23707         Implemented and added API docs.
23708         (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23709         (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23710         Implemented and added API docs.
23711         (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23712         Implemented and added API docs.
23713         (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23714         (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23715         (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23716         (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23717         (AccessibleJComponent.getAccessibleStateSet): Simply return
23718         super here. Added comment about this.
23719
23720 2006-04-05  Roman Kennke  <kennke@aicas.com>
23721
23722         * javax/swing/JComponent.java
23723         (AccessibleJComponent.addPropertyChangeListener): Install
23724         ContainerHandler and FocusHandler here.
23725         (AccessibleJComponent.removePropertyChangeListener): Uninstall
23726         ContainerHandler and FocusHandler here.
23727         (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23728         by super.getAccessibleChildrenCount().
23729         (AccessibleJComponent.getAccessibleChild): Replaced
23730         by super.getAccessibleChild().
23731         (AccessibleJComponent.getAccessibleStateSet): Implemented by
23732         adding OPAQUE to the supported states.
23733         (AccessibleJComponent.getAccessibleName): Added titled border
23734         and label fallbacks.
23735         (AccessibleJComponent.getAccessibleDescription): Added tooltip
23736         and label fallbacks.
23737         (AccessibleJComponent.getAccessibleRole): Removed TODO.
23738         (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23739         explaining why return null seems correct here.
23740         * javax/swing/JLabel.java
23741         (LABEL_PROPERTY): New constant.
23742         (setLabelFor): Store label in labeled component's client properties
23743         for the AccessibleJComponent to read.
23744
23745 2006-04-05  Tom Tromey  <tromey@redhat.com>
23746
23747         * java/util/zip/ZipFile.java (available): Defer to super if
23748         entry's size is unknown.
23749
23750 2006-04-05  Tom Tromey  <tromey@redhat.com>
23751
23752         * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23753         property with mime.types name.
23754         * gnu/classpath/SystemProperties.java: Set
23755         gnu.classpath.mime.types.file if not already set.
23756         * java/net/URLConnection.java (defaultFactory): New field.
23757         (guessContentTypeFromStream): Mark as unimplemented.
23758         (getContentHandler): Updated with libgcj's implementation.
23759         * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23760         from libgcj.
23761
23762 2006-04-05  Bryce McKinlay  <mckinlay@redhat.com>
23763
23764         PR classpath/27028
23765         PR classpath/24752
23766         * java/util/AbstractList.java (hasNext): Don't throw
23767         ConcurrentModificationException. Update Javadoc.
23768         (hasPrevious): Likewise.
23769         (nextIndex): Likewise.
23770         (previousIndex): Likewise.
23771         * java/util/HashMap.java (hasNext): Likewise.
23772         * java/util/Hashtable.java (hasNext): Likewise.
23773         * java/util/IdentityHashMap.java (hasNext): Likewise.
23774         * java/util/LinkedHashMap.java (hasNext): Likewise.
23775         * java/util/LinkedList.java (nextIndex): Likewise.
23776         (previousIndex): Likewise.
23777         (hasNext): Likewise.
23778         (hasPrevious): Likewise.
23779         * java/util/TreeMap.java (hasNext): Likewise.
23780         * java/util/WeakHashMap.java (hasNext): Likewise.
23781
23782 2006-04-05  Roman Kennke  <kennke@aicas.com>
23783
23784         * javax/swing/AbstractButton.java
23785         (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23786         (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23787         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23788         (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23789         (AccessibleAbstractButton.getAccessibleActionDescription):
23790         Implemented stub.
23791         (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23792         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23793         (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23794         (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23795         (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23796         (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23797
23798 2006-04-05  Roman Kennke  <kennke@aicas.com>
23799
23800         * javax/swing/JComboBox.java
23801         (selectWithKeyChar): Implemented stubbed method.
23802
23803 2006-04-05  Roman Kennke  <kennke@aicas.com>
23804
23805         * javax/swing/LookAndFeel.java
23806         (installProperty): New method. Allows primitive typed properties
23807         to be handled like UIResources.
23808         * javax/swing/AbstractButton.java
23809         (clientBorderPaintedSet): New field.
23810         (clientRolloverEnabledSet): New field.
23811         (clientIconTextGapSet): New field.
23812         (clientContentAreaFilledSet): New field.
23813         (setRolloverEnabled): Set the client field to true.
23814         (setBorderPainted): Likewise.
23815         (setIconTextGap): Likewise.
23816         (setContentAreaFilled): Likewise.
23817         (setUIProperty): New helper method.
23818         * javax/swing/JComponent.java
23819         (clientOpaqueSet): New field.
23820         (clientAutoscrollsSet): New field.
23821         (setAutoscrolls): Set the client field to true.
23822         (setOpaque): Likewise.
23823         (setUIProperty): New helper method.
23824         * javax/swing/JDesktopPane.java
23825         (clientDragModeSet): New field.
23826         (setDragMode): Set the client field to true.
23827         (setUIProperty): New helper method.
23828         * javax/swing/JSplitPane.java
23829         (clientDividerSizeSet): New field.
23830         (clientOneTouchExpandableSet): New field.
23831         (setDividerSize): Set the client field to true.
23832         (setOneTouchExpandable): Likewise.
23833         (setUIProperty): New helper method.
23834         * javax/swing/JTable.java
23835         (clientRowHeightSet): New field.
23836         (setRowHeight): Set the client field to true.
23837         (setUIProperty): New helper method.
23838         * javax/swing/JTree.java
23839         (clientRowHeightSet): New field.
23840         (clientScrollsOnExpandSet): New field.
23841         (clientShowsRootHandlesSet): New field.
23842         (setRowHeight): Set the client field to true.
23843         (setShowsRootHandles): Likewise.
23844         (setScrollsOnExpand): Likewise.
23845         (setUIProperty): New helper method.
23846
23847 2006-04-05  Roman Kennke  <kennke@aicas.com>
23848
23849         * java/awt/Component.java
23850         (getFont): Don't request the font from the peer's graphics. The
23851         graphics should instead get the font from the Component, which might
23852         result in a loop.
23853         (getFocusCycleAncestor): Don't special case Window.
23854         (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23855         to here. Correctly determine the focus cycle root.
23856         (transferFocusBackward): Likewise.
23857         (transferFocusUpCycle): Likewise.
23858         * java/awt/Container.java
23859         (transferFocusDownCycle): Moved implementation from
23860         DefaultKeyboardFocusManager to here.
23861         * java/awt/DefaultKeyboardFocusManager.java
23862         (focusPreviousComponent): Moved implementation to
23863         Component.transferFocusBackward().
23864         (focusNextComponent): Moved implementation to
23865         Component.nextFocus().
23866         (upFocusCycle): Moved implementation to
23867         Component.transferFocusUpCycle().
23868         (downFocusCycle): Moved implementation to
23869         Container.transferFocusDownCycle().
23870
23871 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23872
23873         * java/awt/image/ComponentSampleModel.java
23874         (equals): Implemented,
23875         (hashCode): Likewise.
23876
23877 2006-04-05  Jeroen Frijters  <jeroen@frijters.net>
23878
23879         * java/lang/Class.java
23880         (cast): New method.
23881
23882 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23883
23884         * java/awt/image/ComponentSampleModel.java
23885         (getBankIndices): Return a copy of the array, not a reference to the
23886         original,
23887         (getBandOffsets): Likewise.
23888
23889 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23890
23891         * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23892
23893 2006-04-04  Tom Tromey  <tromey@redhat.com>
23894
23895         * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23896
23897 2006-04-04  Tom Tromey  <tromey@redhat.com>
23898
23899         * java/net/MimeTypeMapper.java (mime_types): No longer static.
23900         (MimeTypeMapper): Initialize.
23901         (fillFromFile): New method.
23902         (main): New method.
23903         (mime_strings): Updated.
23904
23905 2006-04-04  Tom Tromey  <tromey@redhat.com>
23906
23907         * lib/gen-classlist.sh.in: Correct handle generated files.
23908
23909 2006-04-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
23910
23911         * gnu/regexp/CharIndexed.java(setAnchor): New method.
23912         * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23913         * gnu/regexp/CharIndexedCharSequence.java: New file.
23914         * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23915         gnu.regexp.CharIndexedCharSequence.
23916         * gnu/regexp/CharIndexedString.java: Likewise.
23917         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23918         * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23919         using CharIndexedCharSequence. Use setAnchor when the input
23920         object is already a CharIndexed.
23921         * java/util/regex/Matcher.java(inputCharIndexed): New field
23922         to be used as a parameter of the RE#getMatch.
23923
23924 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23925
23926         * java/awt/image/SampleModel.java: Reformatted.
23927
23928 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23929
23930         * java/awt/image/ComponentSampleModel.java
23931         (ComponentSampleModel(int, int, int, int, int[])): Added API 
23932         documentation,
23933         (ComponentSampleModel(int, int, int, int, int[], int[]): Throw 
23934         IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23935         of the bandOffsets and bankIndices arguments, added API documentation,
23936         * java/awt/image/SampleModel.java
23937         (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23938         unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23939         less than or equal to zero, added API documentation.
23940
23941 2006-04-04  Lillian Angel  <langel@redhat.com>
23942
23943         * java/util/zip/ZipFile.java
23944         (getInputStream): Fixed to return size of ZipEntry
23945         minus the total bytes read. This guarantees that the 
23946         right value is returned even if some bytes have already
23947         been read.
23948
23949 2006-04-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
23950
23951         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23952         Remove static modifier.
23953
23954 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23955
23956         * java/awt/image/ComponentSampleModel.java: Reformatted.
23957
23958 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
23959
23960         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23961         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23962         retrieval instructions to javadoc header.
23963         * javax/imageio/ImageWriteParam.java: Fix javadoc for
23964         compressionType field.
23965         * lib/Makefile.am (propertydirs): Add javax directory.
23966         (propertyfiles): Likewise.
23967         * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
23968         New file.
23969
23970 2006-04-03  Tom Tromey  <tromey@redhat.com>
23971
23972         PR classpath/26971:
23973         * javax/naming/directory/BasicAttribute.java: Added missing @since.
23974         (BasicAttributeEnumeration.where): Initialize to 0.
23975         (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
23976
23977 2006-04-03  Lillian Angel  <langel@redhat.com>
23978
23979         PR classpath/24596 and PR classpath/26930
23980         * java/util/zip/ZipFile.java
23981         (getInputStream): Override available function for 
23982         InflaterInputStream instance.
23983
23984 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
23985
23986         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
23987
23988 2006-04-03  Tom Tromey  <tromey@redhat.com>
23989
23990         * javax/security/auth/kerberos/ServicePermission.java: New file.
23991         * javax/security/auth/kerberos/DelegationPermission.java: New file.
23992         * javax/security/auth/kerberos/KerberosKey.java: New file.
23993         * javax/security/auth/kerberos/KeyImpl.java: New file.
23994         * javax/security/auth/kerberos/KerberosTicket.java: New file.
23995         * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
23996
23997 2006-04-03  Sven de Marothy  <sven@physto.se>
23998
23999         * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
24000         non-GtkImage images.
24001
24002 2006-04-03  Mark Wielaard  <mark@klomp.org>
24003
24004         * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
24005         as temporary file name.
24006
24007 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
24008
24009         * INSTALL: Documented --with-glibj-zip option.
24010
24011 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
24012
24013         Fixed all pscan warnings.
24014
24015         * native/jni/classpath/jcl.c (JCL_ThrowException),
24016         native/jni/classpath/jcl.h (DBG),
24017         native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
24018         native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
24019         Use "%s" format in fprintf and snprintf explicitely when printing a single 
24020         string to prevent format string exploits.
24021         
24022         * native/jni/java-net/javanet.h (DBG): Removed duplicate
24023         definition. Included jcl.h instead.
24024  
24025 2006-04-03  Raif S. Naffah  <raif@swiftdsl.com.au>
24026
24027         * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
24028         (provider): Made it protected.
24029         (providerInstalled): New field.
24030         (Main): Made it a 0-arguments constructor.
24031         Removed throws clasue.
24032         (main): Removed throws clause.
24033         Call processArgs(args) after constructing instance.
24034         Call teardown() before existing.
24035         (processArgs): Added javadoc.
24036         Reduced to throws Exception.
24037         (start): Likewise.
24038         (teardown): New method.
24039         (setupCommonParams): Added javadoc.
24040         Install designated provider if not already installed.
24041         (installNewProvider): New method.
24042         (setupSigningParams): Added javadoc.
24043         Instantiate the KeyStore using type only.
24044         * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
24045         Removed unused imports.
24046         (start): Reduced to throws Exception.
24047         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
24048         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
24049         Re-organized imports.
24050         * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
24051         Test ignoring case.
24052         (getNames): Add "dsa" as an algorithm provided by this Factory.
24053         (makeInstance): Construct IllegalArgumentException with 2 arguments.
24054
24055 2006-04-03  Roman Kennke  <kennke@aicas.com>
24056
24057         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
24058         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
24059         Replaced g_free() with pango_item_free() to avoid problems
24060         with the allocator.
24061
24062 2006-04-03  Rafael H. Schloming  <rafaels@redhat.com>
24063
24064         Fixes bug #26668
24065         * java/util/logging/Level.java (parse): Document.
24066         * java/util/logging/LogManager.java (rootLogger): Removed.
24067         (LogManager): Just set loggers to new HashMap.
24068         (getLogManager): Make synchronized. Create and init LogManager if it
24069         doesn't exist yet.
24070         (static): Removed block.
24071         (MANAGER_PROPERTY): New private final string.
24072         (makeLogManager): Use new property string, move warning to
24073         createInstance() method.
24074         (CONFIG_PROPERTY): New private final string.
24075         (initLogManager): New method.
24076         (addLogger): Use Logger.root, not rootLogger.
24077         (findAncestor): Likewise.
24078         (readConfiguration): Move warning to createInstance() method.
24079         Add handlers directly to Logger.root. Warn about bad level values.
24080         (getClassProperty): Use new locateClass() method.
24081         (getInstanceProperty): Only catch specific newInstance Errors.
24082         (createInstance): Make private and takes a string to use in warning
24083         messages. Use new locateClass() method and generate appropriate
24084         warning message.
24085         (warn): New methods.
24086         (locateClass): Locates a class through the context class loader and
24087         system class loader as backup.
24088         * java/util/logging/Logger.java (root): New static final field.
24089         (Logger): Set parent to root.
24090         (setParent): Directly check root field.
24091
24092 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24093
24094         * java/util/Collections.java:
24095         (binarySearch(List, T)): Fixed signature.
24096         (unmodifiableList(List)): Likewise.
24097         (UnmodifiableList(List)): Fixed constructor.
24098         (UnmodifiableRandomAccessList(List)): Likewise.
24099         (unmodifiableMap(Map)): Fixed signature.
24100         (UnmodifiableMap(Map)): Fixed constructor.
24101         (unmodifiableSortedMap(Map)): Fixed signature.
24102         (UnmodifiableSortedMap(Map)): Fixed constructor.
24103         
24104 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24105
24106         * java/io/ObjectOutputStream.java:
24107         (writeObject(Object)): Added enum support.
24108         (writeClassDescriptor(ObjectStreamClass)): Likewise.
24109         * java/io/ObjectStreamClass.java:
24110         (isEnum()): New package-private method.
24111         (setFlags(Class)): Added enum support.
24112         * java/io/ObjectStreamConstants.java:
24113         (SC_ENUM): Added.
24114         
24115 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24116
24117         * javax/swing/text/Segment.java:
24118         (setPosition): Make exception message more verbose.
24119         * javax/swing/text/WrappedPlainView.java:
24120         (insertUpdate): Removed unneeded repaint call.
24121         (changeUpdate): Dito.
24122         (removeUpdate): Dito.
24123         (WrappedLine.determineNumLines): Do not return numLines, break
24124         from loop if no new break point has been calculated.
24125         (WrappedLine.updateDamage): Rewritten.
24126         (WrappedLine.insertUpdate): Removed unneeded update code.
24127         (WrappedLine.removeUpdate): Removed unneeded update code, added
24128         comment.        
24129
24130 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
24131
24132         * configure.ac (with-glibj-zip): Added new option.
24133
24134         * examples/Makefile.am,
24135         lib/Makefile.am,
24136         tools/Makefile.am: Adapted build classpath to use glibj.zip,
24137         in addition to classes in lib directory.
24138
24139 2006-04-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24140
24141         * tools/gnu/classpath/tools/giop/GRMIC.java,
24142         tools/gnu/classpath/tools/giop/IorParser.java,
24143         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
24144         tools/gnu/classpath/tools/giop/grmic/Generator.java,
24145         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
24146         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
24147         tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
24148         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
24149         tools/gnu/classpath/tools/rmi/RMIC.java,
24150         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
24151         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
24152         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
24153         linking exception from the licensing header.
24154         * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24155         Added licensing header.
24156
24157 2006-04-02  Mark Wielaard  <mark@klomp.org>
24158
24159         * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
24160         (jarsigner): Removed.
24161
24162 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
24163
24164         * configure.ac: don't check for isnan function.
24165         * native/fdlibm/fdlibm.h: Always use the isnan macro.
24166
24167 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
24168
24169         * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
24170         * tools/Makefile.am: Generate jarsigner shell script.
24171         * tools/jarsigner.sh.in: New template.
24172         * tools/.cvsignore: Added jarsigner.sh.
24173
24174 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
24175
24176         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
24177         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24178         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24179         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24180         * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
24181         Re-organised imports.
24182
24183 2006-04-01  Bernhard Rosenkraenzer  <bero@arklinux.org>
24184
24185         PR classpath/25924:
24186         * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
24187         Handle case where alpha==0.
24188
24189 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24190
24191         PR #26676
24192         * javax/swing/text/Utilities.java:
24193         (getTabbedTextOffset): Added check to decrement pos not below zero,
24194         changed '>' comparison to '>='.
24195         * javax/swing/text/WrappedPlainView.java:
24196         (lineHeight): New field.
24197         (calculateBreakPosition): Throw InternalError in catch block, removed
24198         unneeded brackets, use specific version of
24199         Utilities.getTabbedTextOffset.
24200         (paint): Set various properties neccessary for drawing.
24201         (WrappedLine.paint): Removed code to set field of outer class.
24202         (WrappedLine.modelToView): Removed unneeded expression from
24203         if-statement.
24204         (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
24205         -1 from return statement, copy only a subset into the Segment, removed
24206         special handling of mark value - just return it, simplified
24207         incrementation of currLineStart.
24208         (WrappedLine.insertUpdate): Recalculate numLines, report preference
24209         change to parent view.
24210         (WrappedLine.removeUpdate): Dito.
24211
24212 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24213
24214         * javax/swing/text/Segment.java:
24215         (toString): Return empty string when array is null.
24216
24217 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24218
24219         * javax/swing/plaf/basic/BasicTextUI.java:
24220         (damageRange): Use SwingUtilities.computeUnion to avoid
24221         unneccessary Rectangle instantiation.
24222
24223 2006-04-01  Tom Tromey  <tromey@redhat.com>
24224
24225         * java/security/cert/Certificate.java (serialVersionUID): Fixed.
24226
24227 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24228
24229         * javax/swing/text/CompositeView.java: Fixed copyright header.
24230         * javax/swing/text/BoxView.java: Fixed copyright header.
24231         * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
24232         * javax/swing/text/Utilities.java: Fixed copyright header.
24233
24234 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24235
24236         * javax/swing/text/CompositeView.java:
24237         (modelToView): Throw BadLocationException when no child
24238         view can be found, restructed to throw exception as early
24239         as possible.
24240         (viewToModel): Use mutable allocation as argument for viewToModel
24241         call on child view.
24242         * javax/swing/text/BoxView.java:
24243         (getViewAtPoint): Call setBounds() r before method returns with
24244         suitable child view.
24245         * javax/swing/text/Utilities.java:
24246         (getPositionBelow): Added try-catch-block around modelToView call,
24247         added method return when BadLocationException was thrown.
24248         * javax/swing/text/WrappedPlainView.java:
24249         (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
24250         added note about meaning of rect.x and rect.width, removed unneeded
24251         checks, added code to not return the last possible document offset.
24252
24253 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24254
24255         * javax/swing/text/WrappedPlainView.java:
24256         (WrappedLine.viewToModel): Change < to <= in if-statement,
24257         removed addition of currLineStart to return value.
24258         * javax/swing/text/BoxView.java:
24259         (getViewAtPoint): Use copy instead of r for method call
24260         which modifies the second argument.
24261
24262 2006-04-01  Mark Wielaard  <mark@klomp.org>
24263
24264         Fixes PR26973
24265         * java/util/jar/Attributes.java: Fully qualify java.util.Map.
24266
24267 2006-03-31  Tom Tromey  <tromey@redhat.com>
24268
24269         * lib/split-for-gcj.sh: Updated for multi-field format.
24270         * lib/Makefile.am (CLEANFILES): Added classes.2.
24271         * lib/gen-classlist.sh.in (GCJ): Removed.  Create classes.1 and
24272         classes.2 using multiple fields.
24273
24274 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24275
24276         * javax/swing/JTable.java (columnSelectionChanged):
24277         Removed print statement.
24278         * javax/swing/DefaultListSelectionModel.java
24279         (addSelectionInterval, removeSelectionInterval):
24280         Fire the difference between selection. (setLeadSelectionIndex):
24281         Fire the difference and mark current and previous lead
24282         selection indexes for repaint.
24283
24284 2006-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
24285
24286         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
24287         unnecessary copying.
24288         * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
24289
24290 2006-03-31  Lillian Angel  <langel@redhat.com>
24291
24292         * java/awt/Component.java
24293         (translateEvent): oldKey should be the value of the
24294         key char.
24295
24296 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24297
24298         * javax/swing/JTable.java (columnSelectionChanged):
24299         Treat second repaint parameter as width.
24300
24301 2006-03-31  Lillian Angel  <langel@redhat.com>
24302         
24303         PR classpath/26924
24304         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
24305         (realize): New native function.
24306         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
24307         Added new function declaration.
24308         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
24309         (realize): New function.
24310
24311 2006-03-31  Robert Schuster  <robertschuster@fsfe.org>
24312         
24313         * javax/swing/text/GapContent.java:
24314         (replace): Move all Position instances from gap's end to
24315         it's start before increasing the gap start.
24316         * javax/swing/plaf/basic/BasicTextAreaUI.java:
24317         (propertyChanged): Update the view only instead of
24318         indicating a document change.
24319
24320 2006-03-31  Roman Kennke  <kennke@aicas.com>
24321
24322         * javax/swing/JTextField.java
24323         (fireActionPerformed): Put the textfields text in the action
24324         instead of the action name.
24325
24326 2006-04-01  Raif S. Naffah  <raif@swiftdsl.com.au>
24327
24328         * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
24329         Check for null jar-file argument.
24330         (setupSigningParams): Check for null alias argument.
24331
24332 2006-03-31  Roman Kennke  <kennke@aicas.com>
24333
24334         * javax/swing/JComponent.java
24335         (paintChildren): Split up in two cases, depending on the
24336         optimizedDrawingEnabled flag.
24337         (paintChildrenWithOverlap): New method. Paints children when
24338         not optimizedDrawingEnabled. This implements better painting
24339         algorithm for overlapping components, so that the painted
24340         regions are minimized.
24341         (paintChildrenOptimized): New method. Paints children when
24342         when optimizedDrawingEnabled. This implements a painting
24343         algorithm that is optimized for the case when all children
24344         are guaranteed to be tiled.
24345
24346 2006-03-31  Raif S. Naffah  <raif@swiftdsl.com.au>
24347
24348         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
24349         Attributes.putValue(String,String).
24350         (finishSigning): Likewise.
24351         * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
24352         (SIGNATURE_VERSION): Likewise.
24353         (readSFManifest): Use local string constant.
24354         (readMainSection): Likewise.
24355         (readVersionInfo): Likewise.
24356         * java/util/jar/Attributes.java (MANIFEST_VERSION):
24357         Redefined using JarUtils constant.
24358         (SIGNATURE_VERSION): Likewise.
24359         (putValue(Name,String)): Made it private.
24360
24361 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24362
24363         * javax/swing/DefaultListSelectionModel.java (fireDifference):
24364         New method. (clearSelection): Rewritten. (setSelectionInterval):
24365         Fire the difference between current and new selection.
24366         * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24367         Only repaint the region, where selection has been changed.
24368         * javax/swing/plaf/basic/BasicTableUI.java 
24369         (TableAction.actionPerformed): Do not change the column selection
24370         when only row selection change is wanted (and in reverse) and 
24371         do not call the repaint() here.
24372
24373 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
24374
24375         Fixes bug #26951
24376         * javax/swing/DefaultComboBoxModel.java
24377         (DefaultComboBoxModel(Vector)): Call getSize() instead of 
24378         vector.size(),
24379         (addElement): Call list.addElement() rather than list.add(), and only
24380         update selected item if it is currently null,
24381         (removeElementAt): Update selected item, then remove the element.
24382
24383 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
24384
24385         Fixes bug #26955
24386         * java/awt/geom/Point2D.java
24387         (distanceSq(double, double)): Fixed order of arguments,
24388         (distanceSq(Point2D)): Likewise,
24389         (distance(double, double)): Likewise,
24390         (distance(Point2D)): Likewise.
24391
24392 2006-03-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
24393
24394         * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24395         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24396         (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24397         ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24398         DCLuminanceLengths, DCLuminanceValues): Remove fields.
24399
24400 2006-03-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24401
24402         * javax.swing.JTable (constructor): Initialize column
24403         model column margin and table row margin before setting the
24404         table column model. (initialiseLocalVars): Do not call 
24405         setIntercellSpacing.
24406
24407 2006-03-30  Chris Burdess  <dog@gnu.org>
24408
24409         * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24410           method signature.
24411         * javax/xml/validation/SchemaFactoryLoader.java: New file.
24412
24413 2006-03-30  Mark Wielaard  <mark@klomp.org>
24414
24415         PR 26848
24416         * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24417         adjust bounds. On resize invalidate and validate container.
24418         Always pass on ComponentEvents to Container super class.
24419         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24420         menuBar and pass to GtkWindowPeer super class.
24421         (postConfigureEvent): Adjust menu bar width. Adjust y and height
24422         bounds and pass to GtkWindowPeer super class.
24423         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24424         New fields for local bounds.
24425         (getX, getY): New methods.
24426         (getWidth): Don't call into awtComponent.
24427         (getHeight): Likewise.
24428         (create): Cache local bounds.
24429         (setLocation): Documented, made protected and just call
24430         nativeSetLocation.
24431         (setLocationUnlocked): Removed unused method.
24432         (setBoundsUnlocked): Likewise.
24433         (setBounds): Check whether bounds actually changed and cache local
24434         bounds.
24435         (setSize): Documented and made protected.
24436         (setResizable): Documented and cache local bounds.
24437         (postConfigureEvent): Update local bounds. Don't call awtComponent
24438         directly but post ComponentEvents.
24439         (show): Cache local bounds.
24440         (getBounds): Override to return cached bounds.
24441
24442 2006-03-30  Lillian Angel  <langel@redhat.com>
24443
24444         * gnu/java/awt/peer/gtk/GdkGraphics.java
24445         (drawImage): Added check to prevent NPE.
24446         (drawImage): Likewise.
24447         (drawImage): Likewise.
24448         * java/awt/Choice.java
24449         (dispatchEventImpl): New function. selectedIndex was
24450         not being updated properly otherwise.
24451
24452 2006-03-30  Roman Kennke  <kennke@aicas.com>
24453
24454         * javax/swing/JTabbedPane.java
24455         (removeTabAt): Removed debug code.
24456
24457 2006-03-30  Roman Kennke  <kennke@aicas.com>
24458
24459         PR 26045
24460         * javax/swing/plaf/basic/BasicTextUI.java
24461         (installKeyboardActions): Simply call getKeymap() and install this.
24462         (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24463
24464 2006-03-30  Roman Kennke  <kennke@aicas.com>
24465
24466         * javax/swing/JTabbedPane.java
24467         (removeTabAt): Adjust selection correctly when removing a tab
24468         before the selected tab. Also remove the component from the
24469         container, not only the tab object. Repaint and revalidate the
24470         component after the removal.
24471         (removeAll): Set selection to -1 before removing the tabs.
24472
24473 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24474
24475         * java/io/ObjectInputStream.java:
24476         (parseContent(byte)): Added enum support.
24477         * java/io/ObjectStreamConstants.java:
24478         (TC_ENUM): Added.
24479         (TC_MAX): Changed to new maximum, TC_ENUM.
24480         
24481 2006-03-29  Lillian Angel  <langel@redhat.com>
24482
24483         Partial fix for bug #26929
24484         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24485         (updateComponent): Removed. We want to clear the panel
24486         before painting.
24487         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24488         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24489         Should set the background to the saved background color.
24490
24491 2006-03-29  Mark Wielaard  <mark@klomp.org>
24492
24493         Partial fix for bug #26848 (pack).
24494         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24495         Always show instances of Window.
24496
24497 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
24498
24499         * javax/swing/JSlider.java
24500         (setPaintLabels): Only create standard labels if labelTable is null,
24501         * javax/swing/plaf/basic/BasicSliderUI.java
24502         (PropertyChangeHandler.propertyChange): Recalculate geometry for 
24503         "paintTicks" property change,
24504         (calculateThumbSize): Updated API docs,
24505         (calculateContentRect): Likewise,
24506         (calculateTrackBuffer): Take into account the lowest and highest 
24507         labels when calculating buffer space,
24508         (calculateTrackRect): Include labels, if visible, in the calculation of
24509         the trackRect position,
24510         (calculateTickRect): Height is zero if ticks are not painted,
24511         (calculateLabelRect): Use max dimensions of actual labels,
24512         (getWidthOfHighValueLabel): Use preferred size,
24513         (getWidthOfLowValueLabel): Likewise,
24514         (getHeightOfHighValueLabel): Likewise,
24515         (getHeightOfLowValueLabel): Likewise,
24516         (drawInverted): Just return slider setting,
24517         (getHighestValueLabel): Updated API docs,
24518         (paintTicks): Removed redundant (and buggy) code, replaced with calls 
24519         to xPositionForValue() and yPositionForValue(),
24520         (paintHorizontalLabel): Removed full qualification of class name,
24521         (paintVerticalLabel): Likewise,
24522         (xPositionForValue): Reimplemented,
24523         (yPositionForValue): Reimplemented,
24524         * javax/swing/plaf/metal/MetalSliderUI.java
24525         (paintTrack): Made track one pixel longer.
24526
24527 2006-03-29  Tom Tromey  <tromey@redhat.com>
24528
24529         PR gcc/26901:
24530         * tools/Makefile.am (JCOMPILER): Added encoding options.
24531         * examples/Makefile.am (JCOMPILER): Added encoding options.
24532
24533 2006-03-29  Gary Benson  <gbenson@redhat.com>
24534
24535         Partial fix for PR classpath/24895
24536         * java/io/FilePermission.java (implies): Canonicalize paths.
24537
24538 2006-03-29  Robert Schuster  <robertschuster@fsfe.org>
24539
24540         PR 26888
24541         * javax/swing/text/GapContent.java:
24542         (replace): Added call to resetMarksAtZero.
24543
24544 2006-03-29  Roman Kennke  <kennke@aicas.com>
24545
24546         PR 23527
24547         * javax/swing/plaf/basic/BasicMenuItemUI.java
24548         (cachedRect): New field.
24549         (BasicMenuItemUI): Initialize cachedRect field.
24550         (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24551         to determine layout. Store maximum accelerator and text width
24552         in client properties of parent to allow correct alignment
24553         of accelerators among menu items of one menu.
24554         (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24555         method. Align accelerators according to the values calculated
24556         in getPreferredMenuItemSize.
24557         (getAcceleratorString) New helper method.
24558         (layoutMenuItem): New helper method.
24559
24560 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24561
24562         * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24563         * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24564         * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24565         Avoid NPEs.
24566         * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass, 
24567         readExternal, writeExternal): New methods.
24568         * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24569         two stages, invokeCommon(Remote, ...) and 
24570         invokeCommen(UnicastConnection, ...).
24571         * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24572         also the ActivatableRef. toString(): Documented.
24573         * gnu/java/rmi/server/ActivatableRef.java,
24574         tools/gnu/classpath/tools/rmi/Persistent.java,
24575         tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24576         tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24577         tools/gnu/classpath/tools/rmi/REGISTRY.java,
24578         tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24579         tools/gnu/classpath/tools/rmi/RMID.java,
24580         tools/gnu/classpath/tools/rmi/RMID.txt,
24581         tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24582         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24583         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24584         tools/gnu/classpath/tools/rmi/registry/package.html,
24585         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24586         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java: 
24587         New files.
24588         * tools/README: Documented.
24589         * NEWS: Added entry about the activation.
24590
24591 2006-03-29  Roman Kennke  <kennke@aicas.com>
24592
24593         PR 23527
24594         * javax/swing/plaf/basic/BasicMenuItemUI.java
24595         (viewRect): New field.
24596         (textRect): New field.
24597         (accelRect): New field.
24598         (iconRect): New field.
24599         (arrowIconRect): New field.
24600         (checkIconRect): New field.
24601         (BasicMenuItemUI): Initialize new fields.
24602         (paintMenuItem): Rewritten to correctly layout and paint
24603         the menu item in a more straightforward way. Use cached rectangle
24604         objects for layout.
24605         (paintAccelerator): Pulled inside the paintMenuItem method.
24606
24607 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24608
24609         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24610         Do not use initCause with UnexpectedException.
24611         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24612         Likewise. 
24613
24614 2006-03-29  Mark Wielaard  <mark@klomp.org>
24615
24616         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24617         (setCursorID): Removed unused static variable.
24618
24619 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
24620
24621         * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24622
24623 2006-03-29  Mark Wielaard  <mark@klomp.org>
24624
24625         Fixes bug #26527
24626         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24627         (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24628
24629 2006-03-28  Roman Kennke  <kennke@aicas.com>
24630
24631         * javax/swing/UIManager.java
24632         (installLookAndFeel): Implemented.
24633         (setInstalledLookAndFeels): Implemented.
24634
24635 2006-03-28  Roman Kennke  <kennke@aicas.com>
24636
24637         * javax/swing/plaf/metal/MetalButtonUI.java
24638         (update): Paint gradient only when the background color
24639         is not a UIResource and if the button is neither armed nor
24640         pressed and if the button is contentAreaFilled.
24641
24642 2006-03-28  Roman Kennke  <kennke@aicas.com>
24643
24644         * javax/swing/JLayeredPane.java
24645         (addImpl): Repaint added component.
24646
24647 2006-03-28  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24648
24649         * java/util/regex/Matcher.java: Reverted.
24650
24651 2006-03-28  Roman Kennke  <kennke@aicas.com>
24652
24653         * javax/swing/text/AsyncBoxView.java
24654         (setEstimatedMajorSpan): Made method protected.
24655         (getEstimatedMajorSpan): Made method protected.
24656         * javax/swing/text/BoxView.java
24657         (flipEastAndWestAtEnds): Fixed typo.
24658         * javax/swing/text/InternationalFormatter.java
24659         (getActions): Made method protected.
24660         * javax/swing/text/Position.java
24661         (Bias): Made class final.
24662         * javax/swing/text/html/HTML.java
24663         (MEDIA): Made field package private. Not specified.
24664         (NOBR): Made field package private. Not specified.
24665         * javax/swing/text/html/NullView.java
24666         Made class package private.
24667         * javax/swing/text/html/parser/Entity.java
24668         Made class non-serializable as specified.
24669
24670 2006-03-28  Roman Kennke  <kennke@aicas.com>
24671
24672         * javax/swing/plaf/metal/MetalButtonUI.java
24673         (update): Don't paint gradient if the background color is
24674         no UIResource. Removed double getModel() call. Don't check for
24675         OceanTheme.
24676
24677 2006-03-28  Roman Kennke  <kennke@aicas.com>
24678
24679         * javax/swing/plaf/basic/BasicMenuItemUI.java
24680         (paint): Call paintMenuItem with the selectionBackground as
24681         parameter.
24682         (paintBackground): Fixed the condition and color for the background
24683         painting.
24684
24685 2006-03-28  Roman Kennke  <kennke@aicas.com>
24686
24687         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24688         (tabsOpaque): New field.
24689         (paintLeftTabBorder): Paint some parts only when the tabs are
24690         opaque. Determine the tab background using the paintLeftTabBorder()
24691         helper method.
24692         (paintRightTabBorder): Likewise.
24693         (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24694
24695 2006-03-27  Tom Tromey  <tromey@redhat.com>
24696
24697         PR classpath/25189:
24698         * java/lang/Enum.java (valueOf): Ensure that the named field
24699         is an enum constant.
24700         (compareTo): Check class of enum.
24701
24702 2006-03-27  Tom Tromey  <tromey@redhat.com>
24703
24704         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24705
24706 2006-03-27  Tom Tromey  <tromey@redhat.com>
24707
24708         * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24709         New constant.
24710         (getModifiersInternal): Renamed from getModifiers.
24711         (getModifiers): New method.
24712         (isBridge): Likewise.
24713         (isSynthetic): Likewise.
24714         (isVarArgs): Likewise.
24715         * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24716         New constant.
24717         (getModifiersInternal): Renamed from getModifiers.
24718         (getModifiers): New method.
24719         (isSynthetic): Likewise.
24720         (isEnumConstant): Likewise.
24721         * vm/reference/java/lang/reflect/Constructor.java
24722         (getModifiersInternal): Renamed from getModifiers.
24723         (getModifiers): New method
24724         (CONSTRUCTOR_MODIFIERS): New constant.
24725         (isSynthetic): New method.
24726         (isVarArgs): Likewise.
24727         * java/lang/reflect/Member.java (isSynthetic): New method.
24728
24729 2006-03-28  Tom Tromey  <tromey@redhat.com>
24730
24731         * java/net/Proxy.java (TYPE): Added missing ";".
24732
24733 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24734
24735         * java/math/RoundingMode.java:
24736         Fixed serialization UID.
24737         * java/net/Proxy.java:
24738         (Type): Likewise.
24739         
24740 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24741
24742         * java/io/CharArrayWriter.java:
24743         (append(char)): Documented.
24744         (append(CharSequence)): Likewise.
24745         (append(CharSequence,int,int)): Likewise.
24746         
24747 2006-03-27  Jeroen Frijters  <jeroen@frijters.net>
24748
24749         * vm/reference/java/lang/reflect/Constructor.java
24750         (getTypeParameters): Check return value of getSignature for null.
24751         * vm/reference/java/lang/reflect/Method.java
24752         (getTypeParameters): Check return value of getSignature for null.
24753
24754 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24755
24756         * java/rmi/activation/ActivationGroup_Stub.java:
24757         Made final.
24758         
24759 2006-03-27  Tom Tromey  <tromey@redhat.com>
24760        
24761         * java/io/CharArrayWriter.java (append): New overloads.
24762         
24763 2006-03-27  Lillian Angel  <langel@redhat.com>
24764
24765         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24766         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24767         Added check for colormap. Prevents assertion error.
24768         (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24769         Likewise.
24770         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24771         Likewise.
24772         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24773         Likewise.
24774         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24775         Likewise.
24776         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24777         Likewise.
24778
24779 2006-03-27  Dalibor Topic  <robilad@kaffe.org>
24780
24781         * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use 
24782         AC_MSG_ERROR instead of echoing the error message 
24783         that no compiler has been found manually.
24784
24785 2006-03-27  Roman Kennke  <kennke@aicas.com>
24786
24787         * javax/swing/RepaintManager.java
24788         (commitBuffer): Use simple drawImage() method instead of the
24789         scaling version.
24790
24791 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
24792
24793         * javax/swing/text/PlainView.java:
24794         (drawLine): Use 'endOffset' instead of 'selectionEnd'
24795         for painting the selected line.
24796
24797 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
24798
24799         * javax/swing/plaf/basic/BasicSliderUI.java
24800         (getThumbSize): Removed TODO and updated API docs.
24801
24802 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
24803
24804         * javax/swing/text/DefaultCaret.java:
24805         (mouseClicked): Word selection rewritten.
24806         (paint): Draw line inside the bounding rectangle.
24807         (damage): Retrieve caret height from line height.
24808
24809 2006-03-28  Raif S. Naffah  <raif@swiftdsl.com.au>
24810
24811         * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24812         for null args.
24813         Check for -help option.
24814         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24815
24816 2006-03-27  Roman Kennke  <kennke@aicas.com>
24817
24818         * javax/swing/text/FieldView.java
24819         (getPreferredSpan): Don't include trailing newline in
24820         calculations.
24821         * javax/swing/text/PlainView.java
24822         (drawLine): Don't include trailing newline.
24823         (determineMaxLineLength): Don't include trailing newline.
24824         (getLineBuffer): Made method final.
24825
24826 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
24827
24828         * javax/swing/JSlider.java
24829         (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24830         (AccessibleJSlider.getAccessibleRole): Removed declaration of 
24831         NotImplementedException,
24832         (AccessibleJSlider.getAccessibleValue): Updated API docs.
24833
24834 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24835
24836         * java/lang/ProcessBuilder.java:
24837         Made final.
24838
24839 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24840
24841         * gnu/java/net/protocol/http/Headers.java:
24842         Match layout of file on HEAD.
24843         * gnu/javax/swing/text/html/parser/htmlValidator.java:
24844         Likewise.
24845         * java/awt/datatransfer/DataFlavor.java
24846         Likewise.
24847
24848 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24849
24850         * gnu/java/security/jce/hash/HavalSpi.java,
24851         * gnu/java/security/jce/hash/MD2Spi.java,
24852         * gnu/java/security/jce/hash/MD4Spi.java,
24853         * gnu/java/security/jce/hash/MD5Spi.java,
24854         * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24855         * gnu/java/security/jce/hash/RipeMD128Spi.java,
24856         * gnu/java/security/jce/hash/RipeMD160Spi.java,
24857         * gnu/java/security/jce/hash/Sha160Spi.java,
24858         * gnu/java/security/jce/hash/Sha256Spi.java,
24859         * gnu/java/security/jce/hash/Sha384Spi.java,
24860         * gnu/java/security/jce/hash/Sha512Spi.java,
24861         * gnu/java/security/jce/hash/TigerSpi.java,
24862         * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24863         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24864         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24865         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24866         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24867         * gnu/java/security/jce/sig/SignatureAdapter.java,
24868         * gnu/java/security/key/IKeyPairCodec.java,
24869         * gnu/java/security/key/IKeyPairGenerator.java,
24870         * gnu/java/security/key/KeyPairGeneratorFactory.java,
24871         * gnu/java/security/key/dss/DSSKey.java,
24872         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24873         * gnu/java/security/key/dss/DSSPrivateKey.java,
24874         * gnu/java/security/key/dss/DSSPublicKey.java,
24875         * gnu/java/security/key/dss/FIPS186.java,
24876         * gnu/java/security/key/rsa/GnuRSAKey.java,
24877         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24878         * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24879         * gnu/java/security/sig/ISignature.java,
24880         * gnu/java/security/sig/ISignatureCodec.java,
24881         * gnu/java/security/sig/dss/DSSSignature.java,
24882         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24883         * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24884         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24885         * gnu/java/security/util/Util.java:
24886         Remove CVS revision tags.
24887
24888 2006-03-26  Tom Tromey  <tromey@redhat.com>
24889
24890         * java/io/InputStream.java (InputStream): Implements Closeable.
24891         
24892 2006-03-26  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24893
24894         * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24895         New methods.
24896         * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24897         getAnchor): New methods.
24898         * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24899         getAnchor): New methods.
24900         * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24901         getAnchor): New methods.
24902         * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24903         getAnchor): New methods.
24904         * gnu/regexp/REMatch.java(start1): New field.
24905         * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24906         (match): set the starting position to start1[] instead of start[],
24907         (getMatchImpl): Set the found REMatch to the input,
24908         (makeCharIndexed): Made public.
24909         * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24910         * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24911         set the value of start[] copying from start1[].
24912         * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24913         offset.
24914         * java/util/regex/Matcher.java(inputCharIndexed): New field
24915         to be used as a parameter of the RE#getMatch.
24916
24917 2006-03-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24918
24919         * gnu/java/rmi/activation/DefaultActivationGroup.java: 
24920         Documented the default jre spawning strategy (none).
24921         * java/rmi/activation/ActivationGroup.java (currentGroupId,
24922         getSystem): Obtain the acticivation system from the 
24923         DefaultActivationSystem.
24924
24925 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
24926
24927         * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24928         Ask user for keystore password if one was not provided.
24929
24930 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
24931
24932         * tools/README: Added Security tools section.
24933         Documented the jarsigner tool.
24934
24935 2006-03-25  David Gilbert  <david.gilbert@object-refinery.com>
24936
24937         * javax/swing/JScrollBar.java
24938         (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24939         (AccessibleJScrollBar.getAccessibleRole): Likewise,
24940         (AccessibleJScrollBar.getAccessibleValue): Likewise,
24941         (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24942         (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24943         (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24944         (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24945         (getAccessibleContext): Updated API docs.
24946
24947 2006-03-25  Tom Tromey  <tromey@redhat.com>
24948
24949         * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24950         change or if generator script changes.
24951
24952 2006-03-25  Tom Tromey  <tromey@redhat.com>
24953
24954         * javax/naming/ldap/StartTlsRequest.java: New file.
24955         * javax/naming/ldap/StartTlsResponse.java: New file.
24956
24957 2006-03-25  Olivier Jolly  <olivier.jolly@pcedev.com>
24958
24959     * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24960     to validate all components of a resource path.
24961     (FileURLLoader.walkPathComponents): Helper which ensures that we are
24962     allowed to walk through every component of a resource path.
24963     
24964 2006-03-25  Michael Koch  <konqueror@gmx.de>
24965
24966         * NEWS: Added item for CLDR 1.3 update.
24967
24968 2006-03-25  Michael Koch  <konqueror@gmx.de>
24969
24970         * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
24971         resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
24972         resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
24973         resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
24974         resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
24975         resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
24976         Removed locales.
24977
24978 2006-03-25  Michael Koch  <konqueror@gmx.de>
24979
24980         * resource/gnu/java/locale/LocaleInformation_az.properties,
24981         resource/gnu/java/locale/LocaleInformation_bs.properties,
24982         resource/gnu/java/locale/LocaleInformation_byn.properties,
24983         resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
24984         resource/gnu/java/locale/LocaleInformation_el_CY.properties,
24985         resource/gnu/java/locale/LocaleInformation_gez.properties,
24986         resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
24987         resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
24988         resource/gnu/java/locale/LocaleInformation_haw.properties,
24989         resource/gnu/java/locale/LocaleInformation_haw_US.properties,
24990         resource/gnu/java/locale/LocaleInformation_kok.properties,
24991         resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
24992         resource/gnu/java/locale/LocaleInformation_sid.properties,
24993         resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
24994         resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
24995         resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
24996         resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
24997         resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
24998         resource/gnu/java/locale/LocaleInformation_syr.properties,
24999         resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
25000         resource/gnu/java/locale/LocaleInformation_tig.properties,
25001         resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
25002         resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
25003         resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
25004         resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
25005         resource/gnu/java/locale/LocaleInformation_wal.properties,
25006         resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
25007         New locales.
25008
25009 2006-03-25  Michael Koch  <konqueror@gmx.de>
25010
25011         * resource/gnu/java/locale/LocaleInformation_fa.properties,
25012         resource/gnu/java/locale/LocaleInformation_kn.properties,
25013         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25014         resource/gnu/java/locale/LocaleInformation_ko.properties,
25015         resource/gnu/java/locale/LocaleInformation_sl.properties,
25016         resource/gnu/java/locale/LocaleInformation_so.properties,
25017         resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
25018         resource/gnu/java/locale/LocaleInformation_so_ET.properties,
25019         resource/gnu/java/locale/LocaleInformation_so_SO.properties,
25020         resource/gnu/java/locale/LocaleInformation_sr.properties:
25021         Random fixes I forgot to commit before.
25022
25023 2006-03-25  Michael Koch  <konqueror@gmx.de>
25024
25025         * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
25026         resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
25027         resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
25028         resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
25029         resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
25030         resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
25031         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25032         resource/gnu/java/locale/LocaleInformation_be_BY.properties,
25033         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25034         resource/gnu/java/locale/LocaleInformation_en.properties,
25035         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25036         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25037         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25038         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25039         resource/gnu/java/locale/LocaleInformation_fa.properties,
25040         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25041         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25042         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25043         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25044         resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
25045         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25046         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25047         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25048         resource/gnu/java/locale/LocaleInformation_pa.properties,
25049         resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
25050         resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
25051         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25052         resource/gnu/java/locale/LocaleInformation_sa.properties,
25053         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25054         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25055         resource/gnu/java/locale/LocaleInformation_te_IN.properties:
25056         Updated currency formats.
25057
25058 2006-03-25  Roman Kennke  <kennke@aicas.com>
25059
25060         * javax/swing/text/AbstractDocument.java
25061         (getAttributeContext): Made method final.
25062         (getCurrentWriter): Likewise.
25063         (getEndPosition): Likewise.
25064         (getProperty): Likewise.
25065         (getStartPosition): Likewise.
25066         (putProperty): Likewise.
25067         (readLock): Likewise.
25068         (readUnlock): Likewise.
25069         (writeLock): Likewise.
25070         (writeUnlock): Likewise.
25071
25072 2006-03-25  Roman Kennke  <kennke@aicas.com>
25073
25074         * javax/swing/InputMap.java
25075         (allKeys): Check if parent keys is null.
25076         * javax/swing/KeyboardManager.java
25077         (registerEntireMap): Also register map's parent keys.
25078         * javax/swing/plaf/metal/MetalRootPaneUI.java
25079         (propertyChange): Also call super.propertyChange().
25080
25081 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25082
25083         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
25084         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
25085         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
25086         * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
25087         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
25088         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
25089
25090 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25091
25092         * gnu/java/util/jar/JarUtils.java: New file.
25093         * java/util/jar/Manifest.java (CRLF): Removed.
25094         (read_main_section): Likewise.
25095         (read_version_info): Likewise.
25096         (expect_header(String,BufferedReader)): Likewise.
25097         (expect_header(String,BufferedReader,String)): Likewise.
25098         (read_header_value): Likewise.
25099         (read_attributes): Likewise.
25100         (read_attribute): Likewise.
25101         (read_individual_sections): Likewise.
25102         (read_section_name): Likewise.
25103         (write_main_section): Likewise.
25104         (write_version_info): Likewise.
25105         (write_header): Likewise.
25106         (write_main_attributes): Likewise.
25107         (write_attribute_entry): Likewise.
25108         (write_individual_sections): Likewise.
25109         (write_entry_attributes): Likewise.
25110         (read): use JarUtils.
25111         (write): Likewise.
25112
25113 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25114
25115         * gnu/java/security/pkcs/SignerInfo.java (log): New field.
25116         (DEBUG): Removed.
25117         (debug): Likewise.
25118         (SignerInfo(BERReader)): Updated javadoc.
25119         Use JDK logging.
25120         (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
25121         New constructor.
25122         (encode): New method.
25123         * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
25124         (PKCS7_DATA): Removed.
25125         (DEBUG): Likewise.
25126         (debug): Likewise.
25127         (PKCS7SignedData(BERReader)): Updated javadoc.
25128         Use JDK logging.
25129         (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
25130         constructor.
25131         (encode): New method.
25132         * gnu/java/security/pkcs/PKCS7Data.java: New file.
25133         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
25134         (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
25135         (decodePrivateKey): Decode x from an OCTET STRING.
25136         * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
25137         (toString): New method.
25138         * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
25139         (str): Likewise.
25140         (toString): New method.
25141         * gnu/java/security/key/dss/DSSKey.java (str): New Field.
25142         (toString): New method.
25143         * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
25144
25145 2006-03-25  Roman Kennke  <kennke@aicas.com>
25146
25147         * java/util/GregorianCalender.java
25148         (computeTime): Fix comparison to correctly calculate the
25149         calendar.
25150
25151 2006-03-25  Wolfgang Baer  <WBaer@gmx.de>
25152
25153         Fixes bug #26837
25154         * java/awt/Window.java:         
25155         (setFocusCycleRoot): New overriden method.
25156         (isFocusCycleRoot): Likewise.
25157         (getFocusCycleRootAncestor): Likewise.
25158         * java/awt/Container.java:
25159         (getFocusTraversalPolicy): Check also for anchestor == null.
25160
25161 2006-03-25  Mark Wielaard  <mark@klomp.org>
25162
25163         Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
25164         * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
25165         close root tag.
25166
25167 2006-03-24  Tom Tromey  <tromey@redhat.com>
25168
25169         * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
25170         Rewrote.
25171         (writeChar): Removed useless cast.
25172         (writeChars(String)): Implemented.
25173         (writeDouble): Rewrote.
25174         (writeFloat): Likewise.
25175         (writeUTF): Implemented.
25176         * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
25177         to big endian.
25178
25179 2006-03-24  Roman Kennke  <kennke@aicas.com>
25180
25181         * javax/swing/JButton.java
25182         (def): Replaced field with defaultCapable field.
25183         (is_def): Removed field.
25184         (JButton): Initialize defaultCapable with true.
25185         (isDefaultButton): Documented and implemented method by querying
25186         the button's root pane if present.
25187         (isDefaultCapable): Changed def field to defaultCapable.
25188         Added documentation.
25189         (paramString): Call isDefaultButton() instead of accessing field,
25190         which got removed.
25191         (setDefaultCapable): Changed def field to defaultCapable.
25192         Added documentation.
25193         * javax/swing/JRootPane.java
25194         (setDefaultButton): Only change the default button if the
25195         new button is defaultCapable.
25196         * javax/swing/plaf/basic/BasicRootPaneUI.java
25197         (DefaultPressAction): New class.
25198         (DefaultReleaseAction): New class.
25199         (installKeyboardActions): Implemented.
25200         (uninstallKeyboardActions): Implemented.
25201         (propertyChange): Implemented.
25202         * javax/swing/plaf/metal/MetalBorders.java
25203         (ButtonBorder.paintBorder): 'Outsourced' default theme
25204         painting to paintDefaultButtonBorder().
25205         (ButtonBorder.paintDefaultButtonBorder): New helper method
25206         to paint the border in the default theme. This also fixes
25207         painting of the border for default buttons.
25208         (ButtonBorder.paintOceanButtonBorder): Added support for
25209         default button painting. Fixed border for pressed/default state.
25210         * javax/swing/plaf/metal/MetalButtonUI.java
25211         (update): Only paint gradient when in OceanTheme and when the
25212         button is not armed.
25213
25214 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25215
25216         * gnu/java/rmi/activation/ActivationSystemTransient.java:
25217         Inherit from Activator.
25218
25219 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25220
25221         * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
25222         Print debug message if debug flag is set.
25223         * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
25224         * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
25225         detail, do not call iniCause(). (exportClass): New method.
25226         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
25227         Ignore null (bootstrap) class loader.
25228         * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
25229         buildMethodHash, findStubSkelClass, getHelperClass): Changed 
25230         visibility to protected.
25231         * java/rmi/activation/Activatable.java (export, register): Rewritten.
25232         (toStub): New method.
25233         * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
25234         * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT): 
25235         Explained property java.rmi.activation.port.
25236
25237 2006-03-24  Tom Tromey  <tromey@redhat.com>
25238
25239         * .externalToolBuilders/CreateLocaleData.launch: Updated.
25240         * gnu/java/locale/.cvsignore: New file.
25241         * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
25242         * java/util/Locale.java (getAvailableLocales): Clone result.
25243         (getISOCountries): Likewise.
25244         (getISOLanguages): Likewise.
25245         * scripts/generate-locale-list.sh: Make class public.  Added new
25246         array.
25247         * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
25248         (getLocaleCount): Likewise.
25249         * java/text/Collator.java (getInstance): Javadoc typo fix.
25250         (getAvailableLocales): Wrote.
25251
25252 2006-03-24  Roman Kennke  <kennke@aicas.com>
25253
25254         * javax/swing/JTabbedPane.java
25255         (getSelectedComponent): Return null when no component is
25256         selected.
25257
25258 2006-03-24  Mark Wielaard  <mark@klomp.org>
25259
25260         * NEWS: Add cursor and selection improvements.
25261
25262 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25263
25264         * java/awt/Component.java
25265         (getAccessibleName): Just return accessibleName,
25266         * javax/swing/AbstractButton.java
25267         (getAccessibleStateSet): Mark as stub,
25268         (getAccessibleName): Implemented,
25269         (getAcessibleIcon): Mark as stub,
25270         (getAccessibleRelationSet): Likewise,
25271         (getAccessibleAction): Likewise,
25272         (getAccessibleValue): Likewise,
25273         (getAccessibleActionCount): Likewise,
25274         (getAccessibleActionDescription): Likewise,
25275         (doAccessibleAction): Likewise,
25276         (getCurrentAccessibleValue): Likewise,
25277         (setCurrentAccessibleValue): Likewise,
25278         (getMinimumAccessibleValue): Likewise,
25279         (getMaximumAccessibleValue): Likewise,
25280         (getAccessibleText): Likewise,
25281         (getIndexAtPoint): Likewise,
25282         (getCharacterBounds): Likewise,
25283         (getCharCount): Likewise,
25284         (getCaretPosition): Likewise,
25285         (getAtIndex): Likewise,
25286         (getAfterIndex): Likewise,
25287         (getBeforeIndex): Likewise,
25288         (getCharacterAttribute): Likewise,
25289         (getSelectionStart): Likewise,
25290         (getSelectionEnd): Likewise,
25291         (getSelectedText): Likewise,
25292         (getTextRectangle): Likewise,
25293         (setIconTextGap): Fire PropertyChangeEvent, not state changed,
25294         (getIconTextGap): Added @since 1.4,
25295         (setContentAreaFilled): Reordered code to make event sequence match
25296         reference implementation,
25297         * javax/swing/JButton.java
25298         (getSelectedObjects): Removed,
25299         *javax/swing/JComponent.java
25300         (getAccessibleName): Call super.
25301
25302 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25303
25304         * javax/swing/JProgressBar.java
25305         (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
25306         (AccessibleJProgressBar.getAccessibleRole): Added API docs,
25307         (AccessibleJProgressBar.getAccessibleValue): Implemented,
25308         (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
25309         (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
25310         (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
25311         (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
25312         (getAccessibleContext): Added API docs.
25313
25314 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
25315
25316         * javax/swing/plaf/basic/BasicTextUI.java:
25317         (FocusListener.focusLost): Put current selection into the system
25318         clipboard.
25319
25320 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
25321
25322         * java/awt/Component.java:
25323         (processMouseEvent): Remove call to consume event.
25324         (dispatchEventImpl): Handle specific events first, do focus request
25325         only when mouse event was not yet consumed.
25326         * javax/swing/text/DefaultCaret.java:
25327         (mousePressed): Rewritten.
25328         (setDot): Changed order of operations.
25329         (moveDot): Dito.
25330
25331 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25332
25333         * javax/swing/JComponent.java
25334         (AccessibleJComponent.changeSupport): Removed field,
25335         (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
25336         (AccessibleJComponent.addPropertyChangeListener): Call super,
25337         (AccessibleJComponent.removePropertyChangeListener): Likewise,
25338         * javax/swing/JSlider.java
25339         (AccessibleJSlider.getAccessibleStateSet): Implemented,
25340         (AccessibleJSlider.getAccessibleRole): Likewise,
25341         (AccessibleJSlider.getAccessibleValue): Likewise,
25342         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25343         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25344         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25345         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25346         (getAccessibleContext): Added API docs.
25347
25348 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25349
25350         * gnu/java/rmi/activation/ActivationSystemTransient.java
25351         (debug): Made public. (constructor): Made protected.
25352         (activate, getActivationDesc): Throw more informative exceptions.
25353         * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
25354         New method.
25355         * gnu/java/rmi/server/UnicastRef.java (remoteToString): 
25356         Stub, implemented.
25357         * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
25358         Documented.
25359         * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
25360         Better exception.
25361         * java/rmi/activation/Activatable.java (obtainId): Use the activation
25362         system, passed in the activation descriptor field.
25363         * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
25364         * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
25365         to package private final. (equals): Compare uid, not the system. 
25366         (hashCode): Forward to uid.hashCode(). toString(): New method.
25367         * java/rmi/activation/ActivationID.java (readObject, writeObject):
25368         Rewritten. (equals): Compare UID only. toString(): New method.
25369         * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25370         UID (space). (hashCode, toString): Rewritten.
25371         * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs): 
25372         New method. (invoke): Treat null as an empty array for parameters.
25373         * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25374         Include count, do not include the static machineId.
25375
25376 2006-03-23  Tom Tromey  <tromey@redhat.com>
25377
25378         * java/net/URLConnection.java (getContent(Class[])): Implemented.
25379
25380 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25381
25382         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25383         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25384         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25385         (force): New field. (setForce): New method. (compile): Handle -force.
25386         * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25387         * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25388
25389 2006-03-23  Roman Kennke  <kennke@aicas.com>
25390
25391         * javax/swing/JTabbedPane.java
25392         (Page.getBackground): Return the JTabbedPane's background,
25393         rather than the page's component background.
25394         (Page.getForeground): Return the JTabbedPane's foreground,
25395         rather than the page's component foreground.
25396         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25397         (uninstallUI): Don't set colors to null.
25398         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25399         (paintTabBackground): Correctly determine the tab background.
25400         (getUnselectedBackground): New helper method to
25401         handle the UI property 'TabbedPane.unselectedBackground'
25402         correctly.
25403
25404 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25405
25406         * javax/swing/plaf/basic/BasicInternalFrameUI.java
25407         (BorderListener.showingResizeCursor): New field.
25408         (BorderListener.mouseMoved, BorderListner.mouseExited):
25409         Implemented.
25410
25411 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25412
25413         * javax/swing/JComboBox.java
25414         (selectWithKeyChar): Mark as stub,
25415         * javax/swing/JFileChooser.java
25416         (setDragEnabled): Mark as stub,
25417         (getDragEnabled): Likewise,
25418         * javax/swing/JSlider.java
25419         (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25420         (AccessibleJSlider.getAccessibleRole): Likewise,
25421         (AccessibleJSlider.getAccessibleValue): Likewise,
25422         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25423         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25424         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25425         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25426         * javax/swing/UIManager.java
25427         (installLookAndFeel): Mark as stub,
25428         (setInstalledLookAndFeels): Likewise.
25429
25430 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25431
25432         * javax/swing/filechooser/UnixFileSystemView.java
25433         (getSystemDisplayName): Mark as stub,
25434         (getSystemIcon): Likewise,
25435         (getSystemTypeDescription): Likewise.
25436
25437 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25438
25439         * javax/swing/tree/AbstractLayoutCache.java
25440         (getNodeDimensions): Mark as stub,
25441         (getPreferredHeight): Likewise,
25442         (getPreferredWidth): Likewise,
25443         (getRowsForPaths): Likewise,
25444         (isFixedRowHeight): Likewise,
25445         * javax/swing/tree/DefaultTreeModel.java
25446         (reload()): Mark as stub,
25447         (reload(TreeNode)): Likewise,
25448         (nodeStructureChanged): Likewise,
25449         * javax/swing/tree/DefaultTreeSelectionModel.java
25450         (clone): Mark as stub,
25451         (setRowMapper): Likewise,
25452         (setSelectionPaths): Likewise,
25453         (isRowSelected): Likewise,
25454         (resetRowSelection): Likewise,
25455         (insureRowContinuity): Likewise,
25456         (arePathsContiguous): Likewise,
25457         (canPathsBeAdded): Likewise,
25458         (canPathsBeRemoved): Likewise,
25459         (notifyPathChange): Likewise,
25460         (updateLeadIndex): Likewise,
25461         (insureUniqueness): Likewise,
25462         * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25463         stubs,
25464         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25465
25466 2006-03-22  Tom Tromey  <tromey@redhat.com>
25467
25468         * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25469         stub.
25470         (getStaticAttributeKey): Likewise.
25471         (readAttributeSet): Likewise.
25472         (writeAttributeSet): Likewise.
25473         (readAttributes): Likewise.
25474         (writeAttributes): Likewise.
25475         * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25476         as stub.
25477         * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25478         Mark as stub.
25479         (fireChangedUpdate): Likewise.
25480         (start): Likewise.
25481         (end): Likewise.
25482         (handleEndOfLineString): Likewise.
25483         (textAreaContent): Likewise.
25484         (preContent): Likewise.
25485         (addSpecialElement): Likewise.
25486         (setInnerHTML): Likewise.
25487         (setOuterHTML): Likewise.
25488         (insertBeforeStart): Likewise.
25489         (insertBeforeEnd): Likewise.
25490         (insertAfterEnd): Likewise.
25491         (insertAfterStart): Likewise.
25492         * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25493         Mark all methods as stub.s
25494         * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25495         as stub.
25496         (paintHorizontalSeparators): Likewise.
25497         * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25498         Mark as stub.
25499         * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25500         stub.
25501         * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25502         as stubs.
25503         * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25504         methods as stubs.
25505
25506 2006-03-22  Mark Wielaard  <mark@klomp.org>
25507
25508         * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25509
25510 2006-03-22  Mark Wielaard  <mark@klomp.org>
25511
25512         Fixes bug #26527
25513         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25514         Takes GtkImage, x and y coordinates.
25515         (gtkWidgetSetCursorUnlocked): Likewise.
25516         (GtkComponentPeer): Set cursor when set.
25517         (setCursor): Handle GtkCursor.
25518         * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25519         New method.
25520         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25521         (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25522         (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25523         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25524
25525 2006-03-23  Roman Kennke  <kennke@aicas.com>
25526
25527         PR 26805
25528         * gnu/java/security/Registry.java
25529         (PKCS5_PAD): Added pad PKCS#5 algorithm.
25530         * gnu/javax/crypto/pad/PadFactory.java
25531         (getInstance): For PKCS#5, also return PKCS#7 pad
25532         algorithm.
25533         (getNames): Added PKCS#5.
25534         * javax/crypto/KeyGenerator.java
25535         (getInstance): Initialize key generator before returning
25536         it.
25537
25538 2006-03-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
25539
25540         * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25541         (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25542         * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25543         if COMMENTS is set.
25544
25545 2006-03-22  Tom Tromey  <tromey@redhat.com>
25546
25547         * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25548         (getBoolean): Likewise.
25549         (getString): Likewise.
25550         (getIcon): Likewise.
25551
25552 2006-03-22  Mark Wielaard  <mark@klomp.org>
25553
25554         Fixes bug #26301
25555         * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25556         (GLightweightPeer(Component)): Install MouseListener.
25557         (setCursor): Implement.
25558         (mouseEntered): New method.
25559
25560 2006-03-22  Tom Tromey  <tromey@redhat.com>
25561
25562         * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25563         constant.
25564         * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25565         protected.
25566         (getFontForState): Likewise.
25567         (getInsets): Added 'result' argument.
25568         (getPainter): Renamed.
25569
25570 2006-03-22  Tom Tromey  <tromey@redhat.com>
25571
25572         * javax/swing/plaf/synth/SynthPainter.java
25573         (paintScrollBarThumbBackground): Added 'orientation' argument.
25574         (paintScrollBarThumbBorder): Likewise.
25575         (paintSliderThumbBackground): Likewise.
25576         (paintSliderThumbBorder): Likewise.
25577         (paintTabbedPaneTabBackground): Added 'index' argument.
25578         (paintTabbedPaneTabBorder): Likewise.
25579
25580 2006-03-22  Tom Tromey  <tromey@redhat.com>
25581
25582         * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25583         (toString): New method.
25584
25585 2006-03-22  Tom Tromey  <tromey@redhat.com>
25586
25587         * doc/hacking.texinfo (Source Code Style Guide): Mention
25588         NotImplementedException.
25589         * javax/imageio/stream/MemoryCacheImageOutputStream.java
25590         (flushBefore): Mark as stub.
25591         (read): Likewise.
25592         * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25593         Mark as stub.
25594         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25595         as stub.
25596         (write): Likewise.
25597         (writeBit): Likewise.
25598         (writeChars): Likewise.
25599         (writeUTF): Likewise.
25600         * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25601         as stub.
25602         (read): Likewise.
25603         * java/net/URLConnection.java (getContent): Mark as stub.
25604         * java/awt/Window.java (applyResourceBundle): Mark as stub.
25605         * java/awt/TexturePaint.java (createContext): Mark as stub.
25606         (getTransparency): Mark as stub.
25607         * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25608         * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25609         * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25610         stub.
25611         (getImageCapabilities): Likewise.
25612         * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25613         * java/awt/AlphaComposite.java (createContext): Mark as stub.
25614         * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25615         methods as stubs.
25616         * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25617         (getAdvanceBetween): Likewise.
25618         (getLayout): Likewise.
25619         (insertChar): Likewise.
25620         (getLineBreakIndex): Likewise.
25621         * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25622         (getAdvance): Likewise.
25623         (getAscent): Likewise.
25624         (getDescent): Likewise.
25625         * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25626         (insertChar): Likewise.
25627         (nextLayout): Likewise.
25628         (nextLayout): Likewise.
25629         (nextOffset): Likewise.
25630         (nextOffset): Likewise.
25631         * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25632         (equals): Likewise.
25633         (getAdvance): Likewise.
25634         (getAscent): Likewise.
25635         (getBounds): Likewise.
25636         (getDescent): Likewise.
25637         (hashCode): Likewise.
25638         (ImageGraphicAttribute): Likewise.
25639         * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25640         (getJustificationInfo): Likewise.
25641         * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25642         (getGlyphCharIndices): Likewise.
25643         (getGlyphOutline): Likewise.
25644         (getGlyphPixelBounds): Likewise.
25645         (getLayoutFlags): Likewise.
25646         (getPixelBounds): Likewise.
25647         * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25648         (getRSB): Likewise.
25649         * java/nio/channels/Channels.java (newWriter): Mark as stub.
25650         * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25651         * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25652         Mark as stub.
25653         (resetRecognizer): Likewise.
25654         * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25655         Mark as stub.
25656         (getNativesForFlavor): Likewise.
25657         * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25658         * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25659         as stub.
25660         (getRegion): Likewise.
25661         (createUI): Likewise.
25662         (initialize): Likewise.
25663         (uninitialize): Likewise.
25664         (getDefaults): Likewise.
25665         (load): Likewise.
25666         (shouldUpdateStyleOnAncestorChanged): Likewise.
25667         * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25668         Mark as stub.
25669         (getPreferredSize): Likewise.
25670         (getMaximumSize): Likewise.
25671         (paintText): Likewise.
25672         * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25673         as stub.
25674         * java/text/Collator.java (getAvailableLocales): Mark as stub.
25675
25676 2006-03-22  Wolfgang Baer  <WBaer@gmx.de>
25677
25678         * java/io/ObjectStreamConstants.java: Added since tag.
25679         (PROTOCOL_VERSION_1): Added javadoc.
25680         (PROTOCOL_VERSION_2): Likewise.
25681         * java/io/ObjectOutputStream.java: 
25682         (setDefaultProtocolVersion): Removed.
25683         (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25684         
25685 2006-03-21  Lillian Angel  <langel@redhat.com>
25686
25687         * gnu/javax/imageio/bmp/BMPInfoHeader.java
25688         (BMPInfoHeader): Removed debug lines.
25689         * gnu/javax/imageio/bmp/EncodeRLE4.java
25690         (encode): Implemented.
25691         (uncompress): New function implemented to
25692         uncompress the image before encoding.
25693         * gnu/javax/imageio/bmp/EncodeRLE8.java
25694         (encode): Implemented.
25695         (uncompress): New function implemented to
25696         uncompress the image before encoding.
25697
25698 2006-03-21  Roman Kennke  <kennke@aicas.com>
25699
25700         * javax/swing/text/html/FormView.java
25701         (getImageData): New helper method.
25702
25703 2006-03-21  Tom Tromey  <tromey@redhat.com>
25704
25705         * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25706         fix.
25707         (Unsafe): Now final.
25708
25709 2006-03-21  Roman Kennke  <kennke@aicas.com>
25710
25711         * javax/swing/text/html/FormView.java
25712         (MouseEventListener): New inner class.
25713
25714 2006-03-21  Roman Kennke  <kennke@aicas.com>
25715
25716         * javax/swing/text/html/ListView.java: New file.
25717
25718 2006-03-21  Tom Tromey  <tromey@redhat.com>
25719
25720         * java/text/Bidi.java: Completed.
25721
25722 2006-03-21  Anthony Balkissoon  <abalkiss@redhat.com>
25723
25724         * javax/swing/JTable.java:
25725         (columnAtPoint): Removed the null check, this method should throw a NPE
25726         if the argument is null.
25727
25728 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
25729
25730         * javax/swing/text/DefaultHighlighter.java:
25731         (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25732
25733 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
25734
25735         * javax/swing/text/DefaultCaret.java: Added class variable denoting
25736         the textcomponent having a selection.
25737         (clearSelection): Clear 'componentWithSelection' variable.
25738         (handleSelection): Clear selection of current component having a
25739         selection before setting a new selection in another component.
25740         (mouseDragged): Only react on left mouse button.
25741         (mouseClicked): Only react on left mouse button.
25742
25743 2006-03-21  Roman Kennke  <kennke@aicas.com>
25744
25745         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25746         (paintContentBorderTopEdge): Implemented.
25747         (paintContentBorderBottomEdge): Implemented.
25748         (paintContentBorderLeftEdge): Implemented.
25749         (paintContentBorderRightEdge): Implemented.
25750         (isLastTabInRun): New helper method.
25751
25752 2006-03-21  Roman Kennke  <kennke@aicas.com>
25753
25754         * javax/swing/JTabbedPane.java
25755         (Page.getForeground): Fall back to returning the tabbed pane's
25756         foreground if no foreground has been exclicitly set.
25757
25758 2006-03-21  Roman Kennke  <kennke@aicas.com>
25759
25760         * javax/swing/plaf/metal/MetalComboBoxButton.java
25761         (setEnabled): Update colors of button correctly.
25762         * javax/swing/plaf/metal/MetalComboBoxUI.java
25763         (MetalPropertyChangeListener.propertyChange): Update the colors
25764         of the list and the button when any of the color properties
25765         of the ComboBox change.
25766
25767 2006-03-21  Roman Kennke  <kennke@aicas.com>
25768
25769         * javax/swing/plaf/basic/BasicButtonUI.java
25770         (uninstallDefaults): Only nullify button colors if they are
25771         not UIResource instances.
25772
25773 2006-03-21  David Gilbert  <david.gilbert@object-refinery.com>
25774
25775         * javax/swing/JComponent.java
25776         (AccessibleJComponent.getAccessibleDescription): Call super,
25777         * javax/swing/JToolTip.java: API doc updates all over, plus
25778         (AccessibleJToolTip.getAccessibleDescription): Implemented,
25779         (AccessibleJToolTip.getAccessibleRole): Implemented,
25780         (getAccessibleContext): Implemented,
25781         (paramString): Reimplemented,
25782         (setComponent): Fire PropertyChangeEvent,
25783         (setTipText): Likewise.
25784
25785 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25786
25787         * java/util/Formatter.java:
25788         Make the class final.
25789         
25790 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25791
25792         * java/lang/System.java:
25793         (nanoTime()): Documented.
25794         * java/lang/Thread.java:
25795         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25796         Added docs and security check.
25797         (getUncaughtExceptionHandler()): Documented.
25798         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25799         Added docs and security check.
25800         (getDefaultUncaughtExceptionHandler()): Documented.
25801         (getId()): Documented.
25802         (Thread.State): Documented.
25803         * vm/reference/gnu/classpath/Unsafe.java:
25804         Documented.
25805         (getUnsafe()): Updated to handle security.
25806         
25807 2006-03-20  Tom Tromey  <tromey@redhat.com>
25808
25809         * java/lang/System.java:
25810         (nanoTime()): Implemented.
25811         * java/lang/Thread.java:
25812         (getId()): Implemented.
25813         * java/util/AbstractMap.java:
25814         (SimpleImmutableEntry): New 1.6 class.
25815         (BasicMapEntry): Modified to be SimpleEntry.
25816         * java/util/Collections.java:
25817         Modified to use SimpleEntry.
25818         * java/util/EnumMap.java: Likewise.
25819         * java/util/HashMap.java: Likewise.
25820         * java/util/Hashtable.java: Likewise.
25821         * java/util/TreeMap.java: Likewise.
25822         * vm/reference/gnu/classpath/Unsafe.java:
25823         New class to handle low-level facilities for concurrency.
25824         * vm/reference/java/lang/VMSystem.java:
25825         (nanoTime()): Implemented.
25826         
25827 2006-03-20  Tom Tromey  <tromey@redhat.com>
25828
25829         * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25830         * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25831         (CertStoreSpi): Updated throws clause.
25832         * java/security/cert/CertPathValidatorSpi.java: Added import for
25833         javadoc.
25834         (engineValidate): Updated 'throws' clause.
25835         * java/security/cert/PKIXParameters.java: Javadoc fix.
25836         * java/security/cert/X509CertSelector.java
25837         (setAuthorityKeyIdentifier): Javadoc fix.
25838
25839 2006-03-20  Tom Tromey  <tromey@redhat.com>
25840
25841         * .classpath: Build gnu.javax.swing.plaf.
25842
25843 2006-03-20  Lillian Angel  <langel@redhat.com>
25844
25845         * gnu/javax/imageio/bmp/BMPDecoder.java:
25846         Removed unneeded import.
25847         * gnu/javax/imageio/bmp/BMPEncoder.java:
25848         New class.
25849         * gnu/javax/imageio/bmp/BMPFileHeader.java
25850         (BMPFileHeader): New constructor used to create info header
25851         for an output stream.
25852         (write): Fixed indexes.
25853         * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25854         Initialized writerSpiNames field.
25855         * gnu/javax/imageio/bmp/BMPImageWriter.java:
25856         New class.
25857         * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25858         New class.
25859         * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25860         Change visibility for fields.
25861         (BMPInfoHeader): New constructor used to create
25862         file header for an output stream.
25863         (intToDWord): New method. Converts an int to a
25864         double word.
25865         (intToWord): New method. Converts an int to a word.
25866         * gnu/javax/imageio/bmp/DecodeBF32.java:
25867         Removed unneeded imports.
25868         * gnu/javax/imageio/bmp/EncodeRGB1.java:
25869         New class.
25870         * gnu/javax/imageio/bmp/EncodeRGB16.java:
25871         New class.
25872         * gnu/javax/imageio/bmp/EncodeRGB24.java:
25873         New class.
25874         * gnu/javax/imageio/bmp/EncodeRGB32.java:
25875         New class.
25876         * gnu/javax/imageio/bmp/EncodeRGB4.java:
25877         New class.
25878         * gnu/javax/imageio/bmp/EncodeRGB8.java:
25879         New class.
25880         * gnu/javax/imageio/bmp/EncodeRLE4.java:
25881         New class.
25882         * gnu/javax/imageio/bmp/EncodeRLE8.java:
25883         New class.
25884         * javax/imageio/ImageIO.java:
25885         Fixed comment.
25886
25887 2006-03-20  Roman Kennke  <kennke@aicas.com>
25888
25889         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25890         (TabbedPaneLayout.normalizeTabRuns): New method.
25891         (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25892         (paintTabBorder): Replaced if-else chain with switch.
25893         (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25894         Ocean theme.
25895         (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25896         Ocean theme.
25897         (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25898         Ocean theme.
25899         (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25900         Ocean theme.
25901         (paintTabBackground): Fetch background color from the TabbedPane.
25902         Fixed painting and improved by not using fillPolygon, and instead
25903         using fillRectangle. Replaced if-else chain with switch.
25904         (calculateMaxTabHeight): Added overridden method with FIXME.
25905         (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25906         placement.
25907         (paintContentBorderTopEdge): Added stub with FIXME.
25908         (paintContentBorderBottomEdge): Added stub with FIXME.
25909         (paintContentBorderLeftEdge): Added stub with FIXME.
25910         (paintContentBorderRightEdge): Added stub with FIXME.
25911
25912 2006-03-20  Roman Kennke  <kennke@aicas.com>
25913
25914         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25915         (tabsOpaque): New field.
25916         (installDefaults): Fetch tabsOpaque property from UIManager.
25917         (paintTab): Fill tab background when tabsOpaque property is true.
25918         * javax/swing/plaf/basic/BasicLookAndFeel.java
25919         (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25920
25921 2006-03-20  Roman Kennke  <kennke@aicas.com>
25922
25923         * javax/swing/JTabbedPane.java
25924         (Pane.getBackground): When no background was explicitly set, return
25925         the JTabbedPane's background.
25926
25927 2006-03-20  Wolfgang Baer  <WBaer@gmx.de>
25928
25929         * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25930         * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25931         * org/omg/CORBA/BAD_INV_ORDER.java,
25932         * org/omg/CORBA/BAD_CONTEXT.java,
25933         * org/omg/CORBA/BAD_OPERATION.java,
25934         * org/omg/CORBA/BAD_PARAM.java,
25935         * org/omg/CORBA/BAD_QOS.java,
25936         * org/omg/CORBA/BAD_TYPECODE.java,
25937         * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25938         * org/omg/CORBA/COMM_FAILURE.java,
25939         * org/omg/CORBA/CurrentHolder.java,
25940         * org/omg/CORBA/DATA_CONVERSION.java,
25941         * org/omg/CORBA/FREE_MEM.java,
25942         * org/omg/CORBA/IMP_LIMIT.java,
25943         * org/omg/CORBA/INITIALIZE.java,
25944         * org/omg/CORBA/INTERNAL.java,
25945         * org/omg/CORBA/INTF_REPOS.java,
25946         * org/omg/CORBA/INVALID_ACTIVITY.java,
25947         * org/omg/CORBA/INVALID_TRANSACTION.java,
25948         * org/omg/CORBA/INV_FLAG.java,
25949         * org/omg/CORBA/INV_IDENT.java,
25950         * org/omg/CORBA/INV_OBJREF.java,
25951         * org/omg/CORBA/INV_POLICY.java,
25952         * org/omg/CORBA/MARSHAL.java,
25953         * org/omg/CORBA/NO_RESOURCES.java,
25954         * org/omg/CORBA/NO_MEMORY.java,
25955         * org/omg/CORBA/NO_IMPLEMENT.java,
25956         * org/omg/CORBA/NO_PERMISSION.java,
25957         * org/omg/CORBA/NO_RESPONSE.java,
25958         * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25959         * org/omg/CORBA/OBJ_ADAPTER.java,
25960         * org/omg/CORBA/ParameterModeHolder.java,
25961         * org/omg/CORBA/PolicyError.java,
25962         * org/omg/CORBA/PolicyErrorHolder.java,
25963         * org/omg/CORBA/PolicyHolder.java,
25964         * org/omg/CORBA/PolicyListHolder.java,
25965         * org/omg/CORBA/REBIND.java,
25966         * org/omg/CORBA/TIMEOUT.java,
25967         * org/omg/CORBA/TRANSACTION_MODE.java,
25968         * org/omg/CORBA/TRANSACTION_REQUIRED.java,
25969         * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
25970         * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
25971         * org/omg/CORBA/TRANSIENT.java,
25972         * org/omg/CORBA/TypeCodeHolder.java,
25973         * org/omg/CORBA/UNKNOWN.java,
25974         * org/omg/CORBA/UnionMember.java,
25975         * org/omg/CORBA/UnknownUserException.java,
25976         * org/omg/CORBA/UnknownUserExceptionHolder.java,
25977         * org/omg/CORBA/WrongTransactionHolder.java,
25978         * org/omg/IOP/IOR.java,
25979         * org/omg/IOP/IORHolder.java,
25980         * org/omg/IOP/MultipleComponentProfileHolder.java,
25981         * org/omg/IOP/ServiceContextHolder.java,
25982         * org/omg/IOP/ServiceContextListHolder.java,
25983         * org/omg/IOP/TaggedComponentHolder.java,
25984         * org/omg/IOP/TaggedProfileHolder.java,
25985         * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
25986         * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
25987         * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
25988         * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
25989         Made class final, various javadoc fixlets.      
25990         * org/omg/CORBA/CompletionStatus.java, 
25991         * org/omg/CORBA/PERSIST_STORE.java,
25992         * org/omg/CORBA/ValueMember.java,
25993         * org/omg/PortableInterceptor/ForwardRequest.java,
25994         * org/omg/PortableInterceptor/InvalidSlot.java,
25995         * org/omg/IOP/CodecPackage/TypeMismatch.java,
25996         * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
25997         * org/omg/IOP/CodecPackage/FormatMismatch.java,
25998         * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
25999         * org/omg/IOP/Encoding.java,
26000         * org/omg/IOP/TaggedComponent.java,
26001         * org/omg/IOP/TaggedProfile.java: Made class final.
26002         * org/omg/CORBA/SystemException.java: Made class abstract.      
26003         * org/omg/CORBA/UserException.java: Made class abstract.
26004         (UserException): Now protected.
26005         (UserException(String)): Likewise.
26006         * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
26007         (typecode): Removed unused private variable.
26008
26009 2006-03-20  Chris Burdess  <dog@gnu.org>
26010
26011         Fixes PR 26761
26012         * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
26013
26014 2006-03-20  Roman Kennke  <kennke@aicas.com>
26015
26016         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26017         (paintTabArea): Look up tab run indices in tabRuns array instead
26018         of using the index directly.
26019
26020 2006-03-20  Roman Kennke  <kennke@aicas.com>
26021
26022         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26023         (paintTab): Fixed painting.
26024         (paintText): Fixed text painting.
26025         (paintFocusIndicator): Fixed painting of the focus rectangle.
26026         (paintContentBorder): Fixed painting of the content area.
26027
26028 2006-03-20  Mark Wielaard  <mark@klomp.org>
26029
26030         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
26031         static lock Object field.
26032         (produce): Synchronize on pixbufLock when calling initState(),
26033         pumpBytes() and pumpDone().
26034         (finalize): Likewise when calling finish().
26035         (GdkPixbufWriter.write): Likewise when calling streamImage().
26036         * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
26037         when calling loadPixbuf. Chain exception.
26038         (GtkImage(byte[])): Likewise when calling loadImageFromData.
26039         (GtkImage(URL)): Likewise.
26040         (GtkImage(int,int)): Likewise when calling createPixmap().
26041         (GtkImage(GtkImage,int,int,int)): Likewise when calling
26042         createScaledPixmap().
26043         (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
26044         (setImage): Likewise when calling createPixmap() and setPixels().
26045         (getSource): Likewise when calling getPixels().
26046         (flush): Likewise when calling freePixmap().
26047         (finalize): Likewise.
26048         (drawImage): Likewise when calling drawPixelsScaledFlipped() and
26049         drawPixelsScaledFlipped().
26050         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
26051         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
26052         gdk_threads_enter/leave().
26053         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
26054         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
26055         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
26056         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
26057         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
26058         (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
26059         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
26060         (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
26061         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
26062         (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
26063         (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
26064         (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
26065         (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
26066
26067 2006-03-20  Roman Kennke  <kennke@aicas.com>
26068
26069         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26070         (calculateTabHeight): Not need to use SwingUtilities here.
26071         (getTabInsets): Do not rotate insets.
26072
26073 2006-03-20  Roman Kennke  <kennke@aicas.com>
26074
26075         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26076         (paint): Make sure the layout is valid before painting.
26077         (paintTabArea): Made tab painting more straightforward and efficient.
26078
26079 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26080
26081         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
26082         (getScrollableUnitIncrement): Rewritten.
26083         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
26084         (getScrollableUnitIncrement): Rewritten.
26085         * javax/swing/plaf/basic/BasicScrollPaneUI.java
26086         (ROWS_PER_WHEEL_CLICK): New field. 
26087         (MouseWheelHandler.mouseWheelMoved): Rewritten.
26088
26089 2006-03-20  Roman Kennke  <kennke@aicas.com>
26090
26091         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26092         (paint): Make sure the layout is valid before painting.
26093         (paintTabArea): Made tab painting more straightforward and efficient.
26094
26095 2006-03-20  Roman Kennke  <kennke@aicas.com>
26096
26097         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26098         (MouseHandler.mousePressed): Rewritten for clearer and simpler
26099         code.
26100         (MouseHandler.mouseEntered): Implemented to set the rollover tab.
26101         (MouseHandler.mouseMoved): Implemented to set the rollover tab.
26102         (MouseHandler.mouseExited): Implemented to unset the rollover tab.
26103         (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
26104         bounds here. That is moved into layoutContainer().
26105         (calculateSize): Correctly respect insets. Made code slightly more
26106         clear and efficient.
26107         (calculateTabRects): Rewritten completely. The old code was
26108         not quite right and unstable in some situations.
26109         (layoutContainer): Moved layout of tabbed pane's subcomponents
26110         here.
26111         (tabRunsDirty): New field.
26112         (rolloverTab): New field.
26113         (tabForCoordinate): Rewritten for simplicity and correctness.
26114         (setRolloverTab): New method.
26115         (getRolloverTab): New method.
26116
26117 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26118
26119         * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
26120         * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
26121         (getScrollableUnitIncrement
26122         * javax/swing/Scrollable.java: Documented.
26123         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
26124         (MouseWheelHandler):Rewritten.
26125
26126 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26127
26128         * doc/vmintegration.texinfo:
26129         Updated with gnu.classpath.Unsafe
26130         
26131 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26132
26133         * NEWS:
26134         Updated with VMArray and Unsafe changes.
26135         
26136 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26137
26138         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
26139         (getScrollableUnitIncrement): Rewritten.
26140         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
26141         (getScrollableUnitIncrement): Rewritten. 
26142         (getScrollableBlockIncrement): Rewritten.
26143         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
26144         (MouseWheelHandler): Implemented. (ViewportContainerListener): 
26145         New class. (containerListener): New field. (SCROLL_NON_SCROLABLES): 
26146         New field. (installListeners): Install wheel listeners. 
26147         (uninstallListeners): Uninstall wheel listeners.
26148         * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
26149         of the MouseWheelListener. (installListeners): Do not install wheel
26150         listener. (ROWS_PER_WHEEL_CLICK): Removed.
26151
26152 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26153
26154         * vm/reference/gnu/classpath/Unsafe.java:
26155         Documented.
26156         (getUnsafe()): Updated to handle security.
26157
26158 2006-03-19  Tom Tromey  <tromey@redhat.com>
26159
26160         * vm/reference/gnu/classpath/Unsafe.java:
26161         New class to handle low-level facilities for concurrency.
26162
26163 2006-03-19  Mark Wielaard  <mark@klomp.org>
26164
26165         * include/Makefile.am: Rename PlainDatagramSocketImpl to
26166         VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
26167         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
26168         * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
26169
26170 2006-03-19  Mark Wielaard  <mark@klomp.org>
26171
26172         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
26173         familyName.
26174         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
26175
26176 2006-03-19  Michael Koch  <konqueror@gmx.de>
26177
26178         * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
26179         resource/gnu/java/locale/LocaleInformation_am.properties,
26180         resource/gnu/java/locale/LocaleInformation_am_ET.properties,
26181         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
26182         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26183         resource/gnu/java/locale/LocaleInformation_bg.properties,
26184         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
26185         resource/gnu/java/locale/LocaleInformation_ca.properties,
26186         resource/gnu/java/locale/LocaleInformation_cs.properties,
26187         resource/gnu/java/locale/LocaleInformation_cy.properties,
26188         resource/gnu/java/locale/LocaleInformation_da.properties,
26189         resource/gnu/java/locale/LocaleInformation_de.properties,
26190         resource/gnu/java/locale/LocaleInformation_dv.properties,
26191         resource/gnu/java/locale/LocaleInformation_el.properties,
26192         resource/gnu/java/locale/LocaleInformation_en.properties,
26193         resource/gnu/java/locale/LocaleInformation_en_GB.properties,
26194         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
26195         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
26196         resource/gnu/java/locale/LocaleInformation_en_SG.properties,
26197         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
26198         resource/gnu/java/locale/LocaleInformation_es.properties,
26199         resource/gnu/java/locale/LocaleInformation_es_AR.properties,
26200         resource/gnu/java/locale/LocaleInformation_es_BO.properties,
26201         resource/gnu/java/locale/LocaleInformation_es_CL.properties,
26202         resource/gnu/java/locale/LocaleInformation_es_CO.properties,
26203         resource/gnu/java/locale/LocaleInformation_es_CR.properties,
26204         resource/gnu/java/locale/LocaleInformation_es_DO.properties,
26205         resource/gnu/java/locale/LocaleInformation_es_EC.properties,
26206         resource/gnu/java/locale/LocaleInformation_es_ES.properties,
26207         resource/gnu/java/locale/LocaleInformation_es_GT.properties,
26208         resource/gnu/java/locale/LocaleInformation_es_HN.properties,
26209         resource/gnu/java/locale/LocaleInformation_es_MX.properties,
26210         resource/gnu/java/locale/LocaleInformation_es_NI.properties,
26211         resource/gnu/java/locale/LocaleInformation_es_PA.properties,
26212         resource/gnu/java/locale/LocaleInformation_es_PE.properties,
26213         resource/gnu/java/locale/LocaleInformation_es_PR.properties,
26214         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
26215         resource/gnu/java/locale/LocaleInformation_es_SV.properties,
26216         resource/gnu/java/locale/LocaleInformation_es_US.properties,
26217         resource/gnu/java/locale/LocaleInformation_es_UY.properties,
26218         resource/gnu/java/locale/LocaleInformation_es_VE.properties,
26219         resource/gnu/java/locale/LocaleInformation_fa.properties,
26220         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26221         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
26222         resource/gnu/java/locale/LocaleInformation_fi.properties,
26223         resource/gnu/java/locale/LocaleInformation_fr.properties,
26224         resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
26225         resource/gnu/java/locale/LocaleInformation_ga.properties,
26226         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
26227         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
26228         resource/gnu/java/locale/LocaleInformation_hr.properties,
26229         resource/gnu/java/locale/LocaleInformation_hu.properties,
26230         resource/gnu/java/locale/LocaleInformation_id.properties,
26231         resource/gnu/java/locale/LocaleInformation_is.properties,
26232         resource/gnu/java/locale/LocaleInformation_it.properties,
26233         resource/gnu/java/locale/LocaleInformation_ja.properties,
26234         resource/gnu/java/locale/LocaleInformation_kk.properties,
26235         resource/gnu/java/locale/LocaleInformation_kl.properties,
26236         resource/gnu/java/locale/LocaleInformation_km.properties,
26237         resource/gnu/java/locale/LocaleInformation_ky.properties,
26238         resource/gnu/java/locale/LocaleInformation_lo.properties,
26239         resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
26240         resource/gnu/java/locale/LocaleInformation_lt.properties,
26241         resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
26242         resource/gnu/java/locale/LocaleInformation_lv.properties,
26243         resource/gnu/java/locale/LocaleInformation_mk.properties,
26244         resource/gnu/java/locale/LocaleInformation_mn.properties,
26245         resource/gnu/java/locale/LocaleInformation_mr.properties,
26246         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
26247         resource/gnu/java/locale/LocaleInformation_ms.properties,
26248         resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
26249         resource/gnu/java/locale/LocaleInformation_mt.properties,
26250         resource/gnu/java/locale/LocaleInformation_nb.properties,
26251         resource/gnu/java/locale/LocaleInformation_nl.properties,
26252         resource/gnu/java/locale/LocaleInformation_nn.properties,
26253         resource/gnu/java/locale/LocaleInformation_om_ET.properties,
26254         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
26255         resource/gnu/java/locale/LocaleInformation_pa.properties,
26256         resource/gnu/java/locale/LocaleInformation_pl.properties,
26257         resource/gnu/java/locale/LocaleInformation_pt.properties,
26258         resource/gnu/java/locale/LocaleInformation_ru.properties,
26259         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
26260         resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
26261         resource/gnu/java/locale/LocaleInformation_sa.properties,
26262         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
26263         resource/gnu/java/locale/LocaleInformation_sk.properties,
26264         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26265         resource/gnu/java/locale/LocaleInformation_sv.properties,
26266         resource/gnu/java/locale/LocaleInformation_sw.properties,
26267         resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
26268         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
26269         resource/gnu/java/locale/LocaleInformation_te.properties,
26270         resource/gnu/java/locale/LocaleInformation_te_IN.properties,
26271         resource/gnu/java/locale/LocaleInformation_th.properties,
26272         resource/gnu/java/locale/LocaleInformation_ti.properties,
26273         resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
26274         resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
26275         resource/gnu/java/locale/LocaleInformation_tr.properties,
26276         resource/gnu/java/locale/LocaleInformation_tt.properties,
26277         resource/gnu/java/locale/LocaleInformation_uk.properties,
26278         resource/gnu/java/locale/LocaleInformation_ur.properties,
26279         resource/gnu/java/locale/LocaleInformation_uz.properties,
26280         resource/gnu/java/locale/LocaleInformation_zh.properties,
26281         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26282         More updates for CLDR 1.3.
26283         
26284 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26285
26286         * doc/vmintegration.texinfo:
26287         Updated to include VMArray.
26288         * include/Makefile.am:
26289         Replace java_lang_reflect_Array.h with
26290         java_lang_reflect_VMArray.h
26291         * include/java_lang_reflect_VMArray.h:
26292         New autogenerated header.
26293         * include/java_lang_reflect_Array.h:
26294         Removed.
26295         * java/lang/reflect/Array.java:
26296         (newInstance(Class,int)): Calls VMArray.
26297         (createMultiArray(Class,int[],int)): Likewise.
26298         (createObjectArray(Class,int)): Removed.
26299         * native/jni/java-lang/Makefile.am:
26300         Replaced java_lang_reflect_Array.c with
26301         java_lang_reflect_VMArray.c
26302         * native/jni/java-lang/java_lang_reflect_VMArray.c:
26303         Renamed from java_lang_reflect_Array.c.
26304         * vm/reference/java/lang/reflect/VMArray.java:
26305         (createObjectArray(Class,int)): Native method moved
26306         from java.lang.reflect.Array.
26307
26308 2006-03-19  Roman Kennke  <kennke@aicas.com>
26309
26310         * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
26311         * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
26312         New class.
26313         * examples/gnu/classpath/examples/swing/Demo.java
26314         (mkButtonBar): Hook up theme editor.
26315         (mkMenuBar): Hook up theme editor.
26316
26317 2006-03-19  Roman Kennke  <kennke@aicas.com>
26318
26319         * javax/swing/plaf/basic/BasicFileChooserUI.java
26320         (ApproveSelectionAction.actionPerformed): Added case for when
26321         nothing has been selected but the user has typed a filename
26322         into the textfield.
26323         (getFileName): Return the value of the text field.
26324
26325 2006-03-19  Roman Kennke  <kennke@aicas.com>
26326
26327         * javax/swing/JColorChooser.java
26328         (createDialog): Create JDialog instead of ModalDialog. Make this
26329         dialog modal by calling setModal(true).
26330         (ModalDialog): Removed unnecessary inner class.
26331
26332 2006-03-19  Tom Tromey  <tromey@redhat.com>
26333
26334         * java/awt/font/NumericShaper.java: Rewrote.
26335
26336 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26337
26338         * javax/swing/plaf/basic/BasicTableUI.java:
26339         Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
26340         New field. MouseInputHandler.mouseWheelMoved): New method.
26341         (installListeners): Register MouseInputHandler as
26342         wheel listener also.
26343         
26344 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26345
26346         PR 26746
26347         * javax/swing/ViewportLayout.java (layoutContainer):
26348         If Scrollable tracks dimension, set view size to the port size. 
26349         If port is larger than the view, move the view to the top/left.
26350
26351 2006-03-19  Roman Kennke  <kennke@aicas.com>
26352
26353         * javax/swing/MenuSelectionManager.java
26354         (isComponentPartOfCurrentMenu): Also consider the first element
26355         in a menu selection list. Make a isDescendentFrom check instead
26356         of simple equals to also catch sub components.
26357
26358 2006-03-19  Roman Kennke  <kennke@aicas.com>
26359
26360         * javax/swing/JComboBox.java
26361         (actionPerformed): Fetch selected item directly from the editor
26362         instead of trying to get it from the event.
26363
26364 2006-03-19  Roman Kennke  <kennke@aicas.com>
26365
26366         * javax/swing/plaf/basic/BasicComboBoxEditor.java
26367         (listener): Removed field.
26368         (BasicComboBoxEditor): Removed initialization of listener field.
26369         (addActionListener): Add listener directly to editor.
26370         (removeActionListener): Remove listener directly from editor.
26371         (ComboBoxEditorListener): Removed class.
26372         * javax/swing/plaf/basic/BasicComboBoxUI.java
26373         (getPreferredSize): Fixed to return the minimumSize.
26374         (getMinimumSize): Improved code for more clearness.
26375         (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26376         (rectangleForCurrentValue): Correctly respect insets.
26377         (getDefaultSize): Return preferredSize here. Dont override height
26378         with 100.
26379         (getDisplaySize): Moved around code for more clearness. Added
26380         handling of prototype renderer.
26381         (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26382         arrowButton bounds since the former depends on the latter.
26383         * javax/swing/plaf/metal/MetalComboBoxButton.java:
26384         (MetalComboBoxButton): Make button rollover disabled.
26385         (isFocusTraversable): Return false unconditionally.
26386         * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26387         (EditorTextField): New class. Fixes the size properties.
26388         (MetalComboBoxEditor): Create instance of EditorTextField.
26389         * javax/swing/plaf/metal/MetalComboBoxUI.java:
26390         (getMinimumSize): Fixed editable size.
26391
26392 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26393
26394         * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26395
26396 2006-03-18  Roman Kennke  <kennke@aicas.com>
26397
26398         * javax/swing/plaf/metal/MetalToolBarUI.java
26399         (update): Added overridden method to support OceanTheme.
26400
26401 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26402
26403         * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped): 
26404         Activate the cell editing on character keystroke.
26405
26406 2006-03-18  Mark Wielaard  <mark@klomp.org>
26407
26408         * java/awt/Component.java (eventTypeEnabled): Handle
26409         MouseEvent.MOUSE_WHEEL.
26410         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26411         New callback method.
26412         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26413         (AWT_MOUSE_WHEEL): New constant.
26414         (AWT_WHEEL_UNIT_SCROLL): Likewise.
26415         (postMouseWheelEventID): New static variable.
26416         (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26417         (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26418         (button_number): Renamed to ...
26419         (button_number_direction): variable to hold button number or scroll
26420         direction.
26421         (component_button_press_cb): Use button_number_direction.
26422         (component_scroll_cb): New static callback function.
26423
26424 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26425
26426         * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26427         Return without action.
26428
26429 2006-03-18  Mark Wielaard  <mark@klomp.org>
26430
26431         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26432         Don't cast graphics object to GdkGraphics.
26433         (updateComponent): Likewise.
26434
26435 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26436
26437         * examples/gnu/classpath/examples/swing/TableDemo.java
26438         (TModel.getColumnClass): Set second column to Icon.
26439         (TModel.isCellEditable): Say icons are not editable.
26440         (createContent): Fill the in second column with some icons from 
26441         MetalIconFactory.
26442
26443 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26444
26445         * examples/gnu/classpath/examples/swing/Demo.java
26446         (mkButtonBar): Set maximal button bar height to the preferred height.
26447
26448 2006-03-18  Roman Kennke  <kennke@aicas.com>
26449
26450         * javax/swing/plaf/basic/BasicComboPopup.java
26451         (show): Substract insets from scroller width.
26452         (getPopupHeightForRowCount): If height==0, return a default of 100
26453         instead for empty ComboBoxes.
26454
26455 2006-03-18  Roman Kennke  <kennke@aicas.com>
26456
26457         * javax/swing/plaf/basic/BasicLookAndFeel.java
26458         (PopupHelper.autoClosePopups): Removed field.
26459         (PopupHelper.mousePressed): Removed processing of registered
26460         autoclose popups.
26461         (registerForAutoClose): Removed unneeded method.
26462         (autoClosePopups): Removed unneeded method.
26463         (registerForAutoClose): Removed unneeded method.
26464
26465 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26466
26467         * javax.swing.JTable.java (TableTextField): Set border.
26468         (moveToCellBeingEdited): Do not adjust the editor boundaries
26469
26470 2006-03-18  Michael Koch  <konqueror@gmx.de>
26471
26472         * resource/gnu/java/locale/LocaleInformation_aa.properties,
26473         resource/gnu/java/locale/LocaleInformation_af.properties,
26474         resource/gnu/java/locale/LocaleInformation_am.properties,
26475         resource/gnu/java/locale/LocaleInformation_ar.properties,
26476         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26477         resource/gnu/java/locale/LocaleInformation_be.properties,
26478         resource/gnu/java/locale/LocaleInformation_bg.properties,
26479         resource/gnu/java/locale/LocaleInformation_bn.properties,
26480         resource/gnu/java/locale/LocaleInformation_ca.properties,
26481         resource/gnu/java/locale/LocaleInformation_cs.properties,
26482         resource/gnu/java/locale/LocaleInformation_cy.properties,
26483         resource/gnu/java/locale/LocaleInformation_da.properties,
26484         resource/gnu/java/locale/LocaleInformation_de.properties,
26485         resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26486         resource/gnu/java/locale/LocaleInformation_dz.properties,
26487         resource/gnu/java/locale/LocaleInformation_en.properties,
26488         resource/gnu/java/locale/LocaleInformation_eo.properties,
26489         resource/gnu/java/locale/LocaleInformation_es.properties,
26490         resource/gnu/java/locale/LocaleInformation_et.properties,
26491         resource/gnu/java/locale/LocaleInformation_eu.properties,
26492         resource/gnu/java/locale/LocaleInformation_fa.properties,
26493         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26494         resource/gnu/java/locale/LocaleInformation_fi.properties,
26495         resource/gnu/java/locale/LocaleInformation_fo.properties,
26496         resource/gnu/java/locale/LocaleInformation_fr.properties,
26497         resource/gnu/java/locale/LocaleInformation_ga.properties,
26498         resource/gnu/java/locale/LocaleInformation_gl.properties,
26499         resource/gnu/java/locale/LocaleInformation_gu.properties,
26500         resource/gnu/java/locale/LocaleInformation_he.properties,
26501         resource/gnu/java/locale/LocaleInformation_hi.properties,
26502         resource/gnu/java/locale/LocaleInformation_hr.properties,
26503         resource/gnu/java/locale/LocaleInformation_hu.properties,
26504         resource/gnu/java/locale/LocaleInformation_hy.properties,
26505         resource/gnu/java/locale/LocaleInformation_id.properties,
26506         resource/gnu/java/locale/LocaleInformation_is.properties,
26507         resource/gnu/java/locale/LocaleInformation_it.properties,
26508         resource/gnu/java/locale/LocaleInformation_ja.properties,
26509         resource/gnu/java/locale/LocaleInformation_ka.properties,
26510         resource/gnu/java/locale/LocaleInformation_km.properties,
26511         resource/gnu/java/locale/LocaleInformation_ko.properties,
26512         resource/gnu/java/locale/LocaleInformation_lo.properties,
26513         resource/gnu/java/locale/LocaleInformation_lt.properties,
26514         resource/gnu/java/locale/LocaleInformation_lv.properties,
26515         resource/gnu/java/locale/LocaleInformation_mk.properties,
26516         resource/gnu/java/locale/LocaleInformation_mr.properties,
26517         resource/gnu/java/locale/LocaleInformation_ms.properties,
26518         resource/gnu/java/locale/LocaleInformation_mt.properties,
26519         resource/gnu/java/locale/LocaleInformation_nb.properties,
26520         resource/gnu/java/locale/LocaleInformation_nl.properties,
26521         resource/gnu/java/locale/LocaleInformation_nn.properties,
26522         resource/gnu/java/locale/LocaleInformation_om.properties,
26523         resource/gnu/java/locale/LocaleInformation_pl.properties,
26524         resource/gnu/java/locale/LocaleInformation_ps.properties,
26525         resource/gnu/java/locale/LocaleInformation_pt.properties,
26526         resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26527         resource/gnu/java/locale/LocaleInformation_ro.properties,
26528         resource/gnu/java/locale/LocaleInformation_ru.properties,
26529         resource/gnu/java/locale/LocaleInformation_sk.properties,
26530         resource/gnu/java/locale/LocaleInformation_sl.properties,
26531         resource/gnu/java/locale/LocaleInformation_so.properties,
26532         resource/gnu/java/locale/LocaleInformation_sq.properties,
26533         resource/gnu/java/locale/LocaleInformation_sr.properties,
26534         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26535         resource/gnu/java/locale/LocaleInformation_sv.properties,
26536         resource/gnu/java/locale/LocaleInformation_sw.properties,
26537         resource/gnu/java/locale/LocaleInformation_ta.properties,
26538         resource/gnu/java/locale/LocaleInformation_te.properties,
26539         resource/gnu/java/locale/LocaleInformation_th.properties,
26540         resource/gnu/java/locale/LocaleInformation_tr.properties,
26541         resource/gnu/java/locale/LocaleInformation_uk.properties,
26542         resource/gnu/java/locale/LocaleInformation_uz.properties,
26543         resource/gnu/java/locale/LocaleInformation_vi.properties,
26544         resource/gnu/java/locale/LocaleInformation_zh.properties,
26545         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26546         Updated to use the new localized strings for currencies, languages,
26547         variants, territories, etc.
26548
26549 2006-03-18  Ito Kazumitsu  <kaz@maczuka.gcd.org>
26550
26551         * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26552         (start, end): Added comment about the negative values of them,
26553         (finish): Saves the input text in matchedCharIndexed,
26554         (toString): If the start or end index is out of bounds of the
26555         matched text, get the substring from matchedCharIndexed.
26556         Added special handlings in case start/end index < -1,
26557         (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26558         Added special handlings in case start/end index < -1,
26559         * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26560         found match, but keep the index as the original match.
26561         * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26562         found match, but keep the index as the original match.
26563         * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26564         in case start/end index < -1.
26565         
26566 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26567
26568         * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26569         Set to false.   
26570
26571 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26572          
26573         * javax/swing/text/DefaultCaret.java:
26574         (mouseClicked) Use setDot() and moveDot() instead of
26575         JTextComponent.select().
26576
26577 2006-03-17  Roman Kennke  <kennke@aicas.com>
26578
26579         * javax/swing/plaf/metal/MetalComboBoxEditor.java
26580         (MetalComboBoxEditorBorder.paintBorder): Implemented special
26581         border painting for the Ocean theme.
26582         (MetalComboBoxEditor): Create editor directly instead of going
26583         to super.
26584         
26585 2006-03-17  Roman Kennke  <kennke@aicas.com>
26586
26587         * javax/swing/text/JTextComponent.java
26588         (JTextComponent): Make text components opaque.
26589
26590 2006-03-17  Roman Kennke  <kennke@aicas.com>
26591
26592         * javax/swing/plaf/metal/MetalComboBoxUI.java
26593         (MetalComboBoxLayoutManager.layoutContainer): Forward to
26594         layoutComboBox().
26595         (MetalPropertyChangeListener.propertyChange): Update focusable
26596         flag according to the enable and editable state.
26597         (editablePropertyChanged): Removed unnecessary code.
26598         (getMinimumSize): Rewritten to correctly compute the
26599         size, respecting the insets of the components and the icon,
26600         the visual properties of the combobox, etc.
26601         (configureEditor): Update listeners correctly.
26602         (unconfigureEditor): Update listeners correctly.
26603         (layoutComboBox): Implemented.
26604
26605 2006-03-17  Roman Kennke  <kennke@aicas.com>
26606
26607         * javax/swing/plaf/metal/MetalComboBoxEditor.java
26608         (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26609         instead of Flush3DBorder.
26610         (paintBorder): Fixed border painting.
26611         (editorBorderInsets): Fixed border's insets.
26612
26613 2006-03-17  Roman Kennke  <kennke@aicas.com>
26614
26615         * javax/swing/plaf/metal/MetalComboBoxButton.java
26616         (rendererPane): Documented.
26617         (MetalComboBoxButton): Set enabled flag from ComboBox.
26618         Set focusable flag from ComboBox's enabled flag.
26619         (isFocusTraversable): Make button focus traversable if
26620         ComboBox is not editable but enable.
26621         (paintComponent): Fixed painting to correctly adjust
26622         the boxes of the renderer and button.
26623
26624 2006-03-17  Roman Kennke  <kennke@aicas.com>
26625
26626         * javax/swing/plaf/basic/BasicButtonUI.java
26627         (installDefaults): Only install UI margin if installed margin.
26628         is null or a UIResource.         
26629         (uninstallDefaults): Only uninstall margin if it's       
26630         a UIResource.    
26631          
26632  2006-03-17  Robert Schuster  <robertschuster@fsfe.org>          
26633          
26634          * javax/swing/text/DefaultCaret.java:   
26635          (mouseClicked) Use setDot() and moveDot() instead of    
26636          JTextComponent.select().        
26637  
26638 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26639
26640         * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26641         inner classes into package-private inner classes, added actions
26642         for caret movement and selection to the next and previous word
26643         and an action which selects the whole text.
26644
26645 2006-03-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
26646
26647         * javax/swing/Spring.java: Uncomment springdebug methods and
26648         rename them toString.
26649         * javax/swing/SpringLayout.java: Likewise.
26650
26651 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26652
26653         * javax/swing/text/FieldView.java:
26654         (viewToModel): Added call to adjust allocation area.
26655
26656 2006-03-17  Roman Kennke  <kennke@aicas.com>
26657
26658         * javax/swing/plaf/basic/BasicComboBoxUI.java
26659         (mouseListener): Removed field.
26660         (buttonBackground): Removed field.
26661         (buttonShadow): Removed field.
26662         (buttonDarkShadow): Removed field.
26663         (buttonHighlight): Removed field.
26664         (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26665         (installUI): Initialize and configure renderer and editor here.
26666         (uninstallUI): Close popup before uninitializing.
26667         Message popup that we are uninitializing. Clear layout.
26668         (installDefaults): Install UI border. Don't install colors.
26669         (installListeners): Install listeners fetched from the popup.
26670         Remove handling of mouseListener.
26671         (uninstallDefaults): Uninstall border. Don't handle colors.
26672         (uninstallListeners): Don't handle mouseListener. Uninstall
26673         listener from the popup.
26674         (createMouseListener): Removed method.
26675         (createRenderer): Create UIResource.
26676         (installComponents): Cleaned up.
26677         (uninstallComponents): Only remove renderer when it is
26678         a UIResource.
26679         (addEditor): Remove editor before adding new one.
26680         Fetch editor from comboBox.
26681         (removeEditor): Only do something when editor != null. Unconfigure
26682         editor before removing.
26683         (configureEditor): Add key listener. Call comboBox.configureEditor.
26684         (unconfigureEditor): Removed key listener.
26685         (configureArrowButton): Only handle when arrowButton != null.
26686         Add mouse listeners to arrow button.
26687         (unconfigureArrowButton): Remove listeners.
26688         (createArrowButton): Don't handle colors here.
26689         (setPopupVisible): Don't handle focus here.
26690         (paint): Only paint when comboBox is not editable. Update
26691         hasFocus flag.
26692         (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26693         (getMinimumSize): Respect insets here.
26694         (getMaximumSize): Return preferredSize with width of 32767.
26695         (getInsets): Return ComboBox insets.
26696         (paintCurrentValue): Paint using currentValuePane.
26697         Install correct colors. Don't revalidate.
26698         (paintCurrentValueBackground): Implemented.
26699         (getDefaultSize): Reimplemented using a default renderer.
26700         (getDisplaySize): Reimplemented to use renderer.
26701         (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26702         (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26703         (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26704         (FocusHandler.focusGained): Don't invalidate minimumSize.
26705         (FocusHandler.focusLost): Don't invalidate minimumSize.
26706         Only close popup if focus change is not temporary.
26707         (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26708         Reconfigure editor if not null.
26709         (ListDataHandler.contentsChanged): Revalidate and reconfigure
26710         editor if necessary.
26711         (ListDataHandler.intervalAdded): Fixed updating of the display size.
26712         (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26713         (MouseHandler): Removed unnecessary class.
26714
26715 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26716
26717         * examples/gnu/classpath/examples/swing/Demo.java:
26718         (Demo): Set default closing operation to shutdown the runtime.
26719
26720 2006-03-17  Roman Kennke  <kennke@aicas.com>
26721
26722         * javax/swing/plaf/basic/BasicComboPopup.java
26723         (BasicComboPopup): Create listeners here.
26724         Configure components here.
26725         (show): Correctly calculate bounds using computePopupBounds().
26726         Make scroller fixed-size. Removed special autocloser handling.
26727         (hide): Rewritten to use MenuSelectionHandler.
26728         (createList): Don't set selection mode here.
26729         (configureList): Correctly install colors and fonts and selectionMode.
26730         (createScroller): Set scrollpane policies.
26731         (configureScroller): Make scroller and scrollbar not-focusable.
26732         (configurePopup): Make popup opaque and borderPainted.
26733         (installComboBoxListeners): Don't install mouse listener on ComboBox.
26734         (delegateFocus): Implemented.
26735         (convertMouseEvent): Implemented.
26736         (updateListBoxSelectionForEvent): Implemented to also handle
26737         autoscrolling.
26738         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26739         Only open popup on left mouse-click.
26740         (InvocationMouseHandler.mouseReleased): Rewritten.
26741         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26742         support autoscrolling.
26743         (ItemHandler.itemStateChanged): Implemented to sync selection with
26744         the comboBox.
26745         (ListMouseHandler.mouseReleased): Fetch selected index directly
26746         from list.
26747         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26748         the list box.
26749         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26750         When model changes, then update listeners correctly.
26751         (uninstallListeners): Don't uninstall list listeners.
26752         (uninstallComboBoxListeners): Don't uninstall mouse listeners
26753         from comboBox.
26754         (syncSelection): New helper method.
26755
26756 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26757
26758         * javax/swing/text/PlainView.java:
26759         (drawLine): Rewritten.
26760         (drawSelectedText): Corrected last argument for
26761         Utilities.drawTabbedText() call.
26762         (paint): Store start and end of selection in object variables,
26763         store constant values of for-loop in local variables.
26764         * javax/swing/text/Utilities.java:
26765         (drawTabbedText): Add 'pixelWidth' to the return value, store
26766         constant value of for-loop in local variable.
26767
26768 2006-03-17  Roman Kennke  <kennke@aicas.com>
26769
26770         * javax/swing/plaf/basic/BasicComboPopup.java
26771         (BasicComboPopup): Create listeners here.
26772         Configure components here.
26773         (show): Correctly calculate bounds using computePopupBounds().
26774         Make scroller fixed-size. Removed special autocloser handling.
26775         (hide): Rewritten to use MenuSelectionHandler.
26776         (createList): Don't set selection mode here.
26777         (configureList): Correctly install colors and fonts and selectionMode.
26778         (createScroller): Set scrollpane policies.
26779         (configureScroller): Make scroller and scrollbar not-focusable.
26780         (configurePopup): Make popup opaque and borderPainted.
26781         (installComboBoxListeners): Don't install mouse listener on ComboBox.
26782         (delegateFocus): Implemented.
26783         (convertMouseEvent): Implemented.
26784         (updateListBoxSelectionForEvent): Implemented to also handle
26785         autoscrolling.
26786         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26787         Only open popup on left mouse-click.
26788         (InvocationMouseHandler.mouseReleased): Rewritten.
26789         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26790         support autoscrolling.
26791         (ItemHandler.itemStateChanged): Implemented to sync selection with
26792         the comboBox.
26793         (ListMouseHandler.mouseReleased): Fetch selected index directly
26794         from list.
26795         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26796         the list box.
26797         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26798         When model changes, then update listeners correctly.
26799         (uninstallListeners): Don't uninstall list listeners.
26800         (uninstallComboBoxListeners): Don't uninstall mouse listeners
26801         from comboBox.
26802         (syncSelection): New helper method.
26803
26804 2006-03-17  Roman Kennke  <kennke@aicas.com>
26805
26806         * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26807         (noFocusBorder): Make border with insets of (1,1,1,1).
26808         (BasicComboBoxRenderer): Make renderer opaque.
26809         No need to explicitly set alignment.
26810         (getListCellRendererComponent): Rewritten to correctly initialize
26811         color and font.
26812
26813 2006-03-17  Roman Kennke  <kennke@aicas.com>
26814
26815         * javax/swing/JPopupMenu.java
26816         (setVisible): Handle JPopupMenu opening and closing via
26817         the MenuSelectionHandler.
26818
26819 2006-03-17  Wolfgang Baer  <WBaer@gmx.de>
26820
26821         * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26822         * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26823         * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java: 
26824         Likewise.       
26825         * org/omg/CORBA/portable/RemarshalException.java: Likewise
26826         * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26827         * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26828         * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26829         * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26830         * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26831         * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26832         * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26833         * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26834         * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26835
26836 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26837
26838         * java/rmi/activation/Activatable.java: Implemented.
26839         java/rmi/activation/ActivationDesc.java: Implemented.
26840         java/rmi/activation/ActivationGroup.java: Implemented.
26841         java/rmi/activation/ActivationGroupDesc.java: Implemented.
26842         java/rmi/activation/ActivationID.java: Implemented.
26843         java/rmi/activation/ActivationSystem.java: Implemented.
26844         * gnu/java/rmi/server/UnicastServerRef.java 
26845         (exportObject, incommingMessageCall): Documented.
26846         * java/rmi/activation/package.html: Documented.
26847         * java/rmi/server/ObjID.java (objNum, space): Made package
26848         protected.
26849         * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26850         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26851         Iteration bug fix.
26852         * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26853         gnu/java/rmi/activation/BidiTable.java: New file.
26854         gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26855         gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26856         gnu/java/rmi/server/ActivatableServerRef.java: New file.
26857
26858 2006-03-17  Mark Wielaard  <mark@klomp.org>
26859
26860         * java/security/BasicPermission.java (BasicPermission): Check
26861         name equals empty string to force NullPointerException.
26862
26863 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26864
26865         PR classpath/26606
26866         Commit patch by Caolan McNamara  <caolanm@redhat.com>
26867         * javax/swing/Spring.java: Complete implementation
26868         * javax/swing/SpringLayout.java: Likewise.
26869
26870 2006-03-16  Keith Seitz  <keiths@redhat.com>
26871
26872         * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26873         all references.
26874         (run): Remove catch clause for InterruptedException. It is no
26875         longer necessary.
26876
26877 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26878
26879         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26880         (getFontMetrics): Handle monospaced fonts specially.
26881
26882 2006-03-16  Keith Seitz  <keiths@redhat.com>
26883
26884         * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26885         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26886         (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26887         Don't suspend the current thread unless it is not part of the JDWP
26888         thread group.
26889
26890 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26891
26892         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26893         return 0.
26894         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26895         font metrics through toolkit.
26896         * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26897         Likewise.
26898         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26899         (getFontMetrics): To calculate Java logical ascent and descent
26900         values, average Pango ink and logical values.
26901
26902 2006-03-16  Anthony Balkissoon  <abalkiss@redhat.com>
26903
26904         * java/lang/Character.java: Updated header comment.
26905
26906 2006-03-16  Tom Tromey  <tromey@redhat.com>
26907
26908         * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26909         constructor.
26910         * javax/sound/sampled/FloatControl.java: Now abstract.
26911         * javax/sound/sampled/EnumControl.java: Now abstract.
26912         * javax/sound/sampled/CompoundControl.java: Now abstract.
26913         * javax/sound/sampled/BooleanControl.java: Now abstract.
26914
26915 2006-03-16  Tom Tromey  <tromey@redhat.com>
26916
26917         * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26918
26919 2006-03-16  Roman Kennke  <kennke@aicas.com>
26920
26921         * java/util/zip/ZipFile.java
26922         (openFile): New helper method.
26923         (ZipFile): Use new openFile method to ensure the proper
26924         exception is thrown. This applies for all overloaded constructors.
26925
26926 2006-03-16  Roman Kennke  <kennke@aicas.com>
26927
26928         * java/text/DateFormatSymbols.java
26929         (setAmPmStrings): Added null check and throw NPE.
26930         (setEras): Likewise.
26931         (setLocalPatternChars): Likewise.
26932         (setMonths): Likewise.
26933         (setShortMonths): Likewise.
26934         (setShortWeekdays): Likewise.
26935         (setWeekdays): Likewise.
26936         (setZoneStrings): Likewise.
26937
26938 2006-03-16  Roman Kennke  <kennke@aicas.com>
26939
26940         * javax/swing/DefaultDesktopManager.java
26941         (iconifyFrame): Repaint after removing the frame.
26942         (removeIconFor): Repaint after removing the icon.
26943
26944 2006-03-16  Roman Kennke  <kennke@aicas.com>
26945
26946         * javax/swing/JInternalFrame.java
26947         (remove): Respect the rootPaneCheckingEnabled flag here.
26948
26949 2006-03-16  Roman Kennke  <kennke@aicas.com>
26950
26951         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26952         Moved from examples into gnu.javax.swing.. namespace.
26953         * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26954         Moved to gnu.javax.swing.. namespace.
26955         * examples/gnu/classpath/examples/swing/Demo.java:
26956         (themesMenu): New field. Used to disable theme switch in
26957         non-Metal-L&Fs.
26958         (mkMenuBar): Added L&F menu.
26959         (ChangeThemeAction.actionPerformed): Only switch theme when
26960         in Metal L&F.
26961         (ChangeLAFAction): New class used for changing themes.
26962         * javax/swing/UIManager.java
26963         (installed): Added GNU L&F as installed L&F.
26964
26965 2006-03-16  Mark Wielaard  <mark@klomp.org>
26966
26967         * examples/gnu/classpath/examples/swing/badge.png: Removed.
26968         * examples/gnu/classpath/examples/icons/badge.png: Added.
26969         * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
26970         from icon directory.
26971
26972 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
26973
26974         * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
26975         example.
26976         * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
26977         * examples/gnu/classpath/examples/awt/Demo.java: Add
26978         AnimationApplet demo.
26979         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
26980         demo.
26981
26982 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
26983
26984         PR classpath/26486
26985         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
26986         method.
26987         (handleEvent): Likewise.
26988         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
26989         Remove field.
26990         (beginNativeRepaint): Remove method.
26991         (endNativeRepaint): Likewise.
26992         (handleEvent): Call paintComponent and updateComponent.
26993         (paintComponent): New method.
26994         (updateComponent): Likewise.
26995         (repaint): Return early if width or height is less than one.
26996         (postExposeEvent): Remove isInRepaint reference.
26997         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
26998         Remove method.
26999         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
27000         from GtkWindowPeer.
27001         (postMouseEvent): Likewise.
27002         (postExposeEvent): Likewise.
27003         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
27004         Override to do nothing.
27005         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
27006         from GtkWindowPeer.
27007         (postMouseEvent): Likewise.
27008         (postExposeEvent): Likewise.
27009         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
27010         paint and update handling from GtkComponentPeer.
27011         (updateComponent): Override to call paintComponent.
27012         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
27013         gdk_flush calls with schedule_flush calls.
27014         (flush): New function.
27015         (schedule_flush): Likewise.
27016
27017 2006-03-15  Tom Tromey  <tromey@redhat.com>
27018
27019         * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
27020         constructor.
27021         (BCSIterator): Likewise.
27022         * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
27023         New constructor.
27024         (BCSSProxyServiceProvider): Likewise.
27025         (BCSSServiceProvider): Likewise.
27026
27027 2006-03-15  Tom Tromey  <tromey@redhat.com>
27028
27029         * javax/sound/midi/Track.java (Track): New constructor.
27030         (events): Now package-private.
27031         * javax/sound/midi/MidiUnavailableException.java
27032         (MidiUnavailableException): Removed invalid constructors.
27033         * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
27034         * javax/sound/midi/InvalidMidiDataException.java
27035         (InvalidMidiDataException): Removed invalid constructors.
27036         * javax/sound/midi/Sequencer.java (hashCode): Now final.
27037         * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
27038         * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
27039         (SYSTEM_EXCLUSIVE): Removed.
27040         (getDataLength): Updated.
27041         * javax/sound/midi/MidiDevice.java (Info): Now protected.
27042         (equals): Now final
27043         (getName): Now final.
27044         (getVendor): Now final.
27045         (getDescription): Likewise.
27046         (hashCode): Likewise.
27047         (getVersion): Likewise.
27048         (toString): Likewise.
27049         * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
27050         * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
27051         (getEarlyReflectionDelay): Likewise.
27052         (getEarlyReflectionIntensity): Likewise.
27053         (getLateReflectionDelay): Likewise.
27054         (getLateReflectionIntensity): Likewise.
27055         (toString): Likewise.
27056         * javax/sound/sampled/Port.java (toString): Now final.
27057         * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
27058         (getLine): Likewise.
27059         (getType): Likewise.
27060         * javax/sound/sampled/Mixer.java (Info): Now protected.
27061         (getDescription): Now final.
27062         (getName): Likewise.
27063         (getVendor): Likewise.
27064         (getVersion): Likewise.
27065         (toString): Likewise.
27066         * javax/sound/sampled/Control.java: Now abstract.
27067         (Type.toString): Now final.
27068
27069 2006-03-15  Keith Seitz  <keiths@redhat.com>
27070
27071         * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
27072         of this redundant variable.
27073         (LineTable): Assert that the number of line numbers and the number of
27074         code indicies is the same.
27075
27076 2006-03-15  Tom Tromey  <tromey@redhat.com>
27077
27078         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
27079         final.
27080         * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
27081         fix.
27082         * java/util/zip/ZipFile.java (ENDNRD): New constant.
27083         * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
27084         * java/util/zip/Inflater.java (end): Not deprecated.
27085         * java/util/zip/Deflater.java (end): Not deprecated.
27086         * java/text/Bidi.java (Bidi): Now final.
27087         * java/nio/MappedByteBuffer.java (finalize): Now protected.
27088
27089 2006-03-15  Keith Seitz  <keiths@redhat.com>
27090
27091         * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
27092         (Location): Index is a long, not an int.
27093         (getMethod): New method.
27094         (getIndex): New method.
27095         (toString): New method.
27096
27097 2006-03-15  Tom Tromey  <tromey@redhat.com>
27098
27099         * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
27100         * java/awt/image/LookupOp.java (filter): Now final.
27101         (getBounds2D): Likewise.
27102         (getPoint2D): Likewise.
27103         (getTable): Likewise.
27104         (getRenderingHints): Likewise.
27105         * java/awt/image/ConvolveOp.java (filter): Now final.
27106         (getBounds2D): Likewise.
27107         (getKernel): Likewise.
27108         (getPoint2D): Likewise.
27109         (getRenderingHints): Likewise.
27110         * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
27111         (getMatrix): Likewise.
27112         (getBounds2D): Likewise.
27113         (getRenderingHints): Likewise.
27114         * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
27115         * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
27116         private.
27117         * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
27118         protected.
27119         * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
27120         protected.
27121         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
27122
27123 2006-03-15  Keith Seitz  <keiths@redhat.com>
27124
27125         * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
27126         Update javadoc.
27127         (matches): Implement.
27128
27129 2006-03-15  Keith Seitz  <keiths@redhat.com>
27130
27131         * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
27132         
27133         * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
27134
27135 2006-03-15  Tom Tromey  <tromey@redhat.com>
27136
27137         * java/lang/StrictMath.java (signum): New methods.
27138
27139 2006-03-15  Tom Tromey  <tromey@redhat.com>
27140
27141         * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
27142
27143 2006-03-15  Lillian Angel  <langel@redhat.com>
27144
27145         PR classpath/24211
27146         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
27147         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
27148         Added check to avoid segmentation fault.
27149
27150 2006-03-15  Lillian Angel  <langel@redhat.com>
27151
27152         * java/awt/Container.java
27153         (getComponentAt): Fixed documentation.
27154         (getComponentAt): Likewise.
27155
27156 2006-03-15  Roman Kennke  <kennke@aicas.com>
27157
27158         * javax/swing/JComponent.java
27159         (dragBuffer): New field.
27160         (dragBufferInitialized): New field.
27161         (paint): Added facility for buffered dragging of components.
27162         (initializeDragBuffer): New method.
27163         (getConditionForKeyStroke): Removed deprecated flag. Adjusted
27164         API docs.
27165         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27166         (BorderListener.mouseDragged): Turn on buffered dragging.
27167         (BorderListener.mouseReleased): Turn off buffered dragging.
27168
27169 2006-03-15  Lillian Angel  <langel@redhat.com>
27170
27171         * java/awt/Container.java
27172         (getComponentAt): Fixed documentation.
27173         (getComponentAt): Likewise.
27174         (findComponentAt): Likewise.
27175         (findComponentAt): Likewise.
27176
27177 2006-03-15  Roman Kennke  <kennke@aicas.com>
27178
27179         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27180         (PropertyChangeHandler.propertyChange): Call enableActions().
27181         Fixed 'iconable' property name.
27182
27183 2006-03-15  Chris Burdess  <dog@gnu.org>
27184
27185         Fixes PR 26700
27186         * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
27187
27188 2006-03-15  Roman Kennke  <kennke@aicas.com>
27189
27190         * examples/gnu/classpath/examples/swing/Demo.java:
27191         (desktop): New field.
27192         (mkMenuBar): Added new subdemos.
27193         (mkButtonWorld): Removed.
27194         (CheckCellRenderer): Moved to ListDemo.
27195         (LabelCellRenderer): Moved to ListDemo.
27196         (mkTreeWorld): Moved to TreeDemo.
27197         (mkDesktopWorld): Removed.
27198         (mkTabWorld): Moved to TabbedPaneDemo.
27199         (mkTabbedPane): Removed.
27200         (Demo): Replaced 'worlds' tabbed pane with desktop.
27201         (PopupAction): Made class non-static.
27202         (PopupAction.actionPerformed): Bring up subdemos in internal
27203         frame.
27204         (mkButtonBar): Added new demos.
27205         (createDesktop): New method.
27206         * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
27207         * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
27208         * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
27209         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
27210         * examples/gnu/classpath/examples/swing/badge.png: New image file.
27211
27212 2006-03-15  Lillian Angel  <langel@redhat.com>
27213         
27214         * java/awt/Container.java
27215         (getComponentAt): Fixed mistake in comments.
27216         (getComponentAt): Likewise.
27217         (locate): Likewise. Also, handled lightweight components.
27218         Heavyweights take precedence over lightweights, so we should
27219         iterate through the heavyweights first.
27220
27221 2006-03-15  Lillian Angel  <langel@redhat.com>
27222
27223         * java/awt/Container.java
27224         (getComponentAt): Added API documentation.
27225         (getComponentAt): Likewise.
27226         (locate): Likewise. Also, removed lines to ignore
27227         invisible components.
27228         (findComponentAt): Added API documentation.
27229         (findComponentAt): Added API documentation.
27230         (findComponentForMouseEvent): Removed, never used.
27231
27232 2006-03-15  Roman Kennke  <kennke@aicas.com>
27233
27234         * javax/swing/Popup.java
27235         (LightweightPopup.show): Repaint the panel after showing it.
27236
27237 2006-03-15  Lillian Angel  <langel@redhat.com>
27238
27239         * java/awt/Component.java
27240         (show): repaint should only be called if the component
27241         isShowing and isLightweight.
27242
27243 2006-03-15  Roman Kennke  <kennke@aicas.com>
27244
27245         * javax/swing/JInternalFrame.java
27246         (setClosable): Made this property bound.
27247         (setResizable): Made this property bound.
27248         (setIconifiable): Made this property bound.
27249         (setMaximizable): Made this property bound.
27250
27251 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
27252
27253         * javax/swing/table/TableColumn.java
27254         (sizeWidthToFit): Implemented.
27255
27256 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
27257
27258         * javax/swing/table/TableColumn.java: API docs updated all over, plus
27259         (setIdentifier): Fire required PropertyChangeEvent,
27260         (setCellEditor): Likewise.
27261
27262 2006-03-15  Roman Kennke  <kennke@aicas.com>
27263
27264         * examples/gnu/classpath/examples/swing/ButtonDemo.java,
27265         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
27266         * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
27267         * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
27268         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
27269         * examples/gnu/classpath/examples/swing/SliderDemo.java,
27270         * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
27271         * examples/gnu/classpath/examples/swing/TableDemo.java,
27272         * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
27273         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
27274         Reworked to implemented DemoFactory and lazy loading of Sub-demos.
27275         * examples/gnu/classpath/examples/swing/Demo.java:
27276         Cleaned up. Reworked handling of Sub-demos to load lazily.
27277         * examples/gnu/classpath/examples/swing/DemoFactory.java:
27278         New interface. Used for loading the subdemos lazily.
27279
27280 2006-03-15  Roman Kennke  <kennke@aicas.com>
27281
27282         * javax/swing/plaf/basic/BasicToolBarUI.java
27283         (PropertyListener.propertyChange): Added null check to avoid NPE.
27284
27285 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27286
27287         * javax/swing/table/TableColumn.java
27288         (COLUMN_WIDTH_PROPERTY): Updated API docs,
27289         (width): Likewise.
27290         (minWidth): Likewise,
27291         (preferredWidth): Likewise,
27292         (maxWidth): Likewise,
27293         (headerRenderer): Likewise,
27294         (cellRenderer): Likewise,
27295         (cellEditor): Likewise,
27296         (changeSupport): Likewise,
27297         (firePropertyChange(String, Object, Object)): Removed,
27298         (firePropertyChange(String, int. int)): Likewise,
27299         (firePropertyChange(String, boolean, boolean)): Likewise,
27300         (setModelIndex): Fire property change,
27301         (setHeaderValue): Call changeSupport directly to generate event,
27302         (setHeaderRenderer): Likewise,
27303         (setCellRenderer): Likewise,
27304         (setWidth): Likewise,
27305         (setPreferredWidth): Likewise,
27306         (setMinWidth): Likewise,
27307         (setMaxWidth): Likewise,
27308         (createDefaultHeaderRenderer): Added API docs.
27309
27310 2006-03-14  Roman Kennke  <kennke@aicas.com>
27311
27312         * examples/gnu/classpath/examples/swing/Demo.java
27313         Removed static initializer.
27314         (mkMenuBar): Made method non-static. Added themes menu.
27315         (ChangeThemeAction): New inner class, used to change themes.
27316
27317 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27318
27319         * javax/swing/table/TableColumn.java
27320         (setMaxWidth): Updated width and preferredWidth if necessary,
27321         (getMaxWidth): Updated API docs.
27322
27323 2006-03-14  Roman Kennke  <kennke@aicas.com>
27324
27325         * javax/swing/plaf/basic/BasicSliderUI.java
27326         (TrackListener.mouseDragged): Only process event when slider is
27327         enabled.
27328         (TrackListener.mouseReleased): Only process event when slider is
27329         enabled.
27330         (TrackListener.mousePressed): Only process event when slider is
27331         enabled.
27332
27333 2006-03-14  Roman Kennke  <kennke@aicas.com>
27334
27335         * NEWS: Added note about OceanTheme support.
27336
27337 2006-03-14  Roman Kennke  <kennke@aicas.com>
27338
27339         * javax/swing/plaf/metal/MetalIconFactory.java
27340         (HorizontalSliderThumbIcon.gradientMask): New field
27341         (HorizontalSliderThumbIcon.paintIcon): Added support for the
27342         OceanTheme.
27343         (VerticalSliderThumbIcon.gradientMask): New field
27344         (VerticalSliderThumbIcon.paintIcon): Added support for the
27345         OceanTheme.
27346         * javax/swing/plaf/metal/MetalUtils.java
27347         (paintHorizontalGradient): Fixed painting of 'masked' gradients.
27348         (paintVerticalGradient): Fixed painting of 'masked' gradients.
27349
27350 2006-03-14  Mark Wielaard  <mark@klomp.org>
27351
27352         Fixes bug #26641
27353         * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
27354         of handleMouseEvent.
27355         (handleMouseEvent): Return boolean to indicate whether we handled the
27356         event by passing it to a lightweight.
27357
27358 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
27359
27360         * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
27361         * org/omg/PortableServer/ServantActivatorPOA.java,
27362         * org/omg/PortableServer/ServantLocatorPOA.java: 
27363         Make class abstract and minor api docs fixlets.
27364         * org/omg/PortableServer/ForwardRequest.java, 
27365         * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java, 
27366         * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java, 
27367         * org/omg/PortableServer/POAPackage/AdapterNonExistent.java, 
27368         * org/omg/PortableServer/POAPackage/InvalidPolicy.java, 
27369         * org/omg/PortableServer/POAPackage/NoServant.java, 
27370         * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java, 
27371         * org/omg/PortableServer/POAPackage/ObjectNotActive.java, 
27372         * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java, 
27373         * org/omg/PortableServer/POAPackage/ServantNotActive.java, 
27374         * org/omg/PortableServer/POAPackage/WrongAdapter.java, 
27375         * org/omg/PortableServer/POAPackage/WrongPolicy.java, 
27376         * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java, 
27377         * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27378         * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27379         * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27380
27381 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
27382
27383         * NEWS: Added entry about printing support.
27384
27385 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27386
27387         * javax/swing/table/TableColumn.java
27388         (COLUMN_WIDTH_PROPERTY): Updated API docs,
27389         (isResizable): Likewise,
27390         (setWidth): Likewise,
27391         (getWidth): Likewise,
27392         (setPreferredWidth): Likewise,
27393         (getPreferredWidth): Likewise,
27394         (setMinWidth): Check for negative argument and update width and 
27395         preferredWidth if necessary,
27396         (getMinWidth): Updated API docs.
27397
27398 2006-03-14  Lillian Angel  <langel@redhat.com>
27399         
27400         * java/awt/Container.java
27401         (addImpl): Removed call to repaint. No need to repaint here.
27402
27403 2006-03-14  Roman Kennke  <kennke@aicas.com>
27404
27405         * javax/swing/plaf/metal/MetalSliderUI.java
27406         (paintTrack): Added OceanTheme support.
27407
27408 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27409
27410         * javax/swing/table/TableColumn.java
27411         (setResizable): Fire PropertyChangeEvent if the flag value changes,
27412         (isResizable): Updated API docs.
27413
27414 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27415
27416         * javax/swing/LookAndFeel.java: Updated API docs.
27417
27418 2006-03-14  Roman Kennke  <kennke@aicas.com>
27419
27420         * javax/swing/plaf/metal/MetalUtils.java
27421         (paintGradient): Added support for 'masked' gradients.
27422         (paintHorizontalGradient): Likewise.
27423         (paintVerticalGradient): Likewise.
27424         * javax/swing/plaf/metal/MetalIconFactory.java
27425         (RadioButtonIcon.gradientMask): New field.
27426         (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27427
27428 2006-03-14  Mark Wielaard  <mark@klomp.org>
27429
27430         Fixes bug #26645.
27431         * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27432         New field.
27433         (removeActionListener): Add listener to ComboBoxEditorListener.
27434         (removeActionListener): Remove listener from ComboBoxEditorListener.
27435         (ComboBoxEditorListener): New static helper class.
27436
27437 2006-03-14  Roman Kennke  <kennke@aicas.com>
27438
27439         * javax/swing/plaf/metal/MetalBorders.java
27440         (getToolBarButtonBorder): Don't create a UIResource border
27441         here.
27442         * javax/swing/plaf/metal/MetalToolBarUI.java
27443         (installUI): New overridden method. Installs the rollover property.
27444         (uninstallUI): New overridden method. Resets the rollover property.
27445         * javax/swing/plaf/metal/MetalUtils.java
27446         (paintGradient): Fetch Float values from the UIManager. Adjusted
27447         method signatures accordingly.
27448         (paintHorizontalGradient): Adjusted signature to accept float
27449         instead of double.
27450         (paintVerticalGradient): Adjusted signature to accept float
27451         instead of double.
27452         * javax/swing/plaf/metal/OceanTheme.java
27453         (addCustomEntriesToTable): Added missing UIDefaults entries,
27454         except of Icons. Fixed gradient entries to use Float instead
27455         of Double.
27456
27457 2006-03-14  Roman Kennke  <kennke@aicas.com>
27458
27459         * javax/swing/JInternalFrame.java
27460         (JInternalFrame): Make JInternalFrame opaque.
27461         * javax/swing/JToolBarFrame.java
27462         (JToolBar): Make JToolBar opaque.
27463
27464 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27465
27466         * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27467         * javax/swing/tree/TreePath.java: Likewise.
27468
27469 2006-03-13  Tom Tromey  <tromey@redhat.com>
27470
27471         * javax/swing/text/html/StyleSheet.java (removeAttributes):
27472         Genericized.
27473         * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27474         * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27475
27476 2006-03-13  Keith Seitz  <keiths@redhat.com>
27477
27478         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27479         (executeMethods): Output number of methods.
27480
27481 2006-03-13  Roman Kennke  <kennke@aicas.com>
27482
27483         * javax/swing/plaf/basic/BasicButtonUI.java
27484         (uninstallDefaults): Only uninstall border if it's a UIResource.
27485         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27486         (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27487         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27488         (installUI): Don't touch the opaque flag of the glassPane and
27489         the frame. Don't invalidate.
27490         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27491         (installUI): Don't touch the opaque flag of the glassPane.
27492         * javax/swing/plaf/basic/BasicMenuBarUI.java
27493         (properyChangeListener): Made field private.
27494         (ChangeHandler): Made class private.
27495         (ContainerHandler): Made class private.
27496         (PropertyChangeHandler): Made class private.
27497         * javax/swing/plaf/basic/BasicMenuUI.java
27498         (MenuHandler): Made class private.
27499         (PropertyChangeHandler): Removed unneeded class.
27500         (MenuDragMouseHandler): Made class private.
27501         (MenuKeyHandler): Made class private.
27502         * javax/swing/plaf/basic/BasicPanelUI.java
27503         (installDefaults): Made method protected. Don't set opaque
27504         flag.
27505         * javax/swing/plaf/basic/BasicScrollBarUI.java
27506         (TrackListener.shouldScroll): Made method private.
27507         * javax/swing/plaf/basic/BasicSplitPaneUI.java
27508         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27509         Made constructor package private.
27510         * javax/swing/plaf/basic/BasicTableHeaderUI.java
27511         (cellBorder): Made field private.
27512         * javax/swing/plaf/basic/BasicTextUI.java
27513         (installDefaults): Don't make component opaque.
27514         * javax/swing/plaf/basic/BasicToolBarUI.java
27515         (createNonRollOverBorder): Don't create UIResource border.
27516         (createRollOverBorder): Don't create UIResource border.
27517         (installComponents): Moved setRolloverBorders call here.
27518         (installDefaults): Moved setRolloverBorders call from here.
27519         (installUI): Don't make toolbar opaque.
27520         (setBorderToNonRollover): Handle AbstractButton instead of
27521         JButton here.
27522         (uninstallComponents): Don't nullify class fields here.
27523
27524 2006-03-13  David Gilbert  <david.gilbert@object-refinery.com>
27525
27526         * javax/swing/SwingUtilities.java
27527         (calculateInnerArea): handle null component, and replace 
27528         getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27529         creation.
27530
27531 2006-03-13  Roman Kennke  <kennke@aicas.com>
27532
27533         * javax/swing/JColorChooser.java
27534         (updateUI): Don't call revalidate().
27535         * javax/swing/JComboBox.java
27536         (updateUI): Don't call invalidate().
27537         * javax/swing/JDesktopPane.java
27538         (updateUI): Don't call invalidate().
27539         * javax/swing/JFileChooser.java
27540         (updateUI): Don't call revalidate().
27541         * javax/swing/JMenu.java
27542         (updateUI): Don't call invalidate().
27543         * javax/swing/JMenuBar.java
27544         (updateUI): Don't call invalidate().
27545         * javax/swing/JMenuItem.java
27546         (updateUI): Don't call invalidate().
27547         * javax/swing/JOptionPane.java
27548         (updateUI): Don't call invalidate().
27549         * javax/swing/JPopupMenu.java
27550         (updateUI): Don't call invalidate().
27551         * javax/swing/JProgressBar.java
27552         (updateUI): Don't call invalidate().
27553         * javax/swing/JScrollBar.java
27554         (updateUI): Don't call invalidate() and repaint().
27555         * javax/swing/JScrollPane.java
27556         (updateUI): Rewritten to be like the other updateUI()
27557         methods.
27558         * javax/swing/JSlider.java
27559         (updateUI): Don't call invalidate() and repaint().
27560         * javax/swing/JSplitPane.java
27561         (updateUI): Don't call invalidate() and repaint().
27562         * javax/swing/JTabbedPane.java
27563         (updateUI): Don't call invalidate().
27564         * javax/swing/JTable.java
27565         (updateUI): Don't call revalidate() and repaint().
27566         * javax/swing/JToolBar.java
27567         (updateUI): Don't call revalidate() and repaint().
27568         * javax/swing/JToolTip.java
27569         (updateUI): Don't call revalidate() and repaint().
27570
27571 2006-03-13  Roman Kennke  <kennke@aicas.com>
27572
27573         * javax/swing/SwingUtilities.java
27574         (updateComponentTreeUI): Rewritten to be more robust. Handling of
27575         menus and non-Swing components is improved.
27576         (updateComponentTreeUIImpl): New helper method.
27577         (replaceUIActionMap): Added check for uiActionMap==parent to
27578         avoid loop.
27579         (replaceUIInputMap): Added check for uiInputMap==parent to
27580         avoid loop.
27581
27582 2006-03-13  Wolfgang Baer  <WBaer@gmx.de>
27583
27584         * gnu/classpath/debug/Component.java: 
27585         (IPP) New component for IPP debugging. 
27586         (EVERYTHING): Adapted to include IPP.
27587         * javax/print/PrintServiceLookup.java: 
27588         (registerServiceProvider): New method.
27589         (registerService): Likewise.
27590         (lookupPrintServices): Likewise.
27591         (lookupMultiDocPrintServices): Likewise.
27592         (lookupDefaultPrintService): Likewise.
27593         (static_initializer): Likewise.
27594         (printServiceLookups): New field for found service providers.
27595         (printServices): New field for application registered providers.
27596         (systemProvider): New field for the system provider.    
27597         * javax/print/ServiceUI.java: New file. 
27598         * javax/print/package.html: Added more usage content.
27599         * javax/print/event/package.html: Likewise.
27600         * javax/print/attribute/package.html: Likewise.
27601         * javax/print/attribute/standard/package.html: Likewise.
27602         * gnu/javax/print/PrintUriException.java,
27603         gnu/javax/print/PrintFlavorException.java,
27604         gnu/javax/print/PrinterDialog.java,
27605         gnu/javax/print/PrintAttributeException.java,
27606         gnu/javax/print/CupsPrintServiceLookup.java,
27607         gnu/javax/print/CupsServer.java,
27608         gnu/javax/print/CupsPrintService.java,
27609         gnu/javax/print/CupsMediaMapping.java,
27610         gnu/javax/print/CupsIppOperation.java:
27611         New implementation files of the Java Print Service API.
27612         * gnu/javax/print/ipp/IppValueTag.java,
27613         gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27614         gnu/javax/print/ipp/IppStatusCode.java,
27615         gnu/javax/print/ipp/IppUtilities.java,
27616         gnu/javax/print/ipp/IppResponse.java,
27617         gnu/javax/print/ipp/IppException.java,
27618         gnu/javax/print/ipp/IppPrintService.java,
27619         gnu/javax/print/ipp/IppRequest.java,
27620         gnu/javax/print/ipp/IppMultiDocPrintService.java,
27621         gnu/javax/print/ipp/IppDelimiterTag.java,
27622         gnu/javax/print/ipp/DocPrintJobImpl.java:
27623         New files of the IPP client implementation.
27624         * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27625         gnu/javax/print/ipp/attribute/StatusMessage.java,
27626         gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27627         gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27628         gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27629         gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27630         gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27631         gnu/javax/print/ipp/attribute/CharsetSyntax.java: 
27632         New attribute syntax/role files of the printing implementation.
27633         * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27634         gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27635         gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27636         gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27637         gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27638         gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27639         gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27640         gnu/javax/print/ipp/attribute/supported/
27641         OrientationRequestedSupported.java, 
27642         gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27643         gnu/javax/print/ipp/attribute/supported/
27644         MultipleDocumentHandlingSupported.java, 
27645         gnu/javax/print/ipp/attribute/supported/
27646         MultipleDocumentJobsSupported.java, 
27647         gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27648         gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27649         gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27650         gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27651         gnu/javax/print/ipp/attribute/supported/
27652         GeneratedNaturalLanguageSupported.java,
27653         gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27654         gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27655         gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27656         gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27657         New supported attribute files.
27658         * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27659         gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27660         gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27661         gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27662         gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27663         gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27664         gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27665         gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27666         New printer description attribute files.
27667         * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27668         gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27669         gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27670         gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27671         gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27672         gnu/javax/print/ipp/attribute/job/JobId.java,
27673         gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27674         gnu/javax/print/ipp/attribute/job/JobUri.java,
27675         gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27676         New job description attribute files.
27677         * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27678         gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27679         gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27680         gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27681         gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27682         gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27683         gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27684         gnu/javax/print/ipp/attribute/defaults/
27685         MultipleDocumentHandlingDefault.java,
27686         gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27687         gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27688         gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27689         gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27690         gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27691         New default printing attribute files.
27692         * resource/gnu/javax/print/PrinterDialog.properties: New file.
27693         * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27694         * examples/gnu/classpath/examples/print/Demo.java: 
27695         New demo application of the current implemented functionality.
27696
27697 2006-03-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27698
27699         * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27700         java/rmi/activation/ActivationDesc.java.java,
27701         java/rmi/activation/ActivationGroup.java,
27702         java/rmi/activation/ActivationID.java,
27703         java/rmi/activation/ActivationMonitor.java,
27704         java/rmi/activation/ActivationSystem.java,
27705         java/rmi/activation/package.html: Documenting.
27706
27707 2006-03-13  Roman Kennke  <kennke@aicas.com>
27708
27709         * javax/swing/JInternalFrame.java
27710         (setSelected): Repaint frame when it is showing and the selection
27711         state changes.
27712
27713 2006-03-13  Roman Kennke  <kennke@aicas.com>
27714
27715         * javax/swing/AbstractButton.java
27716         (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27717         instead of null.
27718
27719 2006-03-13  Roman Kennke  <kennke@aicas.com>
27720
27721         * javax/accessibility/AccessibleContext.java
27722         (getAccessibleRelationSet): Return empty set instead of null.
27723
27724 2006-03-13  Roman Kennke  <kennke@aicas.com>
27725
27726         * javax/swing/ImageIcon.java
27727         (loadImage): Remove completed images from the MediaTracker. This
27728         avoids a potential memory leak.
27729
27730 2006-03-12  Wolfgang Baer  <WBaer@gmx.de>
27731
27732         * javax/print/MultiDocPrintService.java, 
27733         * javax/print/MultiDocPrintJob.java, 
27734         * javax/print/MultiDoc.java: Added and enhanced documentation.
27735
27736 2006-03-12  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27737
27738         * java/rmi/activation/ActivationID.java (uid): New field.
27739         (writeExternal, readExternal): New methods. 
27740         (equals, hashCode): Rewritten.
27741         * java/rmi/activation/ActivationInstantiator.java,
27742         * java/rmi/activation/ActivationSystem.java,
27743         * java/rmi/activation/Activator.java,
27744         * java/rmi/activation/Activatable.java,
27745         * java/rmi/activation/ActivationGroup.java,
27746         * java/rmi/activation/ActivationGroupDesc.java: 
27747         Documented and autoformatted.
27748         * java/rmi/activation/package.html: Added content.
27749         
27750 2006-03-12  Chris Burdess  <dog@gnu.org>
27751
27752         Fixes PR 26652
27753         * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27754           encoding are specified.
27755
27756 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27757
27758         * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27759         (changeEvent): Initialise in fireStateChange(),
27760         (setSelectedIndex): Check if change is made before firing event,
27761         (clearSelection): Delegate to setSelectedIndex(),
27762         (fireStateChanged): Initialise changeEvent if necessary,
27763         * javax/swing/SingleSelectionModel.java: API docs all over.
27764
27765 2006-03-11  Tom Tromey  <tromey@redhat.com>
27766
27767         * java/util/zip/InflaterInputStream.java: Reverted previous
27768         patch.
27769
27770 2006-03-11  Mark Wielaard  <mark@klomp.org>
27771
27772         * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27773         Compare name.
27774
27775 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27776
27777         * javax/swing/event/TreeSelectionEvent.java
27778         (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27779         not one of the added/removed paths,
27780         (cloneWithSource): Reformatted.
27781
27782 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27783
27784         * javax/swing/tree/TreeCellEditor.java: Added API docs,
27785         * javax/swing/tree/TreeCellRenderer.java: Likewise.
27786
27787 2006-03-10  Casey Marshall  <csm@gnu.org>
27788
27789         Fixes PR 23768.
27790         * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27791         reset `state.'
27792         (doFinal, update): new methods.
27793         (init, init, init, init): initialize `state' after trying the
27794         implementation, which can throw an exception.
27795         * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27796         methods.
27797
27798 2006-03-11  Ito Kazumitsu  <kaz@maczuka.gcd.org>
27799
27800         * gnu/regexp/BacktrackStack.java: New file.
27801         * gnu/regexp/RE.java(findMatch): New method.
27802         * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27803         REMatchList): Removed. (backtrackStack): New field.
27804         * gnu/regexp/REToken.java(match): Changed from an abstract
27805         method to an ordinary method defined with the new method
27806         matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27807         findFixedLengthMatches, backtrack, toString): New methods.
27808         * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27809         * gnu/regexp/RETokenBackRef.java: Likewise.
27810         * gnu/regexp/RETokenChar.java: Likewise.
27811         * gnu/regexp/RETokenEnd.java: Likewise.
27812         * gnu/regexp/RETokenEndSub.java: Likewise.
27813         * gnu/regexp/RETokenIndependent.java: Likewise.
27814         * gnu/regexp/RETokenLookAhead.java: Likewise.
27815         * gnu/regexp/RETokenLookBehind.java: Likewise.
27816         * gnu/regexp/RETokenNamedProperty.java: Likewise.
27817         * gnu/regexp/RETokenPOSIX.java: Likewise.
27818         * gnu/regexp/RETokenRange.java: Likewise.
27819         * gnu/regexp/RETokenStart.java: Likewise.
27820         * gnu/regexp/RETokenWordBoundary.java: Likewise
27821         * gnu/regexp/RETokenOneOf.java: Rewriten.
27822         * gnu/regexp/RETokenRepeated.java: Rewriten.
27823
27824 2006-03-10  Roman Kennke  <kennke@aicas.com>
27825
27826         * javax/swing/plaf/metal/MetalBorders.java
27827         (RolloverButtonBorder.paintBorder): Only call super here.
27828         * javax/swing/plaf/metal/MetalButtonListener.java
27829         (propertyChange): Only call super here.
27830         * javax/swing/plaf/metal/MetalButtonUI.java
27831         (update): Changed condition from isOpaque() to isContentAreaFilled()
27832         for the gradient fill.
27833         * javax/swing/plaf/metal/MetalToggleButtonUI.java
27834         (paintText): API doc fix. Makes paintText not deprecated as specified
27835         but adds comment that this is obsolete.
27836         * javax/swing/plaf/metal/MetalUtils.java
27837         (fillMetalPattern): Fixed condition so that the Java2D is not
27838         used when the noGraphics2D property is set.
27839
27840 2006-03-10  Roman Kennke  <kennke@aicas.com>
27841
27842         * javax/swing/plaf/metal/MetalLookAndFeel.java
27843         (createDefaultTheme): Set OceanTheme as default metal theme.
27844
27845 2006-03-10  Roman Kennke  <kennke@aicas.com>
27846
27847         * javax/swing/text/WrappedPlainView.java
27848         (metrics): Made field package private to avoid accessor method.
27849         (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27850         The drawLine (righly) interprets the y parameter as the baseline.
27851         * javax/swing/text/Utilities.java
27852         (getBreakLocation): Don't consider the offset. The returned value
27853         for getTabbedTextOffset is already relative to the offset.
27854
27855 2006-03-10  Wolfgang Baer  <WBaer@gmx.de>
27856
27857         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27858         (dateFormat): Made private.
27859         (put): Replace only the last occurance and the value.
27860         (putAll): Save one iteration. Clarified documentation.
27861
27862 2006-03-10  Tom Tromey  <tromey@redhat.com>
27863
27864         * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27865         implementation.
27866         * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27867         not '8'.
27868
27869 2006-03-10  Lillian Angel  <langel@redhat.com>
27870
27871         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27872         (comboboxgroup_get_widget): New function.
27873         (removed): Fixed to use new function to get the correct widget.
27874         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27875         (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27876         function.
27877
27878 2006-03-10  Lillian Angel  <langel@redhat.com>
27879
27880         * java/awt/GridBagLayout.java
27881         (ArrangeGrid): Added checks to determine if component
27882         is placed last in a row or column. If so, the location
27883         of the last component should be used to get the location
27884         of the current component.
27885
27886 2006-03-10  Lillian Angel  <langel@redhat.com>
27887
27888         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27889         (nativeSetCheckboxGroup): No need to use new function here.
27890         Should just pass in pointer.
27891
27892 2006-03-10  Lillian Angel  <langel@redhat.com>
27893
27894         * java/awt/GridBagLayout.java
27895         (distributeSizeAndWeight): Change else if to else. This
27896         allows for components to be added to a new row when 
27897         their gridheight is REMAINDER.
27898
27899 2006-03-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27900
27901         * java/rmi/activation/ActivationDesc.java,
27902         java/rmi/activation/ActivationGroupID.java,
27903         java/rmi/activation/Activator.java,
27904         java/rmi/server/Operation.java,
27905         java/rmi/server/RemoteServer.java: Documented and formatted.
27906
27907 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27908
27909         * javax/swing/JToggleButton.java: Fixed API doc tags,
27910         * javax/swing/OverlayLayout.java: Likewise.
27911
27912 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27913
27914         * javax/swing/DefaultCellEditor.java
27915         (cancelCellEditing): Removed spurious API doc tag.
27916
27917 2006-03-10  Lillian Angel  <langel@redhat.com>
27918
27919         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27920         (create): Put checkbox widget into an event box so it paints properly.
27921         (connectSignals): Fixed to use new function.
27922         (nativeSetCheckboxGroup): Likewise.
27923         (gtkToggleButtonSetActive): Likewise.
27924         (gtkWidgetModifyFont): Likewise.
27925         (gtkButtonSetLabel): Likewise.
27926         (combobox_get_widget): New function.
27927
27928 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27929
27930         * javax/swing/text/rtf/package.html: New file.
27931         
27932 2006-03-10  Roman Kennke  <kennke@aicas.com>
27933
27934         * javax/swing/plaf/metal/OceanTheme.java
27935         (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27936         * javax/swing/plaf/metal/MetalScrollBarUI.java
27937         (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27938         (paintThumbHorizontal): Added handling of OceanTheme.
27939         (paintThumbVertical): Added handling of OceanTheme.
27940
27941 2006-03-10  Roman Kennke  <kennke@aicas.com>
27942
27943         Reported by Fridjof Siebert <siebert@aicas.com>
27944         * java/awt/MediaTracker.java
27945         (removeImage): Only set prev to e when the the images of the
27946         entries are not the same. This avoids a potentially corrupt list.
27947
27948 2006-03-10  Chris Burdess  <dog@gnu.org>
27949
27950         PR 26620:
27951         * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27952           checking while reindenting.
27953
27954 2006-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
27955
27956         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27957
27958 2006-03-09  Tom Tromey  <tromey@redhat.com>
27959
27960         PR classpath/26585:
27961         * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27962         subdir.  Added README.
27963         (install-data-local): Removed.
27964         (uninstall-local): Likewise.
27965         (EXTRA_DIST): Removed.
27966
27967 2006-03-09  Tom Tromey  <tromey@redhat.com>
27968
27969         PR classpath/26623:
27970         * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27971         Renamed.
27972         * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
27973         Renamed.
27974         * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
27975         Renamed.
27976         * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
27977         Renamed.
27978         * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
27979         Renamed.
27980         * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27981         Renamed.
27982         * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
27983         Renamed.
27984         * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
27985         Renamed.
27986         * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
27987         Renamed.
27988         * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
27989         Renamed.
27990         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
27991         * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
27992
27993 2006-03-09  Keith Seitz  <keiths@redhat.com>
27994
27995         * gnu/classpath/jdwp/processor/MethodCommandSet.java
27996         (executeVariableTable): Use VMMethod instead of reflection.
27997         (executeLineTable): Likewise.
27998         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27999         (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
28000         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28001         (getLineTable): Removed. Now resides in VMMethod.
28002         (getVarTable): Likewise.
28003         (getAllClassMethods): New method.
28004         
28005 2006-03-09  Keith Seitz  <keiths@redhat.com>
28006
28007         * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
28008         * gnu/classpath/jdwp/event/ThreadStartEvent.java
28009         (ThreadStartEvent): Likewise.
28010         * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
28011         * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
28012         (ConditionalFilter): Likewise.
28013         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
28014         (ExceptionOnlyFilter): Likewise.
28015         * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
28016         (FieldOnlyFilter): Likewise.
28017         * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
28018         (getSize): Likewise.
28019         (StepFilter): Likewise.
28020         * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
28021         * gnu/classpath/jdwp/transport/JdwpPacket.java
28022         (JdwpPacket): Likewise.
28023         (fromBytes): Likewise.
28024         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
28025         (JdwpReplyPacket): Likewise.
28026         * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
28027         * vm/reference/gnu/classpath/jdwp/VMIdManager.java
28028         (getReferenceType): Likewise.
28029         (newObjectId): Likewise.
28030         * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
28031         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28032         (getFrames): Fix typo in parameter name and update javadoc.
28033         (getClassMethod): Update javadoc.
28034
28035 2006-03-09  David Gilbert  <david.gilbert@object-refinery.com>
28036
28037         * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
28038         * javax/swing/event/TreeSelectionListener.java: Likewise.
28039
28040 2006-03-09  Lillian Angel  <langel@redhat.com>
28041
28042         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28043         (getHScrollbarHeight): Fixed property name.
28044         (getVScrollbarHeight): Likewise.
28045
28046 2006-03-09  Lillian Angel  <langel@redhat.com>
28047
28048         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
28049         (get_widget): New function.
28050         (gtkWidgetSetParent): Changed to use new function.
28051         (gtkWidgetSetCursorUnlocked): Likewise.
28052         (gtkWidgetSetSensitive): Likewise.
28053         (gtkWidgetRequestFocus): Likewise.
28054         (gtkWindowGetLocationOnScreen): Likewise.
28055         (gtkWidgetGetDimensions): Likewise.
28056         (gtkWidgetGetPreferredDimensions): Likewise.
28057         (setNativeBounds): Likewise.
28058         (gtkWidgetGetBackground): Likewise.
28059         (gtkWidgetGetForeground): Likewise.
28060         (gtkWidgetSetBackground): Likewise.
28061         (gtkWidgetSetForeground): Likewise.
28062         (setVisibleNativeUnlocked): Likewise.
28063         (isEnabled): Likewise.
28064         (isRealized): Likewise.
28065         (setNativeEventMask): Likewise.
28066
28067 2006-03-09  Lillian Angel  <langel@redhat.com>
28068
28069         PR Classpath\22163
28070         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
28071         (create): Added combobox widget to an event box.
28072         (connectSignals): Added call to choice_get_widget to get the
28073         combobox out of the event box.
28074         (append): Likewise.
28075         (nativeRemoveAll): Likewise.
28076         (nativeRemove): Likwise.
28077         (nativeAdd): Likewise.
28078         (selectNative): Likewise.
28079         (choice_get_widget): New function.
28080         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
28081         (create): Added list scroll window widget to an event box.
28082         (connectSignals): Changed call to use new function to get the
28083         correct widget out of the event box.
28084         (getWidgetModifyFont): Likewise.
28085         (getWidgetRequestFocus): Likewise.
28086         (append): Likewise.
28087         (add): Likewise.
28088         (delItems): Likewise.
28089         (select): Likewise.
28090         (deselect): Likewise.
28091         (getSize): Likewise.
28092         (getSelectedIndexes): Likewise.
28093         (makeVisible): Likewise.
28094         (setMultipleMode): Likewise.
28095         (list_get_widget): New function.
28096         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28097         (create): Added scrollpane to an eventbox.
28098         (setScrollPosition): Changed call to use new function to get the
28099         correct widget out of the event box.
28100         (gtkScrolledWindowSetHScrollIncrement): Likewise.
28101         (gtkScrolledWindowSetVScrollIncrement): Likewise.
28102         (getHScrollbarHeight): Likewise.
28103         (getVScrollbarWidth): Likewise.
28104         (setPolicy): Likewise.
28105         (scrollpane_get_widget): New function.
28106         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
28107         (connectSignals): Changed call to use new function to get the
28108         correct widget out of the event box.
28109         (create): Added scrollbar to an eventbox.
28110         (setLineIncrement): Changed call to use new function to get the
28111         correct widget out of the event box.
28112         (setPageIncrement): Likewise.
28113         (setBarValues): Likewise.
28114         (scrollbar_get_widget): New function.
28115         * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
28116         (create): Added text area scroll window widget to an event box.
28117         (connectSignals): Changed call to use new function to get the
28118         correct widget out of the event box.
28119         (insert): Likewise.
28120         (replaceRange): Likewise.
28121         (gtkWidgetModifyFont): Likewise.
28122         (gtkWidgetRequestFocus): Likewise.
28123         (getHScrollbarHeight): Likewise.
28124         (getVScrollbarWidth): Likewise.
28125         (getCaretPosition): Likewise.
28126         (setCaretPosition):Likewise.
28127         (getSelectionStart): Likewise.
28128         (getSelectionEnd): Likewise.
28129         (select): Likewise.
28130         (setEditable): Likewise.
28131         (getText): Likewise.
28132         (setText): Likewise.
28133         (textarea_get_widget): New function.
28134
28135 2006-03-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28136
28137         * java/rmi/dgc/VMID.java: 
28138         (equals, hashCode, static initializer): Rewritten.
28139         * java/rmi/dgc/package.html: Documented.
28140         
28141 2006-03-09  Mark Wielaard  <mark@klomp.org>
28142
28143         * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
28144         New static field.
28145         (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
28146         (canCache): Likewise.
28147         (GtkClipboard): Take String argument.
28148         (getInstance): Removed.
28149         (getClipboardInstance, getSelectionInstance): New static methods.
28150         (setSystemContents): Make synchronized. Takes boolean argument.
28151         (initNativeState): Add clipboard and selection.
28152         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
28153         (announceClipboardChange, announcePrimaryChange): New static field.
28154         (announce): Take GtkClipboard as argument.
28155         (run): Check which clipboard to announce change for.
28156         * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
28157         boolean field.
28158         (GtkSelection): Take GtkClipboard as argument.
28159         (requestText, requestImage, requestURIs, requestBytes): Add boolean
28160         clipboard argument.
28161         (requestMimeTypes): Likewise.
28162         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
28163         New method.
28164         * java/awt/Toolkit.java (getSystemSelection): Document.
28165         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
28166         (cp_gtk_selection_instance): New var.
28167         (current_selection, owner): Removed.
28168         (clipboard_owner_change_cb): Use clipboard argument.
28169         (initNativeState): Store clipboard and selection instances. Cache
28170         setSystemContentsID, provideContentID, provideTextID, provideImageID,
28171         and provideURIsID.
28172         (clipboard_get_func): Use clipboard argument.
28173         (clipboard_clear_func): Likewise. Always call method.
28174         (advertiseContent): Don't cache method ids here. Check whether to
28175         use clpboard or selection. Don't set owner or current_selection.
28176         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
28177         (requestText, requestImage, requestURIs, requestBytes): Use extra
28178         boolean argument to select clipboard.
28179         * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
28180         (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
28181         * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
28182         * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
28183
28184 2006-03-09  Keith Seitz  <keiths@redhat.com>
28185
28186         * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
28187         * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
28188         * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
28189         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
28190         * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
28191         * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
28192         * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
28193         * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
28194         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
28195
28196 2006-03-09  Mark Wielaard  <mark@klomp.org>
28197
28198         * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
28199         bounds for index is valid.
28200         * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
28201         (paint): Likewise.
28202         (getCellBounds): Update documentation.
28203
28204 2006-03-09  Arnaud Vandyck  <avdyk@gnu.org>
28205
28206         * .classpath: added exclude pattern on source folders
28207         (Makefiles, README and .cvsignore)
28208
28209 2006-03-08  Michael Koch  <konqueror@gmx.de>
28210
28211         * java/net/Proxy.java (NO_PROXY): Made final.
28212         (equals): Likewise.
28213         (hashCode): Likewise.
28214
28215 2006-03-08  Keith Seitz  <keiths@redhat.com>
28216
28217         * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
28218         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28219         (getClassMethod): New method.
28220
28221 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28222
28223         * java/rmi/server/UID.java (getMachineId): Include the host IP address.
28224     
28225 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28226
28227         * java/rmi/server/ObjID.java: Documented and autoformatted.
28228
28229 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28230
28231         PR 26584
28232         * tools/Makefile.am (install-data-local,
28233         uninstall-local): Install/uninstall the tools/README only.
28234         * tools/gnu/classpath/tools/giop/README: Updated.
28235         * tools/README: New file.
28236
28237 2006-03-08  Lillian Angel  <langel@redhat.com>
28238
28239         * java/awt/GridBagLayout.java
28240         (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
28241         then the next item should be set to current_y (not 0).
28242
28243 2006-03-08  Lillian Angel  <langel@redhat.com>
28244
28245         * java/awt/GridBagLayout.java
28246         (GetLayoutInfo): If gridy is RELATIVE and there is no component
28247         in the bottom-most spot of the column, we need to place that component
28248         at the y-location of the other components in that row. If there are
28249         no other components in that row, then place it at y = 0.
28250
28251 2006-03-08  David Gilbert  <david.gilbert@object-refinery.com>
28252
28253         * javax/swing/ProgressMonitor.java: Updated API docs,
28254         * javax/swing/ProgressMonitorInputStream.java: Likewise.
28255
28256 2006-03-08  Michael Koch  <konqueror@gmx.de>
28257
28258         * java/net/InetSocketAddress.java
28259         (InetSocketAddress(String,int,resolve)): New private contructor.
28260         (InetSocketAddress(String,int)): Use new private constructor.
28261         (createUnresolved): New method.
28262
28263 2006-03-07  Michael Koch  <konqueror@gmx.de>
28264
28265         * gnu/java/net/DefaultProxySelector.java,
28266         java/net/Proxy.java, java/net/ProxySelector.java:
28267         New files.
28268
28269 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28270
28271         * java/rmi/server/UID.java (constructor): Assign last and time fields
28272         after pause.
28273
28274 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28275
28276         * java/rmi/server/UID.java: New file (replacing). 
28277
28278 2006-03-08  Raif S. Naffah  <raif@swiftdsl.com.au>
28279
28280         * java/util/jar/Manifest.java: Removed unused imports.
28281         (CRLF): New constant.
28282         (read): Added method documentation.
28283         Use UTF-8 encoding instead of 8859_1.
28284         (write): Added method documentation.
28285         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28286         (write_main_section): Replace PrintWriter arg with OutputStream.
28287         Replace JarException with IOException.
28288         (write_version_info): Likewise.
28289         (write_main_attributes): Likewise.
28290         (write_attribute_entry): Likewise.
28291         (write_individual_sections): Likewise.
28292         (write_entry_attributes): Likewise.
28293         (write_header): Replace PrintWriter arg with OutputStream.
28294         Re-implemented.
28295
28296 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28297
28298         * javax/swing/tree/DefaultMutableTreeNode.java
28299         (getFirstChild): Updated API docs,
28300         (getLastChild): Likewise,
28301         (getChildAfter): Likewise,
28302         (getChildBefore): Likewise,
28303         (isNodeSibling): Return true if node == this,
28304         (getSiblingCount): Updated API docs,
28305         (getNextSibling): Likewise,
28306         (getPreviousSibling): Likewise,
28307         (isLeaf): Likewise,
28308         (getFirstLeaf): Likewise,
28309         (getLastLeaf): Likewise,
28310         (getNextLeaf): Implemented,
28311         (getPreviousLeaf): Implemented.
28312
28313 2006-03-07  Tom Tromey  <tromey@redhat.com>
28314
28315         * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
28316         * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
28317         * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
28318         * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
28319         field.
28320
28321 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28322
28323         * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
28324         (clone): Reimplemented,
28325         (add): Throw IllegalArgumentException if child is an ancestor,
28326         (remove(int)): Set child's parent to null,
28327         (remove(MutableTreeNode)): Check arguments and set child's parent to 
28328         null,
28329         (insert): Check allowsChildren flag, check for null argument, and
28330         check for a node that is an ancestor,
28331         (getIndex): Throw IllegalArgumentException for null argument,
28332         (setAllowsChildren): If setting to false, remove existing children,
28333         (removeAllChildren): Set parent to null for removed children.
28334
28335 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28336
28337         * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
28338         over.
28339
28340 2006-03-06  Tom Tromey  <tromey@redhat.com>
28341
28342         * java/lang/StrictMath.java (ulp): New methods.
28343         * java/lang/Math.java (ulp): New methods.
28344
28345 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28346
28347         * gnu/java/rmi/server/UnicastRef.java,
28348         * gnu/java/rmi/server/UnicastServer.java: Formatted.
28349         
28350 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28351
28352         * gnu/java/rmi/server/CombinedClassLoader.java 
28353         (findClass, findLibrary, findResouce, findResources): check
28354         all loaders in array.
28355         
28356 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28357
28358         PR 25526
28359         * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
28360         (RefProtector):    new inner class. (dirty): Rewritten.
28361         * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
28362         dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
28363         new methods. (readExternal): Create LeaseRenewingTask if non local.
28364         * gnu/java/rmi/server/UnicastServer.java (objects):
28365         Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28366         (getExported): New method.
28367         * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28368         
28369 2006-03-06  Mark Wielaard  <mark@klomp.org>
28370
28371         * doc/www.gnu.org/announce/20060306.wml: New file.
28372         * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28373         * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28374         
28375 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
28376
28377         * javax/swing/plaf/metal/MetalLookAndFeel.java
28378         (initComponentDefaults): Use Boolean.TRUE for
28379         'CheckBoxMenuItem.borderPainted'.
28380         
28381 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
28382
28383         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28384         (dateFormat): Made private.
28385         (put): Replace only the last occurance and the value.
28386         (putAll): Reimplemented with the put method.
28387         
28388 2006-03-06  Lillian Angel  <langel@redhat.com>
28389
28390         PR classpath/26569
28391         * java/awt/List.java
28392         (preferredSize): Return the size of the list if the peer is 
28393         null.
28394         * gnu/java/awt/peer/gtk/GtkListPeer.java
28395         (preferredSize): Code was returning the minimum size of the 
28396         list. Added adjustment to the width of the list so it is a 
28397         proper size.
28398         
28399 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
28400
28401         * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28402         (getRequestProperty): Remove duplicated null check.
28403         * java/net/URLConnection.java:
28404         (URLConnection): Javadoc fix.
28405         (addRequestProperty): Likewise.
28406         (getDefaultRequestProperty): Likewise.
28407         (getHeaderField): Likewise.
28408         (getHeaderFieldDate): Likewise.
28409         (getHeaderFieldKey): Likewise.
28410         (getHeaderFields): Likewise.
28411         (getRequestProperties): Likewise.
28412         (getRequestProperty): Likewise.
28413         (setDefaultRequestProperty): Likewise.
28414         (setRequestProperty): Likewise.
28415         
28416 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28417       
28418         * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28419         * examples/gnu/classpath/examples/swing/Demo.java:
28420         (mkButtonBar): Changed layout manager to GridLayout, added entry for
28421         textarea example.
28422         (mkMenuBar): Added entry for text area example.
28423         
28424 2006-03-06  Tom Tromey  <tromey@redhat.com>
28425
28426         * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28427         (FORMATTED_TEXT_FIELD): Likewise.
28428         
28429 2006-03-06  Tom Tromey  <tromey@redhat.com>
28430
28431         * javax/swing/plaf/synth/SynthPainter.java: Finished.
28432         
28433 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28434
28435         * examples/gnu/classpath/examples/swing/Demo.java:
28436         (mkMenuBar): Added menu entry that will display the VM's name,
28437         version and distributor.
28438         
28439 2006-03-06  Tom Tromey  <tromey@redhat.com>
28440          
28441         * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription): 
28442         Javadoc fix.
28443         (getName): Likewise.
28444         
28445 2006-03-06  Raif S. Naffah  <raif@swiftdsl.com.au>
28446
28447         * java/util/jar/Manifest.java: Removed unused imports.
28448         (CRLF): New constant.
28449         (read): Added method documentation.
28450         Use UTF-8 encoding instead of 8859_1.
28451         (write): Added method documentation.
28452         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28453         (write_main_section): Replace PrintWriter arg with OutputStream.
28454         Replace JarException with IOException.
28455         (write_version_info): Likewise.
28456         (write_main_attributes): Likewise.
28457         (write_attribute_entry): Likewise.
28458         (write_individual_sections): Likewise.
28459         (write_entry_attributes): Likewise.
28460         (write_header): Replace PrintWriter arg with OutputStream.
28461         Re-implemented.
28462         
28463 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
28464
28465         
28466         * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28467         API doc tag warnings,
28468         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28469         
28470 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
28471
28472         * gnu/java/net/protocol/file/Connection.java (unquote):
28473         Update position in buffer after decoding a unicode character
28474         outside of the basic plane.
28475         
28476 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
28477
28478         * java/net/URI.java
28479         (quote): Pass Unicode characters outside the basic plane through.
28480         
28481 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28482        
28483         * javax/swing/plaf/basic/BasicTextUI.java:
28484         (damageRange): Rewritten if-expressions to correctly identify the
28485         break condition.
28486
28487 2006-03-06  Mark Wielaard  <mark@klomp.org>
28488
28489         * configure.ac: Set version to 0.90-generics.
28490         * NEWS: Fix typos.
28491
28492 2006-03-06  Mark Wielaard  <mark@klomp.org>
28493
28494         Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28495         * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28496         (isnan): Define explicitly isnan if it is not a macro.
28497
28498 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28499
28500         * javax/swing/text/GapContent.java:
28501         (insertString): Throw exception when argument is below
28502         zero.
28503
28504 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28505
28506         * javax/swing/text/PlainDocument.java:
28507         (insertUpdate): Extended if-expression, added
28508         code to generate another Element when newly inserted characters
28509         and old ones will be on the same line.
28510
28511 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28512
28513         * javax/swing/text/DefaultCaret.java:
28514         (mouseDragged): Do selection when shift is pressed.
28515         (mouseClicked): Implemented.
28516
28517 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28518
28519         * javax/swing/text/PlainDocument.java: Fix copyright header,
28520         added author tags.
28521         (insertUpdate): Do not copy the whole document any more, added some
28522         more variables to prevent needless method calls.
28523
28524 2006-03-06  Christian Thalinger <twisti@complang.tuwien.ac.at>
28525
28526         * configure.ac: Check for FREETYPE2.  This is a reverted patch and
28527         is required on Darwin.
28528         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28529         (AM_CFLAGS): Likewise.
28530
28531 2006-03-06  Mark Wielaard  <mark@klomp.org>
28532
28533         * NEWS: Add updates for 0.90 release.
28534
28535 2006-03-05  Robert Schuster  <robertschuster@fsfe.org>
28536
28537         * javax/swing/text/GapContent.java:
28538         (insertString): Throw exception when argument is below
28539         zero.
28540
28541 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28542
28543         
28544         * javax/swing/filechooser/FileFilter.java:
28545         (accept): Fixed API doc tag,
28546        (getDescription): Likewise,
28547         * javax/swing/filechooser/FileView.java:       
28548         (isTraversable): Fixed API doc tag.
28549
28550 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28551
28552         * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28553         added API docs all over.
28554
28555 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28556
28557         * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28558         and corrected a bad API doc tag.
28559
28560 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28561
28562         * javax/swing/undo/StateEditable.java
28563         (restoreState): Fixed bad API doc tag,
28564         * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28565         AbstractUndoableEdit.java,
28566         * javax/swing/undo/UndoableEditSupport.java
28567         (createCompoundEdit): Fixed bad API doc tag,
28568         * javax/swing/undo/UndoManager.java
28569         (editToBeUndone): Fixed bad API doc tag,
28570         (editToBeRedone): Likewise.
28571
28572 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28573
28574         * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28575         * javax/swing/FocusManager.java: Likewise.
28576
28577
28578 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28579
28580         
28581         * javax/swing/plaf/metal/MetalComboBoxButton.java
28582         (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28583         JList)): Fixed API doc tag,
28584         * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28585         (createLayout): Fixed API doc warning.
28586         
28587 2006-03-05  Tom Tromey  <tromey@redhat.com>
28588
28589         * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28590         ClassHelper.getUserName.
28591         * vm/reference/java/lang/reflect/Method.java (toString): Use
28592         ClassHelper.getUserName.
28593         (getUserTypeName): Removed.
28594         * gnu/java/lang/ClassHelper.java (getUserName): New method.
28595         * vm/reference/java/lang/reflect/Field.java (toString): Use
28596         ClassHelper.getUserName.
28597
28598 2006-03-05  Olivier Jolly  <olivier.jolly@pcedev.com>
28599
28600         Fixes PR 22813
28601         * java/net/URLClassLoader.java (FileURLLoader.getResource):   
28602         Allows directories as valid resources.
28603
28604 2006-03-05  Mark Wielaard  <mark@klomp.org>
28605
28606         * configure.ac (VERSION): Set to 0.90-pre-generics.
28607         * Merge with CVS trunk from classpath-0_90-branch-point.
28608
28609 2006-03-04  Tom Tromey  <tromey@redhat.com>
28610
28611         * javax/swing/SpringLayout.java (Constraints): New constructor.
28612         * javax/swing/Spring.java (width): New method.
28613         (height): Likewise.
28614         (scale): Likewise.
28615
28616 2006-03-04  Mark Wielaard  <mark@klomp.org>
28617
28618         * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28619         existing connection from pool before returning.
28620
28621 2006-03-04  Mark Wielaard  <mark@klomp.org>
28622
28623         * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28624         exceptions thrown by handlers while cleaning up and rethrow original
28625         exception.
28626
28627 2006-03-04  Tom Tromey  <tromey@redhat.com>
28628
28629         * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28630         method.
28631         (findConstructor): Likewise.
28632         (instantiateClass): Likewise.
28633
28634 2006-03-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28635
28636         * gnu/java/rmi/dgc/DGCImpl.java:  More comments, boilerplate fix.
28637         (dirty): Do not synchronize on Hashtable. Use the passed (requested) 
28638         lease value and not always the default one.
28639         (LeaseRecord): Remember the array of objects, marked as dirty.
28640         java/rmi/dgc/Lease.java: Boilerplate fix.
28641
28642 2006-03-05  Raif S. Naffah  <raif@swiftdsl.com.au>
28643
28644         * java/util/jar/Attributes.java (putValue): Made it public and updated
28645         method documentation.
28646
28647 2006-03-04  Mark Wielaard  <mark@klomp.org>
28648
28649         * java/awt/Container.java (remove(int)): Always call removeNotify()
28650         on removed Component.
28651
28652 2006-03-04  Mark Wielaard  <mark@klomp.org>
28653
28654         Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28655         * javax/swing/JEditorPane.java (setText): Check for empty String
28656         with equals(), not equality (==).
28657
28658 2006-03-04  Mark Wielaard  <mark@klomp.org>
28659
28660         * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28661         DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28662
28663 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
28664
28665         * javax/swing/text/GapContent.java
28666         (getArray): Mark as final.
28667
28668 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
28669
28670         * javax/swing/text/StyleConstants.java
28671         (CharacterConstants.Background): Marked final,
28672         (CharacterConstants.BidiLevel): Likewise,
28673         (CharacterConstants.Bold): Likewise,
28674         (CharacterConstants.ComponentAttribute): Likewise,
28675         (CharacterConstants.Family): Likewise,
28676         (CharacterConstants.Size): Likewise,
28677         (CharacterConstants.Foreground): Likewise,
28678         (CharacterConstants.IconAttribute): Likewise,
28679         (CharacterConstants.Italic): Likewise,
28680         (CharacterConstants.StrikeThrough): Likewise,
28681         (CharacterConstants.Subscript): Likewise,
28682         (CharacterConstants.Superscript): Likewise,
28683         (CharacterConstants.Underline): Likewise,
28684         (ColorConstants.Foreground): Likewise,
28685         (ColorConstants.Background): Likewise,
28686         (FontConstants.Bold): Likewise,
28687         (FontConstants.Family): Likewise,
28688         (FontConstants.Italic): Likewise,
28689         (FontConstants.Size): Likewise,
28690         (ParagraphConstants.Alignment): Likewise,
28691         (ParagraphConstants.FirstLineIndent): Likewise,
28692         (ParagraphConstants.LeftIndent): Likewise,
28693         (ParagraphConstants.LineSpacing): Likewise,
28694         (ParagraphConstants.Orientation): Likewise,
28695         (ParagraphConstants.RightIndent): Likewise,
28696         (ParagraphConstants.SpaceAbove): Likewise,
28697         (ParagraphConstants.SpaceBelow): Likewise,
28698         (ParagraphConstants.TabSet): Likewise.  
28699
28700 2006-03-03  Tom Tromey  <tromey@redhat.com>
28701
28702         * javax/net/ssl/SSLException.java: Added missing @since.
28703         Wrote javadoc.
28704
28705 2006-03-03  Tom Tromey  <tromey@redhat.com>
28706
28707         * javax/net/ssl/SSLException.java (SSLException): New constructors.
28708         (serialVersionUID): New field.
28709
28710 2006-03-03  Tom Tromey  <tromey@redhat.com>
28711
28712         * java/security/spec/InvalidKeySpecException.java
28713         (InvalidKeySpecException): New constructors.
28714         * java/security/cert/CertificateParsingException.java
28715         (CertificateParsingException): New constructors.
28716         * java/security/cert/CertificateEncodingException.java
28717         (CertificateEncodingException): New constructors.
28718         * java/security/cert/CertificateException.java (CertificateException):
28719         New constructors.
28720         * java/security/cert/CRLException.java (CRLException): New
28721         constructors.
28722
28723 2006-03-03  Tom Tromey  <tromey@redhat.com>
28724
28725         * java/security/SignatureException.java (SignatureException): New
28726         constructors.
28727         * java/security/ProviderException.java (ProviderException): New
28728         constructors.
28729         * java/security/NoSuchAlgorithmException.java
28730         (NoSuchAlgorithmException): New constructors.
28731         * java/security/KeyStoreException.java (KeyStoreException): New
28732         constructors.
28733         * java/security/KeyManagementException.java (KeyManagementException):
28734         New constructors.
28735         * java/security/InvalidKeyException.java (InvalidKeyException): New
28736         constructors.
28737         * java/security/KeyException.java (KeyException): New constructors.
28738         * java/security/InvalidAlgorithmParameterException.java
28739         (InvalidAlgorithmParameterException): New constructors.
28740         * java/security/DigestException.java (DigestException): New
28741         constructors.
28742         * java/security/GeneralSecurityException.java
28743         (GeneralSecurityException): New constructors.
28744
28745 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28746
28747         * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc 
28748         warnings,
28749         * javax/swing/event/DocumentEvent.java: Likewise,
28750         * javax/swing/event/EventListenerList.java: Likewise,
28751         * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28752         * javax/swing/event/MenuKeyEvent.java: Likewise,
28753         * javax/swing/event/TableColumnModelEvent.java: Likewise,
28754         * javax/swing/event/TreeExpansionEvent.java: Likewise,
28755         * javax/swing/event/TreeModelEvent.java: Likewise,
28756         * javax/swing/event/TreeSelectionEvent.java: Likewise,
28757         * javax/swing/event/UndoableEditEvent.java: Likewise.
28758
28759 2006-03-03  Tom Tromey  <tromey@redhat.com>
28760
28761         * java/awt/Insets.java (set): New method.
28762         (equals): Added @since.
28763
28764 2006-03-03  David Daney  <ddaney@avtrex.com>
28765
28766         * gnu/java/net/protocol/http/HTTPURLConnection.java
28767         (getRequestProperties): Rewrote.
28768         (addRequestProperty): Rewrote.
28769         (getHeaderFields): Rewrote.
28770         (getHeaderField): Rewrote.
28771         (getHeaderFieldKey): Rewrote.
28772         (getHeaderField): Removed useless cast.
28773         * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28774         * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28775         interface.
28776         (notifyHeaderHandlers): Use new Headers interface.
28777
28778 2006-03-03  Tom Tromey  <tromey@redhat.com>
28779
28780         * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28781         * javax/naming/spi/ResolveResult.java,
28782         javax/naming/event/NamingExceptionEvent.java,
28783         javax/naming/event/NamingEvent.java,
28784         javax/naming/directory/SearchResult.java,
28785         javax/naming/directory/SearchControls.java,
28786         javax/naming/directory/SchemaViolationException.java,
28787         javax/naming/directory/NoSuchAttributeException.java,
28788         javax/naming/directory/ModificationItem.java,
28789         javax/naming/directory/InvalidSearchFilterException.java,
28790         javax/naming/directory/InvalidSearchControlsException.java,
28791         javax/naming/directory/InvalidAttributesException.java,
28792         javax/naming/directory/InvalidAttributeIdentifierException.java,
28793         javax/naming/directory/AttributeModificationException.java,
28794         javax/naming/directory/AttributeInUseException.java,
28795         javax/naming/TimeLimitExceededException.java,
28796         javax/naming/SizeLimitExceededException.java,
28797         javax/naming/PartialResultException.java,
28798         javax/naming/Reference.java,
28799         javax/naming/ServiceUnavailableException.java,
28800         javax/naming/OperationNotSupportedException.java,
28801         javax/naming/NotContextException.java,
28802         javax/naming/NoPermissionException.java,
28803         javax/naming/NoInitialContextException.java,
28804         javax/naming/NameNotFoundException.java,
28805         javax/naming/NameAlreadyBoundException.java,
28806         javax/naming/NameClassPair.java,
28807         javax/naming/MalformedLinkException.java,
28808         javax/naming/LinkLoopException.java,
28809         javax/naming/LinkException.java,
28810         javax/naming/LimitExceededException.java,
28811         javax/naming/InvalidNameException.java,
28812         javax/naming/InterruptedNamingException.java,
28813         javax/naming/InsufficientResourcesException.java,
28814         javax/naming/ContextNotEmptyException.java,
28815         javax/naming/ConfigurationException.java,
28816         javax/naming/CannotProceedException.java,
28817         javax/naming/CommunicationException.java,
28818         javax/naming/Binding.java,
28819         javax/naming/AuthenticationNotSupportedException.java,
28820         javax/naming/AuthenticationException.java: Added serialVersionUID.
28821
28822 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28823
28824         * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28825
28826 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28827
28828         * javax/swing/event/TableModelListener.java: Updated API docs.
28829
28830 2006-03-03  Mark Wielaard  <mark@klomp.org>
28831
28832         * java/awt/Component.java (addNotify): Expand documentation.
28833
28834 2006-03-03  Mark Wielaard  <mark@klomp.org>
28835
28836         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28837         Always call setParentAndBounds().
28838         (setComponentBounds): Always call setBounds().
28839         (setBounds): Call setVisible().
28840         (setVisible): If no pixels are showing then don't make it visible.
28841         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28842         to call setParentAndBounds() anymore.
28843
28844 2006-03-03  Roman Kennke  <kennke@aicas.com>
28845
28846         * javax/swing/JInternalFrame.java
28847         (JInternalFrame): Set frame invisible.
28848         (show): Reformatted.
28849         * javax/swing/plaf/basic/BasicInternalFrameUI.java
28850         (installDefaults): Do not set invisible here.
28851
28852 2006-03-03  Roman Kennke  <kennke@aicas.com>
28853
28854         * java/awt/Toolkit.java
28855         (getScreenInsets): Return (0,0,0,0) here.
28856
28857 2006-03-03  Roman Kennke  <kennke@aicas.com>
28858
28859         * javax/swing/text/FlowView.java
28860         (FlowStrategy.layoutRow): Added check for rowCount == 0.
28861         (FlowStrategy.getLogicalView): Made method protected.
28862
28863 2006-03-03  Chris Burdess  <dog@gnu.org>
28864
28865         * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28866           gnu/xml/validation/relaxng/AttributePattern.java,
28867           gnu/xml/validation/relaxng/ChoiceNameClass.java,
28868           gnu/xml/validation/relaxng/ChoicePattern.java,
28869           gnu/xml/validation/relaxng/DataPattern.java,
28870           gnu/xml/validation/relaxng/Define.java,
28871           gnu/xml/validation/relaxng/ElementPattern.java,
28872           gnu/xml/validation/relaxng/EmptyPattern.java,
28873           gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28874           gnu/xml/validation/relaxng/Grammar.java,
28875           gnu/xml/validation/relaxng/GrammarException.java,
28876           gnu/xml/validation/relaxng/GrammarValidator.java,
28877           gnu/xml/validation/relaxng/GroupPattern.java,
28878           gnu/xml/validation/relaxng/InterleavePattern.java,
28879           gnu/xml/validation/relaxng/ListPattern.java,
28880           gnu/xml/validation/relaxng/NSNameNameClass.java,
28881           gnu/xml/validation/relaxng/NameClass.java,
28882           gnu/xml/validation/relaxng/NameNameClass.java,
28883           gnu/xml/validation/relaxng/NotAllowedPattern.java,
28884           gnu/xml/validation/relaxng/OneOrMorePattern.java,
28885           gnu/xml/validation/relaxng/Param.java,
28886           gnu/xml/validation/relaxng/Pattern.java,
28887           gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28888           gnu/xml/validation/relaxng/RefPattern.java,
28889           gnu/xml/validation/relaxng/TextPattern.java,
28890           gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28891           builder and data model.
28892         * gnu/xml/validation/xmlschema/AnyAttribute.java,
28893           gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28894           gnu/xml/validation/xmlschema/AttributeUse.java,
28895           gnu/xml/validation/xmlschema/ComplexType.java,
28896           gnu/xml/validation/xmlschema/ElementDeclaration.java,
28897           gnu/xml/validation/xmlschema/Particle.java,
28898           gnu/xml/validation/xmlschema/ValidationException.java,
28899           gnu/xml/validation/xmlschema/XMLSchema.java,
28900           gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28901           gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28902           gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28903           gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28904           gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28905           gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28906           gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28907           gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28908           W3C XML Schema builder and schema components.
28909         * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28910           XML Schema namespace URIs.
28911
28912 2006-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
28913
28914         * NEWS: Add entry for --enable-collections.
28915         * configure.ac: Add --enable-collections option.
28916         * lib/Makefile.am (collections.jar): New target.
28917         (glibj_DATA): Add $(COLLECTIONS).
28918         * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28919         configure substitution.
28920         (classpath): Read from command line.
28921         (javautilclasses): Remove BasicMapEntry.  Add RandomAccess.
28922
28923 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28924
28925         * javax/swing/SpringLayout.java: Fixed API doc warnings.
28926
28927 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28928
28929         * javax/swing/event/ListSelectionEvent.java
28930         (toString): Implemented,
28931         plus updated API docs all over.
28932
28933 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28934
28935         * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28936         API doc warnings,
28937         * javax/swing/event/ListSelectionListener.java: Updated API docs.
28938
28939 2006-03-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28940
28941         * gnu/java/rmi/dgc/DGCImpl.java,
28942         java/rmi/dgc/DGC.java,
28943         java/rmi/dgc/Lease.java: Formatted and commented.
28944
28945 2006-03-03  Roman Kennke  <kennke@aicas.com>
28946
28947         * NEWS: Added comment about text highlighting and copy+paste
28948         in Swing.
28949
28950 2006-03-03  Roman Kennke  <kennke@aicas.com>
28951
28952         * javax/swing/JTabbedPane.java
28953         (remove(int)): Call super.remove(int) instead of remove(Component).
28954         Avoids a stack overflow.
28955
28956 2006-03-03  Roman Kennke  <kennke@aicas.com>
28957
28958         * javax/swing/JTable.java
28959         (distributeSpillResizing): Avoid ArithmeticException by checking
28960         divisor.
28961
28962 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28963
28964         * javax/swing/text/package.html: Added package description.
28965
28966 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28967
28968         * javax/swing/CellRendererPane.java: Minor API doc fix,
28969         * javax/swing/ComboBoxModel.java: Updated API docs.
28970
28971 2006-03-03  Chris Burdess  <dog@gnu.org>
28972
28973         Fixes PR 26503
28974         * gnu/xml/stream/EntityReferenceImpl.java,
28975           gnu/xml/stream/FilteredEventReader.java,
28976           gnu/xml/stream/SAXParser.java,
28977           gnu/xml/stream/XIncludeFilter.java,
28978           gnu/xml/stream/XMLEventAllocatorImpl.java,
28979           gnu/xml/stream/XMLEventFactoryImpl.java,
28980           gnu/xml/stream/XMLEventImpl.java,
28981           gnu/xml/stream/XMLEventReaderImpl.java,
28982           gnu/xml/stream/XMLEventWriterImpl.java,
28983           gnu/xml/stream/XMLInputFactoryImpl.java,
28984           gnu/xml/stream/XMLOutputFactoryImpl.java,
28985           gnu/xml/stream/XMLParser.java,
28986           javax/xml/stream/EventFilter.java,
28987           javax/xml/stream/Location.java,
28988           javax/xml/stream/StreamFilter.java,
28989           javax/xml/stream/XMLEventFactory.java,
28990           javax/xml/stream/XMLEventReader.java,
28991           javax/xml/stream/XMLEventWriter.java,
28992           javax/xml/stream/XMLInputFactory.java,
28993           javax/xml/stream/XMLOutputFactory.java,
28994           javax/xml/stream/XMLReporter.java,
28995           javax/xml/stream/XMLResolver.java,
28996           javax/xml/stream/XMLStreamConstants.java,
28997           javax/xml/stream/XMLStreamReader.java,
28998           javax/xml/stream/events/EntityDeclaration.java,
28999           javax/xml/stream/events/EntityReference.java,
29000           javax/xml/stream/events/XMLEvent.java,
29001           javax/xml/stream/util/EventReaderDelegate.java,
29002           javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
29003           StAX API as specified in JWSDP 2.0.
29004         * gnu/xml/stream/EndEntityImpl.java,
29005           gnu/xml/stream/LocationImpl.java,
29006           gnu/xml/stream/StartEntityImpl.java,
29007           gnu/xml/stream/XMLStreamReaderImpl.java,
29008           javax/xml/stream/XMLFilter.java,
29009           javax/xml/stream/XMLIterator.java,
29010           javax/xml/stream/events/EndEntity.java,
29011           javax/xml/stream/events/StartEntity.java: Removed legacy files.
29012
29013 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29014
29015         * javax/swing/CellEditor.java: API doc updates,
29016         * javax/swing/DefaultCellEditor.java: Likewise.
29017
29018 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29019
29020         * javax/swing/AbstractListModel.java:
29021         (AbstractListModel): Added API docs,
29022         (fireContentsChanged): Minor API doc correction,
29023         (fireIntervalAdded): Likewise,
29024         (fireIntervalRemoved): Likewise.
29025
29026 2006-03-03  Roman Kennke  <kennke@aicas.com>
29027
29028         * NEWS: Added paragraph about Swing improvements.
29029
29030 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29031
29032         * javax/swing/AbstractAction.java: Updated API docs all over,
29033         * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
29034         (stopCellEditing): Minor API doc correction,
29035         * javax/swing/UnsupportedLookAndFeelException.java
29036         (UnsupportedLookAndFeelException): Changed argument name, updated API
29037         docs.
29038
29039 2006-03-03  Roman Kennke  <kennke@aicas.com>
29040
29041         * javax/swing/plaf/metal/MetalUtils.java
29042         (fillMetalPattern): Added switch to not use Graphics2D methods,
29043         even if they are available.
29044
29045 2006-03-03  Roman Kennke  <kennke@aicas.com>
29046
29047         * javax/swing/plaf/basic/BasicHTML.java
29048         (isHTMLString): Check for string beeing null.
29049         * javax/swing/plaf/basic/BasicInternalFrameUI.java
29050         (BasicInternalFrameListener.internalFrameActivated): Implemented.
29051         (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
29052         (InternalFrameLayout): Don't touch the glass pane here.
29053         (installUI): Fix handling of glass pane.
29054         * javax/swing/plaf/basic/BasicLabelUI.java
29055         (vr): New field.
29056         (ir): New field.
29057         (tr): New field.
29058         (BasicLabelUI): Initialize new fields.
29059         (getPreferredSize): Avoid creating new Rectangles by using
29060         SwingUtilities method.
29061         (paint): Avoid creating new Rectangles by reusing
29062         new fields. Added some preliminary handling of HTML inside the
29063         label.
29064         (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
29065         (uninstallComponents): Clear HTML renderer.
29066         (propertyChange): Check for HTML text and install renderer if
29067         appropriate.
29068         * javax/swing/plaf/basic/BasicListUI.java
29069         (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
29070         method.
29071         * javax/swing/plaf/basic/BasicTextUI.java
29072         (RootView.getStartOffset): Implemented.
29073         (RootView.getEndOffset): Implemented.
29074         (RootView.getDocument): Implemented.
29075
29076 2006-03-03  Roman Kennke  <kennke@aicas.com>
29077
29078         * javax/swing/text/DefaultStyledDocument.java
29079         (ElementBuffer.inserUpdate): Added check for zero-length
29080         element.
29081         * javax/swing/text/DefaultStyledDocument.java
29082         (setIndex): Improved exception message.
29083         * javax/swing/text/TableView.java
29084         Made class abstract.
29085         (TableRow.replace): Probably extend columnRequirements
29086         arrays.
29087         (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
29088         of super.layoutMajorAxis.
29089         (columnRequirements): Made field package private.
29090         (TableView): Do not load any child views here.
29091         (layoutColumns): Implemented this method.
29092         (updateColumnRequirements): New helper method.
29093         * javax/swing/text/Utilities.java
29094         (getBreakLocation): Also take offset into account when
29095         finding end location.
29096         * javax/swing/text/html/HTMLDocument.java
29097         (HTMLReader.parseStack): New field.
29098         (HTMLReader.blockOpen): Properly handle p-implied tags.
29099         (HTMLReader.blockClose): Properly handle p-implied and empty tags.
29100         (HTMLReader.addContent): Insert p-implied when adding content to
29101         a block element.
29102         * javax/swing/text/html/HTMLEditorKit.java
29103         (HTMLFactory.create): Create HTMLTableView for <table> tags and
29104         ParagraphView for TD tags. Print out warning for tags that don't have
29105         matching view yet and create NullView for them.
29106         (read): Only set document base when document != null.
29107         * javax/swing/text/html/HTMLTableView.java:
29108         New class
29109
29110 2006-03-03  Roman Kennke  <kennke@aicas.com>
29111
29112         * javax/swing/plaf/basic/BasicHTML.java
29113         (HTMLRootView): New inner class.
29114         (createHTMLView): Embed view inside a HTMLRootView.
29115
29116 2006-03-03  Wolfgang Baer  <WBaer@gmx.de>
29117
29118         * gnu/java/net/protocol/jar/Connection.java: 
29119         (connect): Throw FileNotFoundException.
29120         (getInputStream): Remove duplicated code.
29121
29122 2006-03-03  Roman Kennke  <kennke@aicas.com>
29123
29124         * javax/swing/RepaintManager.java
29125         (commitBuffer): Added null check for clip.
29126
29127 2006-03-02  Lillian Angel <langel@redhat.com>
29128
29129         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29130         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
29131         to use GtkWidget instead of GTKMenu.
29132
29133 2006-03-02  Lillian Angel <langel@redhat.com>
29134
29135         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29136         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to 
29137         use the submenu to get the list of children. This now works
29138         in the same way as addItem.
29139
29140 2006-03-02  Anthony Balkissoon  <abalkiss@redhat.com>
29141
29142         * java/lang/StringBuilder.java:
29143         (codePointAt): New method.
29144         (codePointBefore): Likewise.
29145         (codePointCount): Likewise.
29146         (trimToSize): Likewise.
29147
29148 2006-03-02  Tom Tromey  <tromey@redhat.com>
29149
29150         * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
29151
29152 2006-03-02  Tom Tromey  <tromey@redhat.com>
29153
29154         * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
29155         (getProviderInstance): 
29156
29157 2006-03-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29158
29159         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
29160         Fix regression caused by move to VM variant.
29161         PR classpath/22926.
29162         
29163 2006-03-01  Tom Tromey  <tromey@redhat.com>
29164
29165         * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
29166         * vm/reference/java/net/VMInetAddress.java: Organized imports.
29167         * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
29168         imports for javadoc.
29169         (getProxyClass): Javadoc fixes.
29170         (getProxyData): Likewise.
29171         (generateProxyClass): Likewise.
29172         * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
29173         (setOut): Likewise.
29174         (setErr): Likewise.
29175         * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
29176         * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
29177         fix.
29178         * vm/reference/java/lang/VMClass.java (getComponentType): Import for
29179         javadoc.
29180         (getModifiers): Likewise.
29181         (getDeclaredClasses): Javadoc fix.
29182         (getDeclaredFields): Likewise.
29183         (getDeclaredMethods): Likewise.
29184         (getDeclaredConstructors): Likewise.
29185         * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
29186         Javadoc fix.
29187
29188 2006-03-01  Tom Tromey  <tromey@redhat.com>
29189
29190         * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
29191         * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
29192         (getVersion): Javadoc fix.
29193         (get): Likewise.
29194         * gnu/java/net/protocol/http/Headers.java: Organized imports.
29195         * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
29196
29197 2006-03-01  David Daney  <ddaney@avtrex.com>
29198
29199         * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
29200         as relative if it contains a colon but no protocol handler can be
29201         found.
29202
29203 2006-03-01  Roman Kennke  <kennke@aicas.com>
29204
29205         * javax/swing/text/AbstractDocument.java
29206         (LeafElement.LeafElement): Handle delta with respect to content
29207         length not document length.
29208         * javax/swing/text/CompositeView.java
29209         (getViewIndex): Handle bias correctly.
29210         * javax/swing/text/DefaultCaret.java
29211         (paint): Align caret position to document bounds to avoid trouble
29212         when removing large portions of content.
29213         * javax/swing/text/DefaultStyledDocument.java
29214         (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
29215         (ElementBuffer.createFracture): Copy old childs attribute. The
29216         ElementSpec usually doesn't carry attribute information.
29217         Use pos instead of offset.
29218         (ElementBuffer.insertFracture): Use pos instead of offset.
29219         (createDefaultRootElement): Don't use create* and instead directly
29220         instantiate the elements.
29221         (handleInsertAfterNewline): Compare the paragraphs startOffset
29222         rather than previous paragraphs endOffset.
29223         * javax/swing/text/JTextComponent.java
29224         (getScrollableTracksViewportWidth): Remove unnecessary cast to
29225         JViewport.
29226         (getScrollableTracksViewportHeight): Remove unnecessary cast to
29227         JViewport.
29228         * javax/swing/text/PlainView.java
29229         (damageLineRange): Avoid creating new Rectangle by using
29230         SwingUtilities.
29231         * javax/swing/text/View.java
29232         (forwardUpdate): Correct the use of bias.
29233         (modelToView): Avoid new Rectangles by using SwingUtilities.
29234         (dump): Made (temprorarily) protected for use in BasicTextUI.
29235         (dump(int)): Dump out the element of the view.
29236
29237 2006-03-01  Lillian Angel  <langel@redhat.com>
29238
29239         * NEWS: javax.imageio.plugins.bmp implementation.
29240
29241 2006-03-01  Lillian Angel  <langel@redhat.com>
29242
29243         * javax/imageio/ImageWriteParam.java: 
29244         Added documentation for fields.
29245         * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
29246         New class implemented.
29247
29248 2006-03-01  Tom Tromey  <tromey@redhat.com>
29249
29250         * NEWS: Mention java.util.prefs update.
29251
29252 2006-03-01  Tom Tromey  <tromey@redhat.com>
29253
29254         * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
29255         * java/nio/charset/UnmappableCharacterException.java:
29256         (serialVersionUID): New field.
29257         * java/nio/charset/MalformedInputException.java:
29258         (serialVersionUID): New field.
29259         * java/nio/charset/CoderMalfunctionError.java:
29260         (serialVersionUID): New field.
29261         * java/nio/charset/CharacterCodingException.java:
29262         (serialVersionUID): New field.
29263         * java/nio/channels/UnsupportedAddressTypeException.java:
29264         (serialVersionUID): New field.
29265         * java/nio/channels/UnresolvedAddressException.java:
29266         (serialVersionUID): New field.
29267         * java/nio/channels/OverlappingFileLockException.java:
29268         (serialVersionUID): New field.
29269         * java/nio/channels/NotYetConnectedException.java:
29270         (serialVersionUID): New field.
29271         * java/nio/channels/NotYetBoundException.java
29272         (serialVersionUID): New field.
29273         * java/nio/channels/NonWritableChannelException.java
29274         (serialVersionUID): New field.
29275         * java/nio/channels/NonReadableChannelException.java
29276         (serialVersionUID): New field.
29277         * java/nio/channels/NoConnectionPendingException.java
29278         (serialVersionUID): New field.
29279         * java/nio/channels/IllegalSelectorException.java
29280         (serialVersionUID): New field.
29281         * java/nio/channels/IllegalBlockingModeException.java
29282         (serialVersionUID): New field.
29283         * java/nio/channels/FileLockInterruptionException.java
29284         (serialVersionUID): New field.
29285         * java/nio/channels/ConnectionPendingException.java
29286         (serialVersionUID): New field.
29287         * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
29288         New field.
29289         * java/nio/channels/ClosedChannelException.java (serialVersionUID):
29290         New field.
29291         * java/nio/channels/ClosedByInterruptException.java
29292         (serialVersionUID): New field.
29293         * java/nio/channels/CancelledKeyException.java (serialVersionUID): 
29294         New field.
29295         * java/nio/channels/AsynchronousCloseException.java
29296         (serialVersionUID): New field.
29297         * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
29298         New field.
29299         * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
29300         * java/nio/InvalidMarkException.java (serialVersionUID): New field.
29301         * java/nio/BufferUnderflowException.java (serialVersionUID): New
29302         field.
29303         * java/nio/BufferOverflowException.java (serialVersionUID): New field.
29304         * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
29305         Javadoc fix.  Added import.
29306         * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
29307         (validOps): Likewise.
29308         * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
29309         * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
29310         * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
29311         * java/nio/channels/Channels.java: Added import.
29312         * java/nio/channels/FileChannel.java (lock): Typo fix.
29313         (tryLock): Likewise.
29314
29315 2006-03-01  Tom Tromey  <tromey@redhat.com>
29316
29317         * java/util/prefs/Preferences.java (defaultFactoryClass): Use
29318         FileBasedFactory.
29319         * gnu/java/util/prefs/FileBasedPreferences.java: New file.
29320         * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
29321         (clear): Likewise.
29322         (putSpi): Likewise.
29323         (newNode): Likewise.
29324         (node): Likewise.
29325         * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
29326         * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
29327         field.
29328         (systemRoot): Use it.
29329         (userPreferences): New field.
29330         (userRoot): Use it.
29331
29332 2006-03-01  Jeroen Frijters  <jeroen@frijters.net>
29333
29334         * java/util/ResourceBundle.java
29335         (tryBundle): Catch and ignore all Exceptions.
29336
29337 2006-02-28  Roman Kennke  <kennke@aicas.com>
29338
29339         * javax/swing/plaf/basic/BasicScrollBarUI.java
29340         (getPreferredSize): Fixed add a fixed space between the buttons
29341         instead of something related to min/max.
29342         (installComponents): Create and install buttons here.
29343         (installDefaults): Don't create buttons here.
29344         * javax/swing/plaf/metal/MetalScrollBarUI.java
29345         (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
29346         (getPreferredSize): New method.
29347
29348 2006-02-28  David Gilbert  <david.gilbert@object-refinery.com>
29349
29350         * examples/gnu/classpath/examples/swing/Demo.java
29351         (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions, 
29352         connected 'Spinner' action to SpinnerDemo, 
29353         (mkCheckbox): Removed,
29354         (mkRadio): Likewise,
29355         (mkSpinner): Likewise,
29356         (mkToggle): Likewise,
29357         (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29358         connected 'Spinner' action to SpinnerDemo.
29359
29360 2006-02-28  Wolfgang Baer  <WBaer@gmx.de>
29361
29362         * javax/print/ServiceUIFactory.java: Added documentation to class.
29363
29364 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29365
29366         PR classpath/26434
29367         * javax/swing/DefaultListSelectionModel.java:
29368         (addSelectionInterval): Return early if either of the arguments is -1.
29369         (removeSelectionInterval): Likewise.
29370         (setSelectionInterval): Likewise.
29371
29372 2006-02-28  Lillian Angel  <langel@redhat.com>
29373
29374         * javax/swing/text/DefaultFormatter.java
29375         (stringToValue): Added NPE check.
29376
29377 2006-02-28  Roman Kennke  <kennke@aicas.com>
29378
29379         PR classpath/25675
29380         * javax/swing/JList.java
29381         (getPreferredScrollableViewportSize): Restored specified behaviour.
29382         * javax/swing/plaf/metal/MetalFileChooserUI.java
29383         (createList): Set filelist panel's preferredSize, so that it doesn't
29384         get size into infinity for big lists.
29385
29386 2006-02-28  Lillian Angel  <langel@redhat.com>
29387
29388         * javax/swing/ViewportLayout.java
29389         (layoutContainer): Should not extend container to be 
29390         minimum size. Mauve test shows that the preferred size
29391         and the size of the viewport can be set smaller than
29392         the minimum.
29393
29394 2006-02-28  Lillian Angel  <langel@redhat.com>
29395
29396         PR classpath/25675
29397         * javax/swing/JList.java
29398         (getPreferredScrollableViewportSize): Added a check to determine
29399         if orientation is VERTICAL_WRAP. If it is, we should only 
29400         show 3 columns. 
29401
29402 2006-02-28  Lillian Angel  <langel@redhat.com>
29403
29404         PR classpath/26003
29405         * javax/swing/ViewportLayout.java:
29406         Patch submitted by Audrius Meskauskas
29407         (addLayoutComponent): Added documentation.
29408         (removeLayoutComponent): Likewise.
29409         (preferredLayoutSize): Likewise.
29410         (minimumLayoutSize): Likewise.
29411         (layoutContainer): Fixed code, so view is set
29412         to the right position when inside a scrollpane. 
29413
29414 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29415
29416         * java/math/BigInteger.java:
29417         Committed patch by Rafael: 
29418         developer.classpath.org/pipermail/classpath-patches/
29419         2006-February/000473.html
29420         (signum): Return early 0 if words == null and ival == 0.
29421         (readObject): Handle special case of magnitude.length or signum being
29422         0.
29423         (writeObject): If signum is zero return a zero-sized byte[].
29424
29425 2006-02-28  Lillian Angel  <langel@redhat.com>
29426
29427         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29428         (create): Initially set the directory to the current working directory.
29429         (setDirectory): Removed else-if. No need for this check.
29430
29431 2006-02-28  Tom Tromey  <tromey@redhat.com>
29432
29433         * .project: Run java builder before header generation.
29434
29435 2006-02-28  Tom Tromey  <tromey@redhat.com>
29436
29437         * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29438         Javadoc fix.
29439         * gnu/java/util/prefs/EventDispatcher.java: New file.
29440         * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29441         (NodeWriter): Specify UTF-8.
29442         (writeHeader): Emit DOCTYPE.
29443         * java/util/prefs/Preferences.java (getFactory): Add cause to
29444         exception.
29445         (exportNode): Documented.
29446         (exportSubtree): Likewise.
29447         (importPreferences): Likewise.
29448         * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29449         (writeObject): Likewise.
29450         * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29451         (writeObject): Likewise.
29452         * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29453         (nodeListeners): New field.
29454         (preferenceListeners): Likewise.
29455         (addNodeChangeListener): Implemented.
29456         (addPreferenceChangeListener): Likewise.
29457         (removeNodeChangeListener): Likewise.
29458         (removePreferenceChangeListener): Likewise.
29459         (fire): New methods.
29460         (put): Fire event.
29461         (remove): Likewise.
29462         (purge): Likewise.  Fixed synchronization.
29463         (removeNode): Fixed synchronization.
29464         (getNode): Fire event.
29465         (flushNode): Fixed synchronization.
29466
29467 2006-02-28  Roman Kennke  <kennke@aicas.com>
29468
29469         * javax/swing/text/BranchElement.java
29470         (startOffset): New field.
29471         (endOffset): New field.
29472         (BranchElement): Initialize new fields.
29473         (getEndOffset): Rewritten to possibly return cached values
29474         if element has no children.
29475         (getStartOffset): Rewritten to possibly return cached values
29476         if element has no children.
29477         * javax/swing/text/LeafElement.java
29478         (startDelta): New field.
29479         (endDelta): New field.
29480         (LeafElement): Handle possible delta of start/endOffset when
29481         these parameters lie outside the document range.
29482         (getStartOffset): Handle possible startDelta.
29483         (getEndOffset): Handle possible startDelta.
29484
29485 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29486
29487         * NEWS: Added line about Unicode 4.0.0 support.
29488
29489 2006-02-28  Roman Kennke  <kennke@aicas.com>
29490
29491         * javax/swing/SwingUtilities.java
29492         (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29493
29494 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
29495
29496         * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29497
29498 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
29499
29500         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29501         Amended class documentation.
29502         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29503         STRING.
29504         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29505         a BIT STRING construct.
29506         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29507         documentation.
29508         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29509         STRING.
29510         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29511         a BIT STRING construct.
29512         * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29513         (engineVerify): Added logging.
29514
29515 2006-02-28  Roman Kennke  <kennke@aicas.com>
29516
29517         * java/awt/Component.java
29518         (dispatchEventImpl): Let the Toolkit dispatch global events.
29519         * java/awt/Container.java
29520         (dispatchEventImpl): Let the LightweightDispatcher handle events
29521         first.
29522         * java/awt/EventQueue.java
29523         (dispatchEvent): Don't do the global event dispatching here. This
29524         is moved to the Component.
29525         (globalDispatchEvent): Moved this method to Toolkit.
29526         * java/awt/LightweightDispatcher.java
29527         (instances): New field.
29528         (getInstance): New method. Delivers an instance of
29529         LightweightDispatcher.
29530         (LightweightDispatcher): Made default constructor private.
29531         (dispatchEvent): New method. Replaces the eventDispatched method.
29532         This now returns true when the event was actually dispatched.
29533         (eventDispatched): Replaced by dispatchEvent.
29534         (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29535         received the last MOUSE_RELEASED.
29536         * java/awt/Toolkit.java
29537         (Toolkit): Don't register LightweightDispatcher as global event
29538         handler.
29539         (globalDispatchEvent): Moved here from EventQueue.
29540
29541 2006-02-27  David Daney  <ddaney@avtrex.com>
29542
29543         PR classpath/25851
29544         * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29545         up.
29546         (getRequestProperties): Rewrote.
29547
29548 2006-02-27  David Daney  <ddaney@avtrex.com>
29549
29550         PR classpath/26312
29551         * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29552         up.
29553         (ChunkedInputStream): Extend InputStream.
29554         (in): New field.
29555         (headers): Moved to top of class.
29556         (constructor): Save referenct to in.
29557         (read(byte[])): Removed method.
29558         (read(byte[], int, int)): Made synchronized and throw IOException
29559         on error parsing chunk header.
29560         (available): New method.
29561         (close): New method.
29562
29563 2006-02-27  David Daney  <ddaney@avtrex.com>
29564
29565         * gnu/java/net/protocol/http/HTTPURLConnection.java
29566         (imports): Cleaned up.
29567         (GetHTTPPropertiesAction): Removed, and moved contents to ...
29568         (constructor): ... Here, using SystemProperties instead of System.
29569         
29570 2006-02-27  Lillian Angel  <langel@redhat.com>
29571
29572         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29573         (setDirectory): GtkFileChooser requires an absolute directory
29574         name. Added a check to make the directory passed to nativeSetDirectory
29575         is absolute.
29576
29577 2006-02-27  Roman Kennke  <kennke@aicas.com>
29578
29579         * javax/swing/SwingUtilities.java
29580         (computeIntersection): Changed to store result in rect, instead of
29581         creating new Rectangle instances. Fixed API docs accordingly.
29582         (computeUnion): Changed to store result in rect, instead of
29583         creating new Rectangle instances. Fixed API docs accordingly.
29584
29585 2006-02-27  Roman Kennke  <kennke@aicas.com>
29586
29587         * javax/swing/JViewport.java
29588         (static_init): Changed default scrollmode to BLIT.
29589         (paintSimple): Added some clipping to avoid painting problems.
29590         (paintBlit): Added some clipping to avoid painting problems.
29591
29592 2006-02-27  Roman Kennke  <kennke@aicas.com>
29593
29594         * javax/swing/JComponent.java
29595         (rectCache): Made field static to save memory.
29596         (getVisibleRect): Don't use rectCache and create new Rectangle
29597         instance instead.
29598         (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29599         (repaint(long,int,int,int,int)): Directly call
29600         RepaintManager.addDirtyRegion(). The visibleRect check is now
29601         performed in the RepaintManager.
29602
29603 2006-02-27  Roman Kennke  <kennke@aicas.com>
29604
29605         * javax/swing/RepaintManager.java
29606         (currentRepaintManagers): Made field private.
29607         (rectCache): New field.
29608         (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29609         component. Changed Rectangle handling to avoid unnecessary new
29610         Rectangle instances.
29611         (getOffscreenBuffer): Create buffer with size of the root window.
29612         Respect the maximum buffer size here.
29613         (commitBuffer): Align the regions so that they are inside the buffer
29614         image and inside the clip. This avoids problems with a bug in GTKImage.
29615         Fixed Rectangle handling to avoid creation of new Rectangle instances.
29616
29617 2006-02-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29618
29619         * native/fdlibm/e_acos.c,
29620         * native/fdlibm/e_asin.c,
29621         * native/fdlibm/e_atan2.c,
29622         * native/fdlibm/e_cosh.c,
29623         * native/fdlibm/e_exp.c,
29624         * native/fdlibm/e_fmod.c,
29625         * native/fdlibm/e_hypot.c,
29626         * native/fdlibm/e_log.c,
29627         * native/fdlibm/e_log10.c,
29628         * native/fdlibm/e_rem_pio2.c,
29629         * native/fdlibm/e_remainder.c,
29630         * native/fdlibm/e_sinh.c,
29631         * native/fdlibm/e_sqrt.c,
29632         * native/fdlibm/k_cos.c,
29633         * native/fdlibm/k_sin.c,
29634         * native/fdlibm/k_tan.c,
29635         * native/fdlibm/s_atan.c,
29636         * native/fdlibm/s_cbrt.c,
29637         * native/fdlibm/s_ceil.c,
29638         * native/fdlibm/s_copysign.c,
29639         * native/fdlibm/s_cos.c,
29640         * native/fdlibm/s_expm1.c,
29641         * native/fdlibm/s_fabs.c,
29642         * native/fdlibm/s_finite.c,
29643         * native/fdlibm/s_floor.c,
29644         * native/fdlibm/s_log1p.c,
29645         * native/fdlibm/s_rint.c,
29646         * native/fdlibm/s_scalbn.c,
29647         * native/fdlibm/s_sin.c,
29648         * native/fdlibm/s_tan.c,
29649         * native/fdlibm/s_tanh.c:
29650         Fixed to call our macros rather than __HI and __LO.
29651         * native/fdlibm/fdlibm.h:
29652         Reintroduced previous extraction code.
29653         (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29654         (GET_HIGH_WORD(i,d)): Readded.
29655         (GET_LOW_WORD(i,d)): Readded.
29656         (INSERT_WORDS(d,ix0,ix1)): Readded.
29657         (SET_HIGH_WORD(d,i)): Readded.
29658         (SET_LOW_WORD(d,i)): Readded.
29659         * native/jni/gtk-peer/gthread-jni.c:
29660         Use Glib macros to convert integers/pointers portably.
29661         
29662 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29663
29664         * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29665         as the fallback SPI.
29666         * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29667         ones referencing GNU-CRYPTO classes.
29668         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29669         (engineValidate): Use GNU-CRYPTO class.
29670         * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29671         * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29672         * gnu/java/security/provider/DSAKeyFactory: Likewise.
29673         * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29674         * gnu/java/security/provider/DSAParameters: Likewise.
29675         * gnu/java/security/provider/DSASignature: Likewise.
29676         * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29677         * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29678         * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29679         * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29680         * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29681         * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29682         * gnu/java/security/provider/MD2withRSA: Likewise.
29683         * gnu/java/security/provider/MD4withRSA: Likewise.
29684         * gnu/java/security/provider/MD5: Likewise.
29685         * gnu/java/security/provider/MD5withRSA: Likewise.
29686         * gnu/java/security/provider/RSA: Likewise.
29687         * gnu/java/security/provider/RSAKeyFactory: Likewise.
29688         * gnu/java/security/provider/SHA: Likewise.
29689         * gnu/java/security/provider/SHA1PRNG: Likewise.
29690         * gnu/java/security/provider/SHA1withRSA: Likewise.
29691         * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29692
29693 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29694
29695         * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29696         (engineGeneratePublic): Added logging.
29697         (engineGeneratePrivate): Likewise.
29698         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29699         (encodePublicKey): Added logging.
29700         Clarified in method documentation that params is optional, but is
29701         always NULL if present.
29702         (decodePublicKey): Added logging.
29703         Handle optional NULL element.
29704
29705 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29706
29707         * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29708
29709 2006-03-03  Tom Tromey  <tromey@redhat.com>
29710
29711         * java/awt/MenuBar.java (shortcuts): Genericized.
29712
29713 2006-03-03  Tom Tromey  <tromey@redhat.com>
29714
29715         * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29716         Genericized.
29717         (getListenerType): Likewise.
29718         * java/beans/Introspector.java (getBeanInfo): Genericized.
29719         * java/beans/DefaultPersistenceDelegate.java (initialize):
29720         Genericized.
29721
29722 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
29723
29724         * java/math/BigDecimal.java:
29725         (precision): Fixed overflow problem with large numbers.
29726         (longValueExact): New method.
29727         (intValueExact): Likewise.
29728         (byteValueExact): Likewise.
29729         (shortValueExact): Likewise.
29730
29731 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
29732
29733         * java/math/BigDecimal.java:
29734         (remainder(BigDecimal)): New method.
29735         (divideAndRemainder(BigDecimal)): Likewise.
29736         (divideToIntegralValue(BigDecimal)): Likewise.
29737         (floor): New implementation method.
29738
29739 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29740
29741         * java/math/BigDecimal.java:
29742         (divide(BigDecimal, int, RoundingMode)): New method.
29743         (divide(BigDecimal, RoundingMode)): Likewise.
29744         (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29745         when the new scale is < 0.
29746         (setScale(int, RoundingMode)): New method.
29747         (ulp): Likewise.
29748
29749 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
29750
29751         * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29752         with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29753         (add(BigDecimal, MathContext)): New method.
29754         (subtract(BigDecimal, MathContext)): Likewise.
29755         (precision): Fixed to correctly handle BigIntegers with more than 19
29756         digits.
29757         (pow(int, MathContext)): New method.
29758
29759 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
29760
29761         * java/math/BigDecimal.java: Added @throws clause to constructors.
29762         (mathContext): Removed this unneeded field.
29763         (BigDecimal(int, MathContext)): New constructor.
29764         (BigDecimal(BigInteger, int, MathContext)): Likewise.
29765         (multiply(BigDecimal, MathContext)): New method.
29766         (negate(MathContext)): Likewise.
29767         (plus(MathContext)): Likewise.
29768         (numDigitsInLong): Fixed to properly handle negatives.
29769         
29770 2006-02-25  Chris Burdess  <dog@gnu.org>
29771   
29772         * gnu/java/net/CRLFInputStream.java,
29773           gnu/java/net/LineInputStream.java: Streams that use mark
29774           capabilities on the underlying stream do not expose mark
29775           functionality themselves.
29776         * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29777           off > 0.
29778
29779 2006-02-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
29780
29781         * gnu/regexp/REMatch.java(matchFlags): New int field used as
29782         option flags passed to match methods.
29783         (MF_FIND_ALL): New flag.
29784         * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29785         do not try other possibilties once a match is found.
29786         * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29787         so that all possibilities can be found.
29788         (match): Rewritten using new methods matchMinimum and _match.
29789         (_match): New method which performs a depth-first recursive search.
29790         (matchMinimum): New method.
29791         (initVisited), (visitedContains), (addVisited): New methods for
29792         manipulating an array of icharacter positions which _match has
29793         already visited.
29794
29795 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
29796
29797         * java/math/BigDecimal.java:
29798         (BigDecimal(long, MathContext)): New constructor.
29799         (BigDecimal(BigInteger, MathContext)): Likewise.
29800         (BigDecimal(String, MathContext)): Likewise.
29801         (BigDecimal(double, MathContext)): Likewise.
29802         (round): Fixed a typo where the precision field was used instead of a
29803         call to the precision method, and also store the new precision in the
29804         returned BigDecimal.
29805         (abs(MathContext)): New method.
29806
29807 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
29808
29809         * java/math/BigDecimal.java
29810         (toBigInteger): Fixed problem where this method couldn't handle 
29811         negative values for scale.
29812         (toBigIntegerExact): New method.
29813         (stripTrailingZeros): Likewise.
29814
29815 2006-02-24  David Daney  <ddaney@avtrex.com>
29816
29817         PR classpath/26082
29818         * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29819         type Pool.
29820         (Pool): New inner class.
29821         (timeLastUsed): New field.
29822         (setPool): Changed parameter type to Pool.
29823         (release): Moved pool management logic to new class Pool.
29824         * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29825         Removed.
29826         (maxConnections) : Removed.
29827         (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29828         (getConnection):  Moved pool management logic to HTTPConnection.Pool.
29829   
29830 2006-02-24  Lillian Angel  <langel@redhat.com>
29831   
29832         * java/awt/Container.java:
29833         Added new field. True if Container has been cleared and
29834         heavyweights need to be repainted.
29835         (paint): Fixed comment. Fixed to use backCleared and 
29836         reset backCleared.
29837         (update): Set backCleared to true after the background
29838         of the container has been cleared.
29839   
29840 2006-02-24  Lillian Angel  <langel@redhat.com>
29841   
29842         * java/awt/TextField.java
29843         (addNotify): Added call to super.
29844   
29845 2006-02-24  Lillian Angel  <langel@redhat.com>
29846   
29847         * java/awt/Component.java
29848         (reshape): Reverted last patch. Should have check here.
29849         (addNotify): Added check. If parent is lightweight, then
29850         initialize listener on the parent.
29851         (HeavyweightInLightweightListener): New class.
29852   
29853 2006-02-24  Roman Kennke  <kennke@aicas.com>
29854   
29855         * javax/swing/plaf/basic/BasicComboPopup.java
29856         (show): Register the popup with the autocloser after it has been
29857         opened completely, by putting the registration on the eventqueue.
29858   
29859 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29860   
29861         * gnu/java/security/prng/BasePRNG.java:
29862         (clone()): Added cast of buffer to byte[].
29863         * gnu/javax/crypto/mac/TMMH16.java:
29864         (clone()): Fixed casting of cloned arrays.
29865         * native/fdlibm/fdlibm.h:
29866         Added missing defines from old fdlibm.h needed by Darwin.
29867         (GET_FLOAT_WORD(i,d)): Re-added.
29868         (SET_FLOAT_WORD(d,i)): Re-added.
29869         
29870 2006-02-24  Roman Kennke  <kennke@aicas.com>
29871   
29872         * java/awt/Container.java:
29873         (dispatcher): Removed field.
29874         (dispatchEventImpl): Removed lightweight dispatching.
29875         (addNotifyContainerChildren): Removed LightweightDispatcher
29876         handling.
29877         (LightweightDispatcher): Removed class.
29878         * java/awt/LightweightDispatcher.java: New class.
29879         * java/awt/Toolkit.java
29880         (Toolkit): Install LightweightDispatcher in global listener
29881         array.
29882   
29883 2006-02-24  Chris Burdess  <dog@gnu.org>
29884   
29885         Fixes PR 26324
29886         * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29887           off > 0.
29888   
29889 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29890   
29891         * NEWS: Mentions the VMMath runtime changes.
29892         * doc/vmintegration.texinfo: Updated to include
29893         VMMath.
29894   
29895 2006-02-24  Roman Kennke  <kennke@aicas.com>
29896   
29897         * javax/swing/plaf/basic/BasicLookAndFeel.java
29898         (PopupHelper.autoClosePopups): New field.
29899         (PopupHelper.mousePressed): Also autoclose any registered popups.
29900         (PopupHelper.registerForAutoClose): New method.
29901         (PopupHelper.autoClosePopups): New method.
29902         (popupHelper): Changed type of field to PopupHelper.
29903         (registerForAutoClose): New method.
29904         * javax/swing/plaf/basic/BasicComboPopup.java
29905         (show): Register this popup for autoclosing.
29906   
29907 2006-02-24  Raif S. Naffah  <raif@swiftdsl.com.au>
29908   
29909         * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29910         * gnu/java/security/prng/MDGenerator.java (clone): New method.
29911         * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29912   
29913 2006-02-24  Roman Kennke  <kennke@aicas.com>
29914   
29915         Reported by Ingo Proetel <proetel@aicas.com>
29916         * java/util/logging/LogManager.java
29917         (addLogger): Search the parent loggers for log level
29918         configuration and inherit that.
29919         (readConfiguration): Provide minimal default configuration
29920         if no configuration can be found otherwise.
29921
29922 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
29923
29924         * java/math/BigDecimal.java:
29925         (toString): Fixed a problem where the negative sign was being displayed
29926         twice in the exponent.
29927         (toEngineeringString): New method.
29928         (toPlainString): Likewise.
29929         (pow): Likewise.
29930
29931 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
29932
29933         * java/math/BigDecimal.java:
29934         (toString): Rewrote this method to behave as specified.  Added API
29935         comments to explain behaviour.
29936         (scaleByPowerOfTen): New method.
29937
29938 2006-02-23  Roman Kennke  <kennke@aicas.com>
29939   
29940         * javax/swing/JRootPane.java
29941         (isOptimizedDrawingEnabled): Implemented to return true
29942         when the glassPane is not visible.
29943   
29944 2006-02-23  Roman Kennke  <kennke@aicas.com>
29945   
29946         * javax/swing/plaf/basic/BasicLookAndFeel.java
29947         (PopupHelper): New inner class.
29948         (popupHelper): New field.
29949         (initialize): New method.
29950         (uninitialize): New method.
29951         * javax/swing/plaf/basic/BasicPopupMenuUI.java
29952         (mouseInputListener): Removed field.
29953         (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29954         handling of GlassPane.
29955         (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29956         handling of GlassPane.
29957         (MouseInputHandler): Removed class.
29958
29959 2006-02-23  Roman Kennke  <kennke@aicas.com>
29960
29961         * java/awt/AWTEvent.java
29962         (eventIdToMask): New utility method.
29963         * java/awt/EventQueue.java
29964         (dispatchEvent): Also globally dispatch events via the toolkit.
29965         (globalDispatchEvent): New method.
29966         * java/awt/Toolkit.java
29967         (awtEventListeners): New field.
29968         (Toolkit()): Initialize new field.
29969         (createComponent): Create GLightweightPeer here.
29970         (addAWTEventListener): Implemented and documented.
29971         (removeAWTEventListener): Implemented and documented.
29972         (getAWTEventListeners): Implemented and documented both method
29973         variants.
29974         * java/awt/event/AWTEventListenerProxy.java
29975         (eventDispatched): Don't filter events here.
29976
29977 2006-02-23  Chris Burdess  <dog@gnu.org>
29978
29979         Fixes PR 26410
29980         * gnu/xml/dom/DomDocumentBuilderFactory.java,
29981           gnu/xml/dom/JAXPFactory.java,
29982           gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
29983           javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
29984           implement DocumentBuilderFactory.get/setFeature methods.
29985
29986 2006-02-23  Lillian Angel  <langel@redhat.com>
29987
29988         * gnu/java/awt/peer/GLightweightPeer.java
29989         (repaint): Scott's proposed fix. Send repaint to the
29990         component's parent.
29991         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
29992         (setBounds): Removed next_parent, not needed. Removed
29993         lightweightChild, we always need to compensate for the
29994         menu bar's height.
29995         * java/awt/Component.java
29996         (setBounds): Removed check. Caused lots of problems, because some
29997         components were not being invalidated. Components should be
29998         invalidated when they are resized or moved, and in some cases,
29999         when a parent is resized/moved, the components do not know
30000         about it and do not adjust.
30001         * java/awt/Graphics.java
30002         (hitClip): Scott's proposed fix. Added check to handle a 
30003         null clip.
30004   
30005 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
30006   
30007         * javax/print/attribute/standard/MediaSize.java: 
30008         (media): Field renamed to mediaName for serialization.
30009         (MediaSize): Adapted to new fieldname.
30010         (getMediaSizeName): Likewise.
30011         * javax/print/attribute/HashAttributeSet.java: 
30012         (interfaceName): Field renamed to myInterface for serialization.
30013         (HashAttributeSet): Adapted to the new fieldname.
30014         (add): Likewise.
30015         (addAll): Likewise.
30016         (addInternal): Likewise.
30017         (attributeMap): Made transient.
30018         (readObject): New serialization method.
30019         (writeObject): Likewise.
30020         * javax/print/attribute/AttributeSetUtilities.java: 
30021         (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
30022         (SynchronizedAttributeSet.add): Adapted to the new fieldname.
30023         (SynchronizedAttributeSet.addAll): Likewise.
30024         (SynchronizedAttributeSet.clear): Likewise.
30025         (SynchronizedAttributeSet.containsKey): Likewise.
30026         (SynchronizedAttributeSet.containsValue): Likewise.     
30027         (SynchronizedAttributeSet.equals): Likewise.
30028         (SynchronizedAttributeSet.get): Likewise.
30029         (SynchronizedAttributeSet.hashCode): Likewise.  
30030         (SynchronizedAttributeSet.isEmpty): Likewise.
30031         (SynchronizedAttributeSet.remove): Likewise.    
30032         (SynchronizedAttributeSet.size): Likewise.      
30033         (SynchronizedAttributeSet.toArray): Likewise.   
30034         (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
30035         (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
30036         (UnmodifiableAttributeSet.addAll): Likewise.
30037         (UnmodifiableAttributeSet.clear): Likewise.
30038         (UnmodifiableAttributeSet.containsKey): Likewise.
30039         (UnmodifiableAttributeSet.containsValue): Likewise.     
30040         (UnmodifiableAttributeSet.equals): Likewise.
30041         (UnmodifiableAttributeSet.get): Likewise.
30042         (UnmodifiableAttributeSet.hashCode): Likewise.  
30043         (UnmodifiableAttributeSet.isEmpty): Likewise.
30044         (UnmodifiableAttributeSet.remove): Likewise.    
30045         (UnmodifiableAttributeSet.size): Likewise.      
30046         (UnmodifiableAttributeSet.toArray): Likewise.   
30047         * javax/print/attribute/standard/MediaPrintableArea.java: 
30048         (width): Field renamed to w for serialization.
30049         (height): Field renamed to h for serialization. 
30050         (MediaPrintableArea): Adapted to the new fieldnames.    
30051         (MediaPrintableArea): Likewise.
30052         (equals): Likewise.
30053         (hashCode): Likewise.
30054         (getHeight): Likewise.
30055         (getWidth): Likewise.
30056   
30057 2006-02-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
30058   
30059         * include/java_lang_VMMath.h:
30060         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
30061         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
30062         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
30063         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
30064         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
30065         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
30066         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
30067         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
30068         * java/lang/Math.java:
30069         (cbrt(double)): Implemented.
30070         (cosh(double)): Implemented.
30071         (expm1(double)): Implemented.
30072         (hypot(double,double)): Implemented.
30073         (log10(double)): Implemented.
30074         (log1p(double)): Implemented.
30075         (signum(double)): Implemented.
30076         (signum(float)): Implemented.
30077         (sinh(double)): Implemented.
30078         (tanh(double)): Implemented.
30079         * native/fdlibm/Makefile.am:
30080         Added new files from fdlibm 5.3.
30081         * native/fdlibm/e_acos.c,
30082         * native/fdlibm/e_asin.c,
30083         * native/fdlibm/e_atan2.c,
30084         * native/fdlibm/e_exp.c,
30085         * native/fdlibm/e_fmod.c,       
30086         * native/fdlibm/e_log.c,
30087         * native/fdlibm/e_rem_pio2.c,
30088         * native/fdlibm/e_remainder.c,
30089         * native/fdlibm/e_scalb.c,
30090         * native/fdlibm/e_sqrt.c,
30091         * native/fdlibm/k_cos.c,
30092         * native/fdlibm/k_rem_pio2.c,
30093         * native/fdlibm/k_sin.c,
30094         * native/fdlibm/k_tan.c,
30095         * native/fdlibm/s_atan.c,
30096         * native/fdlibm/s_ceil.c,
30097         * native/fdlibm/s_copysign.c,
30098         * native/fdlibm/s_cos.c,
30099         * native/fdlibm/s_fabs.c,
30100         * native/fdlibm/s_finite.c,
30101         * native/fdlibm/s_floor.c,
30102         * native/fdlibm/s_rint.c,
30103         * native/fdlibm/s_scalbn.c,
30104         * native/fdlibm/s_sin.c,
30105         * native/fdlibm/s_tan.c,
30106         * native/fdlibm/w_acos.c,
30107         * native/fdlibm/w_asin.c,
30108         * native/fdlibm/w_atan2.c,
30109         * native/fdlibm/w_acos.c,
30110         * native/fdlibm/w_exp.c,
30111         * native/fdlibm/w_fmod.c,
30112         * native/fdlibm/w_log.c,
30113         * native/fdlibm/w_pow.c,
30114         * native/fdlibm/w_remainder.c,
30115         * native/fdlibm/w_sqrt.c:
30116         Updated to fdlibm 5.3.
30117         * native/fdlibm/e_cosh.c,
30118         * native/fdlibm/e_hypot.c,
30119         * native/fdlibm/e_log10.c,
30120         * native/fdlibm/e_sinh.c,
30121         * native/fdlibm/s_cbrt.c,
30122         * native/fdlibm/s_expm1.c,
30123         * native/fdlibm/s_log1p.c,
30124         * native/fdlibm/s_tanh.c,
30125         * native/fdlibm/w_cosh.c,
30126         * native/fdlibm/w_hypot.c,
30127         * native/fdlibm/w_log10.c,
30128         * native/fdlibm/w_sinh.c:
30129         Imported from fdlibm 5.3.
30130         * native/fdlibm/fdlibm.h:
30131         Imported from fdlibm 5.3 with Classpath additions.
30132         * native/fdlibm/namespace.h:
30133         Updated from new math_symbols file.
30134         * native/jni/java-lang/java_lang_VMMath.c:
30135         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
30136         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
30137         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
30138         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
30139         Implemented.
30140         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
30141         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
30142         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
30143         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
30144         * scripts/math_symbols:
30145         Added tanh, expm1, log10 and log1p.
30146         * vm/reference/java/lang/VMMath.java:
30147         (cbrt(double)): Implemented.
30148         (cosh(double)): Implemented.
30149         (expm1(double)): Implemented.
30150         (hypot(double,double)): Implemented.
30151         (log10(double)): Implemented.
30152         (log1p(double)): Implemented.
30153         (sinh(double)): Implemented.
30154         (tanh(double)): Implemented.
30155         
30156 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
30157
30158         * javax/print/DocFlavor.java: Added documentation all over.
30159         (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
30160         (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
30161         (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
30162         (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
30163         (URL.TEXT_HTML_HOST): Likewise.
30164         (URL.TEXT_PLAIN_HOST): Likewise.
30165         (hostEncoding): Initialize with host default charset encoding.
30166         (mediaSubtype): Made transient.
30167         (mediaType): Likewise.
30168         (params): Made transient. Changed type to TreeMap.
30169         (className): Removed, changed to myClassName.
30170         (myClassName): New field as defined in serialized form.
30171         (DocFlavor): Adapted to new variable types, names.
30172         (parseMimeType): Reimplemented.
30173         (getParameter): Search with lowercase name.
30174         (getRepresentationClassName): Adapted to changed variable name.
30175         (hashCode): Likewise.
30176         (toString): Reimplemented.
30177         (readObject): New method for serialization.
30178         (writeObject): Likewise.
30179   
30180 2006-02-23  Roman Kennke  <kennke@aicas.com>
30181   
30182         * javax/swing/RepaintManager.java
30183         (commitBuffer): Clip the repaint area with the current clip.
30184   
30185 2006-02-23  Raif S. Naffah  <raif@swiftdsl.com.au>
30186   
30187         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
30188         (DEFAULT_PRIME_SIZE): Made public.
30189         (DEFAULT_EXPONENT_SIZE): Likewise.
30190         (setup): Handle DHParameterSpec as well.
30191         * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
30192         defaultFormat instead of Raw.
30193         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
30194         (checkIsConstructed): Removed.
30195         (checkIsBigInteger): Likewise.
30196         (decodePublicKey): Use DerUtil.
30197         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
30198         (checkIsConstructed): Removed.
30199         (checkIsBigInteger): Likewise.
30200         (decodePrivateKey): Use DerUtil.
30201         * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
30202         KeyAgreement.DH.
30203         Added mappings for AlgorithmParameters.DH and
30204         AlgorithmParameterGenerator.DH.
30205         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
30206         * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
30207         * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
30208         * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
30209         Return result.
30210         (engineGeneratePublic): Likewise.
30211         * gnu/java/security/util/DerUtil.java: New file.
30212         * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
30213         Include only valid RSA PKCS1 (v1.5) signature names.
30214         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
30215         (RSAPKCS1V1_5SignatureX509Codec): Removed.
30216         (checkIsConstructed): Likewise.
30217         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
30218         (checkIsConstructed): Removed.
30219         (checkIsBigInteger): Likewise.
30220         (decodeSignature): Use DerUtil.
30221         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
30222         (checkIsConstructed): Removed.
30223         (checkIsBigInteger): Likewise.
30224         (decodePublicKey): Use DerUtil.
30225         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
30226         (checkIsConstructed): Removed.
30227         (checkIsBigInteger): Likewise.
30228         (decodePrivateKey): Use DerUtil.
30229         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
30230         (checkIsConstructed): Removed.
30231         (checkIsBigInteger): Likewise.
30232         (decodePublicKey): Use DerUtil.
30233         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
30234         (checkIsConstructed): Removed.
30235         (checkIsBigInteger): Likewise.
30236         (decodePrivateKey): Use DerUtil.
30237         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
30238         (DEFAULT_MODULUS_LENGTH): Made it public.
30239         * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
30240         defaultFormat instead of Raw.
30241         * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
30242         * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
30243         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
30244         Return result.
30245         (engineGeneratePublic): Likewise.
30246         * gnu/javax/crypto/DiffieHellmanImpl: Removed.
30247
30248 2006-02-22  Anthony Balkissoon  <abalkiss@redhat.com>
30249
30250         * java/math/BigDecimal.java:
30251         (BigDecimal(char[], int, int, MathContext)): New constructor.
30252         (BigDecimal(char[], MathContext)): Likewise.
30253         (BigDecimal(char[])): Likewise.
30254         (BigDecimal(char[], int, int)): Likewise.
30255         (BigDecimal(String)): Fixed handling of exponent and scale.
30256
30257 2006-02-22  Mark Wielaard  <mark@klomp.org>
30258
30259         * java/awt/Checkbox.java (setState): Check that state actually changed
30260         before calling peer.
30261         (dispatchEventImpl): Set new state if ItemEvent.
30262         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
30263         (create): Set currentState.
30264         (setState): Make synchronized, check and set currentState before
30265         calling gtkToggleButtonSetActive.
30266         (postItemEvent): Make synchronized, check and set currentState before
30267         posting ItemEvent.
30268         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
30269         (postItemEventID): Method now takes boolean.
30270         (item_toggled_cb): Likewise.
30271   
30272 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30273   
30274         * javax/swing/text/DefaultHighlighter.java:
30275         (changeHighlight): Added code to minimize the damaged area.
30276   
30277 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30278   
30279         * javax/swing/text/PlainView.java:
30280         (getPreferredSpan): Added missing 'break'.
30281         statement which corrects an unwanted fall through.
30282         (updateDamage): Update maxLineLength correctly when text is
30283         removed, call preferenceChanged accordingly.
30284         (viewToModel): Restrict line number to be within 0 and the
30285         number of elements-1.
30286   
30287 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30288   
30289         * javax/swing/text/Utilities.java:
30290         (getPositionAbove): Prefer first value by changing comparison
30291         from < to <=.
30292         (getPositionBelow): Dito.
30293   
30294 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30295   
30296         * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
30297         behavior when magic caret position is null.
30298   
30299 2006-02-22  Roman Kennke  <kennke@aicas.com>
30300   
30301         * javax/swing/JTextField.java
30302         (isValidateRoot): New method.
30303   
30304 2006-02-22  Roman Kennke  <kennke@aicas.com>
30305   
30306         * javax/swing/JEditorPane.java
30307         (getPreferredSize): Rewritten to behave like the reference impl.
30308         (getScrollableTracksViewportWidth): Likewise.
30309         (getScrollableTracksViewportHeight): Likewise.
30310   
30311 2006-02-22  Roman Kennke  <kennke@aicas.com>
30312   
30313         * javax/swing/RepaintManager.java
30314         (addInvalidComponent): Also consider the component itself.
30315   
30316 2006-02-22  Mark Wielaard  <mark@klomp.org>
30317   
30318         * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
30319         qualify AbstractDocument.AttributeContext.
30320         (blockOpen): Likewise.
30321   
30322 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
30323
30324         * java/math/BigDecimal.java:
30325         (mathContext): New field.
30326         (precision): Likewise.
30327         (BigDecimal(int)): New constructor.
30328         (BigDecimal(long)): Likewise.
30329         (BigDecimal(BigInteger)): Added API docs.
30330         (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
30331         and added API docs.
30332         (plus): New method.
30333         (round): Likewise.
30334         (precision): Likewise.
30335         (valueOf): Likewise.
30336         (numDigitsInLong): New implementation method.
30337
30338 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
30339
30340         * java/math/MathContext.java: New class.
30341         * java/math/RoundingMode: New Enum.
30342
30343 2006-02-21  Mark Wielaard  <mark@klomp.org>
30344   
30345         * java/awt/Component.java (translateEvent): Translate
30346         AdjustmentEvents to 1.0 Events.
30347         * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
30348         Call setValue() before processing event.
30349         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
30350         whether we are currently changing and being called back from the
30351         Scrollbar component.
30352         (setBarValues): New native method.
30353         (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
30354         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
30355         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
30356         Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
30357         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
30358   
30359 2006-02-21  Roman Kennke  <kennke@aicas.com>
30360   
30361         * javax/swing/text/View.java
30362         (setParent): Set child parent to null when disconnecting
30363         the view from the View hierarchy.
30364   
30365 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
30366   
30367         * javax/print/StreamPrintService.java: Added and enhanced documentation.
30368   
30369 2006-02-21  Roman Kennke  <kennke@aicas.com>
30370   
30371         * javax/swing/text/WrappedPlainView.java
30372         (calculateBreakPosition): Changed to use the view's allocation instead
30373         of the container's preferredSize.
30374   
30375 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
30376   
30377         * java/awt/CardLayout.java:
30378         (first): Updated api documentation.
30379         (last): Likewise.
30380         (next): Likewise.
30381         (previous): Likewise.
30382         (show): Clarified api docs. Return if name is null. Throw
30383         IllegalArgumentException if layout of container is not this.
30384         (gotoComponent): Updated api documentation. Throw
30385         IllegalArgumentException if layout of container is not this.
30386   
30387 2006-02-21  Roman Kennke  <kennke@aicas.com>
30388   
30389         * javax/swing/text/NavigationFilter.java
30390         (getNextVisualPositionFrom): New method.
30391   
30392 2006-02-21  Roman Kennke  <kennke@aicas.com>
30393   
30394         * javax/swing/plaf/basic/BasicTextUI.java
30395         (RootView.setView): Call setParent() on the view with this as
30396         argument instead of null.
30397         (setView): Don't set root view's parent here.
30398   
30399 2006-02-21  Roman Kennke  <kennke@aicas.com>
30400   
30401         * javax/swing/text/AbstractDocument.java
30402         (AbstractElement.getAttribute): Use getResolveParent() to fetch
30403         the resolving parent.
30404         (AbstractElement.getResolveParent): Fixed to handle possible null
30405         parent.
30406         * javax/swing/text/BoxView.java
30407         (childReqs): New field.
30408         (paint): Added debugging code (commented out).
30409         (getPreferredSpan): Rewritten to use new update* methods.
30410         (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30411         for the minor axis and preferredSpan for the major axis.
30412         (getMinimumSpan): Rewritten to use new update* methods.
30413         (baselineRequirements): Rewritten to avoid creation of 
30414         unnecessary SizeRequirements objects.
30415         (baselineLayout): Rewritten to use new update* methods.
30416         (calculateMajorAxisRequirements): Rewritten to avoid creation of 
30417         unnecessary SizeRequirements objects.
30418         (calculateMinorAxisRequirements): Rewritten to avoid creation of 
30419         unnecessary SizeRequirements objects.
30420         (layout): Some robustness fixes for the layout. Turned AssertionErrors
30421         into warnings.
30422         (layoutMajorAxis): Rewritten to use new update* methods.
30423         (layoutMinorAxis): Rewritten to use new update* methods.
30424         (getChildRequirements): Replaced by the update* methods.
30425         (getAlignment): Use update* methods.
30426         (updateChildRequirements): New methods. Updates the child requirements
30427         if necessary.
30428         (updateRequirements): New methods. Updates the BoxView requirements
30429         if necessary.
30430         * javax/swing/text/DefaultStyledDocument.java
30431         (ElementBuffer.insert): Added warning for illegal replacement operation.
30432         * javax/swing/text/FlowView.java
30433         (layoutRow): When offset doesn't change, return -1.
30434         (LogicalView): Now subclasses BoxView.
30435         (loadChildren): Let the CompositeView.setParent() load the children
30436         of the logicalView.
30437         (calculateMinorRequirements): New overridden method.
30438         * javax/swing/text/GlyphView.java
30439         (DefaultGlyphPainter.paint): Fixed typo.
30440         (startOffset): Made field private.
30441         (endOffset): Made field private.
30442         (paint): Call getStartOffset() and getEndOffset() instead of the
30443         element methods.
30444         (isStrikeThrough): Fixed typo.
30445         (breakView): Use Utilities.getBreakLocation() to determine best
30446         break location.
30447         (changedUpdate): Call preferencedChange on this instead of parent.
30448         (removeUpdate): Call preferencedChange on this instead of parent.
30449         * javax/swing/text/ParagraphView.java
30450         (Row.getAlignment): For Y_AXIS, call super.
30451         (getAlignment): Likewise.
30452         * javax/swing/text/Utilities.java
30453         (getBreakLocation): Set Segment object directly on the BreakIterator.
30454         * javax/swing/text/html/HTML.java
30455         (Attribute): Made class non-serializable and final as specified.
30456         (Attribute(String)): Made constructor private.
30457         (Attribute.compareTo): Removed.
30458         (Attribute.equals): Removed.
30459         (Attribute.hashCode): Removed.
30460         (Tag): Made class non-comparable and non-serializable as specified.
30461         (Tag.compareTo): Removed.
30462         (Tag.equals): Removed.
30463         (Tag.hashCode): Removed.
30464         * javax/swing/text/html/HTMLDocument.java
30465         (HTMLReader.blockOpen): Add tag as name attribute to element.
30466         * javax/swing/text/html/HTMLEditorKit.java
30467         (HTMLFactory.create): Create NullView for <head> tags, removed unused
30468         fallback.
30469         * javax/swing/text/html/InlineView.java
30470         (setPropertiesFromAttributes): Call super.
30471         * javax/swing/text/html/NullView.java: New class.
30472   
30473 2006-02-21  Roman Kennke  <kennke@aicas.com>
30474   
30475         PR classpath/26368
30476         * javax/swing/text/GapContent.java
30477         (GapContentPosition): Made class private.
30478         (InsertUndo): Made class private.
30479         (UndoRemove): Made class private.
30480         (WeakPositionComparator): New inner class.
30481         (positions): Made field private.
30482         (createPosition): Clear up GC'ed positions before creating
30483         a new one. Store position as WeakReference.
30484         (getPositionsInRange): Changed to handle WeakReference
30485         positions.
30486         (setPositionsInRange): Changed to handle WeakReference
30487         positions.
30488         (adjustPositionsInRange): Changed to handle WeakReference
30489         positions.
30490         (dumpPositions): Handle WeakReference positions.
30491         (clearPositionReferences): New method.
30492   
30493 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
30494   
30495         * javax/swing/plaf/basic/BasicTextUI.java:
30496         (paint): Remove unneccessary part of the if-expression.
30497         (damageRange): Added case where the range spans multiple lines.
30498         * javax/swing/text/DefaultCaret.java:
30499         (clearHighlight): New method.
30500         (handleHighlight): Removed unneccessary part of the if-expression.
30501         (setDot): Use clearHighlight method.
30502         * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30503         of Vector.
30504         (paint): Prevented calling size() on every loop iteration, fixed
30505         calculation of allocation area bounds.
30506         (getHighlights): Implemented.
30507         (removeHighlight): Mark damaged area in textcomponent.
30508         (addHighlight): Mark damaged area in textcomponent.
30509         (changeHighlight): Mark damaged area in textcomponent.
30510         (DefaultHighlighter.HighlightEntry): Made it a real
30511         Highlighter.Highlight implementation.
30512         (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30513         calculations.
30514
30515 2006-02-20  Stuart Ballard  <stuart.a.ballard@gmail.com>
30516
30517         * java/util/zip/ZipConstants.java
30518         (LOCSIG): Change type to long.
30519         (EXTSIG): Likewise.
30520         (CENSIG): Likewise.
30521         (ENDSIG): Likewise.
30522         * java/util/zip/ZipOutputStream.java
30523         (writeLeInt(long)): New method.
30524   
30525 2006-02-21  Michael Koch  <konqueror@gmx.de>
30526   
30527         * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30528   
30529 2006-02-20  Mark Wielaard  <mark@klomp.org>
30530   
30531         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30532         (begin_drawing_operation): Output stacktrace and return on bad cairo
30533         status.
30534         (end_drawing_operation): Likewise. And reset cairo_t.
30535   
30536 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30537   
30538         * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30539         in backward selection action.
30540   
30541 2006-02-20  Olivier Jolly  <olivier.jolly@pcedev.com>
30542   
30543         * java/lang/reflect/Proxy.java:
30544         (ProxyData.getProxyData): Skipped overriding of core methods.
30545         (ProxyData.isCoreObjectMethod): New method.
30546   
30547 2006-02-20  Mark Wielaard  <mark@klomp.org>
30548   
30549         * gnu/java/nio/charset/Provider.java (Provider): Package private.
30550   
30551 2006-02-20  Roman Kennke  <kennke@aicas.com>
30552   
30553         * javax/swing/text/html/Option.java: New class.
30554   
30555 2006-02-20  Lillian Angel  <langel@redhat.com>
30556   
30557         * java/swt/Window.java
30558         (show): Calling show() on the owned windows caused problems.
30559         Changed back to get the peer and call setVisible.
30560   
30561 2006-02-20  Roman Kennke  <kennke@aicas.com>
30562   
30563         * javax/swing/plaf/basic/BasicTextUI.java
30564         (damageRange): Implemented this method.
30565   
30566 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30567   
30568         * javax/swing/text/GapContent.java:
30569         (shiftGapEndUp): Corrected new mark value.
30570         * javax/swing/text/AbstractDocument.java:
30571         (remove): Changed order of operations.
30572   
30573 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30574   
30575         * javax/swing/text/GapContent.java:
30576         (shiftGapEndUp): Reverted.
30577         * javax/swing/text/AbstractDocument.java:
30578         (remove): Reverted.
30579   
30580 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30581   
30582         * javax/swing/text/GapContent.java:
30583         (shiftGapEndUp): Corrected new mark value.
30584         * javax/swing/text/AbstractDocument.java:
30585         (remove): Changed order of operations.
30586   
30587 2006-02-20  Mark Wielaard  <mark@klomp.org>
30588   
30589         * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30590         parent field.
30591         (insert): Likewise.
30592         (addNotify): Add the item after addNotifying it.
30593         * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30594         there is a peer. Use getParent() and setParent() to manipulate parent
30595         field.
30596         (add(Menu)): Use getParent() and setParent() to manipulate parent
30597         field. Call addNotify() and addMenu() when there is a peer.
30598         (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30599         (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30600         when there is a peer.
30601         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30602         (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30603         (setFont): Call setFont(Font).
30604         (setFont(Font)): Document. Only set font when not null.
30605         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30606         protected.
30607         (connectSignals): Likewise.
30608         (GtkMenuItemPeer): Document. Don't try to add item. Always call
30609         connectSignals().
30610         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30611         protected.
30612         (postMenuActionEvent): Document.
30613         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30614         protected.
30615         (addItem): Document. Made private.
30616         (addTearOff): Made private.
30617         (connectSignals): New protected overridden method.
30618         (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30619         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30620         (create): Document.
30621         (addMenu): Made private, take GtkMenuPeer as argument and document.
30622         (GtkMenuBarPeer): Document.
30623         (nativeSetHelpMenu): Removed.
30624         (addHelpMenu): Implement.
30625         (delMenu): Document.
30626         (addMenu): Implement.
30627         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30628         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30629         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30630         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30631         Removed.
30632   
30633 2006-02-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30634   
30635         * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30636         Expect that proxy interfaces may have different class loaders.
30637         * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30638         * java/rmi/registry/Registry.java,
30639         * java/rmi/server/UnicastRemoteObject.java: 
30640         Documented about proxy stubs.
30641         * gnu/java/rmi/server/CombinedClassLoader.java,
30642         java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30643         * NEWS: Added entry.
30644
30645 2006-02-19  Mark Wielaard  <mark@klomp.org>
30646
30647         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30648         Parent and Bounds of our children if either or parent is showing, or
30649         we are a Window and are showing ourselves now.
30650   
30651 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30652   
30653         * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName): 
30654         New method.
30655         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: 
30656         Another stub name fix.
30657   
30658 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30659   
30660         * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30661         Call convertStubName. (convertStubName): New method.
30662         * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30663         * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java 
30664         (convertStubName): New method.
30665         (getMethodHashCode): 
30666         Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30667         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30668
30669 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30670
30671         * java/rmi/server/UnicastRemoteObject.java: Documenting. 
30672
30673 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30674
30675         * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30676
30677 2006-02-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30678
30679         * javax/swing/JViewport.java (paintBackingStore): If the component has
30680         not been scrolled, only repaint the buffer part, indicated by
30681         the parameter graphics clip. 
30682      
30683 2006-02-19  Raif S. Naffah  <raif@swiftdsl.com.au>
30684
30685         * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30686         internal format.
30687         (writePrivateKey): Likewise.
30688         (writeKey): New method.
30689         (getKeyType): Likewise.
30690         * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30691         internal format.
30692         (readPrivateKey): Likewise.
30693         (getKeyPairCodec): New method.
30694         * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30695         * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30696         * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30697         (RSA_PSS_ENCODING): Likewise..
30698         (RSA_PKCS1_V1_5_ENCODING): Likewise.
30699         (RSA_PSS_SIG): Redefined using other constants.
30700         (RSA_PKCS1_V1_5_SIG): Likewise.
30701         (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30702         * gnu/java/security/util/FormatUtil.java: New file.
30703         * gnu/java/security/sig/SignatureFactory.java (names): New field.
30704         (getInstance): Let RSASignatureFactory handle RSA signature names.
30705         (getNames): Handle new RSA signature (with format) names.
30706         * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30707         * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30708         for null md.
30709         (name): Include hash algorithm name.
30710         * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30711         * gnu/java/security/sig/rsa/RSAPSSSignature.java
30712         (RSAPSSSignature): Call constructor with IMessageDigest.
30713         (RSAPSSSignature(ImessageDigest,int)): New constructor.
30714         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30715         file.
30716         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30717         Likewise.
30718         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30719         (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30720         (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30721         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30722         hash algorithm name to exception.
30723         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30724         * gnu/java/security/key/KeyPairCodecFactory.java
30725         (names): New class field.
30726         (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30727         (getInstance(String,String)): New method.
30728         (getInstance(String,int)): New method.
30729         (getInstance(byte[])): Removed.
30730         (getInstance(Key)): Handle new formats.
30731         (getNames): Likewise.
30732         (getEncodingName(int)): Moved to FormatUtil.
30733         (getEncodingShortName(int)): Likewise.
30734         (getRawCodec(String)): New method.
30735         (getX509Codec(String)): Likewise.
30736         (getPKCS8Codec(String)): Likewise.
30737         (getRawCodec(Key)): Likewise.
30738         (getX509Codec(Key)): Likewise.
30739         (getPKCS8Codec(Key)): Likewise.
30740         * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30741         * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30742         * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30743         * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30744         * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30745         * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30746         * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30747         * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30748         * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30749
30750 2006-02-18  Mark Wielaard  <mark@klomp.org>
30751
30752         * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30753         DragSource.
30754         (NoDragGestureRecognizer): New static class.
30755         (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30756         Toolkit doesn't support drag and drop.
30757
30758 2006-02-18  Mark Wielaard  <mark@klomp.org>
30759
30760         * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30761         (AbstractAction(String)): Just call putValue() for NAME.
30762         (putValue): Nothing to do is old and new value are both null.
30763
30764 2006-02-18  Mark Wielaard  <mark@klomp.org>
30765
30766         * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30767         through getContentPane().
30768         (preferredLayoutSize): Likewise.
30769
30770 2006-02-18  Mark Wielaard  <mark@klomp.org>
30771
30772         * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30773         actually set before painting.
30774
30775 2006-02-18  Mark Wielaard  <mark@klomp.org>
30776
30777         * javax/swing/text/html/HTMLDocument.java (addContent):
30778         Fully qualify AbstractDocument.AttributeContext and
30779         DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30780
30781 2006-02-18  Mark Wielaard  <mark@klomp.org>
30782
30783         * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30784         (getRepresentationClassFromMime): Add exception cause to
30785         IllegalArgumentException.
30786   
30787 2006-02-17  Lillian Angel  <langel@redhat.com>
30788   
30789         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30790         Removed unneeded import.
30791         * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30792         Removed unneeded imports.
30793         * java/awt/BorderLayout.java:
30794         Fixed comment, this is not yet handled in the JDK 1.5.
30795         * java/awt/Container.java:
30796         Removed unneeded import.
30797   
30798 2006-02-17  Lillian Angel  <langel@redhat.com>
30799   
30800         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30801         (setBounds): Removed check. Coordinates should always be changed
30802         to incorporate the parent's coordinates.
30803         * gnu/java/awt/peer/gtk/GtkFramePeer.java
30804         (setMenuBar): Added checks. Don't validate component if it has 
30805         not been validated yet, it will be validated later. Only validate
30806         if it has already been validated, in that case it needs to be
30807         revalidated.
30808         * java/awt/Window.java
30809         (show): Added check. If the window is visible, then bring it to the
30810         front. Otherwise, iterate through all its children windows and show them.
30811         No need to do both.
30812
30813 2006-02-17  Roman Kennke  <kennke@aicas.com>
30814
30815         * javax/swing/text/html/ParagraphView.java: New file.
30816
30817 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30818
30819         * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30820         is included. (moveToCellBeingEdited): Adjusted to start editing at the
30821         same location where was the initial text.
30822         * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30823
30824 2006-02-17  Chris Burdess  <dog@gnu.org>
30825
30826         Fixes PRs 26319, 26320, 26321, 26322, 26325
30827         * gnu/xml/stream/SAXParser.java: On error, reset parser before
30828           rethrowing exception.
30829         * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30830           1.1-style prefix unbinding in 1.0 document" error for xmlns
30831           prefixes, not xmlns attributes. Fix a problem with empty namespace
30832           stack at the end of a document. Permit parameter entity references
30833           in element and attribute-list definition name area. Corrected
30834           normalisation of whitespace character entity references in CDATA
30835           attribute values. Fixed number of characters read following a
30836           reset when detecting end of character data with characters after a
30837           Unicode surrogate pair.
30838   
30839 2006-02-17  Roman Kennke  <kennke@aicas.com>
30840   
30841         * javax/swing/text/html/HTMLEditorKit.java
30842         (HTMLFactory.create): Create InlineView for content tags.
30843         * javax/swing/text/html/HTMLDocument.java
30844         (HTMLReader.flush): Call create() on first flush and insert
30845         on subsequent flushes.
30846   
30847 2006-02-17  Roman Kennke  <kennke@aicas.com>
30848   
30849         * javax/swing/text/AbstractDocument.java
30850         (BranchElement.getStartOffset): Implemented workaround for wrong
30851         NPE.
30852         (BranchElement.getEndOffset): Implemented workaround for wrong
30853         NPE.
30854         (ElementBuffer.split): Use createBranchElement() instead of
30855         new BranchElement().
30856         (ElementBuffer.insertFracture): Use createBranchElement() instead of
30857         new BranchElement().
30858         (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30859         instead of new BranchElement().
30860         (createDefaultRoot): Use createBranchElement() and createLeafElement
30861         instead of the constructors.
30862         (create): Rewritten.
30863   
30864 2006-02-17  Keith Seitz  <keiths@redhat.com>
30865   
30866         * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30867         (SIZE): New constant.
30868         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30869         (executeIDsizes): Use SIZE constant.
30870         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30871         (SIZE): New constant.
30872
30873 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30874
30875         * javax/swing/JTable.java (IconCellRenderer): Set the component
30876         text to empty string. (createDefaultRenderers): Register
30877         IconCellRenderer also for ImageIcon. 
30878         (getCellEditor(int, int), getCellRenderer(int, int)):
30879         Use model index for data model and column index for column model.
30880         (getColumnClass): Convert to model index before requesting class
30881         from model. 
30882   
30883 2006-02-17  Roman Kennke  <kennke@aicas.com>
30884   
30885         * javax/swing/text/html/HTMLDocument.java
30886         (createDefaultRoot): Implemented.
30887         (createLeafElement): Implemented.
30888         (createBranchElement): Implemented.
30889         (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30890         (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30891         (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30892         (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30893         (HTMLReader.blockOpen): Add name attribute with the current tag.
30894         (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30895   
30896 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30897   
30898         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30899         Rewritten.
30900         * javax/swing/table/JTableHeader.java: Documenting related methods.
30901   
30902 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
30903   
30904         Fixes PR 25752
30905         * gnu/java/net/protocol/ftp/FTPURLConnection.java
30906         (connect): Changed to use SystemProperties.
30907         (getInputStream): Try changeWorkingDirectory to figure out if
30908         url is a directory, if not use retrieve.
30909         (getOutputStream): Don't worry about directories, simply always
30910         try to do a store.
30911   
30912 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
30913   
30914         * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30915         (ActiveModeDTP): Mark accept thread as daemon.
30916   
30917 2006-02-17  Michael Koch  <konqueror@gmx.de>
30918   
30919         * tools/.cvsignore: Ignore tools.zip.
30920   
30921 2006-02-16  Keith Seitz  <keiths@redhat.com>
30922   
30923         * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30924         Set the ID's reference.
30925         (<clinit>): Remove comments for field, method, and frame ID types,
30926         which will not be handled by VMIdManager.
30927   
30928 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30929   
30930         * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30931         Use model index, not the column number.
30932         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30933         Rewritten. (draggingHeaderRect): New field. (paint): Animate column 
30934         movement by painting draggingHeaderRect.
30935         * NEWS: Added entry about JTable columns. 
30936   
30937 2006-02-16  Keith Seitz  <keiths@redhat.com>
30938   
30939         * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30940         default size of eight bytes.
30941         * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30942         * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30943         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30944         (executeIDsizes): Use new static methods.
30945         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30946         method.
30947         
30948 2006-02-16  David Daney  <ddaney@avtrex.com>
30949   
30950         PR classpath/26312
30951         * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30952         return value with 0xff.
30953   
30954 2006-02-16  Keith Seitz  <keiths@redhat.com>
30955   
30956         * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30957         (matches): Use Iterator instead of ListIterator.
30958   
30959 2006-02-16  Keith Seitz  <keiths@redhat.com>
30960   
30961         * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30962         processor thread for easier debugging.
30963         (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30964         main thread.
30965   
30966 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30967   
30968         * javax/swing/JTable.java 
30969         (TableColumnPropertyChangeHandler.propertyChange): Return without
30970         action if table header resizing column in not null. (doLayout):
30971         Only repaint the header if it is not null.      
30972         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
30973         (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
30974         Rewritten. (MouseInputHandler.endResizing): New method.
30975   
30976 2006-02-16  Roman Kennke  <kennke@aicas.com>
30977   
30978         * javax/swing/text/html/InlineView.java: New file.
30979   
30980 2006-02-16  Roman Kennke  <kennke@aicas.com>
30981   
30982         * javax/swing/JTabbedPane.java
30983         (AccessibleJTable.getAccessibleChild): Implemented to return
30984         the Page instance for the specified index.
30985         (Page): Changed to implement Accessible and extend
30986         AccessibleContext.
30987         (Page.getAccessibleContext): New method.
30988         (Page.getAccessibleRole): New method.
30989         (Page.getAccessibleStateSet): New method.
30990         (Page.getAccessibleIndexInParent): New method.
30991         (Page.getAccessibleChildrenCount): New method.
30992         (Page.getAccessibleChild): New methdod.
30993         (Page.getLocale): New method.
30994   
30995 2006-02-16  Roman Kennke  <kennke@aicas.com>
30996   
30997         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
30998         (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
30999         tabCount gets greater than tabRuns.length.
31000         (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
31001         when tabCount gets greater than tabRuns.length.
31002         (paintTabArea): Don't set tabCount == runCount.
31003   
31004 2006-02-16  Roman Kennke  <kennke@aicas.com>
31005   
31006         * javax/swing/plaf/basic/BasicTextUI.java
31007         (installUI): Moved installation of PropertyChangeListener
31008         to installListeners(). Call modelChanged() after everything is
31009         is installed.
31010         (installListeners): Install PropertyChangeListener here.
31011         (uninstallUI): Moved uninstallation of PropertyChangeListener
31012         to uninstallListeners.
31013         (uninstallListeners): Uninstall PropertyChangeListener here.
31014
31015 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31016
31017         * javax/swing/JTable.java (doLayout): 
31018         case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
31019         on exit.
31020         javax/swing/plaf/basic/BasicTableHeaderUI.java 
31021         (MouseInputHandler.mouseDragged): Do not repaint the header.
31022   
31023 2006-02-16  Roman Kennke  <kennke@aicas.com>
31024   
31025         * javax/swing/JViewport.java
31026         (static_initializer): Set default scrollMode to backingstore.
31027   
31028 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31029   
31030         * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
31031         returned by getCellRect. To not translate the component.
31032   
31033 2006-02-16  Roman Kennke  <kennke@aicas.com>
31034   
31035         * javax/swing/JComponent.java
31036         (rectCache): Made field non-static to avoid nasty interferences.
31037         (computeVisibleRect): Avoid creation of new Rectangles and double
31038         calculations on ints by using Swing.computeIntersection() instead
31039         of Rectangle2D.intersect().
31040         (repaint): Interect the dirty region with the visible rectangle
31041         of this component to avoid unnecessary painting.
31042   
31043 2006-02-16  Gary Benson  <gbenson@redhat.com>
31044   
31045         * java/lang/Thread.java (stop): Add a missing access check.
31046   
31047 2006-02-16  Robert Schuster  <robertschuster@fsfe.org>
31048   
31049         * javax/swing/text/JTextComponent.java:
31050         (replaceSelection): Added code to update the magic caret position.
31051         * javax/swing/text/DefaultEditorKit.java: Added code to update
31052         the magic caret position of the text component in all relevant
31053         movement actions, make use of the magic caret position in up
31054         and down movements and selections, simplified some actions
31055         (code-wise).
31056
31057 2006-02-15  Anthony Balkissoon  <abalkiss@redhat.com>
31058
31059         * gnu/java/lang/CharData.java: Regenerated from 
31060         doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
31061         and scripts/unicode-muncher.pl.
31062         * java/lang/Character.java: 
31063         (PrivateUseCharacters): New private static class.
31064         (UnassignedCharacters): Likewise.
31065         (blocks): Changed from char[] to char[][] to reflect the changes in 
31066         gnu/java/lang/CharData.  There is now one char[] per Unicode code
31067         plane.
31068         (data): Likewise.
31069         (numValue): Likewise.
31070         (upper): Likewise.
31071         (lower): Likewise.
31072         (direction): Likewise.
31073         (readChar): Replaced this method with new method readCodePoint.
31074         (readCodePoint): New method.
31075         (isLowerCase(char)): Redirected to new isLowerCase(int).
31076         (isLowerCase(int)): New method.
31077         (isUpperCase(char)): Redirected to new isUpperCase(int).
31078         (isUpperCase(int)): New method.
31079         (isTitleCase(char)): Redirected to new isTitleCase(int).
31080         (isTitleCase(int)): New method.
31081         (isDigit(char)): Redirected to new isDigit(int).
31082         (isDigit(int)): New method.
31083         (isDefined(char)): Redirected to new isDefined(int).
31084         (isDefined(int)): New method.
31085         (isLetter(char)): Redirected to new isLetter(int).
31086         (isLetter(int)): New method.
31087         (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
31088         (isLetterOrDigit(int)): New method.
31089         (isJavaIdentifierStart(char)): Redirected to new 
31090         isJavaIdentifierStart(int).
31091         (isJavaIdentifierStart(int)): New method.
31092         (isJavaIdentifierPart(char)): Redirected to new 
31093         isJavaIdentifierPart(int).
31094         (isJavaIdentifierPart(int)): New method.
31095         (isUnicodeIdentifierStart(char)): Redirected to new
31096         isUnicodeIdentifierStart(int).
31097         (isUnicodeIdentifierStart(int)): New method.
31098         (isUnicodeIdentifierPart(char)): Redirected to new 
31099         isUnicodeIdentifierPart(int).
31100         (isUnicodeIdentifierPart(int)): New method.
31101         (isIdentifierIgnorable(char)): Redirected to new
31102         isIdentifierIgnorable(int).
31103         (isIdentifierIgnorable(int)): New method.
31104         (toLowerCase(char)): Changed access to lower to correspond with new
31105         char[][] type of lower.
31106         (toLowerCase(int)) New method.
31107         (toUpperCase(char)): Changed access to upper to correspond with new
31108         char[][] type of upper.
31109         (toUpperCase(int)): New method.
31110         (toTitleCase(int)): New method.
31111         (digit(char, int)): Replaced call to readChar with call to 
31112         readCodePoint and changed access to numValue to reflect new char[][]
31113         type of numValue. 
31114         (digit(int, int)): New method.
31115         (getNumericValue(char)): Changed access to numValue to reflect new
31116         char[][] type of numValue.
31117         (getNumericValue(int)): New method.
31118         (isSpaceChar(char)): Redirected to new isSpaceChar(int).
31119         (isSpaceChar(int)): New method.
31120         (isWhitespace(char)): Redirected to new isWhitespace(int).
31121         (isWhitespace(int)): New method.
31122         (isISOControl(char)): Redirected to new isISOControl(int).
31123         (isISOControl(int)): New method.
31124         (getType(char)): Redirected to new getType(int).
31125         (getType(int)): New method.
31126         (getDirectionality(char)): Redirected to new getDirectionality(int).
31127         (getDirectionality(int)): New method.
31128         (isMirrored(char)): Changed call to readChar to readCodePoint.
31129         (isMirrored(int)): New method.
31130         * java/lang/String.java:
31131         (upperCaseExpansion): Changed access to Character.direction to reflect
31132         new char[][] type of direction.
31133         (offsetByCodePoints): New method.
31134         * scripts/unicode-muncher.pl: Adapted this script to handle Unicode 
31135         4.0.0 which introduced supplementary character assignments.  
31136
31137 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31138
31139         * javax/swing/JTable.java,
31140         javax/swing/plaf/basic/BasicTableHeaderUI.java,
31141         javax/swing/table/DefaultTableModel.java: Documented.
31142   
31143 2006-02-15  Lillian Angel  <langel@redhat.com>
31144   
31145         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
31146         Removed duplicate methods.
31147   
31148 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31149   
31150         * javax/swing/JTable.java (distributeSpillResizing): New method.
31151         (doLayout): Use distributeSpillResizing when resizing.
31152         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31153         Rewritten. (installListeners): Add mouse motion listener. 
31154         (uninstallListeners): Remove mouse motion listener. 
31155   
31156 2006-02-15  Lillian Angel  <langel@redhat.com>
31157   
31158         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31159         (setVisible): Removed method.
31160         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31161         (setLocation): New method.
31162         (setLocationUnlocked): New method.
31163         (show): Changed to use setLocation instead of setBounds.
31164         * java/awt/Component.java
31165         (show): Should call peer.show(), not peer.setVisible(), so the
31166         location of the component is correctly set.
31167         (preferredSize): Added curly braces so else statements are
31168         properly associated with if's.
31169         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31170         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation): 
31171         New function.
31172         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
31173         LocationUnlocked): New function.
31174         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
31175         Added declarations for Java_gnu_java_awt_peer_gtk_
31176         GtkWindowPeer_nativeSetLocation and 
31177         Java_gnu_java_awt_peer_gtk_GtkWindowPeer
31178         _nativeSetLocationUnlocked.
31179   
31180 2006-02-15  Mark Wielaard  <mark@klomp.org>
31181   
31182         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31183         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31184         Downcast gtk_plug_new result when used.
31185   
31186 2006-02-15  Olivier Jolly  <olivier.jolly@pcedev.com>
31187   
31188         * java/io/ObjectOutputStream.java (writeClassDescriptor):
31189         Call assignNewHandle() after writing Proxy class.
31190   
31191 2006-02-15  Olivier jolly  <olivier.jolly@pcedev.com>
31192   
31193         Fixes bug #14144
31194         * java/io/ObjectInputStream.java (readClassDescriptor):
31195         Class doesn't have to be abstract for first_nonserial.
31196   
31197 2006-02-15  Roman Kennke  <kennke@aicas.com>
31198   
31199         * javax/swing/JInternalFrame.java
31200         (setClosed): Call dispose to actually make the frame invisible
31201         and unselected.
31202   
31203 2006-02-15  Roman Kennke  <kennke@aicas.com>
31204   
31205         * javax/swing/JInternalFrame.java
31206         (dispose): Call setVisible(false) instead of hide.
31207         (doDefaultCloseOperation): Likewise.
31208   
31209 2006-02-15  Roman Kennke  <kennke@aicas.com>
31210   
31211         * javax/swing/JComponent.java
31212         (paintChildren): Also check for the visibility of a child component
31213         to avoid artifacts.
31214         (repaint): Simply add this component to the RepaintManager rather than
31215         trying to do useless optimization here.
31216   
31217 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
31218   
31219         * javax/swing/JSpinner.java
31220         (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a 
31221         PropertyChangeListener,
31222         (DefaultEditor.getSpinner): Updated API docs,
31223         (DefaultEditor.dismiss): Likewise,
31224         (DefaultEditor.getTextField): Likewise,
31225         (DefaultEditor.layoutContainer): Likewise,
31226         (DefaultEditor.minimumLayoutSize): Likewise,
31227         (DefaultEditor.preferredLayoutSize): Likewise,
31228         (DefaultEditor.propertyChange): Implemented,
31229         (DefaultEditor.stateChanged): Implemented,
31230         (DefaultEditor.removeLayoutComponent): Updated API docs,
31231         (DefaultEditor.addLayoutComponent): Likewise,
31232         (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
31233         (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
31234         (NumberEditor.getFormat): Implemented,
31235         (NumberEditor.getModel): Updated API docs,
31236         (NumberEditorFormatter): New static inner class,
31237         (ListEditor.getModel): Updated API docs,
31238         (DateEditor.dateFormat): Removed,
31239         (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
31240         (DateEditor.DateEditor(JSpinner, String)): Likewise,
31241         (DateEditor.init): Removed,
31242         (DateEditor.getFormat): Reimplemented,
31243         (DateEditorFormatter): New static inner class,
31244         (ModelListener): New inner class,
31245         (model): Updated API docs,
31246         (editor): Likewise,
31247         (listener): Removed,
31248         (JSpinner()): Updated API docs,
31249         (JSpinner(SpinnerModel)): Set up ModelListener,
31250         (setEditor): Fire property change,
31251         (getModel): Updated API docs,
31252         (setModel): Removed check for null editor,
31253         (setValue): Updated API docs,
31254         (getUIClassID): Updated API docs,
31255         (createEditor): Handle SpinnerListModel case,
31256         * javax/swing/plaf/basic/BasicSpinnerUI.java
31257         (createUI): Updated API docs,
31258         (createPropertyChangeListener): Added FIXME,
31259         (installDefaults): Set text field border to null,
31260         (DefaultLayoutManager): Updated API docs,
31261         (DefaultLayoutManager.layoutContainer): Modified layout,
31262         (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
31263         (DefaultLayoutManager.preferredLayoutSize): Likewise,
31264         (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
31265         (DefaultLayoutManager.addLayoutComponent): Likewise,
31266         (DefaultLayoutManager.minSize): Renamed prefSize,
31267         (DefaultLayoutManager.setBounds): Reformatted,
31268         (DefaultLayoutManager.editor): Added API docs,
31269         (DefaultLayoutManager.next): Likewise,
31270         (DefaultLayoutManager.previous): Likewise,
31271         * javax/swing/plaf/metal/MetalLookAndFeel.java
31272         (initComponentDefaults): Added entry for 'Spinner.border',
31273         * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
31274
31275 2006-02-15  Chris Burdess  <dog@gnu.org>
31276
31277         * gnu/xml/validation/datatype/BooleanType.java,
31278           gnu/xml/validation/datatype/ByteType.java,
31279           gnu/xml/validation/datatype/DateTimeType.java,
31280           gnu/xml/validation/datatype/DateType.java,
31281           gnu/xml/validation/datatype/DecimalType.java,
31282           gnu/xml/validation/datatype/DoubleType.java,
31283           gnu/xml/validation/datatype/DurationType.java,
31284           gnu/xml/validation/datatype/FloatType.java,
31285           gnu/xml/validation/datatype/GDayType.java,
31286           gnu/xml/validation/datatype/GMonthDayType.java,
31287           gnu/xml/validation/datatype/GMonthType.java,
31288           gnu/xml/validation/datatype/GYearMonthType.java,
31289           gnu/xml/validation/datatype/GYearType.java,
31290           gnu/xml/validation/datatype/IntType.java,
31291           gnu/xml/validation/datatype/IntegerType.java,
31292           gnu/xml/validation/datatype/LongType.java,
31293           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31294           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31295           gnu/xml/validation/datatype/MinExclusiveFacet.java,
31296           gnu/xml/validation/datatype/MinInclusiveFacet.java,
31297           gnu/xml/validation/datatype/NegativeIntegerType.java,
31298           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31299           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31300           gnu/xml/validation/datatype/PositiveIntegerType.java,
31301           gnu/xml/validation/datatype/ShortType.java,
31302           gnu/xml/validation/datatype/SimpleType.java,
31303           gnu/xml/validation/datatype/TimeType.java,
31304           gnu/xml/validation/datatype/TypeBuilder.java,
31305           gnu/xml/validation/datatype/UnsignedByteType.java,
31306           gnu/xml/validation/datatype/UnsignedIntType.java,
31307           gnu/xml/validation/datatype/UnsignedLongType.java,
31308           gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
31309           objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
31310           minInclusive facets use the value space of the base type, and
31311           implement.
31312
31313 2006-02-15  Mark Wielaard  <mark@klomp.org>
31314
31315         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31316         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31317         gtk_plug_new() returns a GtkWindow.
31318
31319 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
31320
31321         * javax/swing/SpinnerNumberModel.java
31322         (getNextValue): Check for null maximum,
31323         (getPreviousValue): Check for null minimum.
31324   
31325 2006-02-15  Roman Kennke  <kennke@aicas.com>
31326   
31327         * javax/swing/plaf/basic/BasicTableUI.java
31328         (paint): Paint vertical and horizontal lines one pixel shifted
31329         left/top.
31330   
31331 2006-02-15  Jeroen Frijters  <jeroen@frijters.net>
31332   
31333         * java/util/zip/ZipFile.java
31334         (checkZipFile): Inlined readLeInt and rewritten for robustness.
31335         (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
31336         readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
31337         (readEntries): Rewritten to use PartialInputStream.
31338         (locBuf, checkLocalHeader): Removed.
31339         (getInputStream): Rewritten to use new PartialInputStream.
31340         (PartialInputStream): Rewritten to do buffering.
31341
31342 2006-02-15  Michael Koch  <konqueror@gmx.de>
31343
31344         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31345         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31346         Make sure the embedded window gets no decorations.
31347         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31348         (window_get_frame_extents): Return early of the window has no
31349         decorations.
31350   
31351 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31352   
31353         * examples/gnu/classpath/examples/swing/TableDemo.java
31354         (TModel, createContent): Explain which value appears in the header.
31355         * javax/swing/JTable.java (setColumnModel): Only set the
31356         column header value if the getHeaderValue() returns null.
31357
31358 2006-02-14  Mark Wielaard  <mark@klomp.org>
31359
31360         Fixes bug #23931
31361         * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
31362         (getErrorImage): New static method.
31363         * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
31364         (bufferedImageOrError): Renamed to ...
31365         (imageOrError): Renamed from bufferedImageOrError, takes Image.
31366         Returns GtkImage.getErrorImage() when argument null.
31367         (createImage(String)): Always use imageOrError.
31368         (createImage(URL)): Likewise.
31369         (createImage(ImageProducer)): Likewise.
31370         (createImage(byte[],int,int)): Likewise.
31371
31372 2006-02-14  Roman Kennke  <kennke@aicas.com>
31373
31374         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31375         unneeded imports.
31376         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31377         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31378         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31379         * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31380         * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31381
31382 2006-02-14  Roman Kennke  <kennke@aicas.com>
31383
31384         * javax/swing/text/AsyncBoxView.java
31385         (ChildState.locator): Removed wrong field.
31386         (ChildState): Removed initialization of removed field.
31387         (locator): Changed access modifier to be protected as specified.
31388
31389 2006-02-14  Roman Kennke  <kennke@aicas.com>
31390
31391         * javax/swing/ToolTipManager.java: Removed unneeded imports.
31392         * javax/swing/Timer.java: Some small reindention.
31393         (task): Made package private to avoid synthetic accessor method.
31394   
31395 2006-02-14  Roman Kennke  <kennke@aicas.com>
31396   
31397         * javax/swing/SwingUtilities.java
31398         (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31399         no icon.
31400   
31401 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31402   
31403         * examples/gnu/classpath/examples/swing/TableDemo.java:
31404         Making the columns variable width.
31405         * javax/swing/JTable.java (distributeSpill, doLayout):
31406           Call getPreferredSize and not getSize().
31407   
31408 2006-02-14  Roman Kennke  <kennke@aicas.com>
31409   
31410         * javax/swing/DefaultCellEditor.java
31411         (DefaultCellEditor): API doc fixlet.
31412   
31413 2006-02-14  Roman Kennke  <kennke@aicas.com>
31414   
31415         * javax/swing/JViewport.java
31416         (isPaintRoot): New field.
31417         (repaint): Only call super here. Also added a comment regarding
31418         the diversion from the JDK.
31419         (paintBlit): Implemented real blitting.
31420         (paintImmediately2): New method. Overrides the same package private
31421         method in JComponent.
31422   
31423 2006-02-14  Roman Kennke  <kennke@aicas.com>
31424   
31425         * javax/swing/plaf/basic/BasicTableUI.java
31426         (paint): Check for boundary cases when determining the painting
31427         area.
31428   
31429 2006-02-14  Mark Wielaard  <mark@klomp.org>
31430   
31431         * java/awt/Menu.java (add): Always set parent of item to this. Call
31432         addNotify() on item when we have a MenuPeer already.
31433         (insert): Always adjust parent for item. Call addNotify() on item if
31434         we already have a peer.
31435         (remove(int)): Always clear item parent. Call removeNotify() on item
31436         if we had a peer.
31437   
31438 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31439   
31440         * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed 
31441         row == getRowCount().
31442   
31443 2006-02-14  Lillian Angel  <langel@redhat.com>
31444         
31445         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31446         (setVisible): New method to override super. Need to set the
31447         native bounds of the component, so it appears at the
31448         correct location.
31449
31450 2006-02-14  Mark Wielaard  <mark@klomp.org>
31451
31452         * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31453         (remove): If menu component is the current MenuBar remove it,
31454         otherwise call super.remove().
31455         * java/awt/MenuBar.java (frame): Remove field.
31456         * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31457
31458 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31459
31460         * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31461         to NameServicePersistent.
31462         * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31463         * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31464
31465 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31466
31467         * NEWS: Updated tool status.
31468         * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31469         (constructor, bind, rebind): Rewritten.  
31470         * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31471         * tools/gnu/classpath/tools/giop/README: Updated.
31472         * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31473         tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31474         tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31475         tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31476         tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java: 
31477         New files.
31478   
31479 2006-02-14  David Gilbert  <david.gilbert@object-refinery.com>
31480   
31481         * javax/swing/JComponent.java
31482         (getListeners): Check for PropertyChangeListener.class and delegate to 
31483         getPropertyChangeListeners() for that case.
31484   
31485 2006-02-13  Roman Kennke  <kennke@aicas.com>
31486   
31487         * javax/swing/plaf/basic/BasicTableUI.java
31488         (paint): Determine the cells that need painting based on the
31489         current clip. Use getCellRect() for calculating the cell
31490         bounds.
31491   
31492 2006-02-13  Roman Kennke  <kennke@aicas.com>
31493   
31494         * javax/swing/JTable.java
31495         (rectCache): New field.
31496         (getCellRect): Returns cached Rectangle instance.
31497   
31498 2006-02-13  Roman Kennke  <kennke@aicas.com>
31499   
31500         * javax/swing/JLayeredPane.java
31501         (removeAll): New method. Avoid potential memory leak.
31502         (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31503         calculation.
31504   
31505 2006-02-14  Stuart Ballard  <stuart.a.ballard@gmail.com>
31506   
31507         * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31508         * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31509   
31510 2006-02-13  Tom Tromey  <tromey@redhat.com>
31511   
31512         * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31513         * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31514   
31515 2006-02-13  Roman Kennke  <kennke@aicas.com>
31516   
31517         * javax/swing/RepaintManager.java
31518         (offscreenBuffers): New field.
31519         (doubleBuffer): Removed field.
31520         (repaintUnderway): New field.
31521         (commitRequests): New field.
31522         (RepaintManager): Initialize new fields.
31523         (paintDirtyRegions): Handle repaintUnderway flag. Commit
31524         buffers when done.
31525         (getOffscreenBuffer): Returns the offscreen buffer for the
31526         corresponding root component.
31527         (commitBuffer): New method.
31528         (commitRemainingBuffers): New method.
31529         * javax/swing/JComponent.java
31530         (paint): Call paintDoubleBuffered with the current clip.
31531         (paintImmediately2): Don't paint on screen here.
31532         (paintDoubleBuffered): Rewritten for real double buffering.
31533         (paintSimple): Draw to screen in this method.
31534   
31535 2006-02-13  Roman Kennke  <kennke@aicas.com>
31536   
31537         * javax/swing/JRootPane.java
31538         (JRootPane): Set opaque property to true.
31539   
31540 2006-02-13  Tom Tromey  <tromey@redhat.com>
31541   
31542         * .classpath: Updated for external/relaxngDatatype.
31543   
31544 2006-02-13  Chris Burdess  <dog@gnu.org>
31545   
31546         * gnu/xml/stream/UnicodeReader.java,
31547           gnu/xml/validation/datatype/Annotation.java,
31548           gnu/xml/validation/datatype/AnySimpleType.java,
31549           gnu/xml/validation/datatype/AnyType.java,
31550           gnu/xml/validation/datatype/AnyURIType.java,
31551           gnu/xml/validation/datatype/AtomicSimpleType.java,
31552           gnu/xml/validation/datatype/Base64BinaryType.java,
31553           gnu/xml/validation/datatype/BooleanType.java,
31554           gnu/xml/validation/datatype/ByteType.java,
31555           gnu/xml/validation/datatype/DateTimeType.java,
31556           gnu/xml/validation/datatype/DateType.java,
31557           gnu/xml/validation/datatype/DecimalType.java,
31558           gnu/xml/validation/datatype/DoubleType.java,
31559           gnu/xml/validation/datatype/DurationType.java,
31560           gnu/xml/validation/datatype/EntitiesType.java,
31561           gnu/xml/validation/datatype/EntityType.java,
31562           gnu/xml/validation/datatype/EnumerationFacet.java,
31563           gnu/xml/validation/datatype/Facet.java,
31564           gnu/xml/validation/datatype/FloatType.java,
31565           gnu/xml/validation/datatype/FractionDigitsFacet.java,
31566           gnu/xml/validation/datatype/GDayType.java,
31567           gnu/xml/validation/datatype/GMonthDayType.java,
31568           gnu/xml/validation/datatype/GMonthType.java,
31569           gnu/xml/validation/datatype/GYearMonthType.java,
31570           gnu/xml/validation/datatype/GYearType.java,
31571           gnu/xml/validation/datatype/HexBinaryType.java,
31572           gnu/xml/validation/datatype/IDRefType.java,
31573           gnu/xml/validation/datatype/IDRefsType.java,
31574           gnu/xml/validation/datatype/IDType.java,
31575           gnu/xml/validation/datatype/IntType.java,
31576           gnu/xml/validation/datatype/IntegerType.java,
31577           gnu/xml/validation/datatype/LanguageType.java,
31578           gnu/xml/validation/datatype/LengthFacet.java,
31579           gnu/xml/validation/datatype/ListSimpleType.java,
31580           gnu/xml/validation/datatype/LongType.java,
31581           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31582           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31583           gnu/xml/validation/datatype/MaxLengthFacet.java,
31584           gnu/xml/validation/datatype/MinExclusiveFacet.java,
31585           gnu/xml/validation/datatype/MinInclusiveFacet.java,
31586           gnu/xml/validation/datatype/MinLengthFacet.java,
31587           gnu/xml/validation/datatype/NCNameType.java,
31588           gnu/xml/validation/datatype/NMTokenType.java,
31589           gnu/xml/validation/datatype/NMTokensType.java,
31590           gnu/xml/validation/datatype/NameType.java,
31591           gnu/xml/validation/datatype/NegativeIntegerType.java,
31592           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31593           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31594           gnu/xml/validation/datatype/NormalizedStringType.java,
31595           gnu/xml/validation/datatype/NotationType.java,
31596           gnu/xml/validation/datatype/PatternFacet.java,
31597           gnu/xml/validation/datatype/PositiveIntegerType.java,
31598           gnu/xml/validation/datatype/QNameType.java,
31599           gnu/xml/validation/datatype/ShortType.java,
31600           gnu/xml/validation/datatype/SimpleType.java,
31601           gnu/xml/validation/datatype/StringType.java,
31602           gnu/xml/validation/datatype/TimeType.java,
31603           gnu/xml/validation/datatype/TokenType.java,
31604           gnu/xml/validation/datatype/TotalDigitsFacet.java,
31605           gnu/xml/validation/datatype/Type.java,
31606           gnu/xml/validation/datatype/TypeBuilder.java,
31607           gnu/xml/validation/datatype/TypeLibrary.java,
31608           gnu/xml/validation/datatype/TypeLibraryFactory.java,
31609           gnu/xml/validation/datatype/UnionSimpleType.java,
31610           gnu/xml/validation/datatype/UnsignedByteType.java,
31611           gnu/xml/validation/datatype/UnsignedIntType.java,
31612           gnu/xml/validation/datatype/UnsignedLongType.java,
31613           gnu/xml/validation/datatype/UnsignedShortType.java,
31614           gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31615           resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31616           RELAX NG datatype library implementation for XML Schema Datatypes.
31617
31618 2006-02-13  Chris Burdess  <dog@gnu.org>
31619
31620         * LICENCE,
31621           NEWS,
31622           configure.ac,
31623           doc/README.jaxp,
31624           external/Makefile.am,
31625           external/relaxngDatatype/.cvsignore,
31626           external/relaxngDatatype/Makefile.am,
31627           external/relaxngDatatype/README.txt,
31628           external/relaxngDatatype/copying.txt,
31629           external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31630           external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31631           external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31632           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31633           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31634           external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31635           external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31636           external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31637           external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31638           external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31639           lib/Makefile.am,
31640           lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31641           datatypes library API.
31642   
31643 2006-02-13  Mark Wielaard  <mark@klomp.org>
31644   
31645         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31646         final.
31647         (gtkWidgetModifyFont(Font)): New protected helper method.
31648         (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31649         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31650         protected and document.
31651         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31652         Likewise.
31653         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31654         Likewise.
31655         * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31656         Likewise.
31657         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31658         (setFont): Removed method. Done in GtkMenuComponent.
31659         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31660         abstract and protected.
31661         (setFont): Made private, add implementation.
31662         (setFont(Font)): Implemented.
31663         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31664         Made protected and document.
31665         (create): Made protected.
31666         (setFont): Removed method. Done in GtkMenuComponent.
31667         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31668         (gtkWidgetModifyFont): Made protected and document.
31669         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31670         Removed, similar to GtkGenericPeer super class implementation.
31671         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31672         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31673         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31674         Removed.
31675   
31676 2006-02-13  Mark Wielaard  <mark@klomp.org>
31677   
31678         * java/lang/Math.java (static): Explicitly call
31679         System.loadLibrary("javalang").
31680   
31681 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
31682   
31683         * javax/print/StreamPrintServiceFactory.java: New file.
31684   
31685 2006-02-13  Tom Tromey  <tromey@redhat.com>
31686   
31687         * tools/.cvsignore: Added Makefile.
31688   
31689 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
31690   
31691         * java/awt/print/PrinterGraphics.java: Reformatted.
31692         * java/awt/print/Paper.java: Likewise.
31693         * java/awt/print/PageFormat.java: Likewise.
31694         * java/awt/print/Pageable.java: Likewise.
31695   
31696 2006-02-13  Lillian Angel  <langel@redhat.com>
31697   
31698         * java/awt/BorderLayout.java
31699         (layoutContainer): Rewrote part of this function to 
31700         properly set the bounds of the components.
31701         (setBounds): Removed method, not needed.
31702   
31703 2006-02-13  Roman Kennke  <kennke@aicas.com>
31704   
31705         * javax/swing/text/DefaultStyledDocument.java
31706         (ElementBuffer.clone): Fixed replace call.
31707         (clone): Removed method.
31708   
31709 2006-02-13  Roman Kennke  <kennke@aicas.com>
31710   
31711         * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31712   
31713 2006-02-13  Roman Kennke  <kennke@aicas.com>
31714   
31715         * java/rmi/server/UnicastRemoteObject.java
31716         (exportObject(Remote)): Forward method call to export(Remote,int).
31717   
31718 2006-02-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
31719   
31720         * include/Makefile.am:
31721         Swapped Math.h for VMMath.h
31722         * include/java_lang_Math.h:
31723         Removed.
31724         * include/java_lang_VMMath.h:
31725         New autogenerated header for the new class.
31726         * java/lang/Math.java:
31727         (sin(double)): Changed to link to VMMath.
31728         (cos(double)): Changed to link to VMMath.
31729         (tan(double)): Changed to link to VMMath.
31730         (asin(double)): Changed to link to VMMath.
31731         (acos(double)): Changed to link to VMMath.
31732         (atan(double)): Changed to link to VMMath.
31733         (atan2(double)): Changed to link to VMMath.
31734         (exp(double)): Changed to link to VMMath.
31735         (log(double)): Changed to link to VMMath.
31736         (sqrt(double)): Changed to link to VMMath.
31737         (pow(double,double)): Changed to link to VMMath.
31738         (IEEEremainder(double,double)): Changed to link to VMMath.
31739         (ceil(double)): Changed to link to VMMath.
31740         (floor(double)): Changed to link to VMMath.
31741         (rint(double)): Changed to link to VMMath.
31742         * native/jni/java-lang/Makefile.am:
31743         Replaced java_lang_Math.c with java_lang_VMMath.c
31744         * native/jni/java-lang/java_lang_Math.c:
31745         Removed.
31746         * native/jni/java-lang/java_lang_VMMath.c:
31747         Renamed from java_lang_Math.c.
31748         * vm/reference/java/lang/VMMath.java:
31749         New class.
31750         (sin(double)): New native method.
31751         (cos(double)): New native method.
31752         (tan(double)): New native method.
31753         (asin(double)): New native method.
31754         (acos(double)): New native method.
31755         (atan(double)): New native method.
31756         (atan2(double)): New native method.
31757         (exp(double)): New native method.
31758         (log(double)): New native method.
31759         (sqrt(double)): New native method.
31760         (pow(double,double)): New native method.
31761         (IEEEremainder(double,double)): New native method.
31762         (ceil(double)): New native method.
31763         (floor(double)): New native method.
31764         (rint(double)): New native method.
31765         
31766 2006-02-13  Lillian Angel  <langel@redhat.com>
31767   
31768         * java/awt/Component.java
31769         (repaint): No need to call isShowing, it is done in the other repaint call.
31770         (repaint): Likewise.
31771         (repaint): Likewise.
31772   
31773 2006-02-13  Lillian Angel  <langel@redhat.com>
31774   
31775         * java/awt/Component.java
31776         (repaint): Reverted last change.
31777         (repaint): Likewise.
31778         (repaint): Likewise.
31779
31780 2006-02-13  Lillian Angel  <langel@redhat.com>
31781
31782         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31783         (handleEvent): Made more efficent by handling paint event and
31784         setting the clip for the graphics.
31785         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31786         (handleEvent): Likewise.
31787         * java/awt/Component.java
31788         (repaint): No need to call isShowing, it is done in the other repaint call.
31789         (repaint): Likewise.
31790         (repaint): Likewise.
31791   
31792 2006-02-13  Roman Kennke  <kennke@aicas.com>
31793   
31794         * javax/swing/text/AbstractDocument.java
31795         (setParent): Added API docs. Call setParent(null) on children before
31796         disconnecting this view from the View hierarchy.
31797   
31798 2006-02-13  Roman Kennke  <kennke@aicas.com>
31799   
31800         * javax/swing/text/AbstractDocument.java
31801         (readUnlock): Don't attempt to unlock when the current threads also
31802         holds a write lock.
31803   
31804 2006-02-13  David Gilbert  <david.gilbert@object-refinery.com>
31805   
31806         * javax/swing/plaf/metal/MetalBorders.java
31807         (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31808         (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31809         insets argument,
31810         (Flush3DBorder.borderInsets): New field,
31811         (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31812         (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for 
31813         null insets argument, and populate result from borderInsets,
31814         (PaletteBorder.borderInsets): New field,
31815         (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31816         (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for 
31817         null insets argument, and populate result from borderInsets,
31818         (InternalFrameBorder.borderInsets): New field,
31819         (InternalFrameBorder.getBorderInsets(Component)): Return insets 
31820         directly,
31821         (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check 
31822         for null insets argument, and populate result from borderInsets,
31823         (MenuItemBorder.borderInsets): Initialise to correct value.
31824
31825 2006-02-13  Roman Kennke  <kennke@aicas.com>
31826
31827         * javax/swing/text/AsyncBoxView.java: New file.
31828
31829 2006-02-13  Ito Kazumitsu  <kaz@maczuka.gcd.org>
31830
31831         Fixes bug #26166
31832         * gnu/regexp/RE.java(initialize): Parsing of character class expression
31833         was moved to a new method parseCharClass.
31834         (parseCharClass): New method originally in initialize. Added parsing
31835         of nested character classes.
31836         (ParseCharClassResult): New inner class used as a return value of
31837         parseCharClass.
31838         (getCharExpression),(getNamedProperty): Made static.
31839         * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31840         * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31841         nested character classes.
31842         (RETokenOneOf): New constructor accepting the Vector addition.
31843         (getMinimumLength), (getMaximumLength): Returns 1 if the token
31844         stands for only one character.
31845         (match): Added the processing of the Vector addition.
31846         (matchN), (matchP): Do not check next token if addition is used.
31847   
31848 2006-02-12  Olivier Jolly <olivier.jolly@pcedev.com>
31849   
31850         * AUTHORS: add self.
31851   
31852 2006-02-12  Tom Tromey  <tromey@redhat.com>
31853   
31854         * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31855         * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31856         (securityContext): Likewise.
31857         (log): Likewise.
31858   
31859 2006-02-12  Dalibor Topic  <robilad@kaffe.org>
31860   
31861         Fixes PR 26218.
31862   
31863         * gnu/java/net/protocol/file/Connection.java (unquote):
31864         Convert Unicode characters outside basic plane to UTF-8,
31865         rather than throwing an exception.
31866   
31867 2006-02-12  Tom Tromey  <tromey@redhat.com>
31868   
31869         * javax/sound/sampled/LineEvent.java (readObject): New method.
31870         (writeObject): Likewise.
31871         (serialVersionUID): New field.
31872   
31873 2006-02-12  Mark Wielaard  <mark@klomp.org>
31874   
31875         * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31876         Silently ignores null listener.
31877         (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31878         (getPropertyChangeListeners): Returns empty PropertyChangeListener
31879         array for null propertyName.
31880
31881 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
31882
31883         * java/rmi/MarshalledObject.java: Added api docs to the class.
31884         * java/rmi/Remote.java: Added interface api docs.
31885         * java/rmi/package.html: Added package description.
31886         * java/rmi/AccessException.java: Minor api doc fixes.
31887         * java/rmi/NoSuchObjectException.java: Likewise.
31888         * java/rmi/AlreadyBoundException.java: Likewise.
31889         * java/rmi/RemoteException.java: Likewise.
31890         * java/rmi/NotBoundException.java: Likewise.
31891         * java/rmi/RMISecurityException.java: Likewise.
31892         * java/rmi/StubNotFoundException.java: Likewise.        
31893
31894 2006-02-12  Mark Wielaard  <mark@klomp.org>
31895
31896         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31897         q() to get EventQueue.
31898         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31899         (enableQueue): Remove static method.
31900         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31901         Don't call GtkGenericPeer.enableQueue().
31902
31903 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
31904
31905         * java/rmi/MarshalledObject.java: Reformatted.
31906         * java/rmi/Naming.java: Likewise.       
31907
31908 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
31909
31910         * java/io/InputStream.java
31911         (read(byte[],int,int)): Changed argument validation to prevent
31912         integer overflow. Remove redundant check.
31913   
31914 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
31915   
31916         Fixes PR 26220
31917         * java/io/InputStreamReader.java
31918         (InputStreamReader(InputStream)): Use SystemProperties.
31919         (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31920         Throw NullPointerException if in is null.
31921         Added maxBytesPerChar initialisation.
31922         (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31923         Throw NullPointerException if in is null.
31924
31925 2006-02-12  Raif S. Naffah  <raif@swiftdsl.com.au>
31926
31927         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31928         (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31929         (GnuDHPublicKey): New constructor.
31930         (getEncoded): Removed.
31931         (valueOf): Added support for ASN.1 encoding.
31932         (getEncoded(int)): Likewise.
31933         (equals): New method.
31934         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31935         (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31936         (GnuDHPrivateKey(5)): New constructor.
31937         (getEncoded): Removed.
31938         (valueOf): Added support for ASN.1 encoding.
31939         (getEncoded(int)): Likewise.
31940         (equals): New method.
31941         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31942         (PREFERRED_ENCODING_FORMAT): New constant.
31943         (DEFAULT_ENCODING_FORMAT): Likewise.
31944         (preferredFormat): New field.
31945         (setup): Handle preferred encoding format identifier.
31946         (generate): Call constructors with format identifier.
31947         * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31948         (GnuDHKey): Added an int argument.
31949         (getEncoded): New method.
31950         (getFormat): New implementation.
31951         (getEncoded(int)): New abstract method.
31952         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31953         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31954         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31955         key-pair generator and key-factory.
31956         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31957         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31958         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31959         * gnu/java/security/jce/sig/EncodedKeyFactory.java
31960         (invokeConstructor): New method.
31961         (getConcreteClass): Likewise.
31962         (getConcreteCtor): Likewise.
31963         (invokeValueOf): Likewise.
31964         (getValueOfMethod): Likewise.
31965         (engineGeneratePublic): Add support for DH keys.
31966         (engineGeneratePrivate): Likewise.
31967         (decodeDHPublicKey(DHPublicKeySpec)): New method.
31968         (decodeDHPublicKey(byte[])): Likewise.
31969         (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
31970         (decodeDHPrivateKey(byte[])): Likewise.
31971
31972 2006-02-11  Mark Wielaard  <mark@klomp.org>
31973
31974         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
31975         Removed field.
31976         (repaint): Immediately post to queue when tm <= 0, otherwise call
31977         RepaintTimerTask.schedule().
31978         (RepaintTimerTask): Make static.
31979         (RepaintTimerTask.repaintTimer): New static final field.
31980         (RepaintTimerTask.awtComponent): New field.
31981         (schedule): New static method.
31982
31983 2006-02-11  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31984
31985         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
31986         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
31987         * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31988         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31989         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
31990         Rewritten.
31991         * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
31992   
31993 2006-02-11  Raif S. Naffah  <raif@swiftdsl.com.au>
31994   
31995         * gnu/java/security/jce/sig/EncodedKeyFactory.java
31996         (engineGeneratePublic): Added support for raw key-specifications.
31997         (engineGeneratePrivate): Likewise.
31998         (decodeDSSPublicKey): New method.
31999         (decodeRSAPublicKey): Likewise.
32000         (decodeDSSPrivateKey): Likewise.
32001         (decodeRSAPrivateKey): Likewise.
32002         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
32003         (encodePrivateKey): Throw InvalidParameterException.
32004         (decodePublicKey): Likewise.
32005         (decodePrivateKey): Likewise.
32006         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
32007         (encodePublicKey): Likewise.
32008         (encodePrivateKey): Likewise.
32009         (decodePublicKey): Likewise.
32010         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
32011         (encodePrivateKey): Likewise.
32012         (decodePublicKey): Likewise.
32013         (decodePrivateKey): Likewise.
32014         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32015         (encodePublicKey): Likewise.
32016         (encodePrivateKey): Likewise.
32017         (decodePublicKey): Likewise.
32018   
32019 2006-02-10  Roman Kennke  <kennke@aicas.com>
32020   
32021         * javax/swing/text/StyleContext.java
32022         (registerStaticAttributeKey): New static method.
32023   
32024 2006-02-10  Roman Kennke  <kennke@aicas.com>
32025   
32026         * javax/swing/text/DefaultStyledDocument.java
32027         (ElementBuffer.clone): New method.
32028   
32029 2006-02-10  Roman Kennke  <kennke@aicas.com>
32030   
32031         * javax/swing/text/ParagraphView.java
32032         (findOffsetToCharactersInString): New method.
32033         (getClosestPositionTo): New method.
32034         (getPartialSize): New method.
32035         (getTabBase): New method.
32036         (adjustRow): New method.
32037         (breakView): New method.
32038         (getBreakWeight): New method.
32039   
32040 2006-02-10  Roman Kennke  <kennke@aicas.com>
32041   
32042         * javax/swing/text/GapContent.java
32043         (updateUndoPositions): New method.
32044         * javax/swing/text/StringContent.java
32045         (updateUndoPositions): New method.
32046   
32047 2006-02-10  Raif S. Naffah  <raif@swiftdsl.com.au>
32048   
32049         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
32050         Made it public.
32051         * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
32052         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
32053         Added support for encoded key specifications.
32054         (engineGeneratePrivate): Likewise.
32055         (engineGetKeySpec): Likewise.
32056         (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
32057   
32058 2006-02-10  Robert Schuster  <robertschuster@fsfe.org>
32059   
32060         * javax/swing/text/Utilities.java:
32061         (getTabbedTextOffset): Fixed usage of variable p0.
32062         (getPositionAbove): Rewritten.
32063         (getPositionBelow): Rewritten.
32064   
32065 2006-02-09  Roman Kennke  <kennke@aicas.com>
32066   
32067         * javax/swing/text/BoxView.java
32068         (getAxis): Added @since tag.
32069         (setAxis): Added @since tag.
32070         (layoutChanged): Added @since tag.
32071         (isLayoutValid): Added @since tag.
32072         (paint): Don't call setSize here. This is done in RootView already.
32073         (getMaximumSpan): Reimplemented to return the requirements'
32074         maximum size. Added API docs.
32075         (getMinimumSpan): New method.
32076         (layout): Fixed layout order.
32077         (modelToView): Call layout instead of setSize here.
32078         (getResizeWeight): New method.
32079         (getChildAllocation): New method.
32080         (forwardUpdate): New method.
32081         (viewToModel): New method.
32082         (flipEastEndWestEnds): New method.
32083         * javax/swing/text/CompositeView.java
32084         (modelToView): Made this method more robust by returning a default
32085         location if it's not possible to calculate one via the children.
32086         This default location returns the left or right edge of this
32087         view.
32088         (createDefaultLocation): New helper method.
32089         * javax/swing/text/IconView.java
32090         (modelToView): Don't throw BadLocationException. This should
32091         really only be thrown if the position is outside the document
32092         model, not if it's outside the view's boundary.
32093   
32094 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32095   
32096         * tools/Makefile.am: Handle rmi and giop folders separately.
32097   
32098 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
32099   
32100         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
32101         * javax/swing/SpinnerNumberModel.java: Likewise.
32102   
32103 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
32104   
32105         * javax/swing/SpinnerDateModel.java: Removed tabs,
32106         * javax/swing/SpinnerNumberModel.java: Likewise.
32107   
32108 2006-02-09  Anthony Balkissoon  <abalkiss@redhat.com>
32109   
32110         * doc/unicode/SpecialCasing-4.0.0.txt: New file.
32111         * doc/unicode/UnicodeData-4.0.0.txt: New file.
32112   
32113 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32114   
32115         Fixes bug #26081
32116         * gnu/java/net/protocol/http/HTTPURLConnection.java: 
32117         (isRedirect): Removed, moved to Response.java.
32118         (connect): If error condition redirect responseSink to errorSink.
32119         (getInputStream): If error condition throw IOException, for the error
32120         codes 404 and 410 throw a FileNotFoundException.        
32121         * gnu/java/net/protocol/http/Response.java (isError): New method.
32122         (isRedirect): New method, moved from HTTPURLConnection.java.
32123   
32124 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32125   
32126         * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
32127         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
32128         * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource): 
32129         Better diagnostic.
32130         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
32131         Rewritten.
32132         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
32133         AbstractMethodGenerator.
32134         * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
32135         tools/gnu/classpath/tools/rmi/RMIC.java,
32136         tools/gnu/classpath/tools/rmi/RMIC.txt,
32137         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
32138         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
32139         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
32140         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
32141         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
32142         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav: 
32143         New files.
32144         * NEWS: Corrected entry about the tools.
32145   
32146 2006-02-09  Lillian Angel  <langel@redhat.com>
32147   
32148         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32149         (handleEvent): Added more to check to prevent assertion errors.
32150         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32151         (handleEvent): Likewise.
32152         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32153         (handleEvent): Likewise.
32154   
32155 2006-02-09  Mark Wielaard  <mark@klomp.org>
32156   
32157         * javax/swing/JTable.java (tableChanged): Interpret null event as
32158         "everything changed".
32159   
32160 2006-02-09  Roman Kennke  <kennke@aicas.com>
32161   
32162         * javax/swing/text/DefaultCaret.java
32163         (DocumentHandler.removeUpdate): When update policy is
32164         'on eventqueue', and the update doesn't come from the
32165         event queue, check if the current dot location is still
32166         valid.
32167         (moveDot): Make sure the new dot location is valid.
32168         (setDot): Set the mark the same as the dot.
32169   
32170 2006-02-09  Roman Kennke  <kennke@aicas.com>
32171   
32172         * javax/swing/text/AbstractDocument.java
32173         (remove): Perform all operations within a write lock and in the
32174         correct order.
32175   
32176 2006-02-09  Mark Wielaard  <mark@klomp.org>
32177   
32178         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
32179         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
32180         creater than min, adjusting page_size if necessary.
32181         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
32182   
32183 2006-02-09  Lillian Angel  <langel@redhat.com>
32184   
32185         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32186         (handleEvent): Added code to handle PaintEvent.UPDATE.
32187         Sun does not call update(Graphics g) on Panels.
32188         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32189         (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
32190         Sun does not call update(Graphics g) on Panels.
32191   
32192 2006-02-09  Roman Kennke  <kennke@aicas.com>
32193   
32194         * javax/swing/text/BoxView.java
32195         (myAxis): Made field private.
32196         (xLayoutValid): Replaced by layoutValid array.
32197         (yLayoutValid): Replaced by layoutValid array.
32198         (layoutValid): New field.
32199         (spansX): Replaced by spans array.
32200         (spansY): Replaced by spans array.
32201         (spans): New field.
32202         (offsetsX): Replaced by offsets array.
32203         (offsetsY): Replaced by offsets array.
32204         (offsets): New field.
32205         (requirements): New field.
32206         (BoxView): Initialize new fields.
32207         (layoutChanged): Rewritten to use the layoutValid array.
32208         (isLayoutValid): Rewritten to use the layoutValid array.
32209         (replace): Use the new arrays.
32210         (getPreferredSpan): Rewritten to call calculateXXXRequirements
32211         instead of baselineRequirements.
32212         (baselineRequirements): Rewritten to calculate baseline requirements.
32213         (baselineLayout): Rewritten to calculate baseline layout.
32214         (childAllocation): Use new arrays.
32215         (layout): Rewritten. Only update the layout if necessary.
32216         (layoutMajorAxis): Directly set layoutValid.
32217         (layoutMinorAxis): Directly set layoutValid. Use cached size
32218         requirements.
32219         (getWidth): Use new span array.
32220         (getHeight): Likewise.
32221         (setSize): Rewritten to simply call layout().
32222         (validateLayout): Removed unneeded method.
32223         (getSpan): Use new arrays.
32224         (getOffset): Use new arrays.
32225         (getAlignment): Use cached requirements if possible.
32226         (preferenceChanged): Use new arrays.
32227         * javax/swing/text/FlowView.java
32228         (FlowStrategy.insertUpdate): Do nothing here.
32229         (FlowStrategy.removeUpdate): Do nothing here.
32230         (FlowStrategy.changedUpdate): Do nothing here.
32231         (FlowStrategy.layoutRow): Rewritten.
32232         (FlowStrategy.createView): Rewritten.
32233         (FlowStrategy.adjustRow): New method.
32234         (LogicalView.getViewIndex): Fixed condition for finding child
32235         view.
32236         (layoutDirty): New field indicating the state of the layout.
32237         (FlowView): Initialize new field.
32238         (loadChildren): Set parent on logical view so that preferenceChanges
32239         get propagated upwards.
32240         (layout): Rewritten to match the specs.
32241         (insertUpdate): Set layout to dirty.
32242         (removeUpdate): Set layout to dirty.
32243         (changedUpdate): Set layout to dirty.
32244         * javax/swing/text/GlyphView.java
32245         (getBreakWeight): Rewritten to use the Utilities class. Commented
32246         out though because that is broken.
32247         (insertUpdate): Call preferenceChanged on this object instead of
32248         parent.
32249         * javax/swing/text/ParagraphView.java
32250         (Row.loadChildren): Overridden to be a noop to prevent initial
32251         creation of child views. This is carried out by the flow layout.
32252         * javax/swing/text/View.java
32253         (getPreferredSpan): Added API docs.
32254         (getResizeWeight): Added API docs.
32255         (getMaximumSpan): Added API docs. Rewritten to only have one exit
32256         point.
32257         (getMinimumSpan): Added API docs. Rewritten to return 0 when
32258         resizable instead of Integer.MAX_VALUE.
32259         (getAlignment): Added API docs.
32260         (replace): Added API docs.
32261         (forwardUpdate): Rewritten to only notify child views that need to
32262         be notified.
32263   
32264 2006-02-09  Roman Kennke  <kennke@aicas.com>
32265   
32266         * javax/swing/plaf/basic/BasicTextUI.java
32267         (RootView.paint): Call setSize() before painting the view.
32268   
32269 2006-02-09  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32270   
32271         Fixes bug #26112
32272         * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
32273         flag which enables backslash escape in a replacement.
32274         (getReplacement): New public static method. 
32275         (substituteImpl),(substituteAllImpl): Use getReplacement.
32276         * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
32277         * java/util/regex/Matcher.java(appendReplacement)
32278         Use RE#getReplacement.
32279         (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
32280
32281 2006-02-09  Raif S. Naffah  <raif@swiftdsl.com.au>
32282
32283         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
32284         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
32285         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
32286         (PREFERRED_ENCODING_FORMAT): New constant.
32287         (DEFAULT_ENCODING_FORMAT): Likewise.
32288         (preferredFormat): New field.
32289         (setup): Add support for preferred encoding format.
32290         (generate): Call key constructors with explicit format identifier.
32291         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)): 
32292         Call constructor with 3 arguments..
32293         (GnuRSAPublicKey(3)): New constructor.
32294         (valueOf): Added support for ASN.1 format.
32295         (getEncoded): Likewise.
32296         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
32297         Call constructor with 5 arguments.
32298         (GnuRSAPrivateKey(5)): New constructor.
32299         (GnuRSAPrivateKey(9)): New constructor.
32300         (valueOf): Added support for ASN.1 format.
32301         (getEncoded): Likewise.
32302         * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
32303         (GnuRSAKey): Modified constructor.
32304         (getFormat): Return preferred format identifier.
32305         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32306         (decodePrivateKey): Fixed documentation.
32307         Check Version field.
32308         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
32309         (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
32310         format.
32311         (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
32312         * gnu/java/security/jce/sig/EncodedKeyFactory.java
32313         (engineGeneratePublic): Added support for RSA.
32314         (engineGeneratePrivate): Likewise.
32315
32316 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32317
32318         * java/net/URLConnection.java:
32319         (setAllowUserInteraction): Throw IllegalStateException if connected.
32320         (getRequestProperty): Document return value if key is null.
32321         * gnu/java/net/protocol/http/HTTPURLConnection.java:
32322         (getRequestProperty): Return null if key is null.
32323         (getRequestProperties): Throw IllegalStateException if connected.
32324         (setRequestProperty): Call super method for exception tests.
32325         (addRequestProperty): Likewise.
32326   
32327 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32328   
32329         * gnu/java/net/protocol/http/Request.java:
32330         (Request): Remove initialization of removed field.
32331         (requestBodyNegotiationThreshold): Removed now unused field.
32332         (setRequestBodyNegotiationThreshold): Remove now unused method.
32333         (dispatch): Do not use 'Expect 100-continue' header if content-length
32334         is over a treshold. If user specified 'Expect 100-continue' still
32335         initialize the expectingContinue variable.
32336
32337 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
32338
32339         * javax/swing/SpinnerNumberModel.java
32340         (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow 
32341         maximum and minimum to take null values,
32342         (setValue): Only fire ChangeEvent if new value is different to old 
32343         value,
32344         (setMinimum): Fixed test for updating value,
32345         (setMaximum): Likewise,
32346         (setStepSize): Likewise.
32347   
32348 2006-02-08  Tom Tromey  <tromey@redhat.com>
32349   
32350         * tools/.cvsignore: Added Makefile.in.
32351   
32352 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32353   
32354         * java/rmi/server/RemoteRef.java,
32355         java/rmi/server/RemoteStub.java: Commented.
32356   
32357 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
32358   
32359         * javax/swing/SpinnerDateModel.java
32360         (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
32361         checks,
32362         (getPreviousValue): Check result against start, not end,
32363         (setValue): Check that value actually changes before firing 
32364         ChangeEvent.
32365
32366 2006-02-08  Lillian Angel  <langel@redhat.com>
32367
32368         * java/awt/Choice.java
32369         (select): Fixed up code, added some checks to prevent errors.
32370         (dispatchEventImpl): Removed. This function is not needed. It 
32371         causes several assertion errors.
32372   
32373 2006-02-08  Roman Kennke  <kennke@aicas.com>
32374   
32375         * javax/swing/text/PlainView.java
32376         (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32377         drawing unnecessary characters.
32378   
32379 2006-02-08  Lillian Angel  <langel@redhat.com>
32380   
32381         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32382         (handleEvent): Fixed check to determine if height or
32383         width is less than 1.
32384   
32385 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32386   
32387         *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32388   
32389 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32390   
32391         * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32392         examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32393         Documenting the code generator.
32394         * gnu/CORBA/IOR.java (toStringFormatted, 
32395         CodeSet_component.toStringFormatted): New methods.
32396         * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32397         * tools/gnu/classpath/tools/giop/README: Rewritten.
32398         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten. 
32399         (printHelpAndExit): Removed.
32400         *tools/gnu/classpath/tools/giop/IorParser.java,
32401         tools/gnu/classpath/tools/giop/IorParser.txt,
32402         tools/gnu/classpath/tools/giop/NameService.java,
32403         tools/gnu/classpath/tools/giop/NamingService.txt,
32404         tools/gnu/classpath/tools/HelpPrinter.java: New files.
32405         NEWS: Added note about GIOP tools.
32406
32407 2006-02-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32408
32409         * .classpath: New source patch (tools).
32410         * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32411         * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32412         * tools/gnu/classpath/tools/Makefile.am,
32413         tools/gnu/classpath/tools/giop/GRMIC.java
32414         tools/gnu/classpath/tools/giop/GRMIC.txt,
32415         tools/gnu/classpath/tools/giop/README,
32416         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32417         tools/gnu/classpath/tools/giop/grmic/Generator.java,
32418         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32419         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32420         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32421         tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32422         tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32423         tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32424         tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32425         tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32426         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32427         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32428   
32429 2006-02-07  David Gilbert  <david.gilbert@object-refinery.com>
32430   
32431         * java/awt/BasicStroke.java: Updated API docs all over,
32432         * java/awt/doc-files/capjoin.png: New file.
32433   
32434 2006-02-07  Lillian Angel  <langel@redhat.com>
32435   
32436         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32437         (handleEvent): Added check. Should not paint or update the 
32438         component if it's width and height are both 0.  
32439   
32440 2006-02-07  Roman Kennke  <kennke@aicas.com>
32441   
32442         * javax/swing/text/AbstractDocument.java
32443         (insertString): Enclose locking/unlocking in try-finally block
32444         and also keep locked while notifying the listeners.
32445   
32446 2006-02-07  Roman Kennke  <kennke@aicas.com>
32447   
32448         * javax/swing/text/GlyphView.java
32449         (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32450         element boundary).
32451         (getStartOffset): Return element boundary if startOffset < 0.
32452         (getEndOffset): Return element boundary if endOffset < 0.
32453         (createFragment): Set startOffset and endOffset fields of fragment
32454         if one of p0 or p1 is not at the element boundary.
32455   
32456 2006-02-07  Roman Kennke  <kennke@aicas.com>
32457   
32458         * javax/swing/CellRendererPane.java
32459         (paintComponent): Enclosed painting in try finally to properly
32460         clean up even when throwing an exception.
32461   
32462 2006-02-07  Roman Kennke  <kennke@aicas.com>
32463   
32464         * javax/swing/UIManager.java
32465         (listeners): Made this an instance of
32466         java.beans.PropertyChangeSupport instead of the obsoleted
32467         SwingPropertyChangeSupport.
32468
32469 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32470
32471         * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32472         of actions "delete-next" and "delete-previous", added new TextAction
32473         implementations for "selection-begin", "selection-begin-line",
32474         "selection-end" and "selection-end-line".
32475   
32476 2006-02-07  Roman Kennke  <kennke@aicas.com>
32477   
32478         * javax/swing/plaf/basic/BasicTextUI.java
32479         (paint): Acquire read lock on the document before calling
32480         paintSafely.
32481         (paintSafely): Added comment about what this method does.
32482         (paintBackground): Implemented to actually paint the background.
32483         (update): Overridden to _not_ paint the background. This is done
32484         in paintBackground in this UI.
32485   
32486 2006-02-07  Roman Kennke  <kennke@aicas.com>
32487   
32488         * javax/swing/text/View.java
32489         (forwardUpdate): Don't notify newly added child views as specified.
32490   
32491 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32492   
32493         * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32494   
32495 2006-02-07  Roman Kennke  <kennke@aicas.com>
32496   
32497         * javax/swing/text/DefaultStyledDocument.java
32498         (ElementBuffer.insert): Only register change when the element
32499         actually changed.
32500   
32501 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32502   
32503         * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32504         method.
32505         (getEncodingShortName): Likewise.
32506         * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32507         (PKCS8_FORMAT): Likewise.
32508         (ASN1_FORMAT): Likewise.
32509         * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32510         constructor with 5 arguments.
32511         (DSSPublicKey(5)): New constructor.
32512         (valueOf): Handle ASN.1 encoding.
32513         (getEncoded): Likewise.
32514         * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32515         constructor with 5 arguments.
32516         (DSSPrivateKey(5)): New constructor.
32517         (valueOf): Handle ASN.1 encoding.
32518         (getEncoded): Likewise.
32519         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32520         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32521         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32522         (PREFERRED_ENCODING_FORMAT): New constant.
32523         (DEFAULT_ENCODING_FORMAT): Likewise.
32524         (preferredFormat): New field.
32525         (setup): Handle preferred format ID.
32526         (generate): Use new ctors with 5 arguments.
32527         * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32528         ID as an additional argument.
32529         (defaultFormat): new field.
32530         (getFormat): Returns the preferred format as a short string.
32531         * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32532         * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32533         Likewise
32534         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32535         (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32536         encoding format.
32537         (initialize(int,boolean,SecureRandom)): Likewise.
32538         * gnu/java/security/der/DERWriter.java (writeBitString): Use
32539         writeLength() instead of write().
32540         return buf.length + 1 instead of buf.length.
32541   
32542 2006-02-07  Roman Kennke  <kennke@aicas.com>
32543   
32544         * javax/swing/plaf/basic/BasicTextUI.java
32545         (RootView.preferenceChange): Changed view parameter to view so
32546         that it doesn't hide a field of that class.
32547         (RootView.getViewCount): Rewritten to clean up ECJ warning.
32548         (RootView.modelToView): Removed unnecessary cast from View to View.
32549         (PropertyChangeHandler): Made inner class private.
32550         (updateHandler): Made field private.
32551         (getVisibleEditorRect): Removed unneeded local variable that
32552         shadowed a field with the same name and purpose.
32553   
32554 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32555   
32556         * javax/swing/text/JTextComponent.java:
32557         (getSelectedText): Calculate offset and use that as
32558         second argument.
32559   
32560 2006-02-07  Roman Kennke  <kennke@aicas.com>
32561   
32562         * javax/swing/JTextPane.java
32563         (setCharacterAttributes): Replace input attributes when
32564         replace==true.
32565   
32566 2006-02-07  Roman Kennke  <kennke@aicas.com>
32567   
32568         * java/awt/Component.java
32569         (firePropertyChange(String,byte,byte)): Made method public.
32570         (firePropertyChange(String,char,char)): Made method public.
32571         (firePropertyChange(String,short,short)): Made method public.
32572         (firePropertyChange(String,long,long)): Made method public.
32573         (firePropertyChange(String,float,float)): Made method public.
32574         (firePropertyChange(String,double,double)): Made method public.
32575   
32576 2006-02-06  Tom Tromey  <tromey@redhat.com>
32577   
32578         * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32579         2006.
32580         * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32581   
32582 2006-02-06  Anthony Green  <green@redhat.com>
32583   
32584         * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32585   
32586 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32587   
32588         * .settings/org.eclipse.jdt.core.prefs:
32589         Force a line split on extends and implements.
32590         Force a white-space after unary operators.
32591         Don't force a new-line after @params.
32592         Add new-line at end-of-file.
32593         * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32594   
32595 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32596   
32597         * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32598         Registry constant.
32599         * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32600         Likewise.
32601         * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32602         Likewise.
32603         * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32604         Likewise.
32605         * gnu/java/security/provider/EncodedKeyFactory.java
32606         (ID_DSA): Redefined in terms of Registry constant.
32607         (ID_DSA): Redefined in terms of Registry constant.
32608         (ID_DH): Redefined in terms of Registry constant.
32609         * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32610         (PKCS8_ENCODING): Likewise.
32611         (ASN1_ENCODING): Likewise.
32612         (RAW_ENCODING_SHORT_NAME): Likewise.
32613         (X509_ENCODING_SORT_NAME): Likewise.
32614         (PKCS8_ENCODING_SHORT_NAME): Likewise.
32615         (ASN1_ENCODING_SHORT_NAME): Likewise.
32616         (X509_ENCODING_ID): Likewise.
32617         (PKCS8_ENCODING_ID): Likewise.
32618         (ASN1_ENCODING_ID): Likewise.
32619         (DSA_OID_STRING): Likewise.
32620         (RSA_OID_STRING): Likewise.
32621         (DH_OID_STRING): Likewise.
32622
32623 2006-02-06  Roman Kennke  <kennke@aicas.com>
32624
32625         * javax/swing/text/GlyphView.java:
32626         (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32627         Only fill background if there is a background set on the view.
32628         Call Utilities.drawTabbedText with the baseline height, rather than
32629         the upper left corner of the view rectangle.
32630         (getBackground): Return null if no background is set.
32631         * javax/swing/text/GlyphView.java:
32632         (setPropertiesFromAttributes): Use null for background when no
32633         background is set. StyleConstants.getBackground() doesn't work
32634         for this, because it returns Color.BLACK in that case.
32635   
32636 2006-02-06  Roman Kennke  <kennke@aicas.com>
32637   
32638         * java/awt/Container.java
32639         (changeSupport): Removed duplicate (from Component) field.
32640         (addPropertyChangeListener): Call super.
32641   
32642 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32643   
32644         * java/util/regex/Matcher.java(matches):
32645         set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32646   
32647 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32648
32649         Fixes bug #25812
32650         * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32651         * gnu/regexp/CharIndexedCharArray.java
32652         (lookBehind),(length): Implemented.
32653         * gnu/regexp/CharIndexedInputStream.java: Likewise.
32654         * gnu/regexp/CharIndexedString.java: Likewise.
32655         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32656         * gnu/regexp/REToken.java(getMaximumLength): New method.
32657         * gnu/regexp/RE.java(internal constructor RE): Added new argument
32658         maxLength.
32659         (initialize): Parse (?<=X), (?<!X), (?>X).
32660         (getMaximumLength): Implemented.
32661         * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32662         * gnu/regexp/RETokenChar.java: Likewise.
32663         * gnu/regexp/RETokenEnd.java: Likewise.
32664         * gnu/regexp/RETokenEndSub.java: Likewise.
32665         * gnu/regexp/RETokenLookAhead.java: Likewise.
32666         * gnu/regexp/RETokenNamedProperty.java: Likewise.
32667         * gnu/regexp/RETokenOneOf.java: Likewise.
32668         * gnu/regexp/RETokenPOSIX.java: Likewise.
32669         * gnu/regexp/RETokenRange.java: Likewise.
32670         * gnu/regexp/RETokenRepeated.java: Likewise.
32671         * gnu/regexp/RETokenStart.java: Likewise.
32672         * gnu/regexp/RETokenWordBoundary.java: Likewise.
32673         * gnu/regexp/RETokenIndependent.java: New file.
32674         * gnu/regexp/RETokenLookBehind.java: New file.
32675   
32676 2006-02-06  Roman Kennke  <kennke@aicas.com>
32677   
32678         * java/awt/Component.java
32679         (firePropertyChange(String,byte,byte)): New method.
32680         (firePropertyChange(String,char,char)): New method.
32681         (firePropertyChange(String,short,short)): New method.
32682         (firePropertyChange(String,long,long)): New method.
32683         (firePropertyChange(String,float,float)): New method.
32684         (firePropertyChange(String,double,double)): New method.
32685
32686 2006-02-06  Roman Kennke  <kennke@aicas.com>
32687
32688         * javax/swing/JComponent.java
32689         (AccessibleJComponent.changeSupport): Changed to be a
32690         java.beans.PropertyChangeSupport rather than
32691         SwingPropertyChangeSupport.
32692         (AccessibleJComponent.AccessibleJComponent()): Change initialization
32693         of above field.
32694         (changeSupport): Removed unneeded field.
32695         (removePropertyChangeListener): Removed unneeded methods.
32696         (addPropertyChangeListener): Removed unneeded methods.
32697         (getPropertyChangeListeners): Removed unneeded methods.
32698         (firePropertyChange(String,boolean,boolean)): Changed to simply
32699         call super. Added specnote.
32700         (firePropertyChange(String,char,char)): Changed to simply
32701         call super. Added specnote.
32702         (firePropertyChange(String,int,int)): Changed to simply
32703         call super. Added specnote.
32704         (firePropertyChange(String,byte,byte)): Removed.
32705         (firePropertyChange(String,Object,Object)): Removed.
32706         (firePropertyChange(String,double,double)): Removed.
32707         (firePropertyChange(String,float,float)): Removed.
32708         (firePropertyChange(String,long,long)): Removed.
32709         (firePropertyChange(String,short,short)): Removed.
32710   
32711 2006-02-06  Roman Kennke  <kennke@aicas.com>
32712   
32713         * javax/swing/event/SwingPropertyChangeSupport.java
32714         (listeners): Removed field.
32715         (propertyListeners): Removed field.
32716         (source): Removed field.
32717         (SwingPropertyChangeSupport()): Removed initialization of removed
32718         fields.
32719         (addPropertyChangeListener): Removed methods.
32720         (removePropertyChangeListener): Removed methods.
32721         (getPropertyChangeListeners): Removed methods.
32722         (firePropertyChange): Removed methods.
32723         (hasListeners): Removed methods.
32724   
32725 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
32726   
32727         Fixes PR 25313
32728         * java/net/InetAddress.java
32729         (readResolve): Implemented.
32730   
32731 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
32732   
32733         Fixes PR 26121
32734         * java/io/ObjectInputStream.java
32735         (readNextBlock()): Handle TC_RESET.
32736   
32737 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
32738         
32739         * javax/print/attribute/standard/Compression.java,
32740         * javax/print/attribute/standard/Finishings.java, 
32741         * javax/print/attribute/standard/JobMediaSheets.java,
32742         * javax/print/attribute/standard/JobSheets.java,
32743         * javax/print/attribute/standard/JobState.java,
32744         * javax/print/attribute/standard/JobStateReason.java,
32745         * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32746         * javax/print/attribute/standard/PrintQuality.java,
32747         * javax/print/attribute/standard/Media.java,
32748         * javax/print/attribute/standard/MultipleDocumentHandling.java,
32749         * javax/print/attribute/standard/PrinterStateReason.java,
32750         * javax/print/attribute/standard/PDLOverrideSupported.java: 
32751         (getName): Make method final.
32752         (getCategory): Likewise.
32753         * javax/print/attribute/standard/MediaSize.java: 
32754         (getName): Make method final.
32755         (getCategory): Likewise.
32756         (ISO): Added private default constructor.
32757         (NA): Likewise.
32758         (JIS): Likewise.
32759         (Other): Likewise.
32760         (Engineering): Likewise.
32761
32762 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
32763         
32764         * native/jni/java-net/javanet.c (_javanet_connect):
32765         Throw ConnectException instead of IOException if connection failed.
32766         * native/jni/java-net/javanet.h:
32767         Add a define for java.net.ConnectException
32768   
32769 2006-02-05  Mark Wielaard  <mark@klomp.org>
32770   
32771         Fixes bug #26101
32772         reported by Egon Willighagen <egon.willighagen@gmail.com>
32773         * javax/swing/DefaultListCellRenderer.java
32774         (getListCellRendererComponent): Turn null value into empty string.
32775   
32776 2006-02-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32777   
32778         * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32779         a Unicode block if the name starts with "In".
32780         (UnicodeBlockHandler): New inner class.
32781   
32782 2006-02-04  Roman Kennke  <kennke@aicas.com>
32783   
32784         * java/awt/Container.java
32785         (getComponentZOrder): New method.
32786         (setComponentZOrder): New method.
32787         * javax/swing/JLayeredPane.java
32788         (setPosition): Reimplemented to use setComponentZOrder().
32789         (getIndexOf): Reimplemented to use getComponentZOrder().
32790         (addImpl): Pass layerContraint to super call. Important for possibly
32791         installed layout managers.
32792         (swapComponents): Remove unneeded method.
32793
32794 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
32795
32796         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32797         DSAKeyPairGenerator.
32798         (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32799         (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32800         message.
32801         Surround call to adaptee in a try/catch.
32802         (initialize((DSAParams,SecureRandom)): New method.
32803         (initialize(int,boolean,SecureRandom)): New method.
32804         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32805         KeyPairGenerator rather than KeyPairGeneratorSpi.
32806         (KeyPairGeneratorAdapter): Call super with algorithm name.
32807
32808 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
32809
32810         * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32811         (getDefaultPRNG): New method.
32812         (parseO): Use method above.
32813         * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32814         (getDefaultPRNG): New method.
32815         (createO): Use method above.
32816         * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32817         (nextByte): Use above field.
32818         * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32819         * gnu/java/security/sig/rsa/RSA.java: New class field.
32820         (newR): Use above field
32821         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32822         (encode): Use field.above.
32823         * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32824         (getDefaultPRNG): new method.
32825         (nextRandomBytes): Use above method.
32826         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32827         * gnu/java/security/sig/BaseSignature.java: Likewise.
32828         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32829         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32830         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32831         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32832         * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32833         (getDefaultPRNG): new method.
32834         (nextRandomBytes): Use above method.
32835         (STRICT_DEFAULTS): new class field.
32836         (USE_DEFAULTS): more documentation to clarify behavior.
32837         (setup): amended to handle new attribute.
32838         * gnu/java/security/util/PRNG.java: New file.
32839   
32840 2006-02-03  Lillian Angel  <langel@redhat.com>
32841   
32842         * javax/swing/plaf/basic/BasicColorChooserUI.java:
32843         chooser field should be protected, not package-private. 
32844   
32845 2006-02-03  Lillian Angel  <langel@redhat.com>
32846         
32847         * javax/swing/text/DefaultStyledDocument.java
32848         (changeUpdate): Cleaned up code.
32849         (split): Likewise.
32850         (insertUpdate): Set offset to be equal to pos after
32851         insertContentTag call.
32852         (insertContentTag): If paragraph has no children, should use
32853         replace instead of Edit.
32854         (insertFracture): Moved around code to prevent any exception. Also,
32855         left side of tree should not be recreated if it has already been 
32856         edited. In that case, we should only be creating a new right branch
32857         when fracturing.
32858         (getEditForParagraphAndIndex): No need to check index. We should
32859         use the same edit for each paragraph.
32860   
32861 2006-02-03  Mark Wielaard  <mark@klomp.org>
32862   
32863         * javax/swing/event/SwingPropertyChangeSupport.java
32864         (propertyListeners): Change type to HashMap.
32865         (SwingPropertyChangeSupport): Allocate HashMap.
32866   
32867 2006-02-03  Raif S. Naffah  <raif@swiftdsl.com.au>
32868   
32869         * java/security/KeyPairGenerator.java (getInstance): Test for
32870         instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32871   
32872 2006-02-02  Roman Kennke  <kennke@aicas.com>
32873   
32874         * javax/swing/RepaintManager.java
32875         Made fields private.
32876         (RepaintWorker.run): Enclosed work stuff in try finally block in
32877         order to clean up correctly if invalidation or painting fails,
32878         otherwise we would get no more RepaintWorkers onto the EventQueue.
32879         Also, now the RepaintWorker is marked 'dead' only after it has
32880         finished its work, avoid more than one RepaintWorker on the queue.
32881         (ComponentComparator.compareTo): Compare dirty rectangle sizes
32882         instead of hierarchy depths.
32883         (workDirtyComponents): Removed unused field.
32884         (repaintOrder): Removed unused field.
32885         (workRepaintOrder): Removed unused field.
32886         (workInvalidComponents): Removed unused field.
32887         (RepaintManager()): Removed initialization of removed fields.
32888         (addInvalidComponent): Fine tuned synchronization.
32889         (removeInvalidComponent): Fine tune synchronization.
32890         (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32891         synchronization. Don't manager repaintOrder here.
32892         (insertRepaintOrder): Removed method.
32893         (markCompletelyClean): Fine tuned synchronization.
32894         (validateInvalidComponents): Dont use a working copy of the
32895         invalidComponents list, instead fine tuned synchronization on this
32896         list. Also, don't search validateRoot, this is already done in
32897         addInvalidComponent().
32898         (paintDirtyRegions): Compute repaint order here, based on size of
32899         damaged regions. Fine tuned synchronization. Avoid use of working
32900         copies of dirtyComponent.
32901   
32902 2006-02-02  Lillian Angel  <langel@redhat.com>
32903   
32904         * javax/swing/text/DefaultStyledDocument.java
32905         (insertUpdate): JoinNextDirection should push the 
32906         'next' paragraph on the stack.
32907   
32908 2006-02-02  Lillian Angel  <langel@redhat.com>
32909   
32910         * javax/swing/text/DefaultStyledDocument.java
32911         (insertUpdate): Rewrote code for Originate. This prevents
32912         leaves being created multiple times. If it is on the last 
32913         ElementSpec, the leaves need to be created right then; 
32914         otherwise, only a branch is created.
32915         (insertContentTag): Rewrote to add new leaf directly if
32916         this is a branch with no children. Otherwise, it
32917         recreates the remainder of the tree as before.
32918   
32919 2006-02-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32920   
32921         * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32922         for making a list of REMatch instances.
32923         * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32924         * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32925         (match): Rewritten using REMatchList.
32926         (matchRest): Rewritten using REMatchList.
32927   
32928 2006-02-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32929   
32930         * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java 
32931         (friendsMove):  Call repaint() only after endOfGame is assigned.
32932   
32933 2006-02-02  Mark Wielaard  <mark@klomp.org>
32934   
32935         Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32936         * java/util/AbstractCollection.java (toString): Only use Iterator,
32937         check whether collection contains itself.
32938   
32939 2006-02-01  Casey Marshall  <csm@gnu.org>
32940   
32941         Partial fix for PR classpath/25143.
32942         * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32943         (<init>): fill in `algName,' derive `algOid' from `algName.'
32944         (getOid): new method.
32945         (encode): embed NULL value for parameters if `params' is `null.'
32946   
32947 2006-02-01  Casey Marshall  <csm@gnu.org>
32948   
32949         Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32950         <monoman@gmail.com>.    
32951         * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32952         check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32953   
32954 2006-02-01  Casey Marshall  <csm@gnu.org>
32955   
32956         toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32957         * gnu/java/security/der/DERValue.java
32958         (getLength, getEncoded, getEncodedLength): throw an exception,
32959         don't initialize `encoded' to a bogus value.
32960         (toString): return a more helpful string.
32961
32962         Partial fix for PR classpath/25144.
32963         * gnu/java/security/der/DERWriter.java (write): if the value is
32964         the pseudo-value used for CONSTRUCTED, write the encoded value
32965         directly.
32966         
32967 2006-02-01  Tom Tromey  <tromey@redhat.com>
32968   
32969         * java/security/Security.java (loadProviders): Use system class
32970         loader.
32971   
32972 2006-02-01  Mark Wielaard  <mark@klomp.org>
32973   
32974         * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
32975         * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
32976         SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
32977         (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
32978         (UnicodeCategoriesHandler): New private static class.
32979         
32980 2006-02-01  Lillian Angel  <langel@redhat.com>
32981   
32982         * javax/swing/text/DefaultStyledDocument.java:
32983         Removed unneeded fields.
32984         (insertUpdate): Removed field initialization.
32985         (insertContentTag): Rewrote part of function. Still
32986         not complete.
32987   
32988 2006-02-01  Lillian Angel  <langel@redhat.com>
32989   
32990         * javax/swing/text/DefaultStyledDocument.java
32991         (insertParagraph): Cleaned up code.
32992         (insertFirstContentTag): Fixed call to recreateLeaves.
32993         (insertContentTag): Added check to code to determine where
32994         content should be inserted with respect to next element.
32995         (createFracture): Removed check, recreateLeaves is called in 
32996         other places when needed.
32997         (recreateLeaves): Added new parameter for paragraph instead
32998         of checking the stack. Removed editing for newBranch, replaced
32999         with a replace call.
33000
33001 2006-02-01  Anthony Balkissoon  <abalkiss@redhat.com>
33002
33003         * doc/unicode/Blocks-4.0.0.txt: New file.
33004         * java/lang/Character.java: Regenerated inner class UnicodeBlock from 
33005         scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
33006         * scripts/unicode-blocks.pl: Copied this over from the generics branch
33007         but replaced some 1.5-only features (such as enum).
33008   
33009 2006-01-31  Roman Kennke  <kennke@aicas.com>
33010   
33011         * javax/swing/text/PasswordView.java
33012         (drawSelectedText): Use drawEchoCharacter() method to draw echo
33013         character.
33014         (drawUnselectedText): Use drawEchoCharacter() method to draw echo
33015         character.
33016   
33017 2006-01-31  Roman Kennke  <kennke@aicas.com>
33018   
33019         * javax/swing/JTextField.java
33020         (getPreferredSize): Also include textfield's insets in width
33021         calculation.
33022   
33023 2006-01-31  Roman Kennke  <kennke@aicas.com>
33024   
33025         * javax/swing/plaf/basic/BasicTextUI.java
33026         (getPreferredSize): Include the textcomponent's insets in
33027         preferredSize.
33028   
33029 2006-01-31  Roman Kennke  <kennke@aicas.com>
33030   
33031         * javax/swing/table/DefaultTableCellRenderer.java
33032         (getTableCellRendererComponent): Moved setting of the value into
33033         setValue(). Removed (bogus) special handling of JTextField values.
33034         (setValue): Made ?: statement more clear by rewriting it
33035         with if .. else.
33036   
33037 2006-01-31  Roman Kennke  <kennke@aicas.com>
33038   
33039         * javax/swing/JLayeredPane.java
33040         (insertIndexForLayer): Fixed algorithm to correctly determine
33041         inser index for positions >= 0.
33042         (addImpl): Fixed API docs for the index parameter.
33043   
33044 2006-01-31  Mark Wielaard  <mark@klomp.org>
33045   
33046         * java/net/URI.java (getURIGroup): Check for null to see whether
33047         group actually exists.
33048   
33049 2006-01-31  Lillian Angel  <langel@redhat.com>
33050   
33051         * javax/swing/text/DefaultStyledDocument.java
33052         (changeUpdate): Fixed calls to split to incorporate 
33053         new parameter.
33054         (insertParagraph): Likewise. Uses 0 as editIndex
33055         because inserting into a new paragraph.
33056         (insertContentTag): Fixed check to use 
33057         recreateLeaves. Added a FIXME comment.
33058         (split): Added a new parameter for edits.
33059   
33060 2006-01-31  Roman Kennke  <kennke@aicas.com>
33061   
33062         * javax/swing/plaf/basic/BasicRootPaneUI.java
33063         (installDefaults): Don't install a background color here.
33064   
33065 2006-01-31  Lillian Angel  <langel@redhat.com>
33066   
33067         * javax/swing/text/DefaultStyledDocument.java
33068         (insert): Removed comment.
33069         (insertUpdate): Added comment.
33070         (recreateLeaves): Removed call to push newBranch onto the
33071         stack. This does not need to be done here.
33072   
33073 2006-01-31  Chris Burdess  <dog@gnu.org>
33074   
33075         * gnu/xml/stream/SAXParser.java,
33076           gnu/xml/stream/UnicodeReader.java,
33077           gnu/xml/stream/XIncludeFilter.java,
33078           gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
33079           only resolved the system ID not the stream. Make some utility methods
33080           public and static for use by other private XML APIs.
33081         * java/lang/ClassNotFoundException.java: Ensure that initCause can be
33082           called without throwing IllegalStateException.
33083         * java/util/logging/SimpleFormatter.java: Write thrown exception if
33084           provided.
33085
33086 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33087
33088         Fixes bug #22873
33089         * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
33090         for an invalid index and return null for a skipped group.
33091
33092 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33093
33094         Fixes bug #26002
33095         * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
33096         (NamedProperty): New inner class.
33097         (getNamedProperty): New method.
33098         (getRETokenNamedProperty): New Method.
33099         * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
33100         * gnu/regexp/RETokenNamedProperty.java: New file.
33101
33102 2006-01-31  Roman Kennke  <kennke@aicas.com>
33103
33104         * javax/swing/plaf/PlainView.java
33105         (paint): Call drawLine with baseline coordinates.
33106         (drawLine): Documented and indented this method.
33107         (drawUnselecetedText): Documented and indented this method.
33108         * javax/swing/plaf/text/Utilites.java
33109         (drawTabbedText): The coordinates denote the baseline of the text
33110         not the upper left corner.
33111   
33112 2006-01-31  Roman Kennke  <kennke@aicas.com>
33113   
33114         * javax/swing/plaf/basic/BasicTextUI.java
33115         (createKeymap): Don't store KeyBindings[] as focusInputMap in
33116         UIManager. Added FIXME regarding the implementation of this method.
33117   
33118 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
33119   
33120         * examples/gnu/classpath/examples/swing/ButtonDemo.java
33121         (ButtonDemo): Move content initialisation to new method,
33122         (initFrameContent): New method,
33123         (main): Call initFrameContent(),
33124         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
33125         * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
33126         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
33127         * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
33128         * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
33129   
33130 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
33131   
33132         * examples/gnu/classpath/examples/swing/Demo.java
33133         (Demo): Set frame size,
33134         (mkButtonBar): Removed stacked sub-panels.
33135   
33136 2006-01-30  Lillian Angel  <langel@redhat.com>
33137   
33138         * javax/swing/text/DefaultStyledDocument.java:
33139         Added new fields.
33140         (insert): Initialized fields. Removed call to addEdit, 
33141         and created ElementEdit instead.
33142         (insertUpdate): Added check for fracturing. If the
33143         fracturing was not successful, we should push the
33144         last element back on the stack.
33145         (insertParagraph): Fixed call to getEditForParagraphAndIndex.
33146         Also, changed replace calls to use Edit.
33147         (insertFirstContentTag): Removed unneeded check and fixed call
33148         to recreateLeaves.
33149         (insertContent): Fixed check to use new fields. Added code in
33150         to check if leaves overlap.
33151         (createFracture): Fixed call to recreateLeaves.
33152         (recreateLeaves): Fixed code and cleaned it up a bit.
33153         (insertFracture): Set fracNotCreated field.
33154         (addEdit): Removed, this method is not needed.
33155   
33156 2006-01-30  Roman Kennke  <kennke@aicas.com>
33157   
33158         * javax/swing/JRootPane.java
33159         (RootLayout.prefSize): Removed caching for preferredSize.
33160         (RootLayout.invalidateLayout): Likewise.
33161         (RootLayout.preferredLayoutSize): Likewise.     
33162   
33163 2006-01-30  Roman Kennke  <kennke@aicas.com>
33164   
33165         PR classpath/26035
33166         * javax/swing/JFrame.java
33167         (frameInit): Handle the defaultLookAndFeelDecorated flag.
33168         * javax/swing/plaf/metal/MetalRootPaneUI.java
33169         (MetalFrameBorder): New inner class, provides the border for
33170         top level containers with L&F decorations.
33171         (MetalTitlePane): New inner class, provides the title pane for
33172         top level containers with L&F decorations.
33173         (MetalRootLayout): New inner class. Used to layout the root pane
33174         when L&F window decorations are enabled.
33175         (installUI): New method. Handles window decorations.
33176         (uninstallUI): New method. Handles window decorations.
33177         (propertyChange): Handles window decorations.
33178         (installWindowDecorations): New method. Handles window
33179         decorations.
33180         (uninstallWindowDecorations): New method. Handles window
33181         decorations.
33182         * javax/swing/plaf/metal/MetalLookAndFeel.java
33183         (getSupportsWindowDecorations): Overridden to return true.
33184
33185 2006-01-30  Mark Wielaard  <mark@klomp.org>
33186
33187         * javax/swing/JProgressBar.java (JProgressBar(int)): Document
33188         IllegalArgumentException when orientation is illegal.
33189         (JProgressBar(int, int, int)): Likewise and throw exception.
33190         (setOrientation): Likewise.
33191   
33192 2006-01-30  Roman Kennke  <kennke@aicas.com>
33193   
33194         * javax/swing/ViewportLayout.java
33195         (minimumLayoutSize): Rewritten to unconditionally return (4,4).
33196   
33197 2006-01-30  Mark Wielaard  <mark@klomp.org>
33198   
33199         * javax/swing/JProgressBar.java (orientation): Always set by
33200         constructor.
33201         (JProgressBar(int)): Document default on 'illegal' value.
33202         (JProgressBar(int, int, int)): Likewise and set orientation to
33203         HORIZONTAL when 'illegal'.
33204         (setOrientation): Likewise.
33205   
33206 2006-01-30  Roman Kennke  <kennke@aicas.com>
33207   
33208         * javax/swing/plaf/basic/BasicListUI.java
33209         (ListDataHandler.contentsChanged): Update the
33210         updateLayoutStateNeeded flag.
33211         (ListDataHandler.intervalAdded): Update the
33212         updateLayoutStateNeeded flag.
33213         (ListDataHandler.intervalRemoved): Update the
33214         updateLayoutStateNeeded flag.
33215         (PropertyChangeHandler.propertyChange): Correctly update the
33216         listeners on new list model.
33217         (maybeUpdateLayoutState): Don't consider the validation state
33218         of the list.
33219   
33220 2006-01-30  Mark Wielaard  <mark@klomp.org>
33221   
33222         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
33223         sortKeys is null.
33224   
33225 2006-01-30  Roman Kennke  <kennke@aicas.com>
33226   
33227         * javax/swing/JLayeredPane.java
33228         (insertIndexForLayer): Fixed algorithm to correctly insert
33229         components within different layers and -1 position.
33230   
33231 2006-01-30  Mark Wielaard  <mark@klomp.org>
33232   
33233         * doc/api/Makefile.am (create_html): Add -validhtml.
33234   
33235 2006-01-30  Roman Kennke  <kennke@aicas.com>
33236   
33237         * javax/swing/JLayeredPane.java
33238         (insertIndexForLayer): Fixed algorithm to correctly insert
33239         components within same layer and -1 position.
33240   
33241 2006-01-30  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33242   
33243         Fixes bug #24876
33244         * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
33245         New execution flag.
33246         (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
33247         implicit RETokenEnd at the end of the regexp chain.
33248         Do not select the longest match, but select the first match.
33249         (match): Do not take care of REMatch.empty.
33250         * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
33251         * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
33252         * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
33253         * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
33254         Do not take care of REMatch.empty. Set and check REMatch.empty
33255         when trying to match the single token.
33256
33257 2006-01-30  Mark Wielaard  <mark@klomp.org>
33258
33259         * java/awt/Cursor.java (toString): Include name and type.
33260
33261 2006-01-30  Raif S. Naffah  <raif@swiftdsl.com.au>
33262
33263         * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
33264         the ipad buffer.
33265         * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
33266   
33267 2006-01-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33268         
33269         PR 26027
33270         * javax/swing/plaf/basic/BasicListUI.java  (maybeUpdateLayoutState):
33271         Consider the validation state of the list. 
33272
33273 2006-01-29  Robert Schuster  <robertschuster@fsfe.org>
33274
33275         * gnu/java/beans/DefaultExceptionListener.java: Constant public field
33276         INSTANCE added.
33277         * java/beans/XMLDecoder.java:
33278         (setExceptionListener): Use shared DefaultExceptionListener
33279         instance.
33280         * java/beans/Encoder.java:
33281         (setExceptionListener): Use shared DefaultExceptionListener
33282         instance.
33283   
33284 2006-01-29  Roman Kennke  <kennke@aicas.com>
33285   
33286         * javax/swing/ScrollPaneLayout.java
33287         (minimumLayoutSize): Rewritten to match JDKs behaviour.
33288   
33289 2006-01-29  Mark Wielaard  <mark@klomp.org>
33290   
33291         * java/net/SocketPermission.java (setActions): Trim and lower case
33292         action.
33293   
33294 2006-01-29  Raif S. Naffah  <raif@swiftdsl.com.au>
33295   
33296         * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
33297         incorrectly failing primality test for some known primes. Fixed.
33298         (passFermatLittleTheorem): Removed.
33299         (passMillerRabin): Removed.
33300         (isProbablePrime): Cache primes that pass the primality tests.
33301         Use BigInteger.isProbablePrime(int) for primality tests.
33302         (debugBI): New static debugging method.
33303   
33304 2006-01-28  Roman Kennke  <kennke@aicas.com>
33305   
33306         * javax/swing/plaf/basic/BasicListUI.java
33307         (updateLayoutState): Removed unneeded special case for VERTICAL.
33308   
33309 2006-01-28  Roman Kennke  <kennke@aicas.com>
33310   
33311         * javax/swing/plaf/basic/BasicListUI.java
33312         (getCellBounds): Determine correct list width when having a
33313         layoutOrientation of VERTICAL.
33314         (maybeUpdateLayoutState): Don't consider the validation state of
33315         the list.
33316   
33317 2006-01-28  Mark Wielaard  <mark@klomp.org>
33318   
33319         Reported by Dimitri Fontaine <dimitri@dalibo.com>
33320         * java/awt/print/NoPrinterJob.java: New (fake) class.
33321         * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
33322   
33323 2006-01-28  Mark Wielaard  <mark@klomp.org>
33324   
33325         * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
33326   
33327 2006-01-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33328   
33329         * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
33330         (addChildren): New method.
33331   
33332 2006-01-28  Raif S. Naffah  <raif@swiftdsl.com.au>
33333   
33334         * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
33335         constructor for cloning purposes.
33336         (clone): New implementation that ensures cloning.
33337         * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
33338         * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
33339           "GNU".
33340   
33341 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33342   
33343         * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
33344         Call updateCurrentVisiblePath.
33345   
33346 2006-01-27  Roman Kennke  <kennke@aicas.com>
33347   
33348         * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
33349   
33350 2006-01-27  Roman Kennke  <kennke@aicas.com>
33351   
33352         * examples/gnu/classpath/examples/swing/ButtonDemo.java
33353         (createContent): Only create new content if we don't have one
33354         already.
33355         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
33356         (createContent): Only create new content if we don't have one
33357         already.
33358         * examples/gnu/classpath/examples/swing/FileChooserDemo.java
33359         (createContent): Only create new content if we don't have one
33360         already.
33361         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
33362         (createContent): Only create new content if we don't have one
33363         already.
33364         * examples/gnu/classpath/examples/swing/SliderDemo.java
33365         (createContent): Only create new content if we don't have one
33366         already.
33367         * examples/gnu/classpath/examples/swing/TableDemo.java
33368         (createContent): Only create new content if we don't have one
33369         already.
33370         * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33371         (createContent): Only create new content if we don't have one
33372         already.
33373   
33374 2006-01-27  Lillian Angel  <langel@redhat.com>
33375   
33376         * javax/swing/text/DefaultStyledDocument.java
33377         (insertFirstContentTag): Removed check, not needed. This
33378         still needs to be fixed for some cases. Added call to
33379         recreateLeaves.
33380         (createFracture): Added call to recreateLeaves.
33381         (recreateLeaves): New method used to recreate all the
33382         leaves after the initial insertion. This still needs 
33383         more work.
33384         (handleInsertAfterNewline): Removed else, not needed.
33385   
33386 2006-01-27  Roman Kennke  <kennke@aicas.com>
33387   
33388         * javax/swing/JLayeredPane.java
33389         (inserIndexForLayer): Fixed direction of search.
33390   
33391 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33392   
33393         * javax/swing/JTree.java (constructor): Put EXPANDED for the root 
33394         node into nodeStates.
33395   
33396 2006-01-27  Roman Kennke  <kennke@aicas.com>
33397   
33398         * javax/swing/JLayeredPane.java
33399         (FRAME_CONTENT_LAYER): Made field final.
33400         (componentToLayer): Made field private.
33401         (rectCache): Removed field.
33402         (layers): Removed field.
33403         (JLayeredPane()): Removed initialization of removed fields.
33404         (getLayer): Rewritten to make use of client properties in
33405         JComponents and to be more straighforward.
33406         (static getLayer): Rewritten to make use of client properties in
33407         JComponents.
33408         (layerToRange): Removed method.
33409         (incrLayer): Removed method.
33410         (decrLayer): Removed method.
33411         (highestLayer): Rewritten to be more straightforward.
33412         (lowestLayer): Rewritten to be more straightforward.
33413         (getPosition): Rewritten to be more straightforward.
33414         (getComponentsInLayer): Rewritten to be more straightforward.
33415         (getComponentCountInLayer): Rewritten to be more straightforward.
33416         (getIndexOf): Rewritten to be more straightforward.
33417         (inserIndexForLayer): Rewritten to be more straightforward.
33418         (remove): Rewritten to be more straightforward.
33419         (setLayer): Rewritten to be more straightforward.
33420         (addImpl): Rewritten to be more straightforward.
33421         (putLayer): Rewritten to be more straightforward.
33422
33423 2006-01-27  Anthony Balkissoon  <abalkiss@redhat.com>
33424
33425         * java/lang/Character.java:
33426         (offsetByCodePoints(CharSequence, int, int)): New API method.
33427         (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33428         (toChars): Throw the Exception that the docs say we throw.
33429         (codePointAt): Fixed an off-by-one error in the bounds of the if 
33430         statement.
33431         * java/lang/String.java:
33432         (String(int[], int, int)): New API constructor.
33433   
33434 2006-01-27  Lillian Angel  <langel@redhat.com>
33435   
33436         * javax/swing/text/DefaultStyledDocument.java
33437         (insert): Moved this loop to insertUpdate.
33438         (insertUpdate): Likewise. Fixed variable
33439         names. Incremented pos if new paragraph
33440         is inserted.
33441         (split): Changed edits to use replace instead. Prevents
33442         assertion errors.
33443         (insertFirstContentTag): Removed else.
33444         (insertContentTag): Implemented else for JoinNextDirection.
33445         (createFracture): Fixed up code, still not fully complete.
33446         (insertFracture): Fixed to use return value from 
33447         recreateAfterFracture.
33448         (recreateAfterFracture): Changed to return an array of the
33449         elements to be added. This prevents an assertion error.
33450         (contains): New function checks if an element is already in 
33451         the Vector. Vector's contain function was not enough to use.
33452         (addAddedElement): Changed to use new contains function.
33453         (addAddedElements): Likewise.
33454         (addRemovedElement): Likewise.
33455         (addRemovedElements): Likewise.        
33456         
33457 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33458
33459         PR 25520
33460         * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33461         If no user class loaders found on the stack, return the thread 
33462         context class loader. (currentClassLoader): Explained.
33463   
33464 2006-01-27  Roman Kennke  <kennke@aicas.com>
33465   
33466         * java/awt/Container.java
33467         (swapComponents): Removed unspecified method.
33468         * javax/swing/JLayeredPane.java
33469         (setPosition): Reimplemented correctly.
33470         (swapComponents): New helper method.
33471   
33472 2006-01-27  Mark Wielaard  <mark@klomp.org>
33473   
33474         * configure.ac: Set version to 0.21-pre.
33475   
33476 2006-01-27  Roman Kennke  <kennke@aicas.com>
33477   
33478         PR classpath/25968
33479         * javax/swing/JComponent.java
33480         (findOverlapFreeParent): Improved the algorithm to make better use
33481         of the optimizedDrawingEnabled flag.
33482         * javax/swing/JLayeredPane.java
33483         (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33484         * javax/swing/JViewport.java
33485         (computeBlit): Fixed check to decide if blitting is possible or not,
33486         so that it doesn't blit if nothing was scrolled (in order to
33487         update the buffer when the view updates itself).
33488   
33489 2006-01-27  Roman Kennke  <kennke@aicas.com>
33490   
33491         * javax/swing/plaf/metal/MetalFileChooserUI.java
33492         (createList): Don't set scrollbar policy.
33493   
33494 2006-01-27  Roman Kennke  <kennke@aicas.com>
33495   
33496         * javax/swing/plaf/basic/BasicPopupMenuUI.java
33497         (PopupMenuHandler.popupMenuWillBecomeInvisible):
33498         Fixed to also handle non-Swing toplevel containers.
33499         (PopupMenuHandler.popupMenuWillBecomeVisible):
33500         Fixed to also handle non-Swing toplevel containers.
33501         * javax/swing/Popup.java
33502         (JWindowPopup.JWindowPopup()): Correctly set parent window on
33503         popup.
33504   
33505 2006-01-27  Roman Kennke  <kennke@aicas.com>
33506   
33507         * javax/swing/plaf/basic/BasicInternalFrameUI.java
33508         (InternalFramePropertyChangeListener): Don't implement
33509         VetoableChangeListener.
33510         (InternalFramePropertyChangeListener.vetoableChange): Removed.
33511         (internalFrameVetoableChangeListener): Removed unneeded field.
33512         (installListeners): Don't install vetoableChangeListener.
33513         * javax/swing/event/DocumentEvent.java
33514         (EventType): Made class final.
33515   
33516 2006-01-27  Roman Kennke  <kennke@aicas.com>
33517   
33518         * javax/swing/SwingUtilities.java
33519         (calculateInsetArea): Removed unneeded method. The method
33520         calculateInnerArea has the same purpose and is actually specified.
33521         (calculateInnerArea): Rewritten to not use calculateInsetArea.
33522         * javax/swing/plaf/basic/BasicMenuItemUI.java
33523         (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33524         of SwingUtilities.calculateInsetArea().
33525   
33526 2006-01-27  Roman Kennke  <kennke@aicas.com>
33527   
33528         * javax/swing/plaf/basic/BasicTreeUI.java
33529         (installDefaults): Removed requestFocusInWindow() call.
33530         * javax/swing/JComponent.java
33531         (requestFocusInWindow(boolean)): Made method protected.
33532         (printComponent): Made method protected.
33533         (printChildren): Made method protected.
33534         (printComponent): Made method protected.
33535         (printBorder): Made method protected.
33536   
33537 2006-01-27  Roman Kennke  <kennke@aicas.com>
33538   
33539         * javax/swing/AbstractButton.java
33540         (ButtonChangeListener.ButtonChangeListener()): Made constructor
33541         package private.
33542         * javax/swing/ImageIcon.java
33543         (component): Made field final.
33544         (tracker): Made field final.
33545         * javax/swing/JApplet.java
33546         (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33547         * javax/swing/JCheckBox.java
33548         (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33549         protected.
33550         * javax/swing/JDialog.java
33551         (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33552         * javax/swing/JFrame.java
33553         (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33554         * javax/swing/JLayeredPane.java
33555         (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33556         protected.
33557         (DEFAULT_LAYER): Made field final.
33558         (PALETTE_LAYER): Made field final.
33559         (MODAL_LAYER): Made field final.
33560         (POPUP_LAYER): Made field final.
33561         (DRAG_LAYER): Made field final.
33562         * javax/swing/JMenu.java
33563         (ActionChangeListener): Made class private.
33564         * javax/swing/JOptionPane.java
33565         (UNITITIALIZED_VALUE): Made field final.
33566         * javax/swing/JPanel.java
33567         (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33568         * javax/swing/JPopupMenu.java
33569         (ActionChangeListener): Made class private.
33570         * javax/swing/JTree.java
33571         (paramString): Made method protected.
33572         * javax/swing/JViewport.java
33573         (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33574         * javax/swing/JWindow.java
33575         (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33576         * javax/swing/RepaintManager.java
33577         (RepaintWorker): Made class private.
33578   
33579 2006-01-27  Roman Kennke  <kennke@aicas.com>
33580   
33581         * gnu/java/awt/peer/swing/SwingComponentPeer.java
33582         (handleEvent): Removed debug statement.
33583   
33584 2006-01-27  Roman Kennke  <kennke@aicas.com>
33585   
33586         * java/awt/Component.java
33587         (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33588         more than it helps.
33589   
33590 2006-01-26  Lillian Angel  <langel@redhat.com>
33591   
33592         * javax/swing/text/DefaultStyledDocument.java
33593         (createFracture): Commented out a known problem,
33594         added FIXME tag.
33595   
33596 2006-01-26  Lillian Angel  <langel@redhat.com>
33597   
33598         * javax/swing/text/DefaultStyledDocument.java
33599         (ElementBuffer): Added fields.
33600         (remove): Initialized pos.
33601         (change): Likewise.
33602         (insert): Likewise.
33603         (insertUpdate): Incremented pos. Fixed check, createFracture should
33604         be called on first tag if it is not ContentType.
33605         (insertFirstContentTag): Reworked to use proper offsets and
33606         set offset accordingly. This might need more work in the future.
33607         (insertContentTag): Likewise. Fixed to use pos, instead of 
33608         offset.
33609         (createFracture): Fixed to recreate other leaves. Still needs
33610         more work.
33611         (insertFracture): Reimplemented.
33612         (recreateAfterFracture): New method.
33613         (getParagraphElement): Reimplemented, more efficent.
33614
33615 2006-01-26  Christian Thalinger  <twisti@complang.tuwien.ac.at>
33616
33617         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33618         (doubleToRawLongBits, longBitsToDouble): Swap the byte
33619         ordering for little-endian arms without VFP.
33620
33621 2006-01-26  Raif S. Naffah  <raif@swiftdsl.com.au>
33622
33623         PR classpath/25981
33624         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33625
33626 2006-01-26  Mark Wielaard  <mark@klomp.org>
33627
33628         Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33629         * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33630         Add trailing zeros to the fraction of the decimal with the smallest
33631         scale.
33632
33633 2006-01-26  Roman Kennke  <kennke@aicas.com>
33634
33635         * javax/swing/text/html/ObjectView.java: New file.
33636
33637 2006-01-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33638
33639         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): 
33640         Call startEditing when appropriate.
33641         (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33642         (startEditing): Always edit if directly ordered from 
33643         MouseHandler.mousePressed.
33644         * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START): 
33645         New field. (createTreeCellEditor): Set click count to start.
33646         (getTreeCellEditorComponent): Assing realEditor directly.
33647
33648 2006-01-25  Casey Marshall  <csm@gnu.org>
33649
33650         Merging GNU Crypto and Jessie.
33651
33652         * NEWS: mention the merge in the 0.21 notes.
33653         * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33654         (SSL_RECORD_LAYER): new constants.
33655         * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33656         to provider.
33657         * resource/java/security/classpath.security: add new providers.
33658         * gnu/javax/crypto/assembly/Assembly.java,
33659         gnu/javax/crypto/assembly/Cascade.java,
33660         gnu/javax/crypto/assembly/CascadeStage.java,
33661         gnu/javax/crypto/assembly/CascadeTransformer.java,
33662         gnu/javax/crypto/assembly/DeflateTransformer.java,
33663         gnu/javax/crypto/assembly/Direction.java,
33664         gnu/javax/crypto/assembly/LoopbackTransformer.java,
33665         gnu/javax/crypto/assembly/ModeStage.java,
33666         gnu/javax/crypto/assembly/Operation.java,
33667         gnu/javax/crypto/assembly/PaddingTransformer.java,
33668         gnu/javax/crypto/assembly/Stage.java,
33669         gnu/javax/crypto/assembly/Transformer.java,
33670         gnu/javax/crypto/assembly/TransformerException.java,
33671         gnu/javax/crypto/cipher/Anubis.java,
33672         gnu/javax/crypto/cipher/BaseCipher.java,
33673         gnu/javax/crypto/cipher/Blowfish.java,
33674         gnu/javax/crypto/cipher/Cast5.java,
33675         gnu/javax/crypto/cipher/CipherFactory.java,
33676         gnu/javax/crypto/cipher/DES.java,
33677         gnu/javax/crypto/cipher/IBlockCipher.java,
33678         gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33679         gnu/javax/crypto/cipher/Khazad.java,
33680         gnu/javax/crypto/cipher/NullCipher.java,
33681         gnu/javax/crypto/cipher/Rijndael.java,
33682         gnu/javax/crypto/cipher/Serpent.java,
33683         gnu/javax/crypto/cipher/Square.java,
33684         gnu/javax/crypto/cipher/TripleDES.java,
33685         gnu/javax/crypto/cipher/Twofish.java,
33686         gnu/javax/crypto/cipher/WeakKeyException.java,
33687         gnu/javax/crypto/jce/GnuCrypto.java,
33688         gnu/javax/crypto/jce/GnuSasl.java,
33689         gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33690         gnu/javax/crypto/jce/cipher/AESSpi.java,
33691         gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33692         gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33693         gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33694         gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33695         gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33696         gnu/javax/crypto/jce/cipher/DESSpi.java,
33697         gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33698         gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33699         gnu/javax/crypto/jce/cipher/PBES2.java,
33700         gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33701         gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33702         gnu/javax/crypto/jce/cipher/SquareSpi.java,
33703         gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33704         gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33705         gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33706         gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33707         gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33708         gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33709         gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33710         gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33711         gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33712         gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33713         gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33714         gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33715         gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33716         gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33717         gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33718         gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33719         gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33720         gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33721         gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33722         gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33723         gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33724         gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33725         gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33726         gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33727         gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33728         gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33729         gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33730         gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33731         gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33732         gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33733         gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33734         gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33735         gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33736         gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33737         gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33738         gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33739         gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33740         gnu/javax/crypto/jce/mac/MacAdapter.java,
33741         gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33742         gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33743         gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33744         gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33745         gnu/javax/crypto/jce/mac/OMacImpl.java,
33746         gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33747         gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33748         gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33749         gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33750         gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33751         gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33752         gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33753         gnu/javax/crypto/jce/mac/UHash32Spi.java,
33754         gnu/javax/crypto/jce/mac/UMac32Spi.java,
33755         gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33756         gnu/javax/crypto/jce/params/DEREncodingException.java,
33757         gnu/javax/crypto/jce/params/DERReader.java,
33758         gnu/javax/crypto/jce/params/DERWriter.java,
33759         gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33760         gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33761         gnu/javax/crypto/jce/prng/FortunaImpl.java,
33762         gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33763         gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33764         gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33765         gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33766         gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33767         gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33768         gnu/javax/crypto/key/GnuSecretKey.java,
33769         gnu/javax/crypto/key/IKeyAgreementParty.java,
33770         gnu/javax/crypto/key/IncomingMessage.java,
33771         gnu/javax/crypto/key/KeyAgreementException.java,
33772         gnu/javax/crypto/key/KeyAgreementFactory.java,
33773         gnu/javax/crypto/key/OutgoingMessage.java,
33774         gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33775         gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33776         gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33777         gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33778         gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33779         gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33780         gnu/javax/crypto/key/dh/ElGamalSender.java,
33781         gnu/javax/crypto/key/dh/GnuDHKey.java,
33782         gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33783         gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33784         gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33785         gnu/javax/crypto/key/dh/RFC2631.java,
33786         gnu/javax/crypto/key/srp6/SRP6Host.java,
33787         gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33788         gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33789         gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33790         gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33791         gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33792         gnu/javax/crypto/key/srp6/SRP6User.java,
33793         gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33794         gnu/javax/crypto/key/srp6/SRPKey.java,
33795         gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33796         gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33797         gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33798         gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33799         gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33800         gnu/javax/crypto/keyring/BaseKeyring.java,
33801         gnu/javax/crypto/keyring/BinaryDataEntry.java,
33802         gnu/javax/crypto/keyring/CertPathEntry.java,
33803         gnu/javax/crypto/keyring/CertificateEntry.java,
33804         gnu/javax/crypto/keyring/CompressedEntry.java,
33805         gnu/javax/crypto/keyring/EncryptedEntry.java,
33806         gnu/javax/crypto/keyring/Entry.java,
33807         gnu/javax/crypto/keyring/EnvelopeEntry.java,
33808         gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33809         gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33810         gnu/javax/crypto/keyring/IKeyring.java,
33811         gnu/javax/crypto/keyring/IPrivateKeyring.java,
33812         gnu/javax/crypto/keyring/IPublicKeyring.java,
33813         gnu/javax/crypto/keyring/MalformedKeyringException.java,
33814         gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33815         gnu/javax/crypto/keyring/MeteredInputStream.java,
33816         gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33817         gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33818         gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33819         gnu/javax/crypto/keyring/PrimitiveEntry.java,
33820         gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33821         gnu/javax/crypto/keyring/Properties.java,
33822         gnu/javax/crypto/keyring/PublicKeyEntry.java,
33823         gnu/javax/crypto/mac/BaseMac.java,
33824         gnu/javax/crypto/mac/HMac.java,
33825         gnu/javax/crypto/mac/HMacFactory.java,
33826         gnu/javax/crypto/mac/IMac.java,
33827         gnu/javax/crypto/mac/MacFactory.java,
33828         gnu/javax/crypto/mac/MacInputStream.java,
33829         gnu/javax/crypto/mac/MacOutputStream.java,
33830         gnu/javax/crypto/mac/OMAC.java,
33831         gnu/javax/crypto/mac/TMMH16.java,
33832         gnu/javax/crypto/mac/UHash32.java,
33833         gnu/javax/crypto/mac/UMac32.java,
33834         gnu/javax/crypto/mode/BaseMode.java,
33835         gnu/javax/crypto/mode/CBC.java,
33836         gnu/javax/crypto/mode/CFB.java,
33837         gnu/javax/crypto/mode/CTR.java,
33838         gnu/javax/crypto/mode/EAX.java,
33839         gnu/javax/crypto/mode/ECB.java,
33840         gnu/javax/crypto/mode/IAuthenticatedMode.java,
33841         gnu/javax/crypto/mode/ICM.java,
33842         gnu/javax/crypto/mode/IMode.java,
33843         gnu/javax/crypto/mode/ModeFactory.java,
33844         gnu/javax/crypto/mode/OFB.java,
33845         gnu/javax/crypto/pad/BasePad.java,
33846         gnu/javax/crypto/pad/IPad.java,
33847         gnu/javax/crypto/pad/PKCS1_V1_5.java,
33848         gnu/javax/crypto/pad/PKCS7.java,
33849         gnu/javax/crypto/pad/PadFactory.java,
33850         gnu/javax/crypto/pad/SSL3.java,
33851         gnu/javax/crypto/pad/TBC.java,
33852         gnu/javax/crypto/pad/TLS1.java,
33853         gnu/javax/crypto/pad/WrongPaddingException.java,
33854         gnu/javax/crypto/prng/ARCFour.java,
33855         gnu/javax/crypto/prng/CSPRNG.java,
33856         gnu/javax/crypto/prng/Fortuna.java,
33857         gnu/javax/crypto/prng/ICMGenerator.java,
33858         gnu/javax/crypto/prng/IPBE.java,
33859         gnu/javax/crypto/prng/PBKDF2.java,
33860         gnu/javax/crypto/prng/PRNGFactory.java,
33861         gnu/javax/crypto/prng/UMacGenerator.java,
33862         gnu/javax/crypto/sasl/AuthInfo.java,
33863         gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33864         gnu/javax/crypto/sasl/ClientFactory.java,
33865         gnu/javax/crypto/sasl/ClientMechanism.java,
33866         gnu/javax/crypto/sasl/ConfidentialityException.java,
33867         gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33868         gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33869         gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33870         gnu/javax/crypto/sasl/InputBuffer.java,
33871         gnu/javax/crypto/sasl/IntegrityException.java,
33872         gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33873         gnu/javax/crypto/sasl/NoSuchUserException.java,
33874         gnu/javax/crypto/sasl/OutputBuffer.java,
33875         gnu/javax/crypto/sasl/SaslEncodingException.java,
33876         gnu/javax/crypto/sasl/SaslInputStream.java,
33877         gnu/javax/crypto/sasl/SaslOutputStream.java,
33878         gnu/javax/crypto/sasl/SaslUtil.java,
33879         gnu/javax/crypto/sasl/ServerFactory.java,
33880         gnu/javax/crypto/sasl/ServerMechanism.java,
33881         gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33882         gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33883         gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33884         gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33885         gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33886         gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33887         gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33888         gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33889         gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33890         gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33891         gnu/javax/crypto/sasl/plain/PasswordFile.java,
33892         gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33893         gnu/javax/crypto/sasl/plain/PlainClient.java,
33894         gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33895         gnu/javax/crypto/sasl/plain/PlainServer.java,
33896         gnu/javax/crypto/sasl/srp/CALG.java,
33897         gnu/javax/crypto/sasl/srp/ClientStore.java,
33898         gnu/javax/crypto/sasl/srp/IALG.java,
33899         gnu/javax/crypto/sasl/srp/KDF.java,
33900         gnu/javax/crypto/sasl/srp/PasswordFile.java,
33901         gnu/javax/crypto/sasl/srp/SRP.java,
33902         gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33903         gnu/javax/crypto/sasl/srp/SRPClient.java,
33904         gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33905         gnu/javax/crypto/sasl/srp/SRPServer.java,
33906         gnu/javax/crypto/sasl/srp/SecurityContext.java,
33907         gnu/javax/crypto/sasl/srp/ServerStore.java,
33908         gnu/javax/crypto/sasl/srp/StoreEntry.java,
33909         gnu/javax/net/ssl/Base64.java,
33910         gnu/javax/net/ssl/EntropySource.java,
33911         gnu/javax/net/ssl/NullManagerParameters.java,
33912         gnu/javax/net/ssl/PrivateCredentials.java,
33913         gnu/javax/net/ssl/SRPManagerParameters.java,
33914         gnu/javax/net/ssl/SRPTrustManager.java,
33915         gnu/javax/net/ssl/StaticTrustAnchors.java,
33916         gnu/javax/net/ssl/provider/Alert.java,
33917         gnu/javax/net/ssl/provider/AlertException.java,
33918         gnu/javax/net/ssl/provider/Certificate.java,
33919         gnu/javax/net/ssl/provider/CertificateRequest.java,
33920         gnu/javax/net/ssl/provider/CertificateType.java,
33921         gnu/javax/net/ssl/provider/CertificateVerify.java,
33922         gnu/javax/net/ssl/provider/CipherSuite.java,
33923         gnu/javax/net/ssl/provider/ClientHello.java,
33924         gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33925         gnu/javax/net/ssl/provider/CompressionMethod.java,
33926         gnu/javax/net/ssl/provider/Constructed.java,
33927         gnu/javax/net/ssl/provider/ContentType.java,
33928         gnu/javax/net/ssl/provider/Context.java,
33929         gnu/javax/net/ssl/provider/DiffieHellman.java,
33930         gnu/javax/net/ssl/provider/DigestInputStream.java,
33931         gnu/javax/net/ssl/provider/DigestOutputStream.java,
33932         gnu/javax/net/ssl/provider/Enumerated.java,
33933         gnu/javax/net/ssl/provider/Extension.java,
33934         gnu/javax/net/ssl/provider/Extensions.java,
33935         gnu/javax/net/ssl/provider/Finished.java,
33936         gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33937         gnu/javax/net/ssl/provider/Handshake.java,
33938         gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33939         gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33940         gnu/javax/net/ssl/provider/Jessie.java,
33941         gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33942         gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33943         gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33944         gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33945         gnu/javax/net/ssl/provider/KeyPool.java,
33946         gnu/javax/net/ssl/provider/MacException.java,
33947         gnu/javax/net/ssl/provider/OverflowException.java,
33948         gnu/javax/net/ssl/provider/PRNG.java,
33949         gnu/javax/net/ssl/provider/ProtocolVersion.java,
33950         gnu/javax/net/ssl/provider/Random.java,
33951         gnu/javax/net/ssl/provider/RecordInput.java,
33952         gnu/javax/net/ssl/provider/RecordInputStream.java,
33953         gnu/javax/net/ssl/provider/RecordOutputStream.java,
33954         gnu/javax/net/ssl/provider/RecordingInputStream.java,
33955         gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33956         gnu/javax/net/ssl/provider/SSLHMac.java,
33957         gnu/javax/net/ssl/provider/SSLRSASignature.java,
33958         gnu/javax/net/ssl/provider/SSLRandom.java,
33959         gnu/javax/net/ssl/provider/SSLServerSocket.java,
33960         gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33961         gnu/javax/net/ssl/provider/SSLSocket.java,
33962         gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33963         gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33964         gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33965         gnu/javax/net/ssl/provider/SecurityParameters.java,
33966         gnu/javax/net/ssl/provider/ServerHello.java,
33967         gnu/javax/net/ssl/provider/ServerKeyExchange.java,
33968         gnu/javax/net/ssl/provider/Session.java,
33969         gnu/javax/net/ssl/provider/SessionContext.java,
33970         gnu/javax/net/ssl/provider/Signature.java,
33971         gnu/javax/net/ssl/provider/SynchronizedRandom.java,
33972         gnu/javax/net/ssl/provider/TLSHMac.java,
33973         gnu/javax/net/ssl/provider/TLSRandom.java,
33974         gnu/javax/net/ssl/provider/Util.java,
33975         gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
33976         gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
33977         gnu/javax/net/ssl/provider/XMLSessionContext.java,
33978         gnu/javax/security/auth/Password.java,
33979         gnu/javax/security/auth/callback/AWTCallbackHandler.java,
33980         gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
33981         gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
33982         gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
33983         gnu/javax/security/auth/callback/GnuCallbacks.java,
33984         gnu/javax/security/auth/callback/SwingCallbackHandler.java,
33985         gnu/java/security/Registry.java,
33986         gnu/java/security/Properties.java,
33987         gnu/java/security/hash/BaseHash.java,
33988         gnu/java/security/hash/HashFactory.java,
33989         gnu/java/security/hash/Haval.java,
33990         gnu/java/security/hash/IMessageDigest.java,
33991         gnu/java/security/hash/MD2.java,
33992         gnu/java/security/hash/MD4.java,
33993         gnu/java/security/hash/MD5.java,
33994         gnu/java/security/hash/RipeMD128.java,
33995         gnu/java/security/hash/RipeMD160.java,
33996         gnu/java/security/hash/Sha160.java,
33997         gnu/java/security/hash/Sha256.java,
33998         gnu/java/security/hash/Sha384.java,
33999         gnu/java/security/hash/Sha512.java,
34000         gnu/java/security/hash/Tiger.java,
34001         gnu/java/security/hash/Whirlpool.java,
34002         gnu/java/security/jce/hash/HavalSpi.java,
34003         gnu/java/security/jce/hash/MD2Spi.java,
34004         gnu/java/security/jce/hash/MD4Spi.java,
34005         gnu/java/security/jce/hash/MD5Spi.java,
34006         gnu/java/security/jce/hash/MessageDigestAdapter.java,
34007         gnu/java/security/jce/hash/RipeMD128Spi.java,
34008         gnu/java/security/jce/hash/RipeMD160Spi.java,
34009         gnu/java/security/jce/hash/Sha160Spi.java,
34010         gnu/java/security/jce/hash/Sha256Spi.java,
34011         gnu/java/security/jce/hash/Sha384Spi.java,
34012         gnu/java/security/jce/hash/Sha512Spi.java,
34013         gnu/java/security/jce/hash/TigerSpi.java,
34014         gnu/java/security/jce/hash/WhirlpoolSpi.java,
34015         gnu/java/security/jce/prng/HavalRandomSpi.java,
34016         gnu/java/security/jce/prng/MD2RandomSpi.java,
34017         gnu/java/security/jce/prng/MD4RandomSpi.java,
34018         gnu/java/security/jce/prng/MD5RandomSpi.java,
34019         gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
34020         gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
34021         gnu/java/security/jce/prng/SecureRandomAdapter.java,
34022         gnu/java/security/jce/prng/Sha160RandomSpi.java,
34023         gnu/java/security/jce/prng/Sha256RandomSpi.java,
34024         gnu/java/security/jce/prng/Sha384RandomSpi.java,
34025         gnu/java/security/jce/prng/Sha512RandomSpi.java,
34026         gnu/java/security/jce/prng/TigerRandomSpi.java,
34027         gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
34028         gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
34029         gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
34030         gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
34031         gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
34032         gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
34033         gnu/java/security/jce/sig/SignatureAdapter.java,
34034         gnu/java/security/key/IKeyPairCodec.java,
34035         gnu/java/security/key/IKeyPairGenerator.java,
34036         gnu/java/security/key/KeyPairCodecFactory.java,
34037         gnu/java/security/key/KeyPairGeneratorFactory.java,
34038         gnu/java/security/key/dss/DSSKey.java,
34039         gnu/java/security/key/dss/DSSKeyPairGenerator.java,
34040         gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
34041         gnu/java/security/key/dss/DSSPrivateKey.java,
34042         gnu/java/security/key/dss/DSSPublicKey.java,
34043         gnu/java/security/key/dss/FIPS186.java,
34044         gnu/java/security/key/rsa/GnuRSAKey.java,
34045         gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
34046         gnu/java/security/key/rsa/GnuRSAPublicKey.java,
34047         gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
34048         gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
34049         gnu/java/security/prng/BasePRNG.java,
34050         gnu/java/security/prng/EntropySource.java,
34051         gnu/java/security/prng/IRandom.java,
34052         gnu/java/security/prng/LimitReachedException.java,
34053         gnu/java/security/prng/MDGenerator.java,
34054         gnu/java/security/prng/PRNGFactory.java,
34055         gnu/java/security/prng/RandomEvent.java,
34056         gnu/java/security/prng/RandomEventListener.java,
34057         gnu/java/security/sig/BaseSignature.java,
34058         gnu/java/security/sig/ISignature.java,
34059         gnu/java/security/sig/ISignatureCodec.java,
34060         gnu/java/security/sig/SignatureFactory.java,
34061         gnu/java/security/sig/dss/DSSSignature.java,
34062         gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
34063         gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
34064         gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
34065         gnu/java/security/sig/rsa/EMSA_PSS.java,
34066         gnu/java/security/sig/rsa/RSA.java,
34067         gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
34068         gnu/java/security/sig/rsa/RSAPSSSignature.java,
34069         gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
34070         gnu/java/security/util/Base64.java,
34071         gnu/java/security/util/ExpirableObject.java,
34072         gnu/java/security/util/Prime2.java,
34073         gnu/java/security/util/Sequence.java,
34074         gnu/java/security/util/SimpleList.java,
34075         gnu/java/security/util/Util.java,
34076         resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
34077         new files imported from GNU Crypto and Jessie.
34078
34079 2006-01-25  Tom Tromey  <tromey@redhat.com>
34080
34081         * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
34082         Fixed calculation of number of bytes to read.
34083         (size, count, meta, eof): Document.
34084
34085 2006-01-25  Anthony Balkissoon  <abalkiss@redhat.com>
34086
34087         * java/lang/Character.java:
34088         (codePointCount(char[], int, int)): New API method.
34089         (codePointCount(CharSequence, int, int)): Likewise.
34090   
34091 2006-01-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34092   
34093         PR 25205
34094         * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent): 
34095         Rewritten.
34096         * javax/swing/JTree.java (stopEditing, cancelEditing): Return without 
34097         action if not editing.
34098         * javax/swing/plaf/basic/BasicTreeUI.java 
34099         (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
34100         (CellEditorHandler.editingStopped): Delegate to stopEditing.
34101         (EditorUpdateTimer): Removed.
34102         (TreeAction.actionPerformed): Stop and not cancel the current editing 
34103         when starting editing another node.
34104         (editorTimer, newVal): Removed.
34105         (cancelEditing): Do not send the cancel message.
34106         (completeEditing): Obtain the edited value from the editor.
34107         (finish): New method.
34108         (paintRow): Do not paint the editing component here.
34109         (startEditing, stopEditing): Rewritten.
34110         * javax/swing/tree/DefaultTreeCellEditor.java
34111         (DefaultTextField): Added SVUID.
34112         (EditorContainer): Rewritten.
34113         (RealEditorListener): New inner class.
34114         (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
34115         (constructor): Add cell editor listener. Do not instantiate timer.
34116         (actionPerformed): Return without action.
34117         (cancelCellEditing): Rewritten.
34118         (createTreeCellEditor): Add cell editor listener to the editor.
34119         (getCellEditorValue): Request the value from the realEditor.
34120         (isCellEditable): Removed timer management.
34121         (prepareForEditing): Remove all components befor adding the 
34122         editingComponent.
34123         (startEditingTimer): Start only if it is not null.
34124         (stopCellEditing): Rewritten.
34125         (stopEditingTimer): New method.
34126         (valueChanged): Do not configure editing component here.
34127   
34128 2006-01-25  Roman Kennke  <kennke@aicas.com>
34129   
34130         * javax/swing/text/html/FormView.java: New file.
34131   
34132 2006-01-25  Roman Kennke  <kennke@aicas.com>
34133   
34134         * javax/swing/JSplitPane.java
34135         (addImpl): Call resetToPreferredSizes() when no dividerLocation
34136         has been set in order to set an initial layout.
34137         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34138         (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
34139         layout of the right component.
34140         (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
34141         dividerLocation to the size of the left component.
34142         (createDefaultNonContinuousLayoutDivider): Fetch the color from
34143         the UIManager.
34144         (setDividerLocation): Don't validate the location here. Sometimes
34145         the divider needs to be set to an invalid location.
34146         (startDragging): Don't revalidate and repaint here.
34147         (finishDraggingTo): Don't repaint here. Also, don't call
34148         dragDividerTo() here.
34149         * javax/swing/plaf/basic/BasicLookAndFeel.java
34150         (initComponentDefaults): Added SplitPaneDivider.draggingColor
34151         default value.
34152   
34153 2006-01-25  Roman Kennke  <kennke@aicas.com>
34154   
34155         * javax/swing/JSplitPane.java
34156         (addImpl): Removed invalidate() and layout() call.
34157         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34158         (PropertyHandler.propertyChange): Remove layoutContainer() and
34159         repaint() call.
34160   
34161 2006-01-25  Roman Kennke  <kennke@aicas.com>
34162   
34163         * configure.ac
34164         * native/Makefile.am
34165         * native/jni/classpath/Makefile.am
34166         * native/jni/classpath/jcl.c
34167         * native/jni/classpath/jcl.h
34168         * native/jni/classpath/native_state.c
34169         * native/jni/gtk-peer/Makefile.am
34170         * native/jni/java-io/Makefile.am
34171         * native/jni/java-io/java_io_VMFile.c
34172         * native/jni/java-io/java_io_VMObjectStreamClass.c
34173         * native/jni/java-lang/Makefile.am
34174         * native/jni/java-net/Makefile.am
34175         * native/jni/java-net/java_net_VMInetAddress.c
34176         * native/jni/java-net/javanet.c
34177         * native/jni/java-net/javanet.h
34178         * native/jni/java-nio/Makefile.am
34179         * native/jni/java-nio/gnu_java_nio_VMPipe.c
34180         * native/jni/java-nio/gnu_java_nio_VMSelector.c
34181         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
34182         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
34183         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
34184         * native/jni/java-util/Makefile.am
34185         * native/jni/java-util/java_util_VMTimeZone.c
34186         * native/jni/midi-dssi/Makefile.am
34187         * native/jni/xmlj/Makefile.am
34188         * native/target/Makefile.am
34189         * native/target/Linux/target_native_math.h
34190         * native/target/Linux/target_native_memory.h
34191         * native/target/Linux/Makefile.am
34192         * native/target/Linux/target_native_io.h
34193         * native/target/Linux/target_native_math_float.h
34194         * native/target/Linux/target_native_math_int.h
34195         * native/target/generic/target_generic.c
34196         * native/target/generic/target_generic_io.c
34197         * native/target/generic/target_generic_math.h
34198         * native/target/generic/target_generic_memory.h
34199         * native/target/generic/target_generic_misc.c
34200         * native/target/generic/target_generic_network.c
34201         * native/target/generic/Makefile.am
34202         * native/target/generic/target_generic.h
34203         * native/target/generic/target_generic_file.h
34204         * native/target/generic/target_generic_io.h
34205         * native/target/generic/target_generic_math_float.h
34206         * native/target/generic/target_generic_math_int.h
34207         * native/target/generic/target_generic_misc.h
34208         * native/target/generic/target_generic_network.h:
34209         Reverted target native related changes back to the state of the
34210         0.20 release.
34211         * native/target/MinGW/.cvsignore
34212         * native/target/MinGW/Makefile.am
34213         * native/target/MinGW/target_native.h
34214         * native/target/MinGW/target_native_file.h
34215         * native/target/MinGW/target_native_io.h
34216         * native/target/MinGW/target_native_math.h
34217         * native/target/MinGW/target_native_memory.h
34218         * native/target/MinGW/target_native_misc.h
34219         * native/target/MinGW/target_native_network.h
34220         * native/target/RTEMS/.cvsignore
34221         * native/target/RTEMS/Makefile.am
34222         * native/target/RTEMS/target_native.h
34223         * native/target/RTEMS/target_native_file.h
34224         * native/target/RTEMS/target_native_io.h
34225         * native/target/RTEMS/target_native_math.h
34226         * native/target/RTEMS/target_native_memory.h
34227         * native/target/RTEMS/target_native_misc.h
34228         * native/target/RTEMS/target_native_network.h
34229         * native/target/SunOS/.cvsignore
34230         * native/target/SunOS/Makefile.am
34231         * native/target/SunOS/target_native.h
34232         * native/target/SunOS/target_native_file.h
34233         * native/target/SunOS/target_native_io.h
34234         * native/target/SunOS/target_native_math.h
34235         * native/target/SunOS/target_native_memory.h
34236         * native/target/SunOS/target_native_misc.h
34237         * native/target/SunOS/target_native_network.h
34238         * native/target/embOS/.cvsignore
34239         * native/target/embOS/Makefile.am
34240         * native/target/embOS/target_native.h
34241         * native/target/embOS/target_native_file.h
34242         * native/target/embOS/target_native_io.c
34243         * native/target/embOS/target_native_io.h
34244         * native/target/embOS/target_native_math.h
34245         * native/target/embOS/target_native_memory.h
34246         * native/target/embOS/target_native_misc.h
34247         * native/target/embOS/target_native_network.h
34248         * native/target/posix/.cvsignore
34249         * native/target/posix/Makefile.am
34250         * native/target/posix/target_posix.c
34251         * native/target/posix/target_posix.h
34252         * native/target/posix/target_posix_file.c
34253         * native/target/posix/target_posix_file.h
34254         * native/target/posix/target_posix_io.c
34255         * native/target/posix/target_posix_io.h
34256         * native/target/posix/target_posix_math.c
34257         * native/target/posix/target_posix_math.h
34258         * native/target/posix/target_posix_memory.c
34259         * native/target/posix/target_posix_memory.h
34260         * native/target/posix/target_posix_misc.c
34261         * native/target/posix/target_posix_misc.h
34262         * native/target/posix/target_posix_network.c
34263         * native/target/posix/target_posix_network.h:
34264         Removed.
34265   
34266 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
34267   
34268         * javax/print/PrintService.java,
34269         * javax/print/DocPrintJob.java,
34270         * javax/print/CancelablePrintJob.java:
34271         Added and enhanced api documentation for class and methods.             
34272
34273 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
34274
34275         * javax/print/SimpleDoc.java: Make class final.
34276         * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
34277         * javax/print/attribute/DateTimeSyntax.java: 
34278         (toString): New overridden method.
34279         * javax/print/attribute/standard/JobStateReasons.java:
34280         (add): Use the super.add method to avoid recursion.
34281         * javax/print/attribute/standard/PrinterStateReasons.java: 
34282         (put): Use the super.put method to avoid recursion.
34283
34284 2006-01-24  Robert Schuster  <robertschuster@fsfe.org>
34285
34286         * java/beans/XMLEncoder.java:
34287         (writeExpression): Added early return (fixes PR #25941).
34288         (setExceptionListener, anonymous Class): Removed printStackTrace
34289         call.
34290         * java/beans/Encoder: Removed unused imports.
34291         (setupDefaultPersistenceDelegates): Removed unneccessary
34292         PersistenceDelegates for subclasses.
34293         * java/beans/PersistenceDelegate:
34294         (initialize): Use local variable as first argument as it was
34295         intended once.
34296         * java/beans/DefaultPersistenceDelegate:
34297         (initialize): Added call to superclass' implementation, added
34298         early return.
34299   
34300 2006-01-24  Tom Tromey  <tromey@redhat.com>
34301   
34302         * java/util/regex/PatternSyntaxException.java: Added @since.
34303         * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
34304         * java/util/regex/MatchResult.java: New file.
34305   
34306 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
34307   
34308         * javax/swing/text/StringContent.java: Added API docs all over, plus 
34309         minor reformatting.
34310   
34311 2006-01-24  Gary Benson  <gbenson@redhat.com>
34312   
34313         * java/net/SocketPermission.java: Implemented serialization.
34314   
34315 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
34316   
34317         * javax/swing/text/StringContent.java
34318         (remove): Modified argument check to prevent removal of last character,
34319         (getChars): Removed null argument check to allow NullPointerException,
34320         added API docs,
34321         (checkLocation): Added API docs and white space.
34322   
34323 2006-01-23  Lillian Angel  <langel@redhat.com>
34324   
34325         * javax/swing/text/DefaultStyledDocument.java
34326         (insertUpdate): Should only call createFracture with 
34327         StartTagType. Added check.
34328         (insertContentTag): Should use the tags length for splitting.
34329         Also, added a check to determine if current's start and end offset are
34330         equal to the offset and endOffset. If so, only one leaf element
34331         should be added. 
34332         (createFracture): Removed FIXME. This function is complete.
34333         (split): Added calls to replace. Changed so the child is 
34334         added immediately to the paragraph. Prevents NPEs.
34335
34336 2006-01-23  Mark Wielaard  <mark@klomp.org>
34337
34338         * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
34339
34340 2006-01-23  Tom Tromey  <tromey@redhat.com>
34341
34342         * gnu/java/security/x509/X509Certificate.java (parse):
34343         Unconditionally read value; for version==1 case when reading
34344         algorithm ID.
34345
34346 2006-01-23  Roman Kennke  <kennke@aicas.com>
34347
34348         * javax/swing/plaf/synth/ColorType.java,
34349         * javax/swing/plaf/synth/Region.java,
34350         * javax/swing/plaf/synth/SynthConstants.java,
34351         * javax/swing/plaf/synth/SynthContext.java
34352         * javax/swing/plaf/synth/SynthGraphicsUtils.java,
34353         * javax/swing/plaf/synth/SynthLookAndFeel.java,
34354         * javax/swing/plaf/synth/SynthPainter.java,
34355         * javax/swing/plaf/synth/SynthStyle.java,
34356         * javax/swing/plaf/synth/SynthStyleFactory.java,
34357         * javax/swing/plaf/synth/package.html:
34358         New files. Added the public API and framework classes for the
34359         Synth look and feel.
34360   
34361 2006-01-23  David Gilbert  <david.gilbert@object-refinery.com>
34362   
34363         * javax/swing/text/Segment.java: API docs all over.
34364   
34365 2006-01-23  Lillian Angel  <langel@redhat.com>
34366   
34367         * javax/swing/text/DefaultStyledDocument.java
34368         (split): Should not use createLeafElement and createBranchElement here.
34369         We should just instaniate the LeafElements and BranchElements instead 
34370         to avoid the case where create*Element is overridden.
34371   
34372 2006-01-23  Lillian Angel  <langel@redhat.com>
34373   
34374         * javax/swing/text/DefaultStyledDocument.java
34375         (insertFirstContentTag): Moved check outside of if-statement.
34376         This should be checked before creating the new leaf element.
34377         (insertFracture): Fixed check to prevent an NPE. The previous
34378         leaf should only be recreated if it has been created by
34379         insertFirstContentTag. Also, fixed up code: if the endOffset is
34380         greater than the offset, then we need to create a temp leaf
34381         as a place holder. Otherwise, the leaf elements should be
34382         created normally.
34383   
34384 2006-01-23  Gary Benson  <gbenson@redhat.com>
34385   
34386         * java/net/SocketPermission.java: Almost completely rewritten.
34387   
34388 2006-01-23  Lillian Angel  <langel@redhat.com>
34389         
34390         * javax/swing/text/DefaultStyledDocument.java
34391         (insertFracture): Set temp leaf's attributes to prevent an NPE.
34392   
34393 2006-01-23  Lillian Angel  <langel@redhat.com>
34394   
34395         * javax/swing/text/DefaultStyledDocument.java:
34396         Formatted ElementBuffer and added new fields.
34397         (remove): Added check to determine if length is 0.
34398         (insertFirstContentTag): Initialized firstCreated to the element that is created 
34399         by the first tag encountered. Removed check in JoinPreviousDirection case, no
34400         longer needed. In OriginateDirection case, added a loop to remove all old leafs
34401         that have been recreated.
34402         (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34403         (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34404         FIXME tags to the lines that need to be rewritten.      
34405
34406 2006-01-23  Mark Wielaard  <mark@klomp.org>
34407
34408         * examples/Makefile.am: Add support for fastjar.
34409
34410 2006-01-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34411
34412         * gnu/regexp/REToken.java(empty): Made Cloneable.
34413         * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34414         Use separate methods matchN and matchP depending on the
34415         boolean negative.
34416         (matchN): New method used when negative. Done as before.
34417         (matchP): New method used when not negative. Each token is
34418         tried not by itself but by a clone of it.
34419
34420 2006-01-23  Chris Burdess  <dog@gnu.org>
34421
34422         Fixes bug #25906
34423         * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34424           class to avoid getLength method contention.
34425         * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34426
34427 2006-01-23  Chris Burdess  <dog@gnu.org>
34428
34429         * native/jni/java-util/Makefile.am: Include library required
34430           explicitly by BSD systems.
34431         * native/target/generic/target_generic_misc.h: Remove old commented
34432           out code.
34433         * native/target/generic/target_generic_network.h: Fallbacks (to
34434           SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34435
34436 2006-01-22  Tom Tromey  <tromey@redhat.com>
34437
34438         * native/target/posix/.cvsignore: Added .deps.
34439
34440 2006-01-22  Mark Wielaard  <mark@klomp.org>
34441
34442         Fixes bug #25832,
34443         reported by James Damour <James.Damour@corp.request.com>
34444         * java/awt/Container.java (addImpl): Use empty string as name when
34445         null constraints for LayoutManager.addLayoutComponent().
34446
34447 2006-01-22  Chris Burdess  <dog@gnu.org>
34448
34449         Fixes bug #25903
34450         * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34451           representing current directory as base for relative URLs.
34452
34453 2006-01-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34454
34455         Fixes bug #25837
34456         * gnu/regexp/REMatch.java(empty): New boolean indicating
34457         an empty string matched.
34458         * gnu/regexp/RE.java(match): Sets empty flag when an empty
34459         string matched.
34460         (initialize): Support back reference \10, \11, and so on.
34461         (parseInt): renamed from getEscapedChar and returns int.
34462         * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34463         when an empty string matched. Fixed a bug of the case where
34464         an empty string matched. Added special handling of {0}.
34465         * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34466         when an empty string matched. Fixed the case insensitive matching.
34467   
34468 2006-01-21  Roman Kennke  <kennke@aicas.com>
34469   
34470         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34471         (paint): Added painting of border if one is installed.
34472   
34473 2006-01-21  Roman Kennke  <kennke@aicas.com>
34474   
34475         PR classpath/25843:
34476         * javax/swing/plaf/basic/BasicBorders.java
34477         (getSplitPaneDividerBorder): Use new border constructor
34478         without arguments.
34479         (SplitPaneDividerBorder.highlight): Removed unneeded field.
34480         (SplitPaneDividerBorder.shadow): Removed unneeded field.
34481         (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34482         colors are fetched dynamically in the paintBorder method.
34483         (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34484         the look and feel.
34485         (SplitPaneDividerBorder.isBorderOpaque): Returns true
34486         unconditionally.
34487         * javax/swing/plaf/basic/BasicLookAndFeel.java
34488         (initComponentDefaults): Added default for SplitPaneDivider.border.
34489         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34490         (tmpBorder): Removed unneeded inner class.
34491         (BasicSplitPaneDivider): Removed setting of border.
34492         (setSplitPaneUI): Don't add the mouse handler to the splitpane
34493         itself.
34494         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34495         (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34496         to get behaviour right.
34497         (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34498         implementation. This must be rewritten since the layout now works
34499         slightly different (basically, it shouldn't modify the sizes[]
34500         here but instead the dividerLocation.
34501         (dividerLocation): New field.
34502         (installDefaults): Initialize border on divider.
34503         (uninstallDefaults): Only remove background color and border from
34504         splitPane if they are instances of UIDefaults (== not set by
34505         application).
34506         (setDividerLocation): Set the dividerLocation field instead of
34507         doing stunt acts here.
34508         (getDividerLocation): Return dividerLocation field.
34509         (getMinimumDividerLocation): Fixed calculation of minimum location.
34510         
34511 2006-01-21  Guilhem Lavaux  <guilhem@kaffe.org>
34512   
34513         * m4/acinclude.m4
34514         (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34515   
34516         * lib/Makefile.am: Likewise. 
34517   
34518 2006-01-21  Roman Kennke  <kennke@aicas.com>
34519   
34520         * javax/swing/PopupFactory.java
34521         (getPopup): If there is no Swing root found in any way, use a
34522         heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34523         for the Swing AWT peers.
34524   
34525 2006-01-20  Tom Tromey  <tromey@redhat.com>
34526   
34527         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34528         Read response body for redirect.
34529   
34530 2006-01-20  Chris Burdess  <dog@gnu.org>
34531   
34532         * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34533           redirects on 304.
34534   
34535 2006-01-20  Lillian Angel  <langel@redhat.com>
34536   
34537         * javax/swing/text/DefaultStyledDocument.java
34538         (pad): Removed, not needed.
34539         (printElements): Likewise.
34540         (printEdit): Likewise.
34541   
34542 2006-01-20  Roman Kennke  <kennke@aicas.com>
34543   
34544         * javax/swing/text/DefaultFormatter.java
34545         (DefaultFormatter): Don't set a value class.
34546   
34547 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34548   
34549         * javax/swing/DefaultCellEditor.java: Commented.
34550   
34551 2006-01-19  Roman Kennke  <kennke@aicas.com>
34552   
34553         * javax/swing/JOptionPane.java
34554         Added cast to Frame for JDialog constructor.
34555   
34556 2006-01-19  Roman Kennke  <kennke@aicas.com>
34557   
34558         * javax/swing/JWindow.java
34559         (JWindow(Window)): Fixed to accept null owner argument.
34560         (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34561         owner argument.
34562         * javax/swing/SwingUtilities.java
34563         (getOwnerFrame): Owner parameter and return value are fixed to
34564         be of type Window for compatibity with the above JWindow
34565         constructor.
34566         * javax/swing/JDialog.java
34567         (JDialog): Added cast to Frame to make sure the correct constructor
34568         is called.
34569         * javax/swing/JFileChooser.java
34570         (createDialog): Added cast to Frame for JDialog constructor.
34571   
34572 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34573   
34574         * javax/swing/JTable.java (rowAtPoint): Rewritten.
34575   
34576 2006-01-19  Roman Kennke  <kennke@aicas.com>
34577   
34578         * javax/swing/JWindow.java: Added API docs to the constructors.
34579   
34580 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34581   
34582         * javax/swing/JTable.java: Commenting method headers.
34583         (EditorUpdateTimer): Removed.
34584   
34585 2006-01-19  Roman Kennke  <kennke@aicas.com>
34586   
34587         * javax/swing/JDialog.java
34588         (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34589         (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34590         SwingUtilities.getOwnerFrame() with the owner argument.
34591         * javax/swing/JFileChooser.java
34592         (showOpenDialog(Component)): Call pack() on the dialog instead of
34593         setting a fixed height.
34594         (showSaveDialog()): Likewise.
34595         (showDialog()): Likewise.
34596         (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34597         * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34598         with null.
34599         * javax/swing/JWindow.java
34600         (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34601         (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34602         argument.
34603         * javax/swing/SwingUtilities.java
34604         (getOwnerFrame): Changed to take a owner parameter that is returned
34605         as owner frame when not null.
34606   
34607 2006-01-19  Roman Kennke  <kennke@aicas.com>
34608   
34609         * gnu/java/awt/peer/swing/SwingFramePeer.java
34610         (handleMouseEvent): Fixed handling of mouse events.
34611         (handleMouseMotionEvent): Fixed handling of mouse events.
34612
34613 2006-01-19  Roman Kennke  <kennke@aicas.com>
34614
34615         * native/target/generic/target_generic_misc.c:
34616         (targetGenericMisc_formatString): Added missing method.
34617
34618 2006-01-19  Wolfgang Baer  <WBaer@gmx.de>
34619
34620         * m4/acinclude.m4: Test also for ecj found before exiting configure
34621         with no javac found error message. 
34622
34623 2006-01-19  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34624
34625         Fixes bug #23212
34626         * gnu/regexp/RE.java(initialize): Support escaped characters such as
34627         \0123, \x1B, \u1234.
34628         (getEscapedChar): New method.
34629         (CharExpression): New inner class.
34630         (getCharExpression): New Method.
34631         * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34632         RE_UNICODE_CHAR): New syntax bits.
34633
34634 2006-01-19  Roman Kennke  <kennke@aicas.com>
34635
34636         * native/target/Makefile.am: Fixed so that posix stuff is really
34637         only built when requested.
34638
34639 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34640
34641         * javax/swing/JTable.java (editingStopped, editingCancelled):
34642         Repaint the edited cell.
34643         (setValueAt): Do not add the value object to this container.
34644         (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34645         (editingStopped): Use editingRow, editingColumn and not
34646         rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34647         (doLayout): Move the editor component, if present, into the new
34648         location and call repaint(). (moveToCellBeingEdited): new method.
34649         (TableTextField): new inner class.
34650         (getDefaultEditor): Instantiante TableTextField, not JTextField.
34651         (setValueAt): Repaint the changed segment.
34652         (createDefaultEditors): Implemented.
34653         (BooleanCellRenderer): Center the checkbox and use the default foreground
34654         and background colors.   
34655         * javax/swing/plaf/basic/BasicTableUI.java
34656         (paintCell): Do not paint the caret here. Do not accept unused parameters.
34657         (paint): No need to allocate rectangle for each cell.   
34658         * javax/swing/DefaultCellEditor.java: Rewritten.         
34659         * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34660         Use TableDemo.java table example.
34661         * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34662
34663 2006-01-19  Roman Kennke  <kennke@aicas.com>
34664
34665         * configure.ac: Added/fixed --enable-posix-layer option to enable
34666         build of posix layer.
34667         * native/target/Makefile.am: Added build for posix layer.
34668
34669 2006-01-19  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34670
34671         * configure.ac: Set TARGET to Linux per default.
34672         * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34673         libtargetos.la.
34674         * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34675         * native/target/generic/Makefile.am (INCLUDES): Renamed to
34676         AM_CPPFLAGS.
34677         
34678 2006-01-19  Raif S. Naffah  <raif@swiftdsl.com.au>
34679
34680         * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34681           what looked like proprietary documentation with original or new one.
34682         * java/security/spec/PSSParameterSpec.java: Likewise.
34683         * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34684         * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34685         * java/security/AlgorithmParameterGenerator.java: Likewise.
34686         * java/security/AlgorithmParameters.java: Likewise.
34687         * java/security/Identity.java: Likewise.
34688         * java/security/IdentityScope.java: Likewise.
34689         * java/security/KeyFactory.java: Likewise.
34690         * java/security/KeyPairGenerator.java: Likewise.
34691         * java/security/MessageDigest.java: Likewise.
34692         * java/security/Policy.java: Likewise.
34693         * java/security/ProtectionDomain.java: Likewise.
34694         * java/security/Security.java: Likewise.
34695         * java/security/Signature.java: Likewise.
34696         * java/security/SignatureSpi.java: Likewise.
34697         * java/security/SignedObject.java: Likewise.
34698         * java/security/Signer.java: Likewise.
34699   
34700 2006-01-18  Roman Kennke  <kennke@aicas.com>
34701   
34702         * configure.ac: Added --enable-posix-layer option to enable
34703         build of the posix target layer.
34704   
34705 2006-01-18  Roman Kennke  <kennke@aicas.com>
34706   
34707         * native/jni/java-net/java_net_VMInetAddress.c
34708         (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34709         for INADDR_ANY.
34710   
34711 2006-01-18  Roman Kennke  <kennke@aicas.com>
34712   
34713         * native/jni/java-util/java_util_VMTimeZone.c:
34714         (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34715         to use target native layer.
34716         (jint_to_charbuf): Removed unneeded helper function.
34717   
34718 2006-01-18  Roman Kennke  <kennke@aicas.com>
34719   
34720         * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34721         Removed unnecessary include.
34722         * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34723         Reorganized includes to only include sys/* headers when available.
34724         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34725         (get_pagesize): Return 0 when nothing else works.
34726         (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34727         Replaced munmap() and strerror() with corresponding target macros.
34728         (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34729         Replaced strerror() with corresponding target macro.
34730         (Java_java_nio_MappedByteBufferImpl_forceImpl):
34731         Replaced strerror() with corresponding target macro.
34732         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34733         (Java_java_nio_VMDirectByteBuffer_allocate):
34734         Replaced malloc() with the corresponding target macro.
34735         (Java_java_nio_VMDirectByteBuffer_free):
34736         Replaced free() with the corresponding target macro.
34737         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34738         Add index to pointer when assigning the value.
34739         (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34740         Replaced memcpy with corresponding target macro. Add index when
34741         doing the memcpy, not when fetching the pointer.
34742         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34743         Replaced memcpy with corresponding target macro.
34744         (Java_java_nio_VMDirectByteBuffer_shiftDown):
34745         Replaced memmove with the corresponding target macro.
34746
34747 2006-01-17  Tom Tromey  <tromey@redhat.com>
34748
34749         PR classpath/20198:
34750         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34751         (JarURLLoader): Likewise.
34752         (addURLImpl): Canonicalize file URLs.
34753
34754 2006-01-17  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34755
34756         * configure.ac: Set TARGET.
34757         * native/Makefile.am, native/jni/classpath/Makefile.am,
34758         native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34759         native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34760         native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34761         native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34762         native/target/Linux/Makefile.am,
34763         native/target/generic/Makefile.am,
34764         native/target/posix/Makefile.am: Build libclasspath.so with jcl
34765         and target stuff linked in and link it against lib*.so libraries.
34766
34767 2006-01-17  Roman Kennke  <kennke@aicas.com>
34768
34769         * native/jni/java-net/javanet.c:
34770         (_javanet_connect): Changed type of some local variables to jint.
34771         Fixed error handling to throw a SocketTimeoutException if the
34772         connection attempt times out.
34773         (_javanet_bind): Changed type of some local variables to jint.
34774         (_javanet_accept): Likewise.
34775         (_javanet_recvfrom): Likewise.
34776         (_javanet_sendto): Fixed error handling to throw a
34777         PortUnreachableException when connection is refused.
34778         (_javanet_get_option): Changed type of some local variables to jint.
34779         Implemented SOCKOPT_SO_BROADCAST.
34780         (_javanet_shutdownInput): Replaced shutdown call with corresponding
34781         target native macro.
34782         (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34783         target native macro.
34784         * native/jni/java-net/javanet.h:
34785         Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34786         SOCKOPT_SO_BROADCAST.
34787   
34788 2006-01-17  Lillian Angel  <langel@redhat.com>
34789   
34790         * javax/swing/text/DefaultStyledDocument.java
34791         (insert): Cleaned up loop. No need to make so many calls
34792         to getAddedElements and getRemovedElements.
34793         (insertFracture): Removed unneeded array.
34794   
34795 2006-01-17  Lillian Angel  <langel@redhat.com>
34796         
34797         * javax/swing/text/JTextComponent.java
34798         (AccessibleJTextComponent): Implemented.
34799         (getCaretPosition): Implemented.
34800         (getSelectedText): Implemented.
34801         (getSelectionStart): Implemented.
34802         (getSelectionEnd): Implemented.
34803         (getSelectionEnd): Implemented.
34804         (getCharCount): Implemented.
34805         (insertTextAtIndex): Implemented.
34806         (getTextRange): Implemented.
34807         (delete): Implemented.
34808         (cut): Implemented.
34809         (paste): Implemented.
34810         (replaceText): Implemented.
34811         (selectText): Implemented.
34812   
34813 2006-01-17  Anthony Balkissoon  <abalkiss@redhat.com>
34814   
34815         * javax/swing/text/DefaultStyledDocument.java:
34816         (pad): New debugging method.
34817         (printElements): Likewise.
34818         (printPendingEdits): Likewise.
34819         (printElement): Likewise.
34820         (Edit): Improved docs, moved this class to be an inner class of
34821         ElementBuffer since it only applies within that scope.  Changed added 
34822         and removed to be Vectors instead of arrays because we need to be able 
34823         to add to them after construction.
34824         (ElementBuffer): Updated docs with link to article that helped in this
34825         classes implementation.
34826         (ElementBuffer.Edit.getRemovedElements): New method.
34827         (ElementBuffer.Edit.getAddedElements): Likewise.
34828         (ElementBuffer.Edit.addRemovedElement): Likewise.
34829         (ElementBuffer.Edit.addRemovedElements): Likewise.
34830         (ElementBuffer.Edit.addAddedElement): Likewise.
34831         (ElementBuffer.Edit.addAddedElements): Likewise.
34832         (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and 
34833         addAddedElements.
34834         (ElementBuffer.getEditForParagraphAndIndex): New method.
34835         (ElementBuffer.removeUpdate): Changed type of paragraph to 
34836         BranchElement.  Corrected style of adding the edit to use the new Edit
34837         facilities.
34838         (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34839         the new Edit facilities.
34840         (ElementBuffer.split): Likewise.
34841         (ElementBuffer.insertParagraph): Likewise.
34842         (ElementBuffer.insertContentTag): Likewise.
34843         (ElementBuffer.insert): Push all BranchElements until the deepest one, 
34844         not just the root and the first one. Apply the structural changes to 
34845         the tree at the same time as updating the DocumentEvent.
34846         (ElementBuffer.insertUpdate): Fixed docs.  Removed the special case 
34847         handling of EndTags as the first ElementSpec.  Instead have to handle
34848         ContentTags as a special case if they are the first ElementSpec and if
34849         not have to fracture the tree.
34850         (ElementBuffer.createFracture): New method.  May not be complete yet.
34851         Added FIXME indicating what may remain to be done.
34852         (ElementBuffer.insertFirstContentTag): New method.
34853         (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34854         be done.  Changed the adding of edits to use the new Edit facilities.
34855         Removed the adding of edits for Elements that weren't in the tree prior
34856         to the insertion.
34857         (insertUpdate): Removed incorrect condition for setting a StartTag's
34858         direction to JoinNextDirection.
34859         * javax/swing/text/StyleContent.java: 
34860         (SmallAttributeSet.toString): Fixed an off-by-one error in the loop 
34861         that was causing an ArrayOutOfBoundsException.
34862   
34863 2006-01-17  Roman Kennke  <kennke@aicas.com>
34864   
34865         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34866         (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34867         exception messages a little.
34868         (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34869         alternative implementation for systems without filesystems.
34870         Replaced snprintf with the corresponding target native macro.
34871         (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34872         Only do something when we have a filesystem.
34873         (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34874         alternative implementation for systems without filesystems.
34875         (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34876         alternative implementation for systems without filesystems.
34877         (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34878         alternative implementation for systems without filesystems.
34879         (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34880         Only do something when we have a filesystem.
34881         (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34882         Only do something when we have a filesystem.
34883         (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34884         alternative implementation for systems without filesystems.
34885         (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34886         Replaced ssize_t variables with jint. Provided
34887         alternative implementation for systems without filesystems.
34888         (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34889         Replaced ssize_t variables with jint. Provided
34890         alternative implementation for systems without filesystems.
34891         (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34892         Replaced ssize_t variables with jint. Provided
34893         alternative implementation for systems without filesystems.
34894         (Java_gnu_java_nio_channels_FileChannelImpl_force):
34895         Only do something when we have a filesystem.
34896         (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34897         Replaced ssize_t variables with jint. Provided
34898         alternative implementation for systems without filesystems.
34899         (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34900         to use the corresponding target native macro.
34901         (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34902         to use the corresponding target native macro.
34903   
34904 2006-01-17  Lillian Angel  <langel@redhat.com>
34905   
34906         * javax/swing/text/DefaultTextUI.java:
34907         Added deprecated tag.
34908         * javax/swing/text/JTextComponent.java
34909         (AccessibleJTextComponent): Fixed API doc and
34910         partiall9 implemented.
34911         (getCaretPosition): Fixed API doc and implemented.
34912         (getSelectedText): Fixed API doc.
34913         (getSelectionStart): Likewise.
34914         (getSelectionEnd): Likewise.
34915         (caretUpdate): Fixed API doc and
34916         partially implemented.
34917         (getAccessibleStateSet): Likewise.
34918         (getAccessibleRole): Fixed API doc and implemented.
34919         (getAccessibleEditableText): Implemented.
34920         (getAccessibleText): Fixed API doc and implemented.
34921         (insertUpdate): Fixed API doc.
34922         (changedUpdate): Likewise.
34923         (getIndexAtPoint): Likewise.
34924         (getRootEditorRect): Removed.
34925         (getCharacterBounds): Fixed API doc.
34926         (getCharCount): Likewise.
34927         (getCharacterAttribute): Likewise.
34928         (getAtIndex): Likewise.
34929         (getAfterIndex): Likewise.
34930         (getBeforeIndex): Likewise.
34931         (getAccessibleActionCount): Added function stub.
34932         (getAccessibleActionDescription): Added function,
34933         partially implemented.
34934         (doAccessibleAction): Added function stub.
34935         (setTextContents): Likewise.
34936         (insertTextAtIndex): Likewise.
34937         (delete): Likewise.
34938         (cut): Likewise.
34939         (paste): Likewise.
34940         (replaceText): Likewise.
34941         (selectText): Likewise.
34942         (setAttributes): Likewise.
34943         (getAccessibleContext): Implemented.
34944   
34945 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34946   
34947         Fixes bug #25817
34948         * gnu/regexp/RETokenRange.java(constructor):
34949         Keep lo and hi as they are.
34950         (match): Changed the case insensitive comparison.
34951   
34952 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34953   
34954         * gnu/regexp/RETokenChar.java(chain):
34955         Do not concatenate tokens whose insens flags are diffent.
34956   
34957 2006-01-17  Roman Kennke  <kennke@aicas.com>
34958   
34959         * native/target/generic/target_generic_network.c:
34960         (targetGenericNetwork_receive): Fixed signature to match the
34961         corresponding .h file.
34962         (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34963         to match the corresponding .h file.
34964   
34965 2006-01-17  Roman Kennke  <kennke@aicas.com>
34966   
34967         * native/jni/classpath/jcl.c:
34968         (JCL_malloc): Replaced calls to malloc with the corresponding
34969         target layer macro.
34970         (JCL_free): Replaced calls to free with the corresponding
34971         target layer macro.
34972         * native/jni/classpath/native_state.c:
34973         (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
34974         calloc with the corresponding target layer macro.
34975         (remove_node): Replaced calls to free with the corresponding
34976         target layer macro.
34977         (add_node): Replaced calls to malloc with the corresponding
34978         target layer macro.
34979
34980 2006-01-17  Roman Kennke  <kennke@aicas.com>
34981
34982         * native/jni/java-io/java_io_VMObjectStreamClass.c:
34983         (getFieldReference): Use MALLOC/FREE macros for portability instead
34984         of direct call to malloc() and free().
34985
34986 2006-01-17  Roman Kennke  <kennke@aicas.com>
34987
34988         * native/jni/classpath/jcl.c: Added missing imports.
34989         (JCL_realloc): Fixed signature to include oldsize. This is needed
34990         for some targets. Make this function use the MEMORY_REALLOC macro
34991         for portability.
34992         * native/jni/classpath/jcl.h
34993         (JCL_realloc): Adjusted signature.
34994         * native/jni/java-io/java_io_VMFile.c:
34995         (Java_java_io_VMFile_create): Use target layer macro for handling
34996         errno, for portability.
34997         (Java_java_io_VMFile_length): Release filename string in error cases
34998         before returning.
34999         (Java_java_io_VMFile_list): Initialize filename variable. Use new
35000         version of JCL_realloc.
35001         * native/jni/java-net/java_net_VMInetAddress.c:
35002         (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
35003         TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
35004         * native/jni/java-net/javanet.c:
35005         (_javanet_bind): Make errorstr variable const to avoid compiler
35006         warning.
35007         (_javanet_set_option): Fixed typo.
35008         (_javanet_get_option): Fixed typo.
35009         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35010         (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
35011         error_string variable const to avoid compiler warning.
35012         * native/target/generic/target_generic_file.h:
35013         Replaced // comments with /* */ comments to avoid compiler warnings.
35014         Added some spaces to make code better readable.
35015         * native/target/generic/target_generic_memory.h:
35016         Replaced // comments with /* */ comments to avoid compiler warnings.
35017         * native/target/generic/target_generic_misc.c:
35018         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35019         compiler warnings due to use of varargs.
35020         * native/target/generic/target_generic_misc.h:
35021         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35022         compiler warnings due to use of varargs.
35023         * native/target/generic/target_generic_network.h:
35024         Replaced // comments with /* */ comments to avoid compiler warnings.
35025         (targetGenericNetwork_receive): Fixed signature to use signed chars
35026         for buffer parameter to avoid warning when passing a jbyte to the
35027         function.
35028   
35029 2006-01-17  David Gilbert  <david.gilbert@object-refinery.com>
35030   
35031         * javax/swing/text/StyleConstants.java
35032         (getAlignment): Removed isDefined() check, so that resolving parent is 
35033         used for lookup,
35034         (getBackground): Likewise, plus changed default value to Color.BLACK,
35035         (getBidiLevel): Removed isDefined() check,
35036         (getComponent): Likewise,
35037         (getFirstLineIndent): Likewise,
35038         (getFontFamily): Likewise,
35039         (getFontSize): Likewise,
35040         (getForeground): Likewise,
35041         (getIcon): Likewise,
35042         (getLeftIndent): Likewise,
35043         (getLineSpacing): Likewise,
35044         (getRightIndent): Likewise,
35045         (getSpaceAbove): Likewise,
35046         (getSpaceBelow): Likewise,
35047         (getTabSet): Likewise,
35048         (isBold): Likewise,
35049         (isItalic): Likewise,
35050         (isStrikeThrough): Likewise,
35051         (isSubscript): Likewise,
35052         (isSuperscript): Likewise,
35053         (isUnderline): Likewise.
35054
35055 2006-01-17  Gary Benson  <gbenson@redhat.com>
35056
35057         * java/lang/System.java (setSecurityManager): Catch
35058         ClassNotFoundException not Throwable.
35059
35060 2006-01-16  Anthony Green  <green@redhat.com>
35061
35062         PR classpath/25803
35063         * gnu/java/net/protocol/http/Request.java
35064           (createResponseBodyStream): Remove Content-Encoding for
35065           compressed streams.
35066   
35067 2006-01-16  Chris Burdess  <dog@gnu.org>
35068   
35069         * gnu/xml/stream/XMLParser.java,
35070           gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
35071           XMLStreamWriter arguments for conformance to the XML specifications.
35072         * gnu/xml/transform/Stylesheet.java,
35073           gnu/xml/transform/Template.java,
35074           gnu/xml/transform/TransformerImpl.java,
35075           gnu/xml/xpath/LangFunction.java,
35076           gnu/xml/xpath/Selector.java: better handling of template priorities;
35077           fix indents when pretty-printing; recursive tests for xml:lang.
35078         * gnu/xml/util/XHTMLWriter.java,
35079           gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
35080
35081 2006-01-16  Roman Kennke  <kennke@aicas.com>
35082
35083         * native/target/MinGW/.cvsignore: New file.
35084         * native/target/RTEMS/.cvsignore: New file.
35085         * native/target/SunOS/.cvsignore: New file.
35086         * native/target/embOS/.cvsignore: New file.
35087         * native/target/posix/.cvsignore: New file.
35088
35089 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35090
35091         * javax/swing/text/StyleConstants.java: Updated API docs all over.
35092
35093 2006-01-16  Roman Kennke  <kennke@aicas.com>
35094
35095         * configure.ac: Include new target native directories in build.
35096
35097 2006-01-16  Roman Kennke  <kennke@aicas.com>
35098
35099         * native/target/generic/target_generic_file.h: Added missing
35100         include.
35101         * native/target/generic/target_generic_network.c: Fixed several
35102         typos and includes.
35103         * native/target/generic/target_generic_network.h: Likewise.
35104
35105 2006-01-16  Roman Kennke  <kennke@aicas.com>
35106
35107         * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
35108         to include the new targets.
35109         * native/target/posix/Makefile.am: Fixed filenames.
35110
35111 2006-01-16  Roman Kennke  <kennke@aicas.com>
35112
35113         * native/target/Makefile.am: Include new targets.
35114         * native/target/Linux/Makefile.am: Include new memory layer.
35115         * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
35116         * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
35117         * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
35118         * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
35119         * native/target/generic/Makefile.am: Include new memory and math
35120         layer.
35121         * native/target/posix/Makefile.am: New file. Includes posix in dist.
35122   
35123 2006-01-16  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35124   
35125         Fixes bug #22884
35126         * gnu/regexp/RE.java(initialize): Parse embedded flags.
35127         * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
35128   
35129 2006-01-16  Roman Kennke  <kennke@aicas.com>
35130   
35131         * native/target/generic/target_generic_network.c: Fixed typo.
35132         * native/target/generic/target_generic_network.h: Fixed typo.
35133   
35134 2006-01-16  Nicolas Geoffray  <nicolas.geoffray@menlina.com>
35135   
35136         * doc/vmintegration.texinfo: Updated subsection of the
35137         java.lang.InstrumentationImpl documentation.
35138   
35139 2006-01-16  Roman Kennke  <kennke@aicas.com>
35140   
35141         * native/target/RTEMS/target_native.h,
35142         * native/target/RTEMS/target_native_file.h,
35143         * native/target/RTEMS/target_native_io.h,
35144         * native/target/RTEMS/target_native_math.h,
35145         * native/target/RTEMS/target_native_memory.h,
35146         * native/target/RTEMS/target_native_misc.h,
35147         * native/target/RTEMS/target_native_network.h:
35148         New files. Implement the target native layer for the RTEMS platform.
35149   
35150 2006-01-16  Roman Kennke  <kennke@aicas.com>
35151   
35152         * native/target/SunOS/target_native.h,
35153         * native/target/SunOS/target_native_file.h,
35154         * native/target/SunOS/target_native_io.h,
35155         * native/target/SunOS/target_native_math.h,
35156         * native/target/SunOS/target_native_memory.h,
35157         * native/target/SunOS/target_native_misc.h,
35158         * native/target/SunOS/target_native_network.h:
35159         New files. Implement the target native layer for the SunOS platform.
35160   
35161 2006-01-16  Roman Kennke  <kennke@aicas.com>
35162   
35163         * native/target/MinGW/target_native.h,
35164         * native/target/MinGW/target_native_file.h,
35165         * native/target/MinGW/target_native_io.h,
35166         * native/target/MinGW/target_native_math.h,
35167         * native/target/MinGW/target_native_memory.h,
35168         * native/target/MinGW/target_native_misc.h,
35169         * native/target/MinGW/target_native_network.h:
35170         New files. Implement the target native layer for the MinGW
35171         platform.
35172   
35173 2006-01-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35174   
35175         PR 25770
35176         * javax/swing/DefaultCellEditor.java
35177         (delegate): Assign new instance immediately.
35178         (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
35179         (getTableCellEditorComponent): Rewritten.
35180         (prepareAsJTextField):New method (add listener only once).
35181         * javax/swing/JTable.java
35182         (editingCanceled): Rewritten.
35183         (editingStopped ): Rewritten.
35184         (rowAtPoint): Mind row margin.
35185         (getCellRect): Mind row margin.
35186         (getDefaultEditor): Removing JTextComponent border.
35187         (editCellAt): Rewritten.
35188         * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
35189         Activate editing mode by the mouse clicks.
35190         (getMaximumSize): Mind row margin.
35191         (getPreferredSize): Mind row margin.
35192         (TableAction): Added 'stop editing' command. 
35193
35194 2006-01-16  Roman Kennke  <kennke@aicas.com>
35195
35196         * jni/java-io/java_io_VMFile.c
35197         (Java_java_io_VMFile_list): Use new 4 argument version of
35198         TARGET_NATIVE_FILE_READ_DIR macro.
35199         * target/Linux/target_native_io.h: Fixed comment at #endif.
35200         * target/Linux/target_native_memory.h: New file. Contains
35201         portability macros for memory operations.
35202         * target/generic/target_generic.c: New file. Contains some functions
35203         for portability.
35204         * target/generic/target_generic.h: Use posix target and shorter macro
35205         names if CP_NEW is set. 
35206         * target/generic/target_generic_file.h: Use posix target and shorter
35207         macro names if CP_NEW is set.
35208         (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
35209         * target/generic/target_generic_io.c: New file. Contains some
35210         functions for IO portability.
35211         * target/generic/target_generic_io.h: Use posix target and shorter
35212         macro names if CP_NEW is set.
35213         * target/generic/target_generic_misc.c: New file. Contains some
35214         functions for miscallaneaous portability issues.
35215         * target/generic/target_generic_misc.h: Use posix target and shorter
35216         macro names if CP_NEW is set.
35217         * target/generic/target_generic_network.c: New file. Contains some
35218         functions for networking portability.
35219         * target/generic/target_generic_network.h: Use posix target and
35220         shorter macro names if CP_NEW is set.
35221         * target/posix/Makefile.am,
35222         * target/posix/target_posix.c,
35223         * target/posix/target_posix.h,
35224         * target/posix/target_posix_file.c,
35225         * target/posix/target_posix_file.h,
35226         * target/posix/target_posix_io.c,
35227         * target/posix/target_posix_io.h,
35228         * target/posix/target_posix_math.c,
35229         * target/posix/target_posix_math.h,
35230         * target/posix/target_posix_memory.c,
35231         * target/posix/target_posix_memory.h,
35232         * target/posix/target_posix_misc.c,
35233         * target/posix/target_posix_misc.h,
35234         * target/posix/target_posix_network.c,
35235         * target/posix/target_posix_network.h:
35236         New files. This implements the target native layer macros for
35237         Posix-like systems.
35238
35239 2006-01-16  Gary Benson  <gbenson@redhat.com>
35240
35241         * java/net/SocketPermission.java (implies): Fix action checks.
35242
35243 2006-01-16  Roman Kennke  <kennke@aicas.com>
35244
35245         * native/target/generic/target_generic_math_float.h: Removed. This
35246         file has been replaced by target_generic_math.h.
35247         * native/target/generic/target_generic_math_int.h: Removed. This
35248         file has been replaced by target_generic_math.h.
35249         * native/target/generic/target_generic_math.h: New file. Replaces
35250         the old _int and _float versions.
35251         * native/target/Linux/target_native_math_float.h: Removed. This
35252         file has been replaced by target_native_math.h.
35253         * native/target/Linux/target_native_math_int.h: Removed. This
35254         file has been replaced by target_native_math.h.
35255         * native/target/Linux/target_native_math.h: New file. Replaces
35256         the old _int and _float versions.
35257         * native/target/Linux/Makefile.am: Adjusted for the changed
35258         filenames.
35259         * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
35260         instead of target_native_math_int.h.
35261         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35262         Likewise.
35263         * native/target/generic/target_generic_file.h: Likewise.
35264   
35265 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35266   
35267         * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
35268   
35269 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35270   
35271         * javax/swing/text/SimpleAttributeSet.java
35272         (SimpleAttributeSet()): Initialise storage directly,
35273         (SimpleAttributeSet(AttributeSet)): Removed null check and documented
35274         NullPointerException,
35275         (containsAttribute): If key is found locally, don't check resolving
35276         parent if the value doesn't match,
35277         (getAttribute): Removed redundant instanceof and cast.
35278   
35279 2006-01-16  Gary Benson  <gbenson@redhat.com>
35280   
35281         * java/lang/System.java (setSecurityManager): Ensure policy
35282         files are loaded before a security manager is put in place.
35283   
35284 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35285   
35286         * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
35287   
35288 2006-01-16  Wolfgang Baer  <WBaer@gmx.de>
35289   
35290         * javax/print/attribute/standard/MediaSize.java: 
35291         (static_initializer): Added comment.
35292         (MediaSize): Added javadoc to mention cache registration.
35293         (MediaSize): Likewise.
35294         (MediaSize): Likewise.
35295         (MediaSize): Likewise.
35296   
35297 2006-01-16  Raif S. Naffah  <raif@swiftdsl.com.au>
35298   
35299         PR classpath/25202
35300         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
35301         * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
35302         * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
35303         * javax/security/auth/login/AppConfigurationEntry.java: Updated
35304           copyright year.
35305           (toString): Added method implementation.
35306           (LoginModuleControlFlag.toString): Removed class name from result.
35307         * javax/security/auth/login/Configuration.java: Updated copyright year.
35308           (getConfig(): replaced calls to NullConfiguration with
35309           GnuConfiguration.
35310
35311 2006-01-15  Tom Tromey  <tromey@redhat.com>
35312
35313         * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
35314         * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
35315         * java/beans/PersistenceDelegate.java (initialize): Genericized.
35316         * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
35317         (setPersistenceDelegate): Likewise.
35318
35319 2006-01-15  Wolfgang Baer  <WBaer@gmx.de>
35320
35321         * javax/print/attribute/standard/PrinterStateReasons.java: 
35322         (printerStateReasonSet): Genericize the return type.
35323
35324 2006-01-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35325
35326         * javax/swing/table/DefaultTableCellRenderer.java 
35327         (getTableCellRendererComponent): Render null as the empty cell.
35328
35329 2006-01-14  Anthony Green  <green@redhat.com>
35330
35331         * java/net/ServerSocket.java (accept): Remove bogus
35332         security check.
35333         (implAccept): Add FIXME comment.
35334
35335 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
35336
35337         Fixes bug #25387
35338         * javax/print/Doc.java: Added and enhanced documentation.
35339         * javax/print/SimpleDoc.java: New file. 
35340   
35341 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
35342   
35343         * javax/print/attribute/standard/MediaSize.java: 
35344         (Other.TABLOID): New MediaSize added in 1.5
35345   
35346 2006-01-14  Chris Burdess  <dog@gnu.org>
35347   
35348         * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
35349           correctly when I/O and runtime exceptions occur during parsing.
35350   
35351 2006-01-13  Roman Kennke  <kennke@aicas.com>
35352   
35353         * gnu/java/awt/peer/swing/SwingButtonPeer.java,
35354         * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
35355         * gnu/java/awt/peer/swing/SwingComponent.java,
35356         * gnu/java/awt/peer/swing/SwingComponentPeer.java,
35357         * gnu/java/awt/peer/swing/SwingContainerPeer.java,
35358         * gnu/java/awt/peer/swing/SwingFramePeer.java,
35359         * gnu/java/awt/peer/swing/SwingLabelPeer.java,
35360         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
35361         * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
35362         * gnu/java/awt/peer/swing/SwingMenuPeer.java,
35363         * gnu/java/awt/peer/swing/SwingPanelPeer.java,
35364         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
35365         * gnu/java/awt/peer/swing/SwingToolkit.java,
35366         * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35367         * gnu/java/awt/peer/swing/package.html:
35368         New files. Implemented some basic AWT peers based on Swing.
35369   
35370 2006-01-13  Roman Kennke  <kennke@aicas.com>
35371   
35372         * java/awt/peer/ComponentPeer.java: Added API docs all over.
35373   
35374 2006-01-13  Roman Kennke  <kennke@aicas.com>
35375   
35376         * java/awt/MenuComponent.java: Reformatted to better match our
35377         coding style.
35378   
35379 2006-01-13  Roman Kennke  <kennke@aicas.com>
35380   
35381         * java/awt/Frame.java: Reformatted to better match our
35382         coding style.
35383   
35384 2006-01-13  Roman Kennke  <kennke@aicas.com>
35385   
35386         * java/awt/MenuBar.java
35387         (accessibleContext): Removed unnecessary field. This is already
35388         defined in MenuComponent.
35389         (setHelpMenu): Renamed the peer variable to myPeer because it was
35390         hiding a field of MenuComponent.
35391         (addNotify): Removed unnecessary cast.
35392   
35393 2006-01-13  Roman Kennke  <kennke@aicas.com>
35394   
35395         * java/awt/MenuBar.java: Reformatted to better match our
35396         coding style.
35397   
35398 2006-01-13  Roman Kennke  <kennke@aicas.com>
35399   
35400         * java/awt/MenuBar.java
35401         (frame): New field.
35402         (removeNotify): Clear frame field when beeing removed from the
35403         frame.
35404         * java/awt/Frame.java
35405         (setMenuBar): Store a reference of the frame in the MenuBar.
35406         * java/awt/MenuComponent.java
35407         (postEvent): Implemented to forward the call to the parent until
35408         a parent can handle the event.
35409         (dispatchEvent): Moved handling of old style events from
35410         dispatchEventImpl() to here.
35411         (dispatchEventImpl): Moved handling of old style events to
35412         dispatchEvent().
35413   
35414 2006-01-13  Roman Kennke  <kennke@aicas.com>
35415   
35416         * java/awt/Component.java
35417         (dispatchEvent): Moved handling of old style events from
35418         dispatchEventImpl() to this method.
35419         (translateEvent): Removed unnecessary cast.
35420         (dispatchEventImpl): Moved handling of old style events to
35421         dispatchEvent().
35422         
35423 2006-01-13  Lillian Angel  <langel@redhat.com>
35424   
35425         * javax/swing/text/DefaultStyledDocument.java
35426         (createDefaultRoot): Removed FIXME.
35427         (setLogicalStyle): Added fireUndoableEditUpdate call and 
35428         removed FIXME.
35429   
35430 2006-01-13  Lillian Angel  <langel@redhat.com>
35431   
35432         * javax/swing/text/DefaultStyledDocument.java
35433         (Edit): New inner class.
35434         (changeUpdate): Changed addEdit call to add a new
35435         instance of Edit to the edits Vector, so addEdits can
35436         be done later.
35437         (split): Likewise.
35438         (insertParagraph): Likewise.
35439         (insertFracture): Likewise.
35440         (insertContentTag): Likewise.
35441         (insert): Added loop to go through edits Vector and perform
35442         addEdit on each object.
35443   
35444 2006-01-13  Chris Burdess  <dog@gnu.org>
35445   
35446         * gnu/xml/transform/AbstractNumberNode.java,
35447           gnu/xml/transform/ApplyImportsNode.java,
35448           gnu/xml/transform/ApplyTemplatesNode.java,
35449           gnu/xml/transform/AttributeNode.java,
35450           gnu/xml/transform/CallTemplateNode.java,
35451           gnu/xml/transform/ChooseNode.java,
35452           gnu/xml/transform/CommentNode.java,
35453           gnu/xml/transform/CopyNode.java,
35454           gnu/xml/transform/CopyOfNode.java,
35455           gnu/xml/transform/DocumentFunction.java,
35456           gnu/xml/transform/ElementNode.java,
35457           gnu/xml/transform/ForEachNode.java,
35458           gnu/xml/transform/IfNode.java,
35459           gnu/xml/transform/LiteralNode.java,
35460           gnu/xml/transform/MessageNode.java,
35461           gnu/xml/transform/OtherwiseNode.java,
35462           gnu/xml/transform/ParameterNode.java,
35463           gnu/xml/transform/ProcessingInstructionNode.java,
35464           gnu/xml/transform/Stylesheet.java,
35465           gnu/xml/transform/Template.java,
35466           gnu/xml/transform/TemplateNode.java,
35467           gnu/xml/transform/TextNode.java,
35468           gnu/xml/transform/TransformerImpl.java,
35469           gnu/xml/transform/ValueOfNode.java,
35470           gnu/xml/transform/WhenNode.java,
35471           gnu/xml/xpath/NodeTypeTest.java,
35472           gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35473           with-param parameters when template does not define parameters; apply
35474           conflict resolution for templates; strip whitespace on documents
35475           retrieved via document() function; allow node() to match document
35476           nodes.
35477
35478 2006-01-13  Mark Wielaard  <mark@klomp.org>
35479
35480         * doc/www.gnu.org/announce/20060113.wml: New file.
35481         * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35482         * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35483   
35484 2006-01-13  Lillian Angel  <langel@redhat.com>
35485   
35486         * javax/swing/text/DefaultStyledDocument.java:
35487         Removed unused fields.
35488         (insert): Removed unused fields.
35489         (endEdit): Removed, not needed.
35490         (insertUpdate): Removed call to endEdit.
35491         (prepareContentInsertion): Removed, not needed.
35492         (insertContentTag): Removed call to prepareContentInsertion.
35493         (printElements): Removed, not needed.
35494         (attributeSetsAreSame): Removed, not needed.
35495   
35496 2005-01-13  Mark Wielaard  <mark@klomp.org>
35497
35498         * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35499         Duplicate of toString(int, StringBuilder).
35500
35501 2005-01-13  Mark Wielaard  <mark@klomp.org>
35502
35503         * configure.ac: Set version to 0.20.
35504         * NEWS: Add entries for all the new work done.
35505
35506 2005-01-13  Mark Wielaard  <mark@klomp.org>
35507
35508         * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35509
35510 2005-01-13  Mark Wielaard  <mark@klomp.org>
35511
35512         * java/util/regex/Pattern.java (Pattern): Chain REException.
35513
35514 2006-01-13  Chris Burdess  <dog@gnu.org>
35515
35516         * gnu/xml/xpath/NameTest.java: Removed debugging output.
35517
35518 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35519
35520         * java/security/Security.java
35521         (getProperty): Added hack to skip security check when trusted
35522         code is direct caller.
35523
35524 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35525
35526         * java/io/PrintStream.java
35527         (line_separator, PrintStream(OutputStream,boolean)): Use
35528         SystemProperties.
35529
35530 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35531
35532         * gnu/java/nio/charset/Provider.java: Added comment about its
35533         special relation with CharsetProvider.
35534         (static): Removed.
35535         * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35536         its special relation with CharsetProvider.
35537         (static): Removed.
35538         * java/nio/charset/spi/CharsetProvider.java
35539         (CharsetProvider): Add special case to skip security check for
35540         built in providers.
35541
35542 2005-01-13  Mark Wielaard  <mark@klomp.org>
35543
35544         * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35545         name, accel, mnemonic and command are defined before setting.
35546
35547 2005-01-12  Mark Wielaard  <mark@klomp.org>
35548
35549         * javax/swing/plaf/metal/MetalFileChooserUI.java
35550         (FileRenderer.getListCellRendererComponent): Set empty name and null
35551         icon when File is null.
35552
35553 2006-01-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35554
35555         * gnu/java/rmi/server/UnicastRef.java (newCall):
35556         Throw ConnectException after catching IOException.
35557
35558 2006-01-12  Lillian Angel  <langel@redhat.com>
35559
35560         * javax/swing/text/DefaultStyledDocument.java
35561         (insertUpdate): Removed unneeded check.
35562
35563 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
35564
35565         * javax/swing/text/DefaultStyledDocument.java:
35566         (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35567         and we haven't come immediately after a fracture, adjust the Element
35568         offsets.  Added comment explaining the situation.
35569         (insert): Return early if no ElementSpecs passed in.  Removed redundant
35570         call to insertUpdate.  Fired the UndoableEditUpdate.
35571
35572 2006-01-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35573
35574         Fixes bug #22802
35575         * gnu/regexp/RE.java(initialize): Fixed the parsing of
35576         character classes within a subexpression.
35577
35578 2006-12-12  Lillian Angel  <langel@redhat.com>
35579
35580         * javax/swing/text/DefaultStyledDocument.java
35581         (insertUpdate): Added check to check if attribute set is 
35582         empty.
35583         (insertUpdate): Added check to determine if last character
35584         is a newline. If it is, we should not be fracturing.
35585         (insert): Added check to determine if attribute set is empty.
35586         If it is, insertUpdate should not be called.
35587
35588 2006-12-12  Guilhem Lavaux  <guilhem@kaffe.org>
35589
35590         * configure.ac: Check for isnan.
35591
35592         * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35593         define the macro.
35594
35595 2006-01-12  Chris Burdess  <dog@gnu.org>
35596
35597         * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35598           1.1 character ranges.
35599
35600 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
35601
35602         * javax/swing/TransferHandler.java:
35603         (TransferAction<init>): Call super constructor.  Fixes Mauve regression
35604         gnu/testlet/javax/swing/JTextField/CopyPaste.
35605
35606 2006-01-12  Christian Thalinger  <twisti@complang.tuwien.ac.at>
35607
35608         * resource/Makefile.am: Install 
35609         logging.properties into $(prefix)/lib.
35610         * resource/Makefile.am (securitydir): Changed to 
35611         $(prefix)/lib/security.
35612
35613 2006-01-12  Roman Kennke  <kennke@aicas.com>
35614
35615         * javax/swing/JTextField.java
35616         (createDefaultModel): Moved installation of the filterNewlines
35617         property to setDocument().
35618         (setDocument): New method. Installs the filterNewlines property
35619         on the document.
35620
35621 2006-01-12  Chris Burdess  <dog@gnu.org>
35622
35623         * gnu/xml/dom/DomNode.java,
35624           gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35625           output.
35626         * gnu/xml/xpath/NameTest.java,
35627           gnu/xml/xpath/NamespaceTest.java,
35628           gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35629           navigation.
35630         * gnu/xml/transform/MessageNode.java: Use standard logging system
35631           for outputting messages.
35632
35633 2006-01-12  Tom Tromey  <tromey@redhat.com>
35634
35635         * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35636         (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35637         (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35638         (static initializer): Removed cache code.
35639         (checkCacheFor, addToCache): Removed.
35640         (getAllByName): Removed cache code.
35641         (lookup_time): Removed.
35642         (InetAddress): Updated.
35643
35644 2006-01-12  Chris Burdess  <dog@gnu.org>
35645
35646         * gnu/xml/dom/DomDocument.java,
35647           gnu/xml/dom/DomElement.java,
35648           gnu/xml/dom/DomNode.java,
35649           gnu/xml/stream/XMLParser.java,
35650           gnu/xml/transform/Bindings.java,
35651           gnu/xml/transform/ElementAvailableFunction.java,
35652           gnu/xml/transform/ElementNode.java,
35653           gnu/xml/transform/FunctionAvailableFunction.java,
35654           gnu/xml/transform/NamespaceProxy.java,
35655           gnu/xml/transform/StreamSerializer.java,
35656           gnu/xml/transform/Stylesheet.java,
35657           gnu/xml/transform/TransformerImpl.java,
35658           gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35659           document and element nodes; correct coalescing semantics when parsing;
35660           attribute-sets can only refer to top-level variables and parameters;
35661           fix namespace retrieval during element-available and
35662           function-available functions; implement xsl:fallback for extension
35663           elements; tokenize whitespace correctly during whitespace stripping;
35664           correct following and previous node axes selectors.
35665
35666 2006-01-12  Roman Kennke  <kennke@aicas.com>
35667
35668         * java/util/Hashtable.java
35669         (KeyEnumerator.nextElement): Added null check to avoid NPE.
35670         (ValueEnumerator.nextElement): Added null check to avoid NPE.
35671
35672 2006-01-12  Lillian Angel  <langel@redhat.com>
35673
35674         * javax/swing/text/GapContent.java
35675         (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35676
35677 2006-01-12  Mark Wielaard  <mark@klomp.org>
35678
35679         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35680         Throw UnknowHostException when name could not be resolved.
35681
35682 2006-01-12  Jeroen Frijters  <jeroen@frijters.net>
35683
35684         * java/net/URL.java
35685         (static, getURLStreamHandler): Use SystemProperties.
35686
35687 2006-01-12  Mark Wielaard  <mark@klomp.org>
35688
35689         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35690         Use packet.getLength().
35691         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35692         (nativeReceive): Check whether the receiver wants zero bytes.
35693
35694 2006-01-12  Mark Wielaard  <mark@klomp.org>
35695
35696         * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35697         other side orderly closed connection.
35698         * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35699         (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35700         when end of stream reached.
35701
35702 2006-01-12  Mark Wielaard  <mark@klomp.org>
35703
35704         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35705         Remove asserts.
35706         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35707         * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35708         * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35709         * native/jni/java-net/javanet.c: Likewise.
35710
35711 2006-01-12  Mark Wielaard  <mark@klomp.org>
35712
35713         * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35714         PR classpath/23863.
35715
35716 2006-01-11  Chris Burdess  <dog@gnu.org>
35717
35718         * gnu/xml/transform/AttributeNode.java,
35719           gnu/xml/transform/ElementNode.java,
35720           gnu/xml/transform/LiteralNode.java,
35721           gnu/xml/transform/StreamSerializer.java,
35722           gnu/xml/transform/StrippingInstruction.java,
35723           gnu/xml/transform/Stylesheet.java,
35724           gnu/xml/transform/TransformerImpl.java,
35725           gnu/xml/transform/ValueOfNode.java,
35726           gnu/xml/xpath/Expr.java,
35727           gnu/xml/xpath/LocalNameFunction.java,
35728           gnu/xml/xpath/NameFunction.java,
35729           gnu/xml/xpath/NameTest.java,
35730           gnu/xml/xpath/NamespaceUriFunction.java,
35731           gnu/xml/xpath/NodeTypeTest.java,
35732           gnu/xml/xpath/SubstringFunction.java,
35733           javax/xml/namespace/QName.java: don't determine element namespace
35734           from namespace aliases when specified; better namespace handling
35735           when serializing elements; don't create HTML meta element unless
35736           head element exists; correct encoding of CDATA sections containing
35737           ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35738           default encoding for HTML output; rewrite of XSLT
35739           strip-space/preserve-space handling; correct doctype-public and
35740           doctype-system output attributes; insert generated doctype before
35741           document element; fixed result tree whitespace stripping
35742           algorithm; fixed semantics of XPath name, local-name, and
35743           namespace-uri functions; name tests handle XML/XMLNS namespaces
35744           correctly; fixed semantics of processing-instruction node test.
35745         * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35746           aid debugging.
35747
35748 2006-01-11  Lillian Angel  <langel@redhat.com>
35749
35750         * javax/swing/text/DefaultStyledDocument.java
35751         (insertFracture): Added calls to addEdit for each time a structure 
35752         is changed. addEdit is called on the newBranch, previous, and parent
35753         structures.
35754
35755 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
35756
35757         * javax/swing/text/DefaultStyledDocument.java:
35758         (ElementBuffer.insertContentTag): Don't adjust the structure here.  
35759         This will have been taken care of in insertFracture.  Added a comment
35760         explaining that we need to add edits to the DocumentEvent and that
35761         this may be the place to do it.
35762
35763 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
35764
35765         * javax/swing/text/DefaultStyledDocument.java:
35766         (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35767         tag is an end tag. Avoid NPE by pushing the proper Element on to the 
35768         elementStack when there is a start tag with JoinNextDirection.
35769
35770 2006-01-11  Roman Kennke  <kennke@aicas.com>
35771
35772         Reported by: Fridjof Siebert <siebert@aicas.com>
35773         * java/util/Hashtable.java
35774         (KEYS): Removed unneeded field.
35775         (VALUES): Removed unneeded field.
35776         (ENTRIES): Removed unneeded field.
35777         (keys): Return a KeyEnumerator instance.
35778         (elements): Returns a ValueEnumerator instance.
35779         (toString): Use an EntryIterator instance.
35780         (keySet): Return a KeyIterator instance.
35781         (values): Return a ValueIterator instance.
35782         (entrySet): Return an EntryIterator instance.
35783         (hashCode): Use EntryIterator instance.
35784         (rehash): Changed this loop to avoid redundant reads and make
35785         it obvious that null checking is not needed.
35786         (writeObject): Use EntryIterator instance.
35787         (HashIterator): Removed class.
35788         (Enumerator): Removed class.
35789         (EntryIterator): New class.
35790         (KeyIterator): New class.
35791         (ValueIterator): New class.
35792         (EntryEnumerator): New class.
35793         (KeyEnumerator): New class.
35794         (ValueEnumerator): New class.
35795
35796 2006-01-11  Lillian Angel  <langel@redhat.com>
35797
35798         * javax/swing/text/DefaultStyledDocument.java
35799         (toString): Shouldn't append the '>' character here.
35800         (createDefaultRoot): Should not set the resolve parent. This
35801         causes problems when comparing attribute sets.
35802
35803 2006-01-10  Anthony Balkissoon  <abalkiss@redhat.com>
35804
35805         * javax/swing/text/DefaultStyledDocument.java:
35806         (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35807         end tags.
35808         (ElementBuffer.insertFracture): New method.
35809         (ElementBuffer.insertContentTag): Removed unnecessary case for 
35810         JoinFractureDirection - this only applies to start tags, not content
35811         tags.
35812         (insertUpdate): Corrected conditions for setting direction to 
35813         JoinNextDirection.
35814
35815 2006-01-10  Roman Kennke  <kennke@aicas.com>
35816
35817         * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35818         * ChangeLog-2005: New File.
35819
35820 2006-01-10  Roman Kennke  <kennke@aicas.com>
35821
35822         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35823         (get): Release the array with the correct pointer.
35824         (put): Release the array with the correct pointer. Copy the array
35825         around _before_ releasing it.
35826
35827 2006-01-10  Roman Kennke  <kennke@aicas.com>
35828
35829         * javax/swing/ViewportLayout.java
35830         (layoutContainer): Fixed condition, to avoid ClasscastException.
35831
35832 2006-01-10  Roman Kennke  <kennke@aicas.com>
35833
35834         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35835         (MouseHandler.mousePressed): Fixed indendation.
35836         (MouseHandler.mouseDragged): Fixed indendation.
35837
35838 2006-01-10  Roman Kennke  <kennke@aicas.com>
35839
35840         * javax/swing/plaf/basic/BasicLookAndFeel.java
35841         (playSound): Added @since 1.4 to the API docs.
35842
35843 2006-01-10  Roman Kennke  <kennke@aicas.com>
35844
35845         * javax/swing/plaf/basic/BasicListUI.java
35846         (maybeUpdateLayoutState): Also update the layout state, if the
35847         list has been invalidated since the last update.
35848
35849 2006-01-10  Roman Kennke  <kennke@aicas.com>
35850
35851         * javax/swing/plaf/ComponentUI.java
35852         (update): Fixed indendation.
35853
35854 2006-01-10  Roman Kennke  <kennke@aicas.com>
35855
35856         * javax/swing/ViewportLayout.java
35857         (layoutContainer): Fixed condition, so that Scrollable components
35858         are always forced to have to Viewport size, when they
35859         return true for getScrollableTracksViewportHeight() and ..Width().
35860
35861 2006-01-10  Roman Kennke  <kennke@aicas.com>
35862
35863         * javax/swing/RepaintManager.java
35864         (validateInvalidComponents): Fixed condition to avoid NPE.
35865
35866 2006-01-10  Roman Kennke  <kennke@aicas.com>
35867
35868         * javax/swing/JViewport.java:
35869         (static_initializer): Removed unused variable myScrollMode.
35870
35871 2006-01-10  Roman Kennke  <kennke@aicas.com>
35872
35873         * javax/swing/JTabbedPane.java:
35874         Cleared API docs a little.
35875
35876 2006-01-10  Roman Kennke  <kennke@aicas.com>
35877
35878         * java/util/StringTokenizer.java
35879         (StringTokenizer(String, String, boolean)):
35880         Don't trigger NPE here for conformance with the spec.
35881
35882 2006-01-10  Roman Kennke  <kennke@aicas.com>
35883
35884         * java/util/ArrayList.java
35885         (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35886
35887 2006-01-10  Roman Kennke  <kennke@aicas.com>
35888
35889         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35890         (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35891         field to avoid NPE.
35892
35893 2006-01-10  Roman Kennke  <kennke@aicas.com>
35894
35895         * native/jni/java-net/javanet.c
35896         (_javanet_shutdownOutput): Replaced strerror() with
35897         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35898         (_javanet_shutdownInput): Replaced strerror() with
35899         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35900
35901 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
35902
35903         * java/beans/EventSetDescriptor.java: Reformatted and
35904         fixed API docs.
35905
35906 2006-01-10  Roman Kennke  <kennke@aicas.com>
35907
35908         * java/lang/SecurityManager.java
35909         Fully qualified AWT class references in API docs.
35910
35911 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
35912
35913         * java/beans/EventSetDescriptor.java:
35914         (getGetListenerMethod): New method.
35915
35916 2006-01-10  Mark Wielaard  <mark@klomp.org>
35917
35918         * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35919
35920 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
35921
35922         PR classpath/25727
35923         * java/util/Hashtable.java
35924         (contains): Call equals on existing value.
35925         (containsKey, get, put, remove): Call equals on existing key.
35926         (getEntry): Call equals on existing entry.
35927
35928 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
35929
35930         PR classpath/24618
35931         * java/util/AbstractMap.java
35932         (equals(Object,Object)): Test for identity first.
35933         * java/util/WeakHashMap.java
35934         (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35935         (WeakBucket.WeakEntry.toString): Fixed string representation of
35936         null key.
35937         (internalGet): Use helper method to determine equality.
35938
35939 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
35940
35941         * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35942         constructors.
35943
35944 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
35945
35946         * javax/swing/text/PlainDocument.java:
35947         (insertUpdate): Handle special case of an insertion immediately 
35948         following a newline character.
35949
35950 2006-01-09  Roman Kennke  <kennke@aicas.com>
35951
35952         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35953         (connect): Added stream parameter to _connect() call.
35954         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35955         (connect): Added stream parameter to _connect() call.
35956         * native/jni/java-net/javanet.c
35957         (_javanet_create_localfd): Added stream parameter. Look up
35958         fd field based on the stream parameter either in SocketImpl or
35959         in DatagramSocketImpl.
35960         (_javanet_connect): Added stream parameter. Call create_localfd
35961         using this stream parameter. Set localPort field either in
35962         SocketImpl or in DatagramSocketImpl, depending on the stream
35963         flag.
35964         * native/jni/java-net/javanet.c
35965         (_javanet_connect): Added stream parameter.
35966
35967 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35968
35969         * javax.management.Attribute.java: Grammar and 
35970         formatting fixes.
35971
35972 2006-01-09  Mark Wielaard  <mark@klomp.org>
35973
35974         * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
35975         exception when channel is not readable or writable.
35976         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
35977         (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
35978         there is enough space to mmap().
35979
35980 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
35981
35982         * java/beans/Introspector.java:
35983         (getBeanInfo(Class, int)): New method.
35984         (getBeanInfo(Class, Class): Moved common code in a new method.
35985         (merge): New method.
35986
35987 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
35988
35989         * java/beans/XMLEncoder.java: Fix spelling mistakes.
35990
35991 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
35992
35993         * javax/swing/text/DefaultStyledDocument.java:
35994         (insertUpdate): Removed call to checkForInsertAfterNewline and instead
35995         inlined this method because it needs to change the value of the 
35996         finalStartTag and finalStartDirection variables.
35997         (checkForInsertAfterNewline): Removed this method.
35998         (handleInsertAfterNewline): Added case for making the start tag's 
35999         direction JoinNextDirection.
36000
36001 2006-01-09  Lillian Angel  <langel@redhat.com>
36002
36003         * javax/swing/plaf/basic/BasicTreeUI.java:
36004         Added new field.
36005         (setRowHeight): Row height is set to the max height of
36006         all the nodes, or 20 as a default value.
36007         (getPathBounds): Cleaned up code.
36008         (getMaxHeight): New helper function that gets the max 
36009         height of all the rows.
36010         (getClosestPathForLocation): Fixed to use getMaxHeight.
36011         (updateCachedPreferredSize): Likewise.
36012         (installUI): Shouldn't expand tree on startup.
36013         (getNodeDimensions): Fixed to use getMaxHeight. 
36014
36015 2006-01-09  Mark Wielaard  <mark@klomp.org>
36016
36017         * javax/swing/JList.java (setSelectedIndex): Clear selection when
36018         argument is negative.
36019
36020 2006-01-08  Mark Wielaard  <mark@klomp.org>
36021
36022         * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
36023
36024 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36025
36026         * javax.management.Attribute.java: New file. 
36027
36028 2006-01-09  Roman Kennke  <kennke@aicas.com>
36029
36030         * java/net/DatagramSocketImpl.java
36031         (localPort): Renamed to localport for correct access from native
36032         code.
36033
36034 2006-01-09  Roman Kennke  <kennke@aicas.com>
36035
36036         * javax/swing/Popup.java
36037         (LightweightPopup.hide): Repaint the layered pane when popup is
36038         removed.
36039
36040 2006-01-09  Roman Kennke  <kennke@aicas.com>
36041
36042         * java/awt/Container.java
36043         (remove): Don't repaint the container here.
36044
36045 2006-01-08  Tom Tromey  <tromey@redhat.com>
36046
36047         * java/lang/InheritableThreadLocal.java: Organized imports.
36048
36049 2006-01-08  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
36050
36051         Fixes bug #25679
36052         * gnu/regexp/RETokenRepeated.java(match): Optimized the case
36053         when an empty string matched an empty token.
36054
36055 2006-01-08  Chris Burdess  <dog@gnu.org>
36056
36057         * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
36058           content models from external entities.
36059         * gnu/xml/stream/UnicodeReader.java: Report error instead of
36060           attempting to continue with unpaired surrogates.
36061         * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
36062           resolving entities with character entity references; better
36063           checking of valid character ranges; don't report an error for URI
36064           fragments in notation declarations; check unbound namespace
36065           prefixes for elements and attributes, including XML 1.1 unbinding
36066           syntax; namespace-aware checking of attribute duplicates.
36067
36068 2006-01-08  Robert Schuster  <robertschuster@fsfe.org>
36069
36070         * java/beans/Statement.java: Doc fixes.
36071         (doExecute): Workaround for Class.forName call.
36072         (toString): Made output look more like on the JDK.
36073         * java/beans/Expression.java: Doc fixes.
36074         (toString): Made output look more like on the JDK.
36075         * java/beans/PersistenceDelegate.java,
36076         java/beans/DefaultPersistenceDelegate.java,
36077         java/beans/Encoder.java,
36078         java/beans/XMLEncoder.java: New file.
36079         * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
36080         gnu/java/beans/encoder/ClassPersistenceDelegate.java,
36081         gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
36082         gnu/java/beans/encoder/Context.java,
36083         gnu/java/beans/encoder/GenericScannerState.java,
36084         gnu/java/beans/encoder/IgnoringScannerState.java,
36085         gnu/java/beans/encoder/MapPersistenceDelegate.java,
36086         gnu/java/beans/encoder/ObjectId.java,
36087         gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
36088         gnu/java/beans/encoder/ReportingScannerState.java,
36089         gnu/java/beans/encoder/Root.java,
36090         gnu/java/beans/encoder/ScanEngine.java,
36091         gnu/java/beans/encoder/ScannerState.java,
36092         gnu/java/beans/encoder/StAXWriter.java,
36093         gnu/java/beans/encoder/Writer.java: New file.
36094         * gnu/java/beans/encoder/elements/Array_Get.java,
36095         gnu/java/beans/encoder/elements/Element.java,
36096         gnu/java/beans/encoder/elements/List_Set.java,
36097         gnu/java/beans/encoder/elements/Array_Set.java,
36098         gnu/java/beans/encoder/elements/NullObject.java,
36099         gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
36100         gnu/java/beans/encoder/elements/StaticFieldAccess.java,
36101         gnu/java/beans/encoder/elements/StringReference.java,
36102         gnu/java/beans/encoder/elements/ClassResolution.java,
36103         gnu/java/beans/encoder/elements/ArrayInstantiation.java,
36104         gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
36105         gnu/java/beans/encoder/elements/ObjectReference.java,
36106         gnu/java/beans/encoder/elements/ObjectInstantiation.java,
36107         gnu/java/beans/encoder/elements/List_Get.java,
36108         gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
36109
36110 2006-01-08  Chris Burdess  <dog@gnu.org>
36111
36112         * java/lang/Character.java (toChars,toCodePoint): Correct these
36113           methods to use algorithms from Unicode specification.
36114  
36115 2006-01-08  Mark Wielaard  <mark@klomp.org>
36116
36117         * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
36118
36119 2006-01-07  Paul Jenner  <psj@harker.dyndns.org>
36120
36121         Fixes bug #25711
36122         * examples/Makefile.am: Corrected DESTDIR install paths.
36123
36124 2006-01-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36125
36126         * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non - 
36127         ASCII character (line 46).
36128
36129 2006-01-07  Roman Kennke  <kennke@aicas.com>
36130
36131         * javax/swing/text/TableView.java: New file.
36132
36133 2006-01-07  Chris Burdess  <dog@gnu.org>
36134
36135         * gnu/xml/stream/BufferedReader.java: Removed commented out code.
36136         * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
36137         * gnu/xml/stream/XMLParser.java: Make additional StAX properties
36138           available; correct handling of unparsed entity references;
36139           absolutize all base URIs; remove commented out code.
36140
36141 2006-01-07  Chris Burdess  <dog@gnu.org>
36142
36143         * gnu/xml/stream/SAXParser.java,
36144           gnu/xml/stream/XMLParser.java: Add SAX property to return base
36145           URI of the current event.
36146
36147 2006-01-07  Chris Burdess  <dog@gnu.org>
36148
36149         * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
36150           aware processing.
36151
36152 2006-01-07  Chris Burdess  <dog@gnu.org>
36153
36154         * gnu/xml/stream/SAXParser.java,
36155           gnu/xml/stream/XIncludeFilter.java,
36156           gnu/xml/stream/XMLParser.java: Updated documentation.
36157
36158 2006-01-07  Chris Burdess  <dog@gnu.org>
36159
36160         * AUTHORS: add self.
36161
36162 2006-01-06  Casey Marshall  <csm@gnu.org>
36163
36164         * AUTHORS: add myself.
36165
36166 2006-01-06  Casey Marshall  <csm@gnu.org>
36167
36168         PR classpath/25699
36169         * javax/crypto/CipherInputStream.java (logger): new constant.
36170         (cipher): make final.
36171         (outLength, inBuffer, inLength): removed.
36172         (isStream): make final.
36173         (VIRGIN, LIVING, DYING, DEAD, state): removed.
36174         (eof): new field.
36175         (<init>): call `super,' not `this;' remove `inBuffer' and
36176         `outBuffer' initialization; init `eof;' add debug logging.
36177         (<init>): call `this' with a new null cipher.
36178         (available): fix javadoc to reflect the real semantics; if we
36179         don't have a buffer, call `nextBlock.'
36180         (close): synchronize.
36181         (read): synchronize; fix testing for buffered data.
36182         (read): synchronize; add `skip' semantics if first argument is
36183         `null;' decrypt stream cipher data only if there is any; fix tests
36184         for buffered data.
36185         (skip): stop using `available' to see how many data are buffered.
36186         (nextBlock): simplify to use cipher-allocated output buffers
36187         instead of internally allocated ones.
36188
36189 2006-01-06  Tom Tromey  <tromey@redhat.com>
36190
36191         * java/lang/String.java (codePointCount): Fixed javadoc.
36192
36193 2006-01-06  Tom Tromey  <tromey@redhat.com>
36194
36195         * java/lang/String.java (contains): Added @since.
36196
36197 2006-01-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
36198
36199         Fixes bug #25616
36200         * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
36201         * gnu/regexp/RETokenRepeated.java(match): Break the loop
36202         when an empty string matched an empty token.
36203
36204 2006-01-06  Jeroen Frijters  <jeroen@frijters.net>
36205
36206         PR classpath/24858
36207         * gnu/java/util/WeakIdentityHashMap.java: New file.
36208         * java/lang/InheritableThreadLocal.java
36209         (newChildThread): Modified to remove key indirection.
36210         * java/lang/Thread.java
36211         (locals): Changed type to WeakIdentityHashMap.
36212         (getThreadLocals): Instantiate WeakIdentityHashMap instead of
36213         WeakHashMap.
36214         * java/lang/ThreadLocal.java
36215         (key, Key): Removed.
36216         (get, set): Changed to use "this" instead of "key".
36217
36218 2006-01-06  Dalibor Topic  <robilad@kaffe.org>
36219
36220         * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
36221
36222         * native/fdlibm/java-assert.h: Removed file.
36223
36224         * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
36225         Replaced use of JvAssert by assert.
36226
36227 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
36228
36229         * javax/swing/text/DefaultCaret.java:
36230         (setDot): Fixed paramater to Math.max to be this.dot and not the 
36231         parameter dot.
36232
36233 2006-01-05  Roman Kennke  <kennke@aicas.com>
36234
36235         * javax/swing/plaf/basic/BasicListUI.java
36236         (getCellHeight): New helper method.
36237         (getCellBounds): Use new helper method for determining the cell
36238         height.
36239         (paint): Don't call list.indexToLocation() but instead call
36240         directly into the same UI method.
36241         (locationToIndex): Fixed calculation of # visible rows and handling
36242         of cell heights.
36243         (indexToLocation): Fixed calculation of # visible rows and handling
36244         of cell heights.
36245
36246 2006-01-05  Roman Kennke  <kennke@aicas.com>
36247
36248         * javax/swing/plaf/metal/MetalFileChooserUI.java
36249         (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
36250         in the file chooser.
36251
36252 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
36253
36254         * javax/swing/JTextPane.java:
36255         (replaceSelection): If the document is an AbstractDocument, use replace
36256         rather than remove and insert.
36257         * javax/swing/event/EventListenerList.java:
36258         (getListeners): Reversed the order of the listeners to match the 
36259         reference implementation.
36260         * javax/swing/text/AbstractDocument.java:
36261         (insertString): Add the UndoableEdit from the content.insertString call
36262         to the DocumentEvent.
36263         (DefaultDocumentEvent.toString): Implemented.
36264         * javax/swing/text/DefaultCaret.java:
36265         (setDot): Make sure dot is > 0 and less than the length of the 
36266         document.
36267         * javax/swing/text/DefaultStyledDocument.java:
36268         (ElementBuffer.insertUpdate): Set the modified tag of the document 
36269         event when we get start and end tags.  This ensures that we create the
36270         proper BranchElements in endEdit().
36271         (ElementBuffer.insertUpdate): Added FIXME to handle 
36272         JoinFractureDirection case.
36273         (insertUpdate): Added code to check if we're inserting immediately 
36274         after a newline and to handle this case (create start and end tags). 
36275         Only change the direction of the first and last tags if they are of 
36276         type ContentType.
36277         (checkForInsertAfterNewline): New helper method.
36278         (handleInsertAfterNewline): Likewise.
36279         * javax/swing/text/View.java:
36280         (updateLayout): Avoid NPE by checking if shape is null.  Repaint 
36281         container.
36282
36283 2006-01-05  Mark Wielaard  <mark@klomp.org>
36284
36285         * newsitems.txt: Add fosdem meeting.
36286         * events/events.wml: Likewise.
36287         * events/fosdem06.wml: New file.
36288         
36289 2006-01-05  Lillian Angel  <langel@redhat.com>
36290         
36291         * javax/swing/text/GapContent.java
36292         (createPosition): No positions should be created inside the
36293         gap. Fixed check to ensure this does not happen.
36294
36295 2006-01-05  Roman Kennke  <kennke@aicas.com>
36296
36297         * javax/swing/RepaintManager.java
36298         (validateInvalidComponents): Search for the validate root
36299         and start validating there.
36300
36301 2006-01-05  Roman Kennke  <kennke@aicas.com>
36302
36303         * javax/swing/plaf/basic/BasicListUI.java
36304         (ComponentHandler): Removed unneeded class.
36305         (ListDataHandler.contentsChanged): Revalidate instead of calling
36306         damageLayout().
36307         (ListDataHandler.intervalAdded): Revalidate instead of calling
36308         damageLayout().
36309         (ListDataHandler.intervalRemoved): Revalidate instead of calling
36310         damageLayout().
36311         (PropertyChangeHandler.propertyChange): Or flags together instead
36312         of adding them. Don't call damageLayout().
36313         (componentListener): Removed unnecessary field.
36314         (damageLayout): Removed unnecessary method.
36315         (installListeners): Don't install unnecessary listeners.
36316         (uninstallListeners): Dito.
36317         (getPreferredSize): Don't ask for the real list height and
36318         calculate with the previously calculated list height.
36319         (locationToIndex): Renamed list parameter to l so that it doesn't
36320         shadow the field with the same name.
36321         (indexToLocation): Renamed list parameter to l so that it doesn't
36322         shadow the field with the same name.
36323
36324 2006-01-04  Tom Tromey  <tromey@redhat.com>
36325
36326         * include/.cvsignore: Ignore config-int.h.
36327
36328 2006-01-04  Roman Kennke  <kennke@aicas.com>
36329
36330         * javax/swing/plaf/basic/BasicListUI.java
36331         (getPreferredSize): Rewritten to match the specs.
36332
36333 2006-01-04  Roman Kennke  <kennke@aicas.com>
36334
36335         * javax/swing/JFileChooser.java
36336         (showOpenDialog): Set fixed width on the dialog.
36337         (showSaveDialog): Set fixed width on the dialog.
36338         (showDialog): Set fixed width on the dialog.
36339
36340 2006-01-04  Roman Kennke  <kennke@aicas.com>
36341
36342         * javax/swing/plaf/basic/BasicListUI.java
36343         (locationToIndex): Added FIXME about getVisibleRowCount() usage.
36344         Adjusted iteration to not use visibleRowCount and instead iterate
36345         over the real number of elements in cellHeights.
36346         (indexToLocation): Added FIXME about getVisibleRowCount() usage.
36347         Adjusted iteration to not use visibleRowCount and instead iterate
36348         over the real number of elements in cellHeights.
36349
36350 2006-01-04  Roman Kennke  <kennke@aicas.com>
36351
36352         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
36353         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36354         Added __attribute__((__unused__)) macros to avoid gcc warnings.
36355
36356 2006-01-04  Roman Kennke  <kennke@aicas.com>
36357
36358         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
36359         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
36360         New VM class.
36361         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
36362         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36363         New file.
36364         * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36365         Removed.
36366         * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36367         * native/jni/java-net/Makefile.am: Adjusted for new source files.
36368         * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36369         * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36370         * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36371         * include/gnu_java_net_PlainSocketImpl.h: Removed.
36372         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36373         * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36374
36375 2006-01-04  Lillian Angel  <langel@redhat.com>
36376
36377         * javax/swing/plaf/metal/MetalFileChooserUI.java
36378         (propertyChange): Fixed to change the combo box label
36379         appropriately. Also, fixed to set the textfield's text
36380         correctly.
36381         (editFile): Fixed size of editing field.
36382         (installComponents): Correctly aligned all panels.
36383         (installStrings): Fixed to set the label's text
36384         appropriately depending on the dialog type.
36385
36386 2006-01-04  Lillian Angel  <langel@redhat.com>
36387
36388         PR classpath/25473 
36389         PR classpath/25479
36390         * javax/swing/JTree.java
36391         (JTree): Because some L&F defaults have been updated,
36392         the selectionMode for the tree needed to be set to SINGLE.
36393         * javax/swing/plaf/basic/BasicFileChooserUI.java:
36394         Initialized accessoryPanel.
36395         * javax/swing/plaf/metal/MetalFileChooserUI.java
36396         (installComponents): Added accessoryPanel to the filechooser.
36397
36398 2006-01-04  Dalibor Topic  <robilad@kaffe.org>
36399
36400         * configure.ac: Added AX_CREATE_STDINT_H
36401
36402         * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36403
36404         * m4/ax_create_stdint_h.m4: New file.
36405
36406         * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36407         typedefs. Removed stdint.h and inttypes.h includes.
36408  
36409 2006-01-03  Mark Wielaard  <mark@klomp.org>
36410
36411         * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36412         register keyboard action when accelerator is not null.
36413         * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36414         re-register accelerator if not null.
36415         (installKeyboardActions): Only put accelerator in map when not null.
36416
36417 2006-01-04  Lillian Angel  <langel@redhat.com>
36418
36419         * javax/swing/plaf/basic/BasicLookAndFeel.java
36420         (initComponentDefaults): Removed unneeded default.
36421         * javax/swing/plaf/metal/MetalLookAndFeel.java
36422         (initComponentDefaults): Added and fixed several defaults.
36423
36424 2006-01-04  Roman Kennke  <kennke@aicas.com>
36425
36426         * javax/swing/plaf/basic/BasicHTML.java: New class.
36427
36428 2006-01-03  Tom Tromey  <tromey@redhat.com>
36429
36430         * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36431         * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36432
36433 2006-01-03  Mark Wielaard  <mark@klomp.org>
36434
36435         * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36436
36437 2006-01-03  Mark Wielaard  <mark@klomp.org>
36438
36439         * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36440         Always call createDefaultTheme().
36441         (createDefaultTheme): Check whether theme is still null.
36442
36443 2006-01-03  Mark Wielaard  <mark@klomp.org>
36444
36445         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36446         Color.WHITE if null.
36447
36448 2006-01-03  Lillian Angel  <langel@redhat.com>
36449
36450         * javax/swing/plaf/metal/MetalLookAndFeel.java
36451         (getDescription): Fixed to return the correct string.
36452         (getID): Likewise.
36453         (getName): Likewise.
36454         (getDefaults): Added check to avoid NPE.
36455         (getAcceleratorForeground): Likewise.
36456         (getAcceleratorSelectedForeground): Likewise.
36457         (getBlack): Likewise.
36458         (getControl): Likewise.
36459         (getControlDarkShadow): Likewise.
36460         (getControlDisabled): Likewise.
36461         (getControlHighlight): Likewise.
36462         (getControlInfo): Likewise.
36463         (getControlShadow): Likewise.
36464         (getControlTextColor): Likewise.
36465         (getControlTextFont): Likewise.
36466         (getDesktopColor): Likewise.
36467         (getFocusColor): Likewise.
36468         (getHighlightedTextColor): Likewise.
36469         (getInactiveControlTextColor): Likewise.
36470         (getInactiveSystemTextColor): Likewise.
36471         (getMenuBackground): Likewise.
36472         (getMenuDisabledForeground): Likewise.
36473         (getMenuForeground): Likewise.
36474         (getMenuSelectedBackground): Likewise.
36475         (getMenuSelectedForeground): Likewise.
36476         (getMenuTextFont): Likewise.
36477         (getPrimaryControl): Likewise.
36478         (getPrimaryControlDarkShadow): Likewise.
36479         (getPrimaryControlHighlight): Likewise.
36480         (getPrimaryControlInfo): Likewise.
36481         (getPrimaryControlShadow): Likewise.
36482         (getSeparatorBackground): Likewise.
36483         (getSeparatorForeground): Likewise.
36484         (getSubTextFont): Likewise.
36485         (getSystemTextColor): Likewise.
36486         (getSystemTextFont): Likewise.
36487         (getTextHighlightColor): Likewise.
36488         (getUserTextColor): Likewise.
36489         (getUserTextFont): Likewise.
36490         (getWhite): Likewise.
36491         (getWindowBackground): Likewise.
36492         (getWindowTitleBackground): Likewise.
36493         (getWindowTitleFont): Likewise.
36494         (getWindowTitleForeground): Likewise.
36495         (getWindowTitleInactiveBackground): Likewise.
36496         (getWindowTitleInactiveForeground): Likewise.
36497
36498 2006-01-03  Mark Wielaard  <mark@klomp.org>
36499
36500         * javax/swing/JTextArea.java
36501         (JTextArea(Document,text,int,int)): Only call setText() when text is
36502         not null.
36503
36504 2006-01-03  Lillian Angel  <langel@redhat.com>
36505
36506         * javax/swing/plaf/basic/BasicFileChooserUI.java
36507         (installStrings): Fixed installation of defaults that
36508         were changed in BasicLookAndFeel.
36509         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36510         (installDefaults): Fixed installation of defaults that
36511         were changed in BasicLookAndFeel.
36512
36513 2006-01-03  Lillian Angel  <langel@redhat.com>
36514
36515         * javax/swing/plaf/basic/BasicLookAndFeel.java
36516         (initComponentDefaults): Fixed several defaults that differed
36517         from the JDK.
36518
36519 2006-01-03  Lillian Angel  <langel@redhat.com>
36520
36521         * javax/swing/tree/DefaultTreeSelectionModel.java
36522         (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36523
36524 2006-01-03  Lillian Angel  <langel@redhat.com>
36525
36526         * javax/swing/AbstractAction.java
36527         (AbstractAction): Fixed to pass in null. Should not be 
36528         an empty string. Removed TODO comment.
36529         (AbstractAction): Removed TODO comment.
36530         * javax/swing/JList.java
36531         (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36532         * javax/swing/JMenuItem.java
36533         (JMenuItem): Set all defaults if the action passed in is not null.
36534         * javax/swing/JProgressBar.java
36535         (JProgressBar): Added check to prevent NPE.
36536
36537 2006-01-03  Lillian Angel  <langel@redhat.com>
36538
36539         * javax/swing/plaf/basic/BasicListUI.java
36540         (getPreferredSize): The JDK adds some extra space to 
36541         the list, so we should as well.
36542         * javax/swing/plaf/metal/MetalFileChooserUI.java
36543         (getPreferredSize): Should only take the fileListPanel's
36544         width into account when getting the size. Also, the buttonPanel's
36545         size should not be checked, since it is in the bottomPanel already.
36546         (getMinimumSize): Likewise.
36547
36548 2006-01-03  Lillian Angel  <langel@redhat.com>
36549
36550         * javax/swing/JList.java
36551         (init): visibleRowCount should be 7, like the JDK.
36552         * javax/swing/plaf/metal/MetalFileChooserUI.java
36553         (installComponents): No need to add the fileFilterCombo
36554         to a panel. It can be added to the row directly.
36555
36556 2006-01-03  Lillian Angel  <langel@redhat.com>
36557         
36558         PR classpath/25480 PR classpath/25478
36559         * javax/swing/plaf/basic/BasicScrollPaneUI.java
36560         (updateViewport): Made changes suggested by
36561         Chris Lansdown.
36562         * javax/swing/plaf/metal/MetalFileChooserUI.java:
36563         Removed unneeded import.
36564         (createList): Removed comment, JList wrapping 
36565         now works.
36566         (getPreferredSize): Made changes suggested by
36567         Chris Lansdown. Uses fileListPanel, instead
36568         of fileList.
36569         (getMinimumSize): Uses fileListPanel, instead
36570         of fileList.
36571         * javax/swing/plaf/metal/MetalRadioButtonUI.java
36572         (paintFocus): Fixed height.
36573
36574 2006-01-03  Roman Kennke  <kennke@aicas.com>
36575
36576         * javax/swing/plaf/basic/BasicListUI.java
36577         (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36578
36579 2006-01-03  Roman Kennke  <kennke@aicas.com>
36580
36581         * javax/swing/plaf/basic/BasicListUI.java
36582         (locationToIndex): Special case for when variable cell heights
36583         are possible. (cellHeights is used instead of cellHeight).
36584         (indexToLocation): Special case for when variable cell heights
36585         are possible. (cellHeights is used instead of cellHeight).
36586
36587 2006-01-03  Roman Kennke  <kennke@aicas.com>
36588
36589         * javax/swing/text/DefaultStyledDocument.java
36590         (ElementBuffer.remove): New method.
36591         (ElementBuffer.removeUpdate): New method.
36592         (removeUpdate): New method.
36593
36594 2006-01-03  Roman Kennke  <kennke@aicas.com>
36595
36596         * lib/Makefile.am:
36597         (dist-hook): Preserve attributes of Java sources when copying to
36598         dist dir.
36599
36600 2006-01-03  Raif S. Naffah  <raif@swiftdsl.com.au>
36601
36602         * AUTHORS: Added self.
36603         * java/security/Security.java (getProvider): Ensures provider's name is
36604           not null, not an empty string, and is trimmed before usage.
36605
36606 2006-01-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36607
36608         * gnu/CORBA/Poa/AOM.java (add):
36609         Changed parameter Object into gnuServantObject.
36610         (Obj.object): Changed type to gnuServantObject.
36611         (findObject): Rewritten.
36612
36613 2006-01-01  Andreas Tobler  <a.tobler@schweiz.ch>
36614
36615         * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36616         buffering. Ability has gone in Qt-4.1.x.
36617
36618         * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36619         to have the right include flags.
36620
36621 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
36622
36623         * java/security/MessageDigest.java (getInstance(String,String)):
36624         Use trimmed copy of provider name.
36625         * gnu/java/security/Engine.java
36626         (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36627         service and algorithm names.
36628
36629 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
36630
36631         * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36632         localhost is null or is an empty string. Trim hostname before
36633         lookup.
36634