OSDN Git Service

libjava
[pf3gnuchains/gcc-fork.git] / libjava / classpath / ChangeLog
1 2007-04-18  Tom Tromey  <tromey@redhat.com>
2
3         * tools/gnu/classpath/tools/javah/MethodHelper.java (print):
4         Changed arguments.  Directly print method name.
5         * tools/gnu/classpath/tools/javah/ClassWrapper.java
6         (methodNameMap): New field.
7         (makeVtable): Initialize it.
8         (printMethods): Compute name for bridge targets.
9
10 2007-04-17  Andrew Haley  <aph@redhat.com>
11
12         * gnu/java/rmi/server/UnicastConnectionManager.java
13         (UnicastConnectionManager(int port, RMIServerSocketFactory)):
14         Listen on "localhost", not localhost.
15
16 2007-04-17  Francis Kung  <fkung@redhat.com>
17
18         PR classpath/31311
19         * gnu/java/awt/peer/gtk/ComponentGraphics.java
20         (dispose): Removed method.
21         (disposeSurface): Removed method.
22         * gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
23         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
24         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed.
25         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surface
26         after it is used to create a cairo context.
27
28 2007-04-16  Tom Tromey  <tromey@redhat.com>
29
30         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614
31         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
32         (createSocket): Change order of delegation.
33
34 2007-04-16  Andrew Haley  <aph@redhat.com>
35
36         * java/io/ObjectInputStream.java: (parseContent):  Call (String,
37         Object) version of dumpElementln.
38         (dumpElementln(String, Object)): New method.
39         * java/io/ObjectOutputStream.java (writeObject): Call (String,
40         Object) version of dumpElementln.
41         (dumpElementln(String, Object)): New method.
42
43 2007-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
44
45         * javax/management/ObjectName.java:
46         (parse(String)): Catch multiple wildcards,
47         initialise with an empty string (so null isn't
48         appended), and emit comma even when wildcard
49         ends the list.
50         (checkComponents()): Catch newlines.
51         (quote(String)): Handle newlines and quotes
52         correctly.
53
54 2007-04-16  Andrew Haley  <aph@redhat.com>
55
56         * org/omg/IOP/TaggedComponentHelper.java (read): Use
57         read_octet_array(), not read().
58         (write): Use write_octet_array(), not write().
59
60         * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
61         delegate has been set.
62
63         * javax/management/ObjectName.java serialVersionUID: Declare.
64         Make all fields transient.
65         (parse): Break out from constructor.
66         (writeObject, readObject): New methods.
67
68 2007-04-02  Keith Seitz  <keiths@redhat.com>
69
70         * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
71         Event type is "THREAD_START" not "THREAD_END".
72
73         * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
74         Handle configure strings ":port" and "port".
75
76 2007-03-30  Andrew Haley  <aph@redhat.com>
77
78         * javax/management/ObjectName.java: Handle 0-length names.
79
80 2007-03-27  Andrew Haley  <aph@redhat.com>
81
82         * javax/management/MBeanServerFactory.java: Use the domain that
83         we've been passed, not the fixed string "DefaultDomain".
84
85 2007-03-29  Tom Tromey  <tromey@redhat.com>
86
87         PR libgcj/29869:
88         * gnu/java/util/jar/JarUtils.java (log): Commented out.
89         (readSFManifest): Don't log.
90
91 2007-03-28  Casey Marshall  <csm@gnu.org>
92
93         * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
94         check keyEncipherment bit of the certificate, and just pass the public
95         key to the cipher.
96
97 2007-03-27  Casey Marshall  <csm@gnu.org>
98
99         PR classpath/31302:
100         * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
101         Always make a new socket.
102         (bind, connect, getInetAddress, getLocalAddress, getPort,
103         getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
104         setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
105         setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
106         setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
107         getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
108         getTrafficClass, setReuseAddress, getReuseAddress, close,
109         shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
110         isInputShutdown, isOutputShutdown): Always use
111         'underlyingSocket'.
112
113 2007-03-27  Tom Tromey  <tromey@redhat.com>
114
115         PR classpath/31303:
116         * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
117         (createXMLReader): Code in Classpath default.
118
119 2007-03-27  Keith Seitz  <keiths@redhat.com>
120
121         Merged from upstream:
122         2007-03-09  Kyle Galloway  <kgallowa@redhat.com>
123         * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
124         * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
125         (executeGetValues): Use Value type.
126         (exectureSetValues): Ditto.  
127         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
128         (executeGetValues): Use Value type.
129         (executeSetValues): Ditto.
130         (invokeMethod): Record method return type.
131         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
132         (executeGetValues): Use Value type.
133         (executeSetValues): Ditto.
134         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
135         (executeGetValues): Use Value type.
136         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
137         (executeGetValues): Use Value type.
138         (executeSetValues): Ditto.
139         * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store
140         return type.
141         (getResultType): New Method.
142         (setResultType): Ditto.
143         * gnu/classpath/jdwp/util/Value.java: Remove.
144         * gnu/classpath/jdwp/value: New Package.
145         * gnu/classpath/jdwp/value/Value.java: New file.
146         * gnu/classpath/jdwp/value/BooleanValue.java: New file.
147         * gnu/classpath/jdwp/value/ByteValue.java: New file.
148         * gnu/classpath/jdwp/value/CharValue.java: New file.
149         * gnu/classpath/jdwp/value/DoubleValue.java: New file.
150         * gnu/classpath/jdwp/value/FloatValue.java: New file.
151         * gnu/classpath/jdwp/value/IntValue.java: New file.
152         * gnu/classpath/jdwp/value/LongValue.java: New file.
153         * gnu/classpath/jdwp/value/ObjectValue.java: New file.
154         * gnu/classpath/jdwp/value/ShortValue.java: New file.
155         * gnu/classpath/jdwp/value/StringValue.java: New file.
156         * gnu/classpath/jdwp/value/ValueFactory.java: New file.
157         * gnu/classpath/jdwp/value/VoidValue.java: New file.
158
159         2007-02-28  Keith Seitz  <keiths@redhat.com>
160         * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
161         (executeSet): Check if VM has capability for field access
162         or modification events.
163         * gnu/classpath/jdwp/processor/MethodCommandSet.java
164         (executeByteCodes): Check if VM has capability and
165         implement.
166         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
167         (executeMonitorInfo): Likewise.
168         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
169         (executeSourceDebugExtension): Likewise.
170         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
171         (executePopFrames): Likewise.
172         * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
173         (executeOwnedMonitors): Likewise.
174         (executeCurrentContendedMonitor): Likewise.
175         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
176         (executeCapabilities): Rewrite using new VMVirtualMachine
177         capabilities.
178         (executeRedefineClasses): Check if VM has capability and
179         implement.
180         (executeSetDefaultStratum): Likewise.
181         * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
182         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
183         (canWatchFieldModification): New class constant.
184         (canWatchFieldAccess): Likewise.
185         (canGetBytecodes): Likewise.
186         (canGetSyntheticAttribute): Likewise.
187         (canGetOwnedMonitorInfo): Likewise.
188         (canGetCurrentContendedMonitor): Likewise.
189         (canGetMonitorInfo): Likewise.
190         (canRedefineClasses): Likewise.
191         (canAddMethod): Likewise.
192         (canUnrestrictedlyRedefineClasses): Likewise.
193         (canPopFrames): Likewise.
194         (canUseInstanceFilters): Likewise.
195         (canGetSourceDebugExtension): Likewise.
196         (canRequestVMDeathEvent): Likewise.
197         (canSetDefaultStratum): Likewise.
198         (redefineClasses): New method.
199         (setDefaultStratum): Likewise.
200         (getSourceDebugExtension): Likewise.
201         (getBytecodes): Likewise.
202         (getMonitorInfo): Likewise.
203         (getOwnedMonitors): Likewise.
204         (getCurrentContendedMonitor): Likewise.
205         (popFrames): Likewise.
206
207         2007-02-28  Keith Seitz  <keiths@redhat.com>
208         * gnu/classpath/jdwp/processor/MethodCommandSet.java
209         (executeLineTable): Use ReferenceTypeId instead of
210         ClassReferenceTypeId.
211         (executeVariableTable): Likewise.
212         (executeVariableTableWithGeneric): Fix error message.
213         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
214         (executeSignatureWithGeneric): Fix error message.
215         (executeFieldWithGeneric): Likewise.
216         (executeMethodsWithGeneric): Likewise.
217         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
218         (executeGetValues): Use ThreadId instead of ObjectId.
219         (executeSetValues): Likewise.
220         (executeThisObject): Likewise.
221
222         2007-02-28  Kyle Galloway  <kgallowa@redhat.com>
223         * gnu/classpath/jdwp/id/NullObjectId.java: New class.
224         * gnu/classpath/jdwp/util/NullObject.java: New class.
225         * vm/reference/gnu/classpath/jdwp/VMIdManager.java
226         (getObjectId): Handle null object.
227         (get): Handle objectId of 0. 
228
229         2007-02-22  Keith Seitz  <keiths@redhat.ecom>
230         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
231         (getAllLoadedClassesCount): Remove.
232         (getAllLoadedClasses): Return a Collection.
233         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
234         (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
235         now returns Collection.
236         (executeAllClasses): Likewise.
237         Get size of return from Colleciton instead of calling
238         getAllLoadedClassesCount.
239
240         2007-02-22  Kyle Galloway  <kgallowa@redhat.com>
241         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java 
242         (executeGetValues): Pass a signature byte to VMFrame.getValue.
243         * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
244         signature parameter.
245
246         2007-02-02  Kyle Galloway  <kgallowa@redhat.com>
247         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
248         (executeGetValues): Changed getFrame to use a jlong to pass frameID.
249         (executeSetValues): Ditto.
250         (executeThisObject): Ditto.
251         * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field
252         and a constructor used to create VMFrames.
253         (getThread): New method.
254         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame):
255         Changed to take a long instead of a ByteBuffer to pass the frameID.
256
257         2007-01-15  Kyle Galloway  <kgallowa@redhat.com>
258         * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
259
260 2007-03-26  Tom Tromey  <tromey@redhat.com>
261
262         * doc/cp-tools.texinfo (gcjh Tool): Added more text.
263         (rmid Tool): Likewise.
264
265 2007-03-25  Dalibor Topic  <robilad@kaffe.org>
266
267         * doc/cp-tools.texinfo: Fix node ordering.
268
269 2007-03-19  Matthias Klose  <doko@ubuntu.com>
270
271         * doc/Makefile.am: Build a gcjh(1) man page.
272         * doc/cp-tools.texinfo: Add documentation for gcjh.
273
274 2007-03-26  Stepan Kasal  <skasal@redhat.com>
275
276         * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
277         field.
278         (getParser): Use new field.
279
280 2007-03-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
281
282         * resource/com/sun/tools/javac/messages.properties
283         (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
284         messages for when --with-ecj-jar is not specified.
285         * configure.ac (FOUND_ECJ_JAR): Remove conditional.
286         * tools/Makefile.am: Build com.sun.tools.javac package
287         unconditionally.
288         * configure, doc/api/Makefile.in, doc/Makefile.in,
289         examples/Makefile.in, external/jsr166/Makefile.in,
290         external/Makefile.in, external/relaxngDatatype/Makefile.in,
291         external/sax/Makefile.in, external/w3c_dom/Makefile.in,
292         include/Makefile.in, lib/Makefile.in, Makefile.in,
293         native/fdlibm/Makefile.in, native/jawt/Makefile.in,
294         native/jni/classpath/Makefile.in,
295         native/jni/gconf-peer/Makefile.in,
296         native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
297         native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
298         native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
299         native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
300         native/jni/midi-dssi/Makefile.in,
301         native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
302         native/jni/xmlj/Makefile.in, native/Makefile.in,
303         native/plugin/Makefile.in, resource/Makefile.in,
304         scripts/Makefile.in, tools/Makefile.in: Regenerate.
305         * tools/classes/com/sun/tools/javac: New directory.
306         * tools/classes/com/sun/tools/javac/Main.class,
307         tools/classes/com/sun/tools/javac/Messages.class: New files.
308
309 2007-03-16  Tom Tromey  <tromey@redhat.com>
310
311         * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
312         name in File case.
313
314 2007-03-16  Tom Tromey  <tromey@redhat.com>
315
316         * tools/gnu/classpath/tools/javah/JniStubPrinter.java
317         (printClass): Added filename argument.
318         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
319         (printClass): Added filename argument.
320         * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
321         (printClass): Use user's file name.
322         * tools/gnu/classpath/tools/javah/CniStubPrinter.java
323         (printClass): Use user's file name.
324         * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
325         filename argument.
326         * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
327         argument order.
328         (writeHeaders): Use a HashMap.
329         (run): Put class name into HashMap for writeHeaders.
330
331 2007-03-02  Mario Torre  <neugens@limasoftware.net>
332
333         PR classpath/31017:
334         committed for Petteri Räty <betelgeuse@gentoo.org>
335         * configure.ac: fix broken build for gcj browser plugin
336
337 2007-02-20  Jakub Jelinek  <jakub@redhat.com>
338
339         * java/util/Date.java (parse): Properly parse 09:01:02 as
340         hours/minutes/seconds, not as hours/minutes/year.
341         * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
342         {start,end}TimeMode constructor by calling shorter constructor,
343         set {start,end}TimeMode fields after it returns.
344         (setStartRule): Don't adjust startTime into WALL_TIME.  Set
345         startTimeMode to WALL_TIME.
346         (endStartRule): Similarly.
347         (getOffset): Handle properly millis + dstOffset overflowing into the
348         next day.  Adjust startTime resp. endTime based on startTimeMode
349         resp. endTimeMode.
350         * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
351         static fields.
352         (timezones): Remove synchronized keyword.  Set zoneinfo_dir.
353         If non-null, set up aliases0 and don't put anything into
354         timezones0.
355         (defaultZone): Call getTimeZone instead of timezones().get.
356         (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6.  Use
357         getTimeZoneInternal instead of timezones().get.
358         (parseTime): Parse correctly hour:minute.
359         (getTimeZoneInternal): New private method.
360         (getTimeZone): Do the custom ID checking first, canonicalize
361         ID for custom IDs as required by documentation.  Call
362         getTimeZoneInternal to handle the rest.
363         (getAvailableIDs(int)): Add locking.  Handle zoneinfo_dir != null.
364         (getAvailableIDs(File,String,ArrayList)): New private method.
365         (getAvailableIDs()): Add locking.  Handle zoneinfo_dir != null.
366         * gnu/java/util/ZoneInfo.java: New file.
367
368 2007-02-20  Matthias Klose  <doko@ubuntu.com>
369
370         * doc/Makefile.am: Add rules to build and install man pages
371         from texinfo docs.
372         * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
373         Rename, prefix files with "cp-".
374         * doc/cp-tools.texinfo: Add markup for man page generation,
375         add documentation for command line options for gjar, gjavah,
376         gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
377         doc/texi2pod.pl: New, taken from the GCC sources.
378
379 2006-10-14  Edwin Steiner  <edwin.steiner@gmx.net>
380
381         PR classpath/28652:
382         * javax/management/MBeanInfo.java (MBeanInfo): 
383         Use clone to duplicate the arrays in order to
384         preserve the array type.
385
386 2007-02-16  Andrew Haley  <aph@redhat.com>
387
388         * gnu/java/lang/management/MemoryMXBeanImpl.java,
389         javax/management/MBeanServerDelegate.java: Use
390         gnu.javax.management.ListenerData rather than
391         gnu.classpath.ListenerData.
392         * gnu/javax/management/ListenerData.java: Move here from
393         gnu/classpath/ListenerData.java.
394
395 2007-02-14  Jakub Jelinek  <jakub@redhat.com>
396         Andrew Haley  <aph@redhat.com>
397
398         * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
399
400 2007-02-09  Tom Tromey  <tromey@redhat.com>
401
402         PR libgcj/30647:
403         * configure: Rebuilt.
404         * configure.ac: Also check for jack/jack.h.
405
406 2007-02-09  Jakub Jelinek  <jakub@redhat.com>
407
408         * java/util/TimeZone.java: Handle default (one hour) daylight
409         savings.
410
411 2007-02-09  Jakub Jelinek  <jakub@redhat.com>
412
413         PR 23566
414         * scripts/timezones.pl: Parse each file in 2 passes, in one parse
415         just Rule lines, in the other everything else.  Pass 0 instead of
416         $savings as second argument to parseRule when parsing the start
417         rule.
418         * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
419
420 2007-02-07  Chris Burdess  <dog@gnu.org>
421
422         Fixes PR 30718.
423         * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
424         * gnu/xml/transform/XSLURIResolver.java: Add support for custom
425           SAXSources without a backing URL or stream.
426
427         Fixes PR 27710.
428         * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
429           LSParser if implementation does not support asynchronous.
430         * gnu/xml/stream/XMLParser.java,
431           gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
432           java.net.URL to resolve to an an absolute URI, to avoid nonexistent
433           protocol handler problems.
434
435 2007-02-06  Tom Tromey  <tromey@redhat.com>
436
437         PR libgcj/30707:
438         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
439         (printClass): Always print a header.
440
441 2007-02-05  Andrew Haley  <aph@redhat.com>
442
443         PR cp-tools/30706
444         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
445         (printClass): Replace '/' in filenames with '_'.
446         * tools/gnu/classpath/tools/javah/JniStubPrinter.java
447         (printClass): Likewise.
448
449 2007-02-05  Tom Tromey  <tromey@redhat.com>
450
451         * java/net/Proxy.java (equals): Handle case where address==null.
452         (hashCode): Likewise.
453         (toString): Likewise.
454
455 2007-01-31  Tom Tromey  <tromey@redhat.com>
456
457         * resource/gnu/classpath/tools/jar/messages.properties
458         (Main.Stdin): New message.
459         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
460         '-@' option.
461         (readNames): New method.
462         (run): Use it.
463
464 2007-01-26  Andrew Haley  <aph@redhat.com>
465
466         * java/lang/SecurityManager.java: Load and initialize
467         java.security.Security.
468
469 2007-01-26  Tom Tromey  <tromey@redhat.com>
470
471         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
472         'volatile' after field type.
473
474 2007-01-23  Marco Trudel  <mtrudel@gmx.ch>
475
476         * java/util/Arrays.java (binarySearch): Change comparison order.
477
478 2007-01-17  Tom Tromey  <tromey@redhat.com>
479
480         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
481         (PathOptionGroup): Set default boot class path.
482
483 2006-12-14  Andrew Haley  <aph@redhat.com>
484
485         * tools/gnu/classpath/tools/jar/Creator.java: Close the
486         inputStream.
487
488 2006-10-12  Andrew Haley  <aph@redhat.com>
489
490         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
491         * java/lang/ThreadLocal.java: Likewise.
492
493 2006-09-13  Andrew Haley  <aph@redhat.com>
494
495         * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
496         Revert previous gcj-specific disabling of checks.
497         * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
498         Likewise.
499         * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
500         Likewise.
501
502 2006-09-13  Andrew Haley  <aph@redhat.com>
503
504         * java/util/PriorityQueue.java: Throw IllegalArgumentException for
505         capacity < 1.
506         (Iterator.remove()): Decrement index after removing element.
507
508 2006-12-11  Jeroen Frijters  <jeroen@frijters.net>
509
510         * javax/net/ssl/SSLSocketFactory.java (getDefault):
511         Chain exception cause.
512
513 2006-12-11  Roman Kennke  <kennke@aicas.com>
514
515         * .classpath: Include ASM in Eclipse classpath.
516
517 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
518
519         * gnu/java/lang/management/BeanImpl.java:
520         (translate(String)): Trim strings of whitespace.
521         * javax/management/MBeanAttributeInfo.java:
522         (MBeanAttributeInfo(String,String,Method,Method)):
523         Use Class.getName() for normal (non-parameterized) cases.
524         * javax/management/MBeanConstructorInfo.java:
525         (MBeanConstructorInfo(String, Constructor)):
526         Likewise.
527         * javax/management/MBeanOperationInfo.java:
528         (MBeanOperationInfo(String, Method)):
529         Likewise.
530
531 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
532
533         * java/lang/Class.java:
534         (getClasses()): Return Class<?>[].
535         (internalGetClasses()): Likewise.
536         (getConstructor(Class<?>...)): Add type parameter
537         to parameters.
538         (getDeclaredConstructor(Class<?>...)): Likewise.
539         (getDeclaredClasses()): Return Class<?>[].
540         (getDeclaredClasses(boolean)): Likewise.
541         (getDeclaredConstructors()): Return Constructor<?>[].
542         (getDeclaredConstructors(boolean)): Likewise.
543         (getDeclaredMethod(String,Class<?>...)): Add type
544         parameter to parameters.
545         (getInterfaces()): Return Class<?>[].
546         (getMethods(String,Class<?>...)): Add type
547         parameter to parameters.
548         * java/text/CollationKey.java:
549         Make non-final.
550         * java/text/DecimalFormatSymbols.java:
551         Likewise.
552         
553 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
554
555         * gnu/java/lang/management/BeanImpl.java:
556         (translate(String)): Handle Map and List as
557         Strings of the form "java.util.Map<K,V>" and
558         "java.util.List<E>"
559         * javax/management/MBeanAttributeInfo.java:
560         (MBeanAttributeInfo(String,String,Method,Method)):
561         Use generic parameter and return types.
562         * javax/management/MBeanConstructorInfo.java:
563         (MBeanConstructorInfo(String, Constructor)):
564         Use generic parameter types.
565         * javax/management/MBeanOperationInfo.java:
566         (MBeanOperationInfo(String, Method)):
567         Use generic parameter and return types.
568         
569 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
570
571         * gnu/java/lang/management/BeanImpl.java:
572         (translate(String)): Comment out code for using type
573         variables for Map and List.
574         * java/lang/Thread.java:
575         (Thread(ThreadGroup,Runnable,String,long)): Fix
576         incrementation of totalThreadsCreated to be prior to use.
577         
578 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
579
580         * javax/management/MBeanServerFactory.java:
581         (createMBeanServer(String)): Added security check.
582         (findMBeanServer(String)): Likewise.
583         (newMBeanServer(String)): Likewise.
584         (releaseMBeanServer(String)): Likewise.
585         * javax/management/MBeanServerPermission.java:
586         New file.
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         Fix comment.
592
593 2006-12-08  David Daney  <ddaney@avtrex.com>
594
595         * NEWS: Mention URLConnection.[get|set]ReadTimeout.
596
597 2006-12-08  David Daney  <ddaney@avtrex.com>
598
599         * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
600         SocketException.
601         (HTTPConnection): Handle NumberFormatException in properties parsing.
602         (Pool.get): Set timeout on reused sockets.
603         * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
604         Initialize.
605         (HTTPURLConnection): Cleanup properties handling.
606         (getConnection): Use both connection and read timeouts.
607         (setConnectTimeout): Removed.
608         (setReadTimeout): New method.
609         * java/net/URLConnection.java (timeout): Renamed to...
610         (connectTimeout): ... connectTimeout throughout.
611         (readTimeout): New field.
612         (getReadTimeout): New method.
613         (setReadTimeout): New method.
614
615 2006-12-08  Tania Bento  <tbento@redhat.com>
616
617         * java/awt/ScrollPane.java
618         (doLayout): Change the location of the scrollpane's child
619         to (0, 0).
620
621 2006-12-08  David Daney  <ddaney@avtrex.com>
622
623         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
624         New method.
625         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
626         SocketTimeoutException if a blocking socket timesout.
627         (Java_gnu_java_nio_VMChannel_readScattering): Same.
628         (Java_gnu_java_nio_VMChannel_read__I): Same.
629         (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
630         (Java_gnu_java_nio_VMChannel_connect6): Same.
631
632 2006-12-08  Mark Wielaard  <mark@klomp.org>
633
634         * configure.ac (VERSION): Set to 0.93-generics.
635         * NEWS: Add release date.
636
637 2006-12-08  Tania Bento  <tbento@redhat.com>
638
639         * java/awt/ScrollPane.java
640         (getScrollPosition): Throw NullPointerException if scrollpane
641         does have a child.
642         (setScrollPosition(int, int)): Throw NullPointerException if
643         scrollpane does have a child.  Check that both ints are within
644         the allowed bounds; If they are not, scroll to the closest allowed
645         bound.
646
647 2006-12-07  Roman Kennke  <kennke@aicas.com>
648
649         * javax/swing/JEditorPane.java
650         (EditorKitMapping): New inner helper class.
651         (editorKits): New static field for caching editor kit instances.
652         (static_initiazer): Initialize static mappings here.
653         (createEditorKitForContentType): Try to use cached instance.
654         Use correct classloader for loading.
655         (getEditorKitClassNameForContentType): Make use of EditorKitMapping
656         class.
657         (getEditorKitForContentType): Store the fetched editor kit.
658         Fallback to createDefaultEditorKit().
659         (init): Don't clean the static registry here.
660         (registerEditorKitForContentType(String,String,ClassLoader)):
661         Implemented.
662         (registerEditorKitForContentType(String,String)): Delegate to
663         the other version of this method with the thread's context
664         classloader.
665
666 2006-12-07  Mark Wielaard  <mark@klomp.org>
667
668         * examples/gnu/classpath/examples/swing/HtmlDemo.java
669         (setPage): Don't convert URL to String for setPage().
670
671 2006-12-07  Mark Wielaard  <mark@klomp.org>
672
673         * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
674
675 2006-12-07  Mark Wielaard  <mark@klomp.org>
676
677         * tools/Makefile.am: Explicitly define  and use bootclasspath as
678         GLIBJ_BOOTCLASSPATH
679
680 2006-12-07  Mark Wielaard  <mark@klomp.org>
681
682         * javax/swing/JEditorPane.java (createEditorKitForContentType):
683         Always load from system class loader.
684
685 2006-12-07  Mark Wielaard  <mark@klomp.org>
686
687         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
688         private constructor.
689         (URL(URL,String,URLStreamHandler)): Call new constructor.
690         (URL(URL,String)): Likewise.
691         (URL(String)): Likewise.
692
693 2006-12-07  Tom Tromey  <tromey@redhat.com>
694
695         * NEWS: Mention ASM.
696         * INSTALL: Don't mention --with-asm.
697         * tools/external/README: New file.
698         * tools/toolwrapper.c (main): Don't use ASM_JAR.
699         * tools/gjavah.in: Don't use PATH_TO_ASM.
700         * tools/grmic.in: Likewise.
701         * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
702         'asm'.
703         (javah, rmic): Removed variables.
704         (bin_PROGRAMS): Updated.
705         (gappletviewer_CFLAGS): Don't define ASM_JAR.
706         (gjarsigner_CFLAGS): Likewise.
707         (gkeytool_CFLAGS): Likewise.
708         (gjar_CFLAGS): Likewise.
709         (gnative2ascii_CFLAGS): Likewise.
710         (gserialver_CFLAGS): Likewise.
711         (grmiregistry_CFLAGS): Likewise.
712         (gtnameserv_CFLAGS): Likewise.
713         (gorbd_CFLAGS): Likewise.
714         (grmid_CFLAGS): Likewise.
715         (gjavah_CFLAGS): Likewise.
716         (grmic_CFLAGS): Likewise.
717         (bin_SCRIPTS): Updated.
718         (TOOLS_JAVA_FILES): Updated.
719         ($(TOOLS_ZIP)): Compile ASM sources.  Copy resource files.
720         * configure.ac: Removed --with-asm.  Always build gjavah.
721
722 2006-12-06  Roman Kennke  <kennke@aicas.com>
723
724         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
725         New class.
726         * examples/gnu/classpath/examples/swing/HtmlDemo.java
727         (LoadActionListener): Call setPage() helper method.
728         (createContent): Register tweaked editor kit. For FormSubmitEvents
729         call submitForm(), otherwise setPage().
730         (postData): Helper method for posting form data.
731         (setPage): Helper method for navigating to a new URL.
732         (submitForm): Helper method for submitting a form.
733         * examples/gnu/classpath/examples/swing/forms.html:
734         Added text/password fields and select boxes.
735         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
736
737 2006-12-06  Roman Kennke  <kennke@aicas.com>
738
739         * javax/swing/text/html/FormView.java
740         (SubmitThread.postData): Implemented.
741         (SubmitThread.run): Pass data to postData().
742         (actionPerformed): Reset form when reset button is activated.
743         (createComponent): Add support for select lists and comboboxes.
744         Don't set value of text and password fields here, this is done
745         now in HTMLDocument for consistency.
746         (getElementFormData): Add support for fetching form data from
747         select lists and comboboxes as well as textareas.
748         (getSelectData): New helper method. Fetches form data from
749         select boxes.
750         (getTextAreaData): New helper method. Fetches form data from
751         textareas.
752         (resetForm): New helper method. Resets the entire form.
753         * javax/swing/text/html/HTMLDocument.java
754         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
755         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
756         (HTMLReader.FormAction.setModel): Initialize text and password
757         values here. Also, use the resetable special models.
758         Group radio buttons into ButtonGroup for exclusive selection.
759         (HTMLReader.FormTagAction): New class. Handles FORM tags.
760         (HTMLReader.buttonGroups): New field.
761         (HTMLReader.numOptions): New field.
762         (HTMLReader.option): New field.
763         (HTMLReader.selectModel): New field.
764         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
765         (HTMLReader.handleText): Handle OPTION text.
766         (HTMLReader.initTags): Map FORM tags to FormTagAction.
767         (HTMLReader.textAreaContent): Set initial content.
768         * javax/swing/text/html/Option.java
769         (Option): Make copy of attribute set. Initialize selected state.
770         (getValue): Fetch value from attribute set.
771         * javax/swing/text/html/ResetableModel.java: New interface.
772         * javax/swing/text/html/ResetablePlainDocument.java: New class.
773         Supports resetting the state.
774         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
775         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
776         * javax/swing/text/html/SelectListModel.java: Likewise.
777
778 2006-12-06  Roman Kennke  <kennke@aicas.com>
779
780         * javax/swing/text/DefaultCaret.java
781         (appear): Adjust visibility here.
782         (setDotImpl): Don't adjust visibility here.
783         (moveDotImpl): Don't adjust visibility here.
784
785 2006-12-06  Roman Kennke  <kennke@aicas.com>
786
787         * gnu/java/awt/peer/gtk/AsyncImage.java
788         (Loader.run): Synchronize on the AsyncImage to avoid threading
789         issues.
790         (addObservers): Check for obs==null outside and synchronize on
791         this inside to avoid locking issues.
792         (checkImage): New helper method.
793         (notifyObservers): Check that the correct lock is held and
794         remove actual locking.
795         * gnu/java/awt/peer/gtk/GtkToolkit.java
796         (checkImage): Added special handling for AsyncImages.
797         
798 2006-12-06  Roman Kennke  <kennke@aicas.com>
799
800         * examples/gnu/classpath/examples/swing/Demo.java
801         (getIcon): Made package private.
802         * examples/gnu/classpath/examples/swing/HtmlDemo.java
803         (hyperlinkUpdate): Convert URL to string.
804
805 2006-12-06  Mark Wielaard  <mark@klomp.org>
806
807         * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
808         null Observer.
809
810 2006-12-06  Roman Kennke  <kennke@aicas.com>
811
812         * examples/gnu/classpath/examples/icons/back.png,
813         * examples/gnu/classpath/examples/icons/reload.png:
814         New icons for the HTML browser.
815         * examples/gnu/classpath/examples/swing/HtmlDemo.java
816         (history): New field. Manages the browsing history.
817         (HtmlDemo): Initialize history.
818         (createContent): Set location and add history. Add toolbar.
819         (createToolBar): New helper method.
820         (main): Make default size bigger.
821         * examples/gnu/classpath/examples/swing/frame1.html,
822         * examples/gnu/classpath/examples/swing/frame2.html,
823         * examples/gnu/classpath/examples/swing/frame3.html,
824         * examples/gnu/classpath/examples/swing/frame4.html,
825         * examples/gnu/classpath/examples/swing/frames.html,
826         * examples/gnu/classpath/examples/swing/tables.html:
827         New example pages.
828         * examples/gnu/classpath/examples/swing/welcome.html
829         Add a couple of links and new test pages.
830
831 2006-12-06  Roman Kennke  <kennke@aicas.com>
832
833         * javax/swing/JEditorPane.java
834         (getStream): Buffer the stream for efficiency.
835         (setPage): Don't scroll the view at this point.
836         * javax/swing/plaf/basic/BasicTextUI.java
837         (RootView.paint): Call RootView's setSize to get synchronization.
838         (RootView.setSize): Synchronize to prevent race in layout code.
839         * javax/swing/text/AbstractDocument.java
840         (notifyListeners): New field.
841         (fireChangedUpdate): Track notifyListener field.
842         (fireRemoveUpdate): Track notifyListener field.
843         (fireIndertUpdate): Track notifyListener field.
844         (writeLock): Check notifyListener and throw IllegalStateException.
845         * javax/swing/text/View.java
846         (preferenceChanged): Create local var for better thread safety and
847         more efficiency.
848
849 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
850
851         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
852         lightweight component, not just for non-Panel components.
853         (addImpl): Do not call doLayout.
854         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
855         (setNativeBounds): Ensure widget parent is a GtkFixed before
856         calling gtk_fixed_move.
857         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
858         (setNativeBounds): Likewise.
859         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
860         (setNativeBounds): Likewise.
861
862 2006-12-06  Roman Kennke  <kennke@aicas.com>
863
864         * javax/swing/text/html/TableView.java
865         (RowView.layoutMajorAxis): Check column index for invalid value.
866         (updateGrid): Check column index for invalid value.
867
868 2006-12-06  Roman Kennke  <kennke@aicas.com>
869
870         * javax/swing/text/html/BlockView.java
871         (getAlignment): Align blocks horizontally by the superclass.
872         * javax/swing/text/html/HTMLEditorKit.java
873         (HTMLFactory.create): Replace equals comparison by == for efficiency.
874         Add mapping for misplaced tr, td and th tags. Include object mapping.
875         * javax/swing/text/html/TableView.java
876         (RowView.replace): Invalidate grid early.
877         (gridValid): Initialize with false.
878         (create): Only create RowView and CellView for correctly placed
879         tags. Avoid unnecessary casts.
880         (getAlignment): Removed.
881         (replace): Invalidate grid early.
882
883 2006-12-06  Francis Kung  <fkung@redhat.com>
884
885         * java/awt/geom/RectangularShape.java
886         (getBounds): Remove empty rectangle check.
887
888 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
889
890         Fixes PR 29853.
891         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
892         newValue are the same.
893         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
894
895 2006-12-06  Tania Bento  <tbento@redhat.com>
896
897         * javax/swing/border/CompoundBorder.java:
898         (isBorderOpaque): If inside border is null, return true if outside
899         border is opaque, false otherwise; if outside border is null, return
900         true if inside border is opaque, false otherwise; if inside or
901         outside border are both not null, then return true only if both the
902         inside and outside border are opaque, false otherwise.
903
904 2006-12-06  Tania Bento  <tbento@redhat.com>
905
906         * javax/swing/border/CompoundBorder.java:
907         (isBorderOpaque): If inside and outside border both have a null
908         value, return true.
909
910 2006-12-06  Chris Burdess  <dog@gnu.org>
911
912         Fixes PR 29272.
913         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
914         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
915
916 2006-12-06  Chris Burdess  <dog@gnu.org>
917
918         Fixes PR 29264.
919         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
920           writeDTD method.
921
922 2006-12-06  Chris Burdess  <dog@gnu.org>
923
924         Fixes PR 28816.
925         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
926           discover schema factory implementation class.
927
928 2006-12-05  Francis Kung  <fkung@redhat.com>
929
930         * java/awt/BasicStroke.java
931         (capEnd): Prevent division by zero.
932         * java/awt/geom/Arc2D.java
933         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
934         (ArcIterator.currentSegment): Handle a negative extent.
935
936 2006-12-05  Francis Kung  <fkung@redhat.com>
937
938         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
939         (constructor): Handle translated subimages properly, ie, if the image's
940         0,0 position is not the data buffer's first element.
941
942 2006-12-05  Roman Kennke  <kennke@aicas.com>
943
944         * gnu/java/awt/peer/gtk/AsyncImage.java
945         (Loader.run): Nullify observers after loading.
946         (observers): Made package private.
947         (addObserver): Check for null observers field. Create local
948         variable for thread safety.
949         (getHeight): Use addObserver() for checking state of field
950         and notifying observer when necessary.
951         (getWidth): Use addObserver() for checking state of field
952         and notifying observer when necessary.
953         (getProperty): Use addObserver() for checking state of field
954         and notifying observer when necessary.
955         (notifyObservers): Check for null observers field. Create local
956         variable for thread safety.
957
958 2006-12-05  Roman Kennke  <kennke@aicas.com>
959
960         * javax/swing/text/html/HTMLEditorKit.java
961         (HTMLFactory.create): Removed debug output.
962         * javax/swing/text/html/InlineView.java
963         (getBreakWeight): Likewise.
964         * javax/swing/text/html/StyleSheet.java
965         (addRule): Likewise.
966         (ListPainter.paint): Removed debug output.
967
968 2006-12-05  Roman Kennke  <kennke@aicas.com>
969
970         * javax/swing/text/html/BlockView.java
971         (painter): Made package visible.
972         * javax/swing/text/html/StyleSheet.java
973         (translateBorder): New helper method.
974         (translateHTMLToCSS): Add mappings for border attributes.
975         * javax/swing/text/html/TableView.java
976         Made class subclass of BlockView to get CSS goodness.
977         (CellView.rowSpan): New field.
978         (CellView.setPropertiesFromAttributes): Fetch rowspan.
979         (RowView.overlap): New field.
980         (RowView.rowIndex): New field.
981         (RowView.layoutMajorAxis): Skip overlapping cells.
982         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
983         (numColumns): New field.
984         (tmpRect): New field.
985         (TableView): Initialize tmpRect.
986         (calculateColumnRequirements): Adjusted and fixed for multirows.
987         (getAlignment): Overridden to center tables.
988         (paint): Overridden to fix clipping.
989         (getStyleSheet): Made protected.
990         (layoutMajorAxis): Invalidate rows.
991         (setPropertiesFromAttributes): Made protected and call super.
992         (updateGrid): Update the overlapping information for multirows.
993
994 2006-12-05  Roman Kennke  <kennke@aicas.com>
995
996         * gnu/java/awt/peer/gtk/AsyncImage.java
997         (addObserver): Check for null and ignore null observers.
998         (getWidth): Check for null and ignore null observers.
999         (getHeight): Check for null and ignore null observers.
1000         (getProperty): Check for null and ignore null observers.
1001
1002 2006-12-05  Francis Kung  <fkung@redhat.com>
1003
1004         * java/awt/BasicStroke.java
1005         (capEnd): Prevent division by zero.
1006         * java/awt/geom/Arc2D.java
1007         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
1008         (ArcIterator.currentSegment): Handle a negative extent.
1009
1010 2006-12-05  Francis Kung  <fkung@redhat.com>
1011
1012         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1013         (constructor): Handle translated subimages properly, ie, if the image's
1014         0,0 position is not the data buffer's first element.
1015
1016 2006-12-05  Roman Kennke  <kennke@aicas.com>
1017
1018         * javax/swing/text/html/ImageView.java
1019         (imageUpdate): Use spans field to determine if the CSS width/height
1020         are set. Call safePreferenceChanged to protect view structure
1021         from threading issues.
1022         (spans): Made package private.
1023         (ImageView): Initialize loadOnDemand with false.
1024         (loadImage): Call Toolkit.prepareImage() to make sure we have
1025         our Observer registered.
1026         (safePreferenceChanged): New helper method. Calls preferenceChanged
1027         in a thread safe environment.
1028
1029 2006-12-05  Roman Kennke  <kennke@aicas.com>
1030
1031         * NEWS: Add entry about improved HTML support.
1032
1033 2006-12-05  Roman Kennke  <kennke@aicas.com>
1034
1035         * javax/swing/text/html/ImageView.java
1036         (ImageView): Initialize spans array here.
1037         (setPropertiesFromAttributes): Moved init of spans array to
1038         constructor.
1039
1040 2006-12-05  Roman Kennke  <kennke@aicas.com>
1041
1042         * javax/swing/text/html/BlockView.java
1043         (painter): Made package visible.
1044         * javax/swing/text/html/StyleSheet.java
1045         (translateBorder): New helper method.
1046         (translateHTMLToCSS): Add mappings for border attributes.
1047         * javax/swing/text/html/TableView.java
1048         Made class subclass of BlockView to get CSS goodness.
1049         (CellView.rowSpan): New field.
1050         (CellView.setPropertiesFromAttributes): Fetch rowspan.
1051         (RowView.overlap): New field.
1052         (RowView.rowIndex): New field.
1053         (RowView.layoutMajorAxis): Skip overlapping cells.
1054         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
1055         (numColumns): New field.
1056         (tmpRect): New field.
1057         (TableView): Initialize tmpRect.
1058         (calculateColumnRequirements): Adjusted and fixed for multirows.
1059         (getAlignment): Overridden to center tables.
1060         (paint): Overridden to fix clipping.
1061         (getStyleSheet): Made protected.
1062         (layoutMajorAxis): Invalidate rows.
1063         (setPropertiesFromAttributes): Made protected and call super.
1064         (updateGrid): Update the overlapping information for multirows.
1065
1066 2006-12-05  Roman Kennke  <kennke@aicas.com>
1067
1068         * javax/swing/text/html/HTMLEditorKit.java
1069         (HTMLFactory.create): Removed debug output.
1070         * javax/swing/text/html/InlineView.java
1071         (getBreakWeight): Likewise.
1072         * javax/swing/text/html/StyleSheet.java
1073         (addRule): Likewise.
1074         (ListPainter.paint): Removed debug output.
1075
1076 2006-12-06  Roman Kennke  <kennke@aicas.com>
1077
1078         * javax/swing/text/html/BlockView.java
1079         (getAlignment): Align blocks horizontally by the superclass.
1080         * javax/swing/text/html/HTMLEditorKit.java
1081         (HTMLFactory.create): Replace equals comparison by == for efficiency.
1082         Add mapping for misplaced tr, td and th tags. Include object mapping.
1083         * javax/swing/text/html/TableView.java
1084         (RowView.replace): Invalidate grid early.
1085         (gridValid): Initialize with false.
1086         (create): Only create RowView and CellView for correctly placed
1087         tags. Avoid unnecessary casts.
1088         (getAlignment): Removed.
1089         (replace): Invalidate grid early.
1090
1091
1092 2006-12-06  Roman Kennke  <kennke@aicas.com>
1093
1094         * javax/swing/text/html/TableView.java
1095         (RowView.layoutMajorAxis): Check column index for invalid value.
1096         (updateGrid): Check column index for invalid value.
1097
1098 2006-12-06  Roman Kennke  <kennke@aicas.com>
1099
1100         * javax/swing/JEditorPane.java
1101         (getStream): Buffer the stream for efficiency.
1102         (setPage): Don't scroll the view at this point.
1103         * javax/swing/plaf/basic/BasicTextUI.java
1104         (RootView.paint): Call RootView's setSize to get synchronization.
1105         (RootView.setSize): Synchronize to prevent race in layout code.
1106         * javax/swing/text/AbstractDocument.java
1107         (notifyListeners): New field.
1108         (fireChangedUpdate): Track notifyListener field.
1109         (fireRemoveUpdate): Track notifyListener field.
1110         (fireIndertUpdate): Track notifyListener field.
1111         (writeLock): Check notifyListener and throw IllegalStateException.
1112         * javax/swing/text/View.java
1113         (preferenceChanged): Create local var for better thread safety and
1114         more efficiency.
1115
1116 2006-12-06  Roman Kennke  <kennke@aicas.com>
1117
1118         * examples/gnu/classpath/examples/icons/back.png,
1119         * examples/gnu/classpath/examples/icons/reload.png:
1120         New icons for the HTML browser.
1121         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1122         (history): New field. Manages the browsing history.
1123         (HtmlDemo): Initialize history.
1124         (createContent): Set location and add history. Add toolbar.
1125         (createToolBar): New helper method.
1126         (main): Make default size bigger.
1127         * examples/gnu/classpath/examples/swing/frame1.html,
1128         * examples/gnu/classpath/examples/swing/frame2.html,
1129         * examples/gnu/classpath/examples/swing/frame3.html,
1130         * examples/gnu/classpath/examples/swing/frame4.html,
1131         * examples/gnu/classpath/examples/swing/frames.html,
1132         * examples/gnu/classpath/examples/swing/tables.html:
1133         New example pages.
1134         * examples/gnu/classpath/examples/swing/welcome.html
1135         Add a couple of links and new test pages.
1136
1137 2006-12-06  Roman Kennke  <kennke@aicas.com>
1138
1139         * examples/gnu/classpath/examples/swing/Demo.java
1140         (getIcon): Made package private.
1141         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1142         (hyperlinkUpdate): Convert URL to string.
1143
1144 2006-12-06  Roman Kennke  <kennke@aicas.com>
1145
1146         * javax/swing/text/DefaultCaret.java
1147         (appear): Adjust visibility here.
1148         (setDotImpl): Don't adjust visibility here.
1149         (moveDotImpl): Don't adjust visibility here.
1150
1151 2006-12-06  Roman Kennke  <kennke@aicas.com>
1152
1153         * javax/swing/text/html/FormView.java
1154         (SubmitThread.postData): Implemented.
1155         (SubmitThread.run): Pass data to postData().
1156         (actionPerformed): Reset form when reset button is activated.
1157         (createComponent): Add support for select lists and comboboxes.
1158         Don't set value of text and password fields here, this is done
1159         now in HTMLDocument for consistency.
1160         (getElementFormData): Add support for fetching form data from
1161         select lists and comboboxes as well as textareas.
1162         (getSelectData): New helper method. Fetches form data from
1163         select boxes.
1164         (getTextAreaData): New helper method. Fetches form data from
1165         textareas.
1166         (resetForm): New helper method. Resets the entire form.
1167         * javax/swing/text/html/HTMLDocument.java
1168         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
1169         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
1170         (HTMLReader.FormAction.setModel): Initialize text and password
1171         values here. Also, use the resetable special models.
1172         Group radio buttons into ButtonGroup for exclusive selection.
1173         (HTMLReader.FormTagAction): New class. Handles FORM tags.
1174         (HTMLReader.buttonGroups): New field.
1175         (HTMLReader.numOptions): New field.
1176         (HTMLReader.option): New field.
1177         (HTMLReader.selectModel): New field.
1178         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
1179         (HTMLReader.handleText): Handle OPTION text.
1180         (HTMLReader.initTags): Map FORM tags to FormTagAction.
1181         (HTMLReader.textAreaContent): Set initial content.
1182         * javax/swing/text/html/Option.java
1183         (Option): Make copy of attribute set. Initialize selected state.
1184         (getValue): Fetch value from attribute set.
1185         * javax/swing/text/html/ResetableModel.java: New interface.
1186         * javax/swing/text/html/ResetablePlainDocument.java: New class.
1187         Supports resetting the state.
1188         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
1189         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
1190         * javax/swing/text/html/SelectListModel.java: Likewise.
1191
1192 2006-12-06  Roman Kennke  <kennke@aicas.com>
1193
1194         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
1195         New class.
1196         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1197         (LoadActionListener): Call setPage() helper method.
1198         (createContent): Register tweaked editor kit. For FormSubmitEvents
1199         call submitForm(), otherwise setPage().
1200         (postData): Helper method for posting form data.
1201         (setPage): Helper method for navigating to a new URL.
1202         (submitForm): Helper method for submitting a form.
1203         * examples/gnu/classpath/examples/swing/forms.html:
1204         Added text/password fields and select boxes.
1205         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
1206
1207 2006-12-07  Mark Wielaard  <mark@klomp.org>
1208
1209         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
1210         private constructor.
1211         (URL(URL,String,URLStreamHandler)): Call new constructor.
1212         (URL(URL,String)): Likewise.
1213         (URL(String)): Likewise.
1214
1215 2006-12-07  Mark Wielaard  <mark@klomp.org>
1216
1217         * javax/swing/JEditorPane.java (createEditorKitForContentType):
1218         Always load from system class loader.
1219
1220 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
1221
1222         Fixes PR 29853.
1223         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1224         newValue are the same.
1225         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1226
1227 2006-12-06  Chris Burdess  <dog@gnu.org>
1228
1229         Fixes PR 29272.
1230         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1231         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1232
1233 2006-12-06  Chris Burdess  <dog@gnu.org>
1234
1235         Fixes PR 29264.
1236         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1237         writeDTD method.
1238
1239 2006-12-056  Chris Burdess  <dog@gnu.org>
1240
1241         Fixes PR 28816.
1242         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1243         discover schema factory implementation class.
1244
1245 2006-12-05  Roman Kennke  <kennke@aicas.com>
1246
1247         * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
1248         asynchronous loading of images.
1249         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1250         (drawImage): Fetch real image from possibly AsyncImage.
1251         * gnu/java/awt/peer/gtk/ComponentGraphics.java
1252         (drawImage): Fetch real image from possibly AsyncImage.
1253         * gnu/java/awt/peer/gtk/GtkToolkit.java
1254         (createImage(URL)): Create async image.
1255         (imageOrError): Made method static for easy access from AsyncImage.
1256         (prepareImage): For async images, register the observer to the
1257         image.
1258
1259 2006-12-05  Roman Kennke  <kennke@aicas.com>
1260
1261         (paintComponent): Include paint area from event.
1262         (updateComponent): Include paint area from event.
1263
1264 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
1265
1266         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1267         lightweight component, not just for non-Panel components.
1268         (addImpl): Do not call doLayout.
1269         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1270         (setNativeBounds): Ensure widget parent is a GtkFixed before
1271         calling gtk_fixed_move.
1272         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1273         (setNativeBounds): Likewise.
1274         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1275         (setNativeBounds): Likewise.
1276
1277 2006-12-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
1278
1279         * java/awt/Component.java (getFontImpl): Return a default font if
1280         topmost parent's font is null.
1281
1282 2006-12-04  Mark Wielaard  <mark@klomp.org>
1283
1284         * javax/swing/text/html/CSS.java (parseMarginShorthand):
1285         Remove debug output.
1286
1287 2006-12-04  Roman Kennke  <kennke@aicas.com>
1288
1289         * java/awt/font/TextLayout.java
1290         (hitTestChar): Fixed conditions for inclusion of range.
1291         Use layout information in the run for more efficiency.
1292
1293 2006-12-04  Roman Kennke  <kennke@aicas.com>
1294
1295         * javax/swing/text/GlyphView.java
1296         (J2DGlyphPainter): New inner class.
1297         (checkPainter): For Java2D capable environments create
1298         a J2DGlyphPainter.
1299
1300 2006-12-04  Roman Kennke  <kennke@aicas.com>
1301
1302         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1303         (FreeTypeGlyphVector): Don't filter control chars here.
1304         (getGlyphs): Filter control chars and replace them by
1305         hair space char.
1306
1307 2006-12-04  Roman Kennke  <kennke@aicas.com>
1308
1309         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1310         (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
1311
1312 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1313
1314         * gnu/java/lang/management/BeanImpl.java:
1315         (translate(String)): Don't assume the list uses "E",
1316         just use the first and only type variable.
1317         * java/lang/management/ManagementFactory.java:
1318         (getPlatformMBeanServer()): Register logging bean.
1319         * javax/management/openmbean/OpenType.java:
1320         (OpenType(String,String,String)): Actually use
1321         the string created to handle arrays.
1322         
1323 2006-12-04  Mark Wielaard  <mark@klomp.org>
1324
1325         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1326         (JCL_thread_interrupted): Use CallStaticBooleanMethod.
1327
1328 2006-12-04  Mark Wielaard  <mark@klomp.org>
1329
1330         * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
1331         Make static.
1332         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1333         (JCL_thread_interrupted): Only take JNIEnv.
1334         (vm_channel_class): New static variable.
1335         (initID): Set vm_channel_class.
1336         Wrap all reads() and writes() in do-while blocks that check
1337         interrupted status.
1338
1339 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1340
1341         * gnu/javax/management/Server.java:
1342         Make map final and initialise it.
1343         (unregisterMBean(ObjectName)): Match against
1344         delegate's object name and not the instance.
1345         * java/lang/management/ManagementFactory.java:
1346         Added constant fields.
1347         (getPlatformMBeanServer()): Implemented.
1348         * javax/management/MBeanServerFactory.java: New file.
1349         
1350 2006-12-04  Roman Kennke  <kennke@aicas.com>
1351
1352         * javax/swing/text/BoxView.java
1353         (paint): Replaced painting algorithm with more simple and more
1354         reliable painting of the box.
1355         * javax/swing/text/html/BlockView.java
1356         (PositionInfo): New inner class. Stores additional CSS
1357         positioning information.
1358         (positionInfo): New field.
1359         (BlockView): Initialize positionInfo field.
1360         (fetchLayoutInfo): New helper method. Fetches additional
1361         CSS positioning information.
1362         (layoutMajorAxis): Perform additional CSS layout.
1363         (layoutMinorAxis): Perform additional CSS layout.
1364         (positionView): New helper method.
1365         (replace): Overridden to fetch additional layout information.
1366         * javax/swing/text/html/CSS.java
1367         (Attribute.POSITION): New field.
1368         (Attribute.LEFT): New field.
1369         (Attribute.RIGHT): New field.
1370         (Attribute.TOP): New field.
1371         (Attribute.BOTTOM): New field.
1372         (getValue): Create Length for left, right, top and bottom
1373         attributes.
1374
1375 2006-12-04  Roman Kennke  <kennke@aicas.com>
1376
1377         * gnu/javax/swing/text/html/parser/support/Parser.java
1378         (Sgml): Consume any whitespace that immediately follows
1379         and sgml insertion.
1380         (parseDocument): Consume any initial whitespace.
1381
1382 2006-12-03  Mark Wielaard  <mark@klomp.org>
1383
1384         * gnu/javax/management/Server.java (beans): Initialize.
1385         (registerMBean): Don't initialize beans.
1386
1387 2006-12-03  Mark Wielaard  <mark@klomp.org>
1388
1389         * java/util/logging/LogManager.java (getLevelProperty): Check
1390         whether value is null before passing to Level.parse().
1391
1392 2006-12-04  Robert Lougher  <rob.lougher@gmail.com>
1393
1394         * java/lang/management/ThreadInfo.java (ThreadInfo): Check
1395         whether given a null lock and lockOwner.
1396
1397 2006-12-03  Mark Wielaard  <mark@klomp.org>
1398
1399         * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1400         (PageLoader.page): Made package local.
1401         (PageLoader.run): Don't reset loader.
1402         (PageLoader.cancel): New method.
1403         (loading): Renamed to loader.
1404         (getPage): Return loader.page.
1405         (setPage): Always set loader. Never reset to null.
1406
1407 2006-12-03  Mark Wielaard  <mark@klomp.org>
1408
1409         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1410         path[k] is null.
1411         (isLastChild): Return false when path is null.
1412
1413 2006-12-03  Mark Wielaard  <mark@klomp.org>
1414
1415         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1416         to currentPaintArea.
1417         (paintComponent): Work with local reference to currentPaintArea.
1418         (updateComponent): Likewise.
1419         (coalescePaintEvent): Set currentPaintArea.
1420
1421 2006-12-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1422
1423         * javax/management/MBeanServerBuilder.java: New file.
1424         
1425 2006-12-01  Mark Wielaard  <mark@klomp.org>
1426
1427         * java/text/DecimalFormat.java (parse): Always increment parsing
1428         index and adjust pos result.
1429
1430 2006-12-01  Roman Kennke  <kennke@aicas.com>
1431
1432         * javax/swing/text/html/HTML.java
1433         (Attribute.DYNAMIC_CLASS): New field.
1434         (Attribute.PSEUDO_CLASS): New field.
1435         * javax/swing/text/html/HTMLDocument.java
1436         (HTMLReader.CharacterAction.start): Initialize anchor with link
1437         pseudo attribute.
1438         (updateSpecialClass): New helper method. Updates the dynamic
1439         or pseudo class for anchor tags.
1440         * javax/swing/text/html/HTMLEditorKit.java
1441         (LinkController.lastAnchorElement): New field. For tracking
1442         enter/exit of anchors.
1443         (LinkController.activateLink): Set pseudo class to 'visited'.
1444         (LinkController.mouseMoved): Added support for tracking
1445         the 'hover' dynamic class.
1446         * javax/swing/text/html/InlineView.java
1447         (changedUpdate): Fetch new properties.
1448         * javax/swing/text/html/StyleSheet.java
1449         (attributeSetToMap): New helper method.
1450         (getRule): Also append dynamic and pseudo class to key.
1451         (resolveStyle): Resolve style based generally on all attributes.
1452         * javax/swing/text/html/TableView.java
1453         (RowView.layoutMajorAxis): Make sure the grid is valid.
1454         (updateGrid): Made package private.
1455         * gnu/javax/swing/text/html/css/Selector.java
1456         (calculateSpecificity): Added support for dynamic and pseudo classes.
1457         (matches): Changed to operate on general attributes.
1458         Added support for dynamic and pseudo classes.
1459
1460 2006-12-01  Mario Torre  <neugens@limasoftware.net>
1461
1462         * java/text/DecimalFormat.java (formatInternal): move the formatting of
1463         fractional portion in a separate method.
1464         Also fixes the handling of decimal separator and its associated field.
1465         (handleFractionalPart): new method, needed to relax a bit
1466         formatInternal.
1467         
1468 2006-12-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1469
1470         * java/beans/beancontext/BeanContextServicesSupport.java:
1471         (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1472         Class)): Implemented.
1473         (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1474         Class, Object)): Implemented.
1475         (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1476         Object, Object)): Implemented.
1477         (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1478         Implemented.
1479         (initialiseBeanContextResources()): Implemented.
1480         (releaseBeanContextResoures()): Implemented.
1481         
1482 2006-12-01  Mark Wielaard  <mark@klomp.org>
1483
1484         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1485
1486 2006-12-01  Roman Kennke  <kennke@aicas.com>
1487
1488         * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1489         handling border styles.
1490         * gnu/javax/swing/text/html/css/BorderWidth.java
1491         (isValid): New method.
1492         * gnu/javax/swing/text/html/css/Length.java
1493         (isValid): New method.
1494         * javax/swing/text/html/CSS.java
1495         (addInternal): Added shorthand parsing for border, padding and
1496         margin.
1497         (parseBackgroundShorthand): Added API docs.
1498         (parsePaddingShorthand): New method. Handles padding shorthand
1499         values.
1500         (parseMarginShorthand): New method. Handles margin shorthand
1501         values.
1502         (parseBorderShorthand): New method. Handles border shorthand
1503         values.
1504         * javax/swing/text/html/StyleSheet.java
1505         (translateHTMLToCSS): Set specific padding attributes.
1506         (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1507         These shorthands are now handled in CSS.
1508         (BoxPainter.paint): Exclude the outer margin.
1509
1510 2006-12-01  Roman Kennke  <kennke@aicas.com>
1511
1512         * gnu/javax/swing/text/html/css/Length.java
1513         (emBase): New field.
1514         (exBase): New field.
1515         (isFontEMRelative): New field.
1516         (isFontEXRelative): New field.
1517         (Length): Recognize and setup EM and EX relative values.
1518         (getValue): Handle EM and EX relative values.
1519         (isEMRelative): New method.
1520         (isEXRelative): New method.
1521         (setEMBase): New method.
1522         (setEXBase): New method.
1523         (setFontBases): New method.
1524         * gnu/javax/swing/text/html/parser/support/Parser.java
1525         (_handleEmptyTag): Use new isBlock() helper method.
1526         (_handleEndTag_remaining): Use new isBlock() helper method.
1527         (_handleStartTag): Consume whitespace after block start tag.
1528         (Comment): Consume whitespace after a comment.
1529         (isBlock): New helper method.
1530         (readAttributes): Consider all characters in unquoted attribute
1531         values.
1532         * javax/swing/text/html/BlockView.java
1533         (layoutMinorAxis): Use cached span value.
1534         (paint): Added debug code (commented out).
1535         (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1536         * javax/swing/text/html/CSSBorder.java
1537         (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1538         with stylesheet.
1539         (getBorderWidth): Set the EM and EX base on the length values.
1540         * javax/swing/text/html/HTMLDocument.java
1541         (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1542         (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1543         (HTMLReader.inImpliedParagraph): Removed.
1544         (HTMLReader.inParagraph): Removed.
1545         (HTMLReader.parseStack): New field.
1546         (HTMLReader.addContent): Use new paragraph handling.
1547         (HTMLReader.addSpecialElement): Use new paragraph handling.
1548         (HTMLReader.blockClose): Use new paragraph handling.
1549         (HTMLReader.blockOpen): Use new paragraph handling.
1550         (HTMLReader.inImpliedParagraph): New helper method.
1551         (HTMLReader.inParagraph): New helper method.
1552         * javax/swing/text/html/ImageView.java
1553         (attributes): New field. Caches view attributes.
1554         (spans): New field. Caches CSS spans.
1555         (getAttributes): Correctly setup CSS view attributes.
1556         (getPreferredSpan): Use caches spans.
1557         (getStyleSheet): Use the view's getDocument() method.
1558         (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1559         (updateSize): Use cached spans.
1560         * javax/swing/text/html/ParagraphView.java
1561         (setPropertiesFromAttributes): Setup EM and EX.
1562         * javax/swing/text/html/StyleSheet.java
1563         (BoxPainter.BoxPainter): Setup EM and EX correctly.
1564         (getEMBase): New helper method.
1565         (getEXBase): New helper method.
1566         * javax/swing/text/html/TableView.java
1567         (width): New field. Caches the table width.
1568         (calculateMinorAxisRequirements): Use caches span.
1569         (setPropertiesFromAttributes): Cache span and setup EM/EX.
1570         (updateGrid): Correctly setup EM/EX.
1571
1572 2006-11-30  Roman Kennke  <kennke@aicas.com>
1573
1574         * javax/swing/text/html/FormSubmitEvent.java: New class.
1575         * javax/swing/text/html/FormView.java
1576         (SubmitThread): New class for submitting data in a separate thread.
1577         (actionPerformed): Fetch the actual for data.
1578         (addData): New helper method.
1579         (getElementFormData): New helper method.
1580         (getFormData): New helper method.
1581         (getInputFormData): New helper method.
1582         (submitData): Implemented.
1583         * javax/swing/text/html/FrameView.java
1584         (createComponent): Add this as hyperlink listener.
1585         Set the target document as frame document.
1586         (getTopEditorPane): New helper method.
1587         (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1588         (handleHyperlinkEvent): New helper method.
1589         (handleFormSubmitEvent): New helper method.
1590         * javax/swing/text/html/HTMLDocument.java
1591         (HTMLReader.BaseAction.start): Track the base target.
1592         (HTMLReader.BaseAction.end): Removed.
1593         (baseTarget): New field.
1594         (frameDocument): New field.
1595         (getBaseTarget): New property accessor.
1596         (isFrameDocument): New property accessor.
1597         (processHTMLFrameHyperlinkEvent): Implemented.
1598         (setFrameDocument): New property accessor.
1599         (updateFrame): New helper method.
1600         (updateFrameSet): New helper method.
1601         * javax/swing/text/html/HTMLEditorKit.java
1602         (LinkController.createHyperlinkEvent): Handle frame documents.
1603         (autoFormSubmission): New field.
1604         (HTMLEditorKit): Set autoFormSubmission to true.
1605         (isAutoFormSubmission): New property accessor.
1606         (setAutoFormSubmission): New property accessor.
1607
1608 2006-11-30  Roman Kennke  <kennke@aicas.com>
1609
1610         * javax/swing/text/ElementIterator.java
1611         (ElementRef): New inner class.
1612         (currentDepth): Removed.
1613         (currentElement): Removed.
1614         (previousItem): Removed.
1615         (stack): New field. Holds the iteration stack.
1616         (state): Removed.
1617         (ElementIterator(Document)): Removed init of removed fields.
1618         (ElementIterator(Element)): Removed init of removed fields.
1619         (current): Changed to stack based algorithm.
1620         (deepestLeaf): New helper method.
1621         (depth): Changed to stack based algorithm.
1622         (first): Changed to stack based algorithm.
1623         (next): Changed to stack based algorithm.
1624         (previous): Changed to stack based algorithm.
1625
1626 2006-11-30  Francis Kung  <fkung@redhat.com>
1627
1628         * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1629         * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1630
1631 2006-11-30  Francis Kung  <fkung@redhat.com>
1632
1633         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1634         (draw): Set transform in buffered composite.
1635         (drawComposite): Do not transform bounds; round bounds.
1636         (drawGlyphVector):  Set transform in buffered composite.
1637         (drawRenderedImage):  Set transform in buffered composite.
1638         (fill):  Set transform in buffered composite.
1639         (updateBufferedImage): Fix scanline & height calculations.
1640         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1641         (createPath): Simplify width & height calculation.
1642         (drawImage): Also transform width & height.
1643
1644 2006-11-30  Roman Kennke  <kennke@aicas.com>
1645
1646         * javax/swing/text/html/FrameSetView.java: New class. Implements
1647         HTML framesets.
1648         * javax/swing/text/html/FrameView.java: New class. Implements
1649         HTML frames.
1650         * javax/swing/text/html/HTMLDocument.java:
1651         (HTMLReader.addSpecialElement): Only add one artificial space.
1652         * javax/swing/text/html/HTMLEditorKit.java
1653         (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1654         * gnu/javax/swing/text/html/parser/support/Parser.java
1655         (_handleEmptyTag): Also consume whitespace after frame tags.
1656
1657 2006-11-30  Gary Benson  <gbenson@redhat.com>
1658
1659         * java/lang/Thread.java: Javadoc fixes.
1660
1661 2006-11-29  Tom Tromey  <tromey@redhat.com>
1662
1663         PR classpath/28203:
1664         * java/lang/Class.java (getAnnotations): Rewrote.
1665
1666 2006-11-29  Tania Bento  <tbento@redhat.com>
1667
1668         * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1669         (parseParams): Unescape 'val' before putting it into the Map.
1670         (unescapeString): New private method.
1671
1672 2006-11-29  Tom Tromey  <tromey@redhat.com>
1673
1674         * tools/gnu/classpath/tools/getopt/package.html: New file.
1675
1676 2006-11-29  David Gilbert  <david.gilbert@object-refinery.com>
1677
1678         * javax/swing/plaf/metal/MetalIconFactory.java
1679         (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1680         (VerticalSliderThumbIcon.paintIcon()): Likewise.
1681
1682 2006-11-29  Mario Torre  <neugens@limasoftware.net>
1683
1684         * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1685         with the default international currency sign \u00A4.
1686         * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1687         table for string formatting.
1688         (formatInternal): likewise.
1689         (scanNegativePattern): likewise.
1690         (applyPattern): likewise.
1691         * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1692         Locale is immutable and does not need clone.
1693
1694 2006-11-29  Francis Kung  <fkung@redhat.com>
1695
1696         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1697         (drawLine): Remove hard-coded pixel shifting.
1698
1699 2006-11-29  Roman Kennke  <kennke@aicas.com>
1700
1701         * java/awt/Component.java
1702         (isShowing): Simplified condition code and avoid unnecessary
1703         if-codepaths.
1704         (coalesceEvents): Always coalesce paint events and let the peer
1705         figure out the expanding of the repaint area.
1706         * gnu/java/awt/peer/swing/SwingComponentPeer.java
1707         (currentPaintEvents): Removed. Replaced by paintArea.
1708         (paintArea): New field. Tracks the dirty area.
1709         (SwingComponentPeer): Removed init of currentPaintEvents.
1710         (coalescePaintEvent): Simplified to only union the dirty regions.
1711         (handleEvent): Paint dirty region that was tracked in paintArea.
1712         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1713         (paintArea): New field. Tracks the dirty region.
1714         (coalescePaintEvent): Implemented to track the dirty region.
1715         (paintComponent): Use the dirty region in paintArea. Protect
1716         state by putting the paint and dispose code in a try-finally.
1717         (updateComponent): Use the dirty region in paintArea. Protect
1718         state by putting the paint and dispose code in a try-finally.
1719
1720 2006-11-29  Roman Kennke  <kennke@aicas.com>
1721
1722         * java/awt/font/TextLayout.java
1723         (getVisualHighlightShape): Removed debug output.
1724
1725 2006-11-28  Andrew Haley  <aph@redhat.com>
1726
1727         * vm/reference/sun/reflect/misc/ReflectUtil.java
1728         (checkPackageAccess): Implement.
1729
1730 2006-11-28  Dalibor Topic  <robilad@kaffe.org>
1731
1732         * native/jni/java-lang/java_lang_VMDouble.c:
1733         (parseDoubleFromChars) New function. Factored out from ...
1734         (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1735         (dtoa_toString): New function. Factored out from ...
1736         (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1737         Changed conversion mode to 2, as modes 0 and 1 don't round
1738         as the API spec demands. Invoke conversion function as often
1739         as necessary with growing precision until a reversible
1740         representation of the double in form of a string is reached.
1741
1742 2006-11-28  Roman Kennke  <kennke@aicas.com>
1743
1744         * javax/swing/JComponent.java
1745         (putClientProperty): Do not fire event when both old and new
1746         value are == null.
1747
1748 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1749
1750         * java/lang/Enum.java:
1751         Make name and ordinal final.
1752         
1753 2006-11-27  Casey Marshall  <csm@gnu.org>
1754
1755         * java/util/jar/JarEntry.java (certs): removed.
1756         (jarfile): new field.
1757         (getCertificates): read the certificates from the containing JarFile.
1758         * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1759         fill in 'certs,' fill in 'jarfile' for the entry.
1760         (getEntry): likewise.
1761         
1762 2006-11-27  Francis Kung  <fkung@redhat.com>
1763
1764         * java/awt/image/WritableRaster.java
1765         (createChild): Implemented.
1766
1767 2006-11-27  Roman Kennke  <kennke@aicas.com>
1768
1769         * java/awt/font/TextLayout.java
1770         (TextLayout(TextLayout,int,int)): Also layout the new runs.
1771         (getVisualHighlightShape): Implemented.
1772         (layoutRuns): Fixed boundary so that the last run is also laid out.
1773         (left): New helper method.
1774         (right): New helper method.
1775
1776 2006-11-27  Roman Kennke  <kennke@aicas.com>
1777
1778         * java/awt/font/TextLayout.java
1779         (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1780         (getCaretShape(TextHitInfo)): Use natural bounds.
1781         (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1782         (getCaretShapes(int,Rectangle2D)): Delegate to new method
1783         above with DEFAULT_CARET_POLICY.
1784         (getCaretShapes(int)): Use natural bounds.
1785
1786 2006-11-27  Roman Kennke  <kennke@aicas.com>
1787
1788         * java/awt/font/TextLayout.java
1789         (Run.font): New field.
1790         (Run.location): New field.
1791         (Run.Run): Initialize font.
1792         (font): Removed field. This is moved into Run as the actual font
1793         is something run-specific.
1794         (TextLayout(String,Font,FontRenderContext)): Set font on the
1795         single runs. Layout the runs here.
1796         (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1797         (findRunAtIndex): New helper method.
1798         (getCaretInfo): Implemented.
1799         (layoutRuns): New helper method.
1800         (toString): Don't put font in output string.
1801
1802 2006-11-27  Raif S. Naffah  <classpath@naffah-raif.name>
1803
1804         * AUTHORS: Added Jeroen Fritjers.
1805
1806 2006-11-27  neugens  <neugens@nirvana.limasoftware.net>
1807
1808         * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1809         for FieldPosition to be null.
1810         Check if the factional part is just 0 and can be omitted from the
1811         result.
1812         (scanNegativePattern): Fixed index out of bound exception when searching
1813         for international currency symbol in negative pattern.  
1814
1815 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1816
1817         * java/beans/beancontext/BeanContextSupport.java:
1818         (readObject(ObjectInputStream)): Implemented.
1819         (writeObject(ObjectOutputStream)): Likewise.
1820         (BCSChild.getTargetChild()): Added.
1821         (bcsPreDeserializationHook()): Implemented.
1822         (bcsPreSerializationHook()): Likewise.
1823         (childDeserializedHook(Object,BCSChild)): Likewise.
1824         (isSerializing()): Likewise.
1825         (readChildren(ObjectInputStream)): Likewise.
1826         (writeChildren(ObjectOutputStream)): Likewise.
1827         
1828 2006-11-26  Roger Sayle  <roger <at> eyesopen.com>
1829             Ian Lance Taylor  <ian <at> airs.com>
1830             Paolo Bonzini <bonzini <at> gnu.org>
1831
1832         Fixes bug #25557.
1833
1834         * lib/gen-classlist.sh.in:  Avoid using test's -ef operator for
1835         increased portability.  Likewise, use -f instead of -e.
1836
1837 2006-11-26  Mark Wielaard  <mark@klomp.org>
1838
1839         * lib/Makefile.am (propertydirs): Removed.
1840         (resources): Explicitly create all dirs.
1841
1842 2006-11-26  Mark Wielaard  <mark@klomp.org>
1843
1844         * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1845
1846 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1847
1848         * native/target/.cvsignore,
1849         native/target/generic/.cvsignore,
1850         native/target/Linux/.cvsignore:
1851         Removed no longer used files.
1852
1853         * native/target: Removed no longer used directory.
1854
1855 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1856
1857         Fixes bug #29133.
1858
1859         * libraries/clib/nio/gnu_java_nio_VMSelector.c
1860         (Java_gnu_java_nio_VMSelector_select):
1861         Use strerror if strerror_r is not available.
1862
1863         Reported by:  Michael Franz <mvfranz@gmail.com>,
1864                       Riccardo Mottola <zuse@libero.it>
1865
1866 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1867
1868         Fixes bug #26756.
1869         
1870         * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed 
1871         STRICT_WARNING_CFLAGS since it caused the build to fail 
1872         on GNU/Linux.
1873
1874 2006-11-26  Ian Rogers  <ian.rogers@manchester.ac.uk>
1875
1876         * doc/vmintegration.texinfo: Update VM Threading Model section.
1877
1878 2006-11-26  Tom Tromey  <tromey@redhat.com>
1879
1880         * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1881         include ifaddrs.h.
1882         (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1883         conditional.
1884         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1885         Conditionally include ifaddrs.h.
1886         (getif_address): Updated conditional.
1887         (getif_index): Likewise.
1888         * configure.ac: Check for ifaddrs.h.
1889
1890 2006-11-25  Mark Wielaard  <mark@klomp.org>
1891
1892         * java/io/File.java (list): Return empty list for unreadable dirs.
1893
1894 2006-11-25  Mark Wielaard  <mark@klomp.org>
1895
1896         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1897         Synchronize on font peer.
1898         (setFont): Likewise.
1899         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1900         synchronized.
1901         (getTextMetrics): Likewise.
1902
1903 2006-11-25  Roman Kennke  <kennke@aicas.com>
1904
1905         * javax/swing/text/GapContent.java
1906         (getPositionsInRange): Rewritten to use the more efficient
1907         binary search searchFirst() and avoid an NPE that was caused
1908         by GC'ed positions.
1909
1910 2006-11-25  Mark Wielaard  <mark@klomp.org>
1911
1912         * javax/swing/text/CompositeView.java (modelToView): Never return
1913         null.
1914
1915 2006-11-25  Mark Wielaard  <mark@klomp.org>
1916
1917         * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1918         Check whether rowView instanceof RowView.
1919         (updateGrid): Likewise.
1920
1921 2006-11-25  Mario Torre  <neugens@nirvana.limasoftware.net>
1922
1923         PR28462
1924         * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1925         * java/text/NumberFormat.java (format): all format methods, fixed
1926         FieldPosition argument should never be null.
1927         (format(Object, StringBuffer, FieldPosition)): fixed signature,
1928         method is not final.
1929         * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1930         locale.
1931         * AUTHORS: added my name to the file.
1932
1933 2006-11-25  Mark Wielaard  <mark@klomp.org>
1934
1935         * javax/swing/text/html/StyleSheet.java (paint): Guard against
1936         getChildAllocation() returning null.
1937
1938 2006-11-25  Mark Wielaard  <mark@klomp.org>
1939
1940         * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1941         Use clazzIndex for id substring.
1942
1943 2006-11-25  Mark Wielaard  <mark@klomp.org>
1944
1945         * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1946         it is still running.
1947
1948 2006-11-25  Mark Wielaard  <mark@klomp.org>
1949
1950         Fixes bug #28822
1951         * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1952         CREATE_API_DOCS
1953
1954 2006-11-24  Tania Bento  <tbento@redhat.com>
1955
1956         * java/awt/font/TextHitInfo.java
1957         (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1958         (beforeOffset): Decreased first parameter by 1.
1959
1960 2006-11-24  Francis Kung  <fkung@redhat.com>
1961
1962         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1963         (constructor): Check sample model when setting fastCM flag.
1964         (updateBufferedImage): Check scanline and sample model offsets before
1965         copying data directly into the image data buffer.
1966
1967 2006-11-24  Francis Kung  <fkung@redhat.com>
1968
1969         * gnu/java/awt/java2d/QuadSegment.java
1970         (offsetSubdivided): Handle special straight-line cases.
1971
1972 2006-11-24  Roman Kennke  <kennke@aicas.com>
1973
1974         * java/awt/dnd/DropTarget.java
1975         (DropTargetAutoScroller.HYSTERESIS): New constant.
1976         (DropTargetAutoScroller.DELAY): New constant.
1977         (DropTargetAutoScroller.inner): New field. A cached
1978         Rectangle instance.
1979         (DropTargetAutoScroller.outer): New field. A cached
1980         Rectangle instance.
1981         (DropTargetAutoScroller.timer): New field. The actual timer.
1982         (DropTargetAutoScroller.DropTargetAutoScroller):
1983         Initialize timer.
1984         (DropTargetAutoScroller.actionPerformed): Implemented.
1985         (DropTargetAutoScroller.stop): Implemented.
1986         (DropTargetAutoScroller.updateLocation): Implemented.
1987         (clearAutoscroll): Stop the autoscroller before nullifying it.
1988         (createDropTargetAutoScroller): Don't set the field here,
1989         only return a new instance.
1990         (dragEnter): Only do something when active. Initialize
1991         auto scrolling.
1992         (dragExit): Only do something when active. Stop auto scrolling.
1993         (dragOver): Only do something when active. Update auto scrolling.
1994         (drop): Only do something when active. Update auto scrolling.
1995         (dropActionChanged): Only do something when active. Update
1996         auto scrolling.
1997         (initializeAutoScrolling): Check if component is an instance
1998         of Autoscroll, otherwise do nothing.
1999         (setActive): Disable autoscrolling when deactivating.
2000         (setComponent): When component is set to null, disable autoscrolling.
2001
2002 2006-11-24  David Gilbert  <david.gilbert@object-refinery.com>
2003
2004         * java/beans/beancontext/BeanContextServicesSupport.java
2005         (getChildBeanContextServicesListener): Implemented.
2006
2007 2006-11-23  Roman Kennke  <kennke@aicas.com>
2008
2009         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2010         (createGraphics): Use constructor to create new instance of
2011         BufferedImageGraphics.
2012         * java/awt/Toolkit.java
2013         (getDefaultToolkit): Really try to get a real toolkit. Only
2014         use HeadlessToolkit if no other is available.
2015         * gnu/java/awt/peer/gtk/GtkToolkit.java
2016         (checkHeadless): New helper method. Checks for headless environment
2017         and throws HeadlessException if appropriate.
2018         (createButton): Check for headless.
2019         (createCanvas): Check for headless.
2020         (createCheckbox): Check for headless.
2021         (createCheckboxMenuItem): Check for headless.
2022         (createChoice): Check for headless.
2023         (createDialog): Check for headless.
2024         (createDragGestureRecognizer): Check for headless.
2025         (createDragSourceContextPeer): Check for headless.
2026         (createEmbeddedWindow): Check for headless.
2027         (createFileDialog): Check for headless.
2028         (createFrame): Check for headless.
2029         (createCheckbox): Check for headless.
2030         (createLabel): Check for headless.
2031         (createList): Check for headless.
2032         (createMenu): Check for headless.
2033         (createMenuBar): Check for headless.
2034         (createMenuItem): Check for headless.
2035         (createPanel): Check for headless.
2036         (createPopupMenu): Check for headless.
2037         (createScrollbar): Check for headless.
2038         (createScrollPane): Check for headless.
2039         (createTextArea): Check for headless.
2040         (createTextField): Check for headless.
2041         (createWindow): Check for headless.
2042
2043 2006-11-23  David Gilbert  <david.gilbert@object-refinery.com>
2044
2045         * java/beans/beancontext/BeanContextSupport.java
2046         (deserialize): Implemented,
2047         (serialize): Implemented.
2048
2049 2006-11-23  Roman Kennke  <kennke@aicas.com>
2050
2051         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2052         (createGraphics): Try to use Cairo graphics if available.
2053
2054 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
2055
2056         * java/beans/beancontext/BeanContextSupport.java
2057         (toArray): Added API docs,
2058         (toArray(Object[])): Added API docs, removed NotImplementedException.
2059
2060 2006-11-22  Tania Bento  <tbento@redhat.com>
2061
2062         * javax/swing/JRootPane.java
2063         (setLayeredPane): Added documentation; throw 
2064         IllegalComponentStateException if layered pane parameter is null.
2065
2066 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
2067
2068         * java/beans/beancontext/BeanContextSupport.java
2069         (avoidingGui): Removed NotImplementedException.
2070
2071 2006-11-22  Francis Kung  <fkung@redhat.com>
2072
2073         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2074         (drawGlyphVector): Clip updated area to glyph bounds.
2075         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2076         (createPath): Eliminate distortion when pixel-shifting rectangles; separate
2077         x-coordinate and y-coordinate pixel shifting.
2078         (shifted): Removed method.
2079         (shiftX): New method, recognising scaling transforms.
2080         (shiftY): New method, recognising scaling transforms.
2081         (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
2082
2083 2006-11-22  Roman Kennke  <kennke@aicas.com>
2084
2085         * java/awt/font/TextLayout.java
2086         (hash): New field. Caches the hash code.
2087         (hashCode): Implemented.
2088
2089 2006-11-22  Roman Kennke  <kennke@aicas.com>
2090
2091         * java/awt/image/ImageFilter.java
2092         Reformat whole class.
2093         (getFilterInstance): Don't touch the consumer field. Don't check
2094         consumer.
2095         (imageComplete): Don't check consumer.
2096         (setColorModel): Don't check consumer.
2097         (setDimensions): Don't check consumer.
2098         (setHints): Don't check consumer.
2099         (setPixels): Don't check consumer.
2100         (setProperties): Pass the original property too.
2101         * java/awt/image/IndexColorModel.java
2102         (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
2103         transparent pixel by calling the new helper method.
2104         (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
2105         transparent pixel by calling the new helper method.
2106         (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
2107         transparent pixel by calling the new helper method.
2108         (coerceData): Removed. This is not needed.
2109         (getAlpha): Simply return value from color map. The transparent
2110         pixel has to be there.
2111         (setTransparentPixel): New helper method. Inserts the transparent
2112         pixel.
2113         * java/awt/image/RGBImageFilter.java
2114         Reformat whole class.
2115         (convertColorModelToDefault): Removed. No longer needed.
2116         (filterIndexColorModel): Don't handle transparent pixels
2117         separately.
2118         (filterRGBPixels): Set pixels on consumer already.
2119         (makeColor): Removed. No longer needed.
2120         * java/awt/image/ReplicateScaleFilter.java
2121         (replicatePixels): Removed.
2122         (setDimension): Correctly compute destination size, avoid double
2123         calculations.
2124         (setPixels): Avoid double calculations. Fixed some boundary cases.
2125         (setupSources): New helper method.
2126         * java/awt/image/SampleModel.java
2127         (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
2128         and TYPE_DOUBLE.
2129         * java/awt/image/SinglePixelPackedSampleModel.java
2130         (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
2131         This is not needed as the superclass already copies line
2132         by line.
2133         (setDataElements(int,int,Object,DataBuffer)): Simplified code,
2134         removed some checks that the RI also doesn't perform. Call
2135         DataBuffer.setElem().
2136
2137 2006-11-22  Roman Kennke  <kennke@aicas.com>
2138
2139         * java/awt/text/TextLayout.java
2140         (getLogicalRangesForVisualSelection): Implemented.
2141
2142 2006-11-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2143
2144         * sun/reflect/annotation/AnnotationParser.java,
2145         * sun/reflect/annotation/AnnotationType.java,
2146         * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
2147         * sun/reflect/annotation/ExceptionProxy.java:
2148         Stubbed.
2149         * sun/misc/ServiceConfigurationError.java,
2150         * sun/misc/Service.java:
2151         Implemented.
2152         
2153 2006-11-21  Roman Kennke  <kennke@aicas.com>
2154
2155         * java/awt/text/TextLayout.java
2156         (Run.isLeftToRight): New helper method.
2157         (logicalToVisual): New field. Maps logical indices to visual
2158         indices.
2159         (visualToLogical): New field. Maps visual indices to logical
2160         indices.
2161         (TextLayout): Setup mappings.
2162         (setupMappings): New method for setting up the mappings.
2163         (getCharacterLevel): Reorganized code.
2164         (getNextLeftHit(int)): Implemented.
2165         (getNextLeftHit(int,CaretPolicy)): New method.
2166         (getNextLeftHit(TextHitInfo)): Implemented.
2167         (getNextRightHit(int)): Implemented.
2168         (getNextRightHit(int,CaretPolicy)): New method.
2169         (getNextRightHit(TextHitInfo)): New method.
2170         (getVisualOtherHit): Implemented.
2171         (checkHitInfo): New helper methods for checking parameters.
2172         (hitToCaret): New helper method. Maps hit infos to caret locations.
2173         (caretToHit): New helper method. Maps caret locations to hit infos.
2174         (isCharacterLTR): New helper method.
2175         (CaretPolicy.getStrongCaret): Implemented.
2176
2177 2006-11-21  Francis Kung  <fkung@redhat.com>
2178
2179         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2180         (draw): Include stroke width when calculating bounds.
2181         (updateBufferedImage): Round bounds more generously, handle negative
2182         height/width values, and clip more intelligently.
2183         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2184         (createPath): Add shortcut optimization for lines.
2185         (draw): Include stroke width when calculating bounds.
2186         (drawLine): Delegate to main draw() method.
2187         (drawRect): Likewise.
2188         (fillRect): Delegate to main fill() method.
2189         (findStrokedBounds): New method.
2190         (setCustomPaint): Round bounds more generously.
2191         * gnu/java/awt/peer/gtk/ComponentGraphics.java
2192         (drawLine): Removed.
2193         (drawRect): Removed.
2194         (fillRect): Removed.
2195
2196 2006-11-21  Francis Kung  <fkung@redhat.com>
2197
2198         * gnu/java/awt/java2d/TexturePaintContext.java
2199         (getRaster): Handle negative coordinate values.
2200         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2201         (setPaint): Moved custom paint processing to a new method.
2202         (setPaintPixels): Added x, y parameters.
2203         (getRealBounds): Added documentation.
2204         (copy): Copy clipping information.
2205         (drawLine): Process custom paints.
2206         (setCustomPaint): New method.
2207         (fill): Process custom paints.
2208         (drawGlyphVector): Process custom paints.
2209         (drawRect): Process custom paints.
2210         (draw): Process custom paints.
2211         * gnu/java/awt/peer/gtk/CairoSurface.java
2212         (cairoCM_opaque): New constant.
2213         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2214         (argb32): Removed constant.
2215         (rgb32): Removed constant.
2216         (BufferedImageGraphics(BufferedImage)): Updated constant names.
2217         (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
2218         (updateBufferedImage): Transform to device-space before updating.
2219         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
2220         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
2221         parameters.
2222         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2223         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
2224         source at designated x, y origin.
2225
2226 2006-11-21  Roman Kennke  <kennke@aicas.com>
2227
2228         * java/awt/text/TextLayout.java
2229         (Run): New inner helper class.
2230         (length): New field.
2231         (naturalBounds): New field.
2232         (offset): New field.
2233         (runIndices): Removed. This is now encapsulate in a Run object.
2234         (runs): Changed to Run[].
2235         (string): Changed to char[].
2236         (totalAdvance): New field. Caches advance value.
2237         (TextLayout(String,Font,FontRenderContext)): Change to store
2238         string as char[] and run layout as Run[]. Clean out empty
2239         run items.
2240         (TextLayout(TextLayout,int,int)): Change to store
2241         string as char[] and run layout as Run[].
2242         (clone): Call private constructor for maximum efficiency.
2243         (determineWhitespace): Adapted to use char[] data.
2244         (draw): Adapted to use Run objects.
2245         (getAdvance): Cache computed total advance.
2246         (getBlackBoxBounds): Adapted to use Run objects.
2247         (getCaretInfo): Use natural layout bounds.
2248         (getCharacterCount): Return length field.
2249         (getLogicalHighlightShape): Adapted to use Run objects.
2250         (getNaturalBounds): New helper method. Calculates and returns the
2251         natural bounds of this text layout.
2252         (getOutline): Adapted to use Run objects.
2253         (getStringProperties): Adapted to use char[] data.
2254         (getVisibleAdvance): Adapted to use char[] and Run data.
2255         (handleJustify): Adapted to use char[] and Run data.
2256         (hitTestChar(float,float,Rectangle2D)): Implemented.
2257         (hitTestChar(float,float)): Use natural bounds.
2258         (setCharIndices): Adapted to use char[] and Run data.
2259         (toString): Adapted to use char[] and Run data.
2260         * java/text/Bidi.java
2261         (requiresBidi): Exclude paragraph separators from bidi-triggers.
2262
2263 2006-11-21  Roman Kennke  <kennke@aicas.com>
2264
2265         * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
2266         Removed. This is now an inner class in GdkFontPeer.
2267         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2268         (drawString(float,float)): Use text layout cache from
2269         GdkFontPeer.
2270         (getFontMetrics): Delegate to GdkFontPeer.
2271         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2272         (getGlyphCodes): Also check array size.
2273         (getGlyphPositions): Also check array size.
2274         * gnu/java/awt/peer/gtk/GdkFontPeer.java
2275         (GdkFontLineMetrics.fm): Removed.
2276         (GdkFontLineMetrics.strikeThroughOffset): Removed.
2277         (GdkFontLineMetrics.strikeThroughThickness): Removed.
2278         (GdkFontLineMetrics.underlineOffset): Removed.
2279         (GdkFontLineMetrics.underlineThickness): Removed.
2280         (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
2281         FontMetrics argument. Don't init removed fields.
2282         (GdkFontLineMetrics.getAscent): Return font peer's field.
2283         (GdkFontLineMetrics.getDescent): Return font peer's field.
2284         (GdkFontLineMetrics.getHeight): Return font peer's field.
2285         (GdkFontLineMetrics.getLeading): Return font peer's field.
2286         (GdkFontLineMetrics.getNumChars): Reformat.
2287         (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
2288         (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
2289         (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
2290         (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
2291         (GdkFontMetrics): Moved class in here as inner class. 
2292         Make it use the font peer's fields and for the char(s) width
2293         and string width method, use TextLayout to measure the actual widths.
2294         (ascent): New field.
2295         (bundle): Removed.
2296         (DEFAULT_CTX): New constant field.
2297         (descent): New field.
2298         (FONT_METRICS_ASCENT): New constant.
2299         (FONT_METRICS_DESCENT): New constant.
2300         (FONT_METRICS_HEIGHT): New constant.
2301         (FONT_METRICS_MAX_ADVANCE): New constant.
2302         (FONT_METRICS_MAX_ASCENT): New constant.
2303         (FONT_METRICS_MAX_DESCENT): New constant.
2304         (FONT_METRICS_UNDERLINE_OFFSET): New constant.
2305         (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
2306         (height): New field.
2307         (maxAdvance): New field.
2308         (maxAscent): New field.
2309         (maxDescent): New field.
2310         (metrics): New field. Stores a FontMetrics for this font.
2311         (textLayoutCache): New field. Caches TextLayout instances.
2312         (underlineOffset): New field.
2313         (underlineThickness): New field.
2314         (cinit): Don't initialize resource bundle.
2315         (GdkFontPeer): Setup the metrics.
2316         (getFontMetrics): Return stored metrics if possible.
2317         (getLineMetrics): Adapt to new constructor.
2318         (initFont): New helper method.
2319         (setupMetrics): New helper method.
2320         * gnu/java/awt/peer/gtk/GtkToolkit.java
2321         (LRUCache): Made class a static class.
2322         (getFontMetrics): Delegate to GdkFontPeer.
2323         * native/jni/gtk-peer/gdkfont.h
2324         Added new constant defines.
2325         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2326         (getFontMetrics): Rewritten to fetch the font metrics from
2327         FreeType.
2328
2329 2006-11-20  Tania Bento  <tbento@redhat.com>
2330
2331         * javax/swing/ButtonGroup.java:
2332         (setSelected): Select the ButtonModel if all conditions
2333         are met.
2334
2335 2006-11-20  Tania Bento  <tbento@redhat.com>
2336
2337         * javax/swing/JSlider.java:
2338         (updateLabelUIs): Removed casting.
2339
2340 2006-11-20  Mark Wielaard  <mark@klomp.org>
2341
2342         * gnu/java/util/regex/RE.java (messages): Don't initialize.
2343         (bundle): New static final String field.
2344         (getLocalizedMessage): Initialize messages when still null.
2345         * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
2346         (set): Use RE.getLocalizedMessage().
2347         (clear): Likewise.
2348         (setLineSeparator): Likewise.
2349
2350 2006-11-20  Roman Kennke  <kennke@aicas.com>
2351
2352         * javax/swing/text/html/StyleSheet.java
2353         (linked): New field.
2354         (styleSheet): Replaced by linked.
2355         (addStyleSheet): Use an arraylist for simplicity.
2356         (getRule): Removed useless instantiation.
2357         (getStyleSheets): Convert array list to array.
2358         (removeStyleSheet): Use an arraylist for simplicity.
2359         (resolveStyle): Include styles from linked lists.
2360
2361 2006-11-20  Roman Kennke  <kennke@aicas.com>
2362
2363         * javax/swing/text/BoxView.java
2364         (BoxView): Initialize with invalid req's.
2365         (forwardUpdate): Trigger repaint when children changed the
2366         major axis.
2367         (getResizeWeight): Return resizable when the pref differs from
2368         the min or the pref differs from the max size.
2369         (layoutMajorAxis): Actually sum up the preferred sizes.
2370         (paint): Made binary search more robust.
2371         (replace): Let arrays shrink when needed.
2372         (replaceLayoutArray): Let arrays shrink when needed.
2373         (setAxis): Trigger preferenceChanged.
2374         * javax/swing/text/CompositeView.java
2375         (getInsideAllocation): Call insets method to take account
2376         of overriding subclasses.
2377         * javax/swing/text/DefaultStyledDocument.java
2378         (ElementBuffer.finishEdit): Clear the stack and edits buffer.
2379         (ElementBuffer.insertUpdate): Only remove the found element, not
2380         all.
2381         * javax/swing/text/GlyphView.java
2382         (insertUpdate): Pass null in preferenceChanged.
2383         (removeUpdate): Pass null in preferenceChanged.
2384         (changedUpdate): Pass null in preferenceChanged.
2385         * javax/swing/text/Utilities.java
2386         (drawTabbedText): Avoid single calls to charWidth() and instead
2387         call charsWidth() on whole chunks.
2388         * javax/swing/text/html/HTMLDocument.java
2389         (BlockElement.getName): Fall back to super when necessary.
2390         (RunElement.getName): Fall back to super when necessary.
2391         (HTMLReader.MAX_THRESHOLD): New constant field.
2392         (HTMLReader.GROW_THRESHOLD): New constant field.
2393         (HTMLReader.theshold): New field.
2394         (HTMLReader.HTMLReader): Fetch threshold from document.
2395         (HTMLReader.addContent): Sucessivly grow the threshold.
2396         (createLeafElement): Don't create two elemens and don't set
2397         attribute.
2398         * javax/swing/text/html/TableView.java
2399         (RowView.replace): Invalidate grid.
2400         (gridValid): Made package private.
2401         (layoutMinorAxis): Mark all rows as invalid.
2402         (replace): Invalidate grid.
2403
2404 2006-11-20  Roman Kennke  <kennke@aicas.com>
2405
2406         * javax/swing/text/AbstractDocument.java
2407         (DefaultDocumentEvent.changes): Changed to be a HashMap.
2408         (DefaultDocumentEvent.modified): Made private.
2409         (DefaultDocumentEvent.THRESHOLD): New constant field.
2410         (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2411         changes table.
2412         (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2413         exceeding threshold.
2414         (DefaultDocumentEvent.getChange): Use iterative approach
2415         when we have no hashmap yet.
2416         (documentCV): Removed.
2417         (numWriters): Renamed from numWritersWaiting.
2418         (createPosition): Reformat.
2419         (getCurrentWriter): Synchronized.
2420         (readLock): Implement more straightforward.
2421         (readUnlock): Implement more straightforward.
2422         (writeLock): Implement more straightforward.
2423         (writeUnlock): Implement more straightforward.
2424         (remove): Write-lock here.
2425         (removeImpl): Don't write-lock here.
2426
2427 2006-11-20  Roman Kennke  <kennke@aicas.com>
2428
2429         * javax/swing/JEditorPane.java
2430         (setPage): Set priority on loading thread.
2431
2432 2006-11-20  Roman Kennke  <kennke@aicas.com>
2433
2434         * javax/swing/plaf/basic/BasicTextUI.java
2435         (RootView.paint): Avoid allocation.
2436         (cachedInsets): New field. Caches an Insets instance.
2437         (getNextVisualPositionFrom): Read-lock the document to avoid
2438         thread nastiness. Push allocation.
2439         (getPreferredSize): Push fake allocation when not yet laid out.
2440         (getVisibleEditorRect): Use cached insets.
2441         (viewToModel): Read-lock the document to avoid
2442         thread nastiness. Push allocation.
2443
2444 2006-11-20  Roman Kennke  <kennke@aicas.com>
2445
2446         * javax/swing/text/StyleContext.java
2447         (attributeSetPool): Synchronize this map.
2448         (addAttribute): Synchronize this method.
2449         (addAttributes: Synchronize this method.
2450         (readObject): Install synchronized map on target object.
2451         (removeAttribute): Synchronize this method.
2452         (removeAttributes): Synchronize this method.
2453         (removeAttributes): Synchronize this method.    
2454         
2455 2006-11-20  Roman Kennke  <kennke@aicas.com>
2456
2457         * javax/swing/text/GapContent.java
2458         (GapContentPosition.GapContentPosition): Removed constructor.
2459         (Mark): Made subclass of WeakReference to refer directly to
2460         the associated position.
2461         (Mark.refCount): Removed.
2462         (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2463         New constructor. Used to reference a position and register the
2464         reference queue.
2465         (Mark.Mark(index)): Call super and don't adjust mark offset.
2466         (Mark.compareTo): Removed.
2467         (Mark.equals): Removed.
2468         (Mark.getOffset): Return at least null. Removed assert.
2469         (Mark.getPosition): New helper method.
2470         (garbageMarks): New field.
2471         (positions): Removed.
2472         (searchMark): New field.
2473         (GapContent): Removed init of positions map.
2474         (addImpl): New helper method.
2475         (adjustPositionsInRange): Removed.
2476         (compare): New helper method.
2477         (createPosition): Rewritten for new datastructures. This now
2478         performs a much more efficient binary search for finding
2479         a position at the requested offste.
2480         (garbageCollect): Rewritten to collect unused marks.
2481         (getPositionsInRange): Adjusted for new data structures.
2482         (removeImpl): New helper method.
2483         (replace): Use new addImpl() and removeImpl() helper method for
2484         correctly adjusting the positions and gap.
2485         (search): Rewritten. Implements a more suitable binary search.
2486         (searchFirst): New helper method.
2487         (setPositionsInRange): Removed.
2488         (shiftEnd): Update the marks here.
2489         (shiftGap): Update the marks here.
2490         (shiftGapEndUp): Update the marks here.
2491         (shiftGapStartDown): Update the marks here.
2492
2493 2006-11-20  Marco Trudel <mtrudel@gmx.ch>
2494
2495         * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2496         digest algorithm implementations.
2497         (readSignatures): Parse the manifest once and reuse that data.
2498         Add support for line breaks.
2499         (verifyHashes): Use the parsed manifest entry.
2500         (readManifestEntry): Removed.
2501
2502 2006-11-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2503
2504         * java/beans/beancontext/BeanContextServicesSupport.java:
2505         Added more documentation.
2506         (addService(Class,BeanContextServiceProvider,boolean)):
2507         Synchronized over global hierarchy lock.
2508         (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2509         (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2510         (childJustRemovedHook(Object,BCSChild)): Implemented.
2511         (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2512         Implemented.
2513         (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2514         Added revocation-only listeners.
2515         (getBeanContextServicesPeer()): Implemented.
2516         (getCurrentServiceClasses(Class)): Synchronized over global
2517         hierarchy lock.
2518         (getCurrentServiceSelectors(Class)): Synchronized over global
2519         hierarchy lock, and fixed FIXME.
2520         (getService(BeanContextChild,Object,Class,Object,
2521         BeanContextServiceRevokedListener)): Implemented.
2522         (hasService(Class)): Synchronized over global hierarchy lock.
2523         (releaseService(BeanContextChild,Object,Object)): Implemented.
2524         (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2525         * java/beans/beancontext/BeanContextSupport.java:
2526         (remove(Object, boolean)): Documentation correction.
2527         
2528 2006-11-19  Roman Kennke  <kennke@aicas.com>
2529
2530         * javax/swing/JEditorPane.java
2531         (PageStream): New inner class.
2532         (PageLoader): New inner class.
2533         (loading): New field.
2534         (setPage): Implemented asynchronous loading.
2535         * javax/swing/text/DefaultStyledDocument.java
2536         (ElementBuffer.create): New helper method.
2537         (create): Use new ElementBuffer method instead of hack.
2538         * javax/swing/text/html/HTMLDocument.java
2539         (HTMLReader.flushImpl): New helper method.
2540         (HTMLReader.addContent): Use flushImpl().
2541         (HTMLReader.blockClose): Added null check.
2542         (HTMLReader.flush): Use flushImpl().
2543         * javax/swing/text/html/HTMLEditorKit.java
2544         (createDefaultDocument): Set load priority to 4 and token threshold
2545         to 100.
2546         * javax/swing/text/html/TableView.java
2547         (insertUpdate): Overridden to provide correct view factory.
2548         (removeUpdate): Overridden to provide correct view factory.
2549         (changedUpdate): Overridden to provide correct view factory.
2550
2551 2006-11-19  Roman Kennke  <kennke@aicas.com>
2552
2553         * javax/swing/text/BoxView.java
2554         (clipRect): New field.
2555         (tmpRect): New field.
2556         (layout): Reorganized code. Now uses layoutAxis() helper method.
2557         (layoutAxis): New helper method.
2558         (paint): Optimized by using cached Rectangle objects and
2559         a binary search for child views inside the clip.
2560         * javax/swing/text/CompositeView.java
2561         (insideAllocation): Made private and initialized in constructor.
2562         (getInsideAllocation): Removed initialization block for
2563         insideAllocation field. Avoid unnecessary allocations.
2564         * javax/swing/text/GlyphView.java
2565         (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2566         The remaining stuff (background, underline and striking) is
2567         done in the GlpyhView itself. Avoid unnecessary allocations.
2568         (cached): A cached Segment instance.
2569         (getText): Return cached segment.
2570         (paint): Paint underline, strike and background here. Avoid
2571         unecessary allocs.
2572
2573 2006-11-19  Roman Kennke  <kennke@aicas.com>
2574
2575         * javax/swing/text/html/StyleSheet.java
2576         (getFontSize): Removed debug output.
2577         (ListPainter.tmpRect): New field.
2578         (ListPainter.paint): Align bullet vertically centered to
2579         the first line of the paragraph.
2580
2581 2006-11-17  Roman Kennke  <kennke@aicas.com>
2582
2583         * gnu/javax/swing/text/html/css/CSSParser.java
2584         (parseDeclaration): Trim string before reporting.
2585         * gnu/javax/swing/text/html/css/FontSize.java
2586         (size): New field.
2587         (isRelative): New field.
2588         (sizeIndex): New field.
2589         (FontSize): Initialize new fields.
2590         (getValue): Changed to call getValue(int).
2591         (getValue(int)): New method. Implements relative font sizes.
2592         (isRelative): New method.
2593         (mapAbsolute): Store index.
2594         (mapEM): New helper method.
2595         (mapLarger): New helper method.
2596         (mapPercent): New helper method.
2597         (mapRelative): New helper method.
2598         (mapSmaller): New helper method.
2599         (mapValue): New helper method.
2600         * javax/swing/text/html/CSS.java
2601         (parseBackgroundShorthand): Create CSSColor directly.
2602         * javax/swing/text/html/StyleSheet.java
2603         (addRule): Invalidate resolved styles.
2604         (getFont): Call new getFontSize() method to resolve relative
2605         font sizes.
2606         (getFontSize): New helper method. Resolves relative font sizes.
2607         (translateHTMLToCSS): Create CSS objects directly.
2608
2609 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2610
2611         * gnu/java/util/regex/RETokenNamedProperty.java:
2612         (getHandler(String)): Add support for 'all'.
2613
2614 2006-11-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2615
2616         * gnu/javax/management/Server.java:
2617         Initial implementation of a GNU management server.
2618         * javax/management/MBeanPermission.java,
2619         * javax/management/MBeanRegistration.java,
2620         * javax/management/MBeanTrustPermission.java:
2621         Implemented.
2622         
2623 2006-11-17  Mark Wielaard  <mark@klomp.org>
2624
2625         * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2626
2627 2006-11-17  Gary Benson  <gbenson@redhat.com>
2628
2629         * java/net/DatagramSocket.java (getLocalAddress, connect,
2630         receive): Perform security check on address not hostname.
2631
2632 2006-11-16  Roman Kennke  <kennke@aicas.com>
2633
2634         * gnu/javax/swing/text/html/parser/support/Parser.java
2635         (_handleText): Fixed condition for consuming whitespace.
2636         Removed validator check, this is superfluous now.
2637
2638 2006-11-16  Roman Kennke  <kennke@aicas.com>
2639
2640         * gnu/javax/swing/text/html/css/CSSParser.java
2641         (parseRuleset): Support 'combined' selectors.
2642         (main): Adapt callback for combined selectors support.
2643         * gnu/javax/swing/text/html/css/CSSParserCallback.java
2644         (startStatement): Take selector array as argument, to
2645         support combined selectors.
2646         * javax/swing/text/html/BlockView.java
2647         (calculateMinorAxisRequirements): Fetch and apply alignment.
2648         * javax/swing/text/html/StyleSheet.java
2649         (CSSStyle): Inverted the constants for correct precedence.
2650         (CSSStyleSheetParserCallback.styles): New field. Stores the current
2651         styles.
2652         (CSSStyleSheetParserCallback.style): Removed.
2653         (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2654         (CSSStyleSheetParserCallback.end): Push multiple styles.
2655         (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2656
2657 2006-11-16  Roman Kennke  <kennke@aicas.com>
2658
2659         * javax/swing/text/FlowView.java
2660         (LogicalView.getPreferredSpan): Calculate maximum correctly.
2661         * javax/swing/text/GlyphView.java
2662         (tabExpander): New field.
2663         (tabX): New field.
2664         (breakView): Set tabX on broken view.
2665         (getPartialSpan): Let the painter fetch the span.
2666         (getTabbedSpan): Update the tab expander field. Maybe trigger
2667         relayout.
2668         (getTabExpander): Simply return the stored expander.
2669         * javax/swing/text/Utilities.java
2670         (getTabbedTextOffset): Made algoritm a little smarter and more
2671         efficient.
2672         (getTabbedTextWidth): Don't add single char widths, instead add
2673         chunks of characters.
2674         * javax/swing/text/html/ParagraphView.java
2675         (calculateMinorAxisRequirements): Adjust margin only when the
2676         CSS span is not fixed.
2677
2678 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
2679
2680         * java/beans/beancontext/BeanContextSupport.java
2681         (getChildBeanContextMembershipListener): Implemented,
2682         (getChildPropertyChangeListener): Implemented,
2683         (getChildSerializable): Implemented,
2684         (getChildVetoableChangeListener): Implemented,
2685         (getChildVisibility): Implemented,
2686         (setDesignTime): Use same property name as Sun's implementation.
2687
2688 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
2689
2690         * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2691         * java/beans/Statement.java
2692         (toString): Updated to match reference implementation.
2693
2694 2006-11-15  Roman Kennke  <kennke@aicas.com>
2695
2696         * javax/swing/text/html/HTMLEditorKit.java
2697         (InsertHTMLTextAction.actionPerformed): Also try inserting
2698         the alternate tag. Adjust the selection accordingly.
2699         (InsertHTMLTextAction.adjustSelection): New helper method.
2700         Adjusts the selection after an insertion.
2701         (insertAtBoundary): Delegate to deprecated method.
2702         (insertAtBoundry): Implemented missing method.
2703         (tryInsert): New helper method.
2704         (defaultActions): Implemented to fill the array with
2705         a couple of InsertHTMLTextActions.
2706
2707 2006-11-15  Roman Kennke  <kennke@aicas.com>
2708
2709         * javax/swing/text/html/ImageView.java
2710         (Observer): New class. Observes image loading.
2711         (haveHeight): New field.
2712         (haveWidth): New field.
2713         (height): New field.
2714         (width): New field.
2715         (image): New field.
2716         (imageIcon): New field.
2717         (loading): New field.
2718         (observer): New field.
2719         (reloadImage): New field.
2720         (reloadProperties): New field.
2721         (ImageView): Initialize observer and some flags.
2722         (getImage): Update the image state and return the image.
2723         (loadImage): New helper method. Actually starts loading.
2724         (paint): Rewritten to paint the image directly, not via Icon.
2725         (reloadImage): Rewritten. Loads the image and its properties.
2726         (renderIcon): Removed. No more necessary.
2727         (setPropertiesFromAttributes): Don't nullify image here.
2728         Added comment about missing impl.
2729         (setSize): Added comment about missing impl.
2730         (updateSize): New helper method. Updates the size attributes.
2731         (updateState): New helper method. Makes sure the image
2732         and its properties are valid.
2733
2734 2006-11-15  Roman Kennke  <kennke@aicas.com>
2735
2736         * gnu/javax/swing/text/html/parser/support/Parser.java
2737         (_handleEndTag_remaining): Consume whitespace after a closing
2738         block like tag.
2739
2740 2006-11-15  Roman Kennke  <kennke@aicas.com>
2741
2742         * javax/swing/text/html/HTMLDocument.java
2743         (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2744         directly.
2745         (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2746         directly.
2747         (HTMLReader.parseStack): Removed.
2748         (HTMLReader.blockClose): Simply call addContent() with ' '
2749         instead of doing more complicated stuff. Removed parseStack
2750         handling.
2751         (HTMLReader.blockOpen): Removed parseStack handling.
2752         (getInsertingReader): Removed parseStack init.
2753         * gnu/javax/swing/text/html/parser/htmlValidator.java
2754         (closeTag): Return true only when the tag actually should be
2755         closed.
2756         * gnu/javax/swing/text/html/parser/support/Parser.java
2757         (_handleEndTag): Only actually close the tag when the validator
2758         allows it.
2759
2760 2006-11-15  Roman Kennke  <kennke@aicas.com>
2761
2762         * javax/swing/text/html/CSS.java
2763         (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2764         attribute.
2765         * javax/swing/text/html/StyleSheet.java
2766         (BoxPainter.bottomPadding): New field.
2767         (BoxPainter.leftPadding): New field.
2768         (BoxPainter.rightPadding): New field.
2769         (BoxPainter.topPadding): New field.
2770         (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2771         too.
2772         (BoxPainter.getInset): Recognize and include the padding.
2773         (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2774          javax/swing/text/html/TableView.java
2775         (RowView.calculateMajorAxisRequirements): Adjust req's for
2776         cellSpacing.
2777         (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2778         (cellSpacing): New field.
2779         (columnRequirements): Made package private to avoid accessor method.
2780         (calculateMinorAxisRequirements): Include cellSpacing.
2781         (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2782         (layoutMajorAxis): Likewise.
2783         (layoutColumns): Respect cellSpacing.
2784         (setParent): Overridden to fetch the CSS attributes when view gets
2785         connected.
2786         (setPropertiesFromAttributes): New method. Fetches the cell
2787         spacing from the CSS attributes.
2788
2789 2006-11-15  Roman Kennke  <kennke@aicas.com>
2790
2791         * gnu/javax/swing/text/html/parser/support/Parser.java
2792         (_handleText): Consume whitespace directly before a closing tag.
2793         (restOfTag): Consume whitespace directly after opening.
2794         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2795         (preprocess): Don't perform array boundary checking by
2796         catch AIOOBE, instead check the boundary in loop condition.
2797         * gnu/javax/swing/text/html/parser/support/low/Constants.java
2798         (TAG_CLOSE): New constants. Describes the token pattern for
2799         a closing tag.
2800
2801 2006-11-14  Roman Kennke  <kennke@aicas.com>
2802
2803         * javax/swing/text/html/ImageView.java
2804         (getPreferredSpan): Use CSS length values.
2805         * javax/swing/text/html/TableView.java
2806         (CellView.calculateMajorAxisRequirements): Overridden to
2807         set the maximum reqs to maximum.
2808         (RowView.getMaximumSize): For the X_AXIS, set the maximum
2809         span to maximum.
2810         (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2811         the total column reqs.
2812         (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2813         the total column reqs.
2814         * gnu/javax/swing/text/html/css/CSSColor.java
2815         (convertValue): Catch NumberFormatExceptions for more robustness.
2816         * gnu/javax/swing/text/html/css/FontSize.java
2817         (mapPixels): Actually map px values. Catch NFE for more robustness.
2818
2819 2006-11-14  Roman Kennke  <kennke@aicas.com>
2820
2821         * gnu/java/awt/font/autofit/AxisHints.java,
2822         * gnu/java/awt/font/autofit/Constants.java,
2823         * gnu/java/awt/font/autofit/GlyphHints.java,
2824         * nu/java/awt/font/autofit/Latin.java,
2825         * nu/java/awt/font/autofit/LatinAxis.java,
2826         * gnu/java/awt/font/autofit/LatinMetrics.java,
2827         * gnu/java/awt/font/autofit/Scaler.java,
2828         * gnu/java/awt/font/autofit/Script.java,
2829         * gnu/java/awt/font/autofit/ScriptMetrics.java,
2830         * gnu/java/awt/font/autofit/Segment.java,
2831         * gnu/java/awt/font/autofit/Width.java:
2832         New classes. This is some skeleton stuff for the FreeType-alike
2833         auto-gridfitter.
2834         * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2835         * gnu/java/awt/font/opentype/OpenTypeFont.java
2836         (unitsPerEm): Made field public.
2837         (getRawGlyphOutline): New method. Fetches the raw outline.
2838         * gnu/java/awt/font/opentype/Scaler.java
2839         (getRawGlyphOutline): New method. Fetches the raw outline.
2840         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2841         (loadGlyph): New method. This is used to load raw outlines.
2842         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2843         (getRawOutline): New method. Fetches the raw outline.
2844         * gnu/java/awt/font/opentype/truetype/Zone.java:
2845         Made class public.
2846
2847 2006-11-14  Roman Kennke  <kennke@aicas.com>
2848
2849         * javax/swing/RepaintManager.java
2850         (RepaintManager): Fetch the default state for the double buffering
2851         from a system property gnu.swing.doublebuffering.
2852
2853 2006-11-14  Roman Kennke  <kennke@aicas.com>
2854
2855         * javax/swing/plaf/basic/BasicLabelUI.java
2856         (cachedInsets): New field.
2857         (getFontMetrics): New helper method. Fetches the font metrics
2858         from the component or the toolkit.
2859         (getPreferredSize): Use getFontMetrics() helper method for
2860         fetching the font metrics.
2861         (paint): Use getFontMetrics() helper method for
2862         fetching the font metrics. Only paint if icon or text
2863         are != null. Use cached insets.
2864         (paintDisabledText): Don't store/restore color object. The
2865         JComponent painting mechanism takes care of this by calling
2866         create().
2867         (paintEnabledText): Don't store/restore color object. The
2868         JComponent painting mechanism takes care of this by calling
2869         create().
2870
2871 2006-11-14  Roman Kennke  <kennke@aicas.com>
2872
2873         * gnu/java/awt/peer/GLightweightPeer.java
2874         (handleEvent): Try to do something reasonable and trigger painting
2875         for the lightweight component.
2876         (getFontMetrics): Fetch and return a font metrics object from
2877         the Toolkit.
2878
2879 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2880
2881         * gnu/java/util/regex/RETokenNamedProperty.java:
2882         (getHandler(String)): Add support for 'all'.
2883         
2884 2006-11-13  Andreas Tobler  <a.tobler@schweiz.org>
2885
2886         * AUTHORS: Add myself.
2887
2888 2006-11-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
2889
2890         * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2891         Dalibor Topic.  Re-order 'K' section.  Remove trailing space from
2892         Roman Kennke's entry.
2893
2894 2006-11-13  Roman Kennke  <kennke@aicas.com>
2895
2896         * java/awt/image/IndexColorModel.java
2897         (createCompatibleSampleModel): Implemented missing method.
2898
2899 2006-11-11  Andreas Tobler  <a.tobler@schweiz.org>
2900
2901         * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2902         from big endian systems correctly.
2903
2904 2006-11-11  Roman Kennke  <kennke@aicas.com>
2905
2906         * gnu/javax/swing/text/html/css/CSSColor.java
2907         (isValidColor): New helper method. Checks strings if they
2908         form a valid color value.
2909         * gnu/javax/swing/text/html/css/Length.java
2910         (Length): Catch number format exceptions.
2911         * javax/swing/text/html/CSS.java
2912         (addInternal): New method. Checks for shorthand CSS attributes
2913         and parses them.
2914         (parseBackgroundShorthand): New method. Parses the background
2915         shorthand attribute.
2916         * javax/swing/text/html/HTMLDocument.java
2917         (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2918         (HTMLReader.LinkAction.start): Implemented to load the linked
2919         stylesheet.
2920         (HTMLReader.LinkAction.end): Removed. This is not needed.
2921         * javax/swing/text/html/StyleSheet.java
2922         (CSSStyleSheetParserCallback.declaration): Push declaration
2923         through CSS.addInternal() to parse shorthand attributes.
2924         (addCSSAttribute): Push declaration through CSS.addInternal()
2925         to parse shorthand attributes.
2926         (importStyleSheet): Implemented. This adds a stylesheet from
2927         an URL.
2928         * javax/swing/text/html/TableView.java
2929         (calculateColumnRequirements): Increase column index for
2930         non CellView children to avoid endless loop.
2931         * javax/swing/text/CompositeView.java
2932         (setParent): Comparen with numChildren not with real arraylength.
2933
2934 2006-11-11  David Gilbert  <david.gilbert@object-refinery.com>
2935
2936         * java/beans/beancontext/BeanContextSupport.java
2937         (getChildBeanContextChild): Implemented.
2938
2939 2006-11-10  Roman Kennke  <kennke@aicas.com>
2940
2941         * javax/swing/text/View.java
2942         (updateLayout): Only repaint when needed.
2943
2944 2006-11-10  David Gilbert  <david.gilbert@object-refinery.com>
2945
2946         * java/util/Collections.java
2947         (sort(List)): Minor API doc addition,
2948         (sort(List, Comparator)): Likewise.
2949
2950 2006-11-10  David Fu  <fchoong@netbeans.jp>
2951
2952         * javax/swing/text/html/HTMLWriter.java
2953         (traverse): Removed Classpath specific handling of implied
2954         tags.
2955         (traverseHtmlFragment): Removed Classpath specific handling of
2956         implied tags.
2957
2958 2006-11-10  Roman Kennke  <kennke@aicas.com>
2959
2960         * javax/swing/text/ParagraphView.java
2961         (Row.getMaximumSize): Removed. This method is not necessary.
2962         * javax/swing/text/html/TableView.java
2963         (CellView): Moved attribute init to setPropertiesFromAttributes().
2964         (setPropertiesFromAttributes): Fetch attributes here.
2965         (RowView.RowView): Documented.
2966         (RowView.getMaximumSpan): Overridden to restrict the max span
2967         in the Y direction.
2968         (RowView.layoutMajorAxis): Correctly layout the spans.
2969         (columnWidths): New field. Stores the width attributes of
2970         the columns.
2971         (calculateColumnRequirements): Added support for relative
2972          (== percent) width attributes.
2973         (calculateMajorAxisRequirements): Removed.
2974         (calculateMinorAxisRequirements): Removed unnecessary code.
2975         (getMaximumSpan): Overridden to restrict the table's width.
2976         (layoutColumns): Documented. Implement more clever table layout,
2977         i.e. for relative columns etc.
2978         (layoutMinorAxis): Don't mark rows invalid.
2979         (updateGrid): Added docs. Initialize column widths.
2980
2981 2006-11-09  Roman Kennke  <kennke@aicas.com>
2982
2983         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2984         * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2985         Implement basic headless toolkit.
2986         * java/awt/Toolkit.java
2987         (getDefaultToolkit): Check headless property and create
2988         headless toolkit when true.
2989
2990 2006-11-09  Ingo Proetel  <proetel@aicas.com>
2991 2006-11-09  Roman Kennke  <kennke@aicas.com>
2992
2993         * gnu/java/awt/peer/swing/SwingButtonPeer.java
2994         (SwingButton.button): New field.
2995         (SwingButton.SwingButton): Added constructor.
2996         (SwingButton.isShowing): Access button field instead of
2997         the surrounding class.
2998         (SwingButton.getParent): Access button field instead of
2999         the surrounding class.
3000         (SwingButtonPeer): Call new SwingButton constructor.
3001         * gnu/java/awt/peer/swing/SwingComponent.java:
3002         Several documentation updates.
3003         * gnu/java/awt/peer/swing/SwingComponentPeer.java
3004         (currentPaintEvents): New field.
3005         (peerFont): New field.
3006         (SwingComponentPeer): Initialize currentPaintEvents fields.
3007         (coalescePaintEvents): Implemented.
3008         (dispose): Unregister peer from heavyweight list of its container.
3009         (getGraphics): Fetch graphics from parent component.
3010         (handleEvent): Discard paint event if its coalesced.
3011         (init): Register component with its container for proper painting.
3012         (paint): Call peerPaint().
3013         (peerPaint): Added argument that indicates if we should update.
3014         Call paint or update on the actual AWT component.
3015         (peerPaintComponent): New method. Paints the peer (Swing) component.
3016         (setFont): Set peerFont field.
3017         * gnu/java/awt/peer/swing/SwingContainerPeer.java
3018         (backbuffer): New field.
3019         (focusOwner): New field.
3020         (heavyweightDescendents): New field.
3021         (SwingContainerPeer): Take Container as argument. Don't call init
3022         yet.
3023         (addHeavyweightDescendent): New method.
3024         (getFocusOwner): New helper method.
3025         (getInsets): Delegate to insets().
3026         (handleKeyEvent): Dispatch event to focus owner.
3027         (handleMouseEvent): Dispatch to child component.
3028         (isDoubleBuffering): New helper method.
3029         (peerPaint): Overridden to implement container painting with
3030         double buffering.
3031         (peerPaintChildren): New method. Paints the descendents of this
3032         container.
3033         (removeHeavyweightDescendent): New helper method.       
3034         * gnu/java/awt/peer/swing/SwingFramePeer.java
3035         (peerPaint): Removed.
3036         (peerPaintComponent): Overridden to paint the menu bar.
3037         * gnu/java/awt/peer/swing/SwingLabelPeer.java
3038         (SwingLabel.label): New field.
3039         (SwingLabel.SwingLabel): Added constructor with Label argument.
3040         (SwingLabel.getGraphics): Implemented to fetch the graphics from
3041         the actual AWT component.
3042         (SwingLabel.getParent): Implemented to fetch the parent from
3043         the AWT component.
3044         (SwingLabel.isShowing): Access the label field.
3045         (SwingLabelPeer): Set alignment from label.
3046         * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
3047         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
3048         fixlet.
3049         * gnu/java/awt/peer/swing/SwingPanelPeer.java:
3050         Don't be a lighweight peer.
3051         (SwingPanelPeer): Call init.
3052         * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
3053         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
3054         (SwingTextField.textField): New field.
3055         (SwingTextField.SwingTextField): New constructor.
3056         (SwingTextField.isShowing): Access field not enclosing class.
3057         (SwingTextField.getGraphics): New method.
3058         (SwingTextField.getParent): New method.
3059         (SwingTextFieldPeer): Call new constructor.
3060         (select): Renamed arguments.
3061         * gnu/java/awt/peer/swing/SwingWindowPeer.java
3062         (SwingWindowPeer): Call init.
3063
3064 2006-11-09  Tania Bento  <tbento@redhat.com>
3065
3066         * javax/swing/JLabel.java
3067         (JLabel(Icon)): Changed documentation; Changed text to null.
3068         (JLabel(Icon,int)): Likewise.
3069         (JLabel(text)): Changed documenation.
3070         (JLabel(text,int)): Likewise.
3071         (JLabel(text,Icon,int)): Changed documentation; Throw 
3072         IllegalArgumentException if int is not one of LEFT, RIGHT,
3073         CENTER, LEADING or TRAILING.
3074
3075 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
3076
3077         * java/beans/beancontext/BeanContextSupport.java
3078         (BeanContextSupport): Use correct dtime default,
3079         (BeanContextSupport(BeanContext)): Likewise,
3080         (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
3081         locale argument,
3082         (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
3083         (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
3084
3085 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
3086
3087         * java/beans/beancontext/BeanContextSupport.java
3088         (getBeanContextPeer): Implemented.
3089
3090 2006-11-09  Roman Kennke  <kennke@aicas.com>
3091
3092         * javax/swing/text/html/BlockView.java
3093         (cssHeight): Removed.
3094         (cssWidth): Removed.
3095         (cssSpans): New field. Replaces the two fields above.
3096         (BlockView): Allocate cssSpans array.
3097         (layoutMinorAxis): Fetch and use child span, not this view's span.
3098         (setCSSSpan): Adjusted to use cssSpans array.
3099         (setPropertiesFromAttributes): Adjusted to use cssSpans array.
3100
3101 2006-11-09  Roman Kennke  <kennke@aicas.com>
3102
3103         * javax/swing/text/html/InlineView.java
3104         (nowrap): New field.
3105         (getBreakWeight): Add support for nowrap.
3106         (setPropertiesFromAttributes): Fetch the nowrap setting.
3107
3108 2006-11-09  Roman Kennke  <kennke@aicas.com>
3109
3110         * gnu/javax/swing/text/html/css/CSSParser.java
3111         (parseRuleset): Use new Selector class.
3112         (parseValue): Parse multiple anys, not only one.
3113         (main): Allow stylesheet be specified on the command line.
3114         Use new Selector class.
3115         * gnu/javax/swing/text/html/css/CSSParserCallback.java
3116         (startStatement): Use Selector class.
3117         * gnu/javax/swing/text/html/css/CSSScanner.java
3118         (readName): Actually read a character in the loop to avoid
3119         endless loop.
3120         * gnu/javax/swing/text/html/css/Length.java
3121         (getValue): Only multiply when we have a percentage value.
3122         * gnu/javax/swing/text/html/css/Selector.java:
3123         New class. Provides handling of CSS selectors.
3124         * javax/swing/text/html/StyleSheet.java
3125         (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
3126         (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
3127         (CSSStyle.PREC_NORM): New constant field.
3128         (CSSStyle.PREC_UA): New constant field.
3129         (CSSStyle.PREC_USER_IMPORTANT): New constant field.
3130         (CSSStyle.precedence): New field.
3131         (CSSStyle.priority): Removed.
3132         (CSSStyle.selector): New field.
3133         (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
3134         and precendence.
3135         (CSSStyle.compareTo): Adjusted to use the precedence and
3136         specificity of the selector.
3137         (CSSStyleSheetParserCallback.precedence): New field.
3138         (CSSStyleSheetParserCallback.selector): Removed.
3139         (CSSStyleSheetParserCallback.style): New field.
3140         (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
3141         Initialize with precedence.
3142         (CSSStyleSheetParserCallback.declaration): Don't look up
3143         existing rule, simply create new one.
3144         (CSSStyleSheetParserCallback.endStatement): Append style
3145         to stylesheet.
3146         (CSSStyleSheetParserCallback.startStatement): Use new Selector
3147         class.
3148         (css): Changed to be ArrayList.
3149         (addRule): Create parser with author-normal precendence.
3150         (getRule): Fixed implementation.
3151         (loadRules): Create parser with UA precendence.
3152         (resolveStyle): Use Selector class for resolving and matching
3153         stylesheet rules.
3154         (translateHTMLToCSS): Added mappings for a couple of HTML
3155         attributes.
3156
3157 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
3158
3159         Fixes bug #29770
3160         * java/beans/SimpleBeanInfo.java
3161         (loadImage): Check for nulls.
3162
3163 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
3164
3165         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3166         (getpeername): Added 16 byte offset to memcpy operation.
3167
3168 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
3169
3170         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3171         (getsockname): Added 16 byte offset to memcpy operation.
3172
3173 2006-11-08  Mark Wielaard  <mark@klomp.org>
3174
3175         Fixes bug #29754
3176         * java/io/OutputStreamWriter.java
3177         (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
3178         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
3179
3180 2006-11-08  Roman Kennke  <kennke@aicas.com>
3181
3182         * javax/swing/text/html/HTMLEditorKit.java
3183         (getParser): Use plain HTML_401F DTD.
3184         * javax/swing/text/html/HTMLDocument.java
3185         (HTMLReader.print): Removed method and all calls to it.
3186         (HTMLReader.printBuffer): Removed method and all calls to it.
3187         (HTMLReader.inImpliedParagraph): New field.
3188         (HTMLReader.inParagraph): New field.
3189         (HTMLReader.addContent): Create implied p-tag if necessary.
3190         (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
3191         (HTMLReader.blockClose): Close implied p-tag if necessary.
3192         (HTMLReader.blockOpen): Close implied p-tag if necessary.
3193         * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
3194
3195 2006-11-08  Roman Kennke  <kennke@aicas.com>
3196
3197         * javax/swing/text/html/HTMLEditorKit.java
3198         (HTMLFactory.create): Removed mapping for TD tag. This
3199         is done in TableView.
3200         * javax/swing/text/html/TableView.java:
3201         Implemented from scratch.
3202
3203 2006-11-07  Roman Kennke  <kennke@aicas.com>
3204
3205         * gnu/javax/swing/text/html/parser/support/Parser.java
3206         (_handleText): Check if text content is actually allowed before
3207         passing empty text fragments on to the parser callbacks.
3208
3209 2006-11-07  Mark Wielaard  <mark@klomp.org>
3210
3211         * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
3212         path.
3213         (flat): New method.
3214
3215 2006-11-07  Tania Bento  <tbento@redhat.com>
3216
3217         * java/awt/FlowLayout.java
3218         (getSize): If parent does not have a component, then a 
3219         different formula is used to calcuate the width.
3220
3221 2006-11-07  Roman Kennke  <kennke@aicas.com>
3222
3223         * javax/swing/text/html/HTMLEditorKit.java
3224         (HTMLFactory.create): Include ListView.
3225         * javax/swing/text/html/ListView.java
3226         (paint): Removed comment.
3227         * javax/swing/text/html/StyleSheet.java
3228         (CSSStyle.priority): New field.
3229         (CSSStyle.CSSStyle(int)): New constructor with priority.
3230         (CSSStyle.compareTo): New method. Used for sorting the styles.
3231         (CSSStyleSheetParserCallback.declaration): Store the style
3232         with the complete selector.
3233         (ListPainter.attributes): Renamed as field.
3234         (ListPainter.styleSheet): New field.
3235         (ListPainter.type): New field.
3236         (ListPainter.ListPainter): Pass StyleSheet to constructor.
3237         (ListPainter.paint): Provide simplistic implementation.
3238         (getListPainter): Pass StyleSheet to constructor.
3239         (resolveStyle): Fixed CSS style resolving.
3240
3241 2006-11-07  Roman Kennke  <kennke@aicas.com>
3242
3243         * gnu/javax/swing/text/html/css/BorderWidth.java:
3244         New class. Handles CSS border width values.
3245         * gnu/javax/swing/text/html/css/Length.java
3246         (floatValue): Made protected so that BorderWidth can access it.
3247         * javax/swing/text/html/CSS.java
3248         (Attribute.BORDER_BOTTOM_COLOR): New static field.
3249         (Attribute.BORDER_BOTTOM_STYLE): New static field.
3250         (Attribute.BORDER_LEFT_COLOR): New static field.
3251         (Attribute.BORDER_LEFT_STYLE): New static field.
3252         (Attribute.BORDER_RIGHT_COLOR): New static field.
3253         (Attribute.BORDER_RIGHT_STYLE): New static field.
3254         (Attribute.BORDER_TOP_COLOR): New static field.
3255         (Attribute.BORDER_TOP_STYLE): New static field.
3256         (getValue): Added some mappings for the border color and
3257         border width values.
3258         * javax/swing/text/html/CSSBorder.java: New class. Implements
3259         CSS borders.
3260         * javax/swing/text/html/StyleSheet.java
3261         (BoxPainter.background): New field.
3262         (BoxPainter.border): New field.
3263         (BoxPainter.bottomInset): Documented.
3264         (BoxPainter.leftInset): Documented.
3265         (BoxPainter.rightInset): Documented.
3266         (BoxPainter.topInset): Documented.
3267         (BoxPainter.BoxPainter): Added support for borders and background.
3268         (BoxPainter.getInset): Add border insets.
3269         (BoxPainter.paint): Implemented. Paints the background and the
3270         CSS border.
3271         (addRule): Be less picky about parse and IO exceptions.
3272         (getBoxPainter): Adjust to new BoxPainter constructor.
3273
3274 2006-11-07  Andreas  <a.tobler@schweiz.org>
3275
3276         * examples/Makefile.am: Add rule to install the *.html files we use
3277         in the Swing Demo.
3278
3279 2006-11-06  Francis Kung  <fkung@redhat.com>
3280
3281         * gnu/java/awt/peer/gtk/ComponentGraphics.java
3282         (fillRect): Handle custom composites.
3283         (drawRenderedImage): Handle custom composites.
3284         (drawImage): Handle custom composites.
3285         (createBuffer): New method.
3286         (drawLine): Handle custom composites.
3287         (drawComposite): New method.
3288         (fill): Handle custom composites.
3289         (getNativeCM): New method.
3290         (drawGlyphVector): Handle custom composites.
3291         (drawRect): Handle custom composites.
3292         (draw): Handle custom composites.
3293         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3294         (drawComposite): Unset composite during draw call, to prevent parent
3295         from handling composite again.
3296         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3297         (getBufferCM): Added comments.
3298         (getNativeCM): Made abstract.
3299         (setComposite): Removed comments.
3300
3301 2006-11-06  Roman Kennke  <kennke@aicas.com>
3302
3303         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3304         Fixed initial window size and start document.
3305
3306 2006-11-06  Roman Kennke  <kennke@aicas.com>
3307
3308         * javax/swing/text/html/HTMLDocument.java
3309         (HTMLReader.addSpecialElement): Removed comment about
3310         htmlAttributeSet.
3311         (HTMLReader.handleComment): Create SimpleAttributeSet instead
3312         of htmlAttributeSet.
3313         * javax/swing/text/html/parser/DocumentParser.java
3314         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3315         of htmlAttributeSet.
3316         * javax/swing/text/html/parser/ParserDelegator.java
3317         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3318         of htmlAttributeSet.
3319         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
3320         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3321         of htmlAttributeSet.
3322         * gnu/javax/swing/text/html/parser/support/Parser.java
3323         (getAttributes): Return a SimpleAttributeSet.
3324         (restOfTag): Don't set resolving parent here.
3325
3326 2006-11-06  Tania Bento  <tbento@redhat.com>
3327
3328         * java/awt/TextComponent.java
3329         (setSelectionStart): Added check.
3330
3331 2006-11-06  Tania Bento  <tbento@redhat.com>
3332
3333         * java/awt/TextField.java
3334         (minimumSize(int)): Check if minimum size has been previously
3335         set and changed values of Dimension returned if peer == null.
3336         (preferredSize(int)): Check if preferred size has been previously
3337         set and changed values of Dimension returned if peer == null.
3338
3339 2006-11-06  Roman Kennke  <kennke@aicas.com>
3340
3341         * javax/swing/JTree.java
3342         (TreeModelHandler.treeNodesRemoved): Implemented.
3343         (TreeModelHandler.treeStructureChanged): Implemented.
3344         (nodeStates): Made package private.
3345
3346 2006-11-06  Francis Kung  <fkung@redhat.com>
3347
3348         PR 29420
3349         * javax/swing/JTree.java
3350         (clearSelectionPathStates): New private method to clean up nodeStates.
3351         (removeSelectionPath): Call clearSelectionPathStates().
3352         (removeSelectionPaths): Call clearSelectionPathStates().
3353         (removeSelectionRow): Call clearSelectionPathStates().
3354         (setSelectionPath): Call clearSelectionPathStates().
3355         (setSelectionPaths): Call clearSelectionPathStates().
3356         (setSelectionRow): Call clearSelectionPathStates().
3357
3358 2006-11-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3359
3360         Fixes bug #29703
3361         * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
3362
3363 2006-11-06  Roman Kennke  <kennke@aicas.com>
3364
3365         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3366         Changed to implement a minimalistic browser.
3367         * examples/gnu/classpath/examples/swing/forms.html,
3368         * examples/gnu/classpath/examples/swing/textstyles.html,
3369         * examples/gnu/classpath/examples/swing/welcome.html:
3370         Some example content.
3371
3372 2006-11-06  Roman Kennke  <kennke@aicas.com>
3373
3374         * javax/swing/text/ComponentView.java
3375         (setParent): Lock the document and repaint the hosting
3376         container.
3377         * javax/swing/text/FlowView.java
3378         (FlowStrategy.createView): Removed comment.
3379         (FlowView): Initialize span with Short.MAX_VALUE.
3380         (getFlowStart): Return 0 unconditionally.
3381         (layout): Moved code around to make it more readable.
3382         (loadChildren): Always set the parent.
3383         * javax/swing/text/GlyphView.java
3384         (DefaultGlyphPainter.fontMetrics): New field.
3385         (DefaultGlyphPainter.getAscent): Use new helper method to
3386         synchronize the font metrics.
3387         (DefaultGlyphPainter.getBoundedPosition): Use new helper method
3388         to synchronize the font metrics.
3389         (DefaultGlyphPainter.getDescent): Use new helper method to
3390         synchronize the font metrics.
3391         (DefaultGlyphPainter.getHeight): Use new helper method to
3392         synchronize the font metrics.
3393         (DefaultGlyphPainter.getSpan): Use new helper method to
3394         synchronize the font metrics.
3395         (DefaultGlyphPainter.modelToView): Use new helper method to
3396         synchronize the font metrics.
3397         (DefaultGlyphPainter.updateFontMetrics): New helper method for
3398         font metrics caching.
3399         (DefaultGlyphPainter.viewToModel): Use new helper method to
3400         synchronize the font metrics. Fixed view to model mapping.
3401         * javax/swing/text/View.java
3402         (removeAll): Pass null to replace().
3403         (setParent): Only reparent children that have this view as parent.
3404
3405 2006-11-05  Mark Wielaard  <mark@klomp.org>
3406
3407         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3408         * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3409         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3410         Removed.
3411         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3412         Removed.
3413         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3414         Remove gnu_java_nio_channels_FileChannelImpl.c.
3415
3416 2006-11-03  Roman Kennke  <kennke@aicas.com>
3417
3418         * javax/swing/text/html/BlockView.java
3419         (attributes): New field.
3420         (cssHeight): New field.
3421         (cssWidth): New field.
3422         (painter): New field.
3423         (calculateMajorAxisRequirements): Overridden to account for
3424         CSS settings.
3425         (calculateMinorAxisRequirements): Overridden to account for
3426         CSS settings.
3427         (layoutMinorAxis): Overridden to account for CSS settings.
3428         (changedUpdate): Formatting fixlet.
3429         (constrainSize): New helper method.
3430         (getAlignment): Fix alignment.
3431         (getAttributes): Cache attributes for better performance.
3432         (getStyleSheet): Fetch stylesheet from document rather than creating
3433         a new one.
3434         (paint): Remove comment.
3435         (setCSSSpan): New helper method.
3436         (setPropertiesFromAttributes): Implemented to fetch the
3437         recognized properties.
3438         * javax/swing/text/html/CSS.java
3439         (getValue): Added mapping for width and height attributes.
3440         * javax/swing/text/html/InlineView.java
3441         (longestWord): New field.
3442         (getLongestWord): New helper method.
3443         (calculateLongestWord): New helper method.
3444         (getMinimumSpan): Overridden to constrain the minimum span by the
3445         longest word.
3446         * javax/swing/text/html/ParagraphView.java
3447         (cssHeight): New field.
3448         (cssWidth): New field.
3449         (calculateMinorAxisRequirements): Overridden to account for
3450         CSS settings.
3451         (setCSSSpan): New helper method.
3452         (setPropertiesFromAttributes): Fetch CSS width and height. Added
3453         null check.
3454         * gnu/javax/swing/text/html/css/Length.java
3455         (percentage): New field.
3456         (Length): Determine percentage values.
3457         (getValue(float)): New method for handling percentage values.
3458         (isPercentage): New method.
3459
3460 2006-11-03  Tania Bento  <tbento@redhat.com>
3461
3462         * java/awt/TextArea.java
3463         (getMinimumSize): Changed documentation.
3464         (getPreferredSize): Changed documentation.
3465         (getMinimumSize(int,int)): Changed documenation.
3466         (getPreferredSize(int,int)): Changed documenation.
3467         (minimumSize): Changed documentation.
3468         (preferredSize): Changed documenation.
3469         (minimumSize(int,int)): Changed documentation.  Checked if 
3470         minimum size had been previously set and changed values of
3471         Dimension returned if peer == null.
3472         (preferredSize(int, int)): Checked if preferred size had been
3473         previously set and changed values of Dimension returned if
3474         peer = null.
3475
3476 2006-11-03  Tania Bento  <tbento@redhat.com>
3477
3478         * java/awt/event/ComponentEvent.java
3479         (paramString): Changed format of string representation returned.
3480
3481 2006-11-03  Roman Kennke  <kennke@aicas.com>
3482
3483         * javax/swing/text/html/HTMLDocument.java
3484         (HTMLReader.FormAction.start): Added support for textarea.
3485         (HTMLReader.FormAction.end): Added support for textarea.
3486         (HTMLReader.HeadAction.end): Call super to actually close the
3487         block.
3488         (HTMLReader.inTextArea): New field.
3489         (HTMLReader.textAreaDocument): New field.
3490         (HTMLReader.handleText): Call textAreaContent when inside
3491         a textarea tag.
3492         (HTMLReader.textAreaContent): Implemented to initialize
3493         the text area's model.
3494         * javax/swing/text/html/FormView.java
3495         (createComponent): Added support for textarea tag.
3496
3497 2006-11-03  Roman Kennke  <kennke@aicas.com>
3498
3499         * javax/swing/text/html/HTMLDocument.java
3500         (HTMLReader.IsindexAction.start): Implemented.
3501
3502 2006-11-03  Roman Kennke  <kennke@aicas.com>
3503
3504         * javax/swing/text/html/StyleSheet.java
3505         (addRule): Implemented.
3506         * javax/swing/text/html/HTMLDocument.java
3507         (HTMLReader.inStyleTag): New field.
3508         (HTMLReader.styles): New field.
3509         (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3510         if any.
3511         (HTMLReader.StyleAction.start): Set inStyleTag flag.
3512         (HTMLReader.StyleAction.end): Set inStyleTag flag.
3513         (HTMLReader.handleText): When inside a style tag, add
3514         content to the styles array.
3515
3516 2006-11-02  Roman Kennke  <kennke@aicas.com>
3517
3518         * javax/swing/text/html/FormView.java
3519         (maxIsPreferred): New field.
3520         (createComponent): Initialize components correctly.
3521         (getMaximumSpan): Return the preferred span for components
3522         that need this. The maxIsPreferred flag is set accordingly
3523         in createComponent.
3524         * javax/swing/text/html/HTMLDocument.java
3525         (HTMLReader.FormAction.start): Implemented to set the
3526         correct model as attribute.
3527         (HTMLReader.FormAction.setModel): New helper method.
3528         (HTMLReader.FormAction.end): Call super to finish the element.
3529         Added TODO about things left to do.
3530         (HTMLReader.handleComment): Use SimpleAttributeSet rather
3531         than htmlAttributeSet.
3532         * javax/swing/text/html/HTMLEditorKit.java
3533         (HTMLFactory.create): Create BlockView for FORM tags.
3534         Create FormView for INPUT, TEXTAREA and SELECT tags.
3535
3536 2006-11-02  David Gilbert  <david.gilbert@object-refinery.com>
3537
3538         * java/awt/geom/GeneralPath.java: API doc fixes.
3539
3540 2006-11-02  Roman Kennke  <kennke@aicas.com>
3541
3542         * javax/swing/text/html/ImageView.java
3543         (getImageURL): Fetch attribute from element. Consider the
3544         base URL for relative image locations.
3545
3546 2006-11-02  Roman Kennke  <kennke@aicas.com>
3547
3548         * javax/swing/JEditorPane.java
3549         (setContentType): Strip off attributes.
3550         * javax/swing/text/html/HTMLEditorKit.java
3551         (LinkController.activateLink(int,JEditorPane,int,int): New
3552         method. Implements activation of a hyperlink.
3553         (LinkController.activateLinke(int,JEditorPane)): Delegate
3554         to the other activateLink() method.
3555         (LinkController.createHyperlinkEvent): New helper method.
3556         (LinkController.mouseClicked): Implemented to activate the link.
3557         (LinkController.mouseDragged): Added comment that this
3558         method does nothing.
3559         (LinkController.mouseMoved): Update cursor for hyperlinks.
3560         (mouseHandler): Renamed field to linkController.
3561         (HTMLEditorKit): Create a link controller.
3562         (clone): Give the clone a new link controller.
3563         (deinstall): De-install link controller as mouseMotionListener too.
3564         (install): Install link controller as mouseMotionListener too.
3565
3566 2006-11-02  Roman Kennke  <kennke@aicas.com>
3567
3568         PR 29644
3569         * javax/swing/text/FlowView.java
3570         (FlowStrategy.changedUpdate): Reversed condition. This caused
3571         wrong layout and bad performance.
3572         (FlowStrategy.insertUpdate): Reversed condition. This caused
3573         wrong layout and bad performance.
3574         (FlowStrategy.removeUpdate): Reversed condition. This caused
3575         wrong layout and bad performance.
3576         (LogicalView): Changed to be a subclass of CompositeView.
3577         (LogicalView()): Only take one Element argument.
3578         (LogicalView.childAllocation): New method for implementing
3579         the abstract CompositeView method.
3580         (LogicalView.forwardUpdateToView): Overridden for correct
3581         reparenting.
3582         (getMinimumSpan): Overridden to handle line breaking correctly.
3583         (getPreferredSpan): Implemented to handle line breaking correctly.
3584         (getViewAtPoint): New method for implementing
3585         the abstract CompositeView method.
3586         (getViewIndexAtPosition): Overridden to handle leaf elements
3587         correctly.
3588         (isAfter): New method for implementing
3589         the abstract CompositeView method.
3590         (isBefore): New method for implementing
3591         the abstract CompositeView method.
3592         (loadChildren): Overridden to handle leaf elements
3593         correctly.
3594         (paint): New method for implementing
3595         the abstract CompositeView method.
3596         (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3597         (loadChildren): Initialize flow layout by sending a synthetic
3598         insertUpdate() to the layout strategy.
3599         * javax/swing/text/GlyphView.java
3600         (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3601         font metrics if component is not available. Add initial offset
3602         to result.
3603         (breakView): Be more clever when breaking the view.
3604         (getBreakLocation): New helper method to determine a good
3605         break location.
3606         (getBreakWeight): Be more clever when breaking the view.
3607         (getTabbedSpan): Make sure we have a painter. Use view's
3608         start and end offset rather than the element's.
3609         * javax/swing/text/Utilities.java
3610         (drawTabbedText): Avoid useless add and sub with the y offset.
3611
3612 2006-11-02  Roman Kennke  <kennke@aicas.com>
3613
3614         PR 29644
3615         * gnu/java/awt/peer/ClasspathFontPeer.java
3616         (getStringBounds): Removed abstract method. This is replaced
3617         in java.awt.Font to use a TextLayout.
3618         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3619         (GtkWindowPeer): Set a font on the window object.
3620         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3621         (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3622         Changed to take char,int,int instead of String. Filter
3623         control characters.
3624         (FreetypeGlyphVector(Font,String,FontRenderContext)):
3625         Create char array out of string.
3626         (getLogicalBounds): Don't translate bounds. They already are
3627         translated.
3628         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3629         (stringWidth): Filter out control characters.
3630         * gnu/java/awt/peer/gtk/GdkFontPeer.java
3631         (getStringBounds): Removed unneeded method.
3632         (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3633         constructor.
3634         * gnu/java/awt/peer/qt/QtFontPeer.java
3635         (getStringBounds): Removed unneeded method.
3636         * gnu/java/awt/peer/x/XFontPeer.java
3637         (getStringBounds): Removed unneeded method.
3638         * gnu/java/awt/peer/x/XFontPeer2.java
3639         (getStringBounds): Removed unneeded method.
3640         * java/awt/Font.java
3641         (getStringBounds(char[],int,int,FontRenderContext)):
3642         Use TextLayout to determine the bounds.
3643         (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3644         Delegate to the char[] version of this method.
3645         (getStringBounds(String,FontRenderContext)):
3646         Delegate to the char[] version of this method.
3647         (getStringBounds(String,int,int,FontRenderContext)):
3648         Delegate to the String version of this method.
3649
3650 2006-11-01  Tania Bento  <tbento@redhat.com>
3651
3652         * java/awt/ScrollPaneAdjustable.java
3653         (paramString): Changed format of string representation returned.
3654         (paramStringHelper): New private method.
3655
3656 2006-11-01  Tania Bento  <tbento@redhat.com>
3657
3658         * java/awt/GridBagLayout.java
3659         (toString): Implemented method.
3660
3661 2006-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3662
3663         * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3664         initialization to NP_Initialize.
3665         (NP_Initialize): Initialize GLib threading.
3666
3667 2006-10-31  Tania Bento  <tbento@redhat.com>
3668
3669         * javax/swing/JTextField.java
3670         (fireActionPerformed): When creating the new event, if
3671         actionCommand == null, then getText() is used.
3672
3673 2006-10-31  Francis Kung  <fkung@redhat.com>
3674
3675         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3676         (fillArc): Corrected arc type to Arc2D.PIE.
3677
3678 2006-10-31  Roman Kennke  <kennke@aicas.com>
3679
3680         * javax/swing/text/html/HTMLDocument.java
3681         (HTMLReader.PreAction.end): Implemented.
3682         (HTMLReader.PreAction.start): Implemented.
3683         (HTMLReader.inPreTag): New field.
3684         (HTMLReader.handleTag): When inside a pre tag, call preContent().
3685         (HTMLReader.preContent): Implemented.
3686
3687 2006-10-31  Tania Bento  <tbento@redhat.com>
3688
3689         * javax/swing/JTextField.java
3690         (fireActionPerformed): When creating the new event, 
3691         actionCommand should be used as the command, not
3692         getText().
3693
3694 2006-10-31  Roman Kennke  <kennke@aicas.com>
3695
3696         * javax/swing/text/html/HTMLEditorKit.java
3697         (write): Use HTMLWriter or MinimalHTMLWriter for writing
3698         HTML or Styled documents.
3699
3700 2006-10-31  David Fu  <fchoong@netbeans.jp>
3701
3702         * javax/swing/text/html/HTMLWriter.java: New class.
3703
3704 2006-10-30  Roman Kennke  <kennke@aicas.com>
3705
3706         * java/awt/dnd/DragSourceContext.java
3707         (dragExit): Use constant fields instead of 0.
3708         (updateCurrentCursor): Completed implementation.
3709
3710 2006-10-30  Roman Kennke  <kennke@aicas.com>
3711
3712         * java/awt/dnd/DragGestureRecognizer.java
3713         (resetRecognizer): Added API docs. Do not replace the events object
3714         but rather clear() it. Removed not implemented tag.
3715
3716 2006-10-30  Roman Kennke  <kennke@aicas.com>
3717
3718         * java/awt/datatransfer/DataFlavor.java
3719         (writeExternal): Remove not implemented tag.
3720
3721 2006-10-30  Roman Kennke  <kennke@aicas.com>
3722
3723         * java/awt/datatransfer/DataFlavor.java
3724         (javaFileListFlavor): Don't explicitly specify class.
3725         (plainTextFlavor): Don't explicitly specify class.
3726         (mimeType): Changed to type MimeType. Remove final.
3727         (representationClass): Remove final.
3728         (DataFlavor): Don't do anything here.
3729         (DataFlavor(Class,String,String)): Removed.
3730         (DataFlavor(Class,String)): Initialize here.
3731         (DataFlavor(String,String,ClassLoader)): Initialize in init().
3732         (DataFlavor(String,String)): Initialize in init().
3733         (DataFlavor(String)): Initialize in init().
3734         (init): New initialization method.
3735         (getMimeType): Delegate to MimeType.toString().
3736         (getParameter(String,String)): Removed. Is now done in MimeType.
3737         (getParameter(String)): Delegate to MimeType.
3738         (getPrimaryType): Delegate to MimeType.
3739         (getRepresentationClassFromMime): Removed.
3740         (getRepresentationClassFromMimeThrows): Removed.
3741         (getSubType): Delegate to MimeType.
3742         (hashCode): Take MimeType.toString() for the hashCode.
3743         (isFlavorRemoveObjectType): Return true only when representation
3744         class is remove and serializable and the mime type is remote.
3745         (isFlavorSerializedObjectType): Return true only when representation
3746         class is serializable and the mime type is serialized.
3747         (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3748         (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3749         (readExternal): Implemented stub method.
3750         (writeExternal): Implemented stub method.
3751         * java/awt/datatransfer/MimeType.java: New helper class.
3752
3753 2006-10-28  Roman Kennke  <kennke@aicas.com>
3754
3755         * javax/swing/TransferHandler.java
3756         (importData): Implemented stub method. Added API docs.
3757
3758 2006-10-26  Christian Elias Naur  <elias@oddlabs.com>
3759
3760         * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3761         function.
3762         * native/jni/classpath/classpath_jawt.h: Likewise.
3763         * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3764         initializer for surface_info_x11->depth.
3765
3766 2006-10-26  Tania Bento  <tbento@redhat.com>
3767         
3768         * java/awt/FileDialog.java:
3769         (setFile): Changed if-clause condition.
3770
3771 2006-10-25  Francis Kung  <fkung@redhat.com>
3772
3773         * include/gnu_java_nio_VMChannel.h,
3774         * include/java_net_VMNetworkInterface.h,
3775         * include/gnu_java_nio_EpollSelectorImpl.h,
3776         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3777         * include/gnu_java_nio_FileChannelImpl.h,
3778         * include/gnu_java_nio_KqueueSelectorImpl.h,
3779         * include/gnu_java_nio_VMPipe.h,
3780         * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3781
3782 2006-10-25  Tania Bento  <tbento@redhat.com>
3783
3784         * java/awt/Dialog.java: Created new private variable
3785         next_dialog_number.
3786         (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3787         Set cursor to default cursor.
3788         (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3789         Same.
3790         (generateName): New method.
3791         (getUniqueLong): New private method.
3792         * java/awt/FileDialog.java: Created new private variable
3793         next_file_dialog_number.
3794         (setFile): If file == "", set it to null.
3795         (generateName): New method.
3796         (getUniqueLong): New private method.
3797
3798 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3799
3800         * java/net/MulticastSocket.java:
3801         (setNetworkInterface): Rewritten.
3802
3803 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3804
3805         * native/jni/java-net/javanet.h: Added declaration for
3806         _javanet_create_inetaddress.
3807         * native/jni/java-net/javanet.c:
3808         (_javanet_create_inetaddress): Removed static keyword.
3809
3810 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3811
3812         * gnu/java/net/PlainDatagramSocketImpl.java:
3813         (connect): Use VMChannel instance for connect call.
3814         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3815         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3816         (setOption): Handle multicast options.
3817         (getOption): Handle multicast options.
3818         * gnu/java/net/PlainSocketImpl.java:
3819         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3820         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3821         (setOption): Filter unappropriate options.
3822         (getOption): Filter unappropriate options.
3823         (connect): Use given SocketAddress.
3824         (close): Reset address and port.
3825         (getInetAddress): 
3826         * include/Makefile.am: Removed all occurences of
3827         gnu_java_net_VMPlainDatagramSocketImpl.h.
3828         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3829         * native/jni/java-net/Makefile.am: Removed
3830         gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3831         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3832         Removed.
3833         as SocketException, declare to throw SocketException.
3834         * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3835         for SocketException and ConnectException.
3836         (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3837         of IOException.
3838         (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3839         of IOException.
3840         (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3841         (JCL_thread_interrupted): New function.
3842         (initIDs): Added initialisation for isThreadInterrupted method id.
3843         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3844         CPNET_IP_TTL to java_sockopt enum.
3845         (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3846         case, handle SO_LINGER case properly.
3847         (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3848         case, handle SO_LINGER case properly.
3849         (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3850         function.
3851         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3852         function.
3853         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3854         function.
3855         (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3856         IPV6_LEAVE_GROUP.
3857         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3858         * vm/reference/gnu/java/nio/VMChannel.java:
3859         (connect(int, byte[], int, int)): Declare to throw SocketException.
3860         (connect6): Declare to throw SocketException.
3861         (connect(InetSocketAddress, int)): Catch IOException and rethrow
3862         (isThreadInterrupted): New method.
3863         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3864         field.
3865         (setTimeToLive): New method.
3866         (getTimeToLive): New method.
3867         (setMulticastInterface(int, InetAddress)): New method.
3868         (setMulticastInterface(int, int, Inet4Address): New method.
3869         (setMulticastInterface6(int, int, Inet6Address): New method.
3870         (setOptions): Handle SO_LINGER case.
3871         (getOptions): Add missing SO_REUSEADDR case.
3872         * java/net/Socket.java:
3873         (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3874         when exception was thrown out of connect().
3875         (setSoLinger): Replaced instantiations with valueOf calls, replaced
3876         Boolean.FALSE with Integer.valueOf(-1).
3877         * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3878         * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3879         * NEWS: Documented VM interface changes.
3880
3881 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3882
3883         * java/net/Inet6Address.java:
3884         (isMulticastAddress): Fixed check.
3885
3886 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3887
3888         Fixes PR29576
3889         * java/net/MulticastSocket.java:
3890         (getNetworkInterface): Return a special NetworkInterface instance
3891         if the socket's multicast interface is set to any.
3892
3893 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3894
3895         Fixes PR29576
3896         * java/net/NetworkInterface.java:
3897         (createAnyInterface): New method.
3898         (equals): Added if-statement to handle case where netif.name is null.
3899         * vm/reference/java/net/VMNetworkInterface.java:
3900         (hashCode): Rewritten.
3901         (VMNetworkInterface): New constructor.
3902
3903 2006-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
3904
3905         * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3906         * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3907         Add ASM_JAR to bootclasspath.
3908
3909 2006-10-24  Tania Bento  <tbento@redhat.com>
3910
3911         * java/awt/Scrollbar.java:
3912         (setLineIncrement): Removed unnecessary if-clause and if 
3913         lineIncrement == 0, then it should be set to 1, not 0.
3914         (setPageIncrement): Removed unnecessary if-clause and if
3915         pageIncrement == 0, then it should be set to 1, not 0.
3916         (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3917         If maximum <= minimum, maximum should be set to mininum + 1. The
3918         actual value of maximum is maximum - visibleAmount, so I made 
3919         this change to the appropriate if-check. Remove the two unneccessary
3920         if-clauses.
3921
3922 2006-10-23  Francis Kung  <fkung@redhat.com>
3923
3924         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3925         (cairoSetFont): New method.
3926         (copy): Set font using setFont method.
3927         (setFont): Call cairoSetFont.
3928         (setup): Set font using setFont method.
3929         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3930         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3931         (install_font_peer): Removed.
3932         (cairoDrawGlyphVector): Removed call to install_font_peer.
3933         (cairoSetFont): New method.
3934
3935 2006-10-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3936
3937         * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3938         * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3939         NativeEventLoopRunningEvent after GTK main loop start and stop.
3940         * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3941         (getNextEvent): Set dispatchThread to null.
3942         (postEventImpl): Set nativeLoopRunning.
3943         (pop): Interrupt event dispatch thread.
3944         * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3945
3946 2006-10-22  Christian Thalinger  <twisti@complang.tuwien.ac.at>
3947
3948         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3949         Added include.
3950         * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3951         Likewise.
3952
3953 2006-10-23  Marco Trudel <mtrudel@gmx.ch>
3954
3955         * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3956         * javax/crypto/CipherOutputStream.java: Re-implemented.
3957         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3958         (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3959         decryption mode and check if it is a complete block.
3960         (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3961         (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3962         partially processed data into account.
3963
3964 2006-10-21  Tom Tromey  <tromey@redhat.com>
3965
3966         PR classpath/29086:
3967         * java/util/AbstractCollection.java (toArray): Removed cast.
3968
3969 2006-10-20  Tom Tromey  <tromey@redhat.com>
3970
3971         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3972         Don't use mangled class name for .h file.
3973         * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3974         Don't use mangled class name for .c file.
3975         * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3976         Handle classes from the default package.
3977
3978 2006-10-20  Francis Kung  <fkung@redhat.com>
3979
3980         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3981
3982 2006-10-19  Francis Kung  <fkung@redhat.com>
3983
3984         PR 29510
3985         * java/awt/image/BufferedImage.java
3986         (constructor): Updated some properties of default image types.
3987         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3988         (argb32): Updated field to match default in BufferedImage.
3989
3990 2006-10-18  Roman Kennke  <kennke@aicas.com>
3991
3992         PR 29419
3993         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3994         (copyArea): Changed size comparison to return when size == 0
3995         too.
3996         * javax/swing/JViewport.java
3997         (paintBackingStore): Check width and height of blitted area
3998         and only do blit if its > 0.
3999         (paintBlit): Check width and height of blitted area
4000         and only do blit if its > 0.
4001
4002 2006-10-18  Roman Kennke  <kennke@aicas.com>
4003
4004         PR 27091
4005         * gnu/java/awt/peer/gtk/GtkFramePeer.java
4006         (maximize): New native method.
4007         (unmaximize): New native method.
4008         (iconify): New native method.
4009         (deiconify): New native method.
4010         (getState): Implemented.
4011         (setState): Implemented.
4012         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4013         (oldState): Rename to windowState and made protected, so that
4014         the FramePeer can access it.
4015         (postWindowEvent): Handle state change events more gently and
4016         correctly.
4017         * java/awt/Frame.java
4018         (getState): Fetch state from getExtendedState().
4019         (setExtendedState): Update the peer. Check if the state change
4020         is actually supported.
4021         (getExtendedState): Update the state from the peer.
4022         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
4023         (maximize): New method.
4024         (unmaximize): New method.
4025         (iconify): New method.
4026         (deiconify): New method.
4027         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4028         (AWT_FRAME_NORMAL): New macro.
4029         (AWT_FRAME_ICONIFIED): New macro.
4030         (AWT_FRAME_MAXIMIZED_BOTH): New macro.
4031         (window_window_state_cb): Rewritten to handle window state changes
4032         more gently (mostly on the java side of the world).
4033         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
4034
4035 2006-10-18  Tania Bento  <tbento@redhat.com>
4036
4037         * java/awt/CardLayout.java:
4038         (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
4039         its height and width if Container passed as argument is null.
4040         (gotoComponent): Consider the case where the component is not visible.
4041
4042 2006-10-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
4043
4044         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
4045         Rename file...
4046         * resource/gnu/classpath/tools/appletviewer/messages.properties:
4047         New file.
4048         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
4049         Remove file.
4050         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
4051         Remove file.
4052         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
4053         Likewise.
4054         * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
4055         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
4056         Retrieve user-visible strings through Messages.getString.
4057         * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
4058         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
4059         Likewise.
4060         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
4061         Likewise.
4062         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
4063         Likewise.
4064         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
4065         Likewise.
4066         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
4067         Likewise.
4068         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
4069         Likewise.
4070
4071 2006-10-18  Roman Kennke  <kennke@aicas.com>
4072
4073         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4074         (AWT_WINDOW_OPENED): Remove unnecessary macro.
4075         (window_show_cb): Removed unnecessary function.
4076         (connect_signals): Don't connect signal for show.  *
4077         gnu/java/awt/peer/gtk/GtkWindowPeer.java
4078         (hasBeenShown): Removed. This is handled in java.awt.Window.
4079         (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
4080         in java.awt.Window.  * java/awt/Window.java
4081         (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
4082
4083 2006-10-18  Francis Kung  <fkung@redhat.com>
4084
4085         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
4086         (drawRenderedImage):  New method.
4087         (drawImage): New method.
4088         (CairoSurfaceGraphics): Set clip.
4089         (createBuffer): New method.
4090         (getBufferCM): New method.
4091         (drawComposite): New method.
4092         (fill): New method.
4093         (getNativeCM): New method.
4094         (drawGlyphVector): New method.
4095         (draw): New method.
4096         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4097         (getNativeCM): Reflect renamed field.
4098         * gnu/java/awt/peer/gtk/CairoSurface.java
4099         (cairoCM_pre): Renamed from cairoColorModel.
4100         (cairoColorModel): Set premultiplication to false.
4101
4102 2006-10-18  Roman Kennke  <kennke@aicas.com>
4103
4104         PR 28769
4105         * javax/swing/JScrollPane.java
4106         (viewportBorder): Made field private.
4107         (wheelScrollingEnabled): Made field private.
4108         (JScrollPane): Enabled wheel scrolling by default.
4109         * javax/swing/JTree.java
4110         (TreeSelectionRedirector.valueChanged): Don't repaint anything
4111         here.
4112         (getScrollableUnitIncrement): Fixed thinko.
4113         * javax/swing/plaf/basic/BasicScrollBarUI.java
4114         (static scrollByBlock): New static method to avoid code duplication
4115         for the BasicScrollPane wheel scrolling.
4116         (static scrollByUnits): New static method to avoid code duplication
4117         for the BasicScrollPane wheel scrolling.
4118         (scrollByBlock): Delegate to static helper method.
4119         (scrollByUnit): Delegate to static helper method.
4120         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4121         (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
4122         static helper methods to avoid code duplication.
4123         (MouseWheelHandler.bounds): Removed.
4124         (MouseWheelHandler.getValue): Removed.
4125         (MouseWheelHandler.scroll): Removed.
4126
4127 2006-10-18  Roman Kennke  <kennke@aicas.com>
4128
4129         PR 29502
4130         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4131         (updateComponent): Don't override this here.
4132         * java/awt/Window.java
4133         (addWindowListener): Ignore null listener. Set newEventsOnly flag.
4134         (addWindowFocusListener): Ignore null listener. Set newEventsOnly
4135         flag.
4136         (addWindowStateListener): Ignore null listener. Set newEventsOnly
4137         flag.
4138
4139 2006-10-18  Roman Kennke  <kennke@aicas.com>
4140
4141         * javax/swing/JEditorPane.java
4142         (getStream): Try to detect and set the content type of the
4143         connection stream.
4144
4145 2006-10-18  Roman Kennke  <kennke@aicas.com>
4146
4147         * javax/swing/RepaintManager.java
4148         (RepaintWorkerEvent): Pass full set of params to super.
4149         (RepaintWorker.dispatch): Overridden to allow apps to call this
4150         via reflection.
4151         (addDirtyRegion): Synchronize a little more to protect the
4152         dirtyComponents field and avoid NPEs.
4153         (invokeLater): Pass full set of params to RepaintWorkerEvent
4154         constructor.
4155
4156 2006-10-18  Roman Kennke  <kennke@aicas.com>
4157
4158         * javax/swing/JEditorPane.java
4159         (page): Removed field. The page is now stored in the correct
4160         document property.
4161         (getPage): Fetch page URL from document property.
4162         (read): Set the document for this JEditorPane. Use a Reader
4163         for reading in the document.
4164         (setPage): Call getStream() to get the stream from which we read.
4165         Fire property change. Store page in document property.
4166
4167 2006-10-18  Roman Kennke  <kennke@aicas.com>
4168
4169         * java/awt/datatransfer/DataFlavor.java
4170         (DataFlavor(String)): Removed check for space in mime string.
4171
4172 2006-10-18  Roman Kennke  <kennke@aicas.com>
4173
4174         * java/awt/Container.java
4175         (validateTree): Call ContainerPeer.begin|endLayout() rather than
4176         begin|endValidate().
4177         (validate): Call ContainerPeer.begin|endValidate() here.
4178         Added some local vars to avoid NPEs.
4179
4180 2006-10-18  Roman Kennke  <kennke@aicas.com>
4181
4182         * native/target/.cvsignore
4183         * native/target/Linux/.cvsignore
4184         * native/target/generic/.cvsignore:
4185         Added to let CVS ignore the generated Makefile and Makefile.in
4186         files.
4187
4188 2006-10-18  Roman Kennke  <kennke@aicas.com>
4189
4190         PR 29448
4191         * java/awt/Window.java
4192         (eventTypeEnabled): Overridden to handle WindowEvents.
4193         (processEvent): Switch between processWindowEvent(),
4194         processWindowFocusEvent() and processWindowStateEvent() here,
4195         rather than simply calling processWindowEvent().
4196         (processWindowEvent): Only dispatch event to listener, do not
4197         switch to processWindowFocusEvent() or processWindowStateEvent()
4198         here.
4199         * javax/swing/JFrame.java
4200         (frameInit): Explicitly enable window and key events here.
4201         (processWindowEvent): Throw out some unnecessary code.
4202         * javax/swing/JWindow.java
4203         (windowInit): Explicitly enable key events here.
4204         * javax/swing/JDialog.java
4205         (close_action): Renamed to closeAction.
4206         (dialogInit): Explicitly enable window events here.
4207         (getDefaultCloseOperation): Renamed close_action to closeAction.
4208         (processWindowEvent): Throw out some unnecessary code.
4209         Renamed close_action to closeAction.
4210         (setDefaultCloseOperation): Renamed close_action to closeAction.
4211
4212 2006-10-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
4213
4214         * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
4215         to track native GTK event loop status.
4216         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
4217         clear running flag when native GTK event loop starts and stops.
4218
4219 2006-10-17  Roman Kennke  <kennke@aicas.com>
4220
4221         * javax/swing/TransferHandler.java
4222         (exportToClipboard): Implemented.
4223
4224 2006-10-17  Francis Kung  <fkung@redhat.com>
4225
4226         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
4227         region to account for pixel-shifting.
4228         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
4229         proctected.
4230
4231 2006-10-17  Francis Kung  <fkung@redhat.com>
4232
4233         PR 29450
4234         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
4235         (getLogicalBounds): Translate individual glyphs before appending bounds.
4236         (getOutline): Translate individual glyphs before appending outline.
4237
4238 2006-10-17  Cameron McCormack  <cam@mcc.id.au>
4239
4240         PR 29014
4241         * java/awt/font/TextLayout.java
4242         (bidi): New field.
4243         (constructor): Store bidi in field.
4244         (getCharacterLevel): Implemented.
4245
4246 2006-10-17  Roman Kennke  <kennke@aicas.com>
4247
4248         * javax/swing/TransferHandler.java
4249         (PropertyTransferable): New inner class. Handles transfers
4250         from component properties.
4251         (createTransferable): Implemented.
4252
4253 2006-10-17  Francis Kung  <fkung@redhat.com>
4254
4255         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4256         (drawComposite): Ensure composite does not extend beyond buffer
4257         bounds.
4258         * java/awt/image/Raster.java
4259         (createChild): Ensure child does not extend beyond parent's
4260         bounds.
4261         * java/awt/image/WritableRaster.java
4262         (createWritableChild): Ensure child does not extend beyond
4263         parent's bounds.
4264
4265 2006-10-17  Jeroen Frijters  <jeroen@frijters.net>
4266
4267         * native/jni/classpath/jcl.c
4268         (JNI_OnLoad): Corrected calling convention.
4269
4270 2006-10-16  Roman Kennke  <kennke@aicas.com>
4271
4272         * javax/swing/TransferHandler.java
4273         (propertyName): New field.
4274         (TransferHandler(String)): Store property name in field.
4275         (canImport): Implemented stub method.
4276         (exportDone): This is a no-op. Removed not-implemented mark.
4277         (getPropertyDataFlavor): New helper method.
4278         (getPropertyDescriptor): New helper method.
4279
4280 2006-10-16  Roman Kennke  <kennke@aicas.com>
4281
4282         * javax/swing/AbstractButton.java
4283         (AccessibleJButton.getAfterIndex): Implemented.
4284         (AccessibleJButton.getAtIndex): Implemented.
4285         (AccessibleJButton.getBeforeIndex): Implemented.
4286         (AccessibleJButton.getCharacterAttribute): Completed incomplete
4287         method implementation.
4288
4289 2006-10-16  Roman Kennke  <kennke@aicas.com>
4290
4291         * javax/swing/JLabel.java
4292         (AccessibleJLabel.getIndexAtPoint): Implemented.
4293         (AccessibleJLabel.getCharacterBounds): Implemented.
4294         (AccessibleJLabel.getTextRectangle): New helper method.
4295
4296 2006-10-16  Roman Kennke  <kennke@aicas.com>
4297
4298         * javax/swing/filechooser/FileSystemView.java
4299         (getFileSystemView): Mark as implemented.
4300
4301 2006-10-14  Roman Kennke  <kennke@aicas.com>
4302
4303         PR 27957
4304         * javax/swing/JComponent.java
4305         (toolTipText): Removed field.
4306         (createToolTip): Don't set tooltip text here. This is done
4307         in the ToolTipManager.
4308         (setToolTipText): Set tooltip text as client property.
4309         (getToolTipText): Get tooltip text from client property.
4310         * javax/swing/ToolTipManager.java
4311         (currentComponent): Made field non-static and of type JComponent.
4312         (currentPoint): Made field non-static.
4313         (currentTip): Made field non-static.
4314         (popup): Made field non-static.
4315         (toolTipText): New field. Stores the current tooltip text.
4316         (checkTipUpdate): New helper method. Checks for updates of
4317         the tooltip text and triggers the appropriate actions.
4318         (getContentPaneDeepestComponent): Removed unneeded casts.
4319         (mouseEntered): Removed unneeded cast. Initially fetch tooltip
4320         text from component.
4321         (mouseMoved): Check for tooltip text updates.
4322         (showTip): Set tooltip text from current setting.
4323
4324 2006-10-14  Roman Kennke  <kennke@aicas.com>
4325
4326         PR 27956
4327         * javax/swing/JSlider.java
4328         (setPaintLabels): Call setLabelTable() instead of setting
4329         the field directly. This also updates the label's size.
4330
4331 2006-10-13  Tom Tromey  <tromey@redhat.com>
4332
4333         * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
4334         method.
4335
4336 2006-10-13  Tania Bento  <tbento@redhat.com>
4337
4338         * java/awt/ScrollPane.java
4339         (setLayout): Should throw AWTError whenever called.
4340
4341 2006-10-13  Roman Kennke  <kennke@aicas.com>
4342
4343         PR 29448
4344         * java/awt/Component.java
4345         (dispatchEventImpl): Special handle ComponentReshapeEvents to
4346         update the AWT's knowledge about a component's size.
4347         * gnu/java/awt/ComponentReshapeEvent.java: New class.
4348         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4349         (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
4350         to update the AWT's knowledge about the component bounds.
4351
4352 2006-10-13  Tania Bento  <tbento@redhat.com>
4353
4354         * java/awt/ScrollPaneAdjustable.java
4355         (setMaximum): Should throw AWTError whenever called.
4356         (setMinimum): Same.
4357         (setVisibleAmount): Same.
4358
4359 2006-10-13  Tania Bento  <tbento@redhat.com>
4360
4361         * java/awt/ScrollPane.java
4362         (addImpl): When calling super, index should be value passed, 
4363         not -1.
4364         (getIsValidString): New helper method for paramString().
4365         (getScrollbarDisplayString): New helper method for paramString(). 
4366         (paramString): Changed format of outputted string.
4367
4368 2006-10-13  David Gilbert  <david.gilbert@object-refinery.com>
4369
4370         * javax/swing/tree/DefaultTreeSelectionModel.java
4371         (clone): Added cast to TreePath[].
4372
4373 2006-10-13  Roman Kennke  <kennke@aicas.com>
4374
4375         PR 27780
4376         * javax/swing/JMenuItem.java
4377         (isDragging): New field. Indicates if we are inside a mouse
4378         drag.
4379         (createMenuDragMouseEvent): Removed unneeded method.
4380         (processMenuDragMouseEvent): Track if we are dragging.
4381         (processMouseEvent): Simply forward to processMenuDragMouseEvent().
4382         * javax/swing/plaf/basic/BasicMenuItemUI.java
4383         (MenuDragMouseHandler.menuDragMouseDragged): Fetch
4384         MenuSelectionManager from event.
4385         (MenuDragMouseHandler.menuDragMouseEntered): Fetch
4386         MenuSelectionManager from event.
4387         (MenuDragMouseHandler.menuDragMouseExited): Fetch
4388         MenuSelectionManager from event.
4389         (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
4390         release inside menu item, otherwise clear selection.
4391         (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
4392         and getY(). Call doClick() rather than the doClick() of JMenuItem.
4393         (doClick): Perform an immediate click.
4394
4395 2006-10-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
4396
4397         * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
4398         return if object is not in the list.
4399
4400 2006-10-12  Andrew Haley  <aph@redhat.com>
4401
4402         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4403         * java/lang/ThreadLocal.java: Likewise.
4404
4405 2006-10-12  Roman Kennke  <kennke@aicas.com>
4406
4407         PR 27956
4408         * javax/swing/JSlider.java
4409         (LabelUIResource): New inner class. A JLabel as UIResource.
4410         (createStandardLabels): Don't set label bounds here.
4411         Create LabelUIResource instances.
4412         (setInverted): Repaint.
4413         (setLabelTable): Update the label UIs. Revalidate and repaint.
4414         (setMajorTickSpacing): Update the label table. Repaint if
4415         necessary.
4416         (setMinorTickSpacing): Repaint if necessary.
4417         (setOrientation): Revalidate.
4418         (setPaintLabels): Revalidate and repaint.
4419         (setPaintTicks): Revalidate and repaint.
4420         (setPaintTrack): Repaint.
4421         (updateLabelUIs): Set the label sizes here.
4422         (updateUI): Also update the label UIs.
4423         * javax/swing/plaf/basic/BasicSliderUI.java
4424         (ComponentHandler.componentResized): Don't revalidate.
4425         (FocusHandler.focusGained): Don't set field.
4426         (FocusHandler.focusLost): Don't set field.
4427         (PropertyChangeHandler.propertyChange): Calculate geometry
4428         and repaint for a couple more properties.
4429         (TrackListener.mouseReleased): Repaint.
4430         (hasFocus): Removed unneeded field.
4431         (calculateContentRect): No need to check for content size < 0.
4432         (calculateFocusRect): Use insets from insetCache.
4433         (calculateLabelRect): Fixed calculation of label rectangle.
4434         It is relative to the tick rectangle, rather than the content
4435         rectangle.
4436         (calculateTickRect): Small restructuring to avoid unnecessary
4437         comparisons.
4438         (calculateTrackRect): Fixed calculation of track rectangle.
4439         (getMaximumSize): Fixed. Fetch preferred size and set
4440         the height of width to Short.MAX_VALUE.
4441         (getMinimumHorizontalSize): Fixed to return UIManager value.
4442         (getMinimumVerticalSize): Fixed to return UIManager value.
4443         (getPreferredHorizontalSize): Fixed to return UIManager value.
4444         (getPreferredVerticalSize): Fixed to return UIManager value.
4445         (getMinimumSize): Fixed to return the UIManager value plus
4446         insets added.
4447         (getPreferredSize): Fixed to return the UIManager value plus
4448         insets added.
4449         (getWidthOfWidestLabel): Restructured for more cleanness and
4450         efficiency.
4451         (hitClip): New helper method.
4452         (paintHorizontalLabel): Replaced by more efficient and clean
4453         implementation.
4454         (paintVerticalLabel): Replaced by more efficient and clean
4455         implementation.
4456         (paintLabels): Replaced by more efficient and clean
4457         implementation.
4458         (paint): Check if rectangles intersect with clip for maximum
4459         efficiency.
4460         (recalculateIfInsetsChanged): Fixed. This method should
4461         recalculate only when the insets changed.
4462         (setThumbLocation): Repaint with a reasonable clip.
4463         (xPositionForValue): Made more clean and efficient.
4464         (yPositionForValue): Made more clean and efficient.
4465         * javax/swing/plaf/basic/BasicLookAndFeel.java
4466         (initComponenDefaults): Added Slider.horizontalSize,
4467         Slider.verticalSize, Slider.minimumHorizontalSize and
4468         Slider.minimumVerticalSize properties.
4469         * javax/swing/plaf/metal/MetalSliderUI.java
4470         (getTickLength): Add 1 for horizontal sliders and 3 for
4471         vertical sliders.
4472         (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4473         (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4474         (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4475         (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4476
4477 2006-10-12  Roman Kennke  <kennke@aicas.com>
4478
4479         PR 28696
4480         * javax/swing/text/FlowView.java
4481         (FlowStrategy.layout): Preserve logical views from getting lost.
4482         (FlowStrategy.layoutRow): Fix line breaking.
4483         (FlowStrategy.adjustRow): Fix line breaking.
4484         (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4485         (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4486         (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4487         (createView): Don't check index.
4488         (contains): New helper method.
4489         (reparent): New helper method.
4490         (layoutDirty): Removed unneeded field.
4491         (FlowView): Removed layoutDirty field init.
4492         (changedUpdate): Removed layoutDirty handling.
4493         (insertUpdate): Removed layoutDirty handling.
4494         (removeUpdate): Removed layoutDirty handling.
4495         (layout): Use isLayoutValid() rather than the layoutDirty field.
4496         * javax/swing/text/GlyphView.java
4497         (startOffset): Removed.
4498         (endOffset): Removed.
4499         (offset): New field.
4500         (length): New field.
4501         (GlyphView): Initialize new fields. Removed old fields.
4502         (createFragment): Create fragment with new relative offsets.
4503         (getEndOffset): Work with new relative offsets.
4504         (getStartOffset): Work with new relative offsets.
4505         * javax/swing/text/ParagraphView.java
4506         (Row.getStartOffset): Overidden to determine the minimum start
4507         offset from the children.
4508         (Row.getEndOffset): Overidden to determine the maximum end
4509         offset from the children.
4510         * javax/swing/text/html/BRView.java
4511         Make subclass of InlineView.
4512         (getBreakWeight): Fall back to super for Y_AXIS.
4513
4514 2006-10-12  Roman Kennke  <kennke@aicas.com>
4515
4516         PR 28733
4517         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4518         (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4519         one that avoids faulty state that could cause division by zero
4520         error.
4521
4522 2006-10-12  Roman Kennke  <kennke@aicas.com>
4523
4524         PR 28057
4525         * javax/swing/plaf/basic/BasicRadioButtonUI.java
4526         (paint): Determine correct icon. Added support for HTML label.
4527         Added small optimizations.
4528         (getPreferredSize): Only consider the buttons iconTextGap, and
4529         only when the text is not null.
4530         * javax/swing/plaf/basic/BasicLookAndFeel.java
4531         (initComponentDefaults): Fetch border for RadioButton from
4532         BasicButtons.getRadioButtonBorder().
4533         * javax/swing/plaf/metal/MetalRadioButtonUI.java
4534         (paintFocus): Paint focus rectangle one pixel smaller.
4535
4536 2006-10-12  Roman Kennke  <kennke@aicas.com>
4537
4538         PR 29418
4539         * javax/swing/tree/AbstractLayoutCache.java
4540         (getNodeDimensions): Don't throw InternalError, but instead
4541         return null.
4542         (getRowsForPaths): Check for null here.
4543         (isFixedRowHeight): Returns true when rowHeight > 0.
4544         (setSelectionModel): Set this as the row mapper for the selection
4545         model.
4546         * javax/swing/tree/VariableHeightLayoutCache.java
4547         (NodeRecord.NodeRecord): Initialize bounds field.
4548         (getBounds): Simply return the bounds field.
4549         (row2Node): Changed to be an ArrayList.
4550         (RECT_CACHE): New field. Caches a Rectangle instance.
4551         (countRows): Added y parameter and return value. The method
4552         now takes the current y position as parameter, and returns
4553         the updated y position.
4554         (getBounds): Fixed to return the correct bounds.
4555         (getPathForRow): Replaced by fixed implementation.
4556         (getPreferredHeight): Replaced by more efficient implementation.
4557         This simply fetches the last node record and returns its lower
4558         bounds.
4559         (getPreferredWidth): Added null check.
4560         (getVisibleChildCount): Added null check.
4561         (getVisiblePathsFrom): Added null check.
4562         (setExpandedState): Also expand the ancestors of the node
4563         to be expanded.
4564         (setModel): Set dirty flag rather than updating for real.
4565         (setNodeDimensions): Overridden to set the dirty flag.
4566         (setRowHeight): Overridden to set the dirty flag.
4567         (update): Don't special case the root here, this is done now
4568         in countRows().
4569
4570 2006-10-12  Roman Kennke  <kennke@aicas.com>
4571
4572         * javax/swing/JComponent.java
4573         (paintImmediately2): Added support for components which need
4574         to force themselves as paint root.
4575         (isPaintRoot): New method. This should be overridden by components
4576         which need to force themselves as paint root.
4577         * javax/swing/JViewport.java
4578         (isPaintRoot): Overridden to force the viewport as paint root
4579         when running in backingstore mode.
4580
4581 2006-10-12  Roman Kennke  <kennke@aicas.com>
4582
4583         * javax/swing/tree/DefaultTreeSelectionModel.java
4584         (PathPlaceHolder): New inner class. Wraps a path and its status
4585         wrt to its newness.
4586         (selectedPaths): New field. A supporting datastructure.
4587         (tmpPaths): New field. A supporting datastructure.
4588         (DefaultTreeSelectionModel): Initialize the list selection model,
4589         the leadIndex and the supporting datastructures.
4590         (addPropertyChangeListener): Create changeSupport object lazily.
4591         (addSelectionPaths): Mostly rewritten to handle the different
4592         selection modes correctly.
4593         (addSelectionPath): Delegate to addSelectionPaths().
4594         (arePathsContiguous): Replaced with more efficient implementation
4595         using BitSet
4596         (canPathBeAdded): Removed unneeded method.
4597         (canPathsBeAdded): Replaced with more efficient implementation.
4598         (clearSelection): Create correct event. Clear the fields correctly,
4599         including the supporting datastructures.
4600         (clone): Also clone the supporting datastructures and nullify
4601         changeSupport field.
4602         (getMaxSelectionRow): Delegate to list selection model.
4603         (getMinSelectionRow): Delegate to list selection model.
4604         (getPath): Removed unneeded method.
4605         (getPropertyChangeListeners): Handle null changeSupport field
4606         correctly.
4607         (getRow): Handle null rowMapper field correctly.
4608         (getSelectionRows): Handle invisible rows correctly.
4609         (insureRowContinuity): Replaced by more efficient and correct
4610         implementation.
4611         (isRowSelected): Delegate to list selection model.
4612         (notifyPathChange): Made more efficient by use of PathPlaceHolder
4613         class.
4614         (removePropertyChangeListener): Handle null changeSupport field.
4615         (removeSelectionPaths): Mostly rewritten to handle the different
4616         selection modes correctly.
4617         (removeSelectionPath): Delegate to removeSelectionPaths().
4618         (resetRowSelection): Handle list selection model.
4619         (selectOne): Removed unneeded field.
4620         (setRowMapper): Reset the row selection.
4621         (setSelectionMode): Check for invalid mode and set to
4622         DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4623         (setSelectionPaths): Mostly rewritten to handle the different
4624         selection modes correctly.
4625         (setSelectionPath): Delegate to setSelectionPaths().
4626         (updateLeadIndex): Made more efficient.
4627
4628 2006-10-11  Francis Kung  <fkung@redhat.com>
4629
4630         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4631         (buffer, locked): New fields.
4632         (constructors): Initialize new variables.
4633         (createBuffer): New method.
4634         (draw): Implement custom composites.
4635         (drawComposite): New method.
4636         (drawGlyphVector): Implement custom composites.
4637         (drawImage): Implement custom composites.
4638         (drawRenderedImage): Implement custom composites.
4639         (fill): Implement custom composites.
4640         (getBufferCM): New method.
4641         (getNativeCM): New method.
4642         (updateBufferedImage): Fix premultiplication.
4643         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4644         (copy): Copy composite.
4645         (drawImage): Set background properly.
4646         (getBufferCM): New method.
4647         (setComposite): Reset alpha composite when using custom composite.
4648         * gnu/java/awt/peer/gtk/CairoSurface.java
4649         (cairoColorModel): New field.
4650         (nativeColorModel): Renamed.
4651         (constructor): Use renamed createCairoSampleModel method.
4652         (createCairoSampleModel): New method.
4653         (createNativeSampleModel): Renamed.
4654         (getBufferedImage): Use renamed cairoColorModel field.
4655         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4656         (gdkColorModel): New field.
4657         (createGdkSampleModel): New method.
4658         (getPixels): Added comments.
4659         (getSnapshot): Use GDK colour and sample models.
4660         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4661         (createBuffer): Use GDK colour and sample models.
4662         (getNativeCM): Added comments.
4663         * java/awt/image/BufferedImage.java
4664         (constructor): Set premultiplied flag properly.
4665         
4666 2006-10-11  Edwin Steiner  <edwin.steiner@gmx.net>
4667
4668         * native/jni/java-nio/gnu_java_nio_VMChannel.c
4669         (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4670
4671 2006-10-10  Francis Kung  <fkung@redhat.com>
4672
4673         PR 29372
4674         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4675         (createPath): Added isDraw parameter.
4676         (draw): Updated createPath call.
4677         (fill): Updated createPath call.
4678
4679 2006-10-10  Tom Tromey  <tromey@redhat.com>
4680
4681         PR classpath/29362:
4682         * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4683         there is a stylesheet.
4684
4685 2006-10-10  Roman Kennke  <kennke@aicas.com>
4686
4687         * java/awt/Toolkit.java
4688         (getDefaultTookit): Make method synchronized to avoid
4689         accidentally creating more than one toolkits from different
4690         threads.
4691
4692 2006-10-10  Roman Kennke  <kennke@aicas.com>
4693
4694         * java/awt/LightweightDispatcher.java
4695         (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4696         (redispatch): Transfer the button to the redispatched event.
4697
4698 2006-10-10  Francis Kung  <fkung@redhat.com>
4699
4700         * java/awt/image/ColorModel.java (coerceData): Implemented.
4701
4702 2006-10-09  Christian Elias Naur  <elias@oddlabs.com>
4703
4704         * vm/reference/java/lang/VMClassLoader.java:
4705         (defineClassWithTransformers): Use proper class name format.
4706
4707 2006-10-09  Gary Benson  <gbenson@redhat.com>
4708
4709         * java/net/ServerSocket.java
4710         (implAccept): Add security check.
4711         (accept): Close socket if security check fails.
4712         (setSocketFactory): Add security check and already-set check.
4713
4714 2006-10-09  Roman Kennke  <kennke@aicas.com>
4715
4716         PR 29325
4717         * javax/swing/JSplitPane.java
4718         (dividerLocation): New field. Stores the divider location.
4719         (JSplitPane): Initialize dividerLocation with -1.
4720         (addImpl): Removed unneeded local variables.
4721         (getDividerLocation): Manage dividerLocation in the JSplitPane
4722         class, not in the UI.
4723         (setDividerLocation): Manage dividerLocation in the JSplitPane
4724         class, not in the UI. Only call the UI method for notification.
4725         * javax/swing/plaf/basic/BasicSplitPaneUI.java
4726         (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4727         location from the JSplitPane. Honour the minimumSize, but only
4728         if the divider location hasn't been set explicitly.
4729         (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4730         statement.
4731         (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4732         statement.
4733         (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4734         the divider location.
4735         (dividerLocationSet): New field.
4736         (dividerLocation): Removed field.
4737         (createActionMap): Fetch and set divider location on the JSplitPane.
4738         (getDividerLocation): Return the actual real divider location.
4739         (getMaximumSize): Removed unneeded cast.
4740         (getPreferredSize): Removed unneeded cast.
4741         (getMinimumSize): Removed unneeded cast.
4742         (installUI): Initialize dividerLocationSet with false.
4743         (uninstallUI): Initialize dividerLocationSet with false.
4744         (setDividerLocation): Set dividerLocationSet to true.
4745
4746 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
4747
4748         * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4749         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4750         convert jstring into char *.
4751         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4752         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4753         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4754         (getif_address): Added const modifier to second argument.
4755         (getif_index): Dito.
4756
4757 2006-10-09  Roman Kennke  <kennke@aicas.com>
4758
4759         * javax/swing/JTree.java
4760         (isSelected): Added API docs.
4761
4762 2006-10-09  Roman Kennke  <kennke@aicas.com>
4763
4764         * javax/swing/JTree.java
4765         (isSelected): Delegate to the selection model directly.
4766
4767 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
4768
4769         * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4770         sizeof_struct_kevent to _sizeof_struct_kevent.
4771
4772 2006-10-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4773
4774         * tools/gnu/classpath/tools/rmic/RMICException.java:
4775         javadoc corrections, reformatted.
4776
4777 2006-10-07  Christian Elias Naur  <elias@oddlabs.com>
4778
4779         * gnu/java/lang/InstrumentationImpl.java:
4780         Made constructor package visible.
4781
4782 2006-10-05  Gary Benson  <gbenson@redhat.com>
4783
4784         * java/net/Socket.java
4785         (Socket): Perform security check on address not hostname.
4786
4787 2006-10-04  Roman Kennke  <kennke@aicas.com>
4788
4789         * javax/swing/tree/VariableHeightLayoutCache.java
4790         (getBounds): When rect is null, create a new Rectangle.
4791
4792 2006-10-04  Christian Thalinger  <twisti@complang.tuwien.ac.at>
4793
4794         * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4795         (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4796         (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4797         (cpnio_select): Use CPNIO_EXPORT.
4798         * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4799         inline instead of extern inline, as newer GCCs changed their
4800         behavior.
4801
4802 2006-10-04  Gary Benson  <gbenson@redhat.com>
4803
4804         * java/net/InetAddress.java: Updated javadoc.
4805         (<clinit>, getByLiteral): Throw InternalError on failures.
4806
4807 2006-10-03  Francis Kung  <fkung@redhat.com>
4808
4809         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4810         (compCtx): New field for composite context.
4811         (copy): Copy composite.
4812         (dispose): Dispose of composite context.
4813         (getNativeCM): New method.
4814         (setComposite): Discard old composite context and set up new context.
4815         (setRenderingHints): Update composite context.
4816         * gnu/java/awt/peer/gtk/CairoSurface.java
4817         (nativeColorModel): New field, renamed from nativeModel.
4818         (nativeModel): Renamed field to nativeColorModel.
4819         (CairoSurface(int, int)): Call new method to create sample model.
4820         (createNativeSampleModel): New method.
4821         (getBufferedImage): Updated variable name.
4822         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4823         (buffer): New field.
4824         (createBuffer): New method.
4825         (draw): New method.
4826         (drawComposite): New method.
4827         (drawGlyphVector): New method.
4828         (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4829         (drawImage(Image, int, int, ImageObserver)): Check composite.
4830         (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4831         (fill): New method.
4832         (getNativeCM): New method.
4833         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4834         (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use 
4835         intermediary pixbuf to grab on-screen pixels.
4836
4837 2006-10-03  Tom Tromey  <tromey@redhat.com>
4838
4839         PR classpath/28987:
4840         * java/util/IdentityHashMap.java (tombstone): Removed.
4841         (emptyslot): Removed.
4842         (nullslot): New field.
4843         (IdentityHashMap): Don't fill array.
4844         (clear): Fill with null.
4845         (hash): Now final.  Use linear probing.
4846         (xform): New method.
4847         (unxform): Likewise.
4848         (removeAtIndex): Likewise.
4849         (clone, containsKey, containsValue, entrySet, get, hashCode,
4850         keySet, put, remove, values): Updated.
4851         (IdentityIterator, IdentityEntry): Likewise.
4852         (writeObject): Likewise.
4853
4854 2006-10-03  Tom Tromey  <tromey@redhat.com>
4855
4856         * java/util/Locale.java (hashcode): Updated javadoc.
4857         (hashcodeCache): Removed.
4858         (Locale): Updated.
4859         (hashCode): Updated.
4860         (writeObject): New method.
4861         (readObject): Updated.
4862
4863 2006-10-02  Francis Kung  <fkung@redhat.com>
4864
4865         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4866         (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4867         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4868         (clearRect): Paint background colour with AlphaComposite.SRC rule.
4869         (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4870         pre-multiply data before drawing.
4871         (fillRect): Draw using regular fill() method.
4872         (setComposite): Handle null case with AlphaComposite.SrcOver default.
4873         * gnu/java/awt/peer/gtk/CairoSurface.java
4874         (nativeModel): Use correct value for alpha premultiplication (true).
4875         * java/awt/image/BufferedImage.java
4876         (coerceData): Update isPremultiplied field.
4877
4878 2006-10-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4879
4880         * gnu/classpath/ListenerData.java:
4881         New class for holding listener data.
4882         * gnu/java/lang/management/MemoryMXBeanImpl.java:
4883         ListenerData class moved to its own file.
4884         * javax/management/MBeanServerDelegate.java,
4885         * javax/management/MBeanServerDelegateMBean.java,
4886         * javax/management/MBeanServerNotification.java:
4887         Implemented.
4888
4889 2006-10-02  Tania Bento  <tbento@redhat.com>
4890
4891         * java/ast/Rectangle.java:
4892         (Rectangle(Rectangle)): Do not throw NPE.
4893         (Rectangle(Point, Dimension)): Same.
4894         (Rectangle(Point)): Same.
4895         (Rectangle(Dimension)): Same.
4896
4897 2006-09-29  Casey Marshall  <csm@gnu.org>
4898
4899         PR 29190
4900         * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4901         `AbstractSelectionKey.'
4902         (cancel, isValid): removed.
4903         * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4904         (events): new field.
4905         (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4906         fields.
4907         (<clinit>): initialize those constants.
4908         (<init>): don't initialize `cancelledKeys;' initialize `events.'
4909         (doSelect): deregister cancelled keys; remove keys attached to
4910         closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4911         `events' buffer; reallocate `events' buffer if needed.
4912         (register): reallocate `events' buffer if needed.
4913         (reallocateBuffer): new method.
4914         (cancel): removed.
4915
4916 2006-09-29  Roman Kennke  <kennke@aicas.com>
4917
4918         PR 28929
4919         * javax/swing/JViewport.java
4920         (cinit): Renamed system property to gnu.swing.scrollmode
4921         to avoid bloat. Default to BACKINGSTORE, this is much
4922         more reliable.
4923         (repaint): Forward repaint() to parent as is specified.
4924
4925 2006-09-29  Tania Bento  <tbento@redhat.com>
4926
4927         * javax/swing/plaf/basic/BasicTableUI.java
4928         (getPreferredSize): The number of iterations for the for-loop should be
4929         the number of columns in the table's column model, not the number of
4930         columns of the table.
4931         * javax/swing/JTable.java
4932         (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4933         lines that are not needed.
4934         (initializeLocalVars): dragEnabled should be set to false, not true.
4935         (getCellRenderer): Added a check to prevent an
4936         ArrayIndexOutOfBoundsException.
4937         (doLayout): The number of iterations for the for-loops should be the
4938         number of columns in the table's column model, not the number of columns
4939         of the table.
4940
4941 2006-09-29  Roman Kennke  <kennke@aicas.com>
4942
4943         * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4944         API docs.
4945         (isOptimized): Initialize with true.
4946         (paintRaster): Removed unneeded field.
4947         (shapeCache): New static field. Caches certain shapes for reuse.
4948         (computeIntersection): Removed unneeded casts.
4949         (drawArc): Use shape cache.
4950         (drawImage): Removed unneeded statement.
4951         (drawLine): Use shape cache. Pass untranslated coordinates
4952         to rawDrawLine().
4953         (drawOval): Use shape cache.
4954         (drawPolygon): Use shape cache.
4955         (drawRect): Overridden to provide accelerated rectangle drawing
4956         if possible and to use the shape cache.
4957         (drawRoundRect): Use shape cache.
4958         (fillArc): Use shape cache.
4959         (fillOval): Use shape cache.
4960         (fillPolygon): Use shape cache.
4961         (fillRect): Pass untranslated coordinates to rawFillRect().
4962         Use shape cache.
4963         (fillRoundRect): Use shape cache.
4964         (fillScanlineAA): Removed unneeded statement.
4965         (fillScanline): Updated API docs.
4966         (fillShapeAntialias): Removed unnecessary cast.
4967         (fillShapeImpl): Update API docs. Removed unnecessary cast.
4968         (fillShape): Updated API docs.
4969         (getShapeCache): New helper method.
4970         * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4971         certain shapes for reuse in AbstractGraphics2D.
4972
4973 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4974
4975         * javax/management/BadBinaryOpValueExpException.java:
4976         (getExp()): Implemented.
4977         * javax/management/MBeanConnection.java:
4978         Renamed to MBeanServerConnection.
4979         * javax/management/MBeanServer.java:
4980         (setAttribute(Attribute)): Fixed...
4981         (setAttribute(ObjectName,Attribute)): to this.
4982         * javax/management/MBeanServerConnection.java:
4983         Renamed from MBeanConnection.
4984         * javax/management/QueryExp.java:
4985         Extend Serializable.
4986         * javax/management/ValueExp.java:
4987         Likewise.
4988         * javax/management/loading/ClassLoaderRepository.java:
4989         (loadClass(String)): Throw ClassNotFoundException.
4990         (loadClassBefore(ClassLoader,String)): Likewise.
4991         (loadClassWithout(String, ClassLoader): Fixed...
4992         (loadClassWithout(ClassLoader,String)): to this.
4993         
4994 2006-09-28  Roman Kennke  <kennke@aicas.com>
4995
4996         * javax/swing/tree/DefaultTreeCellRenderer.java
4997         (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4998         property from UIManager.
4999         (paint): Rewritten to use super's implementation and only paint
5000         background and focus indicator before.
5001         (paintFocus): New helper method.
5002         (getXOffset): New helper method.
5003
5004 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5005         
5006         * javax/management/BadBinaryOpValueExpException.java,
5007         * javax/management/MBeanConnection.java,
5008         * javax/management/MBeanServer.java,
5009         * javax/management/ObjectInstance.java:
5010         Implemented.
5011         * javax/management/ObjectName.java:
5012         (setMBeanServer(MBeanServer)): Implemented.
5013         * javax/management/QueryExp.java,
5014         * javax/management/ValueExp.java,
5015         * javax/management/loading/ClassLoaderRepository.java:
5016         Implemented.
5017
5018 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
5019
5020         * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
5021
5022 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
5023
5024         * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
5025         * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
5026         * gnu/java/nio/EpollSelectorImpl.java:
5027         (doSelect): Use Integer.valueOf() instead of constructor call.
5028         (register): Use Integer.valueOf() instead of constructor call.
5029
5030 2006-09-27  Roman Kennke  <kennke@aicas.com>
5031
5032         * java/awt/Container.java
5033         (addContainerListener): Activate newEventsOnly for the component.
5034         Ignore null listeners.
5035
5036 2006-09-27  Roman Kennke  <kennke@aicas.com>
5037
5038         * java/awt/EventQueue.java
5039         (Queue): New inner class. Implements the actual queue.
5040         (LOW_PRIORITY): New constant field.
5041         (NORM_PRIORITY): New constant field.
5042         (queueHead): Removed. Moved into Queue.
5043         (queueTail): Removed. Moved into Queue.
5044         (queues): New field.
5045         (EventQueue): Initialize two internal queues, one for
5046         normal events, one for low priority events.
5047         (getNextEventImpl): New helper method, fetches the next event.
5048         (getNextEvent): Use getNextEventImpl() for fetching the event.
5049         (peekEvent): Use getNextEventImpl() for fetching the event.
5050         (peekEvent(int)): Search for event in all queues.
5051         (postEventImpl(AWTEvent)): Moved actual posting into
5052         postEventImpl(AWTEvent,int). Prioritize events here.
5053         (postEventImpl(AWTEvent,int)): Take priority parameter and insert
5054         event into correct queue. Re-enable event coalescing.
5055         * gnu/java/awt/LowPriorityEvent.java: New marker interface.
5056         * javax/swing/RepaintManager.java
5057         (RepaintWorkerEvent): New internal class. This is a low priority
5058         event for the repaint worker.
5059         (addDirtyRegion): Use new internal invokeLater() for sending
5060         a low priority event.
5061         (addInvalidComponent): Use new internal invokeLater() for sending
5062         a low priority event.
5063         (commitBuffer): Added some null checks.
5064         (invokeLater): New helper method. Sends a low priority
5065         repaint worker event on the event queue.
5066
5067 2006-09-27  Roman Kennke  <kennke@aicas.com>
5068
5069         PR 29036
5070         PR 29161
5071         * javax/swing/plaf/basic/BasicButtonUI.java
5072         (cachedInsets): New field.
5073         (installListeners): Fire synthetic property change to initialize
5074         TEXT_LAYOUT_CACHE for the button because the font has been
5075         installed before.
5076         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5077         (paint): Use cached insets.
5078         (paintText): Let new method forward to old one, not vice versa.
5079         * javax/swing/plaf/basic/BasicMenuItemUI.java
5080         (defaultAcceleratorLabelGap): Removed unused field.
5081         (MenuGap): Removed unused field.
5082         (propertyChangeListener): Made private.
5083         (getAcceleratorRect): Removed unused method.
5084         (getAcceleratorText): Removed unused method.
5085         (getPath): Removed unnecessary cast.
5086         (installListeners): Fire synthetic property change to initialize
5087         TEXT_LAYOUT_CACHE for the button because the font has been
5088         installed before.
5089         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5090         (layoutMenuItem): Removed unused statements.
5091         
5092 2006-09-27  Roman Kennke  <kennke@aicas.com>
5093
5094         PR 29218
5095         * javax/swing/tree/DefaultTreeModel.java
5096         (isLeaf): Check if the node allows children when
5097         asksAllowsChildren is true, otherwise fall back
5098         to return the node's leaf property.
5099
5100 2006-09-27  Mario Torre  <neugens@limasoftware.net>
5101
5102         * scripts/check_jni_methods.sh: removed methods from the
5103         ignore list:
5104         Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
5105         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
5106         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
5107         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5108         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5109         * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
5110         to better follow the GNU style.
5111         * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
5112         regenerated header file for GConfNativePeer.
5113
5114 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
5115
5116         * INSTALL: Added information about grmic being built when ASM
5117         is available, added information about gconf dependency, indented
5118         Qt4 dependency section.
5119         * configure.ac: Added information about grmic being built when ASM
5120         is available.
5121
5122 2006-09-27  Ian Rogers  <ian.rogers@manchester.ac.uk>
5123
5124         * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
5125         DeleteGlobalRef on a local ref.
5126
5127 2006-09-24  Mario Torre  <neugens@limasoftware.net>
5128
5129         * scripts/check_jni_methods.sh: added two new methods in the
5130         ignore list:
5131         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5132         and
5133         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5134         * native/jni/gconf-peer/GConfNativePeer.c:
5135         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
5136         refacored method name, renamed from
5137         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
5138         Added code to unescape escaped GConf key names.
5139         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
5140         refacored method name, renamed from
5141         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
5142         Added code to unescape escaped GConf key names.
5143         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
5144         new function.
5145         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
5146         new function.
5147         * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
5148         version javadoc tag.
5149         (escapeString): new method.
5150         (unescapeString): likewise.
5151         (gconf_escape_key): new native method.
5152         (gconf_unescape_key): likewise.
5153         (gconf_client_suggest_sync): update native method signature, now
5154         explicity throws BackingStoreException.
5155         (gconf_client_all_nodes): update native method signature, now
5156         explicity throws BackingStoreException. Refactored method name,
5157         renamed from gconf_client_gconf_client_all_nodes.
5158         (gconf_client_all_keys): update native method signature, now
5159         explicity throws BackingStoreException. Refactored method name,
5160         renamed from gconf_client_gconf_client_all_keys.
5161         (getKeys): refactored to use the new method name
5162         gconf_client_all_keys.
5163         (getChildrenNodes): refactored to use the new method name
5164         gconf_client_all_nodes.
5165         * gnu/java/util/prefs/GConfBasedPreferences.java: removed
5166         version javadoc tag.
5167         (GConfBasedPreferences): Added code to escape node names from
5168         invalid characters so that GConf now accept invalid node names.
5169         (GConfBasedPreferences): Moved code to register the current
5170         node to the list of nodes watched by GConf outside the constructor.
5171         (childSpi): Added code to register the current node to the
5172         list of nodes watched by GConf.
5173         (getGConfKey): Added code to escape key names from
5174         invalid characters so that GConf now accept invalid key names.
5175
5176 2006-09-26  Tom Tromey  <tromey@redhat.com>
5177
5178         * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
5179         call mkdirs in output-directory case.
5180         (getPrintStream): Create output directory.
5181         * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
5182         Don't call mkdirs.
5183
5184 2006-09-27  Raif S. Naffah  <raif@swiftdsl.com.au>
5185
5186         * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
5187         Accept three additional arguments.
5188         (writePreambleImpl): New method.
5189         (getPrintStreamImpl): Likewise.
5190         (printClass): Adapted to use new methods in Printer superclass.
5191         * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
5192         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
5193         * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
5194         * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
5195         (force): Likewise.
5196         (getParser): Add support for -o option.
5197         Check that only one of -d or -o is defined.
5198         Add support for -jni option.
5199         Add support for -force option.
5200         (makeOutputFile): New method.
5201         (writeHeaders): Removed File argument from signature.
5202         (run): Take into account newly added fields.
5203         Invoke concrete PrintStream implementations with augmented constructors.
5204         * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
5205         (isDirectory): Likewise.
5206         (force): Likewise.
5207         (wrotePreamble): Likewise.
5208         (Printer): Changed ctor to accept three additional arguments.
5209         (printClass): Changed signature to accept one ClassWrapper argument.
5210         (writePreambleImpl): New abstract method.
5211         (getPrintStreamImpl): Likewise.
5212         (getPrintStream): New method.
5213         (writePreamble): Likewise.
5214
5215 2006-09-26  Tania Bento  <tbento@redhat.com>
5216
5217         * java/awt/GridLayout.java
5218         (toString): There is no common before hgap.
5219         * java/awt/Rectangle.java
5220         (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
5221         (Rectangle(Point, Rectangle)): Throw NPE if either Point or 
5222         Rectangle is null.
5223         (Rectangle(Point)): Throw NPE if Point is null.
5224         (Rectangle(Dimension)): Throw NPE if Dimension is null.
5225
5226 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
5227
5228         * javax/swing/plaf/metal/MetalIconFactory.java
5229         (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
5230         returned by getShift(),
5231         (FileIcon16.getShift): Updated API docs,
5232         (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
5233         returned by getShift(),
5234         (FolderIcon16.getShift): Updated API docs,
5235         (TreeFolderIcon.getShift): Likewise,
5236         (TreeLeafIcon.getShift): Likewise.
5237
5238 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
5239
5240         * javax/swing/plaf/metal/MetalIconFactory.java
5241         (FileIcon16.paintIcon): Fetch colors from look and feel,
5242         (FolderIcon16.paintIcon): Likewise.
5243
5244 2006-09-25  Casey Marshall  <csm@gnu.org>
5245
5246         * gnu/java/nio/FileChannelImpl.java (read): revert back to using
5247         `readScattering.'
5248         (write): revert back to using `writeGathering.'
5249         * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
5250         the first buffer that has data remaining, and start at that one.
5251
5252 2006-09-25  Tom Tromey  <tromey@redhat.com>
5253
5254         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
5255         variable.
5256
5257 2006-09-25  Tom Tromey  <tromey@redhat.com>
5258
5259         * tools/.cvsignore: Updated.
5260
5261 2006-09-25  Tom Tromey  <tromey@redhat.com>
5262
5263         PR libgcj/29178:
5264         * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
5265         (Encoder.canEncode): Likewise.
5266         (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
5267         * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
5268         method.
5269         (Encoder.canEncode): Likewise.
5270         * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
5271         method.
5272         (Encoder.canEncode): Likewise.
5273
5274 2006-09-25  Tom Tromey  <tromey@redhat.com>
5275
5276         * native/fdlibm/mprec.c (mprec_calloc): Renamed.
5277         (Balloc): Updated.
5278
5279 2006-09-25  Francis Kung  <fkung@redhat.com>
5280
5281         * java/awt/image/ColorModel.java
5282         (coerceData): Made abstract.
5283         (coerceDataWorker): New protected method.
5284         * java/awt/image/ComponentColorModel.java
5285         (coerceData): Return new instance of proper ColorModel.
5286         * java/awt/image/DirectColorModel.java
5287         (coerceData): Return new instance of proper ColorModel.
5288         * java/awt/image/IndexColorModel.java
5289         (coerceData): New method.
5290
5291 2006-09-24  Casey Marshall  <csm@gnu.org>
5292
5293         * gnu/java/nio/FileChannelImpl.java
5294         (read): call `read' in a loop, don't use `readScattering.'
5295         (write): call `write' in a loop, don't use `writeGathering.'
5296
5297 2006-09-24  Mark Wielaard  <mark@klomp.org>
5298
5299         * configure.ac: Move -pedantic from WARNING to STRICT flags.
5300
5301 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5302
5303         * java/nio/channels/spi/AbstractSelectableChannel.java
5304         (register): Set interestOps and attachment when the key already
5305         exists.
5306
5307 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5308
5309         * java/net/ServerSocket.java
5310         (bind(SocketAddress,int)): Added support for null address.
5311         Throw proper exception if already bound.
5312         Handle unresolved addresses correctly. Ignore exceptions that
5313         happen during close in error path (to prevent losing the original
5314         exception.)
5315
5316 2006-09-24  Mark Wielaard  <mark@klomp.org>
5317
5318         Suggested by Aaron M. Ucko <ucko@debian.org>
5319         Fixes bug #29203
5320         * native/fdlibm/mprec.c (ulp): Define L as int32_t.
5321
5322 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5323
5324         * java/nio/channels/spi/AbstractSelectableChannel.java
5325         (implCloseChannel): Cancel all keys after closing the channel.
5326
5327 2006-09-22  Casey Marshall  <csm@gnu.org>
5328
5329         * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
5330         after we delete them.
5331         (selectedKeys): return an empty set if nothing's been selected.
5332         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5333         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
5334         throw an exception on EBADF.
5335         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
5336         throw exception on EINTR, just return 0.
5337         
5338 2006-09-22  Casey Marshall  <csm@gnu.org>
5339
5340         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5341         remove `const' from `filename.'
5342         * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
5343         `filename.'
5344         * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
5345
5346 2006-09-22  Casey Marshall  <csm@gnu.org>
5347
5348         * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
5349         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5350         allocate `filename,' and handle changes to `cpio_readDir.'
5351         * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
5352         available; copy the filename into the destination buffer; return
5353         an error code if readdir returns NULL, but errno is 0.
5354         * native/jni/native-lib/cpio.h (cpio_readDir): change second
5355         parameter to `const char *.'
5356
5357 2006-09-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5358
5359         * javax/management/ObjectName.java:
5360         Implemented.
5361         
5362 2006-09-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5363
5364         * resource/gnu/classpath/tools/orbd: New directory.
5365         * resource/gnu/classpath/tools/rmic: Likewise.
5366         * resource/gnu/classpath/tools/rmid: Likewise.
5367         * resource/gnu/classpath/tools/rmiregistry: Likewise.
5368         * resource/gnu/classpath/tools/tnameserv: Likewise.
5369         * tools/gnu/classpath/tools/giop: Move contents to...
5370         * tools/gnu/classpath/tools/orbd,
5371         tools/gnu/classpath/tools/tnameserv: New directories.
5372         * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
5373         * tools/gnu/classpath/tools/rmic: New directory.
5374         * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
5375         * tools/gnu/classpath/tools/rmid: New directory.
5376         * tools/gnu/classpath/tools/rmi/registry: Move contents to...
5377         * tools/gnu/classpath/tools/rmiregistry: New directory.
5378         * resource/gnu/classpath/tools/orbd/messages.properties: New file.
5379         * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
5380         * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
5381         * resource/gnu/classpath/tools/rmiregistry/messages.properties:
5382         Likewise.
5383         * resource/gnu/classpath/tools/tnameserv/messages.properties:
5384         Likewise.
5385         * tools/gnu/classpath/tools/orbd/Main.java,
5386         tools/gnu/classpath/tools/orbd/Messages.java,
5387         tools/gnu/classpath/tools/orbd/PersistentContext.java,
5388         tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
5389         tools/gnu/classpath/tools/orbd/PersistentMap.java,
5390         tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
5391         tools/gnu/classpath/tools/rmic/CompilationError.java,
5392         tools/gnu/classpath/tools/rmic/Generator.java,
5393         tools/gnu/classpath/tools/rmic/GiopIo.java,
5394         tools/gnu/classpath/tools/rmic/HashFinder.java,
5395         tools/gnu/classpath/tools/rmic/Main.java,
5396         tools/gnu/classpath/tools/rmic/Messages.java,
5397         tools/gnu/classpath/tools/rmic/MethodGenerator.java,
5398         tools/gnu/classpath/tools/rmic/RMICException.java,
5399         tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5400         tools/gnu/classpath/tools/rmic/RmicBackend.java,
5401         tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5402         tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5403         tools/gnu/classpath/tools/rmic/Variables.java,
5404         tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5405         tools/gnu/classpath/tools/rmic/templates,
5406         tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5407         tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5408         tools/gnu/classpath/tools/rmid/Main.java,
5409         tools/gnu/classpath/tools/rmid/Messages.java,
5410         tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5411         tools/gnu/classpath/tools/rmiregistry/Main.java,
5412         tools/gnu/classpath/tools/rmiregistry/Messages.java,
5413         tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5414         tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5415         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5416         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5417         tools/gnu/classpath/tools/tnameserv/Main.java,
5418         tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5419         * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5420         RMIC.java from cp-tools.
5421         * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5422         tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5423         (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5424         and grmic.
5425         * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5426         * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5427         Rename...
5428         (start): New method.
5429         * tools/Makefile.am: Add build support for new tool wrappers.
5430         * tools/gorbd.in: New file.
5431         * tools/grmic.in: Likewise.
5432         * tools/grmid.in: Likewise.
5433         * tools/grmiregistry.in: Likewise.
5434         * tools/gtnameserv.in: Likewise.
5435         * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5436         * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5437         file.
5438         * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5439         * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5440         * tools/gnu/classpath/tools/common/Persistent.java: New file.
5441
5442 2006-09-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5443
5444         Fixes bug #29047
5445         * gnu/java/util/regex/RETokenRepeated.java
5446         (findMatch): Rewriten without using recursive calls,
5447         (FindMatchControlStack): New class,
5448         (FindMatchControl): New class,
5449         (TryAnotherResult): New class,
5450         (tryAnother): New method.
5451
5452 2006-09-22  Gary Benson  <gbenson@redhat.com>
5453
5454         * java/net/SocketPermission.java
5455         (processHostport): Cope with IPv6 addresses with a
5456         one-digit first component.
5457
5458 2006-09-22  Roman Kennke  <kennke@aicas.com>
5459
5460         * java/awt/Component.java
5461         (enableEvents): Set newEventsOnly flag.
5462         * java/awt/Container.java
5463         (dispatchEventImpl): Consume event if lightweight dispatcher
5464         dispatched the event. Don't call processEvent() here, this
5465         is already done in Component.dispatchEventImpl(). For
5466         heavyweights or when the lightweight dispatcher could
5467         not dispatch, fall back to calling super.
5468         (dispatchNoLightweight): New helper method to avoid
5469         recursivly calling the lightweight dispatcher.
5470         * java/awt/LightweightDispatcher.java
5471         (dragButton): Removed field.
5472         (dragTarget): Removed field.
5473         (mouseEventTarget): New field.
5474         (convertPointToChild): Removed method.
5475         (dispatchEvent): Don't depend on component beeing
5476         a window.
5477         (findTarget): Improved algorithm for finding a target.
5478         Before we went down to the deepest component and went
5479         up again to find a suitable target. Now we go
5480         down only once, without going up.
5481         (handleMouseEvent): Broke method down into some smaller
5482         helper methods.
5483         (isDragging): New helper method.
5484         (isMouseListening): New helper method.
5485         (redispatch): New helper method.
5486         (trackEnterExit): New helper method.
5487
5488 2006-09-22  David Gilbert  <david.gilbert@object-refinery.com>
5489
5490         * javax/swing/SizeSequence.java
5491         (getSize): Return 0 if index is out of bounds.
5492
5493 2006-09-21  Tom Tromey  <tromey@redhat.com>
5494
5495         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5496         (PathOptionGroup): Make -I a joined option.
5497         * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5498         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5499         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5500         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5501         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5502         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5503         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5504         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5505         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5506         * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5507         * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5508         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5509         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5510         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5511         * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5512         * tools/gnu/classpath/tools/jar/Main.java: Updated.
5513         * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5514         * tools/gnu/classpath/tools/javah/Main.java: Updated.
5515         * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5516         * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5517         * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5518         unused entries.
5519         * resource/gnu/classpath/tools/common/Messages.properties: New file.
5520         * tools/gnu/classpath/tools/common/Messages.java: New file.
5521         * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5522         * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5523         from getopt.
5524         (ClasspathToolParser): Add -J option here.
5525         (ClasspathToolParser): Call other constructor in this class.
5526         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5527         Handle joined options.
5528         (handleShortOptions): Likewise.
5529         (handleShortOption): Removed.
5530         (finalGroup): New field.
5531         (Parser): Initialize new field.  Don't add -J option.
5532         (addFinal): New method.
5533         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5534         isJoined.
5535         * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5536         (Option): Check short option for validity.
5537         (Option): New constructors.
5538         (joined): New field.
5539
5540 2006-09-21  csm  <csm@pollux.local>
5541
5542         * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5543         `InterruptedIOException;' try again if it gets thrown.
5544         (receive): likewise, but re-throw `SocketTimeoutException.'
5545         * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5546         if we have nothing to select.
5547
5548 2006-09-21  Francis Kung  <fkung@redhat.com>
5549
5550         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5551         (getLogicalBounds): Respect glyph transformations.
5552         (getGlyphOutline): Added null pointer check.
5553         (getGlyphTransform): Do not generate identity transform (API permits null).
5554         (setGlyphPosition): Do not invalidate transform.
5555         (setGlyphTransform): Do not modify glyph position.
5556
5557 2006-09-21  Francis Kung  <fkung@redhat.com>
5558
5559         * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5560
5561 2006-09-21  Francis Kung  <fkung@redhat.com>
5562
5563         * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5564         * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5565         * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5566
5567 2006-09-21  Tania Bento  <tbento@redhat.com>
5568
5569         * javax/swing/JTabbedPane.java:
5570         (insertTab): Notify ChangeListeners if the tab inserted is selected.
5571         (setModel): A ChangeListener should be created only if there does not 
5572         currently exist one.
5573
5574 2006-09-21  David Gilbert  <david.gilbert@object-refinery.com>
5575
5576         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5577         (MaximizeAction.actionPerformed): Change icon on maxButton.
5578
5579 2006-09-21  Roman Kennke  <kennke@aicas.com>
5580
5581         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5582         (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5583         Use more efficient getViewPosition() and getViewSize() methods
5584         to avoid creating a rectangle.
5585         (HSBChangeListener.stateChanged): Update the view position
5586         unconditionally. Let the Viewport figure out if something
5587         changed.
5588         (VSBChangeListener.stateChanged): Update the view position
5589         unconditionally. Let the Viewport figure out if something
5590         changed.
5591         * javax/swing/JViewport.java
5592         (ViewListener.componentResized): Fire state change, because
5593         the extentSize changes.
5594         (extentSize): Removed unneeded field.
5595         (viewSize): Removed unneeded field.
5596         (getExtentSize): Return the viewport's size here.
5597         (getViewRect): Reformatted.
5598         (getViewSize): Reordered for only one return statement.
5599         (paintImmediately2): Fixed up javadoc.
5600         (paint): Removed unneeded statement.
5601         (setExtentSize): Set viewport size and check for actual change
5602         of value.
5603         (setViewPosition): Simplified condition. Set scrollUnderway
5604         true and don't set isViewSizeSet. Avoid creating one Point
5605         object.
5606         (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5607         to false.
5608         * javax/swing/JScrollBar.java
5609         (ScrollBarListener): New class. Forwards change events from
5610         the model as adjustment events.
5611         (sbChangeListener): New field.
5612         (JScrollBar): Install listener on new model.
5613         (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5614         method.
5615         (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5616         method to allow custom isAdjusting value.
5617         (setMaximum): Only forward to model.
5618         (setMinimum): Only forward to model.
5619         (setValue): Only forward to model.
5620         (setVisibleAmount): Only forward to model.
5621         (setValues): Only forward to model.
5622         (setModel): Update the change listener.
5623
5624 2006-09-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
5625
5626         * java/util/Formatter.java (basicIntegralConversion): Removed 
5627         check for ZERO && !LEFT_JUSTIFY.
5628                 
5629 2006-09-20  Roman Kennke  <kennke@aicas.com>
5630
5631         PR 29036
5632         * javax/swing/plaf/metal/DefaultMetalTheme.java
5633         (PLAIN_CONTROL_TEXT_FONT): New constant field.
5634         (BOLD_CONTROL_TEXT_FONT): New constant field.
5635         (PLAIN_MENU_TEXT_FONT): New constant field.
5636         (BOLD_MENU_TEXT_FONT): New constant field.
5637         (controlTextFont): Removed.
5638         (menuTextFont): Removed.
5639         (CONTROL_TEXT_FONT): New constant field.
5640         (MENU_TEXT_FONT): New constant field.
5641         (getControlTextFont): Use getFont() helper method for fetching
5642         the correct font.
5643         (getMenuTextFont): Use getFont() helper method for fetching
5644         the correct font.
5645         (getFont): New helper method.
5646         (isBoldMetal): New helper method.
5647
5648 2006-09-20  Casey Marshall  <csm@gnu.org>
5649
5650         * NEWS: mention epoll selector along with the kqueue one.
5651
5652 2006-09-20  Casey Marshall  <csm@gnu.org>
5653
5654         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5655         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5656
5657 2006-09-20  Francis Kung  <fkung@redhat.com>
5658
5659         PR 29011
5660         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5661         (getGlyphTransform): Use translation instead of scale.
5662         (performDefaultLayout): Increment position values instead of resetting, and
5663         pre-increment instead of post-increment.
5664         (setGlyphTransform): Handle null case with identity transform.
5665
5666 2006-09-20  Casey Marshall  <csm@gnu.org>
5667
5668         * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5669         (AC_CHECK_FUNCS): check for `epoll_create.'
5670         * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5671         * gnu/java/nio/EpollSelectorImpl.java: new file.
5672         * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5673         field.
5674         (openSelector): return epoll selector if requested and available.
5675         * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5676         (gnu_java_nio_EpollSelectorImpl.h): new target.
5677         * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5678         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5679         gnu_java_nio_EpollSelectorImpl.c.
5680         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5681
5682 2006-09-20  Casey Marshall  <csm@gnu.org>
5683
5684         * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5685         call `isConnected.'
5686         (isConnected): return false if `connectionPending' is true.
5687
5688 2006-09-20  Francis Kung  <fkung@redhat.com>
5689
5690         PR 29011
5691         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5692         (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5693         (getGlyphOutline): Call getGylphTransform to generate transform.
5694         (getGylphPosition): Read position directly out of array.
5695         (getGlyphPositions): Read positions directly out of array.
5696         (getGlyphTransform): Generate transform based on gylphPositions array.
5697         (performDefaultLayout): Populate glyphPositions array instead of transforms.
5698         (setGlyphPosition): Set position directly into array.
5699         (setGlyphTransform): Update positions array as well.
5700
5701 2006-09-20  David Daney  <ddaney@avtrex.com>
5702
5703         PR classpath/28661
5704         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):  Add
5705         default content-type for POST method.
5706
5707 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
5708
5709         * javax/swing/plaf/basic/BasicRadioButtonUI.java
5710         (BasicRadioButtonUI): Don't fetch icon here,
5711         (installDefaults): Initialise icon here,
5712         (getDefaultIcon): Just return icon.
5713
5714 2006-09-20  Mark Wielaard  <mark@klomp.org>
5715
5716         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5717         Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5718         (EXTRA_DIST): Include javanio.c.
5719
5720 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
5721
5722         * java/awt/geom/RoundRectangle2D.java:
5723         (getPathIterator): Reimplemented,
5724         and updated various API doc comments.
5725
5726 2006-09-20  Roman Kennke  <kennke@aicas.com>
5727
5728         * java/awt/Container.java
5729         (addImpl): Set the new component's parent after it has been
5730         added to the array. Call addNotify() and invalidate()
5731         after the component has been added, so that the peer
5732         gets to know about the component structure when it is created.
5733         * java/awt/Window.java
5734         (dispatchEventImpl): Only revalidate when window is resized,
5735         let the other stuff be processed by the superclass.
5736         (dispose): Post WINDOW_CLOSED event only when some listener
5737         is registered or event is explicitly enabled.
5738         (show): Post WINDOW_OPENED event when appropriate.
5739
5740 2006-09-20  Roman Kennke  <kennke@aicas.com>
5741
5742         * java/awt/Component.java
5743         (addNotify): Invalidate here. Fetch peer font.
5744         (getFont): Delegate to helper method, to protect from
5745         overriding client code. Lock the tree while fetching the font.
5746         (getFontImpl): New helper method. Moved code from getFont() in
5747         here.
5748         (removeNotify): Nullify peerFont too.
5749         (setFont): Synchronize on tree and component to avoid threading
5750         issues. Update the peerFont correctly.
5751         (validate): Update the peer font if necessary, before validating.
5752         (getGraphics): Revert to recursive graphics fetching.
5753         Set component font on the Graphics object.
5754         (translateEvent): Removed unnecessary cast.
5755         * java/awt/Container.java
5756         (invalidateTree): Made final and private. Made implementation
5757         slightly more efficient.
5758         (setFont): Get old and new font via getFont() to account for
5759         the real font, and only invalidate the tree when they are not
5760         the same and not equal.
5761         (visitChild): Set the font of the child on the component graphics.
5762         * java/awt/Frame.java
5763         (setMenuBar): Create local reference of peer for thread safety.
5764         Only call simple invalidate, not invalidateTree().
5765
5766 2006-09-19  Cameron McCormack  <cam@mcc.id.au>
5767
5768         PR 29012
5769         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5770         (constructor): Copy image field.
5771
5772 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
5773
5774         * javax/swing/JMenuBar.java
5775         (getHelpMenu): Implemented to throw an Error, and added API docs,
5776         (getMargin): Added API docs,
5777         (setMargin): Likewise.
5778
5779 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
5780
5781         * javax/swing/AbstractButton.java
5782         (AbstractButton): Don't call updateUI(),
5783         * javax/swing/JButton.java
5784         (JButton(String, Icon)): Call setModel() before init(),
5785         * javax/swing/JMenuItem.java
5786         (JMenuItem()): Delegate to another constructor,
5787         (JMenuItem(Icon)): Likewise,
5788         (JMenuItem(Action)): Set model,
5789         (JMenuItem(String, Icon)): Likewise,
5790         * javax/swing/JToggleButton.java
5791         (init): Call setModel() before init().
5792
5793 2006-09-19  Mark Wielaard  <mark@klomp.org>
5794
5795         Fixes bug #29137
5796         * java/util/logging/LogManager.java (addLogger): Always check for
5797         existing children of a new Logger.
5798
5799 2006-09-19  Roman Kennke  <kennke@aicas.com>
5800
5801         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5802         (HSBChangeListener.stateChanged): Moved handling of header to
5803         syncScrollPaneWithViewport().
5804         (VSBChangeListener.stateChanged): Moved handling of header to
5805         syncScrollPaneWithViewport().
5806         (ViewportChangedHandler.stateChanged): Removed unused statements.
5807         (syncScrollPaneWithViewport): Added null checks. Use setValues
5808         rather then the single setter methods to avoid multiple
5809         adjustments and side effects. Also snyc the headers here.
5810         (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5811         (uninstallUI): Removed unnecessary cast and this qualifier as well
5812         as the call to super.
5813
5814 2006-09-19  Gary Benson  <gbenson@redhat.com>
5815
5816         * java/net/ResolverCache.java: New class (a DNS cache).
5817         * java/net/InetAddress.java
5818         (internalGetCanonicalHostName, getAllByName): Use the above.
5819
5820 2006-09-19  Jeroen Frijters  <jeroen@frijters.net>
5821
5822         * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5823         * java/net/ServerSocket.java
5824         (port): New field.
5825         (bind): Set port field.
5826         (close): Set impl to null.
5827         (isClosed): Check impl and channel instead of using VMChannel.
5828         (toString): Use port field and getLocalPort() method.
5829         * java/net/Socket.java
5830         (isClosed): Check impl and channel instead of using VMChannel.
5831
5832 2006-09-18  Tom Tromey  <tromey@redhat.com>
5833
5834         * java/util/concurrent/CopyOnWriteArrayList.java
5835         (CopyOnWriteArrayList): New constructor.
5836
5837 2006-09-18  Casey Marshall  <csm@gnu.org>
5838
5839         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5840         (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5841
5842 2006-09-18  Tom Tromey  <tromey@redhat.com>
5843
5844         * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5845         isConnected): Removed old comment.
5846         (getRemoteSocketAddress): Uncommented.
5847         (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5848         setTrafficClass, getTrafficClass, setReuseAddress,
5849         getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5850         isOutputShutdown): Uncommented.
5851
5852 2006-09-18  David Pirkle  <dpirkle@symyx.com>
5853
5854         Fixes PR 28589
5855         * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5856           input stream during resolution.
5857
5858 2006-09-18  Roman Kennke  <kennke@aicas.com>
5859
5860         * java/awt/LightweightDispatcher.java
5861         (findTarget): Correctly translate child coordinates.
5862         Use Component.eventTypeEnabled() for checking if a component
5863         has a certain event enabled.
5864         (handleMouseEvent): Find the correct mouse event target.
5865         Use Component.eventTypeEnabled() for checking if a component
5866         has a certain event enabled.
5867
5868 2006-09-18  Roman Kennke  <kennke@aicas.com>
5869
5870         * java/awt/Component.java
5871         (show): Test for the peer beeing lightweight directly.
5872         (paintAll): Validate before painting. Don't paint when not
5873         showing. Call peer.paint() when the component is heavyweight.
5874         (repaint): Delegate to the parent when lightweight, rather
5875         than skipping to the nearest heavyweight.
5876         (createImage): Added null check to prevent NPE.
5877         (dispatchEvent): Moved old event dispatching and toolkit
5878         event dispatching to dispatchEventImpl.
5879         (addComponentListener): Don't enable event. Only add listener
5880         when not null. Switch to new event dispatching only.
5881         (addFocusListener): Likewise.
5882         (addHierarchyListener): Likewise.
5883         (addHierarchyBoundsListener): Likewise.
5884         (addKeyListener): Likewise.
5885         (addMouseListener): Likewise.
5886         (addMouseMotionListener): Likewise.
5887         (addMouseWheelListener): Likewise.
5888         (addInputMethodListener): Likewise.
5889         (coalesceEvents): For mouse events coalesce them only when
5890         their modifiers are equal. For paint events coalesce the events
5891         when one contains the other, without going through complicated
5892         heuristics.
5893         (dispatchEventImpl): Moved old event dispatching and toolkit
5894         event dispatching to dispatchEventImpl.
5895         (coalescePaintEvents): Removed.
5896         (HeavyweightInLightweightListener.componentHidden):
5897         Fixed condition.
5898         * java/awt/Container.java
5899         (addImpl): Don't enable events on lightweights.
5900         (remove): Reordered operations. Don't remove any listeners.
5901         Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5902         Only removeNotify() when peer is != null. Only invalidate if 
5903         not already invalid. Only fire ContainerEvent if there is
5904         an interested listener or the event is enabled. Dispatch this
5905         event directly without the event queue.
5906         (removeAll): Likewise.
5907         (paintComponents): Only paint when showing. Also paint heavyweights.
5908         Don't paint the container itself.
5909         (removeNotify): Create local variables for improved thread safety.
5910         (addNotifyContainerChildren): Don't enable events for lightweights.
5911
5912 2006-09-18  Roman Kennke  <kennke@aicas.com>
5913
5914         * java/awt/EventQueue.java
5915         (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5916         (next_in): Removed obsolete field.
5917         (next_out): Removed obsolete field.
5918         (queueHead): New field. Markes the head of the queue.
5919         (queueTail): New field. Markes the tail of the queue.
5920         (queue): Removed obsolete field.
5921         (EventQueue): Documented empty block.
5922         (getNextEvent): Changed array based implementation to single-linked
5923         list based implementation.
5924         (invokeAndWait): Use an Object as synchronization object rather
5925         than the current thread.
5926         (peekEvent(int)): Changed array based implementation to single-linked
5927         list based implementation.
5928         (peekEvent()): Changed array based implementation to single-linked
5929         list based implementation.
5930         (pop()): Changed array based implementation to single-linked
5931         list based implementation.
5932         (postEvent): Foward to postEventImpl.
5933         (postEventImpl): Changed array based implementation to single-linked
5934         list based implementation.
5935         (push): Changed array based implementation to single-linked
5936         list based implementation.
5937         * java/awt/AWTEvent.java
5938         (queueNext): New field. Implements a single-linked list for
5939         the EventQueue.
5940
5941 2006-09-17  Mark Wielaard  <mark@klomp.org>
5942
5943         * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5944         resource from HTMLEditorKit.class.
5945
5946 2006-09-17  Mark Wielaard  <mark@klomp.org>
5947
5948         * javax/swing/plaf/basic/BasicToolBarUI.java
5949         (setBorderToNonRollover): Check whether border is null.
5950         (setBorderToRollover): Likewise.
5951
5952 2006-09-17  Mark Wielaard  <mark@klomp.org>
5953
5954         * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5955
5956 2006-09-17  Mark Wielaard  <mark@klomp.org>
5957
5958         * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5959         * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5960         * native/jni/java-nio/gnu_java_nio_VMChannel.c
5961         (Java_gnu_java_nio_VMChannel_lock): Likewise.
5962         (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5963
5964 2006-09-17  Casey Marshall  <csm@gnu.org>
5965
5966         * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5967         unused.
5968
5969 2006-09-17  Chris Burdess  <dog@gnu.org>
5970
5971         Fixes PR 27610 27687.
5972         * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5973         * gnu/xml/transform/SAXTemplatesHandler.java,
5974         * gnu/xml/transform/SAXTransformerHandler.java: New files.
5975         * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5976           SAXTransformerFactory.
5977
5978 2006-09-16  Casey Marshall  <csm@gnu.org>
5979
5980         * NEWS: updated.
5981         * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5982         (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5983         kqueue, and kevent.
5984         (HAVE_INET6): define if IPv6 is supported.
5985         * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5986         (native_fd): removed.
5987         (impl): new field.
5988         (<init>): throw IOException; initialize fields.
5989         (finalize): removed.
5990         (getNativeFD): removed.
5991         (bind): use `PlainSocketImpl.bind.'
5992         (create): use `PlainSocketImpl.initSocket.'
5993         (disconnect): use `PlainSocketImpl.disconnect.'
5994         (getLocalPort): new method.
5995         (send): use `VMChannel.send.'
5996         (receive): use `VMChannel.receive.'
5997         (setOption): use `PlainSocketImpl.setOption.'
5998         (getOption): use `PlainSocketImpl.getOption.'
5999         (close): use `VMChannel.State.close.'
6000         (join): use `PlainSocketImpl.join.'
6001         (leave): use `PlainSocketImpl.leave.'
6002         (joinGroup, leaveGroup): implemented.
6003         * gnu/java/net/PlainSocketImpl.java: make non-final.
6004         (native_fd): removed.
6005         (impl): new field.
6006         (channel): new field.
6007         (<init>): initialize `impl.'
6008         (finalize, getNativeFD): removed.
6009         (setOption): use `PlainSocketImpl.setOption.'
6010         (getOption): use `PlainSocketImpl.getOption.'
6011         (shutdownInput): use `PlainSocketImpl.shutdownInput.'
6012         (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
6013         (create): create `channel,' initialize `impl's native state.
6014         (connect): use `connect(SocketAddress, int).'
6015         (connect): use `SocketChannelImpl.connect;' initialize `address'
6016         and `port.'
6017         (bind): use `VMPlainSocketImpl.bind.'
6018         (listen): use `VMPlainSocketImpl.listen.'
6019         (accept): use `SocketChannelImpl.accept.'
6020         (available): use `VMChannel.available.'
6021         (close): use `PlainSocketImpl.close.'
6022         (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
6023         (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
6024         getPort): new methods.
6025         (SocketInputStream.read): use `VMChannel.read.'
6026         (SocketInputStream.read): use `SocketChannel.read.'
6027         (SocketOutputStream.write): use `VMChannel.write.'
6028         (SocketOutputStream.write): use `SocketChannel.write.'
6029         * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
6030         (channel): new field.
6031         (<init>): initialize `channel.'
6032         (implCloseSelectableChannel): use `VMChannel.close.'
6033         (implConfigureBlocking): use `VMChannel.setBlocking.'
6034         (connect): use `VMChannel.connect.'
6035         (disconnect): use `VMChannel.disconnect.'
6036         (isConnected): use `VMChannel.getPeerAddress.'
6037         (write): use `VMChannel.write.'
6038         (write): use `VMChannel.writeGathering.'
6039         (read): use `VMChannel.read.'
6040         (read): use `VMChannel.readScattering.'
6041         (receive): use `VMChannel.receive.'
6042         (send): use `VMChannel.send.'
6043         (getVMChannel): new method.
6044         * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
6045         access native FD through VMChannel.State.
6046         * gnu/java/nio/FileChannelImpl.java: moved from
6047         gnu/java/nio/channels/FileChannelImpl.java.
6048         * gnu/java/nio/FileLockImpl.java: fix imports.
6049         * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
6050         * gnu/java/nio/KqueueSelectorImpl.java: new file.
6051         * gnu/java/nio/NIOSocket.java (impl): removed.
6052         (channel): new field.
6053         (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
6054         (getPlainSocketImpl, setChannel): removed.
6055         (isConnected): new method.
6056         * gnu/java/nio/NIOSocketImpl.java: new file.
6057         * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
6058         `VMChannelOwner.'
6059         (SourceChannelImpl.native_fd): removed.
6060         (SourceChannelImpl.<init>): init with a `VMChannel.'
6061         (SourceChannelImpl.getNativeFD): removed.
6062         (SourceChannelImpl.getVMChannel): new method.
6063         (SourceChannelImpl.implCloseSelectableChannel): implement.
6064         (SinkChannelImpl): implement `VMChannelOwner.'
6065         (SinkChannelImpl.native_fd): removed.
6066         (SinkChannelImpl.<init>): init with a `VMChannel.'
6067         (SinkChannelImpl.implCloseSelectableChannel): implement.
6068         (SinkChannelImpl.getNativeFD): removed.
6069         (SinkChannelImpl.getVMChannel): new method.
6070         * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
6071         deprecated.
6072         * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
6073         SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
6074         (openSelector): return kqueue selector if available.
6075         * gnu/java/nio/ServerSocketChannelImpl.java: implement
6076         `VMChannelOwner.'
6077         (channel): new field.
6078         (<init>): init `channel.'
6079         (finalizer): check if the `VMChannel.State' is valid.
6080         (implCloseSelectableChannel): use `VMChannel.close.'
6081         (implConfigureBlocking): use `VMChannel.setBlocking.'
6082         (accept): use `VMChannel.accept.'
6083         (getVMChannel): new method.
6084         * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
6085         access native FD through `VMChannel.State.'
6086         * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
6087         (impl): removed.
6088         (channel, connected, connectAddress): new field.
6089         (<init>): new constructors.
6090         (getPlainSocketImpl): removed.
6091         (implCloseSelectableChannel): use `VMChannel.close.'
6092         (implConfigureBlocking): use `VMChannel.setBlocking.'
6093         (connect): use `connect(SocketAddress,int).'
6094         (connect): use `VMChannel.connect.'
6095         (finishConnect): don't use a selector.
6096         (isConnected): use `VMChannel.getPeerAddress.'
6097         (read): use `VMChannel.read.'
6098         (read): use `VMChannel.readScattering.'
6099         (write): use `VMChannel.write.'
6100         (write): use `VMChannel.writeGathering.'
6101         (getVMChannel): new method.
6102         * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
6103         native FD from `VMChannel.State.'
6104         * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
6105         get native FD from `VMChannel.State.'
6106         * gnu/java/nio/VMChannelOwner.java: new file.
6107         * gnu/java/nio/channels/FileChannelImpl.java: removed.
6108         * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
6109         and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
6110         `gnu_java_nio_channels_FileChannelImpl.h.'
6111         * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
6112         * include/gnu_java_nio_FileChannelImpl.h: new file.
6113         * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
6114         * include/gnu_java_nio_VMChannel.h: regenerated.
6115         * include/gnu_java_nio_VMPipe.h: regenerated.
6116         * include/java_net_VMNetworkInterface.h: regenerated.
6117         * java/io/FileDescriptor.java: fix imports.
6118         * java/io/FileInputStream.java (<init>): handle exceptions.
6119         (read): wrap the destination arary.
6120         * java/io/FileOutputStream.java (<init>): handle exceptions.
6121         (write): wrap the source array.
6122         * java/io/RandomAccessFile.java (<init>): handle exceptions.
6123         * java/net/DatagramSocket.java (<init>): handle exceptions.
6124         (receive): handle length/port setting.
6125         (connect): bind to any address/port if the argument is null.
6126         * java/net/NetworkInterface.java (name, inetAddress): removed.
6127         (netif): new field.
6128         (<init>): make private.
6129         (getName): return `netif.name.'
6130         (getInetAddresses): access `netif.addresses.'
6131         (getDisplayName): return `netif.name.'
6132         (getByName, getByAddress): handle changes to `VMNetworkInterface.'
6133         (condense): removed.
6134         (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
6135         (equals): compare `netif' fields.
6136         (hashCode): get hash codes from `netif.'
6137         (toString): use a StringBuffer.
6138         * java/net/ServerSocket.java (close): don't set `impl' to null.
6139         (isClosed): use `VMChannel.State.isClosed.'
6140         * java/net/Socket.java (getLocalAddress): don't use `getOption' if
6141         the `SocketImpl' is a `PlainSocketImpl.'
6142         (close): just close the `impl.'
6143         (toString): use `super.toString' in the value we return.
6144         (isConnected): just access `impl,' not `getImpl.'
6145         (isBound): use `PlainSocketImpl' methods if we can.
6146         (isClosed): look at `VMChannel.State.'
6147         * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
6148         (JCL_NewRawDataObject): don't initialize cached fields here; throw
6149         an exception if they were not.
6150         (JCL_GetRawData): throw an exception if cached fields weren't
6151         created.
6152         * native/jni/java-lang/java_lang_VMProcess.c: handle
6153         FileChannelImpl move.
6154         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
6155         (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
6156         THROW_NO_NETWORK): new macros.
6157         (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
6158         (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
6159         (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
6160         (java_sockopt): new enum.
6161         (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
6162         (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
6163         (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
6164         reimplemented.
6165         (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
6166         reimplemented.
6167         (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
6168         function.
6169         (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
6170         (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
6171         (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
6172         (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
6173         (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
6174         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
6175         (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
6176         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
6177         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
6178         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
6179         (getif_address): new function.
6180         (getif_index): new function.
6181         * native/jni/java-net/java_net_VMNetworkInterface.c
6182         (java_net_VMNetworkInterface_init,
6183         java_net_VMNetworkInterface_addAddress): new file-scope globals.
6184         (Java_java_net_VMNetworkInterface_initIds): new function.
6185         (struct netif_entry): new struct.
6186         (free_netif_list): new function.
6187         (Java_java_net_VMNetworkInterface_getInterfaces): removed.
6188         (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
6189         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
6190         gnu_java_nio_channels_FileChannelImpl.c, add
6191         gnu_java_nio_KqueueSelectorImpl.c.
6192         * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
6193         * native/jni/java-nio/gnu_java_nio_VMChannel.c
6194         (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
6195         ALIGN_DOWN): new macros.
6196         (JCL_init_buffer): get the address through GetDirectBufferAddress
6197         if possible.
6198         (Java_gnu_java_nio_VMChannel_stdin_1fd,
6199         Java_gnu_java_nio_VMChannel_stdout_1fd,
6200         Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
6201         (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
6202         value.
6203         (Java_gnu_java_nio_VMChannel_read): renamed...
6204         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
6205         this; handle interrupted IO; add HAVE_READ check.
6206         (Java_gnu_java_nio_VMChannel_write): renamed...
6207         (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
6208         this; handle zero-length write; add HAVE_WRITE check.
6209         (Java_gnu_java_nio_VMChannel_receive): new function.
6210         (Java_gnu_java_nio_VMChannel_send): new function.
6211         (Java_gnu_java_nio_VMChannel_send6): new function.
6212         (Java_gnu_java_nio_VMChannel_read__I): new function.
6213         (Java_gnu_java_nio_VMChannel_write__II): new function.
6214         (Java_gnu_java_nio_VMChannel_socket): new function.
6215         (Java_gnu_java_nio_VMChannel_connect): new function.
6216         (Java_gnu_java_nio_VMChannel_connect6): new function.
6217         (Java_gnu_java_nio_VMChannel_getsockname): new function.
6218         (Java_gnu_java_nio_VMChannel_getpeername): new function.
6219         (Java_gnu_java_nio_VMChannel_accept): new function.
6220         (Java_gnu_java_nio_VMChannel_disconnect): new function.
6221         (Java_gnu_java_nio_VMChannel_close): new function.
6222         (Java_gnu_java_nio_VMChannel_available): new function.
6223         (FileChannel_mode): new enum.
6224         (Java_gnu_java_nio_VMChannel_open): new function.
6225         (Java_gnu_java_nio_VMChannel_position): new function.
6226         (Java_gnu_java_nio_VMChannel_seek): new function.
6227         (Java_gnu_java_nio_VMChannel_truncate): new funciton.
6228         (Java_gnu_java_nio_VMChannel_lock): new function.
6229         (Java_gnu_java_nio_VMChannel_unlock): new function.
6230         (Java_gnu_java_nio_VMChannel_size): new function.
6231         (Java_gnu_java_nio_VMChannel_map): new function.
6232         (Java_gnu_java_nio_VMChannel_flush): new function.
6233         * native/jni/java-nio/gnu_java_nio_VMPipe.c
6234         (Java_gnu_java_nio_VMPipe_init): removed.
6235         (Java_gnu_java_nio_VMPipe_pipe0): new function.
6236         * native/jni/java-nio/javanio.c: new file.
6237         * native/jni/java-nio/javanio.h: new file.
6238         * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
6239         systems without `gethostbyname_r.'
6240         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
6241         field.
6242         (<init>, <init>): new constructors.
6243         (setOption, getOption): make instance methods; defer to native
6244         implementation.
6245         (connect): removed.
6246         (bind): make an instance method; defer to native methods.
6247         (accept): removed.
6248         (available): removed.
6249         (listen): make an instance method; defer to native method.
6250         (read): removed.
6251         (join, leave): new methods.
6252         (write): removed.
6253         (joinGroup, leaveGroup): new methods.
6254         (shutdownInput, shutdownOutput): make instance methods.
6255         (sendUrgentData): removed.
6256         (State): new class.
6257         * vm/reference/gnu/java/nio/VMChannel.java: make final.
6258         (fd): removed.
6259         (nfd): new field.
6260         (<init>): new, public constructors.
6261         (getVMChannel): methods removed.
6262         (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
6263         stderr_fd): new methods.
6264         (setBlocking): make an instance method.
6265         (available): new method.
6266         (read): get native fd from `nfd.'
6267         (read): new single-byte read method.
6268         (readScattering): get native fd from `nfd.'
6269         (receive): new method.
6270         (write, writeGathering): get native fd from `nfd.'
6271         (send): new method.
6272         (write): new single-byte write method.
6273         (initSocket): new method.
6274         (connect): new method.
6275         (disconnect): new method.
6276         (getLocalAddress): new method.
6277         (getPeerAddress): new method.
6278         (accept): new method.
6279         (openFile): new method.
6280         (position): new method.
6281         (seek): new method.
6282         (truncate): new method.
6283         (lock): new method.
6284         (unlock): new method.
6285         (size): new method.
6286         (map): new method.
6287         (flush): new method.
6288         (close): new method.
6289         (State): new class.
6290         (Kind): new class.
6291         * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
6292         (pipe, pipe0): new method.
6293         * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
6294         new fields.
6295         (<clinit>): call `initIds.'
6296         (initIds): new method.
6297         (getInterfaces): removed.
6298         (getVMInterfaces): new method.
6299         (addAddress): new method.
6300         * vm/reference/java/nio/channels/VMChannels.java: fix imports.
6301
6302 2006-09-16  Chris Burdess  <dog@gnu.org>
6303
6304         Fixes PR 28572.
6305         * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
6306           when in text output mode.
6307
6308 2006-09-16  Chris Burdess  <dog@gnu.org>
6309
6310         Fixes PR 27293.
6311         * gnu/xml/dom/DomNode.java: Increment length of node during insert.
6312
6313 2006-09-14  Michael Koch  <konqueror@gmx.de>
6314
6315         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
6316
6317 2006-09-15  Chistian Elias Naur  <elias@oddlabs.com>
6318
6319         * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
6320         Added !cl.isArray() to serialVersionUID mismatch check.
6321
6322 2006-09-14  Francis Kung  <fkung@redhat.com>
6323
6324         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6325         (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
6326         be compatibe with Cairo 1.2.x.
6327
6328 2006-09-14  Francis Kung  <fkung@redhat.com>
6329
6330         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
6331         (cairoSurfaceSetFilter): Removed method.
6332         (drawImage): Pass interpolation type as argument to drawing methods.
6333         (drawPixels): Added interpolation parameter.
6334         (drawRaster): Pass interpolation type as argument to drawing method.
6335         (getInterpolation): New method.
6336         (setRenderingHint): Store hints, but do not set interpolation in cairo.
6337         (setRenderingHints): Store hints, but do not set interpolation in cairo.
6338         * gnu/java/awt/peer/gtk/CairoSurface.java
6339         (drawSurface): Added interpolation parameter.
6340         (nativeDrawSurface): Added interpolation parameter.
6341         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
6342         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6343         parameter.
6344         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6345         * native/jni/gtk-peer/cairographics2d.h
6346         (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
6347         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6348         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6349         parameter.
6350         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6351         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6352         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
6353         interpolation parameter.
6354
6355 2006-09-14  Gary Benson  <gbenson@redhat.com>
6356
6357         * java/net/InetAddress.java
6358         (internalGetCanonicalHostName): New method.
6359         (getCanonicalHostName): Use internalGetCanonicalHostName.
6360         (getByLiteral): New method.
6361         (getAllByName): Use getByLiteral.
6362         * java/net/SocketPermission.java
6363         (host): Replaced with...
6364         (hostname, address): New fields.
6365         (equals, hashcode): Reflect the above.
6366         (setHostPort): Parse host into hostname or address.
6367         (implies): Rewrite host checks.
6368
6369 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
6370
6371         Fixes PR28699
6372         * java/awt/Menu.java
6373         (insert(MenuItem, int)): Fixed loop range,
6374         (insert(String, int)): Updated API docs.
6375
6376 2006-09-14  Christian Thalinger  <twisti@complang.tuwien.ac.at>
6377
6378         Fixes PR22800
6379         * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
6380         architectures (like Arm).
6381         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
6382         Reverted SWAP_DOUBLE patch.
6383         (doubleToRawLongBits): Likewise.
6384         (longBitsToDouble): Likewise.
6385
6386 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
6387
6388         * java/awt/Menu.java: Reformatted source file.
6389
6390 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
6391
6392         * gnu/java/rmi/server/ActivatableRef.java
6393         (readExternal, writeExternal): Partial fix for serialization format.
6394
6395 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
6396
6397         PR classpath/28984
6398         * java/io/InputStreamReader.java
6399         (read(char[],int,int)): Fixed bug.
6400
6401 2006-09-13  Francis Kung  <fkung@redhat.com>
6402
6403         * java/awt/image/BandCombineOp.java: Updated documentation.
6404         (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6405
6406 2006-09-13  Tom Tromey  <tromey@redhat.com>
6407
6408         PR classpath/29034:
6409         * java/io/PipedReader.java (read): Return early if len==0.
6410         * java/io/PipedInputStream.java (read): Return early if len==0.
6411
6412 2006-09-13  Francis Kung  <fkung@redhat.com>
6413
6414         * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6415         Removed hard-coded max sample value.
6416         * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)): 
6417         Fixed finding of max sample value.
6418
6419 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6420
6421         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6422         (setPaint): Check null argument ('p').
6423
6424 2006-09-12  Francis Kung  <fkung@redhat.com>
6425
6426         PR 27940
6427         * gnu/java/awt/java2d/TexturePaintContext.java
6428         (constructor): Fixed typo, getMinY instead of getMaxX.
6429         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6430         (setPaint): Implemented support for custom Paint classes.
6431         (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6432         (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6433         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6434         to setPaintPixels, and added repeat parameter.
6435         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6436          Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6437
6438 2006-09-12  Gary Benson  <gbenson@redhat.com>
6439
6440         * java/net/NetworkInterface.java (getInetAddresses):
6441         Fix port used in security check.
6442
6443 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6444
6445         * javax/swing/plaf/metal/DefaultMetalTheme.java
6446         (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6447         (MENU_TEXT_FONT): Renamed 'menuTextFont',
6448         (getControlTextFont): Check 'swing.boldMetal' setting before 
6449         initialising font,
6450         (getMenuTextFont): Likewise.
6451
6452 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6453
6454         * javax/swing/plaf/metal/OceanTheme.java
6455         (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6456
6457 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6458
6459         * javax/swing/plaf/metal/MetalIconFactory.java
6460         (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6461
6462 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6463
6464         * javax/swing/AbstractSpinnerModel.java: API doc updates.
6465
6466 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6467
6468         * javax/swing/AbstractButton.java
6469         (AbstractButton): Initialise textIconGap field.
6470
6471 2006-09-11  Tom Tromey  <tromey@redhat.com>
6472
6473         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6474         "volatile" when needed.
6475
6476 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
6477
6478         * java/text/AttributedCharacterIterator.java
6479         (LANGUAGE): Initialise with lower case string,
6480         (INPUT_METHOD_SEGMENT): Likewise,
6481         (READING): Likewise,
6482         * java/text/AttributedStringIterator.java
6483         (getRunLimit): Check all attributes for changes.
6484
6485 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
6486
6487         * java/text/AttributedCharacterIterator.java: Added @since tag, 
6488         renamed some variables (no underscores) and removed some spaces to
6489         match the common style,
6490         * java/text/AttributedString.java: Likewise,
6491         * java/text/AttributedStringIterator.java: Likewise.
6492
6493 2006-09-11  Gary Benson  <gbenson@redhat.com>
6494
6495         * java/net/Inet4Address.java
6496         (FAMILY): Renamed back to AF_INET.
6497         (<init>, writeReplace): Reflect the above.
6498         * java/net/Inet6Address.java
6499         (FAMILY): Renamed back to AF_INET6.
6500         (<init>): Reflect the above.
6501
6502 2006-09-11  Cameron McCormack  <cam-gcc-bugzilla@aka.mcc.id.au>
6503
6504         Fixes PR29010
6505         * java/text/AttributedString.java
6506         (AttributedString(AttributedCharacterIterator, int, int, 
6507         AttributedCharacterIterator.Attribute[])): Fixed check for defined 
6508         attribute.
6509
6510 2006-09-11  Gary Benson  <gbenson@redhat.com>
6511
6512         * java/net/Inet4Address.java
6513         (AF_INET): Renamed to FAMILY.
6514         (<init>, writeReplace): Reflect the above.
6515         * java/net/Inet6Address.java
6516         (AF_INET6): Renamed to FAMILY.
6517         (<init>): Reflect the above.
6518
6519 2006-09-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6520
6521         Fixes bug #28867
6522         Originally in Kaffe: 2004-04-16  Helmer Kraemer <hkraemer@freenet.de>
6523         * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6524         * java/net/Socket.java: Avoid creating a redundant file descriptor.
6525         (implCreated): Deleted, (getImpl): Don't check impleCreated,
6526         (bind): Call getImpl().create(true).
6527
6528 2006-09-09  Chris Burdess  <dog@gnu.org>
6529
6530         * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6531           an instance of org.w3c.dom.NodeList.
6532
6533 2006-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
6534
6535         * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6536         missing security manager when run in standalone mode.
6537
6538 2006-09-08  Francis Kung  <fkung@redhat.com>
6539
6540         * java/awt/image/AffineTransformOp.java: Updated documentation.
6541         (createCompatibleDestRaster): Updated formatting.
6542         (filter(BufferedImage, BufferedImage)): Updated formatting.
6543         (filter(Raster, WritableRaster)): Delegated processing to native peers for
6544         if colour model is compatible.
6545         (filterBicubic): Get entire pixel at once, and use appropriate array type.
6546         (filterBilinear): Get entire pixel at once, and use appropriate array type.
6547
6548 2006-09-08  Gary Benson  <gbenson@redhat.com>
6549
6550         * java/net/InetAddress.java
6551         (family): Updated javadoc and made private.
6552         (<init>): Add an address family argument.
6553         (readObject): Don't overwrite family.
6554         * java/net/Inet4Address.java
6555         (AF_INET): New constant.
6556         (<init>): Use AF_INET as the family.
6557         (writeReplace): Likewise.
6558         * java/net/Inet6Address.java
6559         (AF_INET6): New constant.
6560         (<init>): Use AF_INET6 as the family.
6561
6562 2006-09-08  Gary Benson  <gbenson@redhat.com>
6563
6564         * java/net/InetAddress.java
6565         (getHostName): Move lookup into getCanonicalHostName.
6566         (getCanonicalHostName): Move lookup from getHostName,
6567         Perform security check on canonical name (ie after lookup).
6568
6569 2006-09-08  Gary Benson  <gbenson@redhat.com>
6570
6571         * java/net/Inet4Address.java (isMulticastAddress,
6572         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6573         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6574         isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6575         implementations from InetAddress.
6576         * java/net/InetAddress.java (isMulticastAddress,
6577         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6578         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6579         isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6580         implementations with UnsupportedOperationExceptions.
6581         
6582 2006-09-08  Gary Benson  <gbenson@redhat.com>
6583
6584         * java/net/InetAddress.java
6585         (inaddr_any): Removed.
6586         (ANY_IF, LOCALHOST): Create using getByAddress.
6587         (<init>): Updated javadoc.
6588         (getHostName): Cache hostname even if the lookup failed.
6589         (getByAddress): Create Inet4Address objects when passed
6590         IPv4-mapped IPv6 addresses.
6591         (aton): Removed.
6592         (getAllByName): Create address objects using getByAddress.
6593         Do not perform security checks unless actually required.
6594         Do not strip whitespace from the hostname.
6595         (getInaddrAny): Removed.
6596         (getLocalHost): Return the loopback address if getByName
6597         throws a SecurityException.
6598         (readResolve): Updated javadoc.
6599         * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6600         * include/java_net_VMInetAddress.h
6601         (Java_java_net_VMInetAddress_aton): Likewise.
6602         * native/jni/java-net/java_net_VMInetAddress.c
6603         (Java_java_net_VMInetAddress_aton): New method.
6604         * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6605         * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6606         * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6607         * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6608         * NEWS: Added note about updated VM interface.
6609
6610 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6611
6612         * javax/swing/plaf/basic/BasicInternalFrameUI.java
6613         (setNorthPane): Assign component to titlePane.
6614
6615 2006-09-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6616
6617         * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6618         Remove unused variable alt_addr.
6619         * gnu/CORBA/NamingService/NameTransformer.java (toName):
6620         Remove unused variables.
6621
6622 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6623
6624         * javax/swing/plaf/metal/MetalScrollBarUI.java
6625         (installDefaults): Initialise scrollBarWidth from UI defaults here,
6626         (createDecreaseButton): Don't fetch scrollBarWidth here, 
6627         (createIncreaseButton): Likewise.
6628
6629 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6630
6631         * java/awt/image/MemoryImageSource.java: Added API docs.
6632
6633 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6634
6635         * javax/swing/plaf/basic/BasicScrollBarUI.java
6636         (installDefaults): Call configureScrollBarColors().
6637
6638 2006-09-06  Francis Kung  <fkung@redhat.com>
6639
6640         * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6641         (constructor): Make copy of arrays.
6642         (createCompatibleDestImage): Changed treatment of null ColorModel.
6643         (filter(BufferedImage, BufferedImage)): Re-implemented.
6644         (filter(Raster, WritableRaster, boolean[])): New method.
6645         (filter(Raster, WritableRaster)): Re-implemented.
6646         (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6647         (getPoint2D): Cleaned up formatting.
6648         (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6649
6650 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6651
6652         * javax/swing/UIManager.java
6653         (getBoolean(Object)): Reimplemented,
6654         (getBoolean(Object, Locale)): Likewise,
6655         (getBorder(Object)): Likewise,
6656         (getBorder(Object, Locale)): Likewise,
6657         (getColor(Object)): Likewise,
6658         (getColor(Object, Locale)): Likewise,
6659         (getDimension(Object)): Likewise,
6660         (getDimension(Object, Locale)): Likewise,
6661         (getFont(Object)): Likewise,
6662         (getFont(Object, Locale)): Likewise,
6663         (getIcon(Object)): Likewise,
6664         (getIcon(Object, Locale)): Likewise,
6665         (getInsets(Object)): Updated API docs,
6666         (getInsets(Object, Locale)): Likewise,
6667         (getInt(Object)): Reimplemented,
6668         (getInt(Object, Locale)): Likewise,
6669         (getString(Object)): Likewise,
6670         (getString(Object, Locale)): Likewise.
6671
6672 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6673
6674         * javax/swing/UIManager.java
6675         (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6676         (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6677
6678 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6679
6680         * javax/swing/plaf/metal/MetalLookAndFeel.java
6681         (initComponentDefaults): Corrected various font defaults.
6682
6683 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6684
6685         * java/awt/List.java: Added @since to various methods.
6686
6687 2006-09-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6688
6689         * native/jni/native-lib/cpprocess.c:
6690         (forkAndExec(char*,char*,int,int,pid_t,char*)):
6691         Add redirection of stdout to stderr.
6692         * native/jni/native-lib/cpprocess.h:
6693         Added redirect argument.
6694         * native/jni/java-lang/java_lang_VMProcess.c
6695         (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6696         * vm/reference/java/lang/VMProcess.java: Likewise.
6697         * include/java_lang_VMProcess.h: Regenerated.
6698         
6699 2006-09-05  Andreas Tobler  <a.tobler@schweiz.ch>
6700
6701         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6702         __attribute to __attribute__.
6703
6704         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6705         header include.
6706
6707 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6708
6709         * java/awt/List.java: Source code reformatted.
6710
6711 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6712
6713         * gnu/CORBA/CollocatedOrbs.java,
6714         gnu/CORBA/SafeForDirectCalls.java: New files.
6715         * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6716         Implement gnu.CORBA.SafeForDirectCalls.
6717         * gnu/CORBA/NamingService/Ext.java: Likewise.
6718         * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6719         * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6720         of the local host. (ior_to_object): Return the local object
6721         where possible. (run): Register/unregister this ORB.
6722         * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.      
6723         * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6724         * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6725         (constructors): Initialize noRetain. (_invoke): Drop servant
6726         if noRetain is true. (getHandler): Always seach for the new servant
6727         if noRetain is true.
6728         * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6729         * NEWS: Added note about the new feature.
6730
6731 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6732
6733         * java/awt/Choice.java
6734         (addItem): Fixed API doc glitch.
6735
6736 2006-09-05  Francis Kung  <fkung@redhat.com>
6737
6738         * java/awt/image/LookupOp.java: Updated documentation & formatting.
6739         (createCompatibleDestImage): Re-implemented.
6740         (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6741         compatibility, and use ColorConvertOp for color conversion if needed.
6742         (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6743
6744 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6745
6746         gnu/CORBA/CDR/Vio.java,
6747         org/omg/CORBA_2_3/ORB.java,
6748         org/omg/CORBA_2_3/portable/InputStream.java,
6749         org/omg/CORBA_2_3/portable/OutputStream.java,
6750         org/omg/CosNaming/BindingIteratorHelper.java,
6751         org/omg/CosNaming/BindingTypeHelper.java,
6752         org/omg/CosNaming/NameComponentHelper.java,
6753         org/omg/CosNaming/NameHelper.java,
6754         org/omg/CosNaming/NamingContextExtHelper.java,
6755         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6756         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6757         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6758         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6759         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6760         org/omg/CosNaming/NamingContextHelper.java,
6761         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6762         org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6763         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6764         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6765         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6766         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6767         org/omg/DynamicAny/AnySeqHelper.java,
6768         org/omg/DynamicAny/DynAnyFactoryHelper.java,
6769         org/omg/DynamicAny/DynAnyFactoryOperations.java,
6770         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6771         org/omg/DynamicAny/DynAnyHelper.java,
6772         org/omg/DynamicAny/DynAnyOperations.java,
6773         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6774         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6775         org/omg/DynamicAny/DynAnySeqHelper.java,
6776         org/omg/DynamicAny/DynArrayHelper.java,
6777         org/omg/DynamicAny/DynEnumHelper.java,
6778         org/omg/DynamicAny/DynFixedHelper.java,
6779         org/omg/DynamicAny/DynSequenceHelper.java,
6780         org/omg/DynamicAny/DynStructHelper.java,
6781         org/omg/DynamicAny/DynStructOperations.java,
6782         org/omg/DynamicAny/DynUnionHelper.java,
6783         org/omg/DynamicAny/DynValueHelper.java,
6784         org/omg/DynamicAny/NameDynAnyPairHelper.java,
6785         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6786         org/omg/IOP/CodecFactoryHelper.java,
6787         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6788         org/omg/IOP/CodecOperations.java,
6789         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6790         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6791         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6792         org/omg/IOP/ComponentIdHelper.java,
6793         org/omg/IOP/ExceptionDetailMessage.java,
6794         org/omg/IOP/MultipleComponentProfileHelper.java,
6795         org/omg/IOP/ProfileIdHelper.java,
6796         org/omg/IOP/ServiceContextListHelper.java,
6797         org/omg/IOP/ServiceIdHelper.java,
6798         org/omg/IOP/TAG_CODE_SETS.java,
6799         org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6800         org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6801         org/omg/PortableInterceptor/CurrentHelper.java,
6802         org/omg/PortableInterceptor/IORInfo.java,
6803         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6804         org/omg/PortableInterceptor/ORBIdHelper.java,
6805         org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6806         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6807         org/omg/PortableInterceptor/ORBInitializerOperations.java,
6808         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6809         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6810         org/omg/PortableInterceptor/RequestInfoOperations.java,
6811         org/omg/PortableInterceptor/ServerIdHelper.java,
6812         org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6813         org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6814         org/omg/PortableServer/AdapterActivatorOperations.java,
6815         org/omg/PortableServer/CurrentHelper.java,
6816         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6817         org/omg/PortableServer/ForwardRequestHelper.java,
6818         org/omg/PortableServer/IdAssignmentPolicyValue.java,
6819         org/omg/PortableServer/IdUniquenessPolicyValue.java,
6820         org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6821         org/omg/PortableServer/LifespanPolicyValue.java,
6822         org/omg/PortableServer/POA.java,
6823         org/omg/PortableServer/POAHelper.java,
6824         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6825         org/omg/PortableServer/POAManagerPackage/State.java,
6826         org/omg/PortableServer/POAOperations.java,
6827         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6828         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6829         org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6830         org/omg/PortableServer/POAPackage/NoServantHelper.java,
6831         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6832         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6833         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6834         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6835         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6836         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6837         org/omg/PortableServer/RequestProcessingPolicyValue.java,
6838         org/omg/PortableServer/ServantActivatorHelper.java,
6839         org/omg/PortableServer/ServantLocatorHelper.java,
6840         org/omg/PortableServer/ServantLocatorOperations.java,
6841         org/omg/PortableServer/ServantRetentionPolicyValue.java,
6842         org/omg/PortableServer/ThreadPolicyValue.java,
6843         org/omg/PortableServer/_ServantActivatorStub.java,
6844         org/omg/PortableServer/_ServantLocatorStub.java,
6845         org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6846
6847 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6848
6849         * javax/rmi/CORBA/Tie.java,
6850         org/omg/CORBA/AnyHolder.java,
6851         org/omg/CORBA/AnySeqHelper.java,
6852         org/omg/CORBA/AnySeqHolder.java,
6853         org/omg/CORBA/BooleanHolder.java,
6854         org/omg/CORBA/BooleanSeqHelper.java,
6855         org/omg/CORBA/BooleanSeqHolder.java,
6856         org/omg/CORBA/ByteHolder.java,
6857         org/omg/CORBA/CharHolder.java,
6858         org/omg/CORBA/CharSeqHelper.java,
6859         org/omg/CORBA/CharSeqHolder.java,
6860         org/omg/CORBA/Context.java,
6861         org/omg/CORBA/CurrentHelper.java,
6862         org/omg/CORBA/CustomValue.java,
6863         org/omg/CORBA/DataOutputStream.java,
6864         org/omg/CORBA/DefinitionKindHelper.java,
6865         org/omg/CORBA/DomainManagerOperations.java,
6866         org/omg/CORBA/DoubleHolder.java,
6867         org/omg/CORBA/DoubleSeqHelper.java,
6868         org/omg/CORBA/DoubleSeqHolder.java,
6869         org/omg/CORBA/DynAny.java,
6870         org/omg/CORBA/DynSequence.java,
6871         org/omg/CORBA/DynValue.java,
6872         org/omg/CORBA/DynamicImplementation.java,
6873         org/omg/CORBA/FieldNameHelper.java,
6874         org/omg/CORBA/FixedHolder.java,
6875         org/omg/CORBA/FloatHolder.java,
6876         org/omg/CORBA/FloatSeqHelper.java,
6877         org/omg/CORBA/FloatSeqHolder.java,
6878         org/omg/CORBA/IdentifierHelper.java,
6879         org/omg/CORBA/IntHolder.java,
6880         org/omg/CORBA/LocalObject.java,
6881         org/omg/CORBA/LongHolder.java,
6882         org/omg/CORBA/LongLongSeqHelper.java,
6883         org/omg/CORBA/LongLongSeqHolder.java,
6884         org/omg/CORBA/LongSeqHelper.java,
6885         org/omg/CORBA/LongSeqHolder.java,
6886         org/omg/CORBA/ORB.java,
6887         org/omg/CORBA/ObjectHelper.java,
6888         org/omg/CORBA/ObjectHolder.java,
6889         org/omg/CORBA/OctetSeqHelper.java,
6890         org/omg/CORBA/OctetSeqHolder.java,
6891         org/omg/CORBA/PolicyErrorCodeHelper.java,
6892         org/omg/CORBA/PolicyErrorHelper.java,
6893         org/omg/CORBA/PolicyHelper.java,
6894         org/omg/CORBA/PolicyListHelper.java,
6895         org/omg/CORBA/PolicyTypeHelper.java,
6896         org/omg/CORBA/PrincipalHolder.java,
6897         org/omg/CORBA/RepositoryIdHelper.java,
6898         org/omg/CORBA/Request.java,
6899         org/omg/CORBA/ShortHolder.java,
6900         org/omg/CORBA/ShortSeqHelper.java,
6901         org/omg/CORBA/ShortSeqHolder.java,
6902         org/omg/CORBA/StringSeqHelper.java,
6903         org/omg/CORBA/StringSeqHolder.java,
6904         org/omg/CORBA/ULongLongSeqHelper.java,
6905         org/omg/CORBA/ULongLongSeqHolder.java,
6906         org/omg/CORBA/ULongSeqHelper.java,
6907         org/omg/CORBA/ULongSeqHolder.java,
6908         org/omg/CORBA/UShortSeqHelper.java,
6909         org/omg/CORBA/UShortSeqHolder.java,
6910         org/omg/CORBA/ValueBaseHelper.java,
6911         org/omg/CORBA/ValueBaseHolder.java,
6912         org/omg/CORBA/VersionSpecHelper.java,
6913         org/omg/CORBA/WCharSeqHelper.java,
6914         org/omg/CORBA/WCharSeqHolder.java,
6915         org/omg/CORBA/WStringSeqHelper.java,
6916         org/omg/CORBA/WStringSeqHolder.java,
6917         org/omg/CORBA/WrongTransactionHelper.java,
6918         org/omg/CORBA/_IDLTypeStub.java,
6919         org/omg/CORBA/_PolicyStub.java,
6920         org/omg/CORBA/portable/BoxedValueHelper.java,
6921         org/omg/CORBA/portable/Delegate.java,
6922         org/omg/CORBA/portable/ObjectImpl.java,
6923         org/omg/CORBA/portable/ServantObject.java,
6924         org/omg/CORBA/portable/StreamableValue.java,
6925         org/omg/CosNaming/BindingType.java,
6926         org/omg/CosNaming/IstringHelper.java,
6927         org/omg/DynamicAny/FieldNameHelper.java,
6928         org/omg/PortableServer/Servant.java: Documentation fixes.
6929
6930 2006-09-04  David Gilbert  <david.gilbert@object-refinery.com>
6931
6932         * java/awt/Rectangle.java
6933         (setRect(double, double, double, double)): Modified rounding of input
6934         values.
6935
6936 2006-09-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6937
6938         * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6939         Disallow H1 - H6 in the paragraphs.
6940         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6941         (preprocess): Leave at most one leading and/or trailing space.
6942         * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6943         Do not add any text after closing the HTML tag.
6944
6945 2006-09-02  Roman Kennke  <kennke@aicas.com>
6946
6947         PR 28928
6948         * javax/swing/plaf/basic/BasicTextUI.java
6949         (RootView.getPreferredSpan): Default to 10 when there is no
6950         real view.
6951         (RootView.getMinimumSpan): Forward to view and default to 10
6952         when there is no real view.
6953         (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6954         (getMaximumSize): Check for overflow.
6955         * javax/swing/text/FieldView.java
6956         (getResizeWeight): Removed unneeded assignment.
6957
6958 2006-09-01  Francis Kung  <fkung@redhat.com>
6959         * java/awt/image/ColorConvertOp.java
6960         (copyImage): Updated javadoc and comments.
6961         (copyRaster): Add javadoc.
6962         (createCompatibleColorModel): Add javadocs and comments.
6963         (createCompatibleDestImage): Use correct transfer type.
6964         (createCompatibleDestRaster): Add new parameter for transfer type.
6965         (filter): Use correct transfer type.
6966         * java/awt/image/ConvolveOp.java: Updated javadocs.
6967         (createCompatibleDestImage): Set new image properties correctly.
6968         (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6969         (filter(WritableRaster, Raster): Clip sample values to [0-255].
6970
6971 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6972
6973         * javax/swing/table/DefaultTableModel.java:
6974         (checkSize): Added null check for dataVector.
6975
6976 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6977
6978         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6979         (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6980         (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6981
6982 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6983
6984         * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6985         (paintIcon): Removed unused import statements, lowered cast requirement
6986         from JCheckBox to AbstractButton.
6987
6988 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6989
6990         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6991         (initComponentDefaults): Added, changed and removed some
6992         tabbed pane properties.
6993
6994 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6995
6996         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6997         (createContent): Changed menu item name and tab naming.
6998
6999 2006-09-01  Roman Kennke  <kennke@aicas.com>
7000
7001         PR 28922
7002         * javax/swing/plaf/basic/BasicHTML.java
7003         (HTMLRootView.getAttributes): Overridden to return null.
7004         (HTMLRootView.getElement): Overridden to return the view's
7005         element.
7006
7007 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7008
7009         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7010         (calculateTabAreaHeight): Use getTabRunOverlay method instead
7011         of accessing variable directly.
7012         (calculateTabAreaWidth): Dito.
7013
7014 2006-08-31  Keith Seitz  <keiths@redhat.com>
7015
7016         * include/jvmti.h: Include jvmti_md.h.
7017
7018 2006-08-31  Keith Seitz  <keiths@redhat.com>
7019
7020         From Martin Platter  <motse@complang.tuwien.ac.at>:
7021         * Makefile.am (include_HEADERS): Include jvmti.h.
7022         * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
7023         (jvmtiError): Remove superfluous comma after last entry.
7024         (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
7025         (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
7026         (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
7027         (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
7028         character pointer.
7029         (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
7030         (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
7031         (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
7032         character pointer.
7033
7034 2006-08-31  Roman Kennke  <kennke@aicas.com>
7035
7036         * javax/swing/text/BoxView.java
7037         (getWidth): Return the width with insets added, not with one
7038         added and one removed.
7039         (getHeight): Return the height with insets added, not with one
7040         added and one removed.
7041         * javax/swing/text/GlyphView.java
7042         (DefaultGlyphPainter.viewToModel): Need to add the start offset.
7043         * javax/swing/text/ParagraphView.java
7044         (Row.getAlignment): Adjust alignment with respect to
7045         the justification attribute.
7046         (Row.getLeftInset): Overridden to adjust for firstLineIndent
7047         attribute.
7048         * javax/swing/text/html/CSS.java
7049         (getValue): Convert length values.
7050         * javax/swing/text/html/Paragraph.java
7051         (painter): New field.
7052         (paint): Implemented to delegate painting to the BoxPainter too.
7053         (setPropertiesFromAttributes): Implemented to load attributes
7054         from CSS.
7055         * javax/swing/text/html/StyleSheet.java
7056         (BoxPainter.as): Removed field.
7057         (BoxPainter.leftInset): New field.
7058         (BoxPainter.bottomInset): New field.
7059         (BoxPainter.rightInset): New field.
7060         (BoxPainter.topInset): New field.
7061         (BoxPainter.BoxPainter): Implemented to load the insets from
7062         CSS.
7063         (BoxPainter.getInset): Implemented.
7064         * gnu/javax/swing/text/html/Length.java: New class.
7065         Converts CSS length units to usable values.
7066
7067 2006-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
7068
7069         * configure.ac: Add check for gethostbyname_r.
7070         Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
7071         * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
7072         SOCKET_NOSIGNAL according to the configure check.
7073         (cpnet_send): Use SOCKET_NOSIGNAL.
7074         (cpnet_sendTo): Likewise.
7075         (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
7076         defined.
7077         * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
7078         are not available.
7079
7080         * lib/Makefile.am (cssfiles): Add new rule to install css files.
7081
7082 2006-08-31  Roman Kennke  <kennke@aicas.com>
7083
7084         * javax/swing/JEditorPane.java
7085         (getPreferredSize): Replace preferred size with minimum
7086         UI size only if the scrollable does _not_ track the viewport
7087         size and only if the viewport's size is smaller than the
7088         scrollable's size.
7089         (getScrollableTracksViewportWidth): Avoid unnecessary multiple
7090         method calls.
7091         * javax/swing/plaf/basic/BasicTextUI.java
7092         (getPreferredSize): Read-lock the document to avoid
7093         concurrency problems.
7094         (getMaximumSize): Return maximum size of the view.
7095         Read-lock the document to avoid concurrency problems.
7096         (getMinimumSize): Return minimum size of the view.
7097         Read-lock the document to avoid concurrency problems.
7098
7099 2006-08-31  Gary Benson  <gbenson@redhat.com>
7100
7101         * java/net/SocketPermission.java
7102         (maybeBracketIPv6Address): Renamed to processHostport.
7103         (processHostport): Also translate "" to "localhost".
7104         (setHostPort): Remove special cases for empty hostport and for
7105         extra colons in hostport (processHostport handles these now).
7106
7107 2006-08-31  Mark Wielaard  <mark@klomp.org>
7108
7109         * javax/swing/text/ZoneView.java (Zone): Make static class.
7110         Constructor takes axis parameter.
7111         (createZone): Create Zone with getAxis() as major axis.
7112
7113 2006-08-30  Roman Kennke  <kennke@aicas.com>
7114
7115         * javax/swing/text/ZoneView.java
7116         (loadChildren): Implemented.
7117         (getViewIndexAtPosition): Implemented.
7118         (checkZoneAt): New helper method.
7119         (splitZone): New helper method.
7120         (getPreferredZoneEnd): New helper method.
7121
7122 2006-08-30  Roman Kennke  <kennke@aicas.com>
7123
7124         * javax/swing/text/ZoneView.java: New class.
7125
7126 2006-08-30  Roman Kennke  <kennke@aicas.com>
7127
7128         * javax/swing/JMenu.java
7129         (getMenu): Removed unneeded cast.
7130         (getPopupMenuOrigin): Made positioning algorithm better respect
7131         the screen bounds.
7132         (setMenuLocation): Also set the location on the popup if it's
7133         not null.
7134         (setModel): Use menuChangeListener so that we don't override
7135         the changeListener field from AbstractButton.
7136         (setPopupMenuVisible): Use custom location if set, otherwise
7137         fallback to getPopupMenuOrigin().
7138
7139 2006-08-29  Roman Kennke  <kennke@aicas.com>
7140
7141         * javax/swing/text/InternationalFormatter.java
7142         (stringToValue): Fixed bounds check.
7143         * javax/swing/text/MaskFormatter.java
7144         (MaskFormatter): Don't explicitly set allosInvalid property.
7145         (convertStringToValue): New helper method.
7146         (convertValueToString): New helper method.
7147         (convertValue): Removed. Replaced by the 2 convert* methods
7148         above.
7149         (getPadCharAt): Removed.
7150         (isCharValid): Removed.
7151         (pad): Removed.
7152         (stringToValue): Fixed stringToValue conversion.
7153         (stripLiterals): Removed.
7154         (valueToString): Fixed valueToString conversion.
7155         * javax/swing/text/DefaultFormatter.java
7156         (DefaultFormatter): Default to commitsOnValidEdit = false.
7157
7158 2006-08-29  Roman Kennke  <kennke@aicas.com>
7159
7160         * javax/swing/text/TextAction.java
7161         (getTextComponent): Check event for null and return null in
7162         this case.
7163         (augmentList): Augment Actions based on their names.
7164         * javax/swing/text/DefaultEditorKit.java
7165         (BeginAction.actionPerformed): Check target for null.
7166         (BeginLineAction.actionPerformed): Check target for null.
7167         (CopyAction.actionPerformed): Check target for null.
7168         (CutAction.actionPerformed): Check target for null.
7169         (EndAction.actionPerformed): Check target for null.
7170         (EndLineAction.actionPerformed): Check target for null.
7171         (InsertBreakAction.actionPerformed): Check target for null.
7172         (InsertTabAction.actionPerformed): Check target for null.
7173         (PasteAction.actionPerformed): Check target for null.
7174         (SelectAllAction.actionPerformed): Check target for null.
7175         (SelectionBeginAction.actionPerformed): Check target for null.
7176         (SelectionBeginLineAction.actionPerformed): Check target for null.
7177         (SelectionEndAction.actionPerformed): Check target for null.
7178         (SelectionEndLineAction.actionPerformed): Check target for null.
7179         (SelectLineAction.actionPerformed): Check target for null.
7180         (SelectWordAction.actionPerformed): Check target for null.
7181
7182 2006-08-29  Roman Kennke  <kennke@aicas.com>
7183
7184         * javax/swing/plaf/basic/BasicTextUI.java
7185         (FocusHandler): New class. This is moved from the anonymous
7186         inner focus listener class to a static member class, and
7187         is now shared between components.
7188         (DocumentHandler): This class is combined with the PropertyHandler
7189         into the Handler class.
7190         (PropertyChangeHandler): This class is combined with the
7191         DocumentHandler into the Handler class.
7192         (Handler): New class. This combines the Property and Document
7193         handler into one class.
7194         (RootView.changedUpdate): Only forward if real view != null.
7195         (RootView.insertUpdate): Only forward if real view != null.
7196         (RootView.removeUpdate): Only forward if real view != null.
7197         (documentHandler): Removed field and replaced by handler.
7198         (focuslistener): Made field static and renamed to focusListener.
7199         (handler): New field.
7200         (kit): Lazily initialize field.
7201         (rootView): Lazily initialize field.
7202         (updateHandler): Removed and replaced by handler.
7203         (getEditorKit): Lazily instantiate field.
7204         (installDefaults): Don't set margin twice. Install correct
7205         property for disabledTextColor. Moved caret and highlighter
7206         initialization to installFixedDefaults.
7207         (installFixedDefaults): New method. Installs defaults that
7208         can't be overridden by subclasses.
7209         (installListeners): Only install focus handler when new
7210         system property gnu.swing.text.no-xlike-clipboard is not set.
7211         Lazily initialize focus handler.
7212         (installUI): Lazily initialize rootView. Install handler
7213         both for property and document changes.
7214         (uninstallDefaults): Uninstall the UI defaults.
7215         (uninstallFixedDefaults): New method. Uninstalls the fixed
7216         defaults.
7217         (installListeners): Only uninstall focus handler when not null.
7218         (uninstallUI): Uninstall property and document listener here.
7219
7220 2006-08-29  Gary Benson  <gbenson@redhat.com>
7221
7222         * java/net/SocketPermission.java
7223         (maybeBracketIPv6Address): New method.
7224         (<init>): Pass the hostport argument through the above.
7225
7226         * java/net/NetworkInterface.java (getInetAddresses):
7227         Don't bracket IPv6 addresses.
7228
7229 2006-08-28  Roman Kennke  <kennke@aicas.com>
7230
7231         * javax/swing/text/BoxView.java
7232         (calculateMinorAxisRequirements): Initialize max size
7233         with Integer.MAX_VALUE.
7234         * javax/swing/text/Utilities.java
7235         (getBreakLocation): For simple chars, scan the text directly.
7236         * javax/swing/text/WrappedPlainView.java
7237         (tabBase): New field.
7238         (tabSize): New field.
7239         (calculateBreakPosition): Use Utilities. Fixed for correct
7240         break calculation.
7241         (changedUpdate): Update children directly.
7242         (insertUpdate): Update children directly. Notify children.
7243         (removeUpdate): Update children directly. Notify children.
7244         (updateChildren): New helper method.
7245         (nextTabStop): Fixed to return correct results.
7246         (paint): Update tabBase.
7247         (updateMetrics): Update tab size.
7248
7249 2006-08-28  Roman Kennke  <kennke@aicas.com>
7250
7251         * javax/swing/text/Position.java
7252         (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
7253         (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
7254
7255 2006-08-28  Roman Kennke  <kennke@aicas.com>
7256
7257         * javax/swing/text/View.java
7258         (height): Removed unneeded field.
7259         (width): Removed unneeded field.
7260         (getBreakWeight): Return GoodBreakWeight when pos is after
7261         the view's span.
7262         (getToolTipText): Check view index more carefully. Avoid
7263         Rectangle creation.
7264         (insertUpdate): Only execute method body if view count > 0.
7265         When updateChildren returns false, clear the ec variable.
7266         (updateChildren): Added null checks.
7267         (viewToModel): Initialize bias array correctly.
7268         * javax/swing/text/CompositeView.java
7269         (children): Made private.
7270         (numChildren): New field.
7271         (loadChildren): Check factory for null. Don't load children
7272         when factory is null.
7273         (replace): Removed null check. Nullify removed children. Made
7274         growing the array more efficient.
7275         (getViewCount): Return numChildren rather then the real array
7276         size.
7277         * javax/swing/text/BoxView.java
7278         (getViewAtPoint): Fixed algorithm for finding the view.
7279         (replace): Made array growing more efficient.
7280         (replaceLayoutArray): New helper method for growing/patching
7281         the layout arrays.
7282         (viewToModel): Make sure we have a valid layout.
7283
7284 2006-08-28  Tania Bento  <tbento@redhat.com>
7285
7286         * java/awt/MenuShortcut.java
7287         (MenuShortcut (int, boolean)): Set keyName.
7288         (toString): Modified string output.
7289         (setKeyName): New private method.
7290
7291 2006-08-28  Roman Kennke  <kennke@aicas.com>
7292
7293         * javax/swing/text/GapContent.java
7294         (Mark.getOffset): Made assert less strict, include boundary.
7295         (search): Made package private to avoid accessor method.
7296
7297 2006-08-28  Roman Kennke  <kennke@aicas.com>
7298
7299         * javax/swing/text/StringContent.java
7300         (InsertUndo.positions): New field.
7301         (InsertUndo.redo): Update the undo positions.
7302         (InsertUndo.undo): Fetch the undo positions.
7303         (Mark): New class. Layer of indirection to allow Positions
7304         to be GC'ed while we still hold references to the Mark.
7305         (RemoveUndo.len): New field.
7306         (RemoveUndo.positions): New field.
7307         (RemoveUndo.RemoveUndo): Fetch undo positions.
7308         (RemoveUndo.redo): Re-fetch positions and string.
7309         (RemoveUndo.undo): Update undo positions.
7310         (StickyPosition.mark): New field.
7311         (StickyPosition.offset): Removed field.
7312         (StickyPosition.StickyPosition): Create new Mark. Register
7313         Position in queueOfDeath. Update reference count on mark.
7314         (StickyPosition.getOffset): Return offset stored in mark.
7315         (StickyPosition.setOffset): Removed unneeded method.
7316         (UndoPosRef): New class. Handles undo/redo on positions/marks.
7317         (EMPTY): New field.
7318         (marks): New field. Stores the marks.
7319         (positions): Removed field.
7320         (queueOfDeath): New field. Used for GCing the positions.
7321         (StringContent): Initialize queueOfDeath.
7322         (createPosition): Lazily create marks vector.
7323         (garbageCollect): New helper method. Collects positions
7324         to be GCed and updates their marks.
7325         (getChars): Fixed bounds check.
7326         (getPositionsInRange): When v == null, create new Vector,
7327         otherwise use v. Store UndoPosRefs in vector.
7328         (getString): Added comment about bug in RI.
7329         (insertString): Use new helper method for replacing the array.
7330         Correctly update positions.
7331         (length): Removed this qualifier.
7332         (remove): Use new helper method for replacing the array.
7333         Correctly update positions.
7334         (replace): New helper method for growing or patching the array.
7335         (updateUndoPositions): Implemented. Updates the positions
7336         for undo/redo operations.
7337
7338 2006-08-27  Roman Kennke  <kennke@aicas.com>
7339
7340         * javax/swing/text/StyleContext.java
7341         (NamedStyle.attributes): Made field transient.
7342         (NamedStyle.changeEvent): Made field transient.
7343         (NamedStyle.name): Removed field. The name is stored as
7344         attribute.
7345         (NamedStyle.NamedStyle(String,Style)): Call setName() for
7346         storing the name and check for null name and resolveParent.
7347         Don't initialize changeEvent.
7348         (NamedStyle.copyAttributes): Return a new NamedStyle,
7349         rather than a plain copy of the attributes field.
7350         (NamedStyle.fireStateChange): Lazily create changeEvent
7351         field.
7352         (NamedStyle.getName): Fetch name from attributes.
7353         (NamedStyle.setName): Store name from attributes.
7354         (NamedStyle.readObject): Implemented for correct
7355         deserialization.
7356         (NamedStyle.writeObject): Implemented for correct
7357         serialization.
7358         (NamedStyle.setResolveParent): When new parent is null,
7359         remove resolveParent attribute. Use addAttribute() method
7360         rather than StyleContext addAttribute().
7361         (NamedStyle.toString): Fixed to produce output equal to the
7362         RI.
7363         (SmallAttributeSet.resolveParent): New field.
7364         (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
7365         the resolveParent field correctly.
7366         (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
7367         array but store it directly. Update
7368         the resolveParent field correctly.
7369         (SmallAttributeSet.clone): Return this as the object is
7370         immutable.
7371         (SmallAttributeSet.containsAttributes): Make sure that keys
7372         and values are the same.
7373         (SmallAttributeSet.containsAttribute):  Make sure that keys
7374         and values are the same.
7375         (SmallAttributeSet.copyAttributes): Return this as the object is
7376         immutable.
7377         (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
7378         are equal if they have the same number of attributes and
7379         one contains the other.
7380         (SmallAttributeSet.getAttribute): Improved lookup of
7381         resolveParent.
7382         (SmallAttributeSet.getResolveParent): Improved lookup of
7383         resolveParent.
7384         (SmallAttributeSet.isEqual): When comparing object is a
7385         SmallAttributeSet, consider them equal only if they are the
7386         same object.
7387         (SmallAttributeSet.toString): Fixed to produce output equal to the
7388         RI.
7389         (attributeSetPool): New field.
7390         (defaultStyleContext): Initialize lazily.
7391         (defaultStyle): Removed field. This is stored in the style context
7392         as attribute.
7393         (listenerList): Removed field. The NamedStyle stores the
7394         listeners.
7395         (readAttributeKeys): New static field. Used for looking up
7396         the serialization mappings when reading.
7397         (search): New field. Used as search key.
7398         (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7399         (styles): New field. Stores the styles and listeners.
7400         (styleTable): Removed field. Replaced by styles field.
7401         (writeAttributeKeys): New static field. Used for looking up
7402         the serialization mappings when writing.
7403         (static_initializer): Register mappings for all keys in
7404         StyleConstants.
7405         (StyleContext): Initialize styles correctly.
7406         (addAttributes): Fixed caching of immutable attributes.
7407         (addAttribute): Fixed caching of immutable attributes.
7408         (removeAttributes): Fixed caching of immutable attributes.
7409         (removeAttribute): Fixed caching of immutable attributes.
7410         (addChangeListener): Add listener to styles field.
7411         (removeChangeListener): Remove listener from styles field.
7412         (getChangeListeners): Fetch listeners from styles field.
7413         (addStyle): Add style to styles field.
7414         (cleanupPool): New method.
7415         (getDefaultStyleContext): Lazily create context.
7416         (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7417         (getMutableAttributeSet): New helper method. Used for
7418         caching.
7419         (getStaticAttribute): Fetch key from readAttributeKeys.
7420         (getStyleNames): Return names from styles field.
7421         (getStyle): Lookup style in styles field.
7422         (removeStyle): Remove style from styles field.
7423         (readAttributeSet): Fixed deserialization.
7424         (writeAttributeSet): Fixed serialization.
7425         (readObject): Fixed deserialization.
7426         (writeObject): Fixed serialization.
7427         (reclaim): Simply cleanup the pool.
7428         (registerStaticAttributeKey): Store mapping in both ways.
7429         (searchImmutableSet): New helper method for caching.
7430         (toString): Fixed for output like the RI.
7431         * javax/swing/text/StyleConstants.java
7432         (keys): New field. Stores all known keys.
7433         (StyleConstants): Store created key in keys list.
7434         * javax/swing/event/EventListenerList.java
7435         (readObject): Fixed deserialization.
7436         (writeObject): Fixed serialization.
7437
7438 2006-08-25  Roman Kennke  <kennke@aicas.com>
7439
7440         * javax/swing/text/CompositeView.java
7441         (insets): Removed. Replaced by single short fields.
7442         (top): New field. Replaces insets.
7443         (bottom): New field. Replaces insets.
7444         (left): New field. Replaces insets.
7445         (right): New field. Replaces insets.
7446         (CompositeView): Initialize insets fields.
7447         (createDefaultLocation): Removed unneeded method.
7448         (getBottomInset): Return field directly.
7449         (getTopInset): Return field directly.
7450         (getLeftInset): Return field directly.
7451         (getRightInset): Return field directly.
7452         (getInsideAllocation): Adjusted to work on new insets fields.
7453         (getViewIndex): Fixed check.
7454         (loadChildren): Don't replace the old children.
7455         (replace): Make sure that there is an array to operate on.
7456         Only set parent to null, when it is this View.
7457         (setInsets): Adjusted to work with new insets fields.
7458         (setParagraphInsets): Fixed to pull insets directly from
7459         StyleConstants.
7460
7461 2006-08-25  Roman Kennke  <kennke@aicas.com>
7462
7463         * javax/swing/text/ComponentView.java
7464         (Interceptor): New inner helper class. Used to propagate
7465         invalidate requests and cache component layout sizes.
7466         (interceptor): New field.
7467         (getAlignment): Fetch alignment from interceptor container.
7468         (getComponent): Don't create component here. This is done
7469         in setParent().
7470         (getMaximumSpan): Fetch layout info from interceptor. Check
7471         for illegal axis.
7472         (getMinimumSpan): Fetch layout info from interceptor. Check
7473         for illegal axis.
7474         (getPreferredSpan): Fetch layout info from interceptor. Check
7475         for illegal axis.
7476         (modelToView): Fixed model to view mapping.
7477         (viewToModel): Fixed view to model mapping.
7478         (paint): Check for null. Set bounds on interceptor rather
7479         then component.
7480         (setParentImpl): Install interceptor between component
7481         and hosting container.
7482         (setParent): Call super.setParent() immediately.
7483
7484 2006-08-25  Roman Kennke  <kennke@aicas.com>
7485
7486         * javax/swing/text/LabelView.java
7487         (setPropertiesFromAttributes): Only set background when
7488         the corresponding attribute is actually defined, otherwise
7489         set to null, as the StyleConstants would return black.
7490         * javax/swing/text/DefaultStyledDocument.java
7491         (ElementBuffer.documentEvent): Removed obsolete field.
7492         (ElementBuffer.change): Do prepareEdits() and finishEdits()
7493         to correctly update the element structure.
7494         (ElementBuffer.insertContentTag): Removed unused statement.
7495         (ElementBuffer.recreateAfterFracture): Removed
7496         unused obsolete method.
7497         (setCharacterAttributes): Removed unused statement.
7498
7499 2006-08-25  Roman Kennke  <kennke@aicas.com>
7500
7501         * examples/gnu/classpath/examples/swing/Demo.java
7502         (LaterMain.run): Removed unused local variable.
7503         (Demo): Don't put desktop in scrollpane.
7504         (addChildren): Removed unused method.
7505         (mkButtonBar): Added HTML demo.
7506         (mkMenuBar): Added HTML demo.
7507         (mkPanel): Removed unused method.
7508         (mkScrollPane): Removed unused method.
7509         (mkTree): Removed unused method.
7510         (valign2str): Removed unused method.
7511         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7512         Initialize text field with some HTML that already works.
7513         (DEBUG): New field. Set to true for debugging output.
7514         (createContent): Dump element tree after parsing.
7515
7516 2006-08-25  Roman Kennke  <kennke@aicas.com>
7517
7518         * javax/swing/text/html/CSS.java
7519         (getValue): Added color value conversion.
7520         * javax/swing/text/html/HTMLDocument.java
7521         (HTMLReader.ConvertAction): New class, converts HTML style tags
7522         to CSS attributes.
7523         (HTMLReader.initTags): Register ConvertAction for <font> tag.
7524         * javax/swing/text/html/InlineView.java
7525         (setPropertiesFromAttributes): Implemented to fetch
7526         CSS character attributes.
7527         * javax/swing/text/html/StyleSheet.java
7528         (addCSSAttribute): Convert value.
7529         (getBackground): Implemented to fetch CSS background color
7530         attribute.
7531         (getForeground): Implemented to fetch CSS color
7532         attribute.
7533         (getFont): Adjust font size for superscript and subscript.
7534         (translateHTMLToCSS): Rudimentary implementation that
7535         copies the original attributes, so that any CSS attributes in
7536         there are preserved.
7537         (stringToColor): Use CSSColor for conversion.
7538         * gnu/javax/swing/text/html/css/CSSColor.java:
7539         New class. Converts CSS color values to RGB color values.
7540         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7541         Removed. This is more or less replaced by CSSColor and the
7542         ConvertAction in HTMLReader.
7543
7544 2006-08-25  Roman Kennke  <kennke@aicas.com>
7545
7546         * javax/swing/text/BoxView.java
7547         (childReqs): Removed obsolete field.
7548         (baselineLayout): Reimplemented for correct baseline layout.
7549         (baselineRequirements): Reimplemented for correct baseline
7550         layout.
7551         (updateChildRequirements): Removed obsolete method.
7552         * javax/swing/text/GlyphView.java
7553         (DefaultGlyphPainter.getSpan): Removed unused statement.
7554         (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7555         specially. The subscript/superscript layout is performed
7556         via the alignment, the font is supplied by the StyleContext.
7557         (breakView): Removed unused statements.
7558         (getAlignment): Adjust alignment according to the
7559         superscript/subscript setting.
7560         (getFont): Reimplemented to fetch the font from the style
7561         context, or from the document if the stylecontext is not
7562         available.
7563         (getPreferredSpan): Adjust span for superscript. Use switch
7564         instead of if-else.
7565         * javax/swing/text/LabelView.java
7566         (setPropertiesFromAttributes): Fetch background and foreground
7567         from document / style context.
7568         (isSubscript): Resync properties if needed.
7569         * javax/swing/text/ParagraphView.java
7570         (Row.calculateMinorAxisRequirements): Overridden to perform
7571         a baseline layout.
7572         (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7573
7574 2006-08-24  Roman Kennke  <kennke@aicas.com>
7575
7576         * javax/swing/text/Utilities.java
7577         (BUF_LENGTH): Removed unused field.
7578         (drawTabbedText): Removed unneeded cast.
7579         (getBreakLocation): Removed unneeded cast.
7580         Fixed offset to account for Segments not starting at 0.
7581
7582 2006-08-24  Roman Kennke  <kennke@aicas.com>
7583
7584         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7585         (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7586         (TabbedPaneScrollLayout.layoutContainer): Likewise.
7587         (ScrollingPane.updateUI): Likewise.
7588         (calculateTabWidth): Rewritten to correctly and efficiently
7589         layout the tab width.
7590         (layoutLabel): Call SwingUtilities method with the tabPane
7591         as argument.
7592         (paintContentBorderLeftEdge): Removed unused statement.
7593         (paintContentBorderRightEdge): Removed unused statement.
7594         (paintContentBorder): Removed unused statement.
7595
7596 2006-08-24  Roman Kennke  <kennke@aicas.com>
7597
7598         * javax/swing/plaf/basic/BasicTextUI.java
7599         (RootView.getAttributes): Overridden to return null,
7600         as the RootView has no parent.
7601
7602 2006-08-24  Roman Kennke  <kennke@aicas.com>
7603
7604         * javax/swing/text/html/CSSParser.java: Removed.
7605         * javax/swing/text/html/CSS.java
7606         (getValue): New helper method. Returns special converter
7607         instances for certain kinds of property values.
7608         * javax/swing/text/html/HTMLDocument.java
7609         (HTMLReader.CharacterAction.start): Don't translate tags
7610         here. Instead, store the attributes directly with the tag
7611         as key.
7612         (content): Removed field. The Content object is handled
7613         by AbstractDocument.
7614         (styleSheet): Removed field. The styleSheet is the styleContext
7615         of this document and handled by the DefaultStyledDocument already.
7616         (HTMLDocument(Content,StyleSheet): Simply call super here.
7617         The super classes already handle the content and styleContext.
7618         (HTMLDocument()): Call this() with a default GapContent and
7619         StyleSheet.
7620         (getStyleSheet): Return the styleContext here.
7621         (insertUpdate): New method. Overridden to add the
7622         CONTENT dummy tag to the element's attributes.
7623         (setBase): Set the base on the styleContext.
7624         * javax/swing/text/html/HTMLEditorKit.java
7625         (styleContext): Removed unneeded field.
7626         (styleSheet): Made field private.
7627         (HTMLEditorKit): Do nothing here. The StyleSheet is
7628         created lazily in getStyleSheet(). A styleContext is not
7629         needed here.
7630         (getStyleSheet): Create StyleSheet correctly.
7631         (insertHTML): Removed unneeded cast.
7632         * javax/swing/text/html/InlineView.java
7633         (attributes): New field.
7634         (changedUpdate): Reload attributes. Trigger preferenceChanged.
7635         (getAttributes): Implemented to fetch the attributes from
7636         the stylesheet.
7637         * javax/swing/text/html/MultiAttributeSet.java: New class.
7638         Multiplexes between several AttributeSets.
7639         * javax/swing/text/html/MultiStyle.java: New class.
7640         Multiplexes between several Styles.
7641         * javax/swing/text/html/ParagraphView.java
7642         (attributes): New field.
7643         (getAttributes): Implemented to fetch the attributes from
7644         the stylesheet.
7645         * javax/swing/text/html/StyleSheet.java
7646         (CssParser): Removed inner class.
7647         (CSSStyle): New inner class. Represents a style defined
7648         by a CSS rule.
7649         (CSSStyleSheetParserCallback): New class, for parsing
7650         CSS stylesheets.
7651         (css): New field. Stores the CSS rules.
7652         (resolvedStyles): New field. Stores resolved styles.
7653         (StyleSheet): Initialize resolvedStyles map.
7654         (addRule): Removed bogus impl.
7655         (getFont): Implemented to fetch font, based on CSS rules.
7656         (getResolvedStyle): New helper method. Looks up resolved
7657         styles, and resolves a style if necessary.
7658         (resolveStyle): New pair of helper methods. Resolves
7659         CSS style rules.
7660         (getRule(String)): Provide rudimentary implementation.
7661         (getRule(Tag,Element)): Implemented.
7662         (getViewAttributes): Implemented.
7663         (loadRules): Implemented.
7664         (translateHTMLToCSS): Tagged as not implemented.
7665         * javax/swing/text/html/ViewAttributeSet.java: New class.
7666
7667 2006-08-24  Roman Kennke  <kennke@aicas.com>
7668
7669         * javax/swing/text/FlowView.java:
7670         (LogicalView.getAttributes): New method. Overrides super
7671         impl to return the attributes of the FlowView instance.
7672         * javax/swing/text/LabelView.java:
7673         (setPropertiesFromAttributes): Fetch attributes from
7674         View, rather then from the Element. (In the HTML
7675         package the getAttributes() method is overridden to
7676         return different attributes). Fetch font from the StyledDocument.
7677
7678 2006-08-24  Roman Kennke  <kennke@aicas.com>
7679
7680         * javax/swing/text/DefaultEditorKit.java:
7681         (DefaultKeyTypedAction.actionPerform): Also filter
7682         ALT and CTRL modifiers.
7683
7684 2006-08-24  Roman Kennke  <kennke@aicas.com>
7685
7686         * gnu/javax/swing/text/html/css/FontSize.java,
7687         * gnu/javax/swing/text/html/css/FontStyle.java,
7688         * gnu/javax/swing/text/html/css/FontWeight.java:
7689         New classes. Used to convert CSS font attributes to AWT/Swing
7690         Font constants.
7691
7692 2006-08-24  Francis Kung  <fkung@redhat.com>
7693         * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7694         * java/awt/image/ColorConvertOp.java: Updated javadocs.
7695         (srccs, dstcs, rasterValid): Variables removed.
7696         (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7697         (copyRaster): Check for null rendering hints
7698         (createCompatibleColorModel): New private method.
7699         (createCompatibleDestImage): Re-implemented.
7700         (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7701         (createCompatibleDestRaster(Raster)): Re-implemented.
7702         (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7703         (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7704         (getPoint2D): Clean up formatting.
7705         * java/awt/image/ComponentColorModel.java
7706         (constructor): use findBits method instead of passing null.
7707         (findBits): New method.
7708
7709 2006-08-24  Gary Benson  <gbenson@redhat.com>
7710
7711         * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7712         addresses.
7713
7714 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
7715
7716         * java/lang/ref/Reference.java
7717         (queue, nextOnQueue): Made volatile.
7718         (enqueue): Made thread safe.
7719         * java/lang/ref/ReferenceQueue.java
7720         (lock): New field.
7721         (poll): Removed synchronized.
7722         (enqueue): Changed to synchronize on lock object, to update Reference
7723         state and return success status.
7724         (dequeue, remove): Synchronize on lock object.
7725
7726 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
7727
7728         * java/security/SecureClassLoader.java
7729         (protectionDomainCache): Changed to HashMap.
7730         (SecureClassLoader): Removed redundant security check.
7731         (defineClass(String,byte[],int,int,CodeSource): Moved
7732         protection domain lookup/construction to new method.
7733         (defineClass(String,ByteBuffer,CodeSource): New method.
7734         (getProtectionDomain): New method.
7735
7736 2006-08-23  Roman Kennke  <kennke@aicas.com>
7737
7738         * javax/swing/JComponent.java
7739         (isRepainting): Made package private.
7740         (paintChild): New field.
7741         (findOpaqueParent): Removed method. This is now in
7742         paintImmediately().
7743         (findOverlapFreeParent): Removed method. This is now
7744         in paintImmediately2().
7745         (findPaintRoot): Removed method. This is now
7746         in paintImmediately2().
7747         (isCompletelyObscured): Changed to take rectangle as single
7748         ints as argument.
7749         (isPaintingDoubleBuffered): Removed method. This is now
7750         in paintImmediately2().
7751         (isPartiallyObscured): New helper method.
7752         (onTop): New helper method for optimization.
7753         (paintChildren): Paint only to specific child when
7754         requested like this from paintImmediately2().
7755         (paintDoubleBuffered): Changed to take rectangle as single int
7756         arguments.
7757         (paintImmediately2): Changed to take rectangle as single int
7758         arguments. Optimized determination of paint root.
7759         (paintImmediately(Rectangle)): Change to delegate to
7760         paintImmediately(int,int,int,int).
7761         (paintImmediately(int,int,int,int)): Look for opaque ancestor
7762         and start painting there.
7763         (paint): Call paintDoubleBuffered() with int arguments. Only
7764         paint component, when not completely occupied by opaque child.
7765         (processKeyBinding): Removed unnecessary cast.
7766         (isOccupiedByChild): New helper method.
7767         * javax/swing/RepaintManager.java
7768         (repaintUnderway): Removed obsolete field.
7769         (commitRequests): Removed obsolete field.
7770         (RepaintManager): Removed initialization of obsolete fields.
7771         (addDirtyRegion): Removed unused statement.
7772         (commitBuffer): Changed to take plain ints as argument.
7773         (compileRepaintRoots): Optimized to avoid use of Rectangle.
7774         Compute offsets in place, rather than using SwingUtilities.
7775         (paintDirtyRegions): Removed unused field.
7776         * javax/swing/JMenuItem.java
7777         (onTop): Return true when not descendant of JInternalFrame.
7778         * javax/swing/JPopupMenu.java
7779         (onTop): Return true.
7780         * javax/swing/JToolTip.java
7781         (onTop): Return true.
7782         * javax/swing/JViewport.java
7783         (paintImmediately2): Change signature to match the
7784         corresponding JComponent method.
7785
7786 2006-08-23  Tania Bento  <tbento@redhat.com>
7787
7788         * java/awt/Color.java
7789         (brighter): Modified algorithm to correctly determine the
7790         new brighter colour.
7791
7792 2006-08-23  Roman Kennke  <kennke@aicas.com>
7793
7794         * java/awt/Container.java
7795         (maxSize): Removed field. This is already declared in Component.
7796         (validateTree): Check for ContainerPeer. Don't addNotify here.
7797         Only validate Component instances if they are invalid.
7798
7799 2006-08-22  Roman Kennke  <kennke@aicas.com>
7800
7801         * javax/swing/JComponent.java
7802         (preferredSize): Removed field.
7803         (maximumSize): Removed field.
7804         (minimumSize): Removed field.
7805         (getMaximumSize): Adjusted to delegate to Component, rather
7806         then managing the size in JComponent.
7807         (getMinimumSize): Adjusted to delegate to Component, rather
7808         then managing the size in JComponent.
7809         (getPreferredSize): Adjusted to delegate to Component, rather
7810         then managing the size in JComponent.
7811         (isMaximumSizeSet): Removed.
7812         (isMinimumSizeSet): Removed.
7813         (isPreferredSizeSet): Removed.
7814         (setMaximumSize): Removed.
7815         (setMinimumSize): Removed
7816         (setPreferredSize): Removed.
7817
7818 2006-08-22  Roman Kennke  <kennke@aicas.com>
7819
7820         * javax/swing/AbstractButton.java
7821         (ButtonChangeListener.stateChanged): Delegate to combined
7822         handler.
7823         (EventHandler): New inner class. Handles all three types
7824         of events on the model.
7825         (eventHandler): New field. Stores the combined event
7826         handler.
7827         (AbstractButton): Moved listener initialization to
7828         setModel().
7829         (createActionListener): Return combined handler.
7830         (createChangeListener): Return combined handler.
7831         (createItemListener): Return combined handler.
7832         (getEventHandler): New helper method for creating the combined
7833         handler.
7834         (setModel): Initialize listeners here.
7835         * javax/swing/plaf/basic/BasicButtonListener.java
7836         (ButtonAction): New class. Implements the keyboard action
7837         for buttons.
7838         (checkOpacity): Implemented.
7839         (createDefaultActionMap): New helper method.
7840         (installKeyboardActions): Rewritten to install InputMap
7841         and ActionMap according to 'new' keyboard input method.
7842         (mouseClicked): Commented as no-op.
7843         (mouseDragged): Commented as no-op.
7844         (mouseMoved): Commented as no-op.
7845         (propertyChange): Check for contentAreaFilled change and
7846         update opacity. Pull handling of HTLM in font and text handler.
7847         (stateChanged): Repaint button.
7848         (uninstallKeyboardActions): Properly uninstall keyboard actions.
7849         * javax/swing/plaf/basic/BasicButtonUI.java
7850         (listener): Removed.
7851         (sharedListener): New static field. Stores the shared listener.
7852         (sharedUI): New static field. Stores the shared UI.
7853         (createButtonListener): Return shared instance here.
7854         (createUI): Return shared instance here.
7855         (getButtonListener): New helper method. Looks for the
7856         BasicButtonListener installed on a button and returns it.
7857         (installDefaults): Correctly install rollover property here.
7858         Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7859         (installKeyboardActions): Fetch listener with new helper method.
7860         (installListeners): Don't use removed field. Check for null.
7861         (installUI): Added comment about order of method invocations.
7862         (uninstallDefaults): Don't uninstall non-uninstallable properties.
7863         (uninstallKeyboardActions): Fetch listener with new helper method.
7864         (uninstallListeners): Fetch listener with new helper method.
7865         (paintIcon): Paint icon offset when pressed and armed.
7866         * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7867         * javax/swing/plaf/metal/MetalButtonUI.java
7868         (sharedUI): New field. Stores the shared UI.
7869         (MetalButtonUI): Don't initialize fields here.
7870         (createButtonListener): Removed method. Use super impl.
7871         (createUI): Return shared instance.
7872         (getDisabledTextColor): Update field here.
7873         (getFocusColor): Update field here.
7874         (getSelectColor): Update field here.
7875         (installDefaults): Don't handle rollover property here.
7876         (uninstallDefaults): Don't handle rollover property here.
7877         (paintButtonPressed): Use accessor method to update the
7878         field value.
7879
7880 2006-08-21  Mark Wielaard  <mark@klomp.org>
7881
7882         Merge NATIVE_LAYER branch.
7883
7884         2006-08-20  Mark Wielaard  <mark@klomp.org>
7885
7886         * doc/tools.texinfo: Add file from trunk.
7887         * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7888         * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7889         headers.
7890         * native/jni/java-lang/java_lang_VMProcess.c
7891         (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7892         * native/jni/java-net/java_net_VMInetAddress.c
7893         (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7894         * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7895         files.
7896         * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7897         mask.
7898         * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7899         theaddr.
7900         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7901         cpnet.h.
7902         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7903         don't implement.
7904         * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7905         argument.
7906         * include/java_lang_VMProcess.h: Regenerated.
7907
7908         2006-07-09  Guilhem Lavaux  <guilhem@kaffe.org>
7909
7910         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7911         (nativeReceive): Fixed the type of the arrays (use java types).
7912         (nativeSendTo): Force throwing an exception if port is 0.
7913
7914         * native/jni/java-net/javanet.c:
7915         (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7916         returned.
7917         (_javanet_recvfrom): Likewise.
7918         (_javanet_sendto): Throw a NullPointerException if the socket is
7919         not connected and no address is given.
7920         
7921         * native/jni/java-net/javanet.h
7922         (NULL_EXCEPTION): Defined.
7923
7924         2006-06-16  Guilhem Lavaux  <guilhem@kaffe.org>
7925
7926         * native/jni/java-net/java_net_VMInetAddress.c
7927         (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7928         error.
7929
7930         * native/jni/java-net/javanet.c
7931         (_javanet_accept): Fixed bogus call to TARGET.
7932         (_javanet_create_inetaddress): Fixed address generation. Fixed
7933         bogus memory free.
7934         (_javanet_bind): set "Reuse address" flag.
7935
7936         * native/jni/native-lib/cpio.c
7937         (cpio_getModificationTime): Fixed type.
7938         (cpio_removeFile): Use rmdir too.
7939
7940         * native/jni/native-lib/cpnet.c
7941         (cpnet_getHostByName): Fixed error detection.
7942
7943         * native/jni/native-lib/cpnet.h
7944         (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7945         memory.
7946         (cpnet_IPV4AddressToBytes): Fixed types.
7947         
7948         2006-06-10  Guilhem Lavaux  <guilhem@kaffe.org>
7949
7950         * native/jni/native-lib/cpio.c
7951         (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7952
7953         * native/jni/native-lib/cpnet.h:
7954         (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7955         messed by signs in jbyte.
7956         
7957         * native/jni/native-lib/cpproc.h
7958         (CPIO_EXEC_NUM_PIPES): Compilation fix.
7959
7960         2006-05-09  Guilhem Lavaux  <guilhem@kaffe.org>
7961
7962         * native/jni/native-lib/cpnet.c
7963         (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7964         (waitForWritable, waitForReadable): New functions.
7965         (socketTimeouts): New static global table to hold timeouts for all
7966         socket fds.
7967         (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7968         Added waitForXXXX safeguards to handle socket timeouts.
7969
7970         * native/jni/java-net/javanet.c
7971         (_javanet_accept): Check for the right error value when a timeout
7972         occurs.
7973         
7974         2006-03-25  Guilhem Lavaux  <guilhem@kaffe.org>
7975
7976         * native/jni/java-io/Makefile.am,
7977         native/jni/java-lang/Makefile.am,
7978         native/jni/java-net/Makefile.am,
7979         native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7980
7981         * native/jni/native-lib/Makefile.am: Added cpproc.c
7982
7983         * native/jni/native-lib/cpio.c: Implemented missing functions for
7984         CPIO.
7985
7986         * native/jni/native-lib/cpnet.c
7987         (cpnet_getHostByName): Fixed address array initialization.
7988         
7989         * native/jni/native-lib/cpproc.c: Implemented.
7990         
7991         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
7992
7993         * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7994
7995         * m4/gcc_attribute.m4: New file from ac_archive.
7996         
7997         * native/jni/java-net/javanet.c: Adapted to cpnet API
7998         modification.
7999
8000         * native/jni/native-lib/cpnet.c: Implemented.
8001
8002         * native/jni/native-lib/cpnet.h
8003         (cpnet_openSocketDatagram,
8004         cpnet_openSocketStream): These calls need an address family now.
8005         (cpnet_IPV4AddressToBytes,
8006         cpnet_bytesToIPV4Address): Convert the address to network order.
8007         
8008         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
8009
8010         * native/jni/java-io/java_io_VMFile.c,
8011         native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
8012         native/jni/midi-dssi/dssi_data.h,
8013         native/jni/native-lib/cpio.c,
8014         native/jni/native-lib/cpmath.h: Removed cpmath
8015         dependency. Fixed coding style.
8016
8017         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
8018
8019         * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
8020         dependency. Simplified the JNI code by moving some part into the
8021         native layer.
8022
8023         * native/jni/native-lib/cpproc.h: New interface to handle processes.
8024
8025         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
8026
8027         * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
8028         errors. Removed any remaining TARGET invocations.
8029
8030         * native/jni/java-net/javanet.c
8031         (_javanet_create_inetaddress): Removed spurious arr and
8032         octets. Fixed compilation errors.
8033
8034         * native/jni/native-lib/cpnet.h
8035         (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
8036         cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
8037         cpnet_isIPV4Address): New functions.
8038         (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
8039         the rest.
8040         
8041         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
8042
8043         * native/jni/java-io/java_io_VMFile.c,
8044         native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
8045         native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
8046         native/jni/java-net/javanet.c,
8047         native/jni/java-net/javanet.h: Adapted the VM layer code
8048         to the new native layer.
8049
8050         * native/jni/native-lib/cpnet.h
8051         (cpnet_addMembership,
8052         cpnet_dropMembership,
8053         cpnet_getAvailableBytes): Added the declarations of
8054         some new functions.
8055         (cpnet_newIPV6Address,
8056         cpnet_IPV6AddressToBytes,
8057         cpnet_bytesToIPV6Address): Implemented.
8058         (cpnet_newIPV4Address): Initialize the sin_family field.
8059
8060         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
8061
8062         * native/target: Removed.
8063
8064         * configure.ac: Removed target from CLASSPATH_INCLUDES and
8065         Makefile generation.
8066
8067         * native/jni/native-lib/Makefile.am,
8068         native/jni/native-lib/cpnet.h,
8069         native/jni/native-lib/cpnet.c
8070         native/jni/native-lib/cpio.h,
8071         native/jni/native-lib/cpio.c,
8072         native/jni/native-lib/cpmath.h: Imported new native compatibility
8073         layer.
8074
8075 2006-08-21  Roman Kennke  <kennke@aicas.com>
8076
8077         * gnu/javax/swing/text/html/css/CSSParser.java:
8078         New class.
8079         * gnu/javax/swing/text/html/css/CSSParserCallback.java:
8080         New interface.
8081         * gnu/javax/swing/text/html/css/CSSParserException.java:
8082         New exception.
8083         * gnu/javax/swing/text/html/css/CSSScanner.java:
8084         Adjusted API comments. Made all constants package private.
8085         (EOF): New constant field.
8086         (parseBuffer): Made package private.
8087         (tokenEnd): Made package private.
8088         (CSSScanner): Initialize lookahead buffer with -1.
8089         (main): Print out to System.out rather then System.err.
8090         (nextToken): Push back character after IDENT.
8091
8092 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
8093
8094         * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
8095
8096 2006-08-21  Roman Kennke  <kennke@aicas.com>
8097
8098         * gnu/javax/swing/text/html/css/CSSScanner.java
8099         (main): Use buffered input stream.
8100         (nextToken): Removed 65536 workaround. Use int value directly
8101         without cast to char.
8102         (readComment): Use int value directly without cast to char.
8103         Cast to char only when putting the character into the buffer.
8104         (readEscape): Likewise.
8105         (readIdent): Likewise.
8106         (readName): Likewise.
8107         (readNum): Likewise.
8108         (readString): Likewise.
8109         (readWhitespace): Likewise.
8110
8111 2006-08-21  Ingo Proetel  <proetel@aicas.com>
8112
8113         * java/io/InputStreamReader.java
8114         (bytesCache): New field.
8115         (cacheLock): New field.
8116         (read(byte[],int,int): Avoid allocations of new byte
8117         array on every call and reuse cached byte array if possible.
8118
8119 2006-08-21  Roman Kennke  <kennke@aicas.com>
8120
8121         * gnu/java/net/local/LocalSocketImpl.java
8122         Only load native lib if this is supported by runtime.
8123         * native/jni/java-net/local.c
8124         Include config.h unconditionally.
8125         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
8126         Include config.h unconditionally.
8127
8128 2006-08-21  Friedjof Siebert  <siebert@aicas.com>
8129
8130         * java/io/ObjectInputStream.java
8131         (objectLookupTable): Changed to be a Vector.
8132         (ObjectInputStream): Initialize objectLookupTable as Vector.
8133         (assignNewHandle): Store Object using handle index rather than
8134         Hashtable, using the new rememberHandle() method.
8135         (hierarchy): New method. This replaces inputGetObjectStreamClasses()
8136         with a caching in ObjectStreamClass.
8137         (inputGetObjectStreamClass): Replaced by hierarchy().
8138         (lookupHandle): New method. Looks up an object by it's handle
8139         index.
8140         (parseContent): Avoid creating of Integer objects. Use
8141         hierarchy() method for looking up the class hierarchy.
8142         (processResolution): Use rememberHandle() to store
8143         handle per index, rather than Hashtabling the object.
8144         (readFields): 
8145         (rememberHandle): New method.
8146         * java/io/ObjectOutputStream.java
8147         (OIDLookupTable): Use ObjectIdentityMap2Int instead of
8148         Hashtable for improved lookup performance.
8149         (ObjectOutputStream): Initialize OIDLookupTable as
8150         ObjectIdentityMap2Int.
8151         (assignNewHandle): Change to use ObjectIdentityMap2Int.
8152         (findHandle): Change to use ObjectIdentityMap2Int.
8153         (getBooleanField): Removed.
8154         (getByteField): Removed.
8155         (getCharField): Removed.
8156         (getDoubleField): Removed.
8157         (getField): Removed.
8158         (getFloatField): Removed.
8159         (getIntField): Removed.
8160         (getLongField): Removed.
8161         (getObjectField): Removed.
8162         (writeFields(Object,ObjectStreamClass)): Use new helper method.
8163         (writeFields(Object,ObjectStreamField)): New helper method.
8164         Use switch rather then if-else cascade.
8165         (writeObject): Use int handle, rather then Integer.
8166         * java/io/ObjectStreamClass.java
8167         (hierarchy): New field. Caches the class hierarchy.
8168         (methodCache): New field. Caches methods.
8169         (readObjectSignature): New field. Stores the read signature.
8170         (uidCache): New field. Caches UIDs.
8171         (writeObjectSignature): New field. Stores the write signature.
8172         (cacheMethods): Cache methods in methodCache.
8173         (calculateClassID): Outsourced from getClassUID()
8174         for computing the UIDs.
8175         (getClassUIDFromField): Outsourced from getClassUID() for
8176         fetching the UID from the class field.
8177         (getClassUID): Use cached uid if possible. Use new helper
8178         methods for fetching the UID from the field or computing
8179         from scratch.
8180         (getObjectStreamClasses): Removed. Replaced by more
8181         efficient hierarchy() method, that also caches the result.
8182         (hierarchy): Replaces getObjectStreamClasses() for caching
8183         the result.
8184         (loadedByBootOrApplicationClassLoader): New helper method.
8185         (setClass): Invalidate hierarchy cache.
8186         (setSuperclass): Invalidate hierarchy cache.
8187         * java/io/ObjectStreamField.java
8188         (field): Made field package private for access from other
8189         classes.
8190         * gnu/java/io/ObjectIdentityWrapper.java: Removed.
8191         * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
8192         hashtable for mapping objects to ints.
8193
8194 2006-08-21  Roman Kennke  <kennke@aicas.com>
8195
8196         * java/io/File.java
8197         (getAbsolutePath): Fetch absolute path from
8198         VMFile.getAbsolutePath(). Moved actual impl to there.
8199         (isAbsolute): Let VMFile determine the absoluteness.
8200         (toURL): Let VMFile convert the filename.
8201         * vm/reference/java/io/VMFile.java
8202         (getAbsolutePath): New method.
8203         (isAbsolute): New method.
8204         (toURL): New method.
8205
8206 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
8207
8208         * NEWS: Added note about updated VM interface.
8209
8210 2006-08-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8211
8212         * java/lang/management/ManagementFactory.java:
8213         Updated documentation.
8214         
8215 2006-08-20  Ito Kazumitsu  <kaz@maczuka.gcd.org>
8216
8217         Fixes bug #28412
8218         * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
8219         New methods.
8220         * gnu/java/util/regex/CharIndexedCharSequence.java,
8221         gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
8222         new methods above.
8223         * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
8224         (match): call the new method setHitEnd of the input,
8225         (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
8226         Some optimization commented out, Use CharIndexed#move1 instead of move.
8227         * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
8228         * gnu/java/util/regex/REToken.java(match): The method body has been
8229         moved to an internal private method, (matchFake): New method,
8230         (setHitEnd): New method.
8231         * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
8232         if the match is not complete, (matchOneString): Count the number of
8233         characters which matched the pattern.
8234         * gnu/java/util/regex/RETokenEnd.java(fake): New field,
8235         (setFake): New method, (match): Call super.match or super.matchFake.
8236         * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
8237         * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
8238         setHitEnd of the input,
8239         * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
8240         * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
8241         RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
8242
8243 2006-08-18  Tom Tromey  <tromey@redhat.com>
8244
8245         * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
8246         the 'int', not the cast char.
8247
8248 2006-08-18  Roger Sayle  <roger@eyesopen.com>
8249
8250         * scripts/check_jni_methods.sh: Don't use the "set -C" command
8251         which isn't available in all shells.
8252
8253 2006-08-18  Roger Sayle  <roger@eyesopen.com>
8254
8255         * lib/Makefile.am (resources): Fix some shell portability issues.
8256
8257 2006-08-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
8258
8259         * configure.ac (tool-wrappers): Check for ltdl support when tool
8260         wrapper binaries are enabled.
8261         * tools/Makefile.am (LIBJVM): Remove variable.
8262         (AM_CPPFLAGS): Add LIBJVM define.
8263         (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
8264         gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
8265         gjavah_LDFLAGS): Remove variables.
8266         * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
8267
8268 2006-08-18  Tom Tromey  <tromey@redhat.com>
8269
8270         * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
8271         debugging prints.
8272         * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
8273         print.
8274         (readEntries): Likewise.
8275
8276 2006-08-17  Roman Kennke  <kennke@aicas.com>
8277
8278         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8279         (layoutLabel): Reset the text and icon rectangles.
8280
8281 2006-08-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
8282
8283         PR classpath/28537
8284         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
8285         Transform gappletviewer name using program_transform_name.
8286
8287 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
8288
8289         * javax/swing/filechooser/FileSystemView.java
8290         (getFileSystemView): Always return UnixFileSystemView, since
8291         that's the only one we got. Marked with NotImplementedException.
8292         * javax/swing/plaf/basic/BasicFileChooserUI.java
8293         (mouseClicked, installUI): Don't parse path by hand.
8294
8295 2006-08-17  Roman Kennke  <kennke@aicas.com>
8296
8297         * javax/swing/JComponent.java
8298         (scrollRectToVisible): Handle intermediate non-JComponents
8299         more gracefully.
8300
8301 2006-08-17  Roman Kennke  <kennke@aicas.com>
8302
8303         * javax/swing/RepaintManager.java
8304         (blitBuffer): Removed. This is now done in commitBuffer().
8305         (commitBuffer): Always paint on the root window or applet.
8306         No need to look for intermediate heavyweights. Optimized
8307         rectangle translation.
8308         (commitRemainingBuffers): Removed. Not needed anymore.
8309         (getHeavyweightParent): Removed. Not needed anymore.
8310         (getOffscreenBuffer): Fetch offscreen image from the
8311         actual root component.
8312         (paintDirtyRegions): Don't call commitRemainingBuffers().
8313
8314 2006-08-17  Roman Kennke  <kennke@aicas.com>
8315
8316         * javax/swing/SwingUtilities.java
8317         (clipString): New helper method for trimming strings.
8318         (layoutCompoundLabelImpl): Fixed algorithm to conform
8319         testsuites. Trim text if it's too long. Avoid creating
8320         new Rectangles. Optimized for performance.
8321         (layoutCompoundLabel): Use switch rather then if-else-chain.
8322         * javax/swing/plaf/basic/BasicButtonUI.java
8323         (viewR): New field.
8324         (iconR): New field.
8325         (textR): New field.
8326         (paint): Reset and use cached rectangles. Only call paintIcon()
8327         if icon is not null. Don't call paintButtonPressed() when
8328         button is selected, only when it is both armed and pressed.
8329         * javax/swing/plaf/basic/BasicGraphicsUtils.java
8330         (getPreferredButtonSize): Reused cached rectangles rather
8331         then creating new ones. Don't create new Rectangle via
8332         Rectangle.union().
8333         * javax/swing/plaf/basic/BasicLabelUI.java
8334         (getPreferredSize): Correctly reset cached rectangles. Especially
8335         the view rect must have a big size to give it room for layouting.
8336         Short cut layout when text == null.
8337         (paint): Correctly reset cached rectangles.
8338         * javax/swing/plaf/basic/BasicMenuItemUI.java
8339         (resetRectangles): New helper method.
8340         (getPreferredMenuItemSize): Correctly reset the cached rectangles.
8341         (paintMenuItem): Correctly reset the cached rectangles.
8342         * javax/swing/plaf/basic/BasicRadioButtonUI.java
8343         (getPreferredSize): Use cached Rectangle objects and initialize
8344         them correctly.
8345         (paint): Use cached Rectangle objects and initialize
8346         them correctly.
8347
8348 2006-08-17  David Gilbert  <david.gilbert@object-refinery.com>
8349
8350         * java/util/Calendar.java: API doc additions.
8351
8352 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8353
8354         * javax/swing/DefaultButtonModel.java:
8355         (setRollover): Simplified statement.
8356
8357 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
8358
8359         * gnu/java/rmi/server/RMIClassLoaderImpl.java
8360         (loadClass): Rewritten to use getClassLoader.
8361         (loadProxyClass): Implemented.
8362         (getClassLoader): Fixed support for null or empty codebase.
8363         * gnu/java/rmi/server/RMIObjectInputStream.java
8364         (resolveClass): Use user class loader as default class loader.
8365         (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
8366         * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
8367         (loadClass): Simplified and use user class loader instead of
8368         context class loader as default.
8369         * java/io/ObjectInputStream.java
8370         (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
8371         * vm/reference/gnu/classpath/VMStackWalker.java
8372         (firstNonNullClassLoader): New method.
8373         * vm/reference/java/io/VMObjectInputStream.java
8374         (loaderAction, currentClassLoader): Removed.
8375
8376 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8377
8378         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8379         (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
8380         by current scroll offset, added method documention.
8381         (getTabBounds(int, Rectangle)): Added method documentation.
8382         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
8383         (paintContentBorderLeftEdge): Changed y to 1.
8384
8385 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8386
8387         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8388         (MouseHandler.mouseReleased): Implemented.
8389         (MouseHandler.mousePressed): Added delegation to tabbed pane.
8390         (MouseHandler.mouseEntered): Dito.
8391         (MouseHandler.mouseExited): Dito.
8392         (MouseHandler.mouseMoved): Dito.
8393         (MouseHandler.redispatchEvent): New method.
8394         (PropertyChangeHandler.propertyChange): Added extra block level,
8395         added code to handle tab placement changes, added comment.
8396         (updateViewPosition): Set unneeded coordinate to 0, added comment.
8397
8398 2006-08-16  Roman Kennke  <kennke@aicas.com>
8399
8400         * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8401         * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8402         New file.
8403
8404 2006-08-16  Mark Wielaard  <mark@klomp.org>
8405
8406         * java/awt/Component.java (orientation): Renamed to
8407         componentOrientation.
8408         (setComponentOrientation): Use new field name.
8409         (getComponentOrientation): Likewise.
8410
8411 2006-08-16  Roman Kennke  <kennke@aicas.com>
8412
8413         PR 28750
8414         * javax/swing/plaf/basic/BasicTreeUI.java
8415         (CellEditorHandler.editingCancelled): Call completeEditing
8416         directly.
8417         (CellEditorHandler.editingStopped): Call completeEditing
8418         directly.
8419         (NodeDimensionHandler.getNodeDimensions): Rewritten
8420         to use the preferred sizes of the renderer and editor.
8421         (TreeExpansionHandler.treeCollapsed): Complete editing
8422         here.
8423         (TreeSelectionHandler.valueChanged): Complete editing
8424         here.
8425         (cancelEditing): Call completeEditing with false, false and
8426         false. Don't call finish (removed method).
8427         (completeEditing(boolean,boolean,boolean): Only do something when
8428         stopEditingInCompleteEditing is true. Nullify editingComponent
8429         and editingPath. Remove editingComponent from tree. Update
8430         the layout when necessary and repaint.
8431         (completeEditing): Stop editing when necessary.
8432         (editorRequestFocus): New helper method. Request focus
8433         on the actual editor.
8434         (finish) Removed. This is now done in completeEditing().
8435         (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8436         (setLargeModel): Complete editing here.
8437         (setRootVisible): Complete editing here.
8438         (setRowHeight): Complete editing here.
8439         (setSelectionModel): Complete editing here.
8440         (startEditing): Correctly initialize and start editing.
8441         (updateExpandedDescendants): Complete editing here.
8442         * javax/swing/tree/DefaultTreeCellEditor.java
8443         (DefaultTextField): Fetch size from super and use renderer's height
8444         if appropriate.
8445         (EditorContainer.EditorContainer): Set layout to null, just
8446         to make sure.
8447         (EditorContainer.doLayout): Layout so that the editor
8448         is offset to the right of the icon.
8449         (EditorContainer.getPreferredSize): Implemented to
8450         provide a reasonable preferred size.
8451         (EditorContainer.paint): Position icon in the middle.
8452         Also paint border if appropriate.
8453         (EditorContainer.setBounds): Removed.
8454         (RealEditorListener): Removed.
8455         (DefaultTreeCellEditor): Set correct border.
8456         (cancelCellEditing): Message real editor. Call finish().
8457         (createCellEditor): Don't add listener.
8458         (determineOffset): Correctly determine offset, and update
8459         the icon.
8460         (finish): New helper method.
8461         (getTreeCellEditorComponent): Set correct font. Call
8462         prepareForEditing() and determineOffset() to correctly initialize
8463         the state.
8464         (stopCellEditing): Messsage realEditor to stop editing. Call
8465         finish to clean up.
8466         (stopEditingTimer): Removed.
8467         (valueChanged): Correctly reset lastPath.
8468         * javax/swing/tree/DefaultTreeCellRenderer.java
8469         (getPreferredSize): Return super plus some extra space for
8470         better readability.
8471
8472 2006-08-16  Roman Kennke  <kennke@aicas.com>
8473
8474         * javax/swing/plaf/metal/MetalTreeUI.java
8475         (LineStyleListener): New property listener, that updates
8476         the line style setting if the corresponding property
8477         changes.
8478         (lineStyleListener): New field.
8479         (lineStyle): New field.
8480         (LINE_STYLE_ANGLED): New constant field.
8481         (LINE_STYLE_HORIZONTAL): New constant field.
8482         (LINE_STYLE_NONE): New constant field.
8483         (LINE_STYLE_VALUE_ANGLED): New constant field.
8484         (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8485         (LINE_STYLE_VALUE_NONE): New constant field.
8486         (LINE_STYLE_PROPERTY): New constant field.
8487         (decodeLineStyle): Implemented.
8488         (installUI): Install line style listener. Set initial
8489         lineStyle.
8490         (uninstallUI): Uninstall line style listener.
8491         (paintHorizontalPartOfLeg): Only call super for angled
8492         lineStyle.
8493         (paintVerticalPartOfLeg): Only call super for angled
8494         lineStyle.
8495         (paintHorizontalSeparators): Implemented.
8496         (paint): If lineStyle==HORIZONTAL, call
8497         paintHorizontalSeparators().
8498         * examples/gnu/classpath/examples/swing/TreeDemo.java
8499         (createContent): Add panel for selecting line styles.   
8500
8501 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8502         
8503         * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8504         (createContent): Rewritten.
8505         (createPlacementChangingMenuItem): New method.
8506         (createLayoutPolicyChangingMenuItem): New method.
8507         (createTabbedPane): New method.
8508         (createTabContent): New method.
8509
8510 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8511
8512         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8513         (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8514         disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8515
8516 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8517
8518         * javax/swing/text/WrappedPlainView.java:
8519         (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8520         (calculateBreakPosition): Add p0 to return value.
8521
8522 2006-08-15  Roman Kennke  <kennke@aicas.com>
8523
8524         * javax/swing/plaf/basic/BasicTreeUI.java
8525         (MouseHandler.selectedOnPress): New field.
8526         (MouseHandler.handleEvent): New helper method for handling
8527         selection and start/stop editing for mouse events.
8528         (MouseHandler.mouseDragged): Commented as no-op method.
8529         (MouseHandler.mouseMoved): Commented as no-op method.
8530         (MouseHandler.mousePressed): Use handleEvent() to handle
8531         selection and editing handling.
8532         (MouseHandler.mouseReleased): Use handleEvent() to handle
8533         selection and editing handling.
8534         (MouseInputHandler.MouseInputHandler): Register itself
8535         as mouse listener on source. Redispatch event to
8536         destination.
8537         (MouseInputHandler.dispatch): New helper method.
8538         (MouseInputHandler.mouseClicked): Dispatch event.
8539         (MouseInputHandler.mouseDragged): Dispatch event.
8540         (MouseInputHandler.mouseEntered): Stop dispatching
8541         if dragging stopped.
8542         (MouseInputHandler.mouseExited): Stop dispatching
8543         if dragging stopped.
8544         (MouseInputHandler.mouseMoved): Stop dispatching.
8545         (MouseInputHandler.mousePressed): Marked as no-op.
8546         (MouseInputHandler.mouseReleased): Dispatch and stop
8547         dispatching afterwards.
8548         (MouseInputHandler.removeFromSource): Implemented.
8549         (PropertyChangeHandler.propertyChange): Also handle
8550         editable property changes by calling setEditable().
8551         (SelectionModelPropertyChangeHandler.propertyChange):
8552         Reset row selection.
8553         (startEditTimer): Removed.
8554         (setCellEditor): Call updateEditor().
8555         (setEditable): Call updateEditor().
8556         (startEditingAtPath): Make path fully visible before starting
8557         editing.
8558         (startEditing): Maybe cancel previous edit session. Add
8559         editing component itself, not its parent container.
8560         Register MouseInputHandler for correctly redispatching
8561         initial events.
8562         (stopEditing): Message cellEditor and only completeEditing()
8563         when approved by cell editor.
8564         (updateCellEditor): Complete editing before updating
8565         the cell editor. Get cell editor from JTree if possible,
8566         otherwise create default editor. Update the listeners
8567         on the editor.
8568         * javax/swing/tree/DefaultTreeCellEditor.java
8569         (CLICK_COUNT_TO_START): Removed.
8570         (DefaultTreeCellEditor): Install correct border. Let setTree()
8571         update the listeners. Don't initialize lastPath and font yet.
8572         (actionPerformed): Implemented to start editing.
8573         (createTreeCellEditor): Set click count to start to 1, rather than
8574         3.
8575         (isCellEditable): Prepare editor here. Determine if we can
8576         start immediately, or if we trigger a timer to do so.
8577         (prepareForEditing): Don't removeAll() (not necessary),
8578         check editingComponent to be non-null.
8579         (setTree): Update listeners.
8580         (shouldStartEditingTimer): Check for left mouse button.
8581         (startEditingTimer): Lazily create timer.
8582
8583 2006-08-15  Lillian Angel  <langel@redhat.com>
8584
8585         * java/awt/dnd/DropTargetDragEvent.java
8586         (getTransferable): Implemented.
8587
8588 2006-08-15  Roman Kennke  <kennke@aicas.com>
8589
8590         * java/util/Vector.java
8591         (removeAll): Added comment about NPE.
8592         (retainAll): Added comment about NPE.
8593
8594 2006-08-15  Roman Kennke  <kennke@aicas.com>
8595
8596         * java/util/zip/ZipFile.java
8597         (UTF8DECODER): Removed.
8598         (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8599         (utf8Decoder): New instance field.
8600         (decodeChars): Lazily create UTF8 decoder. Use instance
8601         field rather than a static field to avoid corruption.
8602
8603 2006-08-15  Roman Kennke  <kennke@aicas.com>
8604
8605         * java/io/PrintStream.java
8606         (line_separator): Provide default for system property.
8607         * java/io/FileDescriptor.java
8608         (valid): Create local copy of channel field for better
8609         threading safetly.
8610
8611 2006-08-15  Ingo Proetel  <proetel@aicas.com>
8612
8613         * java/util/zip/ZipFile.java
8614         (PartialInputStream.UTF8DECODER): New constant field, used
8615         for decoding UTF8 strings.
8616         (readLeShort): Access buffer directly if it has enough bytes
8617         available.
8618         (readLeInt): Access buffer directly if it has enough bytes
8619         available.
8620         (decodeChars): New helper method for decoding UTF8 strings.
8621         (readString): Avoid NIO charset decoder if possible.
8622
8623 2006-08-15  Roman Kennke  <kennke@aicas.com>
8624
8625         * java/util/Vector.java
8626         (removeAll): Don't explicitly null-check here. The RI allows
8627         null arguments when Vector is empty. In other cases we
8628         implicitly throw an NPE.
8629         (retainAll): Don't explicitly null-check here. The RI allows
8630         null arguments when Vector is empty. In other cases we
8631         implicitly throw an NPE.
8632
8633 2006-08-14  Casey Marshall  <csm@gnu.org>
8634
8635         Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8636         of changes made on this branch.
8637         Files modified:
8638         * gnu/classpath/debug/Component.java
8639         * gnu/classpath/debug/SystemLogger.java
8640         * gnu/java/security/action/GetPropertyAction.java
8641         * gnu/java/security/action/GetSecurityPropertyAction.java
8642         * gnu/javax/crypto/RSACipherImpl.java
8643         * gnu/javax/net/ssl/PrivateCredentials.java
8644         * gnu/javax/net/ssl/provider/Alert.java
8645         * gnu/javax/net/ssl/provider/AlertException.java
8646         * gnu/javax/net/ssl/provider/Certificate.java
8647         * gnu/javax/net/ssl/provider/CertificateRequest.java
8648         * gnu/javax/net/ssl/provider/CertificateType.java
8649         * gnu/javax/net/ssl/provider/CertificateVerify.java
8650         * gnu/javax/net/ssl/provider/CipherSuite.java
8651         * gnu/javax/net/ssl/provider/ClientHello.java
8652         * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8653         * gnu/javax/net/ssl/provider/CompressionMethod.java
8654         * gnu/javax/net/ssl/provider/Constructed.java
8655         * gnu/javax/net/ssl/provider/ContentType.java
8656         * gnu/javax/net/ssl/provider/DiffieHellman.java
8657         * gnu/javax/net/ssl/provider/Extension.java
8658         * gnu/javax/net/ssl/provider/Finished.java
8659         * gnu/javax/net/ssl/provider/Handshake.java
8660         * gnu/javax/net/ssl/provider/Jessie.java
8661         * gnu/javax/net/ssl/provider/ProtocolVersion.java
8662         * gnu/javax/net/ssl/provider/Random.java
8663         * gnu/javax/net/ssl/provider/ServerHello.java
8664         * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8665         * gnu/javax/net/ssl/provider/Signature.java
8666         * gnu/javax/net/ssl/provider/Util.java
8667         * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8668         * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8669         * java/security/MessageDigest.java
8670         * java/security/MessageDigestSpi.java
8671         * java/security/Signature.java
8672         * java/security/SignatureSpi.java
8673         * javax/crypto/Mac.java
8674         * javax/crypto/MacSpi.java
8675         * javax/net/ssl/HandshakeCompletedEvent.java
8676         * javax/net/ssl/HttpsURLConnection.java
8677         * javax/net/ssl/SSLContext.java
8678         * javax/net/ssl/SSLContextSpi.java
8679         * javax/net/ssl/SSLSession.java
8680         Files added:
8681         * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java 
8682         * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java 
8683         * gnu/javax/net/ssl/provider/SimpleSessionContext.java 
8684         * gnu/javax/net/ssl/provider/ServerRSAParams.java 
8685         * gnu/javax/net/ssl/provider/SSLContextImpl.java 
8686         * gnu/javax/net/ssl/provider/ServerDHParams.java 
8687         * gnu/javax/net/ssl/provider/ClientHelloBuilder.java 
8688         * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java 
8689         * gnu/javax/net/ssl/provider/SignatureAlgorithm.java 
8690         * gnu/javax/net/ssl/provider/CipherSuiteList.java 
8691         * gnu/javax/net/ssl/provider/ServerNameList.java 
8692         * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java 
8693         * gnu/javax/net/ssl/provider/CompressionMethodList.java 
8694         * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java 
8695         * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java 
8696         * gnu/javax/net/ssl/provider/TrustedAuthorities.java 
8697         * gnu/javax/net/ssl/provider/CertificateStatusRequest.java 
8698         * gnu/javax/net/ssl/provider/ServerHelloDone.java 
8699         * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java 
8700         * gnu/javax/net/ssl/provider/SSLSocketImpl.java 
8701         * gnu/javax/net/ssl/provider/ServerHelloBuilder.java 
8702         * gnu/javax/net/ssl/provider/Record.java 
8703         * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java 
8704         * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java 
8705         * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java 
8706         * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java 
8707         * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java 
8708         * gnu/javax/net/ssl/provider/CertificateBuilder.java 
8709         * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java 
8710         * gnu/javax/net/ssl/provider/CertificateStatusType.java 
8711         * gnu/javax/net/ssl/provider/ExtensionList.java 
8712         * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java 
8713         * gnu/javax/net/ssl/provider/ClientPSKParameters.java 
8714         * gnu/javax/net/ssl/provider/X500PrincipalList.java 
8715         * gnu/javax/net/ssl/provider/ServerHandshake.java 
8716         * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java 
8717         * gnu/javax/net/ssl/provider/SessionImpl.java 
8718         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java 
8719         * gnu/javax/net/ssl/provider/ServerPSKParameters.java 
8720         * gnu/javax/net/ssl/provider/TruncatedHMAC.java 
8721         * gnu/javax/net/ssl/provider/MaxFragmentLength.java 
8722         * gnu/javax/net/ssl/provider/HelloRequest.java 
8723         * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java 
8724         * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java 
8725         * gnu/javax/net/ssl/provider/CipherAlgorithm.java 
8726         * gnu/javax/net/ssl/provider/ClientHandshake.java 
8727         * gnu/javax/net/ssl/provider/ExchangeKeys.java 
8728         * gnu/javax/net/ssl/provider/CertificateURL.java 
8729         * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java 
8730         * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java 
8731         * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java 
8732         * gnu/javax/net/ssl/provider/Builder.java 
8733         * gnu/javax/net/ssl/provider/Debug.java 
8734         * gnu/javax/net/ssl/provider/SSLEngineImpl.java 
8735         * gnu/javax/net/ssl/provider/MacAlgorithm.java 
8736         * gnu/javax/net/ssl/provider/DelegatedTask.java 
8737         * gnu/javax/net/ssl/provider/InputSecurityParameters.java 
8738         * gnu/javax/net/ssl/provider/ClientHelloV2.java 
8739         * gnu/javax/net/ssl/provider/OutputSecurityParameters.java 
8740         * gnu/javax/net/ssl/provider/AbstractHandshake.java 
8741         * javax/net/ssl/SSLEngine.java 
8742         * javax/net/ssl/CertPathTrustManagerParameters.java 
8743         * javax/net/ssl/KeyStoreBuilderParameters.java 
8744         * javax/net/ssl/X509ExtendedKeyManager.java 
8745         * javax/net/ssl/SSLEngineResult.java 
8746         * gnu/javax/net/ssl/PreSharedKeyManager.java 
8747         * gnu/javax/net/ssl/Session.java 
8748         * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java 
8749         * gnu/javax/net/ssl/SSLCipherSuite.java 
8750         * gnu/javax/net/ssl/AbstractSessionContext.java 
8751         * gnu/javax/net/ssl/SessionStoreException.java 
8752         * gnu/javax/net/ssl/SSLRecordHandler.java 
8753         * gnu/javax/net/ssl/SSLProtocolVersion.java 
8754         * gnu/javax/crypto/key/GnuPBEKey.java 
8755         * gnu/java/security/util/ByteBufferOutputStream.java 
8756         * gnu/java/security/Requires.java 
8757         * gnu/javax/security/auth/callback/CertificateCallback.java 
8758         Files removed:
8759         * gnu/javax/net/ssl/provider/Context.java
8760         * gnu/javax/net/ssl/provider/DigestInputStream.java
8761         * gnu/javax/net/ssl/provider/DigestOutputStream.java
8762         * gnu/javax/net/ssl/provider/Enumerated.java
8763         * gnu/javax/net/ssl/provider/Extensions.java
8764         * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8765         * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8766         * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8767         * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8768         * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8769         * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8770         * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8771         * gnu/javax/net/ssl/provider/KeyPool.java
8772         * gnu/javax/net/ssl/provider/OverflowException.java
8773         * gnu/javax/net/ssl/provider/RecordInput.java
8774         * gnu/javax/net/ssl/provider/RecordInputStream.java
8775         * gnu/javax/net/ssl/provider/RecordOutputStream.java
8776         * gnu/javax/net/ssl/provider/RecordingInputStream.java
8777         * gnu/javax/net/ssl/provider/SSLRSASignature.java
8778         * gnu/javax/net/ssl/provider/SSLServerSocket.java
8779         * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8780         * gnu/javax/net/ssl/provider/SSLSocket.java
8781         * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8782         * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8783         * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8784         * gnu/javax/net/ssl/provider/SecurityParameters.java
8785         * gnu/javax/net/ssl/provider/Session.java
8786         * gnu/javax/net/ssl/provider/SessionContext.java
8787         * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8788         * gnu/javax/net/ssl/provider/XMLSessionContext.java
8789
8790 2006-08-14  Roman Kennke  <kennke@aicas.com>
8791
8792         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8793         (DividerLayout.layoutContainer): Removed debug output.
8794         * javax/swing/plaf/basic/BasicSplitPaneUI.java
8795         (BasicHorizontalLayoutManager.axis): New field.
8796         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8797         New constructor.
8798         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8799         Call new axis constructor.
8800         (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8801         handle direction.
8802         (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8803         handle direction.
8804         (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8805         Refactored to handle direction.
8806         (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8807         to handle direction.
8808         (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8809         handle direction.
8810         (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8811         to handle direction.
8812         (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8813         to handle direction.
8814         (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8815         to handle direction.
8816         (BasicHorizontalLayoutManager.updateComponents): Don't reset
8817         divider size.
8818         (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8819         New explicit constructor. Calls super with vertical axis.
8820         (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8821         to BasicHorizontalLayoutManager.
8822         (BasicVerticalLayoutManager.getInitialLocation): Functionality
8823         moved to BasicHorizontalLayoutManager.
8824         (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8825         Functionality moved to BasicHorizontalLayoutManager.
8826         (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8827         moved to BasicHorizontalLayoutManager.
8828         (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8829         moved to BasicHorizontalLayoutManager.
8830         (BasicVerticalLayoutManager.minimumSizeOfComponent):
8831         Functionality moved to BasicHorizontalLayoutManager.
8832         (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8833         moved to BasicHorizontalLayoutManager.
8834         (BasicVerticalLayoutManager.setComponentToSize): Functionality
8835         moved to BasicHorizontalLayoutManager.
8836         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8837         (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8838         (BUTTON_SPRITE_R): New constant field.
8839         (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8840         L sprite for left buttons.
8841         
8842 2006-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
8843
8844         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8845         (query_formats): g_free 'name' after usage.
8846         g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8847         g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8848
8849 2006-08-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
8850
8851         PR classpath/27723
8852         * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8853         seamonkey-plugin.
8854
8855 2006-08-14  Francis Kung  <fkung@redhat.com>
8856
8857         PR 28694
8858         * java/awt/image/ColorModel.java
8859         (coerceData): Added check for non-transparent images.
8860
8861 2006-08-14  Francis Kung  <fkung@redhat.com>
8862
8863         * java/awt/image/BandCombineOp.java
8864         (BandCombineOp): Perform checks on validity of matrix.
8865         (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8866         (filter): Updated to work with new matrix storage.
8867         (getMatrix): Updated javadoc.
8868         (getPoint2D): Formatting change.
8869
8870 2006-08-14  Francis Kung  <fkung@redhat.com>
8871
8872         * java/awt/image/AffineTransformOp.java
8873         (AffineTransformOp): Updated javadoc.
8874         (createCompatibleDestImage): Match behaviour of reference implementation.
8875         (createCompatibleDestRaster): Formatting changes.
8876         (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8877         (filter(Raster, WritableRaster)): Re-implemented.
8878         (filterBicubic): New private method.
8879         (filterBilinear): New private method.
8880         (filterNearest): New private method.
8881         (getBounds2D): No longer fixed around one point for rotations.
8882         (getInterpolationType): Add support for bicubic interpolation.
8883
8884 2006-08-14  Roman Kennke  <kennke@aicas.com>
8885
8886         * javax/swing/plaf/metal/MetalLookAndFeel.java
8887         (MetalLookAndFeel): Moved theme initialization to
8888         getDefaults().
8889         (createDefaultTheme): Forward to getCurrentTheme().
8890         (getDefaults): Initialize theme before doing anything else.
8891         (getCurrentTheme): Recognize swing.metalTheme property.
8892
8893 2006-08-14  Roman Kennke  <kennke@aicas.com>
8894
8895         * javax/swing/JTable
8896         (getScrollableUnitIncrement): Expose partially exposed
8897         row in scrolling direction.
8898
8899 2006-08-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
8900
8901         * javax/swing/JTable (getScrollableUnitIncrement): 
8902         Removing my name as the whole method body have been
8903         recently completely replaced.
8904
8905 2006-08-14  Roman Kennke  <kennke@aicas.com>
8906
8907         PR 28028
8908         * javax/swing/text/Utilities.java
8909         (getTabbedTextOffset): Don't add p0 here.
8910
8911 2006-08-14  Roman Kennke  <kennke@aicas.com>
8912
8913         PR 28719
8914         * javax/swing/plaf/basic/BasicScrollPaneUI.java
8915         (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8916         when wheel is going up.
8917
8918 2006-08-14  Roman Kennke  <kennke@aicas.com>
8919
8920         PR 28693
8921         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8922         (BasicOneTouchButton): New inner class.
8923         (DividerLayout.changeButtonOrientation): Removed.
8924         (DividerLayout.positionButtons): Moved into layoutContainer.
8925         (DividerLayout.layoutContainer): Reworked for correct layout.
8926         (OneTouchAction): New inner class.
8927         (centerOneTouchButtons): New field.
8928         (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8929         UIManager.
8930         (createLeftOneTouchButton): Reimplemented to return
8931         BasicOneTouchButton.
8932         (createRightOneTouchButton): Reimplemented to return
8933         BasicOneTouchButton.
8934         (getPreferredSize): Reimplemented to return fixed preferredSize.
8935         (oneTouchExpandableChanged): Add OneTouchAction action to
8936         buttons. Don't install mouse listeners.
8937         (MouseHandler.mousePressed): Removed handling of one touch buttons.
8938         (paint): Don't trigger extra paint for buttons.
8939         (propertyChange): Revalidate splitPane when orientation is changed.
8940         (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8941         oneTouchExpandable is true.
8942         * javax/swing/plaf/basic/BasicSplitPaneUI.java
8943         (installDefaults): Install dividerSize on the divider too.
8944         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8945         (MetalDividerLayout): Removed. Functionality is already
8946         in BasicSplitPaneDivider.DividerLayout.
8947         (MetalOneTouchButton): New inner class.
8948         (BUTTON_SPRITE): New constant field.
8949         (MetalSplitPaneDivider): Don't change layout.
8950         (createLeftOneTouchButton): Overridden to return custom button
8951         for Metal.
8952         (createRightOneTouchButton): Overridden to return custom button
8953         for Metal.
8954         (paint): Don't trigger button painting. Call super instead.
8955
8956 2006-08-13  Roman Kennke  <kennke@aicas.com>
8957
8958         * javax/swing/plaf/basic/BasicTableHeaderUI.java
8959         (installKeyboardAction): Unmarked as stub. Added comment
8960         explaining that the RI seems to do nothing here.
8961         (uninstallKeyboardAction): Unmarked as stub. Added comment
8962         explaining that the RI seems to do nothing here.
8963
8964 2006-08-13  Roman Kennke  <kennke@aicas.com>
8965
8966         PR 28135
8967         * javax/swing/ScrollPaneLayout.java
8968         (layoutContainer): Consider the viewportBorder of the
8969         JScrollPane.
8970         (minimumLayoutSize): Consider the viewportBorder of the
8971         JScrollPane.
8972         (preferredLayoutSize): Consider the viewportBorder of the
8973         JScrollPane.
8974         * javax/swing/plaf/basic/BasicScrollPaneUI.java
8975         (installDefaults): Also install viewportBorder if specified.
8976         (paint): Paint viewportBorder if present.
8977         (uninstallDefaults): Uninstall viewportBorder if appropriate.
8978         Don't nullify foreground, background and font. Uninstall
8979         border via LookAndFeel helper method to avoid uninstall
8980         user set border.
8981
8982 2006-08-13  Roman Kennke  <kennke@aicas.com>
8983
8984         PR 28696
8985         * javax/swing/plaf/basic/BasicHTML.java
8986         (HTMLRootView.HTMLRootView): Trigger initial layout.
8987         (HTMLRootView.setSize): Overridden to forward to real view.
8988         * javax/swing/plaf/basic/BasicToolTipUI.java
8989         (PropertyChangeHandler): New inner class. Updates the HTML
8990         renderer.
8991         (propertyChangeHandler): New field.
8992         (getMaximumSize): Add HTML width delta.
8993         (getMinimumSize): Add HTML width delta.
8994         (getPreferredSize): Reimplemented to use HTML view for size
8995         calculation if appropriate, otherwise use simple stringWidth()
8996         measurement.
8997         (installListeners): Install propertyChangeHandler.
8998         (uninstallListeners): Uninstall propertyChangeHandler.
8999         (installUI): Update HTML renderer.
9000         (uninstallUI): Update HTML renderer.
9001         (paint): Reimplemented to use HTML view for rendering if
9002         appropriate, simple drawString otherwise.
9003         * javax/swing/plaf/metal/MetalToolTipUI.java
9004         (getPreferredSize): Call super and add accelerator delta.
9005         (paint): Simply call super.
9006
9007 2006-08-13  Roman Kennke  <kennke@aicas.com>
9008
9009         * javax/swing/JMenu.java
9010         (changeListener): Renamed to menuChangeListener to avoid
9011         shadowing changeListener field from AbstractButton.
9012
9013 2006-08-13  Roman Kennke  <kennke@aicas.com>
9014
9015         * javax/swing/JTree.java
9016         (getScrollableUnitIncrement): Fixed direction.
9017         (getScrollableBlockIncrement): Implemented to scroll one
9018         page.
9019         * javax/swing/tree/VariableHeightLayoutCache.java
9020         (distance): Consider y + height already outside the node.
9021
9022 2006-08-13  Roman Kennke  <kennke@aicas.com>
9023
9024         * javax/swing/JTable.java
9025         (getScrollableUnitIncrement): Fixed direction. Make it behave
9026         like the RI.
9027         (getScrollableBlockIncrement): Fixed direction. Make it behave
9028         like the RI.
9029
9030 2006-08-13  Roman Kennke  <kennke@aicas.com>
9031
9032         * javax/swing/JList.java
9033         (getScrollableUnitIncrement): Fixed direction. Implemented
9034         horizontal scrolling. Improved usability.
9035         (getScrollableBlockIncrement): Fixed direction. Improved usability.
9036
9037 2006-08-13  Roman Kennke  <kennke@aicas.com>
9038
9039         * javax/swing/plaf/basic/BasicScrollBarUI.java
9040         (scrollByUnit): Scroll by -unit when direction is not positive
9041         and +unit otherwise.
9042         (scrollByBlock): Scroll by -unit when direction is not positive
9043         and +unit otherwise.
9044
9045 2006-08-13  Roman Kennke  <kennke@aicas.com>
9046
9047         PR 28028
9048         * javax/swing/text/PlainView.java
9049         (paint): Limit painted area to the lines inside the clip
9050         and allocation.
9051
9052 2006-08-13  Roman Kennke  <kennke@aicas.com>
9053
9054         * javax/swing/plaf/basic/BasicTextUI.java
9055         (uninstallListeners): Unregister document listener.
9056
9057 2006-08-13  Sven de Marothy  <sven@physto.se>
9058
9059         * java/util/Locale.java
9060         (hashcodeCache): New field.
9061         (hashCode): use the above field instead of the serialized one
9062         (writeObject): Removed method.
9063         (readObject): Intern strings.
9064         (equals): Revert to previous method.
9065
9066 2006-08-13  Roman Kennke  <kennke@aicas.com>
9067
9068         * javax/swing/JTabbedPane.java
9069         (JTabbedPane): Call setModel() here and let this install the
9070         change listener correctly.
9071         (setModel): Correctly uninstall and reinstall ChangeListener when
9072         model changes.
9073
9074 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
9075
9076         PR Classpath/23952
9077         * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
9078         (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
9079         (lastDefaultLocale): Removed.
9080         (emptyLocale): Likewise.
9081         (BundleKey.defaultLocale): New field.
9082         (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
9083         (BundleKey.set): Likewise.
9084         (BundleKey.equals): Take defaultLocal field into consideration.
9085         (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
9086
9087 2006-08-13  Roman Kennke  <kennke@aicas.com>
9088
9089         * javax/swing/JMenu.java
9090         (MenuChangeListener): New inner class, helps firing menu events.
9091         (changeListener): New field.
9092         (add(text)): Create new JMenuItem here and call add(JMenuItem).
9093         (add(Action)): Create Action using createActionComponent()
9094         and add via add(Component).
9095         (setModel): Install and uninstall MenuChangeListener here.
9096
9097 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
9098
9099         PR Classpath/27372
9100         * java/math/BigInteger.java: Updated copyright year.
9101         (init): Consume as little bytes as possible.
9102         (BigInteger(int, int, Random)): Ensure bitLength bits are used.
9103         (valueOf(String, int)): Throw NumberFormatException for malformed strings
9104         as per RI's documentation.
9105
9106 2006-08-13  Sven de Marothy  <sven@physto.se>
9107
9108         * java/util/Locale.java
9109         (hashcode): Is a serialized field, not transient.
9110         (equals): Should NOT compare strings by reference.
9111         (readObject/writeObject): Use the default methods and handle the hash
9112         seperately.
9113
9114 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
9115
9116         PR Classpath/28678
9117         * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
9118         Updated documentation.
9119         Formatting.
9120         (getInstance(String, String, Provider, Object[])): Likewise.
9121         Separate checks for null and empty string arguments.
9122         Include as much information as possible in the exception's message.
9123         Do not swallow original exception; instead use it as the cause of the
9124         resulting exception.
9125         * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
9126         (getInstance(String)): Updated documentation.
9127         Formatting.
9128         Store last exception caught when iterating through all providers.
9129         If no implementation found, raise last exception if one was caught.
9130         (getInstance(String, String)): Updated documentation.
9131         Formatting.
9132         Check for null or empty provider as per RI-5's documentation.
9133         (getInstance(String, Provider)): Updated documentation.
9134         Formatting.
9135         Use as much information as possible in the exception message.
9136         Do not swallow original exception; instead use it as the cause for the
9137         ultimate raised exception(s).
9138         * java/security/cert/CertificateFactory.java: Likewise.
9139         * java/security/cert/CertPathBuilder.java: Likewise.
9140         * java/security/cert/CertPathValidator.java: Likewise.
9141         * java/security/cert/CertStore.java: Likewise.
9142         * java/security/AlgorithmParameterGenerator.java: Likewise.
9143         * java/security/AlgorithmParameters.java: Likewise.
9144         * java/security/KeyFactory.java: Likewise.
9145         * java/security/KeyPairGenerator.java: Likewise.
9146         * java/security/KeyStore.java: Likewise.
9147         * java/security/MessageDigest.java: Likewise.
9148         * java/security/SecureRandom.java: Likewise.
9149         * java/security/Signature.java: Likewise.
9150         * javax/crypto/Cipher.java: Likewise.
9151         * javax/crypto/ExemptionMechanism.java: Likewise.
9152         * javax/crypto/KeyAgreement.java: Likewise.
9153         * javax/crypto/KeyGenerator.java: Likewise.
9154         * javax/crypto/Mac.java: Likewise.
9155         * javax/crypto/SecretKeyFactory.java: Likewise.
9156         * javax/net/ssl/KeyManagerFactory.java: Likewise.
9157         * javax/net/ssl/SSLContext.java: Likewise.
9158         * javax/net/ssl/TrustManagerFactory.java: Likewise.
9159
9160 2006-08-13  Roman Kennke  <kennke@aicas.com>
9161
9162         * javax/swing/JEditorPane.java
9163         (getScrollableTracksViewportHeight): Also check maximum size.
9164         * javax/swing/JTextPane.java
9165         (insertIcon): Use input attributes for adding the icon
9166         attribute.
9167         * javax/swing/plaf/basic/BasicTextUI.java
9168         (RootView.setSize): Overridden to forward to real view.
9169         (getPreferredSize): Trigger setSize() on the view.
9170         (viewToModel(JTextComponent,Point)): Pass Position.Bias array
9171         to viewToModel() call, rather then null.
9172         * javax/swing/text/ParagraphView.java
9173         (changedUpdate): Invalide layout. Call super.
9174         * javax/swing/text/SimpleAttributeSet.java
9175         (clone): Use super's clone method to create clone.
9176         * javax/swing/text/StyleConstants.java
9177         (setIcon): Also set element name attribute.
9178         * javax/swing/text/StyledEditorKit.java
9179         (BoldAction.actionPerformed): Actually set the bold attribute,
9180         not italic.
9181         (setCharacterAttributes): Replaced with more straightforward
9182         impl.
9183         * javax/swing/text/TextAction.java
9184         (getFocusedComponent): Implemented.
9185         * javax/swing/text/Utilities.java
9186         (getNextVisualPositionFrom): Pass Position.Bias arrays instead
9187         of null.
9188         * javax/swing/text/View.java
9189         (changedUpdate): Nullify element change when updateChildren
9190         says so.
9191
9192 2006-08-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9193
9194         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
9195         Fix documentation typos.
9196
9197 2006-08-11  David Daney  <ddaney@avtrex.com>
9198
9199         PR classpath/28580
9200         * gnu/java/net/protocol/http/Request.java (readResponse):  Call
9201         createResponseBodyStream in more cases and with new parameter.
9202         (createResponseBodyStream):  Added new parameter mayHaveBody.  Handle
9203         HEAD and !mayHaveBody responses specially.
9204         
9205 2006-08-11  Roman Kennke  <kennke@aicas.com>
9206
9207         * javax/swing/text/GlyphView.java
9208         (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
9209         * javax/swing/text/LabelView.java
9210         (valid): New flag indicating if the text attributes are valid.
9211         (LabelView): Initialize valid field with false.
9212         (setPropertiesFromAttributes): Call setter methods instead
9213         of setting properties directly. Set valid to true.
9214         (changedUpdate): Invalidate attributes. Call super.
9215         (getBackground): Sync attributes if necessary.
9216         (getForeground): Sync attributes if necessary.
9217         (getFont): Sync attributes if necessary.
9218         (isUnderline): Sync attributes if necessary.
9219         (isSuperscript): Sync attributes if necessary.
9220         (isStrikeThrough): Sync attributes if necessary.
9221         (getFontMetrics): Sync attributes if necessary. Fetch font metrics
9222         from toolkit if Container is not available yet.
9223
9224 2006-08-11  Roman Kennke  <kennke@aicas.com>
9225
9226         * javax/swing/text/PlainView.java
9227         (tabBase): New field.
9228         (tabSize): New field.
9229         (updateMetrics): Update tabSize.
9230         (lineToRect): Only allocate when really necessary.
9231         (modelToView): Use tabBase for offset calculations.
9232         (paint): Only allocate when really necessary. Update tabBase.
9233         (nextTabStop): Fixed tab calculation.
9234         (viewToModel): Correctly handle multiline text and locations
9235         outside the view's bounds. Set bias.
9236         (getLineLength): Use tabBase.
9237         * javax/swing/text/Utilities.java
9238         (drawTabbedText): Don't special case newlines. The views
9239         must take care of this.
9240
9241 2006-08-11  Roman Kennke  <kennke@aicas.com>
9242
9243         * javax/swing/text/GapContent.java
9244         (UndoPosRef): New inner class. Used for resetting positions
9245         after undo/redo operations.
9246         (InsertUndo.positions): New field.
9247         (InsertUndo.undo): Store positions in removed range.
9248         (InsertUndo.redo): Restore positions in re-inserted range.
9249         (UndoRemove.positions): New field.
9250         (UndoRemove.UndoRemove): Store positions in removed range.
9251         (UndoRemove.undo): Restore positions in re-inserted range.
9252         (UndoRemove.redo): Store positions in removed range.
9253         (insertString): Create InsertUndo instance before actually
9254         inserting the string.
9255         (remove): Create UndoRemove instance before actually
9256         removing.
9257         (getPositionsInRange): Don't clear the Vector. Return Vector
9258         of UndoPosRefs.
9259         (updateUndoPositions): Implemented to reset all UndoPosRefs
9260         in the vector.
9261
9262 2006-08-11  Jeroen Frijters  <jeroen@frijters.net>
9263
9264         * java/io/ObjectInputStream.java (readClassDescriptor):
9265         Use class's class loader to resolve field types.
9266         * java/io/ObjectStreamField.java
9267         (ObjectStreamField(String,String,ClassLoader)): Removed.
9268         (ObjectStreamField(String,String)): Don't try to resolve typename.
9269         (resolveType): New method.
9270
9271 2006-08-10  Roman Kennke  <kennke@aicas.com>
9272
9273         * javax/swing/text/BoxView.java
9274         (calculateMajorAxisRequirements): Sum up the preferred and
9275         maximum sizes.
9276         (isAfter): Also add in the rectangle's with/height.
9277         (childAllocation): Don't trigger layout here.
9278         (layoutMinorAxis): Removed debug output.
9279         (getWidth): Consider the insets.
9280         (getHeight): Consider the insets.
9281         (setSize): Consider the insets.
9282         (updateRequirements): Check axis and throw
9283         IllegalArgumentException.
9284
9285 2006-08-10  Roman Kennke  <kennke@aicas.com>
9286
9287         * javax/swing/text/AbstractDocument.java
9288         (BidiRootName): New constant field, denotes the element name
9289         for bidi root elements.
9290         (AsyncLoadPriority): New constant field, denotes the property
9291         to store the asynchronousLoadPriority.
9292         (I18N): New constant field, denotes the property for
9293         I18N support.
9294         (bidiRoot): Made field type BidiRootElement.
9295         (AbstractDocument): Build initial element structure for
9296         bidi.
9297         (getAsynchronousLoadPriority): Implemented. Returns the
9298         value stored in the document properties.
9299         (setAsynchronousLoadPriority): Implemented. Sets the
9300         value stored in the document properties.
9301         (getEndPosition): Implemented to use a Position from the
9302         content.
9303         (getStartPosition): Implemented to use a Position from the
9304         content.
9305         (insertStringImpl): Update the I18N setting if necessary.
9306         (insertUpdate): Update the bidi structure if necessary.
9307         (postRemoveUpdate): Update the bidi structure if necessary.
9308         (putProperty): Update the I18N setting and bidi structure
9309         if necessary.
9310         (updateBidi): New helper method for updating the bidi
9311         structure.
9312         (getBidis): New helper method. Fetches the Bidi analysers
9313         for the paragraphs of the range to check.
9314         (dump): Also dump the bidi structure.
9315         (AbstractElement.dump): Indent the '>' correctly.
9316         (AbstractElement.children): Check numChildren rather then
9317         children.length.
9318         (BidiRootElement): New inner class.
9319         (BidiElement): New inner class.
9320
9321 2006-08-10  Roman Kennke  <kennke@aicas.com>
9322
9323         * javax/swing/text/GapContent.java
9324         (getChars): Optimized to only copy array when really necessary.
9325         Respect the partialReturn property.
9326
9327 2006-08-10  Lillian Angel  <langel@redhat.com>
9328
9329         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9330         (getComponentPeer): Added check to prevent NPE.
9331
9332 2006-08-10  Gary Benson  <gbenson@redhat.com>
9333
9334         * java/security/AccessControlContext.java (<init>):
9335         Avoid a duplicated AccessController.getContext() call.
9336
9337 2006-08-09  Mark Wielaard  <mark@klomp.org>
9338   
9339         * doc/www.gnu.org/newsitems.txt: Add 0.92.
9340         * doc/www.gnu.org/downloads/downloads.wml: Likewise.
9341         * doc/www.gnu.org/announce/20060809.wml: New file.
9342
9343 2006-08-09  Mark Wielaard  <mark@klomp.org>
9344
9345         * configure.ac (VERSION): Set to 0.92-generics.
9346         * NEWS: Add updates for 0.92 release.
9347
9348 2006-08-09  Tom Tromey  <tromey@redhat.com>
9349
9350         PR classpath/28658:
9351         * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
9352         the pattern match any number of spaces in the text.
9353
9354 2006-08-09  Sven de Marothy  <sven@physto.se>
9355
9356         * java/awt/image/BufferedImage.java
9357         (BufferedImage): Reimplement predefined-type constructor.
9358         (observers/tileObservers): Field renamed to tileObservers.
9359         (createDefaultIndexedColorModel): New method.
9360
9361 2006-08-09  Tom Tromey  <tromey@redhat.com>
9362
9363         PR classpath/28666:
9364         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
9365         (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
9366         Create a 'short' array.
9367
9368 2006-08-09  Tom Tromey  <tromey@redhat.com>
9369
9370         * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
9371         handle arrays.
9372         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
9373         (writeFields): Print "L" after int constant.  Don't mangle the field
9374         name.  Only print int/long fields.
9375
9376 2006-08-09  Tom Tromey  <tromey@redhat.com>
9377
9378         * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
9379         "javah".
9380
9381 2006-08-09  Sven de Marothy  <sven@physto.se>
9382
9383         * javax/swing/JTree.java
9384         (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
9385         (setSelectionModel): Null parameter should create an EmptySelectionM.
9386
9387 2006-08-09  Roman Kennke  <kennke@aicas.com>
9388
9389         * javax/swing/text/AbstractDocument.java
9390         (insertString): Perform modifications inside a write lock.
9391         (insertStringImpl): Don't lock here. This is already done
9392         in insertString().
9393         (replace): Perform modifications inside a write lock.
9394         (AbstractElement.AbstractElement): Call addAttributes() to
9395         add the attributes.
9396         (AbstractElement.getName): Fetch name from the ElementNameAttibute.
9397         (BranchElement.lastIndex): New field. Optimizes getElementIndex().
9398         (BranchElement.BranchElement): Set lastIndex to -1.
9399         (BranchElement.getElementIndex): Implemented more efficient
9400         search.
9401
9402 2006-08-09  Roman Kennke  <kennke@aicas.com>
9403
9404         * javax/swing/text/DefaultStyledDocument.java
9405         (Edit): Moved this inner class into ElementBuffer where it
9406         is actually needed.
9407         (edits): Moved this field into ElementBuffer.
9408         (getEditForParagraphAndIndex): Removed obsolete method.
9409         (insertUpdate): Added some optimizations and fixes. Split
9410         out handling insertion after newlines.
9411         (insertAfterNewline): New helper method. Handles insertions
9412         after a newline.
9413         (ElementBuffer.Edit): New inner class. Moved here from
9414         DefaultStyledDocument.
9415         (ElementBuffer.createdFracture): New field.
9416         (ElementBuffer.documentEvent): Made private.
9417         (ElementBuffer.edits): New field. Moved here from
9418         DefaultStyledDocument.
9419         (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9420         (ElementBuffer.fracturedChild): New field.
9421         (ElementBuffer.fracturedParent): New field.
9422         (ElementBuffer.insertPath): New field.
9423         (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9424         fracturedParent.
9425         (ElementBuffer.offsetLastIndex): New field.
9426         (ElementBuffer.offsetLastIndexReplace): New field.
9427         (ElementBuffer.recreateLeafs): New field.
9428         (ElementBuffer.ElementBuffer): Don't initialize stack here.
9429         (ElementBuffer.canJoin): New helper method.
9430         (ElementBuffer.changeUpdate): Changed to use elementStack with
9431         Edits rather than Elements. Let the split method do the work.
9432         (ElementBuffer.cloneAsNecessary): New helper method.
9433         (ElementBuffer.createFracture): Changed to fracture the bottommost
9434         child in the stack.
9435         (ElementBuffer.finishEdit): New helper method. Moved out
9436         from insertUpdate to perform the actual changes and update
9437         the event.
9438         (fracture): New helper method.
9439         (insertContentTag): Fixed some bugs and changed to use Edit
9440         instances in the stack, rather then Elements.
9441         (insertElement): New helper method. Moved out from insertUpdate()
9442         to process the ElementSpecs.
9443         (insertFirstContentTag): Fixed some problems and changed to use Edit
9444         instances in the stack, rather then Elements.
9445         (insertFracture): Removed. Basically moved into createFracture()
9446         and fracture().
9447         (insertParagraph): Removed.
9448         (insertUpdate): Split out the ElementSpec processing into
9449         insertElement(). Use Edit instances in the stack. Fixed some
9450         problems.
9451         (insert): Split out the preparation and finishing code into
9452         prepareEdit() and finishEdit().
9453         (join): New helper method.
9454         (pop): New helper method.
9455         (prepareEdit): New helper method.
9456         (recreateFracturedElement): New helper method.
9457         (recreateLeaves): Removed.
9458         (recreate): New helper method.
9459         (removeElements): New helper method. Split out from removeUpdate().
9460         (removeUpdate): Split out the actual removal. Use the
9461         Edit stack to perform removal and perform the remove actions
9462         and event updates afterwards, just like in insertImpl().
9463         (remove): Use prepareEdit() and finishEdit().
9464         (split): Replaced with more flexible impl.
9465
9466 2006-08-09  Sven de Marothy  <sven@physto.se>
9467
9468         * gnu/java/awt/peer/gtk/CairoSurface.java
9469         Change class to extend WritableRaster and not DataBuffer.
9470         (CairoDataBuffer): New inner class.
9471         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9472         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9473         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9474         Accomodate the above change.
9475
9476 2006-08-09  Sven de Marothy  <sven@physto.se>
9477
9478         * gnu/java/awt/peer/gtk/GtkMainThread.java
9479         New file.
9480         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9481         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9482         Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9483         * gnu/java/awt/peer/gtk/GtkToolkit.java
9484         Minor style fixes; removed unused fields, 
9485         set fields to private where possible.
9486         (createDialog, createFrame, createWindow, createEmbeddedWindow): 
9487         Call GtkMainThread.createWindow().
9488         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9489         (dispose): New method.
9490         * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9491         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9492         (gtkQuit): New native method.
9493
9494 2006-08-08  Lillian Angel  <langel@redhat.com>
9495
9496         * java/awt/Component.java
9497         (setDropTarget): Added check.
9498
9499 2006-08-08  Lillian Angel  <langel@redhat.com>
9500
9501         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9502         (GtkDragSourceContextPeer): Added FIXME. Changed call
9503         to setTarget. 
9504         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9505         (GtkDropTargetContextPeer): Removed target initialization.
9506         * java/awt/Component.java
9507         (setTarget): Removed commented out code.
9508
9509 2006-08-08  Mark Wielaard  <mark@klomp.org>
9510
9511         * javax/swing/text/DefaultHighlighter.java: Qualify
9512         Highlighter.HighlightPainter class name for gcj.
9513
9514 2006-08-05  Roman Kennke  <kennke@aicas.com>
9515
9516         * javax/swing/plaf/basic/BasicTableUI.java
9517         (MouseInputHandler.mousePressed): Request focus on list
9518         component.
9519
9520 2006-08-05  Roman Kennke  <kennke@aicas.com>
9521
9522         * javax/swing/plaf/basic/BasicListUI.java
9523         (MouseInputHandler.mousePressed): Request focus on list
9524         component.
9525
9526 2006-08-05  Roman Kennke  <kennke@aicas.com>
9527
9528         PR 28650
9529         * javax/swing/plaf/basic/BasicMenuBarUI.java
9530         (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9531         than Tree.actionMap.
9532         * javax/swing/plaf/basic/BasicTreeUI.java
9533         (action): Removed obsolete field.
9534         (uninstallKeyboardActions): Removed action field handling.
9535         (installKeyboardActions): Removed action field handling.
9536         (createDefaultActions): Don't install removed TreeAction.
9537         (TreeAction): Removed obsolete inner class.
9538         (ActionListenerProxy): Removed obsolete inner class.
9539         (MouseHandler.mousePressed): Request focus on JTree component
9540         on mouse press.
9541
9542 2006-08-08  Roman Kennke  <kennke@aicas.com>
9543
9544         * javax/swing/plaf/basic/BasicListUI.java
9545         (MouseInputHandler.mousePressed): Request focus on list
9546         component.
9547
9548 2006-08-08  Roman Kennke  <kennke@aicas.com>
9549
9550         * javax/swing/plaf/basic/BasicTableUI.java
9551         (MouseInputHandler.mousePressed): Request focus on list
9552         component.
9553
9554 2006-08-08  Roman Kennke  <kennke@aicas.com>
9555
9556         * javax/swing/plaf/basic/BasicTextUI.java
9557         (damageRange(JTextComponent,int,int)): Call damageRange() with
9558         correct biases, rather than null.
9559         (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9560         to use simpler modelToView() approach without much special
9561         casing. This seems not worth the effort and actually
9562         caused problems. Added locking of the document.
9563         * javax/swing/text/BoxView.java
9564         (requirementsValid): New field.
9565         (calculateMajorAxisRequirements): Rewritten without using
9566         SizeRequirements. The SizeRequirements algorithms are slightly
9567         different and too inefficient.
9568         (calculateMinorAxisRequirements): Rewritten without using
9569         SizeRequirements. The SizeRequirements algorithms are slightly
9570         different and too inefficient.
9571         (getAlignment): Simply return the alignment of the cached
9572         requirements.
9573         (getMaximumSpan): Add insets.
9574         (getMinimumSpan): Add insets.
9575         (getPreferredSpan): Add insets.
9576         (layoutMajorAxis): Rewritten without using
9577         SizeRequirements. The SizeRequirements algorithms are slightly
9578         different and too inefficient.
9579         (layoutMinorAxis): Rewritten without using
9580         SizeRequirements. The SizeRequirements algorithms are slightly
9581         different and too inefficient.
9582         (modelToView): Call setSize() rather than layout().
9583         (paint): Check clip for more efficient painting.
9584         (preferenceChanged): Invalidate requirements here.
9585         (replace): Invalidate requirements here.
9586         (updateRequirements): Update requirements only when requirements
9587         are marked invalid.
9588         * javax/swing/text/CompositeView.java
9589         (modelToView): Added some more checks and handling of corner cases.
9590         * javax/swing/text/FlowView.java
9591         (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9592         span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9593         * javax/swing/text/IconView.java
9594         (getAlignment): Implemented to return 1.0 for vertical alignment.
9595         * javax/swing/text/ParagraphView.java
9596         (Row.getMaximumSpan): Implemented to let Rows span the whole
9597         ParagraphView.
9598         (getAlignment): Fixed horizontal alignment and vertical alignment
9599         for empty paragraphs to be 0.5.
9600
9601 2006-08-08  Roman Kennke  <kennke@aicas.com>
9602
9603         * javax/swing/text/View.java
9604         (modelToView): Added special handling for corner case at the end
9605         of the view and for multiline views.
9606
9607 2006-08-08  Roman Kennke  <kennke@aicas.com>
9608
9609         * javax/swing/plaf/basic/BasicTextUI.java
9610         (modelToView): Read-lock the document. Set size of the
9611         root view before fetching the model-to-view mapping.
9612         (getViewIndex): Check of the position is inside the range and
9613         return -1 if this is not the case.
9614         (getViewAtPosition(int,Rectangle): Update child allocation for valid
9615         view index.
9616         (getViewIndexAtPosition(int)): Delegate the index search to
9617         the element since we have a 1:1 mapping between elements and
9618         views here.
9619         * javax/swing/text/DefaultCaret.java
9620         (appear): Ignore BadLocationException.
9621         (paint): Ignore BadLocationException.
9622         * javax/swing/text/FlowView.java
9623         (changedUpdate): Also notify the layoutPool view.
9624         (removeUpdate): Also notify the layoutPool view.
9625         * javax/swing/text/ParagraphView.java
9626         (Row.getViewIndexAtPosition): Overridden to search linearily
9627         through the view instead of relying on a 1:1 model to view
9628         mapping.
9629         * javax/swing/text/View.java
9630         (removeUpdate): Clear ElementChange object if updateChildren
9631         returns false.
9632         (forwardUpdate): Special handle some boundary cases.
9633
9634 2006-08-07  Raif S. Naffah  <raif@swiftdsl.com.au>
9635
9636         * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9637         (hasInheritedParameters): New method.
9638         (equals): Updated documentation.
9639         Take into consideration the outcome of hasInheritedParameters invocation.
9640         (toString): Call hasInheritedParameters and adjust the result accordingly.
9641         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9642         Updated documentation.
9643         Handle case of public keys with null p, q, and g MPIs.
9644         (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9645
9646 2006-08-07  Tom Tromey  <tromey@redhat.com>
9647
9648         PR libgcj/23682:
9649         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9650         (attachment): Likewise.
9651         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9652         synchronized.
9653         (isValid): Likewise.
9654         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9655         (ch): Likewise.
9656         (interestOps): Synchronize.
9657         (readyOps): Likewise.
9658         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9659         interestOps call.
9660
9661 2006-08-07  C. Scott Marshall  <csm@gnu.org>
9662
9663         Fixes PR 28608.
9664         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9665         the mark has been set.
9666         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9667         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9668         allocated data.
9669
9670 2006-08-07  Sven de Marothy  <sven@physto.se>
9671
9672         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9673         (drawGlyphVector): Synchronize against font object when drawing.
9674         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9675         (nativeDrawGlyphVector): Use pango locking when drawing.
9676         (install_font_peer): Use pango locking when creating the cairo face.
9677
9678 2006-08-06  Roman Kennke  <kennke@aicas.com>
9679
9680         PR 28571
9681         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9682         (getPreferredSize): Renamed method to preferredSize(). That's
9683         the one that gets called from java.awt.*.
9684         * java/awt/peer/ComponentPeer.java
9685         (getPreferredSize): Added specnote about this method never
9686         beeing called in the RI.
9687         (getMinimumSize): Added specnote about this method never
9688         beeing called in the RI.
9689
9690 2006-08-03  Sven de Marothy  <sven@physto.se>
9691
9692         * gnu/java/awt/peer/gtk/ComponentGraphics.java
9693         (grab, nativeGrab): New methods.
9694         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9695         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9696         (nativeGrab): New method.
9697         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9698         (print): Implement.
9699         * java/awt/Component.java
9700         (printAll): Should call peer print method.
9701
9702 2006-08-06  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
9703
9704         * java/net/URL.java (getContent(Class[])): Implement.
9705
9706 2006-08-06  Mark Wielaard  <mark@klomp.org>
9707
9708         PR 28555
9709         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9710         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9711         withParams is null.
9712         * gnu/xml/transform/ForEachNode.java (clone): Check whether
9713         sortKeys is null.
9714
9715 2006-08-06  Roman Kennke  <kennke@aicas.com>
9716
9717         * NEWS: Added note about the X peers.
9718         * INSTALL: Added install notes about the X peers. 
9719
9720 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
9721             Paul Jenner  <psj@harker.dyndns.org>
9722
9723         * README: Update bug, patches and cvs instructions plus new URLs of
9724         various external projects.
9725
9726 2006-08-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
9727
9728         * configure.ac (MOZILLA_FOUND): Fall back to
9729         mozilla-firefox-plugin.
9730
9731 2006-08-06  Mario Torre  <neugens@limasoftware.net>
9732
9733         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9734         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9735         g_type_init earlier in function to correctly initialize the
9736         type system used by the backend.
9737
9738 2006-08-05  Roman Kennke  <kennke@aicas.com>
9739   
9740         * javax/swing/text/DefaultHighlight.java
9741         (DefaultHighlightPainter.paintHighlight): Removed method.
9742         (DefaultHighlightPainter.paintLayer): Implemented.
9743         (DefaultHighlightPainter.paint): Implemented more efficient
9744         painting for multiline-highlights.
9745         (HighlightEntry.p0): Changed to be a Position.
9746         (HighlightEntry.p1): Changed to be a Position.
9747         (HighlightEntry.HighlightEntry): Changed to take Position
9748         arfuments.
9749         (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9750         (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9751         (LayerHighlightEntry): New inner class. Extends HighlightEntry
9752         and tracks the painted rectangle for efficient repainting.
9753         (addHighlight): Handle layered highlight.
9754         (changeHighlight): Handle layered highlight.
9755         (paintLayeredHighlights): Implemented.
9756         (paint): Paint only non-layered highlights here.
9757         (removeAllHighlights): Trigger correct repaint.
9758         (removeHighlight): Handle layered highlight here for
9759         more efficient repainting.
9760         * javax/swing/text/GlyphView.java
9761         (paint): Handle layered highlights.
9762         * javax/swing/text/PlainView.java
9763         (paint): Handle layered highlights.
9764         * javax/swing/text/WrappedPlainView.java
9765         (WrappedLine.paint): Handle layered highlights.
9766
9767 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9768   
9769         PR 26972
9770         * NEWS: As suggested by Paul Jennier, added note about the fix of
9771         the InitialContext.
9772
9773 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9774
9775         * NEWS: Added entry about the context factories for JNDI.
9776
9777 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9778
9779         PR 27383
9780         * gnu/CORBA/Connected_objects.java (size): New method.
9781         * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9782         New method.
9783         * javax/naming/spi/NamingManager.java (getURLContext):
9784         Also search for the URL context factories in 
9785         gnu/javax/naming/jndi/url.
9786         * gnu/javax/naming/giop/ContextContinuation.java,
9787         gnu/javax/naming/giop/CorbalocParser.java,
9788         gnu/javax/naming/giop/GiopNamingEnumeration.java,
9789         gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9790         gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9791         gnu/javax/naming/giop/ListBindingsEnumeration.java,
9792         gnu/javax/naming/giop/ListEnumeration.java,
9793         gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9794         gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9795         gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9796         gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9797         gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9798         gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9799         gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9800         gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9801
9802 2006-08-06  Sven de Marothy  <sven@physto.se>
9803
9804         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9805         (drawGlyphVector): Synchronize against font object when drawing.
9806         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9807         (nativeDrawGlyphVector): Use pango locking when drawing.
9808         (install_font_peer): Use pango locking when creating the cairo face.
9809
9810 2006-08-06  C. Scott Marshall  <csm@gnu.org>
9811
9812         Fixes PR 28608.
9813         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9814         the mark has been set.
9815         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9816         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9817         allocated data.
9818
9819 2006-08-06  Mark Wielaard  <mark@klomp.org>
9820
9821         PR 28555
9822         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9823         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9824         withParams is null.
9825         * gnu/xml/transform/ForEachNode.java (clone): Check whether
9826         sortKeys is null.
9827
9828 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
9829             Paul Jenner  <psj@harker.dyndns.org>
9830
9831         * README: Update bug, patches and cvs instructions plus new URLs of
9832         various external projects.
9833   
9834 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9835
9836         * gnu/java/lang/management/BeanImpl.java:
9837         (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9838         with open variant.
9839         (getCachedMBeanInfo()): Return open variant.
9840         (getMBeanInfo()): Likewise.
9841         (getTypeFromClass(Class)): Implemented.
9842         (translateSignature(MBeanParameterInfo)): Likewise.
9843         (translate(String)): Likewise.
9844         * javax/management/StandardMBean.java:
9845         (getMBeanInfo()): Return attribute names with capital letters,
9846         as in docs for java.lang.management.ManagementFactory, and
9847         ensure descriptions are not "".
9848         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9849         * javax/management/openmbean/OpenMBeanInfoSupport.java,
9850         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9851         (toString()): Use Arrays.toString().
9852         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9853         (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9854         Set open type here rather than in other constructors.
9855
9856 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9857
9858         * javax/management/MBeanFeatureInfo.java:
9859         Make string variable package-private.
9860         * javax/management/StandardMBean.java:
9861         (getMBeanInterface()): Made final.
9862         * javax/management/openmbean/SimpleType.java:
9863         Made final.
9864
9865 2006-08-05  Jeroen Frijters  <jeroen@frijters.net>
9866
9867         * java/awt/Component.java (setDropTarget): Commented out GTK specific
9868         code.
9869   
9870 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9871
9872         * examples/gnu/classpath/examples/swing/FillRect.java,
9873         * gnu/CORBA/Focused_ORB.java,
9874         * gnu/CORBA/interfaces/gnuSocketFactory.java,
9875         * gnu/classpath/ByteArray.java,
9876         * gnu/classpath/ObjectPool.java,
9877         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9878         * gnu/java/awt/peer/x/fonts.properties,
9879         * gnu/java/security/util/Prime2.java,
9880         * gnu/javax/imageio/gif/GIFStream.java,
9881         * javax/swing/text/html/HTMLTableView.java,
9882         * native/cni/Makefile.am,
9883         * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9884         * org/omg/CORBA/SendingContext/Runtime.java,
9885         * resource/gnu/regexp/MessagesBundle.properties,
9886         * resource/gnu/regexp/MessagesBundle_fr.properties,
9887         * resource/gnu/regexp/MessagesBundle_it.properties,
9888         * tools/appletviewer.in,
9889         * tools/jarsigner.in,
9890         * tools/keytool.in,
9891         * vm/reference/java/lang/management/VMThreadInfo.java:
9892         Removed.
9893         * examples/gnu/classpath/examples/awt/aicas.png,
9894         * examples/gnu/classpath/examples/awt/palme.gif,
9895         * examples/gnu/classpath/examples/java2d/aicas.png,
9896         * examples/gnu/classpath/examples/java2d/palme.gif,
9897         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9898         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9899         * java/awt/doc-files/capjoin.png,
9900         * java/awt/geom/doc-files/Area-1.png,
9901         * java/awt/geom/doc-files/Ellipse-1.png,
9902         * java/awt/geom/doc-files/GeneralPath-1.png:
9903         Added.
9904         
9905 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9906
9907         * configdiag.jnlp:
9908         Removed.
9909         
9910 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9911
9912         * gnu/java/lang/management/BeanImpl.java:
9913         (getAttribute(String)): Implemented.
9914
9915 2006-08-05  Roman Kennke  <kennke@aicas.com>
9916
9917         * javax/swing/text/JTextComponent.java
9918         (AccessibleJTextComponent.dot): Renamed field into caretDot.
9919         (AccessibleJTextComponent.textComp): Removed field
9920         and replace with JTextComponent.this construct.
9921         (AccessibleJTextComponent.AccessibleJTextComponent):
9922         Fetch caret position.
9923         (caretUpdate): Implemented. Fires property change events and
9924         updates the caretDot field.
9925         (changedUpdate): Implemented. Fires property change events.
9926         (insertUpdate): Implemented. Fires property change events.
9927         (removeUpdate): Implemented. Fires property change events.
9928         (cut): Replaced textComp with JTextComponent.this construct.
9929         (paste): Replaced textComp with JTextComponent.this construct.
9930         (replaceText): Replaced textComp with JTextComponent.this construct.
9931         (selectText): Replaced textComp with JTextComponent.this construct.
9932         (getCaretPosition): Replaced textComp with JTextComponent.this
9933         construct.
9934         (getCharCount): Replaced textComp with JTextComponent.this construct.
9935         (getSelectedText): Replaced textComp with JTextComponent.this
9936         construct.
9937         (getSelectionEnd): Replaced textComp with JTextComponent.this
9938         construct.
9939         (getSelectionStart): Replaced textComp with JTextComponent.this
9940         construct.
9941         (getTextRange): Replaced textComp with JTextComponent.this
9942         construct.
9943         (doAccessibleAction): Implemented.
9944         (getAccessibleActionCount): Implemented.
9945         (getAccessibleActionDescription): Implemented.
9946         (getAccessibleStateSet): Implemented.
9947         (getAfterIndex): Implemented.
9948         (getBeforeIndex): Implemented.
9949         (getAtIndex): Implemented.
9950         (getAtIndexImpl): New helper method.
9951         (getCharacterAttribute): Implemented.
9952         (getCharacterBounds): Implemented.
9953         (getIndexAtPoint): Implemented. 
9954         (insertTextAtIndex): Implemented.
9955         (setAttributes): Implemented.
9956         (setTextContents): Implemented.
9957
9958 2006-08-05  Raif S. Naffah  <raif@swiftdsl.com.au>
9959   
9960         * configure.ac: Better handling of default-preferences-peer option.
9961
9962 2006-08-04  Andreas Tobler  <a.tobler@schweiz.ch>
9963
9964         * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9965         double[].
9966
9967 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9968
9969         * javax/management/openmbean/TabularData.java:
9970         Documentation corrections.
9971         * javax/management/openmbean/TabularDataSupport.java:
9972         New file.
9973
9974 2006-08-04  Francis Kung  <fkung@redhat.com>
9975
9976         * java/awt/BasicStroke.java
9977         (dashedStroke): Implemented.
9978
9979 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9980
9981         * javax/management/BadAttributeValueExpException.java,
9982         * javax/management/BadStringOperationException.java,
9983         * javax/management/InstanceAlreadyExistsException.java,
9984         * javax/management/InstanceNotFoundException.java,
9985         * javax/management/InvalidApplicationException.java,
9986         * javax/management/MBeanRegistrationException.java,
9987         * javax/management/MalformedObjectNameException.java,
9988         * javax/management/RuntimeErrorException.java,
9989         * javax/management/RuntimeMBeanException.java,
9990         * javax/management/ServiceNotFoundException.java:
9991         New files.
9992         
9993 2006-08-04  Roman Kennke  <kennke@aicas.com>
9994
9995         * javax/swing/SwingUtilities.java
9996         (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9997          int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9998         layoutCompoundLabelImpl().
9999         (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
10000          Rectangle,Rectangle,Rectangle,int)): Delegate to new
10001         layoutCompoundLabelImpl().
10002         (layoutCompoundLabelImpl): New helper method. Moved impl from
10003         layoutCompoundLabel() to here and added handling of HTML.
10004         * javax/swing/plaf/basic/BasicButtonUI.java
10005         (installUI): Update HTML view if appropriate.
10006         (uninstallUI): New method. Do the usual uninstallUI things
10007         and uninstall HTML view.
10008         (getMinimumSize): New method. Adjusts the minimum size
10009         by the HTML view minimum size.
10010         (getMaximumSize): New method. Adjusts the maximum size
10011         by the HTML view maximum size.
10012         (getPreferredSize): Pass the button's iconTextGap to the
10013         BasicGraphicsUtils method.
10014         (paint): Let HTML view paint the text, if present.
10015         * javax/swing/plaf/basic/BasicButtonListener.java
10016         (propertyChange): Update the HTML view when the button's
10017         text is changed.
10018         
10019 2006-08-04  Mario Torre  <neugens@limasoftware.net>
10020
10021         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
10022         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
10023         g_type_init earlier in function to correctly initialize the
10024         type system used by the backend.
10025
10026 2006-08-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
10027
10028         PR 26972
10029         * javax/naming/Name.java (addAll, getPrefix, getSuffix):
10030         Documented.
10031         * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
10032
10033 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
10034
10035         Reported by Henrik Gulbrandsen <henrik@gulbra.net>
10036         Fixes PR27864.
10037         * gnu/xml/dom/DomIterator.java:
10038         (successor): Added if-statement.
10039
10040 2006-08-04  Mark Wielaard  <mark@klomp.org>
10041
10042         * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
10043
10044 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
10045
10046         * javax/swing/plaf/metal/MetalMenuBarUI.java:
10047         (update): Check size and paint smaller gradient.
10048         * javax/swing/plaf/metal/MetalBorders.java:
10049         (MenuBarBorder): Removed borderColor field.
10050         (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
10051         MetalLookAndFeel.
10052
10053 2006-08-03  Roman Kennke  <kennke@aicas.com>
10054
10055         PR 27637
10056         * javax/swing/plaf/basic/BasicInternalFrameUI.java
10057         (ComponentHandler.componentResized): Reimplemented to handle
10058         arbitrary parents.
10059         (InternalFramePropertyChangeHandler.propertyChange): (Un)install
10060         component listener on changed ancestor.
10061         (installListeners): Install componentListener.
10062         (uninstallListeners): Uninstall componentListener.
10063
10064 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
10065
10066         * StrictMath.java (cbrt): Return argument if it is a NaN.
10067         (cosh): Likewise.
10068         (expm1): Likewise.
10069         (sinh): Likewise.
10070   
10071 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
10072   
10073         * java/lang/StrictMath.java (tanh): New method.
10074   
10075 2006-08-03  Raif S. Naffah  <raif@swiftdsl.com.au>
10076   
10077         * scripts/import-cacerts.sh: Batch CA certificates import script.
10078   
10079 2006-08-03  Roman Kennke  <kennke@aicas.com>
10080
10081         PR 27606
10082         * javax/swing/plaf/basic/BasicListUI.java
10083         (paintCell): Pass row index to cell renderer.
10084         * javax/swing/plaf/basic/MetalFileChooserUI.java
10085         (DirectoryComboBoxRenderer.indentIcon): New field.
10086         (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
10087         Initialize indentIcon.
10088         (DirectoryComboBoxRenderer.getListCellRendererComponent):
10089         Fall back to super and removed standard functionality.
10090         Handle indentation.
10091         (IndentIcon): New class. Wraps and indents another icon.
10092
10093 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10094
10095         * javax/management/MBeanConstructorInfo.java:
10096         (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
10097         Copy array rather than directly assigning.
10098         * javax/management/MBeanInfo.java:
10099         (MBeanInfo(String,String,MBeanAttributeInfo[],
10100         MBeanConstructorInfo[], MBeanOperationInfo[],
10101         MBeanNotificationInfo[])): Likewise.
10102         * javax/management/MBeanOperationInfo.java:
10103         (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
10104         Likewise.
10105         * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
10106         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
10107         New files.
10108         * javax/management/openmbean/OpenMBeanInfo.java:
10109         Corrected documentation.
10110         * javax/management/openmbean/OpenMBeanInfoSupport.java:
10111         New file.
10112         * javax/management/openmbean/OpenMBeanOperationInfo.java:
10113         Corrected documentation.
10114         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10115         New file.
10116         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10117         (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
10118         Call other constructor rather than reimplementing.
10119
10120 2006-08-02  Lillian Angel  <langel@redhat.com>
10121
10122         * java/awt/dnd/DragSource.java
10123         (isDragImageSupported): Implemented.
10124         (getDragThreshold): Changed default value.
10125         * java/awt/dnd/DropTarget.java
10126         (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
10127         (DropTarget): Likewise.
10128         (DropTarget): If FlavorMap passed in is null, we should use the system default.
10129         (addDropTargetListener): Added check to determine if new DropTargetListener
10130         is this class. If so, an IllegalArgumentException is thrown. If the 
10131         new listener is null, nothing happens.
10132
10133 2006-08-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
10134
10135         * configure.ac (MOZILLA_FOUND): Fall back to
10136         mozilla-firefox-plugin.
10137
10138 2006-08-02  Sven de Marothy  <sven@physto.se>
10139
10140         * java/awt/geom/AffineTransform.java
10141         (hashCode): Tweak impl. 
10142         * java/awt/font/FontRenderContext.java
10143         (hashCode): Implement. 
10144
10145 2006-08-02  Carsten Neumann  <cn-develop@gmx.net>
10146
10147         * java/lang/StrictMath.java (sinh): New method.
10148
10149 2006-08-02  Roman Kennke  <kennke@aicas.com>
10150
10151         PR 27605
10152         * javax/swing/JComboBox.java
10153         (setSelectedItem): Fire ActionEvent here.
10154         * javax/swing/plaf/basic/BasicDirectoryModel.java
10155         (directories): Changed to type Vector.
10156         (files): New field.
10157         (loadThread): New field.
10158         (DirectoryLoadThread): New inner class. This loads the contents
10159         of directories asynchronously.
10160         (getDirectories): Return cached Vector.
10161         (getFiles): Return cached Vector.
10162         (getSize): Return plain size of contents Vector.
10163         (propertyChange): Reread directory also for DIRECTORY_CHANGED,
10164         FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
10165         (sort): Don't store sorted list in contents. This must be done
10166         asynchronously from the EventThread.
10167         (validateFileCache): Rewritten for asynchronous reading
10168         of directory contents.
10169         * javax/swing/plaf/basic/BasicFileChooserUI.java
10170         (installListeners): Install model as PropertyChangeListener.
10171         (uninstallListeners): Uninstall model as PropertyChangeListener.
10172         (createPropertyChangeListener): Return null just like the
10173         RI.
10174
10175 2006-08-02  Sven de Marothy  <sven@physto.se>
10176   
10177         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10178         (remove): Force event on removing item 0 when it's selected.
10179         (handleEvent): Always call Choice.selected().
10180         * java/awt/Choice.java:
10181         (remove): Simplify and correct.
10182   
10183 2006-08-02  Mark Wielaard  <mark@klomp.org>
10184   
10185         PR 28535
10186         * configure.ac (gconf-peer): Check for gdk-2.0.
10187         * native/jni/gconf-peer/Makefile.am
10188         (AM_LDFLAGS): Use GDK_LIBS.
10189         (AM_CFLAGS): Use GDK_CFLAGS.
10190   
10191 2006-08-02  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
10192   
10193         * java/net/URL.java (getContent(Class[])): Implement.
10194   
10195 2006-08-02  Roman Kennke  <kennke@aicas.com>
10196   
10197         PR 27624
10198         * javax/swing/JMenu.java
10199         (JMenu()): Removed setting of delay.
10200         (JMenu(String)): Removed setting of delay.
10201         (JMenu(Action)): Removed setting of delay.
10202         (JMenu(String,boolean)): Removed setting of delay.
10203         (setSelectedHelper): Removed unneeded method.
10204         (setSelected): Simply set the model state.
10205         (setPopupMenuVisible): Recognize the popup location
10206         determined by getPopupMenuOrigin().
10207         (getPopupMenuOrigin): Recognize the UI properties for
10208         X and Y offset.
10209         (menuSelectionChanged): Call setSelected() directly.
10210         * javax/swing/JPopupMenu.java
10211         (menuSelectionChanged): If invoker is a JMenu, then delegate
10212         to that to get the position right.
10213         * javax/swing/Popup.java
10214         (LightweightPopup.show): Insert the popup as first component
10215         in the layer, so that it overlaps it's caller.
10216         * javax/swing/plaf/basic/BasicMenuItemUI.java
10217         (getPath): Don't include the popup.
10218         * javax/swing/plaf/basic/BasicMenuUI.java
10219         (SelectMenuAction): New class. This invokes the popup when
10220         a menu is selected.
10221         (installDefaults): Install delay of 200 ms.
10222         (setupPostTimer): Implemented.
10223         (MouseInputHandler.mouseClicked): Do nothing here.
10224         (MouseInputHandler.mouseEntered): Use MenuSelectionManager
10225         magic to handle the selection. Open the menu via a timer.
10226         (MouseInputHandler.mousePressed): Use MenuSelectionManager
10227         magic to handle the selection. Open the menu via a timer.
10228         (MenuDragMouseHandler.menuMouseDragged): Probably use
10229         timer.
10230         (menuDragMouseEntered): Do nothing here.
10231   
10232 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10233         
10234         * javax/management/openmbean/InvalidOpenTypeException.java,
10235         * javax/management/openmbean/KeyAlreadyExistsException.java:
10236         New files.
10237
10238 2006-08-02  Roman Kennke  <kennke@aicas.com>
10239
10240         PR 27604
10241         * javax/swing/plaf/basic/BasicChooserUI.java
10242         (BasicFileView.getName): Fetch the real name from the
10243         file chooser's FileSystemView.
10244         * javax/swing/plaf/metal/MetalChooserUI.java
10245         (DirectoryComboBoxRenderer.getListCellRendererComponent):
10246         Set the text fetched from the JFileChooser.getName().
10247         * javax/swing/FileSystemView.java
10248         (createFileObject): When file is a filesystem root,
10249         create a filesystem root object first.
10250         (getSystemDisplayName): Return the filename. Added specnote
10251         about ShellFolder class that is mentioned in the spec.
10252         * javax/swing/UnixFileSystemView.java
10253         (getSystemDisplayName): Implemented to return the real name
10254         of a file, special handling files like '.' or '..'.
10255
10256 2006-08-03  Mark Wielaard  <mark@klomp.org>
10257
10258         * examples/gnu/classpath/examples/icons/badge.png: Add file.
10259
10260 2006-08-03  Roman Kennke  <kennke@aicas.com>
10261
10262         PR 28562
10263         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10264         (PropertyChangeHandler.propertyChange): Cleanly reinstall
10265         components when visual property chanegs.
10266
10267 2006-08-03  Roman Kennke  <kennke@aicas.com>
10268
10269         PR 28562
10270         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10271         (PropertyChangeHandler.propertyChange): Uninstall and reinstall
10272         component when visual properties change.
10273
10274 2006-08-03  Roman Kennke  <kennke@aicas.com>
10275
10276         PR 28534
10277         * javax/swing/JTree.java
10278         (JTree(TreeModel)): Set cell renderer to null.
10279         * javax/swing/plaf/basic/BasicTreeUI.java
10280         (setCellRenderer): Finish editing before setting the
10281         cell renderer. Refresh the layout. Don't set the
10282         currentCellRenderer field here (that's done in updateRenderer).
10283         (updateRenderer): Handle createdRenderer field here too.
10284         Set renderer to a default handler when the current renderer
10285         in the JTree is null.
10286
10287 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
10288
10289         PR Classpath/23899
10290         * java/security/SecureRandom.java (next): Call nextBytes as per specs.
10291
10292 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
10293
10294         PR Classpath/28556
10295         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
10296         Updated documentation to clarify that RFC-2459 states that the parameters
10297         field of the AlgorithmIdentifier element MUST be NULL if present.
10298         Amended the code to reflect the specs.
10299         (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
10300
10301 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10302
10303         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10304         Call parameter 'defaultValue' not 'defValue'.
10305
10306 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10307
10308         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10309         New file.
10310
10311 2006-08-01  Roman Kennke  <kennke@aicas.com>
10312   
10313         PR 28562
10314         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10315         (PropertyChangeHandler.propertyChange): Cleanly reinstall
10316         components when visual property chanegs.
10317   
10318 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10319
10320         * javax/management/openmbean/OpenMBeanAttributeInfo.java:
10321         (toString()): Corrected documentation.
10322         * javax/management/openmbean/OpenMBeanConstructorInfo.java,
10323         * javax/management/openmbean/OpenMBeanInfo.java,
10324         * javax/management/openmbean/OpenMBeanOperationInfo.java:
10325         New files.
10326         * javax/management/openmbean/OpenMBeanParameterInfo.java:
10327         (toString()): Corrected documentation.
10328         
10329 2006-08-01  Tania Bento  <tbento@redhat.com>
10330
10331         * java/awt/Choice.java
10332         (remove(int)): Added documentation.
10333
10334 2006-08-01  Tania Bento  <tbento@redhat.com>
10335         
10336         * java/awt/Choice.java
10337         (remove(int)): An IllegalArgumentException should not be thrown
10338         if int is invalid.  Update selectedIndex and peer selection.
10339
10340 2006-08-01  Tania Bento  <tbento@redhat.com>
10341
10342         * java/awt/CardLayout.java
10343         (toString): Changed format of string outputted.
10344         (goToComponent): Changed the order of the if-clause.
10345
10346 2006-07-31  Tom Tromey  <tromey@redhat.com>
10347
10348         * INSTALL: Updated for ASM.
10349
10350 2006-07-31  Tom Tromey  <tromey@redhat.com>
10351
10352         PR libgcj/23682:
10353         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10354         (attachment): Likewise.
10355         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10356         synchronized.
10357         (isValid): Likewise.
10358         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10359         (ch): Likewise.
10360         (interestOps): Synchronize.
10361         (readyOps): Likewise.
10362         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10363         interestOps call.
10364
10365 2006-07-31  Roman Kennke  <kennke@aicas.com>
10366
10367         * NEWS: Added note about the X peers.
10368         * INSTALL: Added install notes about the X peers.
10369
10370 2006-07-31  Carsten Neumann  <cn-develop@gmx.net>
10371
10372         * StrictMath.java (getLowDWord): Return long instead of int.
10373         (getHighDWord): Likewise.
10374         (buildDouble): Take two long arguments.
10375         (cbrt): Adapted to int -> long change.
10376         (expm1): Likewise.
10377         (cosh): Likewise.
10378
10379 2006-07-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
10380
10381         * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
10382         -avoid-version.
10383
10384 2006-07-31  Raif S. Naffah  <raif@swiftdsl.com.au>
10385
10386         * java/security/Provider.java: Updated copyright year.
10387         Updated documentation.
10388         Formatting.
10389         (put): Updated documentation.
10390         Added security manager check.
10391         Canonicalize the key before adding its mapping.
10392         (get): Override superclass implementation to use canonicalized keys.
10393         (remove): Updated documentation.
10394         Added security manager check.
10395         Canonicalize the key before removing its mapping.
10396         (clear): Updated documentation.
10397         Added security manager check.
10398         (toCanonicalKey): New method.
10399
10400 2006-07-30  Matt Wringe  <mwringe@redhat.com>
10401
10402         * gnu/java/security/Engine.java
10403         (getInstance): Ignore self referencing aliases.
10404
10405 2006-07-30  Mark Wielaard  <mark@klomp.org>
10406
10407         * javax/swing/JComponent.java (getListeners): Revert
10408         un-genericization.
10409
10410 2006-07-30  Mark Wielaard  <mark@klomp.org>
10411
10412         * resource/java/security/classpath.security: Add /dev/urandom as
10413         default securerandom.source.
10414
10415 2006-07-30  Mark Wielaard  <mark@klomp.org>
10416
10417         * java/util/GregorianCalendar.java (maximums): Months can have up to
10418         6 weeks.
10419         (nonLeniencyCheck): weeks is either 5 or 6.
10420
10421 2006-07-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10422         
10423         * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10424         * javax/management/openmbean/OpenMBeanParameterInfo.java:
10425         New files.
10426
10427 2006-07-30  Matt Wringe  <mwringe@redhat.com>
10428
10429         * gnu/java/security/Engine.java 
10430         (getInstance): Ignore self referencing aliases.
10431
10432 2006-07-30  Sven de Marothy  <sven@physto.se>
10433
10434         * java/awt/Choice.java:
10435         (accessibleAction): Call select() directly.
10436         (add, insert, remove): Reimplement.
10437         (dispatchEventImpl): Always call super.
10438         (processItemEvent): Does not set the index.
10439         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10440         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10441         (append): removed.
10442         (nativeAdd): Name changed to add.
10443         (selection_changed_cb): Simplify callback.
10444         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10445         (selected): New field.
10446         (add): Replaced with native impl.
10447         (handleEvent): New method.      
10448         
10449 2006-07-30  Sven de Marothy  <sven@physto.se>
10450
10451         * java/awt/Choice.java:
10452         Reformat, fix copyright year.
10453
10454 2006-07-29  Mark Wielaard  <mark@klomp.org>
10455
10456         * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10457         static field isPaintingDoubleBuffered to not have the same name
10458         as a method.
10459
10460 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10461   
10462         * examples/gnu/classpath/examples/management/TestBeans.java:
10463         New file.
10464         * javax/management/MBeanAttributeInfo.java:
10465         (toString()): Implemented.
10466         * javax/management/MBeanConstructorInfo.java:
10467         (toString()): Implemented.
10468         * javax/management/MBeanFeatureInfo.java:
10469         (toString()): Implemented.
10470         * javax/management/MBeanInfo.java:
10471         (toString()): Implemented.
10472         * javax/management/MBeanNotificationInfo.java:
10473         (toString()): Implemented.
10474         * javax/management/MBeanOperationInfo.java:
10475         (toString()): Implemented.
10476         * javax/management/MBeanParameterInfo.java:
10477         (toString()): Implemented.
10478         * javax/management/StandardMBean.java:
10479         (getMBeanInfo()): Fix attribute naming.
10480
10481 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10482
10483         * gnu/java/lang/management/BeanImpl.java:
10484         Extended javax.management.StandardMBean.
10485         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10486         * gnu/java/lang/management/CompilationMXBeanImpl.java,
10487         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10488         * gnu/java/lang/management/MemoryMXBeanImpl.java,
10489         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10490         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10491         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10492         * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10493         * gnu/java/lang/management/ThreadMXBeanImpl.java:
10494         Call the superclass with the appropriate class.
10495         * java/lang/management/ManagementFactory.java:
10496         (getOperatingSystemMXBean()): Catch exception from
10497         StandardMBean.
10498         (getRuntimeMXBean()): Likewise.
10499         (getClassLoadingMXBean()): Likewise.
10500         (getThreadMXBean()): Likewise.
10501         (getMemoryMXBean()): Likewise.
10502         (getCompilationMXBean()): Likewise.
10503         (getMemoryPoolMXBeans()): Likewise.
10504         (getMemoryManagerMXBeans()): Likewise.
10505         (getGarbageCollectorMXBeans()): Likewise.
10506         * javax/management/MBeanFeatureInfo.java:
10507         hashCode()): Fixed to check for null values.
10508
10509 2006-07-29  Matt Wringe  <mwringe@redhat.com>
10510
10511         * gnu/java/security/Engine.java
10512         (getInstance): Add case insentivity to algorithm names
10513         * java/security/Provider.java
10514         (put): Stop using canonical key naming
10515         (remove): Likewise
10516         (toCanonicalKey): Method removed
10517         (get): Method removed, no longer needs to overwrite
10518         parent implementation
10519
10520 2006-07-29  Mark Wielaard  <mark@klomp.org>
10521
10522         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10523         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10524         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10525         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10526         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10527         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10528         Removed.
10529
10530 2006-07-29  Sven de Marothy  <sven@physto.se>
10531
10532         * java/math/BigDecimal.java
10533         Adjust copyright date.
10534         (divide(BigDecimal): Implement.
10535         (precision): Reimplement.
10536         (numDigitsInBigInteger, numDigitsInLong): Removed.
10537         (toString): Get exponent from string length,
10538         fix negative values with exponential form.
10539         (toEngineeringString): Same as for toString.
10540         (setScale): Throw ArithmeticException if scale < 0.
10541
10542 2006-07-27  Francis Kung  <fkung@redhat.com>
10543
10544         * gnu/java/awt/java2d/CubicSegment.java: Added import.
10545         (cp1): Renamed from first().
10546         (c2): Renamed from last().
10547         (first): Renamed to cp1().
10548         (getDisplacedSegments): Implemented.
10549         (last): Renamed to cp2().
10550         * gnu/java/awt/java2d/LineSegment.java
10551         (cp1): Renamed from first().
10552         (c2): Renamed from last().
10553         (first): Renamed to cp1().
10554         (last): Renamed to cp2().
10555         * gnu/java/awt/java2d/QuadSegment.java
10556         (cp1): Renamed from first().
10557         (c2): Renamed from last().
10558         (first): Renamed to cp1().
10559         (last): Renamed to cp2().
10560         * gnu/java/awt/java2d/Segment.java: Added comments.
10561         (first): New field.
10562         (Segment): Keep track of first element in list.
10563         (add): Update first & last element variables.
10564         (cp1): Renamed from first().
10565         (c2): Renamed from last().
10566         (first()): Renamed to cp1() to reduce ambiguity.
10567         (last()): Renamed to cp2() to reduce ambiguity.
10568         (reverseAll): Update first element variable..
10569         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10570         (draw): Remove flattening path iterator.
10571         * java/awt/BasicStroke.java: Clarified comments.
10572         (addSegments): Refactored some code into joinSegments and
10573         joinInnerSegments.
10574         (capEnd): Rename of Segment.first() and Segment.end().
10575         (joinInnerSegments): New method.
10576         (joinOuterSegments): New method.
10577         (joinSegments): Refactored some code into joinOuterSegments.
10578         (solidStroke): Connect segments together properly.
10579
10580 2006-07-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
10581
10582         * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10583         -avoid-version.
10584         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10585         Likewise.
10586         * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10587         Likewise.
10588         * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10589         Likewise.
10590
10591 2006-07-28  Tom Tromey  <tromey@redhat.com>
10592
10593         * configure.ac: Enable -Werror by default on Linux-with-gcc.
10594
10595 2006-07-28  Lillian Angel  <langel@redhat.com>
10596
10597         * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10598         Removed function declarations.
10599         (connect_signals_for_widget): Removed implementation because
10600         stub functions have been removed.
10601         (drag_begin_cb): Removed function.
10602         (drag_motion_cb): Likewise.
10603         (drag_data_get_cb): Likewise.
10604         (drag_data_delete_cb): Likewise.
10605         (drag_drop_cb): Likewise.
10606         (drag_end_cb): Likewise.
10607         (drag_data_received_cb): Likewise.      
10608
10609 2006-07-28  Mark Wielaard  <mark@klomp.org>
10610
10611         * configure.ac: Set version to 0.93-pre.
10612
10613 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
10614
10615         * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10616
10617 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
10618
10619         * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10620         (getCallbackHandler): Fully qualify linked class in javadoc.
10621         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10622         * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10623         * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10624
10625 2006-07-27  Tom Tromey  <tromey@redhat.com>
10626
10627         PR classpath/28486:
10628         * java/net/URLStreamHandler.java (equals): Properly handle default
10629         port.  Rewrote javadoc.  Don't compare 'authority' parts of URLs.
10630
10631 2006-07-27  Roman Kennke  <kennke@aicas.com>
10632
10633         * javax/swing/text/AbstractDocument.java
10634         (documentCV): Made field private.
10635         (bypass): Made field private.
10636         (bidiRoot): New field.
10637         (AbstractDocument): Initialize bidiRoot.
10638         (getBidiRootElement): Return bidiRoot.
10639         (getRootElements): Adjusted to also return the bidiRoot element.
10640         (BranchElement.startOffset): Removed unneeded field.
10641         (BranchElement.endOffset): Removed unneeded field.
10642         (BranchElement.BranchElement): Removed unneeded fields.
10643         (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10644         done automatically when there's no element left in the array.
10645         (BranchElement.getStartOffset): Likewise.
10646         (BranchElement.replace): Reordered calculations to avoid double
10647         calculations.
10648         (removeImpl): Silently ignore requests with length <= 0.
10649         * javax/swing/text/GapContent.java
10650         (createPosition): Removed explicit check for correct offset.
10651         This class can deal with offsets outside the document.
10652         (shiftEnd): Update all positions, even those outside the
10653         document.
10654         (adjustPositionsInRange): Fixed to also adjust positions outside
10655         the document boundary.
10656
10657 2006-07-18  Kyle Galloway  <kgallowa@redhat.com>
10658
10659     * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10660     defining class.
10661     (getParameter): Returns _klass field instead of determining
10662     class from _instance.
10663     (setCatchLoc): New method.
10664     (writeData): Now assumes Location deals with empty locations instead of
10665     using null.
10666     * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10667     locations and write out accordingly.
10668     (getEmptyLocation): New method. 
10669
10670 2006-07-27  Roman Kennke  <kennke@aicas.com>
10671
10672         * javax/swing/text/SimpleAttributeSet.java
10673         (EMPTY): Use EmptyAttributeSet for this field rather than
10674         SimpleAttributeSet.
10675         * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10676         an empty and immutable AttributeSet.
10677
10678 2006-07-27  Roman Kennke  <kennke@aicas.com>
10679
10680         * java/awt/Component.java
10681         (reshape): Invalidate the component itself only when the
10682         size has changed. Invalidate the parent always. Fixed
10683         repainting. Pulled out the notification into
10684         notifyReshape().
10685         (notifyReshape): New helper method. Notify interested listeners
10686         about a reshape.
10687         (update): Simply call paint() without clearing the background.
10688         This is done in Container.update() if appropriate.
10689         (repaint): Delagate the repaint to the nearest heavyweight
10690         parent (for lightweights) and send an UPDATE event, rather than
10691         calling ComponentPeer.repaint().
10692         * java/awt/Container.java
10693         (backCleared): Removed field.
10694         (paint): Removed handling of backCleared flag.
10695         (update): Only paint if the container is actually
10696         showing. Removed handling of backCleared flag.
10697
10698 2006-07-27  Robert Schuster <robertschuster@fsfe.org>
10699
10700         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10701         authorship.
10702         (NavigateAction): New inner class.
10703         (NavigatePageDownAction): New inner class.
10704         (NavigatePageUpAction): New inner class.
10705         (RequestFocusAction): New inner class.
10706         (RequestFocusForVisibleComponentAction): New inner class.
10707         (FocusHandler.focusGained): Implemented.
10708         (FocusHandler.focusLost): Implemented.
10709         (MouseHandler.mouseReleased): Implemented.
10710         (MouseHandler.mousePressed): Rewritten.
10711         (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10712         currentScrollLocation to 0.
10713         (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10714         removed local variables, fixed indentation to stay under 80 column
10715         limit.
10716         (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10717         one, set selectedIndex to 0 if its negative, corrected start values
10718         for normalization, suppressed padding when only one tab run,
10719         (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10720         (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10721         80 column limit, corrected the starting value for the bounds fixing
10722         phase.
10723         (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10724         (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10725         selectedRun, set start index for loop to 0.
10726         (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10727         (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10728         (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10729         alignment and visibility handling.
10730         (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10731         layout mode.
10732         (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10733         (currentScrollOffset): New field.
10734         (tabRuns): Rewritten documentation.
10735         (selectedColor): New field.
10736         (tempTextRect): New field.
10737         (tempIconRect): New field.
10738         (scrollTab): New method.
10739         (updateButtons): New method.
10740         (updateViewPosition): New method.
10741         (createLayoutManager): Reordered method calls, predefine new fields,
10742         register proper listeners.
10743         (uninstallComponents): Implemented.
10744         (installDefaults): Corrected property names, fixed indentation,.
10745         (uninstallDefaults): Set new fields to null.
10746         (uninstallListeners): Remove listeners from components neccessary for
10747         scrolling tab layout.
10748         (installKeyboardActions): Implemented.
10749         (uninstallKeyboardActions): Implemented.
10750         (paint): Paint tab area background.
10751         (paintTabArea): Fixed indentation, removed usage of local Rectangle
10752         objects.
10753         (getTabLabelShiftX): Rewritten.
10754         (getTabLabelShiftY): Rewritten.
10755         (paintFocusIndicator): Reindented.
10756         (paintTabBorder): Rewritten.
10757         (paintTabBackground): Corrected color usage, rewritten background
10758         rectangle painting.
10759         (paintContentBorderTopEdge): Rewritten.
10760         (paintContentBorderBottomEdge): Rewritten.
10761         (paintContentBorderLeftEdge): Rewritten.
10762         (paintContentBorderRightEdge): Rewritten.
10763         (tabForCoordinate): Return selected index when no tab could be
10764         found, removed FIXME note.
10765         (getRunForTab): Changed return value for first if-statement.
10766         (navigateSelectedTab): Fixed last argument for both
10767         getTabRunOffset() calls.
10768         (selectedNextTabInRun): Added scrolling code.
10769         (selectedPreviousTabInRun): Added scrolling code.
10770         (selectedNextTab): Added scrolling code.
10771         (selectedPreviousTab): Added scrolling code.
10772         (selectAdjacentRunTab): Added scrolling code.
10773         (getTextViewForTab): Added FIXME note.
10774         (calculateTabHeight): Changed FIXME note.
10775         (getTabRunOffset): Fixed indentation.
10776         (getNextTabIndexInRun): Corrected return value.
10777         (rotateInsets): Make TOP case the default in switch-statement.
10778         (getActionMap): New method.
10779         (createActionMap): New method.
10780         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10781         (createLayoutManager): Rewritten.
10782         (paintLeftTabBorder): Do not paint left line when previous tab
10783         is selected but current tab is the first in its run, do not paint
10784         left line when current tab is selected and is first in its run.
10785         (paintRightTabBorder): Added missing setColor() call, fixed color
10786         usage, do not paint right line if previous tab is selected but
10787         current tab is the first in its run.
10788         (paintBottomTabBorder): Do not paint left line if tab is selected
10789         and is the first tab in the last run.
10790         (paintFocusIndicator): New method.
10791         (getLabelShiftX): New method.
10792         (getLabelShiftY): New method.
10793
10794 2006-07-27  Andreas Tobler  <a.tobler@schweiz.ch>
10795
10796         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10797         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10798         g_assert from unused obj.
10799         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10800         obj as unused and remove g_assert on it.
10801
10802 2006-07-26  Roman Kennke  <kennke@aicas.com>
10803
10804         * javax/swing/RepaintManager.java
10805         (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10806         for the component.
10807         (isCompletelyDirty): Consider a component completely dirty
10808         when it has a dirty region with Integer.MAX_VALUE.
10809
10810 2006-07-26  Roman Kennke  <kennke@aicas.com>
10811
10812         * java/awt/KeyboardFocusManager.java
10813         (getGlobalFocusOwner): Explicitly check for thread security.
10814         (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10815         (getGlobalFocusedWindow): Explicitly check for thread security.
10816         (getGlobalActiveWindow): Explicitly check for thread security.
10817         (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10818         (getGlobalObject): Added new argument for specifying if
10819         a security check should be performed or not.
10820         (setGlobalObject): Don't check for thread security when
10821         calling getGlobalObject.
10822
10823 2006-07-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10824
10825         * javax/management/MBeanConstructorInfo.java:
10826         Documentation fix.
10827         * javax/management/MBeanInfo.java:
10828         (MBeanInfo(String,String,MBeanAttributeInfo[],
10829         MBeanConstructorInfo[], MBeanOperationInfo[],
10830         MBeanNotificationInfo[])): Implemented.
10831         (equals(Object)): Likewise.
10832         (getAttributes()): Likewise.
10833         (getConstructors()): Likewise.
10834         (getOperations()): Likewise.
10835         (hashCode()): Likewise.
10836         * javax/management/MBeanOperationInfo.java,
10837         * javax/management/NotCompliantMBeanException.java,
10838         * javax/management/StandardMBean.java:
10839         New files.
10840
10841 2006-07-26  Sven de Marothy  <sven@physto.se>
10842
10843         * java/awt/geom/GeneralPath.java: Fix severe typo.
10844         
10845 2006-07-26  Sven de Marothy  <sven@physto.se>
10846
10847         * include/java_lang_VMSystem.h
10848         * vm/reference/java/lang/VMSystem.java
10849         * native/jni/java-lang/java_lang_VMSystem.c
10850         (nanoTime, currentTimeMillis): Switch the former to native code and
10851         the latter to java.
10852         
10853 2006-07-26  Andreas Tobler  <a.tobler@schweiz.ch>
10854
10855         * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10856         * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10857         * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10858         * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10859         * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10860         * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10861         * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10862         * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10863         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10864         * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10865         * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10866         * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10867         * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10868         * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10869         * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10870         * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10871         * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10872         * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10873         * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10874         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10875         * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10876
10877 2006-07-26  Roman Kennke  <kennke@aicas.com>
10878
10879         * java/awt/KeyboardFocusManager.java
10880         (getFocusOwner): Don't check permanent owner.
10881         (getGlobalFocusOwner): Don't check permanent owner.
10882
10883 2006-07-26  Carsten Neumann  <cn-develop@gmx.net>
10884
10885         * StrictMath.java (cosh): New method.
10886         (expm1): New method.
10887         (EXPM1_Q1): New field.
10888         (EXPM1_Q2): Likewise.
10889         (EXPM1_Q3): Likewise.
10890         (EXPM1_Q4): Likewise.
10891         (EXPM1_Q6): Likewise.
10892
10893 2006-07-26  Roman Kennke  <kennke@aicas.com>
10894
10895         * javax/swing/plaf/basic/BasicButtonListener.java
10896         (mousePressed): Request focus if appropriate.
10897         * javax/swing/text/DefaultCaret.java
10898         (mousePressed): Also handle the focus of the text component
10899         as specified. Don't consume events.
10900
10901 2006-07-26  Roman Kennke  <kennke@aicas.com>
10902
10903         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10904         (focusRequest): Removed field.
10905         (postFocusEvent(int,boolean,Component)): Removed.
10906         (postFocusEvent(int,boolean)): Reverted to post event using
10907         the heavyweight component.
10908         (requestFocus): Post focus event using the heavyweight
10909         component.
10910         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10911         (requestFocus): Post focus event using the heavyweight
10912         component.
10913         * java/awt/AWTEvent.java
10914         (isFocusManagerEvent): New field, indicating if this is
10915         an event that is redispatched by the KeyboardFocusManager.
10916         * java/awt/Component.java
10917         (requestFocusImpl): Register component for
10918         heavyweight->lightweight mapping.
10919         (dispatchEventImpl): Retarget focus events before dispatching
10920         to the KeyboardFocusManager. Use new AWTEvent flag instead
10921         of locking hack. Dispatch all events through the
10922         KeyboardFocusManager. Don't request focus on lightweight
10923         components.
10924         * java/awt/DefaultKeyboardFocusManager.java
10925         (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10926         FOCUS_LOST.
10927         (handleFocusGained): Fixed handling of temporary vs permanent
10928         focus changes. Added some checks.
10929         (handleFocusLost): Fixed handling of temporary vs permanent
10930         focus changes. Added some checks.
10931         * java/awt/EventDispatchThread.java
10932         (run): Don't dispatch to KeyboardFocusManager here. This
10933         is done in Component.dispatchEventImpl().
10934         * java/awt/KeyboardFocusManager.java
10935         (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10936         (focusRequests): New field.
10937         (retargetFocusEvent): New method. Retargets focus events
10938         that come from heavyweights to the correct lightweight component.
10939         (addLightweightFocusRequest): New method. Stores a mapping
10940         for later retargetting of heavyweight focus events.
10941         * java/awt/Window.java
10942         (addFocusListener): Removed bogus method. If at all, this
10943         should be performed in the KeyboardFocusManager.
10944         (Window): Don't install a focus listener on the Window.
10945
10946 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10947
10948         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10949         (drawLine): Apply shift to line coordinates.
10950
10951 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10952
10953         * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10954         (copyimage): Do not call setRenderingHints() when the respective map
10955         does not exist.
10956         (filter): Removed code to clone the ColorModel instance.
10957         * java/awt/image/ColorModel.java:
10958         (cloneColorModel): Removed.
10959
10960 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10961
10962         * javax/swing/JTabbedPane.java:
10963         (setSelectedIndex): Removed updating of component visibility status,
10964         added note.
10965         (remove(Component)): Use indexOfComponent() to find whether we have
10966         to use super.remove(int) or removeTabAt().
10967
10968 2006-07-26  Roman Kennke  <kennke@aicas.com>
10969
10970         * javax/swing/JOptionPane.java
10971         (createDialog): Add property change handler for closing
10972         the dialog when the value property changes.
10973         (ValuePropertyHandler): New inner helper class.
10974         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10975         (OptionPaneCloseAction): New class.
10976         (messageForeground): Removed field.
10977         (messageBorder): Removed field.
10978         (buttonBorder): Removed field.
10979         (addIcon): Configure the new label.
10980         (addMessageComponents): Configure newly created labels.
10981         (burstStringInto): Likewise.
10982         (createButtonArea): Install border here.
10983         (createMessageArea): Install border and foreground here.
10984         (createSeparator): Added comment and removed
10985         NotImplementedException.
10986         (installComponents): Don't install the UI defaults for the
10987         message and button area here. This is moved to the
10988         corresponding create* methods. Adjusted comment about
10989         separator.
10990         (installDefaults): Removed initialization of removed fields.
10991         (installKeyboardActions): Implemented.
10992         (getActionMap): New helper method.
10993         (createDefaultActions): New helper method.
10994         (uninstallDefaults): Removed de-initialization of removed fields.
10995         (uninstallKeyboardActions): Implemented.
10996         (configureLabel): New helper method.
10997         * javax/swing/plaf/basic/BasicTableUI.java
10998         (getActionMap): Fixed the UI property names.
10999         * javax/swing/plaf/basic/BasicToolBarUI.java
11000         (getActionMap): Fixed the UI property names.
11001
11002 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11003
11004         * java/awt/image/BandedSampleModel.java
11005         (getDataElements): Check for negative x or y,
11006         (getPixels): Likewise,
11007         (getSamples): Likewise,
11008         (setSamples): Likewise.
11009
11010 2006-07-26  Roman Kennke  <kennke@aicas.com>
11011
11012         * javax/swing/plaf/basic/BasicToolBarUI.java
11013         (ToolBarAction): New inner class for handling keyboard
11014         actions.
11015         (installKeyboardActions): Implemented.
11016         (getActionMap): New helper method.
11017         (createDefaultActions): New helper method.
11018         (installListeners): Install focus listener on toolbar's
11019         children, rather than the toolbar itself.
11020         (navigateFocusedComp): Implemented.
11021         (uninstallKeyboardActions): Implemented.
11022         (uninstallListeners): Uninstall focus listener from
11023         toolbar's children, rather than the toolbar itself.
11024         (ToolBarContListener.componentAdded): Install focus
11025         listener on added child.
11026         (ToolBarContListener.componentRemoved): Uninstall focus
11027         listener from removed child.
11028         (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
11029         (ToolBarFocusListener.focusGained): Implemented.
11030         (ToolBarFocusListener.focusLost): Implemented.
11031
11032 2006-07-26  Roman Kennke  <kennke@aicas.com>
11033
11034         * java/awt/DefaultKeyboardFocusManager.java
11035         (dispatchEvent): Notify old focus owner when it has lost
11036         focus.
11037
11038 2006-07-26  Roman Kennke  <kennke@aicas.com>
11039
11040         * javax/swing/plaf/basic/BasicTableUI.java
11041         (FocusHandler.focusGained): Implemented to refresh the
11042         lead cell.
11043         (FocusHandler.focusLost): Implemented to refresh the
11044         lead cell.
11045         (FocusHandler.repaintLeadCell): New helper method.
11046         (MouseInputHandler.mouseEntered): Do nothing here.
11047         (MouseInputHandler.mouseExited): Do nothing here.
11048         (MouseInputHandler.mouseMoved): Do nothing here.
11049         (installKeyboardActions): Rewritten to use a shared InputMap
11050         and ActionMap and correctly install the maps via SwingUtilities
11051         methods.
11052         (getActionMap): New helper method.
11053         (createDefaultActions): New helper method.
11054         (ActionListenerProxy): Removed unneeded class.
11055         (TableAction): Made class static.
11056         (TableAction.actionPerformed): Determine table by fetching
11057         the event source. Pass the table to helper methods.
11058         Use __command__ hack to determine the action command.
11059         (TableAction.getFirstVisibleColumnIndex): Get table as argument.
11060         (TableAction.getLastVisibleColumnIndex): Get table as argument.
11061         (TableAction.getFirstVisibleRowIndex): Get table as argument.
11062         (TableAction.getLastVisibleRowIndex): Get table as argument.
11063         (TableAction.advanceMultipleSelection): Get table as argument.
11064         (uninstallDefaults): Do nothing here.
11065         (uninstallKeyboardActions): Uninstall the keyboard actions.
11066
11067 2006-07-26  Roman Kennke  <kennke@aicas.com>
11068
11069         * javax/swing/JComponent.java
11070         (processKeyBinding): Store the action command as property
11071         in the Action instance that we call. This allows for
11072         improvement on the side of the Action.
11073
11074 2006-07-26  Roman Kennke  <kennke@aicas.com>
11075
11076         * javax/swing/plaf/metal/MetalUtils.java
11077         (fillMetalPattern): Use fillRect() instead of drawLine() to
11078         fill single pixels.
11079
11080 2006-07-26  Roman Kennke  <kennke@aicas.com>
11081
11082         * javax/swing/text/GapContent.java
11083         (getChars): Check for negative length and throw
11084         BadLocationException.
11085
11086 2006-07-26  Roman Kennke  <kennke@aicas.com>
11087
11088         * javax/swing/plaf/basic/BasicMenuBarUI.java
11089         (FocusAction): Made class static.
11090
11091 2006-07-26  Roman Kennke  <kennke@aicas.com>
11092
11093         * javax/swing/plaf/basic/BasicLookAndFeel.java
11094         (initComponentDefaults): Add keyboard bindings for
11095         PopupMenu.
11096
11097 2006-07-26  Roman Kennke  <kennke@aicas.com>
11098
11099         * javax/swing/UIManager.java
11100         (getLookAndFeelDefaults): Return the look and feel defaults.
11101         (setLookAndFeel): Improved exception messsage.
11102
11103 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11104
11105         * javax/swing/text/StringContent.java
11106         (StringContent): Changed initialLength to 10.
11107
11108 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11109
11110         * java/util/Vector.java: Fixed API doc typo.
11111
11112 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11113
11114         * java/awt/image/BandedSampleModel.java
11115         (createCompatibleSampleModel): Fixed typo in loop increment, set
11116         correct scanlineStride, and updated API docs.
11117
11118 2006-07-25  Roman Kennke  <kennke@aicas.com>
11119
11120         * javax/swing/plaf/basic/BasicPopupMenuUI.java
11121         (NavigateAction): New inner class. This is responsible for
11122         keyboard navigation through menus.
11123         (KeyboardHelper): New inner class. This manages the
11124         keyboard mappings and focus when a popup opens or closes.
11125         (keyboardHelper): New static field.
11126         (numPopups): New static field.
11127         (installUI): Create KeyboardHelper for first popup.
11128         Call installKeyboardActions().
11129         (installKeyboardActions): Removed NotImplementedException.
11130         This method is a no-op.
11131         (installKeyboardActionsImpl): New method. Installs keyboard
11132         mapping when a popup is opened.
11133         (getActionMap): New helper method.
11134         (createDefaultActions): New helper method.
11135         (uninstallUI): Uninstall KeyboardHelper when last Popup is
11136         uninstalled. Call uninstallKeyboardActions().
11137         (uninstallKeyboardActions): Removed NotImplementedException.
11138         This method is a no-op.
11139         (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
11140         mapping when a popup is closed.
11141         
11142 2006-07-25  Roman Kennke  <kennke@aicas.com>
11143
11144         * java/awt/Component.java
11145         (requestFocus()): Reimplemented to use requestFocusImpl().
11146         (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
11147         (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
11148         (requestFocusInWindow(boolean)): Reimplemented to use
11149         requestFocusImpl().
11150         (requestFocusImpl): Reimplemented focus request to use
11151         new peer method. Also added some obvious additional checks
11152         for rejecting focus requests early.
11153         * java/awt/ComponentPeer.java
11154         (requestFocus(Component,boolean,boolean,long)): Documented
11155         this method.
11156         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11157         (requestFocus): New field.
11158         (gtkWidgetHasFocus): New native method.
11159         (gtkWidgetCanFocus): New native method.
11160         (requestFocus): Replaced with assert false to prevent
11161         usage of obsolete method.
11162         (postFocusEvent(int,boolean,Component)): New overloaded method
11163         for posting the focus event to a specific target.
11164         (postFocusEvent(int,boolean)): Post event to requestFocus
11165         component.
11166         (requestFocus(Component,boolean,boolean,long)): Implemented.
11167         (getWindowFor): New helper method.
11168         (isLightweightDescendant): New helper method.
11169         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11170         (gtkWindowHasFocus): New native method.
11171         (requestFocus(Component,boolean,boolean,long)): New method.
11172         Overrides GtkComponentPeer method to specially handly the
11173         case when a Window receives a focus request for a lightweight
11174         child.
11175         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11176         (gtkWidgetHasFocus): New native method.
11177         (gtkWidgetCanFocus): New native method.
11178         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11179         (gtkWindowHasFocus): New native method.
11180         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
11181         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
11182         Regenerated.
11183
11184 2006-07-25  Francis Kung  <fkung@redhat.com>
11185
11186         * java/awt/DefaultKeyboardFocusManager.java
11187         (dispatchEvent): Add check for valid component.
11188
11189 2006-07-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11190
11191         * javax/management/MBeanConstructorInfo.java:
11192         New file.
11193         * javax/management/MBeanNotificationInfo.java:
11194         Documentation fix.
11195         * javax/management/MBeanParameterInfo.java:
11196         New file.
11197
11198 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11199
11200         * java/awt/peer/gtk/CairoGraphics.java:
11201         (drawLine): Added special case for 1 pixel lines.
11202
11203 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11204
11205         Fixes PR27844.
11206         * java/awt/peer/gtk/CairoGraphics.java:
11207         (drawLine): Removed calls to shifted().
11208
11209 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11210
11211         * javax/swing/JTabbedPane.java:
11212         (remove(Component)): Rewritten.
11213         (setSelectedIndex): Implemented updating of component visibility state.
11214
11215 2006-07-25  Sven de Marothy  <sven@physto.se>
11216
11217         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
11218         (init): Default to the actual depth in the worst case.
11219         
11220         * java/awt/Font.java
11221         (createFont(int, File)): New method.
11222         
11223 2006-07-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
11224
11225         Fixes bug #28413
11226         * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
11227         New field.
11228         (RETokenEnd): New constructer to set check_java_line_terminators.
11229         (matchThis): Checck line terminators if check_java_line_terminators.
11230         * gnu/java/util/regex/RETokenStart.java: Likewise.
11231         * gnu/regexp/RE.java(initialize): Use the new constructors for
11232         RETokenEnd and RETokenStart if REG_MULTILINE is set.
11233         * java/util/regex/Pattern.java(Patteren): Changed so that
11234         gnu/regexp/RE.java may use the new the new constructors.
11235
11236 2006-07-25  Roman Kennke  <kennke@aicas.com>
11237
11238         * java/awt/Container.java
11239         (focusTraversalPolicyProvider): New field.
11240         (isFocusTraversalPolicyProvider): New method.
11241         (setFocusTraversalPolicyProvider): New method.
11242         * java/awt/ContainerOrderFocusTraversalPolicy.java
11243         (getFirstComponent): Use accept() instead of lengthy checks.
11244         Don't fetch getComponents() to avoid copying of array.
11245         Traverse down the hierarchy to find the first focused component.
11246         * java/awt/DefaultKeyboardFocusManager.java
11247         (dispatchEvent): Let the initial component request focus.
11248
11249 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
11250
11251         * javax/swing/text/Segment.java
11252         (last): Update current index before returning DONE for zero count.
11253         
11254 2006-07-24  Mark Wielaard  <mark@klomp.org>
11255
11256         * javax/swing/tree/TreePath.java (equals): Swap path equals call.
11257
11258 2006-07-25  Roman Kennke  <kennke@aicas.com>
11259
11260         * javax/swing/plaf/basic/BasicMenuBarUI.java
11261         (FocusAction): New inner class. Used to grab focus.
11262         (installKeyboardActions): Implemented.
11263         (uninstallKeyboardActions): Implemented.
11264         (getActionMap): New helper method.
11265         (createDefaultActions): New helper method.
11266
11267 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11268
11269         * examples/gnu/classpath/examples/swing/Demo.java:
11270         (mkMenuBar): Install instantiable basic look and feel.
11271         (InstantiableBasicLookAndFeel): New inner class.
11272
11273 2006-07-25  Roman Kennke  <kennke@aicas.com>
11274
11275         * javax/swing/plaf/basic/BasicInternalFrameUI.java
11276         (GlassPaneDispatcher.dragTarget): New field.
11277         (GlassPaneDispatcher.isDragging): New field.
11278         (GlassPaneDispatcher.pressedComponent): Removed field.
11279         (GlassPaneDispatcher.tempComponent): Removed field.
11280         (GlassPaneDispatcher.pressCount): Removed field.
11281         (GlassPaneDispatcher.mousePressed): Call
11282         borderListener.mousePressed() to activate the frame.
11283         (acquireComponentForMouseEvent): Removed method.
11284         (handleEvent): Rewritten.
11285         (redispatch): New method.
11286         (InternalFramePropertyChangeListener.propertyChange):
11287         Make glasspane invisible when frame is selected, and visible
11288         if it gets deselected.
11289         
11290 2006-07-25  Roman Kennke  <kennke@aicas.com>
11291
11292         * java/awt/LightweightDispatcher.java
11293         (handleMouseEvent): Dispatch event to real target if
11294         the dragTarget has become invisible in the meantime.
11295
11296 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
11297
11298         * javax/swing/text/TabSet.java
11299         (equals): New method override for 1.5,
11300         (hashCode): Likewise,
11301         (toString): Added spaces to match reference implementation.
11302
11303 2006-07-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11304
11305         * javax/management/IntrospectionException.java,
11306         * javax/management/MBeanAttributeInfo.java:
11307         New files.
11308         * javax/management/MBeanNotificationInfo.java:
11309         Documentation cleanups.
11310         
11311 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
11312
11313         * javax/swing/text/TabSet.java
11314         (TabSet): Check for null argument,
11315         (getTab): Throw IllegalArgumentException for index out of bounds,
11316         (getTabIndexAfter): Changed test to '<=',
11317         and updated API docs all over,
11318         * javax/swing/text/TabStop.java: Updated API docs.
11319
11320 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
11321
11322         * javax/swing/text/TabStop.java
11323         (toString): Don't use 'left ' prefix, and added space between tab
11324         location and '(w/leader)' suffix.
11325
11326 2006-07-24  Francis Kung  <fkung@redhat.com>
11327
11328         * javax/swing/JComboBox.java
11329         (DefaultKeySelectionManager): Implemented.
11330         (createDefaultKeySelectionManager): Implemented.
11331         (getKeySelectionManager): Implemented.
11332         (processKeyEvent): Removed duplicate code.
11333         * javax/swing/JPopupMenu.java
11334         (selectionModel): Changed visibility.
11335         * javax/swing/plaf/basic/BasicComboBoxUI.java
11336         (KeyHandler.keyPressed): Added navigation keys.
11337         (configureEditor): Add key listener.
11338         (installListeners): Install focus listener to combo box.
11339         (isNavigationKey): Added enter, escape, and tab.
11340         (selectPreviousPossibleValue): Added out of bounds check.
11341         (unconfigureEditor): Remove key listener.
11342         * javax/swing/plaf/metal/MetalComboBoxButton.java
11343         (paintComponent): Highlight combo box when in focus.
11344
11345 2006-07-24  Roman Kennke  <kennke@aicas.com>
11346
11347         * javax/swing/SwingUtilities.java
11348         (isLeftMouseButton): Fixed condition.
11349         * java/awt/LightweightDispatcher.java
11350         (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
11351         is dragged.
11352
11353 2006-07-24  Roman Kennke  <kennke@aicas.com>
11354
11355         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11356         (setPaint): Fixed scaleX and scaleY.
11357
11358 2006-07-24  Roman Kennke  <kennke@aicas.com>
11359
11360         * javax/swing/JTable.java
11361         (handleInsert): Repaint the whole table for variable row
11362         height tables and an optimized region otherwise.
11363         (handleDelete): Likewise.
11364         (handleUpdate): Likewise.
11365
11366 2006-07-24  Mario Torre  <neugens@limasoftware.net>
11367
11368         * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
11369         now explicity registerListeners on GtkMouseDragGestureRecognizer
11370         instance.
11371         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11372         (unregisterListeners): new method, overrided from base class
11373         to rise visibility (from protected to public).
11374         (registerListeners): Likewise.
11375         (GtkMouseDragGestureRecognizer): fixed potential threading issue:
11376         removed call to registerListeners from the constructor.
11377
11378 2006-07-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11379
11380         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11381         * java/lang/management/MemoryPoolMXBean.java:
11382         (getType()): Changed return type to MemoryType.
11383         * java/lang/management/MemoryType.java:
11384         New file.
11385
11386 2006-07-23  Mark Wielaard  <mark@klomp.org>
11387
11388         * configure.ac: Check for moc and moc-qt4.
11389
11390 2006-07-23  David Gilbert  <david.gilbert@object-refinery.com>
11391
11392         * java/awt/image/Kernel.java: API doc updates.
11393
11394 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
11395
11396         * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11397         bit more.
11398
11399 2006-07-22  Mark Wielaard  <mark@klomp.org>
11400
11401         * java/lang/Iterable.java: Import all of java.util.
11402         * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11403         * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11404
11405 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11406
11407         * doc/vmintegration.texinfo:
11408         Document getType(String).
11409         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11410         * java/lang/management/MemoryPoolMXBean.java:
11411         (getType()): Implemented.
11412         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11413         (getType(String)): Implemented.
11414         
11415 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11416
11417         * doc/vmintegration.texinfo:
11418         Move end of itemization block.
11419
11420 2006-07-22  Robert Schuster  <robertschuster@fsfe.org>
11421
11422         * javax/swing/plaf/metal/MetalLookAndFeel.java:
11423         (initComponentDefaults): Added new properties, added comments.
11424         
11425 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11426
11427         * doc/vmintegration.texinfo:
11428         Mention callback methods.
11429         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11430         (fireNotification(String,String,long,long,long,long,long)):
11431         Made package-private.
11432         (fireThresholdExceededNotification(String,long,long,long,
11433         long,long)): Likewise.
11434         (fireCollectionThresholdExceededNotification(String,long,
11435         long,long,long,long)): Likewise.
11436         * java/lang/management/MemoryMXBean.java:
11437         Document notifications.
11438
11439 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11440
11441         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11442         (fireNotification(String,String,long,long,long,long,long)):
11443         Implemented.
11444         (fireThresholdExceededNotification(String,long,long,long,
11445         long,long)): Likewise.
11446         (fireCollectionThresholdExceededNotification(String,long,
11447         long,long,long,long)): Likewise.
11448         * java/lang/management/MemoryNotificationInfo.java:
11449         Use composite type from MemoryMXBeanImpl.
11450         * javax/management/openmbean/CompositeData.java:
11451         Correct documentation.
11452         * javax/management/openmbean/CompositeDataSupport.java,
11453         * javax/management/openmbean/InvalidKeyException.java:
11454         New files.
11455
11456 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
11457
11458         * gnu/java/security/util/IntegerUtil.java: New file.
11459
11460 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
11461
11462         PR Classpath/28100
11463         * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11464         (KEY_SIZE): Likewise.
11465         (adjustParity(int,byte[],int): New method.
11466         (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11467         (isParityAdjusted(int,byte[],int)): New method.
11468         (isParityAdjusted): Call above method with 3 as 1st argument.
11469         (keySizes): Add 8 and 16 as other valid key sizes.
11470         (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11471
11472 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
11473
11474         * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11475         code for the pixel swap routine to be more efficient.
11476
11477 2006-07-21  Carsten Neumann  <cn-develop@gmx.net>
11478
11479         * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11480         (lastIndexOf(E, int)): Likewise.
11481         (add(E)): Increase the size of newData array by one.
11482         (add(int, E)): Likewise.
11483
11484 2006-07-20  Lillian Angel  <langel@redhat.com>
11485
11486         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11487         Removed unused fields.
11488         (GtkMouseDragGestureRecognizer): Removed initializations.
11489
11490 2006-07-20  Lillian Angel  <langel@redhat.com>
11491
11492         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11493         (GtkMouseDragGestureRecognizer): New constructor.
11494         (GtkMouseDragGestureRecognizer): New constructor.
11495         (GtkMouseDragGestureRecognizer): New constructor.
11496         (mouseClicked): Removed FIXME.
11497         (mousePressed): Implemented.
11498         (mouseReleased): Implemented.
11499         (mouseEntered): Implemented.
11500         (mouseDragged): Implemented to check mouse point and trigger origin.
11501         (mouseMoved): Removed FIXME.
11502         (getDropActionFromEvent): New helper function used to convert mouse event
11503         modifiers to a drop action.
11504         * java/awt/dnd/DragSource.java
11505         (getDragThreshold): Changed to return some arbitrary value for testing
11506         purposes.
11507
11508 2006-07-20  Roman Kennke  <kennke@aicas.com>
11509
11510         * java/awt/LightweightDispatcher.java
11511         (findTarget): Also consider components that have their eventMask
11512         set, for compatibility with stonage AWT. Optimized check
11513         for MouseListener.
11514         (handleMouseEvent): Likewise.
11515
11516 2006-07-20  Roman Kennke  <kennke@aicas.com>
11517
11518         * javax/swing/JTable.java
11519         (tableChanged): Split out handling of the event into multiple
11520         subroutines.
11521         (handleCompleteChange): New method. Clear the selection and
11522         check the lead/anchor indices.
11523         (handleInsert): New method. Check the lead/anchor indices.
11524         Optimized repainting.
11525         (handleDelete): New method. Check the lead/anchor indices.
11526         Optimized repainting.
11527         (handleUpdate): New method. Optimized repainting.
11528         (checkSelection): New helper method.
11529         (setSelectionModel): Update lead/anchor indices.
11530
11531 2006-07-20  Lillian Angel  <langel@redhat.com>
11532
11533         PR 28440
11534         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11535         (dispose): Reset all fields.
11536
11537 2006-07-20  Roman Kennke  <kennke@aicas.com>
11538
11539         * gnu/java/awt/peer/x/XToolkit.java
11540         (createImage(InputStream)): Only copy image to Pixmap if
11541         it's actually opaque. Transparent images are left as
11542         BufferedImage and composited later onto the screen.
11543         * gnu/java/awt/peer/x/XGraphics.java
11544         (XGraphics): Fetch some parameters for image rendering.
11545         (drawImage): Added special handling of transparent images.
11546         (getRGB): New helper method.
11547         (setRGB): New helper method.
11548
11549 2006-07-20  Roman Kennke  <kennke@aicas.com>
11550
11551         * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11552         ImageInputStreams as normal InputStreams.
11553         * gnu/javax/imageio/gif/GIFStream.java:
11554         Moved to gnu/javax/imageio/IIOInputStream.java.
11555         * gnu/javax/imageio/gif/GIFImageReader.java
11556         (readImage): Use IIOInputStream.
11557         * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11558         (canDecodeInput): Use IIOInputStream.
11559         * gnu/javax/imageio/png/PNGException.java: Make subclass
11560         of IOException.
11561         * gnu/javax/imageio/png/PNGImageReader.java: New class.
11562         Implements the ImageIO ImageReader for PNG.
11563         * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11564         Implements the ImageIO ImageReaderSpi for PNG.
11565         * javax/imageio/spi/IIORegistry.java:
11566         (IIORegistry): Add PNGImageReaderSpi.
11567
11568 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
11569
11570         * java/awt/image/ComponentSampleModel.java
11571         (getPixel): Added argument check,
11572         (getSample): Modified exception message.
11573
11574 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
11575
11576         PR Classpath/28422
11577         * java/awt/image/ConvolveOp.java
11578         (filter(Raster, WritableRaster)): Reimplemented,
11579         (fillEdge): New private method.
11580
11581 2006-07-19  Keith Seitz  <keiths@redhat.com>
11582
11583         * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11584         (JVMTI_VERSION): Define.
11585
11586 2006-07-19  Roman Kennke  <kennke@aicas.com>
11587
11588         * resource/gnu/regexp/MessagesBundle.properties,
11589         * resource/gnu/regexp/MessagesBundle_fr.properties,
11590         * resource/gnu/regexp/MessagesBundle_it.properties:
11591         Moved to resource/gnu/java/util/regex.
11592         * resource/gnu/java/util/regex/MessagesBundle.properties,
11593         * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11594         * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11595         New files.
11596         * gnu/java/util/regex/RE.java
11597         Use new resource bundle location.
11598
11599 2006-07-19  Roman Kennke  <kennke@aicas.com>
11600
11601         * javax/swing/JComponent.java
11602         (paintChildren): Refactored. The paintChildrenOptimized method
11603         has been moved back in here. Added locking of the tree and
11604         only check for completely obscured child components
11605         when not optimized drawing enabled. Use Graphics.create() to
11606         protect from irreversible changes.
11607         (isCompletelyObscured): New helper method.
11608         (paintComponent): Also use Graphics.create() for Graphics2D,
11609         to protect from irreverible changes.
11610         (clipAndTranslateGraphics): Refactored to use more efficient
11611         iterative (vs recursive) approach.
11612         * javax/swing/RepaintManager.java
11613         (getOffscreenBuffer): Create image from root component.
11614         
11615 2006-07-19  Roman Kennke  <kennke@aicas.com>
11616
11617         * gnu/java/awt/peer/x/XGraphics.java
11618         (translate): Don't set the clip on the X server.
11619         (clipRect): Use setXClip() to set the clip on the X server.
11620         (hitClip): More efficient and correct implementation.
11621         (setClip): Use setXClip() to set the clip on the X server.
11622         (setClip(Shape)): Use setXClip() to set the clip on the X server.
11623         (copyArea): Translate and clip the source rectangle correctly.
11624         (dispose): Only flush when object is not yet disposed.
11625         (clone): Use setXClip() to set the clip on the X server.
11626
11627 2006-07-19  Sven de Marothy  <sven@physto.se>
11628
11629         * gnu/javax/imageio/png/PNGChunk.java,
11630         * gnu/javax/imageio/png/PNGData.java,
11631         * gnu/javax/imageio/png/PNGDecoder.java,
11632         * gnu/javax/imageio/png/PNGEncoder.java,
11633         * gnu/javax/imageio/png/PNGException.java,
11634         * gnu/javax/imageio/png/PNGFile.java,
11635         * gnu/javax/imageio/png/PNGFilter.java,
11636         * gnu/javax/imageio/png/PNGGamma.java,
11637         * gnu/javax/imageio/png/PNGHeader.java,
11638         * gnu/javax/imageio/png/PNGICCProfile.java,
11639         * gnu/javax/imageio/png/PNGPalette.java,
11640         * gnu/javax/imageio/png/PNGPhys.java,
11641         * gnu/javax/imageio/png/PNGTime.java:
11642         New files.
11643
11644 2006-07-19  Sven de Marothy  <sven@physto.se>
11645
11646         * java/net/Inet6Address.java:
11647         (getScopedId, getScopedInterface): New methods.
11648         
11649 2006-07-19  Lillian Angel  <langel@redhat.com>
11650
11651         * examples/gnu/classpath/examples/awt/Demo.java
11652         (DragDropWindow): Fixed typo in Label text.
11653         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11654         (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11655         (startDrag): Initialized context field.
11656         (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11657         function.
11658         (dragEnter): New function.
11659         (dragExit): Likewise.
11660         (dragDropEnd): Likewise.
11661         (dragMouseMoved): Likewise.
11662         (dragOver): Likewise.
11663         (dragActionChanged): Likewise.
11664
11665 2006-07-19  Raif S. Naffah  <raif@swiftdsl.com.au>
11666
11667         PR Classpath/26302
11668         * resource/java/security/classpath.security: Updated copyright year.
11669         (auth.login.defaultCallbackHandler): New property; set to our default
11670         callback handler. This is needed by the LoginContext when no callback
11671         handler was specified.
11672         * javax/security/auth/login/LoginContext.java: Updated copyright year.
11673         (LoginContext(4)): Assign passed parameters to local fields before invoking
11674         lookup method.
11675
11676 2006-07-19  Roman Kennke  <kennke@aicas.com>
11677
11678         * gnu/java/awt/peer/x/XGraphics.java
11679         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11680         Fixed ordering of parameters.
11681
11682 2006-07-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11683
11684         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11685         (MemoryMXBeanImpl()): Implemented.
11686         (ListenerData): New private class.
11687         (addNotificationListener(NotificationListener,
11688         NotificationFilter, Object)): Implemented.
11689         (getNotificationInfo()): Likewise.
11690         (removeNotificationListener(NotificationListener)):
11691         Likewise.
11692         (removeNotificationListener(NotificationListener,
11693         NotificationFilter, Object)): Likewise.
11694         
11695 2006-07-18  Roman Kennke  <kennke@aicas.com>
11696
11697         * gnu/java/awt/peer/x/XFontPeer.java
11698         (encodeFont): Be more flexible with font sizes.
11699         (validSize): New helper method.
11700         * gnu/java/awt/peer/x/XGraphics.java
11701         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11702         Implemented.
11703         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11704         Implemented.
11705         * gnu/java/awt/peer/x/XImage.java
11706         (properties): New field.
11707         (getProperty): Implemented.
11708         * resource/gnu/java/awt/peer/x/fonts.properties:
11709         Added copyright header. Fixed font size field.
11710
11711 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11712
11713         * java/awt/image/BandedSampleModel.java
11714         (createDataBuffer): New method override,
11715         * java/awt/image/ByteLookupTable.java
11716         (ByteLookupTable(int, byte[][])): Create new array to hold references,
11717         (ByteLookuptable(int, byte[])): Check for null array,
11718         * java/awt/image/ComponentSampleModel.java
11719         (createDataBuffer): Removed unnecessary braces,
11720         (getSample): Check (x, y) is within bounds,
11721         * java/awt/image/ShortLookupTable.java
11722         (ShortLookupTable(int, short[][])): Create new array to hold references,
11723         (ShortLookupTable(int, short[])): Check for null array,
11724         (getTable): Added API docs,
11725         (lookupPixel): Source reformatting.
11726
11727 2006-07-18  Tania Bento  <tbento@redhat.com>
11728         
11729         * java/awt/GridLayout.java
11730         (setHgap): Illegal Argument Exception should not be thrown if 
11731         hgap < 0.
11732         (setVgap): Illegal Argument Exception should not be thrown if 
11733         vgap < 0.
11734         (toString): Opening square braket ([) should appear before hgap
11735         value, not the name of the class.
11736
11737 2006-07-18  Roman Kennke  <kennke@aicas.com>
11738
11739         * lib/copy-vmresources.sh.in: Reverted.
11740         * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11741         * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11742
11743 2006-07-18  Roman Kennke  <kennke@aicas.com>
11744
11745         * lib/copy-vmresources.sh.in: Include properties from X peers.
11746
11747 2006-07-18  Raif S. Naffah  <raif@swiftdsl.com.au>
11748
11749         PR Classpath/27205
11750         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11751         certificate validity.
11752         (getIssuerName): New method.
11753         (getSubjectName): Likewise.
11754         (getNotAfterDate): Likewise.
11755         (getNotBeforeDate): Likewise.
11756         * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11757         messages for newly added messages in SFHelper.
11758
11759 2006-07-18  Roman Kennke  <kennke@aicas.com>
11760
11761         * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11762         * gnu/java/awt/peer/x/XEventPump.java
11763         (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11764         * gnu/java/awt/peer/x/XFramePeer.java
11765         Made a subclass of XWindowPeer, rather than SwingFramePeer.
11766         * gnu/java/awt/peer/x/XGraphics.java
11767         Made subclass of Graphics rather than Graphics2D. Removed
11768         all Graphics2D specific method stubs.
11769         (setColor): Map colors using the X color map that is
11770         stored in XToolkit.
11771         * gnu/java/awt/peer/x/XToolkit.java
11772         (colorMap): New field.
11773         (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11774         instance.
11775         (createDialog): Implemented.
11776         (createImage(ImageProducer)): Implemented.
11777         (createImage(InputStream)): Use createImage(ImageProducer)
11778         to convert the BufferedImage to an XImage.
11779         * gnu/java/awt/peer/x/XWindowPeer.java
11780         (XWindowPeer): Removed debug output.
11781
11782 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11783
11784         * java/awt/image/BufferedImageOp.java: API docs added,
11785         * java/awt/image/RasterOp.java: Likewise.
11786
11787 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11788
11789         * java/awt/Graphics2D.java: API docs updated.
11790
11791 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11792
11793         * java/awt/image/WritableRaster.java: Added API docs and reformatted 
11794         source code.
11795
11796 2006-07-18  Sven de Marothy  <sven@physto.se>
11797
11798         * java/net/Inet6Address.java:
11799         Add 1.5 serialized fields.
11800         (getByAddress): New methods.
11801         (readObject, writeObject): New methods. 
11802         (equals): Reimplement.
11803
11804 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11805
11806         * java/awt/image/Raster.java: Added API docs and reformatted source
11807         code.
11808
11809 2006-07-18  Andreas Tobler  <a.tobler@schweiz.ch>
11810
11811         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11812         imports.
11813         * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11814         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11815         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11816         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11817         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11818         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11819         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11820         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11821         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11822         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11823         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11824         * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11825         * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11826         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11827         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11828         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11829         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11830         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11831         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11832         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11833         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11834
11835 2006-07-17  Andreas Tobler  <a.tobler@schweiz.ch>
11836
11837         * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11838         to make it compile again under jikes. Note added.
11839
11840 2006-07-17  Lillian Angel  <langel@redhat.com>
11841
11842         * examples/gnu/classpath/examples/awt/Demo.java
11843         (Demo): Added new window for DnD demo.
11844         (DragDropWindow): New class.
11845         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11846         Added new fields and declarations for native functions.
11847         (GtkDragSourceContextPeer): Implemented.
11848         (getComponentPeer): New function.
11849         (startDrag): Partially implemented.
11850         (getCursor): Implemented.
11851         (setCursor): Implemented.
11852         * include/GtkDragSourceContextPeer.h: New file.
11853         * include/Makefile.am: Added new header file.
11854         * java/awt/Component.java
11855         (addNotify): Added call to the dropTarget's addNotify.
11856         * java/awt/dnd/DragSource.java
11857         (startDrag): Fixed code to use shared instances of peer and
11858         context.
11859         (getDragThreshold): Added stub.
11860         * java/awt/dnd/DropTarget.java
11861         (DropTarget): Implemented fully.
11862         (addNotify): Added code to get the peer of the parent that is
11863         not lightweight.
11864         * java/awt/dnd/DropTargetDragEvent.java
11865         (getTransferable): Added stub.
11866         * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11867         * native/jni/gtk-peer/Makefile.am: Added new c file.
11868         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11869         Changed to extend GtkGenericPeer.
11870         (GtkDropTargetContextPeer): New constructor.
11871         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11872         Changed to extend GtkGenericPeer.
11873         (GtkDropTargetContextPeer): New constructor.
11874
11875 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11876
11877         * java/awt/image/SinglePixelPackedSampleModel.java
11878         (createSubsetSampleModel): Added argument check and API docs.
11879
11880 2006-07-17  Roman Kennke  <kennke@aicas.com>
11881
11882         * gnu/java/awt/peer/x/XGraphics.java
11883         (copyArea): Implemented.
11884
11885 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11886
11887         * java/awt/image/SinglePixelPackedSampleModel.java
11888         (getSampleSize): Return copy of array,
11889         (getOffset): Added API docs,
11890         (getScanlineStride): Likewise,
11891         (hashCode): Implemented.
11892
11893 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11894
11895         * java/awt/image/MultiPixelPackedSampleModel.java
11896         (getOffset): Updated API docs and source reformatting,
11897         (getBitOffset): Source reformatting only,
11898         (getDataElements): Likewise,
11899         (getPixel): Likewise,
11900         (getPixels): Removed method override,
11901         (setDataElements): Reimplemented.
11902
11903 2006-07-17  Gary Benson  <gbenson@redhat.com>
11904
11905         * resource/META-INF/services/.cvsignore: New file.
11906         * lib/.cvsignore: Updated.      
11907
11908 2006-07-17  Roman Kennke  <kennke@aicas.com>
11909
11910         * javax/swing/plaf/basic/BasicButtonListener.java
11911         (propertyChange): Only do the text layout caching as long
11912         as the noGraphics2D property isn't set.
11913         * javax/swing/plaf/basic/BasicMenuItemUI.java
11914         (PropertyChangeHandler.propertyChange): Only do the text layout
11915         caching as long as the noGraphics2D property isn't set.
11916
11917 2006-07-17  Roman Kennke  <kennke@aicas.com>
11918
11919         * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11920         (XGraphicsEnvironment): Make constructor public so that it
11921         can be called via Class.forName().newInstance().
11922         * gnu/java/awt/peer/x/XImage.java
11923         (XImage): Fetch GraphicsEnvironment via
11924         GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11925         than the XToolkit method, to avoid double instantiation
11926         of the XGraphicsEnvironment.
11927         * gnu/java/awt/peer/x/XToolkit.java
11928         (env): Removed field.
11929         (getLocalGraphicsEnvironment): Removed impl. This method
11930         should not be called since we set the graphicsenv property
11931         in the constructor.
11932
11933 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11934
11935         * java/util/UUID.java:
11936         (compareTo(Object)): Call compareTo(UUID).
11937         (compareTo(UUID)): Implemented.
11938         
11939 2006-07-16  Tom Tromey  <tromey@redhat.com>
11940
11941         * java/lang/StrictMath.java (cbrt): Added '@since'.
11942
11943 2006-07-16  Carsten Neumann  <cn-develop@gmx.net>
11944
11945         * java/lang/StrictMath.java (cbrt): New method.
11946         (getLowDWord): New helper method.
11947         (getHighDWord): Likewise.
11948         (buildDouble): Likewise.
11949         (CBRT_B1): New field.
11950         (CBRT_B2): Likewise.
11951         (CBRT_C): Likewise.
11952         (CBRT_D): Likewise.
11953         (CBRT_E): Likewise.
11954         (CBRT_F): Likewise.
11955         (CBRT_G): Likewise.
11956
11957 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11958
11959         * javax/management/MBeanInfo.java:
11960         (getNotifications()): Implemented.
11961         * javax/management/NotificationBroadcaster.java:
11962         (removeNotificationListener(NotificationListener)):
11963         Renamed from removeListener.
11964         * javax/management/NotificationEmitter.java:
11965         (removeNotificationListener(NotificationListener,
11966         NotificationFilter, Object)): Likewise.
11967         * javax/management/NotificationFilter.java:
11968         Implement Serializable.
11969         * javax/management/NotificationListener.java:
11970         Implement java.util.EventListener.
11971         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11972         Implement Serializable.
11973
11974 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11975
11976         * java/lang/management/MemoryNotificationInfo.java:
11977         New file.
11978         
11979 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
11980
11981         PR 28392
11982         * gnu/javax/swing/text/html/parser/htmlValidator.java 
11983         (tagIsValidForContext): If it is not possible to insert any tag, but 
11984         is possible to insert a P, insert a P.
11985         * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11986         (newInstance): Removed print statement. (getBodyElements):
11987         Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11988         valid body level tags (will be enclosed into P's).
11989
11990 2006-07-17  Raif S. Naffah  <raif@swiftdsl.com.au>
11991
11992         * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11993         Condition the creation of .keystore (a default keystore) based on the
11994         createIfNotFound argument as well.
11995
11996 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
11997
11998         PR 28392
11999         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12000         Removed heading p tag from the parsing example.
12001         * gnu/javax/swing/text/html/parser/HTML_401F.java:
12002         (createHtmlContentModel): Explained.
12003         (defineElements): Call getBodyElements to get the body
12004         elements. (getBodyElements): New method. (model):
12005         Made protected from private.
12006         * gnu/javax/swing/text/html/parser/htmlValidator.java
12007         (openTag): Mind that current content model may be null.
12008         (tagIsValidForContext): If the tag is PCDATA, and it is not
12009         valid for context, but the paragraph (P) is valid for context,
12010         suggest to insert the P tag here.
12011         * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
12012         HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
12013         implied P tags here.
12014         * javax/swing/text/html/HTMLEditorKit.java (getParser):
12015         Get the custom parser, using HTML_401Swing.java DTD.
12016         * javax/swing/text/html/parser/ParserDelegator.java:
12017         Removed the obsolete note that HTMLEditorKit does not exist.
12018         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
12019         gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
12020
12021 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12022
12023         * javax/management/ListenerNotFoundException.java:
12024         New file.
12025         * javax/management/MBeanFeatureInfo.java:
12026         (hashCode()): Use summation instead of multiplication
12027         for consistency with other classes.
12028         * javax/management/MBeanNotificationInfo.java,
12029         * javax/management/Notification.java,
12030         * javax/management/NotificationBroadcaster.java,
12031         * javax/management/NotificationEmitter.java,
12032         * javax/management/NotificationFilter.java,
12033         * javax/management/NotificationListener.java:
12034         New files.
12035         * javax/management/OperationsException.java:
12036         (serialVersionUID): Added.
12037         
12038 2006-07-16  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
12039             Mark Wielaard  <mark@klomp.org>
12040
12041         * java/io/PrintStream.java: Added four constructors, for File and
12042         String describing a filename with or without explicit encoding.
12043
12044 2006-07-16  Sven de Marothy  <sven@physto.se>
12045
12046         * javax/rmi/ssl/SslRMIServerSocketFactory.java,
12047         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12048         New files.
12049
12050 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12051
12052         PR Classpath/28391
12053         * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)): 
12054         New method.
12055         (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
12056         (setProviderClassNameParam): Made private.
12057         (setKeystoreTypeParam): Likewise.
12058         (setKeyPasswordParam): Likewise
12059         (setKeystorePasswordParam): Likewise.
12060         (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
12061         create or not the keystore if it's not there, and the second is the store's
12062         password to process before loading the keystore. Amended the code
12063         accordingly.
12064         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
12065         setKeyStoreParams(5) with true as its first argument.
12066         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
12067         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
12068
12069 2006-07-16  Sven de Marothy  <sven@physto.se>
12070
12071         * java/util/UUID.java: New file.
12072
12073 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12074
12075         * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
12076         * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
12077         * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
12078         * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
12079         * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
12080         * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
12081         * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
12082         added Key Wrapping Algorithm SPIs.
12083
12084 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12085
12086         * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
12087         wrapping/unwrapping to invoke their engineGetOutputSize.
12088
12089 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12090
12091         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
12092         (engineInit): If a SecureRandom was specified then use it.
12093         (nextRandomBytes): New method.
12094         (engineWrap): Use above method.
12095         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
12096         (getDefaultPRNG): New method.
12097         * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
12098         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
12099         New constant.
12100
12101 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12102
12103         * gnu/javax/crypto/jce/params/BlockCipherParameters.java
12104         (engineGetParameterSpec): Should be able to return an IvParameterSpec.
12105
12106 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12107
12108         * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
12109         offset into consideration.
12110
12111 2006-07-16  Mario Torre  <neugens@limasoftware.net>
12112
12113         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
12114         Fixed comment. This functions now requires to be called
12115         with gdk lock held, the comment states that.
12116         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
12117         Introduces gdk locks around critical regions of code.
12118         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
12119         Likewise.
12120         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
12121         Likewise.
12122         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
12123         Likewise.
12124         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12125         Likewise.
12126         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12127         Likewise.
12128         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12129         Likewise.
12130         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
12131         Likewise.
12132         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
12133         Likewise.
12134         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12135         Likewise.
12136         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
12137         * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
12138
12139 2006-07-15  Sven de Marothy  <sven@physto.se>
12140
12141         * javax/swing/JFileChooser.java
12142         Change default selection mode to FILES_ONLY.
12143         * javax/swing/plaf/basic/BasicDirectoryModel.java
12144         Document, fix selection mode filtering.
12145         (renameFile): Implement
12146         * javax/swing/plaf/basic/BasicFileChooserUI.java
12147         (selectedDir): New field to handle selected directories,
12148         disallow selecting of directories in FILES_ONLY mode.
12149         * javax/swing/plaf/metal/MetalFileChooserUI.java:
12150         (EditingActionListener.actionPerformed):
12151         Stop editing on all actions (e.g. return-key press)
12152
12153 2006-07-15  Mark Wielaard  <mark@klomp.org>
12154
12155         * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
12156         to code.
12157         (JNI Implementation): Mark JVMTI Implementation as next.
12158         (JVMTI Implementation): Mark JNI Implementation as prev.
12159
12160 2006-07-15  Mark Wielaard  <mark@klomp.org>
12161
12162         * include/Makefile.am: Remove
12163         include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
12164         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
12165         * native/jni/gtk-peer/Makefile.am: Remove
12166         gnu_java_awt_peer_gtk_GdkTextLayout.c
12167         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
12168         Removed.
12169
12170         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
12171
12172 2006-07-15  Mark Wielaard  <mark@klomp.org>
12173
12174         * autogen.sh: Recognize autoconf 2.60.
12175
12176 2006-07-15  Keith Seitz  <keiths@redhat.com>
12177
12178         * NEWS: Update for JVMTI and jvmti.h.
12179         * doc/vmintegration.texinfo: Likewise.
12180         * include/jvmti.h: New file.
12181
12182 2006-07-15  Mark Wielaard  <mark@klomp.org>
12183
12184         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12185         Removed C++ style comment.
12186
12187 2006-07-15  Sven de Marothy  <sven@physto.se>
12188
12189         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
12190         * java/awt/MouseInfo.java,
12191         * java/awt/PointerInfo.java,
12192         * java/awt/peer/MouseInfoPeer.java:
12193         New files.
12194
12195         * java/awt/Image.java
12196         (accelerationPriority): New field.
12197         (setAccelerationPriority, getAccelerationPriority): New methods..
12198
12199         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
12200         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
12201         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
12202         (getMouseCoordinates): New method.
12203
12204         * gnu/java/awt/peer/gtk/GtkFramePeer.java
12205         (updateAlwaysOnTop): Remove stub overload.
12206
12207         * gnu/java/awt/ClasspathToolkit.java,
12208         * gnu/java/awt/peer/gtk/GtkToolkit.java,
12209         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
12210         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12211         (getMouseInfoPeer): New method.
12212         (getMouseNumberOfButtons): New method.
12213         
12214         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
12215         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
12216         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12217         (gtkWindowSetAlwaysOnTop): New method.
12218         (updateAlwaysOnTop): Implement.
12219
12220         * java/awt/Toolkit.java,
12221         (getMouseInfoPeer): New method.
12222
12223         * java/awt/Window.java
12224         (alwaysOnTop): New field.
12225         (isAlwaysOnTop, setAlwaysOnTop): New methods.
12226
12227         * java/awt/peer/WindowPeer.java: Doc fix.
12228
12229 2006-07-14  Sven de Marothy  <sven@physto.se>
12230
12231         * java/awt/font/TextLayout.java:
12232         (hitTestChar): Stub method.
12233         * java/awt/font/TextMeasurer.java:
12234         (getLayout): Throw exception on invalid argument.
12235         
12236 2006-07-14  Sven de Marothy  <sven@physto.se>
12237
12238         * java/awt/image/DataBuffer.java
12239         (DataBuffer): Call constructors in the correct order,
12240         
12241 2006-07-14  Mark Wielaard  <mark@klomp.org>
12242
12243         Revert to previous implementation.
12244         * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
12245         constraints insets.
12246
12247 2006-07-14  Roman Kennke  <kennke@aicas.com>
12248
12249         * gnu/java/awt/peer/x/XToolkit.java
12250         (XToolkit): Install properties to SystemProperties
12251         rather than System, to avoid SecurityManager.
12252         (getImage(String)): Return error image when string is invalid.
12253         (createImage(URL)): Moved image loading to helper method.
12254         (createImage(ImageProducer)): Implemented.
12255         (createImage(byte[],int,int)): Implemented.
12256         (createImage(InputStream)): New helper method.
12257
12258 2006-07-14  Tania Bento  <tbento@redhat.com>
12259
12260         * java/awt/FlowLayout.java
12261         (setHgap): No Excpetion should be thrown if hgap has
12262         a negative value.
12263         (setVgap): No Exception should be thrown if vgap has
12264         a negative value.
12265
12266 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12267
12268         * java/awt/image/MultiPixelPackedSampleModel.java: 
12269         Added API docs all over.
12270
12271 2006-07-14  Matt Wringe  <mwringe@redhat.com>
12272
12273         * gnu/javax/crypto/jce/cipher/CipherAdapter.java 
12274         (engineInit): Throw InvalidAlgorithmParameterException
12275         for invalid IVParameterSpec IV length.
12276
12277 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12278
12279         * java/awt/image/MultiPixelPackedSampleModel.java
12280         (createDataBuffer): Include dataBitOffset in calculating the size for
12281         the data buffer.
12282
12283 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12284
12285         * java/awt/image/MultiPixelPackedSampleModel.java
12286         (getSampleSize()): Return a copy of the array,
12287         (getTransferType()): New method override.
12288
12289 2006-07-14  Roman Kennke  <kennke@aicas.com>
12290
12291         * java/awt/CardLayout.java
12292         (show): Validate parent to make sure that the layout is
12293         valid.
12294
12295 2006-07-14  Roman Kennke  <kennke@aicas.com>
12296
12297         * java/awt/Component.java
12298         (enable): Added tree locking.
12299         (disable): Added tree locking.
12300         (show): Added tree locking.
12301         (hide): Added tree locking.
12302         (getLocationOnScreen): Added tree locking.
12303         (reshape): Added tree locking.
12304         (addHierarchyListener): Added tree locking.
12305         (removeHierarchyListener): Added tree locking.
12306         (addHierarchyBoundsListener): Added tree locking.
12307         (removeHierarchyBoundsListener): Added tree locking.
12308         (addNotify): Added tree locking.
12309         (removeNotify): Added tree locking.
12310         * java/awt/Container.java
12311         (invalidateTree): Added tree locking.
12312         (getAlignmentX): Added tree locking.
12313         (getAlignmentY): Added tree locking.
12314         (addNotify): Added tree locking.
12315         (setComponentZOrder): Added tree locking.
12316         (getComponentZOrder): Added tree locking.
12317
12318 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12319
12320         * java/awt/image/MultiPixelPackedSampleModel.java
12321         (createSubsetSampleModel): Restored argument check, but let null
12322         through.
12323
12324 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12325
12326         * java/awt/image/MultiPixelPackedSampleModel.java
12327         (createSubsetSampleModel): Removed argument check.
12328
12329 2006-07-14  Roman Kennke  <kennke@aicas.com>
12330
12331         * java/awt/Component.java
12332         (numHierarchyListeners): New field.
12333         (numHierarchyBoundsListeners): New field.
12334         (show): Fire hierarchy events here. Only fire component event
12335         if there is actually a listener for it.
12336         (hide): Fire hierarchy events here. Only fire component event
12337         if there is actually a listener for it.
12338         (reshape): Fire hierarchy events here. Only fire component event
12339         if there is actually a listener for it.
12340         (addHierarchyListeners): Update listener counters.
12341         (removeHierarchyListeners): Update listener counters.
12342         (addHierarchyBoundsListeners): Update listener counters.
12343         (removeHierarchyBoundsListeners): Update listener counters.
12344         (fireHierarchyEvent): New helper method for firing hierarchy
12345         events.
12346         * java/awt/Container.java
12347         (addImpl): Update listener counters. Fire hierarchy event.
12348         (remove): Update listener counters. Fire hierarchy event.
12349         (fireHierarchyEvent): New helper method for firing hierarchy
12350         events.
12351         (updateHierarchyListenerCount): New helper method for
12352         updating the listener counters.
12353
12354 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12355
12356         * java/awt/image/MultiPixelPackedSampleModel.java
12357         (equals): New method override,
12358         (hashCode): Likewise.
12359
12360 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12361
12362         * java/awt/image/MultiPixelPackedSampleModel.java
12363         (MultiPixelPackedSampleModel(int, int, int, int, int, int)): 
12364         Corrected scanlineStride calculation.
12365
12366 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
12367
12368         * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
12369         (AES_KWA): Likewise.
12370         (AES128_KWA): Likewise.
12371         (AES192_KWA): Likewise.
12372         (AES256_KWA): Likewise.
12373         (RIJNDAEL_KWA): Likewise.
12374         (TRIPLEDES_KWA): Likewise.
12375         (DESEDE_KWA): Likewise.
12376         * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
12377         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
12378         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
12379         * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
12380         * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
12381         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
12382
12383 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
12384
12385         * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
12386         (PADDING_BLOCK_SIZE): New constant.
12387         (init(Map attributes)): New method.
12388         * gnu/javax/crypto/pad/BasePad.java (init): New method.
12389
12390 2006-07-14  Mario Torre  <neugens@limasoftware.net>
12391
12392         * gnu/java/security/OID.java (OID): Private Constructor removed as
12393         it is not needed anymore.
12394         (clone): Fixed. Now uses super.clone instead of the private
12395         constructor as per specification of clone method.
12396         (serialVersionUID): added new field to allow serialization.
12397
12398 2006-07-13  Sven de Marothy  <sven@physto.se>
12399
12400         * gnu/javax/imageio/gif/GIFImageReader.java
12401         (read): Remove old debugging trace.
12402
12403 2006-07-13  Andreas Tobler  <a.tobler@schweiz.ch>
12404
12405         PR awt/28369:
12406         * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12407         blue mask.
12408
12409 2006-07-13  Roman Kennke  <kennke@aicas.com>
12410
12411         * java/awt/Component.java
12412         (DEFAULT_MAX_SIZE): New static constant.
12413         (preferredSize): Return copy of the actual value computed
12414         by new helper method.
12415         (preferredSizeImpl): New helper method. Adds locking and
12416         correct handling of cached value.
12417         (minimumSize): Return copy of the actual value computed
12418         by new helper method.
12419         (minimumSizeImpl): New helper method. Adds locking and
12420         correct handling of cached value.
12421         (getMaximumSize):  Return copy of the actual value computed
12422         by new helper method.
12423         (maximumSizeImpl): New helper method. Adds locking and
12424         correct handling of cached value.
12425         (invalidate): Correct handling of cached layout information.
12426         Added locking.
12427         * java/awt/Container.java
12428         (preferredSize): Minimized locking. Corrected handling of cached
12429         values. Return copy of real value.
12430         (minimumSize): Minimized locking. Corrected handling of cached
12431         values. Return copy of real value.
12432         (getMaximumSize): Minimized locking. Corrected handling of cached
12433         values. Return copy of real value.
12434         
12435 2006-07-13  Tania Bento  <tbento@redhat.com>
12436
12437         * gnu/java/awt/peer/ClasspathFontPeer.java
12438         (isLogicalFontName): Return true if name == default.
12439         (logicalFontNameToFaceName): Check if name == default,
12440         and if so, return "Dialog.plain".
12441         (setStandardAttributes(String, Map)): If name == null, 
12442         it should be set to "Default", not "SansSerif".
12443         * java/awt/Canvas.java
12444         (generateName): Fixed documentation.
12445         * java/awt/CheckboxMenuItem.java
12446         Added static variable "next_chkmenuitem_number".
12447         (generateName): Added and implemented method.
12448         (getUniqueLong): Likewise.
12449         * java/awt/Choice.java
12450         Added static variable "next_choice_number".
12451         (generateName): Added and implemented method.
12452         (getUniqueLong): Likewise.
12453         * java/awt/Cursor.java
12454         (Cursor(int)): Set name depending on the type passed.
12455         * java/awt/List.java
12456         Added static variable "next_list_number".
12457         (generateName): Added and implemented method.
12458         (getUniqueLong): Likewise.
12459         * java/awt/Menu.java
12460         Added static variable "next_menu_number".
12461         (generateName): Added and implemented method.
12462         (getUniqueLong): Likewise.
12463         * java/awt/MenuBar.java
12464         Added static variable "next_menubar_number".
12465         (generateName): Added and implemented method.   
12466         (getUniqueLong): Likewise.
12467         * java/awt/MenuComponent.java
12468         (getName): Before returning name, check if name == null
12469         and name is not explicity set.  If this is the case,    
12470         name will be generated.
12471         (generateName): Added and implemented method.   
12472         * java/awt/MenuItem.java
12473         Added static variable "next_menuitem_number".
12474         (generateName): Added and implemented method.   
12475         (getUniqueLong): Likewise.
12476         * java/awt/PopupMenu.java
12477         Added static variable "next_popup_number".
12478         (generateName): Added and implemented method.
12479         (getUniqueLong): Likewise.
12480         * java/awt/ScrollPane.java
12481         Added static variable "next_scrollpane_number".
12482         (generateName): Added and implemented method.
12483         (getUniqueLong): Likewise.
12484         * java/awt/TextField.java
12485         Added static variable "next_textfield_number".
12486         (generateName): Added and implemented method.
12487         (getUniqueLong): Likewise.
12488
12489
12490 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12491
12492         * java/awt/image/SinglePixelPackedSampleModel.java
12493         (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12494         mask correctly as an unsigned integer,
12495         (equals): New method override.
12496
12497 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12498
12499         * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12500         insertAfterStart, insertBeforeEnd):  Removed stub markings.
12501
12502 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12503
12504         * java/awt/image/BandedSampleModel.java: API doc updates and source 
12505         code reformatting,
12506         * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12507
12508 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12509
12510         * java/awt/image/BandedSampleModel.java: API doc updates.
12511
12512 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12513
12514         * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack): 
12515         Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12516         HTMLReader.insertTag, HTMLReader.insertTagEncountered, 
12517         HTMLReader.pushDepth, HTMLReader.popDepth): Documented. 
12518         (HRMLReader.blockClose): Mind that parser stack may be empty. 
12519         (HTMLReader.handeComment, HTMLReader.handleStartTag,
12520         HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten. 
12521         (HTMLReader.shouldInsert): New method. (getElement(String)): 
12522         Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd, 
12523         insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12524         Implemented. (getInsertingReader): New method. 
12525         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12526         Added buttons to demonstrate the work of the insert actions.
12527
12528 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12529
12530         * java/awt/image/SampleModel.java: API doc updates and additions,
12531         * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12532
12533 2006-07-12  Sven de Marothy  <sven@physto.se>
12534
12535         * javax/swing/JFileChooser.java:
12536         (createDialog): Close operation should cause a cancel.
12537
12538 2006-07-12  Francis Kung  <fkung@redhat.com>
12539
12540         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12541         (cairoArc): New native method.
12542         (cairoRestore): New native method.
12543         (cairoSave): New native method.
12544         (cairoScale): New native method.
12545         (createPath): New method to centralize code from draw and fill.
12546         (draw): Modified to use createPath method.
12547         (fill): Modified to use createPath method.
12548         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added 
12549         function declarations.
12550         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12551         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New 
12552         method.
12553         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New 
12554         method.
12555         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New 
12556         method.
12557         
12558 2006-07-12  Tom Tromey  <tromey@redhat.com>
12559
12560         PR libgcj/27271:
12561         * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12562         on PartialInputStream.
12563         (PartialInputStream.dummyByteCount): New field.
12564         (PartialInputStream.fillBuffer): Handle dummy byte.
12565         (PartialInputStream.read): Likewise.
12566         (PartialInputStream.addDummyByte): New method.
12567
12568 2006-07-12  Mario Torre  <neugens@limasoftware.net>
12569
12570         * native/jni/gconf-peer/GConfNativePeer.c
12571         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12572         Fixed C++ style comment.
12573
12574 2006-07-12  David Gilbert  <david.gilbert@object-refinery.com>
12575
12576         * java/util/Arrays.java
12577         (asList): Updated API docs.
12578
12579 2006-07-11  Robert Schuster  <robertschuster@fsfe.org>
12580
12581         Fixes PR28350.
12582         * native/jni/gconf-peer/GConfNativePeer.c:
12583         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12584         Changed if-expression.
12585         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12586         Added check for _value not being NULL.
12587         
12588 2006-07-11  Roman Kennke  <kennke@aicas.com>
12589
12590         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12591         (read): Use fd when local sockets are disabled to make the
12592         compiler quite.
12593         (write): Likewise.
12594
12595 2006-07-11  Roman Kennke  <kennke@aicas.com>
12596
12597         * java/awt/image/MultiPixelPackedSampleModel.java
12598         (MultiPixelPackedSampleModel): Substract -1 so that the integer
12599         division gets rounded up.
12600
12601 2006-07-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12602
12603         * java/lang/management/ManageFactory.java:
12604         (getMemoryManagerMXBeans()): Use addAll, not add.
12605         
12606 2006-07-11  Vivek Lakshmanan  <vivekl@redhat.com>
12607
12608         PR 27649:
12609         * gnu/classpath/ByteArray.java: Removed (moved).
12610         * gnu/java/security/util/ByteArray.java: New File.
12611         * gnu/javax/crypto/RSACipherImpl.java: Reference 
12612         gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12613
12614 2006-07-11  Roman Kennke  <kennke@aicas.com>
12615
12616         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12617         (available): Pass fd as argument and avoid JNI class/field
12618         lookup.
12619         (read): Likewise.
12620         (write): Likewise.
12621         * include/gnu_java_net_local_LocalSocketImpl.h:
12622         Regenerated.
12623         * gnu/java/net/local/LocalSocketImpl.h
12624         (available): Pass fd as argument and avoid JNI class/field
12625         lookup.
12626         (read): Likewise.
12627         (write): Likewise.      
12628
12629 2006-07-11  Sven de Marothy  <sven@physto.se>
12630
12631         * gnu/javax/sound/sampled/AU/AUReader.java:
12632         Correct file extension from .as to .au.
12633
12634 2006-07-11  Sven de Marothy  <sven@physto.se>
12635
12636         * gnu/javax/sound/sampled/AU/AUReader.java:
12637         New file.
12638         * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
12639         Added new provider.
12640
12641 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12642
12643         * javax/swing/JTable.java
12644         (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12645         (setColumnSelectionAllowed): Likewise.
12646
12647 2006-07-10  Vivek Lakshmanan  <vivekl@redhat.com>
12648
12649         PR 27649:
12650         * gnu/classpath/debug/Simple1LineFormatter.java: Use
12651         AccessController.doPrivileged instead of SystemProperties.getProperty.
12652         * gnu/classpath/debug/SystemLogger.java: Likewise.
12653         * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12654         repeated getProperty calls for "file.seperator".
12655         (refresh): Since already in privileged block, call System.getProperty
12656         instead of SystemProperties.getProperty.
12657         * gnu/java/security/key/dss/DSSKey.java
12658         (toString): Use AccessController.doPrivileged instead of
12659         SystemProperties.getProperty.
12660         * gnu/java/security/key/dss/DSSPrivateKey.java
12661         (toString): Likewise.
12662         * gnu/java/security/key/dss/DSSPublicKey.java
12663         (toString): Likewise.
12664         * gnu/java/security/key/rsa/GnuRSAKey.java
12665         (toString): Likewise.
12666         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12667         (toString): Likewise.
12668         * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12669         (toString): Likewise.
12670         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12671         * gnu/javax/crypto/key/dh/GnuDHKey.java 
12672         (toString): Likewise.
12673         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java 
12674         (toString): Likewise.
12675         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java 
12676         (toString): Likewise.
12677
12678 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12679
12680         * javax/swing/AbstractButton.java
12681         (disabledIcon): Fixed name (was 'disabeldIcon'),
12682         (getDisabledIcon): Updated for corrected field name,
12683         (setDisabledIcon): Fire a PropertyChangeEvent.
12684
12685 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12686
12687         * javax/swing/DefaultBoundedRangeModel.java
12688         (readObject): New private method,
12689         (writeObject): Likewise.
12690
12691 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12692
12693         * javax/swing/ButtonGroup.java
12694         (add): Ignore null argument,
12695         (remove): Ignore null argument.  If removing selected button, clear the
12696         sel field,
12697         (findButton): Changed case for method name, and documented,
12698         (setSelected): Updated for modification to findButton() method name,
12699         (isSelected): Updated API docs.
12700
12701 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12702
12703         * java/awt/image/BufferedImage.java
12704         (BufferedImage(int, int, int)): Use correct color space for 
12705         TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an 
12706         IllegalArgumentException for an unrecognised type.
12707
12708 2006-07-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12709
12710         * java/lang/management/ManagementFactory.java:
12711         (getMemoryPoolMXBeans): Genericized fully.
12712         (getMemoryManagerMXBeans): Likewise.
12713         (getGarbageCollectorMXBeans): Likewise.
12714         
12715 2006-07-10  Tom Tromey  <tromey@redhat.com>
12716
12717         * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12718         Genericized.
12719         (getMemoryManagerMXBeans): Likewise.
12720         (getGarbageCollectorMXBeans): Likewise.
12721
12722 2006-07-10  Mario Torre  <neugens@limasoftware.net>
12723
12724         * java/awt/BasicStroke.java: Removed unused import.
12725         * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed. 
12726         * gnu/java/awt/java2d/LineSegment.java (clone): Fixed. 
12727         * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12728
12729 2006-07-10  Matt Wringe  <mwringe@redhat.com>
12730
12731         PR classpath/28212:
12732         * javax/crypto/spec/SecretKeySpec.java 
12733         (equals): Check object type. 
12734
12735 2006-07-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12736
12737         * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12738         communication/StructureToPassHelper.java,
12739         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12740         communication/StructureToReturnHelper.java,
12741         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12742         communication/TreeNodeHelper.java,
12743         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12744         communication/WeThrowThisExceptionHelper.java,
12745         gnu/CORBA/ForwardRequestHelper.java,
12746         org/omg/CORBA/CompletionStatusHelper.java,
12747         org/omg/CORBA/CurrentHelper.java,
12748         org/omg/CORBA/DefinitionKindHelper.java,
12749         org/omg/CORBA/IDLTypeHelper.java,
12750         org/omg/CORBA/NameValuePairHelper.java,
12751         org/omg/CORBA/ObjectHelper.java,
12752         org/omg/CORBA/ParameterModeHelper.java,
12753         org/omg/CORBA/PolicyErrorCodeHelper.java,
12754         org/omg/CORBA/PolicyErrorHelper.java,
12755         org/omg/CORBA/PolicyHelper.java,
12756         org/omg/CORBA/PolicyListHelper.java,
12757         org/omg/CORBA/PolicyTypeHelper.java,
12758         org/omg/CORBA/ServiceDetailHelper.java,
12759         org/omg/CORBA/ServiceInformationHelper.java,
12760         org/omg/CORBA/SetOverrideTypeHelper.java,
12761         org/omg/CORBA/StringValueHelper.java,
12762         org/omg/CORBA/UnionMemberHelper.java,
12763         org/omg/CORBA/UnknownUserExceptionHelper.java,
12764         org/omg/CORBA/VisibilityHelper.java,
12765         org/omg/CORBA/WStringValueHelper.java,
12766         org/omg/CORBA/WrongTransactionHelper.java,
12767         org/omg/CosNaming/BindingHelper.java,
12768         org/omg/CosNaming/BindingIteratorHelper.java,
12769         org/omg/CosNaming/BindingListHelper.java,
12770         org/omg/CosNaming/BindingTypeHelper.java,
12771         org/omg/CosNaming/NameComponentHelper.java,
12772         org/omg/CosNaming/NameHelper.java,
12773         org/omg/CosNaming/NamingContextExtHelper.java,
12774         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12775         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12776         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12777         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12778         org/omg/CosNaming/NamingContextHelper.java,
12779         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12780         org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12781         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12782         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12783         org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12784         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12785         org/omg/DynamicAny/AnySeqHelper.java,
12786         org/omg/DynamicAny/DynAnyFactoryHelper.java,
12787         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12788         org/omg/DynamicAny/DynAnyHelper.java,
12789         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12790         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12791         org/omg/DynamicAny/DynAnySeqHelper.java,
12792         org/omg/DynamicAny/DynArrayHelper.java,
12793         org/omg/DynamicAny/DynEnumHelper.java,
12794         org/omg/DynamicAny/DynFixedHelper.java,
12795         org/omg/DynamicAny/DynSequenceHelper.java,
12796         org/omg/DynamicAny/DynStructHelper.java,
12797         org/omg/DynamicAny/DynUnionHelper.java,
12798         org/omg/DynamicAny/DynValueHelper.java,
12799         org/omg/DynamicAny/NameDynAnyPairHelper.java,
12800         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12801         org/omg/DynamicAny/NameValuePairHelper.java,
12802         org/omg/DynamicAny/NameValuePairSeqHelper.java,
12803         org/omg/IOP/CodecFactoryHelper.java,
12804         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12805         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12806         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12807         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12808         org/omg/IOP/ComponentIdHelper.java,
12809         org/omg/IOP/IORHelper.java,
12810         org/omg/IOP/MultipleComponentProfileHelper.java,
12811         org/omg/IOP/ProfileIdHelper.java,
12812         org/omg/IOP/ServiceContextHelper.java,
12813         org/omg/IOP/ServiceContextListHelper.java,
12814         org/omg/IOP/ServiceIdHelper.java,
12815         org/omg/IOP/TaggedComponentHelper.java,
12816         org/omg/IOP/TaggedProfileHelper.java,
12817         org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12818         org/omg/PortableInterceptor/AdapterNameHelper.java,
12819         org/omg/PortableInterceptor/AdapterStateHelper.java,
12820         org/omg/PortableInterceptor/CurrentHelper.java,
12821         org/omg/PortableInterceptor/ForwardRequestHelper.java,
12822         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12823         org/omg/PortableInterceptor/InvalidSlotHelper.java,
12824         org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12825         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12826         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12827         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12828         org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12829         org/omg/PortableServer/CurrentHelper.java,
12830         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12831         org/omg/PortableServer/ForwardRequestHelper.java,
12832         org/omg/PortableServer/POAHelper.java,
12833         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12834         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12835         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12836         org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12837         org/omg/PortableServer/POAPackage/NoServantHelper.java,
12838         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12839         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12840         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12841         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12842         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12843         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12844         org/omg/PortableServer/ServantActivatorHelper.java,
12845         org/omg/PortableServer/ServantLocatorHelper.java: Remove the 
12846         typecode caching and always use OrbRestricted.Singleton.
12847
12848 2006-07-09  Tom Tromey  <tromey@redhat.com>
12849
12850         * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12851
12852 2006-07-09  Mark Wielaard  <mark@klomp.org>
12853
12854         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12855         New static final boolean field.
12856         (getComponentGraphics): Use hasXRenderExtension.
12857         (setClip): Override method for locking.
12858
12859 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
12860
12861         * javax/swing/AbstractButton.java
12862         (setHorizontalTextPosition): Added check for illegal argument,
12863         (setVerticalTextPosition): Likewise.
12864
12865 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
12866
12867         * javax/swing/Timer.java
12868         (setDelay): Throw IllegalArgumentException for negative delay,
12869         (setInitialDelay): Likewise,
12870         * javax/swing/ToolTipManager.java
12871         (setInitialDelay): Document IllegalArgumentException,
12872         (setDismissDelay): Likewise,
12873         (setReshowDelay): Likewise.
12874
12875 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12876
12877         * java/lang/management/MemoryUsage.java:
12878         (from(javax.management.openmbean.CompositeData)):
12879         Implemented.
12880         * java/lang/management/ThreadInfo.java:
12881         Changed to use open types throughout for the state.
12882         (ThreadInfo(long,String,String,long,long,String,
12883         long,String,long,long,boolean,StackTraceElement[])):
12884         New constructor.
12885         (checkAttribute(javax.management.openmbean.CompositeType,
12886         String, javax.management.openmbean.OpenType)): New method.
12887         (from(javax.management.openmbean.CompositeData)):
12888         Implemented.
12889         (getLockName()): Fixed to use new variable.
12890         (getLockOwnerId()): Likewise.
12891         (getLockOwnerName()): Likewise.
12892         (getThreadId()): Likewise.
12893         (getThreadName()): Likewise.
12894         (getThreadState()): Likewise.
12895         (toString()): Refactored to use new variables.
12896         * javax/management/openmbean/ArrayType.java:
12897         New file.
12898         * javax/management/openmbean/CompositeType.java:
12899         Variables should be transient, not volatile.
12900         * javax/management/openmbean/OpenDataException.java:
12901         (serialVersionUID): Added.
12902         * javax/management/openmbean/SimpleType.java:
12903         New file.
12904         * javax/management/openmbean/TabularType.java
12905         Variables should be transient, not volatile.
12906
12907 2006-07-09  Tom Tromey  <tromey@redhat.com>
12908
12909         * tools/.cvsignore: Updated for new tools.
12910
12911 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12912
12913         * javax/management/openmbean/CompositeData.java,
12914         * javax/management/openmbean/CompositeType.java,
12915         * javax/management/openmbean/OpenDataException.java,
12916         * javax/management/openmbean/OpenType.java,
12917         * javax/management/openmbean/TabularData.java,
12918         * javax/management/openmbean/TabularType.java,
12919         * javax/management/openmbean/package.html:
12920         New files.
12921
12922 2006-07-09  Mark Wielaard  <mark@klomp.org>
12923
12924         * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12925         * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12926         * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12927
12928 2006-07-08  Anthony Green  <green@redhat.com>
12929
12930         * gnu/javax/sound/sampled/WAV/WAVReader.java,
12931         resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
12932         New files.
12933
12934 2006-07-09  Mario Torre  <neugens@limasoftware.net>
12935
12936         * native/jni/gconf-peer/GConfNativePeer.c:
12937         Fixed indentation to be more compliant to the GNU coding
12938         guidelines.
12939         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12940         Added explicit test for errors in the GConf backend.
12941         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12942         Added explicit test for errors in the GConf backend.
12943         Fixed Segmentation Fault when non valid key names are given as input.
12944         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12945         likewise.
12946         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12947         Added explicit test for errors in the GConf backend.
12948         * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12949         Added javadoc comments for all native methods.
12950         (nodeExist): removed test to check for valid absolute path name
12951         for nodes.
12952         (startWatchingNode): likewise.
12953         (stopWatchingNode): likewise.
12954         (setString): likewise, plus fixed javadoc comments.
12955         (unset): likekwise.
12956         (getKey): likewise.
12957         (getKeys): likewise, also fixed javadoc comments.
12958         (getChildrenNodes): likewise.
12959         * gnu/java/util/prefs/GConfBasedPreferences.java:
12960         changed DEFAULT_USER_ROOT to /apps/classpath.
12961         (constructor): Test to check for a valid absolute path for nodes
12962         is now in the contructor for that node, instead of being on
12963         each method of the backend.
12964         (getGConfKey): removed empty new line.
12965
12966 2006-07-08  Mark Wielaard  <mark@klomp.org>
12967
12968         * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12969
12970 2006-07-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12971
12972         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12973         Handle the forced break in the same way as exceeding the
12974         available row space.
12975         * javax/swing/text/html/HRuleView.java: Rewritten.
12976         * javax/swing/text/html/HTMLDocument.java 
12977         (HTMLReader.addSpecialElement):Reserve two characters for
12978         the special elements.
12979         * examples/gnu/classpath/examples/swing/HtmlDemo.java
12980         (text): Extended the HTML example to parse.
12981
12982 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12983
12984         * javax/swing/AbstractButton.java
12985         (setHorizontalAlignment): Check for illegal argument,
12986         (setVerticalAlignment): Likewise.
12987
12988 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12989
12990         * javax/swing/text/html/TableView.java
12991         (getStyleSheet): New method. (RowView.getStyleSheet):
12992         New method.
12993
12994 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12995
12996         * javax/swing/AbstractButton.java
12997         (setRolloverIcon): Call setRolloverEnabled(true),
12998         (setRolloverSelectedIcon): Likewise.
12999
13000 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13001
13002         * javax/swing/border/TitledBorder.java
13003         (setTitlePosition): Added message to exception,
13004         (setTitleJustification): Likewise.
13005
13006 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13007
13008         * javax/swing/plaf/metal/MetalLookAndFeel.java
13009         (createDefaultTheme): Corrected API docs,
13010         (initComponentDefaults): Added entry for 'TitledBorder.border',
13011         (getCurrentTheme): Initialise theme if it is null.
13012
13013 2006-07-07  Roman Kennke  <kennke@aicas.com>
13014
13015         * java/awt/Component.java
13016         (isValid): Return false when component has no peer,
13017         don't query the showing state.
13018
13019 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13020
13021         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
13022         Advance the offset also in the case of the enforced break.
13023
13024 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13025
13026         * javax/swing/plaf/basic/BasicArrowButton.java
13027         (MAXIMUM_SIZE): Removed field,
13028         (MINIMUM_SIZE): Likewise,
13029         (PREFERRED_SIZE): Likewise,
13030         (getMaximumSize): Return new instance every time,
13031         (getMinimumSize): Likewise,
13032         (getPreferredSize): Likewise.
13033
13034 2006-07-07  Roman Kennke  <kennke@aicas.com>
13035
13036         * java/awt/LightweightDispatcher.java
13037         (findTarget):  Avoid array copying in
13038         Container.getComponents().
13039
13040 2006-07-07  Roman Kennke  <kennke@aicas.com>
13041
13042         * javax/swing/JComponent.java
13043         (paintChildrenWithOverlap): Avoid array copying in
13044         Container.getComponents().
13045         (paintChildrenOptimized): Avoid array copying in
13046         Container.getComponents().
13047         (fireAncestorEvent):  Avoid array copying in
13048         Container.getComponents().
13049         (findOverlapFreeParent): Avoid array copying in
13050         Container.getComponents().
13051
13052 2006-07-07  Matt Wringe <mwringe@redhat.com>
13053
13054         * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
13055         (passwordValid): New field.
13056         (setPassword): New method.
13057         (setSalt): Likewise.
13058         (setIterationCount): Likewise.
13059         (setKeyLength): Likewise.
13060         (PBEKeySpec(char[])): Use new setter methods.
13061         (PBEKeySpec(char[], byte[], int)): Likewise.
13062         (PBEKeySpec(char[], byte[], int, int)): Likewise.
13063         (clearPassword): Set passwordValid to false.
13064         (getPassword): Check that clearPassword() was not called earlier.
13065         Return a clone of the password.
13066         (getSalt): Return a clone of the salt if it was not null.
13067
13068 2006-07-07  Roman Kennke  <kennke@aicas.com>
13069
13070         * java/awt/Component.java
13071         (isValid): Always return false when component is
13072         not showing.
13073         (setFont): Always set font, even when setting
13074         the same or equal font again.
13075
13076 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13077
13078         * javax/swing/plaf/metal/MetalIconFactory.java
13079         (CheckBoxMenuItemIcon): Implement UIResource,
13080         (FileChooserDetailViewIcon): Likewise,
13081         (FileChooserHomeFolderIcon): Likewise,
13082         (FileChooserListViewIcon): Likewise,
13083         (FileChooserNewFolderIcon): Likewise,
13084         (FileChooserUpFolderIcon): Removed redundant 'implements',
13085         (RadioButtonMenuItemIcon): Implement UIResource,
13086         (HorizontalSliderThumbIcon): Likewise,
13087         (InternalFrameCloseIcon): Likewise,
13088         (InternalFrameDefaultMenuIcon): Likewise,
13089         (InternalFrameAltMaximizeIcon): Likewise,
13090         (InternalFrameMaximizeIcon): Likewise,
13091         (InternalFrameMinimizeIcon): Likewise,
13092         (VerticalSliderThumbIcon): Likewise,
13093         (TreeHardDriveIcon): Likewise,
13094         (TreeFloppyDriveIcon): Likewise,
13095         (TreeComputerIcon): Likewise,
13096         (horizontalSliderThumbIcon): New field,
13097         (verticalSliderThumbIcon): New field,
13098         (getHorizontalSliderThumbIcon): Cache icon,
13099         (getVerticalSliderThumbIcon): Likewise.
13100
13101 2006-07-06  Mark Wielaard  <mark@klomp.org>
13102
13103         * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
13104         (DISTCLEANFILES): Add standard.omit.
13105         (clean-local): Remove Makefile.deps, only remove dirs.
13106
13107 2006-07-06  Roman Kennke  <kennke@aicas.com>
13108
13109         * java/awt/Component.java
13110         (setFont): Only invalidate when component is valid.
13111         * java/awt/Container.java
13112         (setLayout): Only invalidate when component is valid.
13113
13114 2006-07-06  Lillian Angel  <langel@redhat.com>
13115
13116         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
13117         New class not fully implemented.
13118         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
13119         New class not fully implemented.
13120         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
13121         New class not fully implemented.
13122         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
13123         New class not fully implemented.
13124         * nu/java/awt/peer/gtk/GtkToolkit.java:
13125         Fixed Imports.
13126         (createDragSourceContextPeer): Implemented.
13127         (createDragGestureRecognizer): New function to override
13128         java.awt.Toolkit.createDragGestureRecognizer.
13129         * java/awt/dnd/DragSource.java
13130         (NoDragGestureRecognizer): Removed inner class.
13131         (createDragGestureRecognizer): Re-Implemented to 
13132         call Toolkit's createDragGestureRecognizer.
13133         (createDefaultDragGestureRecognizer): Re-Implemented to
13134         call Toolkit's createDragGestureRecognizer.
13135         * java/awt/dnd/DropTarget.java
13136         (addNotify): Added check to determine type of peer and call
13137         addDropTarget.
13138         (removeNotify): Added call to removeDropTarget.
13139
13140 2006-07-06  Tom Tromey  <tromey@redhat.com>
13141
13142         * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
13143         'queue'.
13144         (run): Wait on queue, not 'this'.
13145
13146 2006-07-06  Lillian Angel  <langel@redhat.com>
13147
13148         * java/awt/dnd/DragSource.java
13149         (startDrag): Implemented. Added comments describing
13150         what the function should do. Removed FIXME.
13151
13152 2006-07-06  Tania Bento  <tbento@redhat.com>
13153         
13154         * gnu/java/awt/Canvas.java
13155         Added new private variable 'next_canvas_number'.
13156         (generateName): Added.
13157         (getUniqueLong): Added.
13158
13159 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13160
13161         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
13162         (getColor): Made public.
13163         * javax/swing/text/html/StyleSheet.java (stringToColor):
13164         Use CharacterAttributeTranslator.getColor(String)
13165
13166 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13167
13168         * javax/swing/text/html/HTMLEditorKit.java:
13169         (HTMLFactory.createElement): Update reference to the html table view.
13170         * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
13171         * javax/swing/text/html/TableView.java: New file.
13172
13173 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13174
13175         * javax/swing/text/html/HTMLEditorKit.java: 
13176         (HTMLFactory.createElement): Uncomment
13177         code for BRView and HRuleView.
13178         * javax/swing/text/html/BRView.java,
13179         javax/swing/text/html/HRuleView.java: New files.
13180
13181 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13182
13183         * java/lang/Thread.java:
13184         (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
13185         Added generic type signature.
13186
13187 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13188
13189         * NEWS: Updated.
13190         * doc/vmintegration.texinfo: Likewise.
13191         * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
13192         * examples/gnu/classpath/examples/management/TestMemoryManager.java,
13193         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
13194         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
13195         * java/lang/management/GarbageCollectorMXBean.java:
13196         New files.
13197         * java/lang/management/ManagementFactory.java:
13198         (getGarbageCollectorMXBeans()): Implemented.
13199         (getMemoryManagerMXBeans()): Likewise.
13200         * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
13201         * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
13202         New files.
13203         * vm/reference/java/lang/management/VMManagementFactory.java:
13204         (getMemoryManagerNames()): Added.
13205         (getGarbageCollectorNames()): Added.
13206         
13207 2006-07-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
13208
13209         * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
13210         from lib_LTLIBRARIES.
13211         (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
13212
13213 2006-07-05  Lillian Angel  <langel@redhat.com>
13214
13215         * java/awt/dnd/DragGestureEvent.java:
13216         Added new fields.
13217         (DragGestureEvent): Initialized new fields, added to check and 
13218         added documentation.
13219         (getSourceAsDragGestureRecognizer): Added documentation and 
13220         changed to use getSource.
13221         (getComponent): Added documentation and fixed to return the proper
13222         value.
13223         (getDragSource): Likewise.
13224         (getDragOrigin): Added documentation.
13225         (iterator): Implemented and added documentation.
13226         (toArray): Likewise.
13227         (toArray): Likewise.
13228         (getDragAction): Likewise.
13229         (getTriggerEvent): Likewise.
13230         (startDrag): Likewise.
13231         * java/awt/dnd/DragGestureRecognizer.java
13232         (resetRecognizer): Added FIXME.
13233         * java/awt/dnd/DragSource.java:
13234         Added new field.
13235         (DragSource): Set ds to be null if headless.
13236         (getDefaultDragSource): Added documentation and implemented.
13237         (isDragImageSupported): Marked as unimplemented.
13238         (startDrag): Likewise.
13239         (createDragSourceContext): Implemented.
13240         (NoDragGestureRecognizer): Formatted inner class.
13241         * java/awt/dnd/DropTarget.java
13242         (stop): Marked as unimplemented.
13243         (actionPerformed): Likewise.
13244         (addDropTargetListener): Added code to throw exception.
13245         (removeDropTargetListener): Added check, removed FIXME.
13246         (dragEnter): Implemented.
13247         (dragOver): Implemented.
13248         (dropActionChanged): Implemented.
13249         (dragExit): Implemented.
13250         (drop): Implemented.
13251         (addNotify): Implemented.
13252         (removeNotify): Implemented.
13253         (createDropTargetContext): Implemented.
13254         (createDropTargetAutoScroller): Implemented.
13255         (initializeAutoscrolling): Implemented.
13256         (updateAutoscroll): Implemented.
13257         (clearAutoscroll): Implemented.
13258         * java/awt/dnd/DropTargetContext.java
13259         (dropComplete): Implemented.
13260         (acceptDrag): Implemented.
13261         (rejectDrag): Implemented.
13262         (acceptDrop): Implemented.
13263         (rejectDrop): Implemented.
13264         (getCurrentDataFlavors): Implemented.
13265         (getTransferable): Partially implemented.
13266         * java/awt/dnd/DropTargetDragEvent.java
13267         (getDropAction): Uncommented correct code.
13268         * java/awt/dnd/DropTargetDropEvent.java
13269         (dropComplete) :Implemented.
13270         * java/awt/dnd/InvalidDnDOperationException.java
13271         (InvalidDnDOperationException): Added call to super.
13272
13273 2006-07-05  Robert Schuster  <robertschuster@fsfe.org>
13274
13275         * javax/swing/plaf/basic/BasicArrowButton.java:
13276         (paint): Removed getBounds() call, changed center point
13277         calculation.
13278
13279 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
13280
13281         * javax/swing/InputMap.java
13282         (inputMap): Don't initialize yet,
13283         (InputMap): Removed TODO,
13284         (get): Check for null inputMap,
13285         (put): Return immediately for null keyStroke, check for null inputMap
13286         and initialize if necessary,
13287         (remove): Check for null inputMap,
13288         (size): Likewise,
13289         (clear): Likewise,
13290         (keys): Likewise,
13291         (allKeys): Likewise,
13292         (writeObject): Removed,
13293         (readObject): Removed.
13294
13295 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
13296
13297         * gnu/classpath/examples/swing/TabbedPaneDemo.java
13298         (createContent): Use different labels for buttons.
13299
13300 2006-07-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13301
13302         * NEWS: Updated.
13303         * doc/vmintegration.texinfo: Likewise.
13304         * examples/gnu/classpath/examples/management/TestMemoryPool.java,
13305         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
13306         New files.
13307         * java/lang/management/ManagementFactory.java:
13308         (getMemoryPoolMXBeans()): Implemented.
13309         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
13310         * vm/reference/java/lang/management/VMManagementFactory.java:
13311         New files.
13312         
13313 2006-07-04  Lillian Angel  <langel@redhat.com>
13314
13315         * java/awt/dnd/DragSourceContext.java:
13316         Removed FIXMEs from fields.
13317         (DragSourceContext): Added code to initialize cursor and sourceActions.
13318         (getDragSource): Added documentation.
13319         (getComponent): Likewise.
13320         (getTrigger): Likewise.
13321         (getSourceActions): Added documentation and implemented.
13322         (setCursor): Implemented. Added documentation.
13323         (getCursor): Implemented. Added documentation.
13324         (dragEnter): Added code to notify DragSource's listeners.
13325         (dragOver): Likewise.
13326         (dragExit): Likewise.
13327         (dropActionChanged): Likewise.
13328         (dragDropEnd): Likewise.
13329         (dragMouseMoved): Implemented.
13330         (getTransferable): Added API documentation.
13331         (updateCurrentCursor): Added API documentation and partially implemented.
13332
13333 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13334
13335         * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
13336
13337 2006-07-04  Lillian Angel  <langel@redhat.com>
13338
13339         * java/awt/dnd/DragSourceContext.java
13340         (DragSourceContext): Implemented fully. Fixed API docs.
13341         (transferablesFlavorsChanged): Implemented.
13342         (dragEnter): Implemented.
13343         (dragOver): Implemented.
13344         (dragExit): Implemented.
13345         (dropActionChanged): Implemented.
13346         (dragDropEnd): Implemented.
13347
13348 2006-07-04  Lillian Angel  <langel@redhat.com>
13349
13350         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
13351         Fixed name of constant.
13352         (getIconWidth): Changed name of constant returned.
13353         (getIconHeight): Likewise.
13354         (paint): Likewise.
13355         (createSeparator): Marked as unimplemented.
13356         * javax/swing/plaf/basic/BasicTableUI.java
13357         (focusGained): Marked as unimplemented.
13358         (focusLost): Marked as unimplemented.
13359         (mouseEntered): Likewise.
13360         (mouseMoved): Likewise.
13361         (uninstallDefaults): Likewise.
13362         * javax/swing/plaf/basic/BasicToolBarUI.java
13363         (mouseClicked): Changed comment.
13364         (mouseEntered): Likewise.
13365         (mouseExited): Likewise.
13366         (mouseMoved): Likewise.
13367         (setOrientation): Implemented.
13368         (ToolBarFocusListener): Marked as unimplemented.
13369         (focusGained): Marked as unimplemented.
13370         (focusLost): Marked as unimplemented.
13371
13372 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13373
13374         PR 28061
13375         * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
13376         Mind the effect of the root visibility on the position of the control.
13377         Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the 
13378         vertical line over first level nodes.
13379
13380 2006-07-04  Lillian Angel  <langel@redhat.com>
13381
13382         * javax/swing/plaf/basic/BasicMenuUI.java
13383         (installKeyboardActions): Implemented to call super. Nothing else
13384         needs to be done here.
13385         (setupPostTimer): Marked as unimplemented.
13386         (uninstallKeyboardActions): Implemented to call super. Nothing else
13387         needs to be done here.
13388         (mouseMoved): Removed TODO. Nothing to be done here.
13389         (ChangeHandler): Implemented.
13390         (menuDragMouseExited): Removed TODO. Nothing to be done here.
13391         (menuDragMouseReleased): Removed TODO. Nothing to be done here.
13392         (menuKeyReleased): Removed TODO. Nothing to be done here.
13393         (menuKeyTyped): Marked as unimplemented.
13394
13395 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13396
13397         PR 28061
13398         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13399         (getDefaults): Set hash color to black.
13400         * javax/swing/plaf/basic/BasicLookAndFeel.java
13401         (initComponentDefaults): Set hash color to grey blue.
13402         * javax/swing/plaf/basic/BasicTreeUI.java
13403         (instellDefaults): Set hash color.
13404         * javax/swing/plaf/metal/MetalIconFactory.java
13405         (TreeControlIcon.paint): Rewritten.
13406
13407 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13408
13409         PR 28061
13410         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13411         Always cancel the current editing session before doing anything else,
13412         return immediately if this fails.
13413         (TreeHomeAction): Ensure that the lead selection path is visible after
13414         the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13415         Likewise. TreeTraverseAction: Likewise.
13416
13417 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13418
13419         PR 28061
13420         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13421         Returned back the code to handle the start of the click-pause-click
13422         editing initiation, explained about this code. 
13423         (TreeStartEditingAction): New inner class.
13424         (stopEditingInCompleteEditing): Explained about this field.
13425         (completeEditing(boolean, boolean, boolean): Only return early
13426         if there is no current editing session.
13427         (createDefaultActions): Install TreeStartEditingAction and
13428         TreeCancelEditingAction.
13429
13430 2006-07-04  Mario Torre  <neugens@limasoftware.net>
13431
13432         * configure.ac: Added new option --enable-default-preferences-peer
13433         to pass user specified default preference backend.
13434         If the GConf peer is built, GConf become the default backend.
13435         * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13436         new file. 
13437         * lib/Makefile.am: excludes files terminating in 'in' from
13438         the metafiles list.
13439         * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13440         from copy into META-INF.
13441         * java/util/prefs/Preferences.java: added two new import
13442         classes gnu.classpath.ServiceFactory and java.util.Iterator.
13443         (getFactory): Now try to check for
13444         a system defined default preference backend before to fall back on
13445         FileBasedPreference.
13446
13447 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13448
13449         PR 28061
13450         * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13451         (EXPANDED): Initialise to Boolean.TRUE.
13452         * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13453         First configure layout cache and then set the assigned value 
13454         as row mapper. Set the root visibility property.
13455         (toggleExpandState): Obtains expansion state from the layout cache.
13456
13457 2006-07-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13458
13459         * java/lang/management/MemoryPoolMXBean.java:
13460         New file.
13461         
13462 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
13463
13464         * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13465
13466 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
13467
13468         * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13469         * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13470         * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13471         * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13472         * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13473         * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13474         * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13475         * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13476         * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13477         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13478         * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13479         * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13480         * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13481         * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13482         * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13483         * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13484         * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13485         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13486         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13487         * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13488         * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13489         * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13490         * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13491         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13492         * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13493         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13494         * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13495         * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13496         * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13497         * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13498         * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13499         * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13500         * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13501         * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13502         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13503         * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13504         * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13505         * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13506         * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13507         * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13508         * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13509         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13510         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13511         * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13512         * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13513         * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13514         * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13515
13516 2006-07-02  Anthony Green  <green@redhat.com>
13517
13518         * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13519         sure that every track written ends with an End Of Track meta
13520         message.
13521
13522 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13523
13524         * java/lang/management/MemoryUsage.java:
13525         (toString()): Fix missing MB for maximum memory usage.
13526         
13527 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13528
13529         * NEWS:
13530         Updated to include VMCompilationMXBeanImpl.
13531         * doc/vmintegration.texinfo:
13532         Likewise, along with update to VMMemoryMXBeanImpl
13533         as below.
13534         * examples/gnu/classpath/examples/management/TestCompilation.java,
13535         * gnu/java/lang/management/CompilationMXBeanImpl.java,
13536         * java/lang/management/CompilationMXBeanImpl.java:
13537         New files.
13538         * java/lang/management/ManagementFactory.java:
13539         (getCompilationMXBean()): Implemented.
13540         * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13541         New file.
13542         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13543         (getHeapMemoryUsage()): Added default implementation.   
13544         
13545 2006-07-02  Anthony Green  <green@redhat.com>
13546
13547         * NEWS: Mention MIDI file reader/writer providers.
13548
13549 2006-07-02  Anthony Green  <green@redhat.com>
13550
13551         * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13552         gnu/javax/sound/midi/file/MidiFileWriter.java,
13553         gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13554
13555 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13556
13557         * NEWS:
13558         Updated to include VMMemoryMXBeanImpl.
13559         * doc/vmintegration.texinfo: Likewise.
13560         * examples/gnu/classpath/examples/management/TestMemory.java:
13561         New file.
13562         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13563         Remove redundant import.
13564         * gnu/java/lang/management/MemoryMXBeanImpl.java:
13565         New file.
13566         * gnu/java/lang/management/ThreadMXBeanImpl.java:
13567         Remove redundant import.
13568         * java/lang/management/ManagementFactory.java:
13569         (getMemoryMXBean()): Implemented.
13570         * java/lang/management/MemoryMXBean.java,
13571         * java/lang/management/MemoryUsage.java:
13572         New files.
13573         * java/lang/management/ThreadInfo.java:
13574         (toString()): Updated documentation.
13575         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13576         New file.
13577         
13578 2006-07-01  Anthony Green  <green@redhat.com>
13579
13580         * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13581         gnu/javax/sound/midi/file/MidiFileReader.java,
13582         gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13583         gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13584
13585 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13586
13587         * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13588         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13589         * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13590         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13591         * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13592         * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13593         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13594
13595 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13596
13597         * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13598         * gnu/javax/crypto/pad/IPad.java: Likewise.
13599         * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13600         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13601         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13602         * gnu/javax/crypto/pad/SSL3.java: Likewise.
13603         * gnu/javax/crypto/pad/TBC.java: Likewise.
13604         * gnu/javax/crypto/pad/TLS1.java: Likewise.
13605         * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13606
13607 2006-07-01  Anthony Green  <green@redhat.com>
13608
13609         * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13610         status byte test.
13611         (setMessage): Fix it again, in a different setMessage method.
13612
13613 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13614
13615         * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13616         * gnu/javax/crypto/mode/CBC.java: Likewise.
13617         * gnu/javax/crypto/mode/CFB.java: Likewise.
13618         * gnu/javax/crypto/mode/CTR.java: Likewise.
13619         * gnu/javax/crypto/mode/EAX.java: Likewise.
13620         * gnu/javax/crypto/mode/ECB.java: Likewise.
13621         * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13622         * gnu/javax/crypto/mode/ICM.java: Likewise.
13623         * gnu/javax/crypto/mode/IMode.java: Likewise.
13624         * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13625         * gnu/javax/crypto/mode/OFB.java: Likewise.
13626
13627 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13628
13629         * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13630         * gnu/javax/crypto/mac/HMac.java: Likewise.
13631         * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13632         * gnu/javax/crypto/mac/IMac.java: Likewise.
13633         * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13634         * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13635         * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13636         * gnu/javax/crypto/mac/OMAC.java: Likewise.
13637         * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13638         * gnu/javax/crypto/mac/UHash32.java: Likewise.
13639         * gnu/javax/crypto/mac/UMac32.java: Likewise.
13640
13641 2006-07-01  Anthony Green  <green@redhat.com>
13642
13643         * javax/sound/midi/Track.java (vector, eventSet): Initialize. 
13644
13645 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13646
13647         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13648         * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13649         * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13650         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13651         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13652         * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13653         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13654         * gnu/javax/crypto/keyring/Entry.java: Likewise.
13655         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13656         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13657         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13658         * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13659         * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13660         * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13661         * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13662         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13663         * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13664         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13665         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13666         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13667         * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13668         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13669         * gnu/javax/crypto/keyring/Properties.java: Likewise.
13670         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13671
13672 2006-07-01  David Gilbert  <david.gilbert@object-refinery.com>
13673
13674         * javax/swing/AbstractCellEditor.java: Source code formatting,
13675         * javax/swing/AbstractSpinnerModel.java: Likewise,
13676         * javax/swing/Box.java: Likewise,
13677         * javax/swing/BoxLayout.java: Likewise,
13678         * javax/swing/DefaultListModel.java: Likewise,
13679         * javax/swing/GrayFilter.java: Likewise,
13680         * javax/swing/LookAndFeel.java: Likewise,
13681         * javax/swing/ProgressMonitor.java: Likewise,
13682         * javax/swing/ProgressMonitorInputStream.java: Likewise,
13683         * javax/swing/ScrollPaneLayout.java: Likewise,
13684         * javax/swing/SpringLayout.java: Likewise,
13685         * javax/swing/event/EventListenerList.java: Likewise,
13686         * javax/swing/event/MenuEvent.java: Likewise,
13687         * javax/swing/event/TreeExpansionListener.java: Likewise.
13688
13689 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13690
13691         * NEWS:
13692         Mention threading bean and getState().
13693         * doc/vmintegration.texinfo:
13694         Update documentation for threading bean and new
13695         method of VMThread.
13696         
13697 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13698         
13699         * examples/gnu/classpath/examples/management/TestClassLoading.java,
13700         * examples/gnu/classpath/examples/management/TestOS.java,
13701         * examples/gnu/classpath/examples/management/TestRuntime.java,
13702         * examples/gnu/classpath/examples/management/TestThread.java:
13703         New files.
13704         
13705 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
13706
13707         * java/lang/ThreadGroup.java
13708         (getThreadFromId, getThreadFromIdImpl): New methods.
13709
13710 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
13711
13712         * java/lang/Thread.java:
13713         Make thread IDs start from 1 in a more efficient way.
13714
13715 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13716
13717         * java/lang/Thread.java:
13718         Make thread IDs start from 1.
13719         
13720 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13721
13722         * gnu/java/lang/management/BeanImpl.java:
13723         New superclass for all bean implementations.
13724         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13725         Extend BeanImpl and call permission code there.
13726         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13727         Extend BeanImpl.
13728         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13729         Extend BeanImpl and call permission code there.
13730         * gnu/java/lang/management/ThreadMXBeanImpl.java:
13731         New file.
13732         * java/lang/management/ManagementFactory.java:
13733         (getThreadMXBean()): Implemented.
13734         * java/lang/management/ThreadInfo.java:
13735         (ThreadInfo(Thread,int)): Replaced...
13736         (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13737         boolean, boolean, StackTraceElement[])): with this.
13738         (getBlockedCount()): Refactored to use local variables.
13739         (getBlockedTime()): Likewise.
13740         (getLockName()): Likewise.
13741         (getLockOwnerId()): Likewise.
13742         (getLockOwnerName()): Likewise.
13743         (getStackTrace()): Likewise.
13744         (getWaitedCount()): Likewise.
13745         (getWaitedTime()): Likewise.
13746         (isInNative()): Likewise.
13747         (isSuspended()): Likewise.
13748         (toString()): Changed to use new local variables.
13749         * java/lang/management/ThreadMXBean.java:
13750         (getThreadInfo(long, int)): Corrected documentation.
13751         (getThreadInfo(long[], int)): Likewise.
13752         * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13753         New file.
13754         * vm/reference/java/lang/management/VMThreadInfo.java:
13755         Removed.
13756
13757 2006-07-01  Raif S. Naffah  <raif@swiftdsl.com.au>
13758
13759         * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13760         * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13761         * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13762         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13763         * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13764         * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13765         * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13766         * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13767         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13768         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13769         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13770         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13771         * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13772         * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13773         * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13774         * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13775         * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13776         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13777         * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13778         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13779         * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13780         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13781         * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13782         * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13783         * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13784         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13785         * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13786         * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13787         * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13788         * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13789         * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13790         * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13791
13792 2006-07-01  Roman Kennke  <kennke@aicas.com>
13793
13794         * gnu/java/awt/java2d/AbstractGraphics2D.java
13795         (transform): Make field protected.
13796         (getDestinationRaster): Provide default implementation for
13797         previously abstract method.
13798
13799 2006-06-30  Tania Bento  <tbento@redhat.com>
13800
13801         * java/awt/TextArea.java
13802         (TextArea(String, int, int, int)): No longer throws
13803         IllegalArgumentException if rows, columns, or scrollbarVisibility 
13804         values are invalid.  
13805         (TextArea(String, int, int, int)): If rows or columns are < 0, 
13806         they get set to 0.  If scrollbarVisibility is < 0 or > 4, it 
13807         gets set to the default value of 0 (SCROLLBARS_BOTH).
13808          (appendText): Added case when peer = null.
13809         (insertText): Added case when peer == null.
13810         (replaceText): Added case when peer == null.
13811         * java/awt/TextComponent.java
13812         (TextComponent(String)): If text == null, set it to "".
13813
13814 2006-06-30  Lillian Angel  <langel@redhat.com>
13815
13816         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13817         (create): Added synchronized block around groupMap.get calls.
13818         (setCheckboxGroup): Likewise.
13819
13820 2006-06-30  Lillian Angel  <langel@redhat.com>
13821
13822         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13823         (create): Changed to be non-synchronized.
13824         (setLabel): Likewise.
13825         (setCheckboxGroup): Likewise.
13826         (addToGroupMap): Likewise. Added synchronized block around
13827         code.
13828         (dispose): Changed to be non-synchronized.
13829
13830 2006-06-30  Lillian Angel  <langel@redhat.com>
13831
13832         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13833         Changed all return values of native functions to void.
13834         (create): Changed function to be synchronized. Removed
13835         call to put value in groupMap, this is now done from 
13836         the native code.
13837         (setState): Changed function to be synchronized.
13838         (setLabel): Changed function to be synchronized.
13839         (setCheckboxGroup): Changed function to be synchronized. Removed
13840         call to put value in groupMap, this is now done from
13841         the native code.
13842         (postItemEvent): Changed function to be synchronized.
13843         (addToGroupMap): New function. Called by native code to add
13844         new value to the group.
13845         (dispose): Changed function to be synchronized.
13846         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13847         all functions.
13848         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13849         (cp_gtk_checkbox_init_jni): Added code to link to 
13850         java function.
13851         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton): 
13852         Changed return value to void. Added call
13853         to java function to set pointer in groupMap.
13854         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13855         changed check to an assert. Also, removed call to set/del pointer.
13856         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): 
13857         Likewise. Also, added check to determine if native_group should be 
13858         set to NULL.
13859         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13860
13861 2006-06-30  Sven de Marothy  <sven@physto.se>
13862
13863         * gnu/java/awt/ClasspathToolkit.java,
13864         * gnu/java/awt/peer/x/XToolkit.java,
13865         * gnu/java/awt/peer/qt/QtToolkit.java,
13866         * gnu/java/awt/peer/gtk/GtkToolkit.java,
13867         Remove ClasspathTextLayoutPeer.
13868         * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13869         * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13870         Files removed.
13871         
13872 2006-06-30  Sven de Marothy  <sven@physto.se>
13873
13874         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13875         (drawGlyphVector): Don't draw empty vectors.
13876
13877 2006-06-30  Lillian Angel  <langel@redhat.com>
13878             Tom Fitzsimmons <fitzsim@redhat.com>
13879
13880         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13881         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13882         Added current_group, groupMap fields. Added definitions for
13883         new native functions.
13884         (create): Removed FIXME. Added code to create the check button or
13885         radio button when appropriate. Updated groupMap to contain
13886         pointer to the newly created group.
13887         (setCheckboxGroup): Added code to handle all cases. Removing
13888         a button from a group, adding a button to a group, or changing the
13889         group of a button.
13890         (dispose): Changed to call super.
13891         * include/Makefile.am: Removed reference to 
13892         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13893         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13894         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13895         for new functions.
13896         * native/jni/gtk-peer/Makefile.am: Removed reference to 
13897         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13898         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13899         Removed file.
13900         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13901         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget): 
13902         Renamed to checkbox_get_widget.
13903         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): 
13904         Changed to use checkbox_get_widget.
13905         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup): 
13906         Removed.
13907         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13908         Changed to use checkbox_get_widget.
13909         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13910         Likewise.
13911         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13912         New function. Creates checkbutton without a group.
13913         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13914         Creates a radio button in a group, using groupPointer. If groupPointer
13915         is 0, then a new group is created.
13916         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13917         check button to a group, using groupPointer. A radio button is created
13918         in its place. If groupPointer is 0, then a new group is created.
13919         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13920         radio button is removed from the group. A check button is created in 
13921         its place.
13922         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13923         radio button is moved to a new group.
13924
13925 2006-06-30  Mark Wielaard  <mark@klomp.org>
13926
13927         * configure.ac: Move standard.omit creation after dirs are created.
13928         Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13929         * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13930         (clean-local): Remove standard.omit.
13931         * lib/gen-classlist.sh.in: Use omit file in build dir.
13932         * lib/standard.omit.in: Make exclude regex more explicit.
13933
13934 2006-06-30  Roman Kennke  <kennke@aicas.com>
13935
13936         * lib/Makefile.am: Added Escher dir/jar to classpath when
13937         requested.
13938         * configure.ac: Moved handling of standard.omit to a place
13939         where it actually gets executed.
13940
13941 2006-06-30  David Gilbert  <david.gilbert@object-refinery.com>
13942
13943         * java/awt/TextComponent.java: Reformatted source code,
13944         * java/awt/TextField.java: Likewise.
13945
13946 2006-06-29  Jeroen Frijters <jeroen@sumatra.nl>
13947
13948         * java/lang/Thread.java:
13949         (getState()): Handle case of no VMThread
13950         correctly.
13951
13952 2006-06-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13953
13954         * java/lang/Thread.java,
13955         * java/lang/VMThread.java:
13956         Reverted patch from 2006-06-28.
13957         
13958 2006-06-29  Roman Kennke  <kennke@aicas.com>
13959
13960         * gnu/java/awt/peer/x/GLGraphics.java,
13961         * gnu/java/awt/peer/x/ImageConverter.java,
13962         * gnu/java/awt/peer/x/KeyboardMapping.java,
13963         * gnu/java/awt/peer/x/XEventPump.java,
13964         * gnu/java/awt/peer/x/XFontPeer.java,
13965         * gnu/java/awt/peer/x/XFontPeer2.java,
13966         * gnu/java/awt/peer/x/XFramePeer.java,
13967         * gnu/java/awt/peer/x/XGraphics.java,
13968         * gnu/java/awt/peer/x/XGraphics2D.java,
13969         * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13970         * gnu/java/awt/peer/x/XGraphicsDevice.java,
13971         * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13972         * gnu/java/awt/peer/x/XImage.java,
13973         * gnu/java/awt/peer/x/XLightweightPeer.java,
13974         * gnu/java/awt/peer/x/XToolkit.java,
13975         * gnu/java/awt/peer/x/XWindowPeer.java,
13976         * gnu/java/awt/peer/x/fonts.properties: New files.
13977         * lib/standard.omit: Removed.
13978         * lib/standard.omit.in: Added.
13979         * configure.ac: Added configure option --with-escher. Added some
13980         configury for omitting gnu.java.awt.peer.x package when
13981         this option is not specified.
13982
13983 2006-06-29  David Gilbert  <david.gilbert@object-refinery.com>
13984
13985         * javax/swing/JComponent.java
13986         (JComponent()): Initialize the locale here, not the default locale,
13987         (getDefaultLocale): If null, return Locale.getDefault(),
13988         (setDefaultLocale): Added API docs.
13989
13990 2006-06-29  Tania Bento  <tbento@redhat.com>
13991
13992         * java/awt/Container.java
13993         (applyComponentOrientation): Implemented method.
13994
13995 2006-06-29  Gary Benson  <gbenson@redhat.com>
13996
13997         * java/io/File.java (listRoots): Merge security checks from libgcj.
13998
13999 2006-06-29  Gary Benson  <gbenson@redhat.com>
14000
14001         * java/io/FilePermission.java (implies): Work when path is "/".
14002
14003 2006-06-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14004
14005         * java/lang/Thread.java:
14006         (Thread(ThreadGroup,Runnable,String,long)): Update
14007         state.
14008         (Thread(VMThread,String,int,boolean)): Likewise.
14009         (join(long,int)): Likewise.
14010         (resume()): Likewise.
14011         (sleep(long,int)): Likewise.
14012         (start()): Likewise.
14013         (stop()): Likewise.
14014         (suspend()): Likewise.
14015         (die()): Likewise.
14016         (getState()): Return either state or use VMThread.
14017         * java/lang/VMThread.java:
14018         (getState()): Added default implementation to return
14019         thread.state
14020         
14021 2006-06-28  Andreas Tobler  <a.tobler@schweiz.ch>
14022
14023         * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
14024         GdkPixbuf correctly on big endian systems. Fix a typo in the little
14025         endian swapping code.
14026
14027         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
14028         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
14029         without alpha information correctly on big endian systems.
14030
14031 2006-06-28  Roman Kennke  <kennke@aicas.com>
14032
14033         * gnu/java/net/local/LocalSocket.java
14034         (setSoTimeout): Don't throw exception and ignore request.
14035         (getSoTimeout): Don't throw exception and always return 0.
14036
14037 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14038
14039         * javax/swing/JComponent.java
14040         (getRegisteredKeyStrokes): Implemented.
14041
14042 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14043
14044         * javax/swing/JComponent.java
14045         (verifyInputWhenFocusTarget): Initialise to true.
14046
14047 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14048
14049         * java/beans/VetoableChangeSupport.java
14050         (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
14051         null listener,
14052         (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
14053         for null property name and/or listener,
14054         * javax/swing/JComponent.java
14055         (getListeners): Handle VetoableChangeListener.class as a special case,
14056         (getVetoableChangeListeners): Fetch these from the 
14057         vetoableChangeSupport object.
14058
14059 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14060
14061         * javax/swing/JComponent.java
14062         (componentPopupMenu): New field,
14063         (inheritsPopupMenu): New field,
14064         (getInheritsPopupMenu): Implemented,
14065         (setInheritsPopupMenu): Likewise,
14066         (getComponentPopupMenu): Likewise,
14067         (setComponentPopupMenu): Likewise,
14068         * javax/swing/JLabel.java
14069         (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
14070
14071 2006-06-28  Raif S. Naffah  <raif@swiftdsl.com.au>
14072
14073         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
14074         (toString): New method.
14075         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
14076         (toString): New method.
14077         * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
14078         (toString): New method.
14079         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
14080         Handle case when Q is null.
14081         (decodePrivateKey): Likewise.
14082         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
14083         Likewise.
14084         (decodePublicKey): Likewise.
14085         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
14086         aliases for all block ciphers.
14087         * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
14088         (engineDoPhase): Compute fully the shared secret.
14089         (checkState): New method.
14090         (reset): Likewise.
14091         (engineGenerateSecret()): Reset key-agreement before returning.
14092         (engineGenerateSecret(byte[],int)): Check for short-buffer.
14093         Reset key-agreement before returning.
14094         (engineGenerateSecret(String)): Reset key-agreement before returning.
14095         (engineInit(Key,SecureRandom)): Call reset() before returning.
14096         * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
14097         (engineInit): Replace printing to System.out with conditional logging.
14098         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
14099         When the key-size is not specified, attempt best effort to find a suitable
14100         value among those advertised by the cipher before setting it to the length
14101         of provided key material.
14102
14103 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14104
14105         * javax/swing/table/DefaultTableColumnModel.java
14106         (changeEvent): Don't initialize yet, removed FIXME,
14107         (fireColumnModelChanged): Initialize changeEvent if necessary.
14108
14109 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14110
14111         * java/lang/Thread.java:
14112         (getAllStackTraces()): Implemented.
14113         (getStackTrace()): Likewise.
14114         
14115 2006-06-27  Tania Bento  <tbento@redhat.com>
14116
14117         * java/awt/Component.java
14118         (setComponentOrientation): NPE should not be thrown.
14119
14120 2006-06-27  Tom Tromey  <tromey@redhat.com>
14121
14122         * configure.ac: Create gjar, gnative2ascii, gserialver.
14123         * tools/gappletviewer.in: Quote $@.
14124         * tools/gkeytool.in: Likewise.
14125         * tools/gjarsigner.in: Likewise.
14126         * tools/gjar.in: New file.
14127         * tools/gnative2ascii.in: Likewise.
14128         * tools/gserialver.in: Likewise.
14129         * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
14130         gserialver.
14131         (bin_SCRIPTS): Likewise.
14132
14133 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14134
14135         * java/lang/management/ThreadMXBean.java:
14136         (getThreadInfo(long[])): Corrected return type.
14137         (getThreadInfo(long[], int)): Likewise.
14138
14139 2006-06-27  Mark Wielaard  <mark@klomp.org>
14140
14141         * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
14142         nothing when listener is null.
14143         (removeFlavorListener): Likewise.
14144
14145         * java/awt/datatransfer/DataFlavor.java
14146         (getRepresentationClassFromMime): Renamed to
14147         getRepresentationClassFromMimeThrows.
14148         (isRepresentationClassInputStream): Use Class.isAssignableFrom().
14149         (isRepresentationClassSerializable): Likewise.
14150         (isFlavorJavaFileListType): Likewise and check primary and
14151         subtype.
14152         (getParameter): Parameters are separated by semi-colons.
14153         (DataFlavor(Class,String,String)): Do some sanity checks.
14154         (DataFlavor(String,String,ClassLoader)): Call
14155         getRepresentationClassFromMimeThrows.
14156         (DataFlavor(String)): Likewise.
14157         (equals(DataFlavor)): Special case primary type text and charset
14158         parameter.
14159         
14160 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14161
14162         * java/awt/Component.java
14163         (setName): Fire required PropertyChangeEvent,
14164         * java/awt/Label.java
14165         (getText): Removed redundant brackets,
14166         (generateName): New method (override),
14167         (nextLabelNumber): New field,
14168         (getUniqueLong): New method.
14169
14170 2006-06-27  Roman Kennke  <kennke@aicas.com>
14171
14172         * gnu/java/awt/peer/swing/SwingComponentPeer.java
14173         (createImage): Delegate this to the parent.
14174         (handleEvent): Only handle PAINT/UPDATE events when the
14175         component is actually showing.
14176         (hide): Repaint the parent after hiding a component.
14177         (prepareImage): Have only one return point.
14178         (setVisible): Delegate to show() and hide().
14179         (createVolatileImage): Added null check to avoid NPE.
14180
14181 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14182
14183         * java/awt/Label.java: Reformatted source code.
14184
14185 2006-06-27  Roman Kennke  <kennke@aicas.com>
14186
14187         * java/awt/image/BufferedImage.java
14188         (getSource): Use a fixed DirectColorModel to deliver the
14189         RGB pixels to the ImageConsumer.
14190
14191 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14192
14193         * java/awt/Point.java
14194         (setLocation(double, double)): Round to nearest integer coordinates.
14195
14196 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14197
14198         * java/awt/Component.java
14199         (minSizeSet): New field,
14200         (maxSize): Likewise,
14201         (maxSizeSet): Likewise,
14202         (isMaximumSizeSet): Implemented,
14203         (isMinimumSizeSet): Likewise,
14204         (isPreferredSizeSet): Likewise,
14205         (setMaximumSize): Likewise,
14206         (setMinimumSize): Likewise,
14207         (setPreferredSize): Likewise. 
14208
14209 2006-06-27  Roman Kennke  <kennke@aicas.com>
14210
14211         * javax/imageio/spi/IIORegistry.java
14212         (IIORegistry): Added BMP codec.
14213
14214 2006-06-27  Mark Wielaard  <mark@klomp.org>
14215
14216         * javax/swing/JComponent.java
14217         (firePropertyChange(String,char,char)): New override method.
14218
14219 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14220
14221         * java/lang/Thread.java:
14222         (getState()): New method.
14223         * java/lang/management/ClassLoadingMXBean.java:
14224         Corrected class documentation.
14225         * java/lang/management/ManagementFactory.java:
14226         Added new temporary marked stub to get thread bean.
14227         * java/lang/management/OperatingSystemMXBean.java:
14228         Corrected class documentation.
14229         * java/lang/management/RuntimeMXBean.java:
14230         Corrected class documentation.
14231         * java/lang/management/ThreadInfo.java,
14232         * java/lang/management/ThreadMXBean.java:
14233         New classes.
14234         * vm/reference/java/lang/VMThread.java:
14235         (getState()): New method.
14236         * vm/reference/java/lang/management/VMThreadInfo.java:
14237         New VM class.
14238
14239 2006-06-26  Sven de Marothy  <sven@physto.se>
14240
14241         * gnu/javax/imageio/gif/GIFFile.java
14242         * gnu/javax/imageio/gif/GIFImageReader.java
14243         * gnu/javax/imageio/gif/GIFImageSpi.java
14244         * gnu/javax/imageio/gif/GIFStream.java
14245         New files.
14246         * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
14247
14248 2006-06-26  Tania Bento  <tbento@redhat.com>
14249
14250         * java/awt/List.java
14251         (List): A list should have at least 4 visible rows.     
14252         (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
14253         not an IllegalArgumentException.
14254         (makeVisible): Should not throw an IllegalArgumentException if
14255         the specified index is out of range.
14256
14257 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14258
14259         * javax/swing/JList.java
14260         (getNextMatch): Reimplemented to perform a circular search for the 
14261         matching item.
14262
14263 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14264
14265         * javax/swing/JList.java
14266         (init): Set default value for visibleRowCount to 8,
14267         (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
14268
14269 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14270
14271         * javax/swing/JList.java
14272         (valueIsAdjusting): Removed,
14273         (init): Removed initialization of valueIsAdjusting field,
14274         (getValueIsAdjusting): Fetch value from selection model,
14275         (setValueIsAdjusting): Store value in selection model.
14276
14277 2006-06-26  Roman Kennke  <kennke@aicas.com>
14278
14279         * javax/swing/plaf/basic/BasicListUI.java
14280         (installKeyboardActions): Rewritten to fit with the
14281         ActionMap/InputMap architecture.
14282         (uninstallKeyboardActions): Implemented.
14283         (ListAction): Made private. Added TODO for splitting
14284         up this bulk Action.
14285         (ListAction.ListAction): New constructor. This one
14286         takes a cmd parameter to be installed as actionCommand.
14287
14288 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
14289
14290         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
14291         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14292
14293 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
14294
14295         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
14296         * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
14297         * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
14298         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
14299         * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
14300         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
14301         * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
14302         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
14303         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14304         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14305         * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
14306         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
14307         * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
14308         * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
14309         * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
14310         * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
14311         * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
14312         * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
14313         * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
14314         * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
14315         * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
14316         * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
14317         * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
14318         * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
14319         * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
14320         * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
14321         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
14322         * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
14323         * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
14324         * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
14325         * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
14326         * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
14327         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
14328         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
14329         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
14330         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
14331         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
14332         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
14333         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
14334         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
14335         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
14336         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
14337         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
14338         * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
14339         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14340         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
14341         * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
14342         * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
14343         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
14344         * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
14345         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
14346         * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
14347         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14348         * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
14349         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
14350         * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
14351         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
14352         * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
14353         * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
14354         * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
14355         * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
14356         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
14357         * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
14358         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
14359         * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
14360         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
14361         * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
14362         * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
14363         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
14364         * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
14365         * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
14366         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
14367         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14368         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
14369         * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
14370         * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
14371         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14372         * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
14373         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
14374         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
14375         * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
14376         * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
14377
14378 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14379
14380         * javax/swing/JList.java
14381         (setLayoutOrientation): Check for valid argument.
14382
14383 2006-06-26  Roman Kennke  <kennke@aicas.com>
14384
14385         * javax/swing/JComponent.java
14386         (firePropertyChange(String,int,int)): New method. Overrides
14387         Component method and makes it public.
14388         (firePropertyChange(String,boolean,boolean)): Likewise.
14389
14390 2006-06-25  Vivek Lakshmanan  <vivekl@redhat.com>
14391         
14392         * gnu/java/security/.cvsignore: New File.
14393         * gnu/java/security/Configuration.java.in: New File.
14394         * gnu/java/security/Properties.java: Change import from 
14395         gnu.classpath.Configuration to gnu.java.security.Configuration.
14396         * gnu/java/security/hash/Whirlpool.java: Likewise.
14397         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14398         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14399         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14400         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14401         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14402         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14403         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14404         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14405         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14406         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14407         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14408         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14409         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14410         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14411         * gnu/java/security/util/Base64.java: Likewise.
14412         * gnu/java/security/x509/X509CRL.java: Likewise.
14413         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14414         * gnu/java/security/x509/ext/Extension.java: Likewise.
14415         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14416         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14417         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14418         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14419         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14420         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14421         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14422         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14423         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14424         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14425         * gnu/javax/crypto/keyring/Entry.java: Likewise.
14426         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14427         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14428         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14429         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14430         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14431         * gnu/javax/crypto/mac/OMAC.java: Likewise.
14432         * gnu/javax/crypto/pad/BasePad.java: Likewise.
14433         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14434         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14435         * gnu/javax/crypto/pad/TBC.java: Likewise.
14436         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14437         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14438         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14439         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14440         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14441         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14442         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14443         * gnu/javax/security/auth/login/GnuConfiguration.java 
14444         (getAppConfigurationEntry): Change reference to 
14445         gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14446         (getConfigFromUserHome): Likewise.
14447         (getInputStreamFromURL): Likewise.
14448         (getUserHome): Likewise.
14449         (init): Likewise.
14450         (processSecurityProperties): Likewise.
14451         (processSystemProperty): Likewise.
14452         (processUserHome): Likewise.
14453         * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14454         * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14455         
14456
14457 2006-06-25  Carsten Neumann  <cn-develop@gmx.net>
14458
14459         * javax/swing/text/DefaultCaret.java (isActive): New method.
14460
14461 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14462
14463         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14464         * java/lang/management/ClassLoadingMXBean.java:
14465         (getTotalLoadedClassCount()): Corrected return type.
14466         (getUnloadedClassCount()): Likewise.
14467         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14468         (getUnloadedClassCount()): Likewise.
14469         
14470 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
14471
14472         * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14473         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14474         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14475         * gnu/javax/crypto/cipher/Square.java: Likewise.
14476         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14477         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14478         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14479         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14480         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14481         * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14482         * gnu/javax/crypto/cipher/DES.java: Likewise.
14483         * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14484         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14485         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14486         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14487         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14488
14489 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
14490
14491         * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14492         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14493         * gnu/javax/crypto/assembly/Stage.java: Likewise.
14494         * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14495         * gnu/javax/crypto/assembly/Operation.java: Likewise.
14496         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14497         * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14498         * gnu/javax/crypto/assembly/Direction.java: Likewise.
14499         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14500         * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14501         * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14502         * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14503         * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14504
14505 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14506
14507         * NEWS,
14508         * doc/vmintegration.texinfo:
14509         Updated with information on new VM interface.
14510         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14511         * java/lang/management/ClassLoadingMXBean.java:
14512         New files implementing the class loading bean.
14513         * java/lang/management/ManagementFactory.java:
14514         (getClassLoadingMXBean()): Implemented.
14515         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14516         New VM interface file.
14517
14518 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14519
14520         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14521         (isBootClassPathSupported()): Use SystemProperties
14522         rather than System.getProperty.
14523         
14524 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
14525
14526         * gnu/java/security/Properties.java: Source formatting.
14527         * gnu/java/security/Registry.java: Likewise.
14528
14529 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
14530
14531         * gnu/java/security/util/Util.java: Source formatting.
14532         * gnu/java/security/util/SimpleList.java: Likewise.
14533         * gnu/java/security/util/Sequence.java: Likewise.
14534         * gnu/java/security/util/PRNG.java: Likewise.
14535         * gnu/java/security/util/ExpirableObject.java: Likewise.
14536         * gnu/java/security/util/Base64.java: Likewise.
14537         * gnu/java/security/sig/SignatureFactory.java: Likewise.
14538         * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14539         * gnu/java/security/sig/ISignature.java: Likewise.
14540         * gnu/java/security/sig/BaseSignature.java: Likewise.
14541         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14542         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14543         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14544         * gnu/java/security/sig/rsa/RSA.java: Likewise.
14545         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14546         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14547         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14548         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14549         * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14550         * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14551         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14552         * gnu/java/security/provider/Gnu.java: Likewise.
14553         * gnu/java/security/prng/RandomEventListener.java: Likewise.
14554         * gnu/java/security/prng/RandomEvent.java: Likewise.
14555         * gnu/java/security/prng/PRNGFactory.java: Likewise.
14556         * gnu/java/security/prng/MDGenerator.java: Likewise.
14557         * gnu/java/security/prng/LimitReachedException.java: Likewise.
14558         * gnu/java/security/prng/IRandom.java: Likewise.
14559         * gnu/java/security/prng/EntropySource.java: Likewise.
14560         * gnu/java/security/prng/BasePRNG.java: Likewise.
14561
14562 2006-06-23  Francis Kung  <fkung@redhat.com>
14563
14564         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14565         (Harness.actionPerformed): Process additional options.
14566         (J2dBenchmarkWrapper): Defer init call until after options are processed.
14567         (J2dBenchmarkWrapper.setAlias): New method.
14568         (J2dBenchmarkWrapper.setComposite): New method.
14569         (J2dBenchmarkWrapper.setFill): New method.
14570         (J2dBenchmarkWrapper.setRotation): New method.
14571         (J2dBenchmarkWrapper.setShear): New method.
14572         (J2dBenchmarkWrapper.setStroke): New method.
14573         (J2dBenchmarkWrapper.setTranslation): New method.
14574         (run): Add additional options to GUI.
14575         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14576         Added protected fields for various options.
14577         (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14578         (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14579         (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14580         (getNextColor): Renamed to setRandom.
14581         (init): Load additional image for texturing if needed.
14582         (loadBufferedImage): New method.
14583         (main): Accept additional command-line switches.
14584         (prepareGraphics): New method.
14585         (resetGraphics): New method.
14586         (runTestSuite): Accept additional image-processing options.
14587         (setRandom): Renamed from getNextColor; generate various random options
14588         (test_drawArc): Rename getNextColor to setRandom.
14589         (test_drawCubic): Likewise.
14590         (test_drawEllipse): Likewise.
14591         (test_drawGeneralPath): Likewise.
14592         (test_drawImage): Likewise.
14593         (test_drawLine): Likewise.
14594         (test_drawQuadCurve): Likewise.
14595         (test_drawRectangle): Likewise.
14596         (test_drawRoundRectangle): Likewise.
14597         (test_drawTransparentImage): Likewise.
14598         (test_fillArc): Rename getNextColor to setRandom.
14599         (test_fillEllipse): Likewise.
14600         (test_fillGeneralPath): Likewise.
14601         (test_fillRectangle): Likewise.
14602         (test_fillRoundRectangle): Likewise.
14603         (TestRecorder.getAverage): Round the average time.
14604
14605 2006-06-23  Tom Tromey  <tromey@redhat.com>
14606
14607         * java/util/logging/LoggingMXBean.java: New file.
14608         * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14609         (loggingBean): New field.
14610         (getLoggingMXBean): New method.
14611
14612 2006-06-23  Tania Bento  <tbento@redhat.com>
14613
14614         * java/awt/TextField.java
14615         (TextField): Default number of columns should be 0, not 1.
14616         (TextField): Check if number of columns given as argument
14617         is valid (>= 0) and set the number of columns accordingly.
14618         (TextField): Check if the string passed is null. If it is, 
14619         set columns to 0, else columns is set to the length of
14620         the string.
14621
14622 2006-06-23  Roman Kennke  <kennke@aicas.com>
14623
14624         * javax/swing/plaf/basic/BasicInternalFrameUI.java
14625         (InternalFramePropertyChangeListener.propertyChange):
14626         Don't call getPropertyName() repeatedly. Added null checks
14627         to avoid NPEs. Call closeFrame() if the closed property
14628         changes.
14629
14630 2006-06-23  Roman Kennke  <kennke@aicas.com>
14631
14632         * javax/swing/JInternalFrame.java
14633         (maxTransition): Removed.
14634         (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14635         Don't initialize storedBounds here.
14636         (dipose): Rewritten to correctly dispose the JInternalFrame.
14637         (getDesktopIcon): Don't initialize desktopIcon here.
14638         (getLayer): Delegate to JLayeredPane.getLayer().
14639         (getNormalBounds): Return bounds when storedBounds == null,
14640         otherwise storedBounds.
14641         (hide): Don't change selection. Also hide the desktopIcon.
14642         (moveToBack): Call getParent() only once.
14643         (moveToFront): Call getParent() only once.
14644         (pack): Call validate() to make sure that the layout is
14645         propagated to the children.
14646         (setClosed): Fire InternalFrameEvent first, before the
14647         PropertyVetoEvent.
14648         (setJMenuBar): Fire PropertyChangeEvent for this property.
14649         (setLayer): Delegate to JLayeredPane.
14650         (setLayeredPane): Check for null and throw IllegalArgumenException.
14651         (setMaximum): Remove handling of maxTransition and normalBounds.
14652         Should probably be done in the UI.
14653         (setNormalBounds): Store Rectangle object directly, not a copy.
14654         (setRootPane): Go into rootPaneCheckingEnabled mode so that
14655         adding the RootPane doesn't add it to the contentPane.
14656         Fire PropertyChangeEvent.
14657         (setSelected): Added condition for when this property must not
14658         be changed.
14659         (show): Don't ask the DesktopPane to select the frame. Moved
14660         code around to fire InternalFrameEvent before actually calling
14661         super.show(). Also make the desktopIcon visible.
14662         (setTitle): Fire PropertyChangeEvent unconditionally.
14663
14664 2006-06-23  Roman Kennke  <kennke@aicas.com>
14665
14666         * javax/swing/JLayeredPane.java
14667         (getPosition): Moved code around to avoid unnecessary method calls.
14668         (setPosition): Delegate to setLayer().
14669         (insertIndexForLayer(int,int)): Delegate to new private helper method.
14670         (insertIndexForLayer(Component,int,int)): New helper method
14671         to support the use of setComponentZOrder() which doesn't remove
14672         the component and thus the insertIndexForLayer must ignore
14673         the component to be moved to get the index right.
14674         (setLayer): Added check to prevent unnecessary execution of
14675         method body. Changed to update the component order here.
14676         Added repaint() to make sure that the update becomes visible.
14677         (addImpl): Call setLayer() only when a constraint has been specified.
14678         Validate and repaint the JLayeredPane.
14679
14680 2006-06-23  Roman Kennke  <kennke@aicas.com>
14681
14682         * java/awt/Container.java
14683         (getComponentZOrder): Use ncomponents instead of
14684         component.length so that we don't consider the empty space
14685         after the last component.
14686
14687 2006-06-22  Roman Kennke  <kennke@aicas.com>
14688
14689         * javax/swing/JComponent.java
14690         (vetoableChangeSupport): New field.
14691         (removeVetoableChangeListener): Rewritten to use
14692         vetoableChangeSupport.
14693         (addVetoableChangeListener): Rewritten to use
14694         vetoableChangeSupport.
14695         (fireVetoableChange): Rewritten to use
14696         vetoableChangeSupport.
14697         (addPropertyChangeListener): Removed. This is handled in
14698         Component already.
14699         (firePropertyChange(String,boolean,boolean)): Likewise.
14700         (firePropertyChange(String,char,char)): Likewise.
14701         (firePropertyChange(String,int,int)): Likewise.
14702         (revalidate): Don't do anything when the commponent has no
14703         parent.
14704
14705 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14706
14707         * javax/swing/JLabel.java: Updated API docs.
14708
14709 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
14710
14711         * java/awt/Insets.java: Updated copyright year.
14712         (toString): Changed string, removed a line from the 
14713         documentation.
14714
14715 2006-06-22  Roman Kennke  <kennke@aicas.com>
14716
14717         * javax/swing/text/AbstractDocument.java
14718         (AbstractDocument): Set the i18n document property.
14719         (removeImpl): Added checks for correct boundaries.
14720
14721 2006-06-22  Roman Kennke  <kennke@aicas.com>
14722
14723         * javax/swing/text/PlainDocument.java
14724         (rootElement): Changed type to Element.
14725         (tabSize): Removed field. This is stored in the document properties
14726         instead.
14727         (PlainDocument): Set tabSize property. Init rootElement without
14728         cast.
14729         (insertUpdate): Rewritten. The previous implementation did not
14730         handle some corner cases properly and was a mess.
14731         (removeUpdate): Cast rootElement to BranchElement.
14732
14733 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14734
14735         * javax/swing/plaf/basic/BasicLabelUI.java
14736         (installKeyboardActions): Implemented,
14737         (uninstallKeyboardActions): Implemented,
14738         (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14739         properties.
14740
14741 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
14742
14743         * javax/swing/JMenu.java:
14744         (removeAll): Added check for popupMenu not being null.
14745
14746 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14747
14748         * javax/swing/JLabel.java
14749         (getText): Updated API docs,
14750         (setText): Corrected the check for an unchanged value, and the update 
14751         of the displayedMnemonicIndex.
14752
14753 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14754
14755         * javax/swing/JLabel.java
14756         (setDisplayedMnemonic(int)): Fire property change event AFTER updating 
14757         field,
14758         (setDisplayedMnemonicIndex): Modified argument checking to handle case
14759         where label text is null.
14760
14761 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14762
14763         * javax/swing/JLabel.java
14764         (setDisplayedMnemonic): Updated API docs,
14765         (getDisplayedMnemonic): Removed unnecessary type-cast,
14766         (setDisplayedMnemonicIndex): Removed unnecessary validation, 
14767         (getDisplayedMnemonicIndex): Updated API docs.
14768
14769 2006-06-21  Jeroen Frijters  <jeroen@frijters.net>
14770
14771         * java/util/Collections (entrySet): Fixed compile error.
14772
14773 2006-06-21  David Gilbert  <david.gilbert@object-refinery.com>
14774
14775         * javax/swing/DefaultListSelectionModel.java
14776         (getSelectionMode): Updated API docs,
14777         (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14778         (addSelectionInterval): If mode is SINGLE_SELECTION, just call 
14779         setSelectionInterval(),
14780         (setSelectionInterval): Reimplemented SINGLE_SELECTION and 
14781         SINGLE_INTERVAL_SELECTION cases.
14782
14783 2006-06-21  Roman Kennke  <kennke@aicas.com>
14784
14785         * javax/swing/text/AbstractDocument.java
14786         (BranchElement.numChildren): New field.
14787         (BranchElement.BranchElement): Initialize children array with
14788         one element (that's the least number of elements that makes sense).
14789         Initialize numChildren.
14790         (BranchElement.children): Use numChildren as boundary.
14791         (BranchElement.getElement): Use numChildren as boundary.
14792         (BranchElement.getElementCount): Use numChildren as boundary.
14793         (BranchElement.getElementIndex): Use numChildren as boundary.
14794         (BranchElement.getEndOffset): Use numChildren as boundary.
14795         (BranchElement.getStartOffset): Use numChildren as boundary.
14796         (BranchElement.positionToElement): Use numChildren as boundary.
14797         (BranchElement.replace): Handle the children array more efficiently
14798         by growing in blocks > 1, and reusing space from removed elements.
14799         (LeafElement.startDelta): Removed.
14800         (LeafElement.endDelta): Removed.
14801         (LeafElement.LeafElement): Removed handling of deltas.
14802         (LeafElement.getEndOffset): Likewise.
14803         (LeafElement.getStartOffset): Likewise.
14804         * javax/swing/text/JTextComponent.java
14805         (setDocument): Added locking of the old document to avoid dangling
14806         notification beeing delivered while the document is beeing
14807         disconnected.
14808         (getScrollableTracksViewportWidth): Fixed condition.
14809         * javax/swing/text/PlainDocument.java
14810         (createDefaultRoot): Create elements without AttributeSet.
14811         * javax/swing/text/rtf/RTFParser.java
14812         (parseFile): Handle slightly incorrect RTF gracefully.
14813         * javax/swing/text/rtf/RTFScanner.java
14814         (lastToken): New field.
14815         (readTokenImpl): New method.
14816         (peekToken): New method.
14817         (readToken): Changed to call readTokenImpl or return the lastToken
14818         if there's one present.
14819
14820 2006-06-21  Tania Bento  <tbento@redhat.com>
14821
14822         * javax/swing/JMenu.java
14823         (remove): An IllegalArgumentException should be thrown if
14824         either index < 0 or if index > 0 and there are no menu
14825         components. Also, a check was added that ensures there are
14826         menu components before removing the desired the component.
14827
14828 2006-06-21  Lillian Angel  <langel@redhat.com>
14829
14830         * javax/swing/text/DefaultCaret.java
14831         (install): Added check to prevent NPE.
14832         (propertyChange): Added checks to prevent NPEs.
14833
14834 2006-06-21  Tania Bento  <tbento@redhat.com>
14835
14836         * javax/swing/JMenu.java
14837         Changed instantiation of popupMenu to null.
14838         (JMenu): Instantiated popupMenu to new JPopupMenu.
14839         (JMenu): Instantiated popupMenu to new JPopupMenu.      
14840         (add): Changed popupMenu to getPopupMenu().
14841         (add): Changed popupMenu to getPopupMenu().
14842         (add): Changed popupMenu to getPopupMenu().
14843         (add): Changed popupMenu to getPopupMenu().
14844         (remove): Changed popupMenu to getPopupMenu().
14845         (remove): Changed popupMenu to getPopupMenu().
14846         (insert): Changed popupMenu to getPopupMenu().
14847         (setSelectedHelper): Changed popupMenu to getPopupMenu().
14848         (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14849         (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14850         (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14851         (getMenuComponents): Changed popupMenu to getPopupMenu().
14852         (getPopupMenu): Check first if popupMenu is null and if so,
14853         instantiate it to a new JPopupMenu and set the invoker.
14854         * javax/swing/plaf/basic/BasicPopupMenuUI.java
14855         (popupMenuWillBecomeVisible): Component Listener should only
14856         be added to the root container if the root container is not 
14857         null. This avoids a null pointer exception.
14858
14859 2006-06-21  Tania Bento  <tbento@redhat.com>
14860
14861         * javax/swing/JMenu.java
14862         (JMenu): Delay should be set to 200, not default of 0.
14863         (JMenu): Delay should be set to 200, not default of 0.
14864         (JMenu): Delay should be set to 200, not default of 0.
14865         (JMenu): Delay should be set to 200, not default of 0.  
14866         (remove): Added check that index >= 0 before removing
14867         the component.
14868         (getItem): Return null if item count equals 0.
14869         (isTearOff): Should throw new error and not return false.
14870         (getMenuComponent): Return null if popupMenu is null or
14871         if there are no menu components.
14872
14873 2006-06-21  Roman Kennke  <kennke@aicas.com>
14874
14875         * java/awt/font/FontRenderContext.java:
14876         (equals): Added special conditions for affineTransform beeing
14877         null.
14878
14879 2006-06-21  Roman Kennke  <kennke@aicas.com>
14880
14881         * javax/swing/UIManager.java
14882         (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14883         must not be cleared.
14884
14885 2006-06-21  Roman Kennke  <kennke@aicas.com>
14886
14887         * javax/swing/plaf/metal/MetalUtils.java
14888         (paintHorizontalGradient): Use paintHorizontalGradient2D when
14889         Graphics2D is available. Use fillRect instead of drawLine, this
14890         is much faster.
14891         (paintVerticalGradient): Use paintHorizontalGradient2D when
14892         Graphics2D is available. Use fillRect instead of drawLine, this
14893         is much faster.
14894         (paintHorizontalGradient2D): New method. Paints gradient
14895         using Graphics2D functions.
14896         (paintVerticalGradient2D): New method. Paints gradient
14897         using Graphics2D functions.
14898
14899 2006-06-21  Roman Kennke  <kennke@aicas.com>
14900
14901         * javax/swing/plaf/basic/BasicButtonListener.java
14902         (propertyChange): Create a TextLayout and store it in the button
14903         when the 'text' property changes.
14904         * javax/swing/plaf/basic/BasicButtonUI.java
14905         (paintText): Call BasicGraphicsUtils utility method for
14906         drawing strings, instead of Graphics.drawString().
14907         * javax/swing/plaf/basic/BasicGraphicsUtils.java
14908         (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14909         cached text layouts as client properties in JComponents.
14910         (drawString(JComponent,Graphics,String,int,int)): New helper method.
14911         (drawStringUnderlineCharAt): New helper method.
14912         * javax/swing/plaf/basic/BasicMenuItemUI.java
14913         (PropertyChangeHandler.propertyChange): Update cached text layout
14914         when 'text' property changes. Use equals() instead of == for
14915         string comparison.
14916         (paintText): Use new BasicGraphicsUtils methods for painting
14917         the cached text layout.
14918         (installListeners): Call super.installListeners() and remove
14919         the unneeded listener installs.
14920         (uninstallListeners): Call super.uninstallListeners() and remove
14921         the unneeded listener uninstalls.
14922
14923 2006-06-21  Roman Kennke  <kennke@aicas.com>
14924
14925         * javax/swing/plaf/basic/BasicTextUI.java
14926         (PropertyChangeHandler.propertyChange): Handle document listener
14927         update here.
14928         (background): Removed unneeded fields.
14929         (inactiveBackground): Remove unneeded fields.
14930         (installUI): Install the document listener. Slightly changed
14931         order of operations. Don't trigger modelChanged().
14932         (installDefaults): Only install properties when the
14933         current properties are null or instances of UIResource.
14934         (installListeners): Removed unnecessary listener installs.
14935         (installDocumentListeners): Removed unneeded method.
14936         (uninstallListeners): Removed unnecessary listener uninstalls.
14937         (modelChanged): Removed call to installDocumentListeners().     
14938         * javax/swing/plaf/basic/BasicTextFieldUI.java
14939         (propertyChange): Update the colors by fetching them from
14940         SharedUIDefaults. Fixed conditions.
14941         * javax/swing/plaf/basic/SharedUIDefaults.java
14942         (getColor): New method.
14943
14944 2006-06-21  Roman Kennke  <kennke@aicas.com>
14945
14946         * javax/swing/SizeSequence.java
14947         (SizeSequence): Initialize array with correct number of entries.
14948
14949 2006-06-21  Roman Kennke  <kennke@aicas.com>
14950
14951         * javax/swing/JSplitPane.java
14952         (setDividerLocation): Substract divider size when computing
14953         the absolute size.
14954
14955 2006-06-21  Roman Kennke  <kennke@aicas.com>
14956
14957         * javax/swing/JComponent.java
14958         (paintChildrenWithOverlap): Determine opaque property by
14959         calling the corresponding Component method, without requiring
14960         a JComponent.
14961         (paintChildrenOptimized): Removed old unneeded code.
14962         (paintImmediately): Use JComponent's convertRectangleToAncestor()
14963         method instead of SwingUtilities.convertRectangle(). This is
14964         more efficient.
14965
14966 2006-06-21  Roman Kennke  <kennke@aicas.com>
14967
14968         * javax/swing/AbstractButton.java
14969         (init): Call setText() instead of setting the property directly,
14970         so that listeners (especially in the UI) get notified.
14971
14972 2006-06-21  Roman Kennke  <kennke@aicas.com>
14973
14974         * javax/swing/UIManager.java
14975         (MultiplexUIDefaults): New inner class.
14976         (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14977         (userUIDefaults): Changed name to be lookAndFeelDefaults.
14978         (<cinit>): Call setLookAndFeel(String) instead of trying to load
14979         directly. Print stacktrace if something goes wrong.
14980         (get): Delegate call to currentUIDefaults.
14981         (getDefaults): If currentUIDefaults is null, then lazily instantiate
14982         it.
14983         (getUI): Delegate call to currentUIDefaults.
14984         (put): Delegate call to currentUIDefaults.
14985         (setLookAndFeel): Initialize currentUIDefaults with
14986         MultiplexUIDefaults. Set lookAndFeelDefaults.
14987         (setLookAndFeel): Use current thread's context classloader for
14988         loading the L&F.
14989
14990 2006-06-21  Roman Kennke  <kennke@aicas.com>
14991
14992         * javax/swing/text/GapContent.java
14993         (GapContentPosition.GapContentPosition): Replace
14994         Collections.binarySearch with call to local search() to make
14995         sure we find the first object that equals the searched object.
14996         (setPositionsInRange): Likewise.
14997         (adjustPositionsInRange): Likewise.
14998         (search): New helper method.
14999
15000 2006-06-21  Gary Benson  <gbenson@redhat.com>
15001
15002         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
15003         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
15004         * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
15005
15006 2006-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
15007
15008         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
15009         APPLETVIEWER_EXECUTABLE to gappletviewer.
15010
15011 2006-06-20  Tom Tromey  <tromey@redhat.com>
15012
15013         PR classpath/28095:
15014         * java/net/URL.java (URL): Throw MalformedURLException if a
15015         RuntimeException is caught.  Chain exceptions.
15016
15017 2006-06-20  Lillian Angel  <langel@redhat.com>
15018
15019         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
15020         (create): Added check to prevent Seg Fault. Should not
15021         set the label if it is null.
15022         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
15023         (setText): Changed to be a non-native function. Calls
15024         setNativeText if the String parameter is non-null.
15025         (setNativeText): Replaces old native setText function.
15026         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
15027         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
15028         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
15029         Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
15030         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
15031         Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
15032
15033 2006-06-20  Lillian Angel  <langel@redhat.com>
15034
15035         * javax/swing/text/JTextComponent.java
15036         (AccessibleJTextComponent): Rewrote all javadocs
15037         for this inner class.
15038
15039 2006-06-20  Francis Kung  <fkung@redhat.com>
15040
15041         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
15042         Changed many members to be protected.
15043         (J2dBenchmark): moved to init() instead.
15044         (init): New method.
15045         (main): Call init() after creating object
15046         (testComplete): New method.
15047         (test_drawArc): Use maxTests varialbe instead of constant.
15048         (test_drawCubicCurve): Likewise.
15049         (test_drawEllipse): Likewise.
15050         (test_drawGeneralPath): Likewise.
15051         (test_drawImage): Likewise.
15052         (test_drawLine): Likewise.
15053         (test_drawQuadCurve): Likewise.
15054         (test_drawRectangle): Likewise.
15055         (test_drawRoundRectangle): Likewise.
15056         (test_drawTransparentImage): Likewise.
15057         (test_fillArc): Likewise.
15058         (test_fillEllipse): Likewise.
15059         (test_fillGeneralPath): Likewise.
15060         (test_fillRectangle): Likewise.
15061         (test_fillRoundRectangle): Likewise.
15062         (GraphicsTest.runSetNoClipping): Added runCount parameter.
15063         (GraphicsTest.runSetWithClipping): Likewise.
15064         (GraphicsTest.runSetZeroClipping): Likewise.
15065         (GraphicsTest.run): Added checks for more option flags.
15066         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
15067         New file.
15068
15069 2006-06-20  Roman Kennke  <kennke@aicas.com>
15070
15071         * javax/swing/text/GapContent.java
15072         (GapContentPosition.mark): New field.
15073         (GapContentPosition.index): Removed.
15074         (GapContentPosition.GapContentPosition): Changed to take the
15075         real offset as parameter. Added handling of reference counter.
15076         Try to cleanup before creating new instances.
15077         (getOffset): Delegate to the Mark method with same name.
15078         (Mark): New class, encapsulating a mark.
15079         (positionMarks): Removed field.
15080         (numMarks): Removed field.
15081         (marks): New field.
15082         (queueOfDeath): New field.
15083         (GapContent): Removed init of old fields, added init of new fields.
15084         (createPosition): Added check for validity of arguments.
15085         Create GapContentPosition directly with offset.
15086         (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
15087         (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
15088         (shiftGapStartDown): Call resetMarksAtZero().
15089         (shiftGapEndUp): Call resetMarksAtZero().
15090         (replace): Don't call resetMarksAtZero().
15091         (setPositionInRange): Replaced by simpler algorithm, similar to
15092         adjustPositionsInRange.
15093         (adjustPositionsInRange): Adapted to use of Mark objects.
15094         (resetMarksAtZero): Reset all marks that point to zero instead
15095         of only the first one.
15096         (dumpMarks): Adjusted to dump Mark objects.
15097         (insertMark): Removed.
15098         (garbageCollect): New method. Cleans up the marks list.
15099         (binarySearch): Removed.
15100
15101 2006-06-20  Lillian Angel  <langel@redhat.com>
15102
15103         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15104         (drawImage): Added call to updateColor because
15105         Cairo seems to lose the current color.
15106
15107 2006-06-20  Gary Benson  <gbenson@redhat.com>
15108
15109         * java/awt/Toolkit.java: Add security check.
15110         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
15111         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
15112
15113 2006-06-20  Raif S. Naffah  <raif@swiftdsl.com.au>
15114
15115         * gnu/java/security/key/dss/DSSKey.java: Source formatting.
15116         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15117         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15118         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
15119         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
15120         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15121         * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
15122         * gnu/java/security/key/dss/FIPS186.java: Likewise.
15123         * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
15124         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15125         * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
15126         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15127         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15128         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
15129         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15130         * gnu/java/security/key/IKeyPairCodec.java: Likewise.
15131         * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
15132         * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
15133         * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
15134
15135 2006-06-19  Lillian Angel  <langel@redhat.com>
15136
15137         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15138         (drawImage): Should always use getRGB to get the pixels.
15139         getData returns an incorrect array of pixels.
15140
15141 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
15142
15143         * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
15144         * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
15145         * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
15146         * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
15147         * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
15148         * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
15149         * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
15150         * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
15151         * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
15152         * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
15153         * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
15154         * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
15155         * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
15156         * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
15157         * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
15158         * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
15159         * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
15160         * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
15161         * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
15162         * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
15163         * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
15164         * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
15165         * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
15166         * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
15167         * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
15168         * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
15169         * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
15170         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
15171         * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
15172         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
15173         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15174         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
15175         * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
15176         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15177         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
15178         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15179
15180 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
15181
15182         * NEWS: Updated (delayed) for security tools and tools.texinfo.
15183
15184 2006-06-19  Roman Kennke  <kennke@aicas.com>
15185
15186         * gnu/java/awt/peer/gtk/ComponentGraphics.java
15187         (drawImage): Clip volatile image correctly.
15188         (drawVolatileImage): Added arguments for clipping.
15189         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15190         (drawVolatileImage): Added arguments for clipping. Clip image
15191         correctly.
15192         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15193
15194 2006-06-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
15195
15196         PR 28035
15197         * java/rmi/server/UID.java (constructor): Synchronized
15198         the whole constructor on the UID class.
15199
15200 2006-06-19  Roman Kennke  <kennke@aicas.com>
15201
15202         * javax/swing/RepaintManager.java
15203         (addInvalidComponent): Only add component that are displayable,
15204         that have displayable parents and that have a validateRoot.
15205         Also, don't validate components that have a CellRendererPane
15206         ancestor.
15207
15208 2006-06-19  David Gilbert  <david.gilbert@object-refinery.com>
15209
15210         * javax/swing/plaf/IconUIResource.java
15211         (IconUIResource): Throw IllegalArgumentException for null icon.
15212
15213 2006-06-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
15214
15215         PR 28035
15216         * java/rmi/server/UID.java (constructor): First increment
15217         uidCounter, and then use the value.
15218
15219 2006-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
15220
15221         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15222         * java/awt/GridBagConstraints.java: Indent.
15223
15224 2006-06-18  Tom Tromey  <tromey@redhat.com>
15225
15226         * native/jni/gconf-peer/.cvsignore: New file.
15227
15228 2006-06-18  Tom Tromey  <tromey@redhat.com>
15229
15230         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
15231         Also handle short options.
15232
15233 2006-06-18  Jim Huang  <jserv@kaffe.org>
15234
15235         PR classpath/28076:
15236         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
15237         Fixed typo.
15238
15239 2006-06-19  Mark Wielaard  <mark@klomp.org>
15240
15241         * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
15242         on gnu/java/util/prefs/gconf/%.class.
15243         * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
15244         chache typo, should be cache.
15245         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
15246         Declare tmp early.
15247         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
15248         Likewise.
15249         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
15250         Don't return a value for void function.
15251         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
15252         Likewise.
15253         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
15254         Mark clazz as unused.  Return JNI_FALSE, not NULL for jboolean
15255         function.
15256         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
15257         Mark clazz ad unused.
15258
15259 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
15260
15261         * gnu/java/security/hash/Whirlpool.java: Source formatting.
15262         * gnu/java/security/hash/Tiger.java: Likewise.
15263         * gnu/java/security/hash/Sha512.java: Likewise.
15264         * gnu/java/security/hash/Sha384.java: Likewise.
15265         * gnu/java/security/hash/Sha256.java: Likewise.
15266         * gnu/java/security/hash/Sha160.java: Likewise.
15267         * gnu/java/security/hash/RipeMD160.java: Likewise.
15268         * gnu/java/security/hash/RipeMD128.java: Likewise.
15269         * gnu/java/security/hash/MD5.java: Likewise.
15270         * gnu/java/security/hash/MD4.java: Likewise.
15271         * gnu/java/security/hash/MD2.java: Likewise.
15272         * gnu/java/security/hash/IMessageDigest.java: Likewise.
15273         * gnu/java/security/hash/Haval.java: Likewise.
15274         * gnu/java/security/hash/HashFactory.java: Likewise.
15275         * gnu/java/security/hash/BaseHash.java: Likewise.
15276
15277 2006-06-18  Sven de Marothy  <sven@physto.se>
15278
15279         * java/awt/event/KeyEvent.java:
15280         (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
15281         *  natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15282         Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
15283
15284 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
15285
15286         * gnu/java/security/util/Prime2.java: Removed.
15287         * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
15288         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15289         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
15290         (generate): Use isProbablePrime() in BigInteger instead of Prime2.
15291         * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
15292         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15293         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
15294         (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
15295         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
15296         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15297         * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
15298         (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
15299
15300 2006-06-18  Sven de Marothy  <sven@physto.se>
15301
15302         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15303         * java/awt/font/TextMeasurer.java: Fix copyright date, 
15304         remove commented-out code.
15305
15306 2006-06-18  Sven de Marothy  <sven@physto.se>
15307
15308         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15309         (FreetypeGlyphVector, clone): Implement cloning.
15310         (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
15311         * java/awt/font/TextMeasurer.java: Implement.
15312         * java/awt/font/LineBreakMeasurer.java: 
15313         Reimplement to use TextMeasurer.
15314         * java/awt/font/TextLayout.java
15315         New constructors.
15316         (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
15317         (getText, getFont): New private static methods.
15318         (setCharIndices): New method.
15319         * java/text/AttributedString.java
15320         (AttributedString): Fix constructor to stop at end point.
15321         
15322 2006-06-17  Tom Tromey  <tromey@redhat.com>
15323
15324         * lib/gen-classlist.sh.in: Search all top-level directories, not
15325         just 'org', in external.
15326
15327 2006-06-12  Mario torre  <neugens at limasoftware.net>
15328
15329         * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
15330         * gnu/java/util/prefs/GConfBasedFactory.java: new class.
15331         * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
15332         * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
15333         header file.
15334         * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
15335         * configure.ac: update to introduce new files. Added options
15336         to build gconf native peer used by the GConf preference backend.
15337         * include/Makefile.am: update to introduce new files.
15338         * native/jni/Makefile.am update to introduce new files.
15339         * scripts/check_jni_methods.sh: added three new ignored file
15340         from check.
15341         * native/jni/gconf-peer/Makefile.am: new Makefile needed to
15342         build gconf-peer shared library.
15343
15344 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
15345
15346         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
15347         Use Integer.valueOf() instead of new Integer().
15348         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15349         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15350         * gnu/java/security/util/Sequence.java: Likewise.
15351         * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
15352         * gnu/java/security/x509/X509Certificate.java: Likewise.
15353         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15354         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15355         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15356         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15357         * gnu/javax/crypto/cipher/DES.java: Likewise.
15358         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15359         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15360         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15361         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15362         * gnu/javax/crypto/cipher/Square.java: Likewise.
15363         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15364         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15365         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15366         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15367         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15368         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
15369         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15370         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15371         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
15372         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
15373         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
15374         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15375         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15376         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
15377         * gnu/javax/crypto/mac/UHash32.java: Likewise.
15378         * gnu/javax/crypto/mac/UMac32.java: Likewise.
15379         * gnu/javax/crypto/mode/BaseMode.java: Likewise.
15380         * gnu/javax/crypto/mode/EAX.java: Likewise.
15381         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
15382         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
15383         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
15384         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
15385         * java/security/cert/X509CertSelector.java: Likewise.
15386
15387 2006-06-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15388
15389         * javax/management/DynamicMBean.java:
15390         (setAttribute): Fixed to return void.
15391         * javax/management/MBeanFeatureInfo.java:
15392         New file.
15393         
15394 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
15395
15396         On behalf of Vivek Lakshmanan <vivekl@redhat.com>
15397         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
15398         (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15399         into engineInitHandler and reuse the code in
15400         engineInit(int, Key, AlgorithmSpec, SecureRandom).
15401         (engineInitHandler): New method.
15402         (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15403         null, use random or default information when possible.
15404
15405 2006-06-16  Francis Kung  <fkung@redhat.com>
15406
15407         * examples/gnu/classpath/examples/swing/Demo.java:
15408         (mkButtonBar): Rename FillRect to JNIOverhead.
15409         (mkMenuBar): Rename FillRect to JNIOverhead.
15410         * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15411         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15412         * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15413         Moved from old FillRect.
15414
15415 2006-06-16  Tom Tromey  <tromey@redhat.com>
15416
15417         * tools/.cvsignore: Added new tool names.
15418
15419 2006-06-16  Keith Seitz  <keiths@redhat.com>
15420
15421         * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15422         instantiation so that EventManager is created when getDefault
15423         is first called.
15424         * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15425         of EventManager.
15426
15427 2006-06-16  Keith Seitz  <keiths@redhat.com>
15428
15429         * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15430         (_initCount): New field.
15431         (Jdwp): Don't set isDebugging until fully initialized.
15432         (subcomponentInitialized): New method.
15433         (run): Wait for PacketProcessor and JdwpConnection to
15434         startup, then set isDebugging, and then let this thread
15435         die.
15436         * gnu/classpath/jdwp/transport/JdwpConnection.java
15437         (run): Add synchronization notification.
15438         * gnu/classpath/jdwp/processor/PacketProcessor.java
15439         (run): Likewise.
15440
15441 2006-06-16  Tom Tromey  <tromey@redhat.com>
15442
15443         * NEWS: Updated for JSR 166.
15444
15445 2006-06-16  Tom Tromey  <tromey@redhat.com>
15446
15447         * lib/Makefile.am (compile_classpath): Added jsr166.
15448         * configure.ac: Added external/jsr166/Makefile.
15449         * external/Makefile.am (SUBDIRS): Added jsr166.
15450         * external/jsr166/Makefile.am: New file.
15451         * lib/gen-classlist.sh.in: Look in external/jsr166.
15452
15453 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
15454
15455         * gnu/classpath/jdwp/event/ExceptionEvent:
15456         Added Object instance to javadoc in constructor
15457         * gnu/classpath/jdwp/event/MethodEntryEvent:
15458         Ditto.
15459         * gnu/classpath/jdwp/event/MethodExitEvent:
15460         Ditto,
15461         * gnu/classpath/jdwp/event/SingleStepEvent:
15462         Ditto. 
15463
15464 2006-06-16  Tom Tromey  <tromey@redhat.com>
15465
15466         Imported JSR 166 reference implementation:
15467         * .classpath: Added external/jsr166.
15468         * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15469         * java/util/AbstractQueue.java: Removed.
15470         * java/util/Queue.java: Removed.
15471         * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15472         (runPeriodic): Added explicit cast.
15473         * external/jsr166/java/util/ArrayDeque.java (clone): Use
15474         elements.clone.
15475
15476 2006-06-16  Tom Tromey  <tromey@redhat.com>
15477
15478         * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15479         Removed.
15480         (getCallerClass): Now static.
15481         * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15482
15483 2006-06-16  Lillian Angel  <langel@redhat.com>
15484
15485         * java/awt/FileDialog.java
15486         (FileDialog): Added @since tag to API docs.
15487         (FileDialog): Likewise.
15488         (FileDialog): Likewise.
15489         * java/awt/Font.java:
15490         Added @since tag to TYPE1_FONT field docs.
15491         * javax/swing/plaf/basic/BasicScrollBarUI.java:
15492         (isThumbRollover): Likewise.
15493         (setThumbRollover): Likewise.
15494         (getSupportsAbsolutePositioning): Likewise.
15495         * javax/swing/plaf/basic/BasicSliderUI.java:
15496         (isDragging): Likewise.
15497
15498 2006-06-16  Lillian Angel  <langel@redhat.com>
15499
15500         * java/awt/FileDialog.java
15501         (FileDialog): Implemented.
15502         (FileDialog): Implemented.
15503         (FileDialog): Implemented.
15504         * java/awt/Font.java:
15505         Added TYPE1_FONT constant field.
15506
15507 2006-06-16  Lillian Angel  <langel@redhat.com>
15508
15509         * java/awt/font/TextLayout.java:
15510         Removed unneeded imports.
15511         * javax/swing/plaf/basic/BasicScrollBarUI.java:
15512         Added new thumbRollover field.
15513         (mouseMoved): Added code to set thumbRollover field.
15514         (isThumbRollover): New function.
15515         (setThumbRollover): New function.
15516         (getSupportsAbsolutePositioning): Implemented. This
15517         needs to be changed once the feature has been 
15518         implemented.
15519         * javax/swing/plaf/basic/BasicSliderUI.java:
15520         Added new dragging field.
15521         (mouseDragged): Initialized dragging field.
15522         (isDragging): New function.
15523         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15524         (focusGained): Marked as not implemented.
15525         (focusLost): Likewise.
15526
15527 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
15528
15529         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15530         Added check for null ThreadId to avoid null pointer
15531         exception.
15532
15533 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15534
15535         * javax/swing/DefaultComboBoxModel.java
15536         (removeElementAt): Set new selected item by calling setSelectedItem().
15537
15538 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15539
15540         * javax/swing/DefaultButtonModel.java
15541         (setSelected): Use 'this', not null, for the item in the ItemEvent.
15542
15543 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15544
15545         * javax/swing/event/ListDataEvent.java: updated API docs, plus
15546         (ListDataEvent): Handle case where index0 > index1,
15547         (toString): Implemented.
15548
15549 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
15550
15551         * javax/swing/plaf/metal/MetalMenuBarUI.java:
15552         (update): Added subexpression to if-statement.
15553
15554 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
15555
15556         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15557         (installDefaults): Removed unneccessary code.
15558         (paint): Removed complex if-cascade, revert to default icon if
15559         icon property is not set.
15560         (getPreferredSize): New method.
15561
15562 2006-06-16  Roman Kennke  <kennke@aicas.com>
15563
15564         PR 28027
15565         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15566         (drawImage): Don't use setClip() but instead clipRect() to
15567         intersect the current clip with a new one.
15568
15569 2006-06-15  Tom Tromey  <tromey@redhat.com>
15570
15571         * scripts/sanitize-jsr166: New file.
15572         * external/jsr166/IMPORTING: New file.
15573         * vm/reference/sun/reflect/Reflection.java: New file.
15574         * vm/reference/gnu/classpath/Unsafe.java: Moved...
15575         * vm/reference/sun/misc/Unsafe.java: ...here.
15576
15577 2006-06-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
15578
15579         * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15580         gjarsigner and keytool to gkeytool.
15581         * doc/tools.texinfo: Add note about tool exectable names.
15582         * tools/Makefile.am: Rename appletviewer to gappletviewer,
15583         jarsigner to gjarsigner and keytool to gkeytool.
15584         * tools/appletviewer.in: Rename ...
15585         * tools/gappletviewer.in: New file.
15586         * tools/jarsigner.in: Rename ...
15587         * tools/gjarsigner.in: New file.
15588         * tools/keytool.in: Rename ...
15589         * tools/gkeytool.in: New file.
15590         * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15591
15592 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15593
15594         * javax/management/AttributeList.java:
15595         Add serialization UID.
15596         * javax/management/DynamicMBean.java:
15597         New file.
15598         * javax/management/JMRuntimeException.java:
15599         Add serialization UID and correct name
15600         of serialized field.
15601         * javax/management/MBeanInfo.java: New file.
15602         
15603 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15604
15605         * javax/management/AttributeList.java,
15606         * javax/management/JMRuntimeException.java,
15607         * javax/management/RuntimeOperationsException.java:
15608         New files.
15609         
15610 2006-06-15  Lillian Angel  <langel@redhat.com>
15611
15612         * java/awt/font/TextLayout.java:
15613         DEFAULT_CARET_POLICY changed to be public static final.
15614
15615 2006-06-15  Tania Bento  <tbento@redhat.com>
15616
15617         * javax/swing/plaf/metal/MetalScrollButton.java
15618         (MetalScrollButton): Should set 'focusable' to false.
15619
15620 2006-06-15  Tania Bento  <tbento@redhat.com>
15621
15622         * javax/swing/plaf/basic/BasicArrowButton.java
15623         (BasicArrowButton): Should set 'focusable' to false.
15624         (BasicArrowButton): Should set 'focusable' to false.
15625
15626 2006-06-15  Mark Wielaard  <mark@klomp.org>
15627
15628         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15629         (getGraphicsConfiguration): Return default screen device.
15630         * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15631         New field.
15632         (GtkVolatileImage): Record initiating component.
15633         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15634         (getDeviceConfiguration): Return configuration of image component.
15635
15636 2006-06-15  Mark Wielaard  <mark@klomp.org>
15637
15638         * java/awt/geom/GeneralPath.java (closePath): Return if path already
15639         closed.
15640
15641 2006-06-15  Mark Wielaard  <mark@klomp.org>
15642
15643         * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15644         with null argument.
15645
15646 2006-06-15  Kyle Galloway  <kgallowa@redhat.com>
15647
15648         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15649         (matches): Added explicit brackets to return statement.
15650
15651 2006-06-15  Tania Bento  <tbento@redhat.com>
15652
15653         * javax/swing/JRadioButtonMenuItem.java
15654         (JRadioButtonMenuItem): Should set 'focusable' to false.
15655
15656 2006-06-15  Tania Bento  <tbento@redhat.com>
15657
15658         * javax/swing/JCheckBoxMenuItem.java
15659         (JCheckBoxMenuItem): Should set 'focusable' to false.
15660
15661 2006-06-15  Tania Bento  <tbento@redhat.com>
15662
15663         * javax/swing/AbstractButton.java:
15664         (AbstractButton): 'Focusable' should be set to true and not false.
15665
15666 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15667
15668         * java/lang/management/ManagementFactory.java:
15669         Add private constructor to prevent instance creation.
15670         * java/lang/management/ManagementPermission.java:
15671         Make final.
15672         
15673 2006-06-15  Francis Kung  <fkung@redhat.com>
15674
15675         * javax/swing/plaf/basic/BasicArrowButton.java:
15676         (BasicArrowButton): move client property for not triggering out 
15677         of consturctor
15678         * javax/swing/plaf/basic/BasicComboBoxUI.java:
15679         (configureArrowButton): set client property for not triggering
15680         (installUI): set client property for not triggering
15681         * javax/swing/plaf/basic/BasicLookAndFeel.java:
15682         (PopupHelper.mousePressed): check client property for triggering
15683
15684 2006-06-15  Roman Kennke  <kennke@aicas.com>
15685
15686         PR 28037
15687         * javax/swing/RepaintManager.java
15688         (blitBuffer): Substract coordinates the other way around.
15689
15690 2006-06-15  Roman Kennke  <kennke@aicas.com>
15691
15692         PR 28027
15693         * javax/swing/JComponent.java
15694         (paintImmediately2): Only paint component without double buffering
15695         when all of it's parents have also double buffering disabled.
15696         (isPaintingDoubleBuffered): New helper method.
15697
15698 2006-06-15  David Gilbert  <david.gilbert@object-refinery.com>
15699
15700         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15701         (draw(Shape)): Pass null transform to getPathIterator(),
15702         (getClip): Likewise,
15703         * gnu/java/print/PostscriptGraphics2D.java
15704         (drawStringShape): Pass null transform to getPathIterator(),
15705         (writeShape): Likewise,
15706         * java/awt/Shape.java: Small updates to API docs.
15707
15708 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15709
15710         * javax/naming/InitialContext.java:
15711         (list(javax.naming.Name)): Fixed generic type.
15712         (list(String)): Likewise.
15713         (listBindings(javax.naming.Name)): Likewise.
15714         (listBindings(String)): Likewise.
15715         
15716 2006-06-14  Roman Kennke  <kennke@aicas.com>
15717
15718         * javax/swing/plaf/basic/BasicComboBoxUI.java
15719         (getAccessibleChildrenCount): Implemented.
15720         (getAccessibleChild): Implemented.
15721         (isNavigationKey): Implemented.
15722         (KeyHandler.keyPressed): Implemented.
15723
15724 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15725
15726         * java/lang/management/ManagementPermission.java:
15727         Added serialization UID.
15728         * javax/management/Attribute.java: Likewise.
15729         * javax/management/MBeanException.java,
15730         * javax/management/ReflectionException.java:
15731         Added serialization UID and changed to extend
15732         javax.management.JMException.
15733         
15734 2006-06-14  Lillian Angel  <langel@redhat.com>
15735
15736         * java/awt/Component.java
15737         (ignoreOldMouseEvents): Made static.
15738         (translateEvent): Made static.
15739         * java/awt/TextComponent.java
15740         (ignoreOldMouseEvents): Made static.
15741
15742 2006-06-14  Mark Wielaard  <mark@klomp.org>
15743
15744         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15745         call super.
15746         (drawRect): Likewise.
15747         (fillRect): Likewise.
15748
15749 2006-06-14  Lillian Angel  <langel@redhat.com>
15750
15751         * java/awt/Component.java
15752         (ignoreOldMouseEvents): New helper function.
15753         (translateEvent): Changed to be non-static and use new helper.
15754         * java/awt/TextComponent.java
15755         (ignoreOldMouseEvents): New helper function.
15756
15757 2006-06-14  Roman Kennke  <kennke@aicas.com>
15758
15759         * javax/swing/RepaintManager.java
15760         (MERGE_REGIONS): New constant flag.
15761         (commitBuffer): Exclude the merging of regions by default. This
15762         was causing painting artifacts in some applications, especially
15763         when different areas of the GUI are updated synchronously.
15764
15765 2006-06-14  Roman Kennke  <kennke@aicas.com>
15766
15767         * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15768         New file. This is a benchmark for AWT 1.1 style graphics operations.
15769         * examples/gnu/classpath/examples/awt/palme.gif: New file.
15770         * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15771
15772 2006-06-14  Tom Tromey  <tromey@redhat.com>
15773
15774         * java/io/File.java (getParent): Javadoc fix.
15775
15776 2006-06-14  Tom Tromey  <tromey@redhat.com>
15777
15778         * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15779         jar.
15780         * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15781         when index entry does not exist.
15782
15783 2006-06-14  Tania Bento  <tbento@redhat.com>
15784
15785         * javax/swing/AbstractButton.java
15786         (AbstractButton): Set focusable to false, not true.
15787
15788 2006-06-14  Tania Bento  <tbento@redhat.com>
15789
15790         * javax/swing/JMenuItem.java
15791         (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15792
15793 2006-06-14  Tania Bento  <tbento@redhat.com>
15794
15795         * javax/swing/JCheckBoxMenuItem.java
15796         (JCheckBoxMenuItem): Added check to set the selected state.
15797
15798 2006-06-14  Roman Kennke  <kennke@aicas.com>
15799
15800         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15801         (cairoDrawLine): New native method.
15802         (cairoDrawRect): New native method.
15803         (cairoFillRect): New native method.
15804         (drawLine): Use special native method.
15805         (drawRect): Use special native method.
15806         (fillRect): Use special native method.
15807         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15808         (cairoDrawLine): New native method.
15809         (cairoDrawRect): New native method.
15810         (cairoFillRect): New native method.
15811         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15812
15813 2006-06-14  Mark Wielaard  <mark@klomp.org>
15814
15815         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15816         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15817         cannot be allocated.
15818
15819 2006-06-14  Tom Tromey  <tromey@redhat.com>
15820
15821         PR java/28024:
15822         * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15823         * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15824
15825 2006-06-14  Roman Kennke  <kennke@aicas.com>
15826
15827         * javax/swing/JComponent.java
15828         (isRepainting): New flag.
15829         (paintImmediately2): Set isRepainting flag.
15830         (getRoot): Removed obsolete method.
15831         (paintDoubleBuffered): Differenciate between paint calls from
15832         RepaintManager and from AWT refresh. Call
15833         RepaintManager.commitBuffer with this and local coordinates.
15834         (findOpaqueParent): Stop searching at heavyweight component. These
15835         are always opaque.
15836         (paintChildrenOptimized): Don't paint heavyweight children. These
15837         should care for themselves.
15838         (paintChildrenWithOverlap): Don't paint heavyweight children. These
15839         should care for themselves.
15840         * javax/swing/RepaintManager.java
15841         (getOffscreenBuffer): Associate offscreen buffer with toplevel
15842         windows only.
15843         (getVolatileOffscreenBuffer): Associate offscreen buffer with
15844         toplevel windows only.
15845         (getRoot): Removed obsolete method.
15846         (commitBuffer): Blit buffer on nearest heavyweight.
15847         (blitBuffer): New helper method.
15848         (getHeavyweightParent): New helper method.
15849         (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15850         * javax/swing/SwingUtilities.java
15851         (convertRectangleToAncestor): New helper method.
15852
15853 2006-06-14  Raif S. Naffah  <raif@swiftdsl.com.au>
15854
15855         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15856         Condition all trace/debug code based on Configuration.DEBUG.
15857         Use logger instead of STDOUT and ot STDERR.
15858
15859 2006-06-13  Lillian Angel  <langel@redhat.com>
15860
15861         * native/plugin/gcjwebplugin.cc
15862         (NP_Initialize): Removed code to create whitelist file.
15863         (GCJ_New): Added code to create whitelist file.
15864         (plugin_user_trusts_documentbase): Fixed error message.
15865
15866 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15867
15868         * javax/swing/plaf/metal/MetalIconFactory.java
15869         (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to 
15870         prevent overwriting border,
15871         (VerticalSliderThumbIcon.gradientMask): Likewise.
15872
15873 2006-06-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15874
15875         * javax/management/AttributeNotFoundException.java,
15876         * javax/management/InvalidAttributeValueException.java,
15877         * javax/management/JMException.java,
15878         * javax/management/MBeanException.java,
15879         * javax/management/OperationsException.java,
15880         * javax/management/ReflectionException.java:
15881         New files.
15882         
15883 2006-06-13  Roman Kennke  <kennke@aicas.com>
15884
15885         * java/awt/Component.java
15886         (dispatchEvent): Handle events even when consumed (this might be
15887         picked up later in the dispatching chain).
15888         * javax/swing/plaf/basic/BasicLookAndFeel.java
15889         (PopupHelper.mousePressed): Don't consume event. Only close popup
15890         when target component isn't flagged as DONT_CANCEL_POPUP.
15891         (DONT_CANCEL_POPUP): New package private constant for flagging
15892         special components that don't trigger popup closing.
15893         * javax/swing/plaf/basic/BasicArrowButton.java
15894         (BasicArrowButton): Set client property for not triggering closing
15895         of popups.
15896
15897 2006-06-13  Lillian Angel  <langel@redhat.com>
15898
15899         * java/awt/image/PixelGrabber.java
15900         (PixelGrabber): Added to API documentation.
15901
15902 2006-06-13  Keith Seitz  <keiths@redhat.com>
15903
15904         From Kyle Galloway  <kgallowa@redhat.com>:
15905         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15906         (ExceptionOnlyFilter): Allow null refId.
15907
15908         * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15909         compatibility with filters.
15910         (getParameter): Modified to allow access to above. 
15911
15912 2006-06-13  Sven de Marothy  <sven@physto.se>
15913
15914         * gnu/java/awt/peer/gtk/CairoSurface.java
15915         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15916         (create): Use stride in ints.
15917
15918 2006-06-13  Keith Seitz  <keiths@redhat.com>
15919
15920         From Kyle Galloway  <kgallowa@redhat.com>:
15921         * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15922
15923 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15924
15925         * javax/swing/plaf/basic/BasicSliderUI.java
15926         (calculateThumbSize): Removed unnecessary code,
15927         (calculateThumbLocation): Shift position by one,
15928         (calculateTickRect): Shift position by one when ticks are displayed,
15929         (calculateLabelRect): Calculate rect differently according to whether
15930         or not the labels are visible,
15931         (paintTrack): Shift track down one pixel.
15932
15933 2006-06-13  Lillian Angel  <langel@redhat.com>
15934
15935         * java/awt/image/PixelGrabber.java
15936         (PixelGrabber): Removed check to throw exception. JDK does
15937         not do this.
15938         (startGrabbing): Removed line to print stacktrace. 
15939
15940 2006-06-13  Mark Wielaard  <mark@klomp.org>
15941
15942         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15943         allocate unused AffineTransform. Add comment about conversion to
15944         BufferedImage.
15945         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15946         Recognize identity transform as "easy". Always convert to
15947         BufferedImage before calling super.
15948
15949 2006-06-13  Roman Kennke  <kennke@aicas.com>
15950
15951         * java/awt/Component.java
15952         (getGraphics): Translate child graphics correctly.
15953         (dispatchEvent): Only dispatch event if it hasn't been consumed
15954         yet by the global dispatcher.
15955         * javax/swing/plaf/basic/BasicLookAndFeel.java
15956         Added some API docs.
15957         (PopupHelper.mousePressed): Consume the event after closing
15958         opened menus.
15959
15960 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15961
15962         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting 
15963         changes only,
15964         * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15965         * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15966         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15967         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15968         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15969         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15970         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15971         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15972         * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15973         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15974         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15975         * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15976         * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15977         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15978         * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15979         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15980
15981 2006-06-12  Sven de Marothy  <sven@physto.se>
15982
15983         * java/awt/font/LineBreakMeasurer.java): Implement.
15984
15985 2006-06-12  Keith Seitz  <keiths@redhat.com>
15986
15987         From Kyle Galloway  <kgallowa@redhat.com>:
15988         * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15989
15990 2006-06-12  Keith Seitz  <keiths@redhat.com>
15991
15992         From Kyle Galloway  <kgallowa@redhat.com>:
15993         * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15994
15995         * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15996
15997 2006-06-12  Roman Kennke  <kennke@aicas.com>
15998
15999         * javax/swing/JComponent.java
16000         (paintDoubleBuffered): Correctly translate and clip the Graphics
16001         instance.
16002         (clipAndTranslateGraphics): New helper method.
16003
16004 2006-06-12  Roman Kennke  <kennke@aicas.com>
16005
16006         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16007         (copy): Use getClip() to copy the clip. Make copied transform
16008         null when original transform is null. Set clip here.
16009         (setTransform): Correctly update the clip.
16010         (setTransformImpl): New method. Updates the actual transform for
16011         Cairo.
16012         (transform): Correctly update the clip.
16013         (translate): Correctly update the clip.
16014         (clip): Handle null clip and argument correctly.
16015         (clipRect): Avoid creating new Rectangle objects.
16016         (getClip): Get the correct copy of the clip.
16017         (setClip): Correctly handle null argument.
16018         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16019         (CairoSurfaceGraphics): Don't set the clip here. The clip can either
16020         be null or whatever has been set in copy().
16021         * gnu/java/awt/peer/gtk/ComponentGraphics.java
16022         (drawImage): Add translation to the image coordinates.
16023         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16024         (VolatileImageGraphics): Don't set clip here. The clip can either
16025         be null or whatever has been set in copy().
16026
16027 2006-06-12  Keith Seitz  <keiths@redhat.com>
16028
16029         From Kyle Galloway  <kgallowa@redhat.com>:
16030         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
16031         (forCaught): Removed unused/unnecessary method.
16032         (forUncaught): Likewise.
16033         (matches): Implement.
16034
16035 2006-06-12  Keith Seitz  <keiths@redhat.com>
16036
16037         From Kyle Galloway  <kgallowa@redhat.com>:
16038         * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
16039
16040 2006-06-12  Keith Seitz  <keiths@redhat.com>
16041
16042         From Kyle Galloway  <kgallowa@redhat.com>:
16043         * gnu/classpath/jdwp/event/Event.java: Added constants for
16044         type.
16045         (getParameter): Changed parameter type from Class to int.
16046         * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
16047         Changed from Class type to constants.
16048         * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
16049         Likewise.
16050         * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
16051         Likewise.
16052         * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
16053         Likewise.
16054         * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
16055         Likewise.
16056         * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
16057         Likewise.
16058         * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
16059         Likewise.
16060         * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
16061         Likewise.
16062         * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
16063         Likewise.
16064         * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
16065         Likewise.
16066
16067 2006-06-12  Lillian Angel  <langel@redhat.com>
16068
16069         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
16070         (StandaloneAppletWindow): Changed title of standalone window.
16071
16072 2006-06-12  Lillian Angel  <langel@redhat.com>
16073
16074         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16075         (layoutContainer): Added missing selectedComponent assignment.
16076
16077 2006-06-12  Lillian Angel  <langel@redhat.com>
16078
16079         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16080         (layoutContainer): Added check to prevent exception.
16081
16082 2006-06-12  Tom Tromey  <tromey@redhat.com>
16083
16084         * java/lang/Thread.java (uncaughtException): Javadoc fix.
16085
16086 2006-06-12  Mark Wielaard  <mark@klomp.org>
16087
16088         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
16089         New static field.
16090         (ONE): Likewise.
16091         (lock): New method.
16092         (unlock): Likewise.
16093         (draw): Use lock() and unlock().
16094         (fill): Likewise.
16095         (drawRenderedImage): Likewise.
16096         (drawImage): Likewise.
16097         (drawGlyphVector): Likewise.
16098
16099 2006-06-12  Roman Kennke  <kennke@aicas.com>
16100
16101         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16102         (drawPixels): Include alpha in parameter list.
16103         (cairoFill): Include alpha in parameter list.
16104         (setComposite): Don't modify the color.
16105         (draw(Shape))): Use fill when the current composite has an alpha
16106         of != 1.0, so that the stroked shaped will be composited.
16107         (fill(Shape)): Call cairoFill() with alpha.
16108         (drawImage): Call drawPixels or drawSurface with alpha.
16109         (drawGlyphVector): When composite alpha is != 1.0, render the
16110         outline using fill() to enable compositing for text.
16111         (drawRaster): Call drawPixels with alpha.
16112         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16113         (nativeDrawSurface): Include alpha in parameter list.
16114         (drawSurface): Include alpha in parameter list. Pass it to
16115         nativeDrawSurface().
16116         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
16117         * include/gnu_java_awt_peer_gtk_CairoSurface.h:
16118         Regenerated.
16119         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16120         (drawPixels): Handle possible alpha for compositing.
16121         (cairoFill): Likewise.
16122         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16123         (nativeDrawSurface): Handle possible alpha for compositing.
16124
16125 2006-06-12  Mark Wielaard  <mark@klomp.org>
16126
16127         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16128         Notify data when completely done. Wait for worker thread to finish.
16129         Rethrow any pending exceptions.
16130         (exception): New field.
16131         (run): Store pending exception.
16132
16133 2006-06-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16134
16135         * java/lang/management/ManagementPermission.java:
16136         New file.
16137         
16138 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
16139
16140         * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
16141
16142 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
16143
16144         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16145         Use String.charAt().
16146
16147 2006-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
16148
16149         * doc/tools.texinfo
16150         (Applet Tools): New chapter.
16151         (appletviewer Tool): New section.
16152         (gcjwebplugin): New section.
16153
16154 2006-06-11  Mark Wielaard  <mark@klomp.org>
16155
16156         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16157         Takes GdkPixbufWriter.
16158         (GdkPixbufWriter): Implements Runnable.
16159         (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
16160         data processing.
16161         (DATADONE): New static final field.
16162         (data): New field.
16163         (write(byte[])): New method.
16164         (run): Likewise.
16165         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
16166         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
16167         Get dataOutputWriteID from writeClass.
16168         (stream_save_request): Change stream field to writer.
16169         (save_to_stream): Remove FIXME, call writer.
16170         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
16171         Store writer.
16172
16173 2006-06-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16174
16175         * NEWS:
16176         Mention new VM interface and use of properties.
16177         * doc/vmintegration.texinfo:
16178         Update with new gnu.java.lang.management section.
16179         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
16180         New file.
16181         * java/lang/management/ManagementFactory.java:
16182         (getRuntimeMXBean()): Implemented.
16183         * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
16184         New VM interface file.
16185         
16186 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16187
16188         PR Classpath/26065
16189         * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
16190         debug code based on Configuration.DEBUG.
16191         Use logger instead of STDOUT and ot STDERR.
16192         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
16193         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
16194         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
16195         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
16196         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
16197         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
16198         * gnu/javax/crypto/pad/TBC.java: Likewise.
16199         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
16200         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
16201         * gnu/javax/crypto/pad/BasePad.java: Likewise.
16202         * gnu/javax/crypto/mac/OMAC.java: Likewise.
16203         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
16204         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
16205         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
16206         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
16207         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
16208         * gnu/javax/crypto/keyring/Entry.java: Likewise.
16209         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
16210         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
16211         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
16212         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
16213         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
16214         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
16215         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
16216         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
16217         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
16218         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
16219         * gnu/java/security/Properties.java: Likewise.
16220         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
16221         * gnu/java/security/x509/X509CRL.java: Likewise.
16222         * gnu/java/security/x509/ext/Extension.java: Likewise.
16223         * gnu/java/security/util/Prime2.java: Likewise.
16224         * gnu/java/security/util/Base64.java: Likewise.
16225         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
16226         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
16227         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
16228         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
16229         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
16230         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
16231         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
16232         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
16233         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
16234         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
16235         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
16236         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
16237         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
16238         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
16239         * gnu/java/security/hash/Whirlpool.java: Likewise.
16240
16241 2006-06-11  Mark Wielaard  <mark@klomp.org>
16242
16243         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16244         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
16245         Remove unused variable glyph_index.
16246
16247 2006-06-11  Mark Wielaard  <mark@klomp.org>
16248
16249         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
16250         Don't recurse, return false if not an BufferedImage and no image
16251         source available.
16252         * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
16253         end_gdk_drawing() to finally block.
16254         (fill): Likewise.
16255         (drawRenderedImage): Likewise.
16256         (drawImage): Likewise.
16257         (drawGlyphVector): Likewise.
16258
16259 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16260
16261         * doc/tools.texinfo: Added text for new -cacert command.
16262         Re-structured sections.
16263         * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
16264         for -cacert command.
16265         * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
16266         (_CACERT): Likewise.
16267         (shutdownThread): New field.
16268         (Main): Install shutdown thread.
16269         (main): Uninstall shutdown thread.
16270         (start): Handle new -cacert command.
16271         (getParser): Likewise.
16272         (teardown): Increased visibility.
16273         (ShutdownHook): New inner class.
16274         * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
16275
16276 2006-06-11  Sven de Marothy  <sven@physto.se>
16277
16278         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16279         (setupGlyphMetrics): New method. Add glyphmetrics caching.
16280         (getOutline): Operate on the shape directly.
16281         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16282         (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
16283         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16284         (getGlyph renamed getGlyphs)
16285         * java/awt/geom/AffineTransform.java
16286         (getTranslateInstance): Set fields directly.
16287         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16288         (getGlyphs): Get all glyph codes at once.
16289         
16290 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16291
16292         PR Classpath/27853
16293         * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
16294
16295 2006-06-11  Sven de Marothy  <sven@physto.se>
16296
16297         * java/awt/font/TextLayout.java
16298         (getLogicalHighlightShape): Add check.
16299         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16300         (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
16301
16302 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16303
16304         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16305         Check that every component of 'cn' starts with a valid Java identifier char.
16306
16307 2006-06-10  Tom Tromey  <tromey@redhat.com>
16308
16309         * java/io/File.java (pathSeparator): Typo fix.
16310
16311 2006-06-10  Mark Wielaard  <mark@klomp.org>
16312
16313         * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
16314         Removed.
16315         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16316         Mark all unused parameters.
16317         (cp_gtk_get_cairo_t): Removed.
16318         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
16319         Don't mix declerations and statements.
16320         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
16321         Mark all unused parameters.
16322         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
16323         Get cairographics2d pointer directly.
16324         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
16325         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
16326         Use jlong to pass pointer.
16327         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16328         Mark all unused parameters.
16329         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16330         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
16331         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
16332         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
16333         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
16334         * include/java_io_VMFile.h: Regenerated.
16335
16336 2006-06-10  Roman Kennke  <kennke@aicas.com>
16337
16338         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16339         (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
16340         instead of setClip(), so that an already present clip is intersected
16341         and not resetted.
16342
16343 2006-06-10  Mark Wielaard  <mark@klomp.org>
16344
16345         * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
16346         Call getSize() to avoid accessor method.
16347
16348 2006-06-10  Mark Wielaard  <mark@klomp.org>
16349
16350         * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
16351         Qualify ElementSpec.
16352
16353 2006-06-10  Mark Wielaard  <mark@klomp.org>
16354
16355         * lib/.cvsignore: Add sun.
16356         * lib/Makefile.am (dist-hook): Likewise.
16357
16358 2006-06-10  Roman Kennke  <kennke@aicas.com>
16359
16360         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16361         * gnu/java/awt/peer/gtk/CairoSurface.java
16362         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16363         * gnu/java/awt/peer/gtk/ComponentGraphics.java
16364         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16365         * native/jni/gtk-peer/cairographics2d.h
16366         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16367         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16368         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16369         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16370         Changed method signatures and calls to pass native pointers directly
16371         into the JNI code, in order to avoid costly lookups on each
16372         JNI call.
16373         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
16374         * include/gnu_java_awt_peer_gtk_CairoSurface.h,
16375         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
16376         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
16377         Regenerated
16378
16379 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16380
16381         PR 27973
16382         * javax/swing/text/DefaultStyledDocument.java 
16383         (ElementBuffer.insertContentTag):
16384         Do not recreate leaves and do not remove elements here. 
16385
16386 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16387
16388         * javax/swing/text/html/HTMLDocument.java
16389         (HTMLReader.HiddenAction): Implemented.
16390
16391 2006-06-10  Roman Kennke  <kennke@aicas.com>
16392
16393         * javax/swing/RepaintManager.java
16394         (getVolatileOffscreenBuffer): Store the created buffer.
16395         * javax/swing/JComponent.java
16396         (paintDoubleBuffered): Try to use a volatile offscreen buffer
16397         for better performance.
16398
16399 2006-06-10  Roman Kennke  <kennke@aicas.com>
16400
16401         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16402         (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16403         context correctly.
16404         (getRealBounds): Overridden to return the correct bounds.
16405
16406 2006-06-10  Roman Kennke  <kennke@aicas.com>
16407
16408         * javax/swing/plaf/metal/MetalButtonUI.java
16409         (update): Fixed to paint the gradient under the correct conditions.
16410         (updateWidthGradient): Removed.
16411         (isToolbarButton): New helper method.
16412         (isDrawingGradient): New helper method.
16413
16414 2006-06-09  Roman Kennke  <kennke@aicas.com>
16415
16416         * javax/swing/JTabbedPane.java
16417         (setSelectedIndex): Don't change the visibility of the components,
16418         this is done by the UI class.
16419         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16420         (TabbedPaneLayout.layoutContainer): Change visibility of component
16421         here, depending on the selected index. Only do this if the new
16422         selected component is not null. Some programs seem to expect
16423         this.
16424         (visibleComponent): New field.
16425         (getVisibleComponent): Changed to return visibleComponent field.
16426         (setVisibleComponent): Changed to set the visibility of
16427         the old and new visible component.
16428
16429 2006-06-09  Roman Kennke  <kennke@aicas.com>
16430
16431         * javax/swing/JComponent.java
16432         (paintChildrenOptimized): Paint component with a new Graphics
16433         object to protect the other painting code from modifications
16434         done in that object, and avoid cleanup ops on possibly dispose()ed
16435         Graphics object.
16436
16437 2006-06-09  Sven de Marothy  <sven@physto.se>
16438
16439         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16440         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16441         Use GTK locks while disposing (Xlib) surface.
16442
16443 2006-06-09  Tom Tromey  <tromey@redhat.com>
16444
16445         * lib/Makefile.am (install-data-local): Copy 'sun' files.
16446         (uninstall-local): Delete 'sun' directory.
16447         (glibj.zip): Include 'sun' classes.
16448         (clean-local): Delete 'sun' directory.
16449         * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16450
16451 2006-06-09  Roman Kennke  <kennke@aicas.com>
16452
16453         * gnu/java/awt/java2d/AbstractGraphics2D.java
16454         (drawImage): Fixed scaling.
16455         (fillShape): Removed offset handling.
16456         (fillShapeImpl): Limit scanlining to device bounds.
16457         (getSegments): Removed offset handling.
16458         * gnu/java/awt/java2d/PolyEdge.java
16459         (toString): Include isClip flag in output.
16460
16461 2006-06-08  Sven de Marothy  <sven@physto.se>
16462
16463         * java/awt/font/TextLayout.java
16464         (getOutline): Allow null transform.
16465
16466 2006-06-08  Sven de Marothy  <sven@physto.se>
16467
16468         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16469         (drawString): Use TextLayout instead of GlyphVector.
16470
16471 2006-06-08  Sven de Marothy  <sven@physto.se>
16472
16473         * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16474         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16475         New constructor for bidirectionality.
16476         (getGlyphMetrics): Return whitespace glyphs.
16477         (getLogicalBounds): Offset rectangles to correct positions.
16478         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16479         (getBaselineFor): Default to ROMAN_BASELINE.
16480         (GdkFontLineMetrics): Guess some values for underline and 
16481         strikethrough.
16482         (layoutGlyphVector): Use bidirectionality.
16483         * java/awt/font/TextLayout.java: Implement, mostly.
16484         
16485 2006-06-09  Anthony Green  <green@redhat.com>
16486
16487         PR classpath/27888:
16488         * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16489         * java/util/Collections.java (binarySearch): Use unsigned shift.
16490         * java/util/Arrays.java (binarySearch): Use unsigned shift.
16491
16492 2006-06-09  Tom Tromey  <tromey@redhat.com>
16493
16494         * tools/.cvsignore: Added .deps.
16495
16496 2006-06-09  Kazuya Ujihara  <ujihara@aurora.dti.ne.jp>
16497
16498         PR classpath/27966:
16499         * gnu/javax/security/auth/login/ConfigFileParser.java
16500         (validateClassName): Quote '.' in regexp.
16501
16502 2006-06-09  Tom Tromey  <tromey@redhat.com>
16503
16504         PR classpath/23863:
16505         * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16506         finished.
16507         * native/fdlibm/mprec.c: New version from newlib.  Commented out
16508         some includes.  Added <assert.h>.
16509         (_reent, _Bigint): New defines.
16510         (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16511         (__ULong, __Long): New types.
16512         (_calloc_r): New function.
16513         (Balloc): Dynamically add new _freelist entries as needed.
16514         * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16515         MAX_BIGNUMS to size _x[].
16516         (struct _Jv_reent): _freelist now a _Jv_Bigint**.  Removed
16517         _allocation_map, num.  Added _max_k.
16518
16519 2006-06-09  Roman Kennke  <kennke@aicas.com>
16520
16521         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16522         (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16523         implementations.
16524
16525 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16526
16527         * java/awt/image/BufferedImage.java
16528         (BufferedImage(int, int, int)): Added API docs,
16529         (getProperty(String)): Return correct value for undefined properties,
16530         (getPropertyNames()): Added comments and removed FIXME.
16531
16532 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
16533
16534         * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16535         (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16536
16537 2006-06-09  Francis Kung  <fkung@redhat.com>
16538
16539         * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16540         (getPreferredSize): Return correct height for null or empty 
16541         items.
16542
16543 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16544
16545         * java/awt/datatransfer/DataFlavor.java
16546         (readExternal): Mark as stub,
16547         (writeExternal): Likewise,
16548         * java/awt/dnd/DropTargetContext.java
16549         (dropComplete): Mark as stub,
16550         (acceptDrag): Likewise,
16551         (rejectDrag): Likewise,
16552         (acceptDrop): Likewise,
16553         (rejectDrop): Likewise,
16554         (getCurrentDataFlavors): Likewise,
16555         (getTransferable): Likewise,
16556         * java/awt/dnd/DropTargetDropEvent.java
16557         (dropComplete): Mark as stub.
16558
16559 2006-06-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16560
16561         * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16562         (constructor): Do not lowercase the values.
16563         * javax/swing/text/html/HTMLDocument.java
16564         (HTMLReader.addSpecialElement): Implemented.
16565         * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16566
16567 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
16568
16569         On behalf of Matthew Wringe <mwringe@redhat.com>
16570         * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16571         * gnu/javax/crypto/pad/ISO10126.java: New class.
16572         * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16573         (getInstance): Added support for ISO-10126 scheme.
16574         (getNames): Likewise.
16575         Cache result for speed.
16576
16577 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
16578
16579         * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16580         flexible self-test by sub-classes.
16581         (test1BlockSize): New method.
16582
16583 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16584
16585         * javax/swing/plaf/basic/BasicLookAndFeel.java
16586         (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16587         * javax/swing/plaf/basic/BasicScrollBarUI.java
16588         (installKeyboardActions): Implemented,
16589         (uninstallKeyboardActions): Implemented,
16590         (getInputMap): New method,
16591         (getActionMap): New method,
16592         (createActionMap): New method,
16593         (installUI): Call installKeyboardActions(),
16594         (uninstallUI): Call uninstallKeyboardActions().
16595         
16596 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16597
16598         * javax/swing/plaf/basic/BasicScrollPaneUI.java
16599         (getActionMap): Use correct key to store action map.
16600
16601 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
16602
16603         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16604         (executeInstruction): Added NOT support.
16605
16606 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
16607
16608         * sun/reflect/annotation/AnnotationInvocationHandler.java:
16609         New file.
16610
16611 2006-06-08  Tom Tromey  <tromey@redhat.com>
16612
16613         * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16614         of 'types'.
16615
16616 2006-06-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16617
16618         * java/lang/management/RuntimeMXBean.java:
16619         New file.
16620         
16621 2006-06-08  Lillian Angel  <langel@redhat.com>
16622
16623         * native/plugin/gcjwebplugin.cc:
16624         (NP_Shutdown): Freed whitelist_filename.
16625
16626 2006-06-08  Lillian Angel  <langel@redhat.com>
16627
16628         * native/plugin/Makefile.am:
16629         Removed DATA_DIRECTORY.
16630         * native/plugin/gcjwebplugin.cc:
16631         Added new global fields for whitelist_file
16632         and data_directory. Removed WHITELIST_FILE.
16633         (NP_Initialize): Initialized new fields. Also,
16634         Changed to use new fields.
16635         (NP_Shutdown): Freed data_directory.
16636         (GCJ_New): Changed to use new fields.
16637         (plugin_ask_user_about_documentbase): Likewise.
16638
16639 2006-06-08  Lillian Angel  <langel@redhat.com>
16640
16641         * native/plugin/Makefile.am:
16642         Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16643         * native/plugin/gcjwebplugin.cc:
16644         Changed all instances of PLUGIN_DATA_DIRECTORY
16645         to DATA_DIRECTORY.
16646
16647 2006-06-08  Roman Kennke  <kennke@aicas.com>
16648
16649         * java/awt/LightweightDispatcher.java
16650         (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16651         with convertPointToChild(). This is more efficient and avoids
16652         problems with getLocationOnScreen().
16653         (findTarget): Check for component beeing showing() early.
16654         Simplified AWTUtilities.convertPoint() to a simple substraction
16655         operation.
16656         (convertPointToChild): New helper method.
16657
16658 2006-06-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
16659
16660         * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16661         message.
16662
16663 2006-06-08  Tom Fitzsimmons  <fitzsim@redhat.com>
16664             Lillian Angel  <langel@redhat.com>
16665
16666         * native/plugin/gcjwebplugin.cc
16667         (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16668         Also, reset initialized field.
16669
16670 2006-06-08  Lillian Angel  <langel@redhat.com>
16671
16672         * javax/swing/plaf/basic/BasicProgressBarUI.java
16673         (paintString): Fixed to paint string at the correct location.
16674
16675 2006-06-08  Roman Kennke  <kennke@aicas.com>
16676
16677         * javax/swing/plaf/basic/BasicTreeUI.java
16678         (createDefaultActions): Added new actions.
16679         (TreePageAction.TreePageAction): Set action name.
16680         (TreePageAction.actionPerformed): Implemented.
16681         (TreePageAction.isEnabled): Implemented.
16682         (TreeToggleAction.TreePageAction): Set action name.
16683         (TreeToggleAction.actionPerformed): Implemented.
16684         (TreeToggleAction.isEnabled): Implemented.
16685         (TreeTraverseAction.TreeTraverseAction): Set action name.
16686         (TreeTraverseAction.actionPerformed): Use action name as command.
16687         (TreeTraverseAction.isEnabled): Implemented.
16688
16689 2006-06-08  Roman Kennke  <kennke@aicas.com>
16690
16691         * javax/swing/plaf/basic/BasicTreeUI.java
16692         (installKeyboardActions): Rewritten to correctly install the UI
16693         input and action maps.
16694         (getActionMap): New helper method.
16695         (createDefaultActionMap): New helper method.
16696         (TreeHomeAction.TreeHomeAction()): Implemented.
16697         (TreeHomeAction.actionPerformed): Implemented.
16698         (TreeHomeAction.isEnabled): Implemented.
16699         (TreeIncrementAction.TreeIncrementAction()): Implemented.
16700         (TreeIncrementAction.actionPerformed): Use action name as command.
16701         (TreeIncrementAction.isEnabled): Implemented.
16702
16703 2006-06-08  Mark Wielaard  <mark@klomp.org>
16704
16705         PR 27917
16706         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16707         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16708         and unref loader.
16709
16710 2006-06-08  Mark Wielaard  <mark@klomp.org>
16711
16712         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16713         (attrs): Removed unused static.
16714
16715 2006-06-08  David Gilbert  <david.gilbert@object-refinery.com>
16716
16717         * javax/swing/plaf/basic/BasicScrollPaneUI.java
16718         (getInputMap): New method,
16719         (getActionMap): New method,
16720         (createActionMap): New method,
16721         (installKeyboardActions): Implemented,
16722         (uninstallKeyboardActions): Implemented.
16723
16724 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
16725
16726         * javax/swing/border/MatteBorder.java:
16727         (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16728         throwing.
16729         (paintBorder): Added if-statement to abort painting early.
16730
16731 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
16732
16733         Fixes PR27864.
16734         * gnu/xml/dom/DomIterator.java:
16735         (successor): Changed expression.
16736
16737 2006-06-08  Sven de Marothy  <sven@physto.se>
16738
16739         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16740         (defaultLayout): Do kerning.
16741         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16742         (getKerning): Correct class name, removed unused variable.
16743
16744 2006-06-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
16745
16746         * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16747         libqtpeer.so unconditionally.
16748
16749 2006-06-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16750
16751         * java/util/InputMismatchException.java:
16752         Documented.
16753         
16754 2006-06-07  Andreas Tobler  <a.tobler@schweiz.ch>
16755
16756         * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16757
16758 2006-06-07  Roman Kennke  <kennke@aicas.com>
16759
16760         * javax/swing/plaf/basic/BasicTreeUI.java
16761         (completeUIUninstall): Implemented.
16762         (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16763         editing before uninstalling anything.
16764         (isToggleEvent): Implemented.
16765         (selectPathForEvent): Make use of isToggleEvent().
16766         (ComponentHandler.componentMoved): Implemented.
16767         (ComponentHandler.startTimer): Implemented.
16768         (ComponentHandler.getScrollPane): Implemented.
16769         (ComponentHandler.actionPerformed): Implemented.
16770
16771 2006-06-07  Francis Kung  <fkung@redhat.com>
16772
16773         * javax/swing/JMenuBar.java:
16774         (getSubElements): Do not return null values.
16775
16776 2006-06-07  Roman Kennke  <kennke@aicas.com>
16777
16778         PR 27902
16779         * gnu/regexp/BacktrackStack.java
16780         * gnu/regexp/CharIndexed.java
16781         * gnu/regexp/CharIndexedCharArray.java
16782         * gnu/regexp/CharIndexedCharSequence.java
16783         * gnu/regexp/CharIndexedInputStream.java
16784         * gnu/regexp/CharIndexedString.java
16785         * gnu/regexp/CharIndexedStringBuffer.java
16786         * gnu/regexp/RE.java
16787         * gnu/regexp/REException.java
16788         * gnu/regexp/REFilterInputStream.java
16789         * gnu/regexp/REMatch.java
16790         * gnu/regexp/REMatchEnumeration.java
16791         * gnu/regexp/RESyntax.java
16792         * gnu/regexp/REToken.java
16793         * gnu/regexp/RETokenAny.java
16794         * gnu/regexp/RETokenBackRef.java
16795         * gnu/regexp/RETokenChar.java
16796         * gnu/regexp/RETokenEnd.java
16797         * gnu/regexp/RETokenEndOfPreviousMatch.java
16798         * gnu/regexp/RETokenEndSub.java
16799         * gnu/regexp/RETokenIndependent.java
16800         * gnu/regexp/RETokenLookAhead.java
16801         * gnu/regexp/RETokenLookBehind.java
16802         * gnu/regexp/RETokenNamedProperty.java
16803         * gnu/regexp/RETokenOneOf.java
16804         * gnu/regexp/RETokenPOSIX.java
16805         * gnu/regexp/RETokenRange.java
16806         * gnu/regexp/RETokenRepeated.java
16807         * gnu/regexp/RETokenStart.java
16808         * gnu/regexp/RETokenWordBoundary.java
16809         * gnu/regexp/UncheckedRE.java
16810         * gnu/java/util/regex/BacktrackStack.java
16811         * gnu/java/util/regex/CharIndexed.java
16812         * gnu/java/util/regex/CharIndexedCharArray.java
16813         * gnu/java/util/regex/CharIndexedCharSequence.java
16814         * gnu/java/util/regex/CharIndexedInputStream.java
16815         * gnu/java/util/regex/CharIndexedString.java
16816         * gnu/java/util/regex/CharIndexedStringBuffer.java
16817         * gnu/java/util/regex/RE.java
16818         * gnu/java/util/regex/REException.java
16819         * gnu/java/util/regex/REFilterInputStream.java
16820         * gnu/java/util/regex/REMatch.java
16821         * gnu/java/util/regex/REMatchEnumeration.java
16822         * gnu/java/util/regex/RESyntax.java
16823         * gnu/java/util/regex/REToken.java
16824         * gnu/java/util/regex/RETokenAny.java
16825         * gnu/java/util/regex/RETokenBackRef.java
16826         * gnu/java/util/regex/RETokenChar.java
16827         * gnu/java/util/regex/RETokenEnd.java
16828         * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16829         * gnu/java/util/regex/RETokenEndSub.java
16830         * gnu/java/util/regex/RETokenIndependent.java
16831         * gnu/java/util/regex/RETokenLookAhead.java
16832         * gnu/java/util/regex/RETokenLookBehind.java
16833         * gnu/java/util/regex/RETokenNamedProperty.java
16834         * gnu/java/util/regex/RETokenOneOf.java
16835         * gnu/java/util/regex/RETokenPOSIX.java
16836         * gnu/java/util/regex/RETokenRange.java
16837         * gnu/java/util/regex/RETokenRepeated.java
16838         * gnu/java/util/regex/RETokenStart.java
16839         * gnu/java/util/regex/RETokenWordBoundary.java
16840         * gnu/java/util/regex/UncheckedRE.java
16841         Moved gnu.regexp classes to gnu.java.util.regex package.
16842         * java/util/regex/Matcher.java
16843         * java/util/regex/Pattern.java
16844         Adjusted import statements for new package name for gnu regexp.
16845
16846 2006-06-07  Tom Tromey  <tromey@redhat.com>
16847
16848         PR classpath/27905:
16849         * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16850         Added missing charsets.
16851         (charsetForName): Don't check 'extendedLoaded'.
16852
16853 2006-06-07  Roman Kennke  <kennke@aicas.com>
16854
16855         PR 27833
16856         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16857         (clip(Shape)): Implemented correctly, so that the current shape
16858         gets intersected by the parameter shape.
16859
16860 2006-06-07  Lillian Angel  <langel@redhat.com>
16861
16862         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16863         (getTabBounds): If this method is called with a tab index
16864         that is not in the rects array, we need to re-layout the container
16865         so it is created.
16866
16867 2006-06-07  Lillian Angel  <langel@redhat.com>
16868
16869         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16870         (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16871         * java/lang/String.java
16872         (codePointCount): Fixed check to match API. Shouldn't throw exception
16873         if end == count. end is 1 more than the endIndex, so end == count is 
16874         possible.
16875
16876 2006-06-07  Gary Benson  <gbenson@redhat.com>
16877
16878         PR 24895
16879         * native/jni/java-io/java_io_VMFile.c
16880         (Java_java_io_VMFile_toCanonicalForm): New method.
16881         * configure.ac: Added checks for lstat and readlink.
16882         * include/java_io_VMFile.h: Added new method.
16883         * vm/reference/java/io/VMFile.java: Use new method.
16884         * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16885         * NEWS: Documented the above.
16886         * java/io/File.java: Javadoc fix.
16887
16888 2006-06-07  Roman Kennke  <kennke@aicas.com>
16889
16890         PR 27920
16891         * javax/swing/JTree.java
16892         (JTree()): Initialize with default model.
16893         (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16894         on the updateUI() / setModel() order.
16895         (setModel): Correctly (un-)setup the listeners. Clear the expanded
16896         paths.
16897         * javax/swing/plaf/basic/BasicTreeUI.java
16898         (BasicTreeUI()): Initialize listeners in installListeners().
16899         (setModel): Complete editing on model change. Correctly resetup
16900         the listeners. Update the layout cache accordingly.
16901         (setShowRootHandles): Complete editing and update layout. Do not
16902         call back into the JTree, this could cause cycles.
16903         (prepareForUIInstall): Implemented. Moved some init code from
16904         installUI() to this method.
16905         (completeUIInstall): Implemented. Moved some init code from
16906         installUI() to this method.
16907         (createDefaultCellEditor): Check for type of renderer, and install
16908         with null renderer when not DefaultTreeCellRenderer.
16909         (updateLayoutCacheExpandedNodes): Added null check for tree root
16910         to avoid NPE.
16911         (updateRenderer): Call updateEditor().
16912         (installListeners): Initialize the listeners here. Added some null
16913         checks to avoid NPEs.
16914         (installUI): Moved some init code to prepareForUIInstall() and
16915         completeUIInstall().
16916         (completeEditing): Return immediately if editing component is null
16917         or if the setting is to not stop editing on complete editing.
16918         (checkForClickInExpandControl): Call handleExpandControlClick()
16919         instead of toggleExpandState() directly.
16920         (isLocationInExpandControl): Rewritten to correctly determine the
16921         expand click location.
16922         (MouseHandler.mousePressed): Rewritten to make better use of the
16923         instance methods of BasicTreeUI to handle the click.
16924         (PropertyHandler.propertyChange): Handle model and cell renderer
16925         updates.
16926         * javax/swing/tree/DefaultTreeCellEditor.java
16927         (DefaultTreeCellEditor): Removed initialization of the icon. This
16928         is done so that the constructor can deal with null renderer as the
16929         RI does. Maybe this needs more fixing.
16930         * javax/swing/tree/TreePath.java
16931         (isDescendant): Fixed this method. The previous version did too
16932         much and compared the wrong things, which lead to a ClassCastException
16933         in equals().
16934         * javax/swing/tree/VariableHeightLayoutCache.java
16935         (update): Do nothing when model is null.
16936         (setModel): Clear the tables and update the layout. Added null
16937         check to prevent NPE.
16938
16939 2006-06-07  Sven de Marothy  <sven@physto.se>
16940
16941         * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16942
16943 2006-06-07  Sven de Marothy  <sven@physto.se>
16944
16945         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16946         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16947         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16948         New files.
16949
16950         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16951         (getGlyphVector): Removed native method.
16952         (createGlyphVector, getStringBounds): Use new GV class.
16953
16954         * include/Makefile.am
16955         * native/jni/gtk-peer/Makefile.am
16956         Add new files.
16957
16958         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16959         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16960         (getGlyphVector): Removed native method.
16961         
16962 2006-06-07  Chris Burdess  <dog@gnu.org>
16963
16964         * gnu/classpath/debug/TeeInputStream.java,
16965           gnu/classpath/debug/TeeOutputStream.java,
16966           gnu/classpath/debug/TeeReader.java,
16967           gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16968         * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16969           read more characters than absolutely necessary in tryRead method.
16970
16971 2006-06-07  Robert Schuster  <robertschuster@fsfe.org>
16972
16973         * examples/gnu/classpath/examples/swing/Demo.java:
16974         (mkMenuBar): Put look and feel radio buttons into 
16975         appropriate button group.
16976
16977 2006-06-07  Chris Burdess  <dog@gnu.org>
16978
16979         * gnu/xml/stream/SAXParser.java,
16980           gnu/xml/stream/XMLParser.java: Add command line options for setting
16981           parsing parameters (for simpler debugging).
16982         * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16983           closing output stream is propagated to application.
16984
16985 2006-06-06  Mark Wielaard  <mark@klomp.org>
16986
16987         PR 27917
16988         * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16989         * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16990         call disposeSurface.
16991         (disposeSurface): New native method.
16992         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16993         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16994         pattern_pixels.
16995         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16996         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16997         cairo_pattern_destroy.
16998         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16999         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
17000         New function to destroy the surface.
17001         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
17002         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
17003         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
17004
17005 2006-06-06  Mark Wielaard  <mark@klomp.org>
17006
17007         * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
17008         with JNICALL.
17009
17010 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17011
17012         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
17013         (paint): If has focus, paint special background color,
17014         * javax/swing/plaf/basic/BasicSplitPaneUI.java
17015         (FocusHandler.focusGained): Implemented,
17016         (FocusHandler.focusLost): Implemented.
17017
17018 2006-06-06  Tom Tromey  <tromey@redhat.com>
17019
17020         * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
17021         Javadoc fix.
17022         (writeAttributeSet): Implemented.
17023
17024 2006-06-06  Tom Tromey  <tromey@redhat.com>
17025
17026         * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
17027         Implement.
17028         (SpecialAction.end): Removed.
17029         (IsindexAction.end): Likewise.
17030
17031 2006-06-06  Tom Tromey  <tromey@redhat.com>
17032
17033         * include/jni.h (JDK1_1InitArgs): New struct.
17034         (JDK1_1AttachArgs): Likewise.
17035
17036 2006-06-06  Tom Tromey  <tromey@redhat.com>
17037
17038         * java/security/UnresolvedPermission.java (getUnresolvedType): New
17039         method.
17040         (getUnresolvedName): New method.
17041         (getUnresolvedActions): New method.
17042         (getUnresolvedCerts): New method.
17043
17044 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17045
17046         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17047         (getColor): Removed debugging code.
17048
17049 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17050
17051         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17052         (getColor): Added support for "rgb(red, green, blue)" notation.
17053         (translateTag): Use Boolean.TRUE, not new Boolean().
17054
17055 2006-06-06  Roman Kennke  <kennke@aicas.com>
17056
17057         PR 27651
17058         * javax/swing/JTree.java
17059         (JTree(TreeModel)): Call updateUI() before setModel().
17060         (setModel): Don't call updateUI here.
17061
17062 2006-06-06  Lillian Angel  <langel@redhat.com>
17063         
17064         * native/plugin/gcjwebplugin.cc:
17065         Fixed failure message and commenting.
17066         (NP_Initialize): Added more comments.
17067
17068 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17069
17070         * javax/swing/JSplitPane.java
17071         (AccessibleJSplitPane): API doc fixes,
17072         (setDividerLocation): Likewise,
17073         * javax/swing/plaf/basic/BasicLookAndFeel.java
17074         (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
17075         * javax/swing/plaf/basic/BasicSplitPaneUI.java
17076         (getInputMap): New method,
17077         (getActionMap): New method,
17078         (createActionMap): New method,
17079         (installKeyboardActions): Implemented,
17080         (uninstallKeyboardActions): Implemented.
17081
17082 2006-06-06  Roman Kennke  <kennke@aicas.com>
17083
17084         PR 27523
17085         * javax/swing/MenuSelectionManager.java
17086         (processKeyEvent): Added check to avoid
17087         ArrayIndexOutOfBoundsException.
17088
17089 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17090
17091         * gnu/javax/swing/text/html/htmlAttributeSet.java
17092         (getAttributeNames): Rewritten
17093
17094 2006-06-06  Chris Burdess  <dog@gnu.org>
17095
17096         * gnu/xml/transform/TransformerImpl.java: Check type of created
17097           document (more cases).
17098
17099 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17100
17101         * gnu/javax/swing/text/html/htmlAttributeSet.java
17102         (clone): New method. (copyAttributes): New method.
17103         (getResolveParent): Comment fix. (getAttribute):
17104         Rewritten. (addAttribute): Rewritten.
17105         * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
17106         New file.
17107
17108 2006-06-06  Roman Kennke  <kennke@aicas.com>
17109
17110         PR 27522
17111         * javax/swing/JMenuBar.java
17112         (processKeyBindingHelper): Added null check to prevent NPE.
17113
17114 2006-06-06  Roman Kennke  <kennke@aicas.com>
17115
17116         * javax/swing/plaf/basic/BasicInternalFrameUI.java
17117         (ShowSystemMenuAction): New class.
17118         (installKeyboardActions): Implemented.
17119         (uninstallKeyboardActions): Implemented.
17120         * javax/swing/plaf/metal/MetalInternalFrameUI.java
17121         (installKeyboardActions): Overridden to remove showSystemMenu action.
17122
17123 2006-06-06  Chris Burdess  <dog@gnu.org>
17124
17125         * gnu/xml/transform/TransformerImpl.java: Check type of created
17126           document.
17127
17128 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17129
17130         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
17131         (getScreenDevices): Added explicit cast.
17132
17133 2006-06-06  Roman Kennke  <kennke@aicas.com>
17134
17135         * javax/swing/plaf/basic/BasicTextUI.java
17136         (installKeyboardActions): Use shared input map. Correctly
17137         install the input/action maps in the component's input/action
17138         map hierarchies.
17139         (getActionMap): New helper method for fetching an ActionMap from
17140         the UIManager or creating a default one if there is none supplied
17141         by the UIManager.
17142         (createActionMap): Add the TransferHandler's actions here. Made
17143         method private.
17144         (getInputMap): Leave out unnecessary method parameter. Load
17145         shared input map.
17146         * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
17147
17148 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17149
17150         * configure.ac: Added missing [ to expression.
17151
17152 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17153
17154         * configure.ac: Added missing { to expression.
17155
17156 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17157
17158         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
17159         * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
17160         * include/Makefile.am: Added
17161         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
17162         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
17163         (GdkGraphicsConfiguration): Rewritten.
17164         (getColorModel): Rewritten.
17165         (getColorModel(int)): Rewritten.
17166         (getBounds): Rewritten.
17167         (createCompatibleVolatileImage): Implemented.
17168         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
17169         initializer.
17170         (getDefaultScreenDevice): Rewritten.
17171         (nativeGetDefaultScreenDevice): New method.
17172         (getScreenDevices): Rewritten.
17173         (nativeGetScreenDevices): New method.
17174         (nativeInitState): New method.
17175         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
17176         rewritten.
17177         (X11DisplayMode): New inner class.
17178         * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
17179         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
17180         * native/jni/gtk-peer/gdkdisplay.h: New file.
17181         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
17182         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
17183         New function.
17184         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
17185         New function.
17186         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17187         _nativeGetScreenDevices):
17188         New function.
17189         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17190         _nativeGetDefaultScreenDevice):
17191         New function.
17192         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
17193         New file.
17194         * configure.ac: Added check for Xrandr library.
17195
17196 2006-06-06  Roman Kennke  <kennke@aicas.com>
17197
17198         * javax/swing/plaf/basic/BasicTableUI.java
17199         (getMaximumSize): Don't return null. Fixed calculation of
17200         table height.
17201         (getMinimumSize): Don't return null. Fixed calculation of
17202         table height.
17203         (getPreferredSize): Fixed calculation of with and height. Added
17204         API docs.
17205         (getHeight): New helper method.
17206
17207 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17208
17209         * javax/swing/JComponent.java
17210         (getInputMap(int)): Throw IllegalArgumentException for unknown 
17211         condition argument, and added API docs,
17212         (getInputMap()): Added API docs.
17213
17214 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17215
17216         * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
17217
17218 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17219
17220         * javax/swing/JTable.java
17221         (AccessibleJTableHeaderCell.header): New field,
17222         (AccessibleJTableHeaderCell.columnIndex): Likewise,
17223         (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
17224         (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
17225         (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
17226         (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
17227         (AccessibleJTable.getAccessibleChild(int)): Overridden,
17228         (AccessibleJTable.getAccessibleAt): Reimplemented.
17229
17230 2006-06-05  Sven de Marothy  <sven@physto.se>
17231
17232         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17233         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17234         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17235         (initFromVolatile): New method.
17236         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17237         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17238         Reimplement.
17239         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17240         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17241         (copyArea, drawVolatileImage): New methods.
17242         
17243 2006-06-05  Tania Bento  <tbento@redhat.com>
17244
17245         * javax/swing/JFrame.java
17246         (frameInit): Set background color and fixed layout parameters.
17247
17248 2006-06-05  Tom Tromey  <tromey@redhat.com>
17249
17250         * NEWS: Mention VMURLConnection.
17251
17252 2006-06-05  Lillian Angel  <langel@redhat.com>
17253
17254         * native/plugin/gcjwebplugin.cc:
17255         Added new field to keep track of initialization.
17256         (plugin_start_appletviewer): Fixed to return an error value, if
17257         an error was encountered when loading the appletviewer.
17258         (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
17259         has failed.
17260         (plugin_failed): New helper function. Shows a warning if the appletviewer
17261         has not been installed.
17262         (NP_Initialize): Added code to make sure this function is only called
17263         once.
17264
17265 2006-06-05  Lillian Angel  <langel@redhat.com>
17266
17267         * native/plugin/Makefile.am:
17268         Fixed to use a set plugin directory in the .mozilla directory.
17269         All applet logs are now stored here, instead of /tmp.
17270         * native/plugin/gcjwebplugin.cc:
17271         Added new fields for security warning.
17272         (GCJ_NEW): Added code to generate a security warning for all pages
17273         that spawn an appletviewer. This warning asks the user if they trust
17274         the applet and if they would like to add it to a 'whitelist'. This
17275         whitelist keeps track of all the addresses the user would like
17276         to trust indefinitely.
17277         (plugin_user_trusts_documentbase): New helper function.
17278         (plugin_add_documentbase_to_whitelist): New helper function.
17279         (plugin_ask_user_about_documentbase): New helper function.
17280         (plugin_in_pipe_callback): Fixed check to determine if channel_error 
17281         has been set.
17282         (plugin_start_appletviewer): Likewise.
17283         (plugin_create_applet_tag):  Reset all fields to null after they have been
17284         freed.
17285         (plugin_send_message_to_appletviewer): Fixed all error checks to determine 
17286         if channel_error has been set.
17287         (plugin_stop_appletviewer): Likewise.
17288         (NP_Initialize): Likewise. Also, added code to determine if directory and file
17289         should be created.      
17290
17291 2006-06-05  Francis Kung  <fkung@redhat.com>
17292         
17293         PR 27507
17294         * gnu/java/awt/peer/gtk/GtkImage.java
17295         (getSource): Added check to determine if in
17296         errorLoading state.
17297         * gnu/java/awt/peer/gtk/GtkToolkit.java
17298         (createImage): Added check to prevent NPE.
17299
17300 2006-06-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17301
17302         * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
17303         Create the ImageView, when applicable.
17304         * gnu/javax/swing/text/html/CombinedAttributes.java,
17305         javax/swing/text/html/ImageView.java: New files.
17306
17307 2006-06-05  Roman Kennke  <kennke@aicas.com>
17308
17309         PR 27834
17310         * javax/swing/text/GapContent.java
17311         (setPositionsInRange): Compare with startIndex and endIndex
17312         rather than start and end.
17313         (dumpMarks): Only dump real marks.
17314
17315 2006-06-05  Sven de Marothy  <sven@physto.se>
17316
17317         *  gnu/java/awt/peer/gtk/ComponentGraphics.java
17318         (ComponentGraphics): Use 0,0 as clip origin.
17319         
17320 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17321
17322         * java/util/Formattable.java,
17323         * java/util/FormattableFlags.java,
17324         * java/util/Formatter.java:
17325         Documented.
17326
17327 2006-06-04  Tom Tromey  <tromey@redhat.com>
17328
17329         * javax/naming/Context.java (list): Genericized.
17330         (listBindings): Likewise.
17331         * javax/naming/Reference.java (addrs): Genericized.
17332         * javax/naming/InitialContext.java (myProps): Fixed type.
17333         (init): Genericized.
17334         
17335 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17336
17337         * java/util/DuplicateFormatFlagsException.java,
17338         * java/util/FormatFlagsConversionMismatchException.java,
17339         * java/util/FormatterClosedException.java,
17340         * java/util/IllegalFormatCodePointException.java,
17341         * java/util/IllegalFormatConversionException.java,
17342         * java/util/IllegalFormatException.java,
17343         * java/util/IllegalFormatFlagsException.java,
17344         * java/util/IllegalFormatPrecisionException.java,
17345         * java/util/IllegalFormatWidthException.java,
17346         * java/util/MissingFormatArgumentException.java,
17347         * java/util/MissingFormatWidthException.java,
17348         * java/util/UnknownFormatConversionException.java,
17349         * java/util/UnknownFormatFlagsException.java:
17350         Documented.
17351
17352 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17353
17354         * java/lang/System.java:
17355         (getenv()): Handle cases where split only
17356         returns an array of size 1.
17357         
17358 2006-06-04  Sven de Marothy  <sven@physto.se>
17359
17360         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17361         (createVolatileImage): Pass peer to VolatileImage constructor.
17362         * java/awt/Component.java
17363         (createVolatileImage): Call peer method directly.
17364         
17365 2006-06-04  Sven de Marothy  <sven@physto.se>
17366
17367         * gnu/java/awt/peer/gtk/CairoSurface.java
17368         (getFlippedBuffer): New method.
17369         (getGtkImage): Renamed method.
17370         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17371         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17372         Renamed getSharedImage to getGtkImage.
17373         * include/gnu_java_awt_peer_gtk_CairoSurface.h
17374         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17375         (getFlippedBuffer): New method
17376         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17377         Avoid window casts.
17378 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17379
17380         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17381         (drawVolatile): Add casts.
17382         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
17383         (getOutline): Add casts.
17384         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17385         Comment out unused prototype.
17386         (getPixels): Add appropriate cast and comment out unused variable.
17387         
17388 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
17389
17390         * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
17391         * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
17392         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
17393         * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
17394         (getSystemInstance): Fix javadoc @link.
17395         (counter): Increased visibility.
17396         * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
17397         * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
17398         * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17399         * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17400         * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17401         * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17402         * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17403         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17404         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17405         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17406         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17407         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17408         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17409         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17410         * gnu/javax/crypto/mac/OMAC.java: Likewise.
17411         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17412         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17413         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17414         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17415         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17416         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17417         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17418         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17419         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17420         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17421         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17422         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17423         * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17424         * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17425         * gnu/javax/crypto/assembly/Direction.java: Likewise.
17426         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17427
17428 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
17429
17430         * gnu/java/security/PolicyFile.java: Updated copyright year.
17431         (logger): Increased visibility.
17432         * gnu/java/security/x509/Util.java: Updated copyright year.
17433         (hexDump): Fix javadoc @link.
17434         * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17435         Removed unused import.
17436         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17437         * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17438         * gnu/java/security/util/ExpirableObject.java: Likewise.
17439         (destroy): Likewise.
17440         * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17441         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17442         Updated copyright year.
17443         (checkCRL): Fix javadoc @param.
17444
17445 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17446
17447         * java/lang/annotation/IncompleteAnnotationException.java:
17448         Documented.
17449
17450 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17451
17452         * java/lang/ProcessBuilder.java:
17453         Documented.
17454         (environment): Create as a copy.
17455         * java/lang/System.java:
17456         (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17457         New constructor.
17458         (EnvironmentMap.put(String,String)): Override superclass
17459         method with checks for nulls and non-Strings.
17460         
17461 2006-06-02  Sven de Marothy  <sven@physto.se>
17462
17463         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17464         (cairoPreserveClip, cairoResetClip): New methods.
17465         (setClip, clip): Reimplement.
17466         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17467         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17468         (cairoPreserveClip, cairoResetClip): New methods.
17469         
17470 2006-06-02  Sven de Marothy  <sven@physto.se>
17471
17472         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17473         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17474         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17475         New files.
17476         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17477         (drawImage): Overloads for VolatileImage drawing.
17478         (drawVolatile): New method.
17479         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17480         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17481         (drawVolatile): New method.
17482         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17483         Unstub implementation.
17484         * include/Makefile.am
17485         * native/jni/gtk-peer/Makefile.am
17486         Add new files.
17487         * native/jni/gtk-peer/gtkpeer.h
17488         New prototype.
17489         
17490 2006-06-03  Roman Kennke  <kennke@aicas.com>
17491
17492         PR 27418
17493         * javax/swing/plaf/basic/BasicTextUI.java
17494         (damageRange): Added null check to avoid NPE.
17495
17496 2006-06-03  Roman Kennke  <kennke@aicas.com>
17497
17498         * javax/swing/text/PlainView.java
17499         (updateDamage): Check for valid longestLine and initialize if
17500         necessary.
17501
17502 2006-06-03  Mark Wielaard  <mark@klomp.org>
17503
17504         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17505         comments, not C++.
17506
17507 2006-06-02  Sven de Marothy  <sven@physto.se>
17508
17509         PR 27879 
17510         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17511         (copyArea): Implement.
17512         (copyAreaImpl, getRealBounds): New methods.
17513         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17514         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17515         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17516         (copyAreaImpl, getRealBounds): Implement.
17517         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17518         (nativeCopyArea): Reimplement.  
17519         
17520 2006-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
17521
17522         * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17523         (XTEST_LIBS): New, substitute.
17524         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17525
17526 2006-06-02  Roman Kennke <kennke@aicas.com>
17527
17528         PR 26738
17529         * javax/swing/text/PlainView.java
17530         (updateDamage): Rewritten for correct repainting and revalidating.
17531         (findLongestLine): New helper method.
17532         (getLineLength): New helper method.
17533
17534 2006-06-02  Sven de Marothy  <sven@physto.se>
17535
17536         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17537         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17538         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17539         (nativeCopyArea): Change stride parameter to use # of ints.
17540         (setPixels): Add checks.
17541         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17542         (ComponentGraphics): Set background, clip.
17543         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17544         (Cairographics2D): Don't set clip.
17545         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17546         Add flush.
17547
17548 2006-06-02  Lillian Angel  <langel@redhat.com>
17549
17550         PR 24458
17551         * java/awt/DefaultKeyboardFocusManager.java
17552         (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17553         to get the focused window.
17554
17555 2006-06-01  Miriam Schuster  <schmir11@web.de>
17556
17557         * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17558         Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17559
17560 2006-06-02  Roman Kennke <kennke@aicas.com>
17561
17562         * javax/swing/JTable.java
17563         (columnSelectionChanged): Don't return when there's only one
17564         column (might still need repainting). Correctly calculate
17565         repaint rectangle.
17566         (valueChanged): Use return value of SwingUtilities.computeUnion
17567         as dirty region.
17568
17569 2006-06-01  Keith Seitz  <keiths@redhat.com>
17570
17571         From Martin Platter  <motse@complang.tuwien.ac.at>:
17572         * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17573         (executeSet): Fix buffer underflow reading reference ID.
17574         * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17575         (executeParent): Fix  NPE if ThreadGroup is top-level ThreadGroup. 
17576         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17577         (executeSuperclass): Handle case of Object with ID zero.
17578
17579 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17580
17581         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17582         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17583         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17584         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17585         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17586         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17587         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17588         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17589         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17590         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17591         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17592
17593 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17594
17595         * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17596         (Command): Add the shutdown hook.
17597         (doCommand): Remove the shutdown hook.
17598         (ShutdownHook): New class.
17599
17600 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17601
17602         * tools/jarsigner.in: Use @VM_BINARY@.
17603         * tools/keytool.in: Likewise.
17604
17605 2006-06-01  Sven de Marothy  <sven@physto.se>
17606
17607         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17608         (setColor): Update the cairo paint.
17609
17610 2006-06-01  Mark Wielaard  <mark@klomp.org>
17611
17612         * java/util/logging/LogManager.java (createInstance): Always add
17613         original exception on warning.
17614
17615 2006-06-01  Lillian Angel  <langel@redhat.com>
17616
17617         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17618         (prependCodebase): Fixed check. No dirname was ever considered to 
17619         be a file, so every applet fell into the if-statement causing a lot
17620         of classloading problems with the applets.
17621
17622 2006-06-01  Sven de Marothy  <sven@physto.se>
17623
17624         Patch submitted by Boris Dusek.
17625         * native/jni/qt-peer/qtmenupeer.cpp
17626         Fix segfault
17627
17628 2006-06-01  Roman Kennke <kennke@aicas.com>
17629
17630         * javax/swing/JTable.java
17631         (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17632         why the behaviour is like it is.
17633         (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17634         (AccessibleJTableHeader): New inner class.
17635         (AccessibleJTableHeaderCell): New inner class.
17636         (AccessibleJTable.lastSelectedRow): New field.
17637         (AccessibleJTable.lastSelectedColumn): New field.
17638         (AccessibleJTable.caption): New field.
17639         (AccessibleJTable.summary): New field.
17640         (AccessibleJTable.rowDescriptions): New field.
17641         (AccessibleJTable.columnDescriptions): New field.
17642         (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17643         (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17644         (AccessibleJTable.isAccessibleChildSelected): Implemented.
17645         (AccessibleJTable.addAccessibleSelection): Implemented.
17646         (AccessibleJTable.removeAccessibleSelection): Implemented.
17647         (AccessibleJTable.clearAccessibleSelection): Implemented.
17648         (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17649         (AccessibleJTable.valueChange): Implemented.
17650         (AccessibleJTable.tableRowsInserted): Implemented.
17651         (AccessibleJTable.tableRowsDeleted): Implemented.
17652         (AccessibleJTable.handleRowChange): New helper method.
17653         (AccessibleJTable.columnAdded): Implemented.
17654         (AccessibleJTable.columnMarginChanged): Implemented.
17655         (AccessibleJTable.columnMoved): Implemented.
17656         (AccessibleJTable.columnRemoved): Implemented.
17657         (AccessibleJTable.columnSelectionChanged): Implemented.
17658         (AccessibleJTable.handleColumnChange): New helper method.
17659         (AccessibleJTable.editingCanceled): Implemented.
17660         (AccessibleJTable.editingStopped): Implemented.
17661         (AccessibleJTable.getAccessibleRow): Implemented.
17662         (AccessibleJTable.getAccessibleColumn): Implemented.
17663         (AccessibleJTable.getAccessibleIndex): Implemented.
17664         (AccessibleJTable.getAccessibleCaption): Implemented.
17665         (AccessibleJTable.setAccessibleCaption): Implemented.
17666         (AccessibleJTable.getAccessibleSummary): Implemented.
17667         (AccessibleJTable.setAccessibleSummary): Implemented.
17668         (AccessibleJTable.getAccessibleRowCount): Implemented.
17669         (AccessibleJTable.getAccessibleColumnCount): Implemented.
17670         (AccessibleJTable.getAccessibleAt): Implemented.
17671         (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17672         (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17673         (AccessibleJTable.getAccessibleRowHeader): Implemented.
17674         (AccessibleJTable.setAccessibleRowHeader): Implemented.
17675         (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17676         (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17677         (AccessibleJTable.getAccessibleRowDescription): Implemented.
17678         (AccessibleJTable.setAccessibleRowDescription): Implemented.
17679         (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17680         (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17681         (AccessibleJTable.isAccessibleSelected): Implemented.
17682         (AccessibleJTable.isAccessibleRowSelected): Implemented.
17683         (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17684         (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17685         (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17686         (getAccessibleContext): Register listeners for the accessibility
17687         class on the JTable.
17688
17689 2006-06-01  Sven de Marothy  <sven@physto.se>
17690
17691         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17692         (setPaint): Scale +1 pixel larger.
17693
17694 2006-06-01  Sven de Marothy  <sven@physto.se>
17695
17696         PR 27854
17697         * gnu/java/awt/Buffers.java (getData): Reimplement.
17698         * gnu/java/awt/peer/gtk/CairoSurface.java
17699         (getElem, setElem): Call native methods.
17700
17701 2006-06-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17702
17703         * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17704
17705 2006-06-01  Sven de Marothy  <sven@physto.se>
17706
17707         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17708         (drawImage): Check for zero size.
17709         * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17710         (setFont): Declare new native method.
17711         (GdkTextLayout): Read some attributes.
17712         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17713         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17714         (setFont): New native method.
17715         
17716 2006-06-01  Sven de Marothy  <sven@physto.se>
17717
17718         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17719         (updateBufferedImage): Fix some errors.
17720
17721 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
17722
17723         * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style 
17724         fixes,
17725         * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17726         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17727         * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17728         * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17729         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17730         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17731         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17732         * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17733         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17734         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17735         
17736 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
17737
17738         * javax/swing/JComboBox.java: Minor source code formatting fixes,
17739         * javax/swing/JEditorPane.java: Likewise,
17740         * javax/swing/JFormattedTextField.java: Likewise,
17741         * javax/swing/JLayeredPane.java: Likewise,
17742         * javax/swing/JScrollPane.java: Likewise,
17743         * javax/swing/JSlider.java: Likewise,
17744         * javax/swing/JSpinner.java: Likewise,
17745         * javax/swing/JTree.java: Likewise,
17746         * javax/swing/JViewport.java: Likewise,
17747         * javax/swing/UIDefaults.java: Likewise,
17748         * javax/swing/UIManager.java: Likewise.
17749         
17750 2006-06-01  Sven de Marothy  <sven@physto.se>
17751
17752         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17753         (BufferedImageGraphics): Cache surfaces.
17754         (updateBufferedImage): Copy directly for certain color models.
17755         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17756         (drawImage): Reimplement.
17757
17758 2006-06-01  Sven de Marothy  <sven@physto.se>
17759
17760         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17761         (setPixels): Don't swap, correct size.
17762
17763 2006-05-31  Anthony Green  <green@redhat.com>
17764
17765         PR 27828
17766         * java/net/InetSocketAddress.java: Defer getting the host
17767         name until somebody calls InetSocketAddress.getHostName().
17768         Fix "represenation" typo.
17769
17770 2006-06-01  Sven de Marothy  <sven@physto.se>
17771
17772         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17773         (updateBufferedImage): Simplify.
17774         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17775         (getPixels): Don't swap.
17776
17777 2006-06-01  Sven de Marothy  <sven@physto.se>
17778
17779         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17780         (setGradient): Reimplement.
17781         
17782 2006-06-01  Andreas Tobler  <a.tobler@schweiz.ch>
17783
17784         * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17785         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17786         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17787         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17788         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17789         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17790         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17791         Likewise.
17792
17793 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17794
17795         * javax/swing/table/JTableHeader.java
17796         (getColumnHeaderRenderer): New method,
17797         (getAccessibleColumnHeaderRenderer): Delegate part to new
17798         getColumnHeaderRenderer() method,
17799         (getLocale): Implemented.
17800
17801 2006-05-31  Andreas Tobler  <a.tobler@schweiz.ch>
17802
17803         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17804         (cp_gtk_grab_current_drawable): Rename
17805         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17806         cp_gtk_grab_current_drawable, remove static declaration.
17807         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17808         function.
17809         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17810         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17811         Remove prototype of
17812         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17813         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17814         function.
17815         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17816         * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17817         cp_gtk_grab_current_drawable here.
17818
17819 2006-05-31  Sven de Marothy  <sven@physto.se>
17820
17821         Should fix PR 27835
17822         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17823         (updateBufferedImage): Keep within image bounds.
17824
17825 2006-05-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
17826             Andreas Tobler  <a.tobler@schweiz.ch>
17827
17828         * configure.ac: Check for libXrender when the GTK peers are
17829         enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17830         X_EXTRA_LIBS.
17831         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17832         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17833         [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17834
17835 2006-05-31  Lillian Angel  <langel@redhat.com>
17836
17837         * javax/swing/plaf/basic/BasicProgressBarUI.java
17838         (paintString): Implemented to paint the string vertically.
17839
17840 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17841
17842         * javax/swing/JTable.java
17843         (AccessibleJTable.AccessibleJTable()): Check for null editor,
17844         (AccessibleJTable.getAccessibleRole()): Overridden to return correct 
17845         value,
17846         (AccessibleJTable.getAccessibleTable()): Likewise,
17847         (getAccessibleContext): Create new context if required.
17848
17849 2006-05-31  Roman Kennke <kennke@aicas.com>
17850
17851         * javax/swing/JTabbedPane.java
17852         (AccessibleJTabbedPane.stateChanged): Implemented.
17853         (Page.getAccessibleStateSet): Implemented.
17854         (Page.getAccessibleIndexInParent): Implemented.
17855         (getAccessibleContext): Add AccessibleJTabbedPane object
17856         as ChangeListener to the JTabbedPane.
17857
17858 2006-05-31  Roman Kennke <kennke@aicas.com>
17859
17860         * javax/swing/JMenuItem.java
17861         (getAccessibleContext): Register accessible object as ChangeListener
17862         to the JMenuItem.
17863         (AccessibleJMenuItem.armed): New field.
17864         (AccessibleJMenuItem.focusOwner): New field.
17865         (AccessibleJMenuItem.pressed): New field.
17866         (AccessibleJMenuItem.selected): New field.
17867         (stateChanged): Implemented.
17868
17869 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17870
17871         * javax/swing/ListSelectionModel.java: Added API docs all over.
17872
17873 2006-05-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17874
17875         * examples/gnu/classpath/examples/swing/FillRect.java 
17876         (paintComponent): Optionally paint lines rather than rectangles.
17877         (createContent): Added option to test line painting.
17878
17879 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17880
17881         * javax/swing/event/EventListenerList.java
17882         (getListenerList): Updated API docs.
17883
17884 2006-05-30  Sven de Marothy  <sven@physto.se>
17885
17886         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17887         (drawImage): Clip scaled image to dest rectangle.
17888
17889 2006-05-30  Sven de Marothy  <sven@physto.se>
17890
17891         * gnu/java/awt/peer/gtk/CairoSurface.java:
17892         (CairoSurface): Convert pixels properly.
17893         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17894         Remove commented-out lines.
17895
17896 2006-05-30  Sven de Marothy  <sven@physto.se>
17897
17898         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17899         (drawImage): Use Toolkit to convert to BufferedImage.
17900         * gnu/java/awt/peer/gtk/CairoSurface.java
17901         (CairoSurface(GtkImage)): New Constructor.
17902         (getBufferedImage): New method.
17903         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17904         Don't fill background - FIXME.
17905         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17906         Remove unused methods.
17907         * gnu/java/awt/peer/gtk/GtkImage.java:
17908         (pixbuflock): New field. Methods change to use this lock.
17909         * gnu/java/awt/peer/gtk/GtkToolkit.java
17910         (createImage): Use Cairo-backed surfaces via GtkImage instead of 
17911         GtkPixbufDecoder.
17912         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17913         (setPixels): Correct length in bytes.
17914
17915 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
17916
17917         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17918         System.loadLibrary unconditionally.
17919         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17920         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17921         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17922         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17923
17924 2006-05-30  Mark Wielaard  <mark@klomp.org>
17925
17926         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17927         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17928         Mark unused parameters, remove unused variables.
17929
17930 2006-05-30  Sven de Marothy  <sven@physto.se>
17931
17932         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17933         (copyArea): Implemented.
17934         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17935         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17936         (copyAreaNative): New method.
17937
17938 2006-05-30  Andreas Tobler  <a.tobler@schweiz.ch>
17939
17940         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17941         (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17942         for non big endian systems.
17943         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17944
17945 2006-05-30  Roman Kennke <kennke@aicas.com>
17946
17947         * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17948         * java/awt/TexturePaint.java
17949         (createContext): Implemented.
17950
17951 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17952
17953         * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17954         field early.
17955
17956 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17957
17958         * java/awt/Container.java:
17959         (removeAll): Reimplemented, added note.
17960
17961 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17962
17963         * java/awt/Container.java:
17964         (removeAll): Implemented different removal mechanism, added note.
17965
17966 2006-05-30  Lillian Angel  <langel@redhat.com>
17967
17968         PR 27785
17969         * java/awt/Component.java:
17970         (translateEvent): Added handling to translate WindowEvents
17971         * java/awt/Window.java:
17972         Removed unneeded imports.
17973
17974 2006-05-30  Mark Wielaard  <mark@klomp.org>
17975
17976         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17977         cairographics2d.h.
17978
17979 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
17980
17981         * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17982
17983 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17984
17985         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17986         (clearRect): Do not reuse the fg field, call updateColor.
17987         (drawRaster): Likewise.
17988         (setColor): Call updateColor.
17989         (updateColor): New method.
17990
17991 2006-05-30  Mark Wielaard  <mark@klomp.org>
17992
17993         * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17994         (PTR_TO_JLONG): Likewise.
17995         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17996         (getPointer): Use new conversion macros.
17997         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17998         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17999         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
18000         Likewise.
18001         (setNativeObject): Likewise.
18002         (getNativeObject): Likewise.
18003         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18004         (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
18005         Mark static.
18006         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
18007         Correctly cast XID and pointer values.
18008         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
18009         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
18010         Mark unused variables.
18011         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
18012         Likewise.
18013         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18014         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
18015         Remove unused cairographics2d struct.
18016         (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
18017         (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
18018         Use new conversion macros.
18019         * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
18020
18021 2006-05-30  Mark Wielaard  <mark@klomp.org>
18022
18023         * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
18024
18025 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18026
18027         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18028         (copy): Do not reuse the fd field.
18029         (setColor): Do not set the color if the parameter
18030         matches fd field.
18031         (translate(double, double): Rewritten to use
18032         AffineTransform.translate. 
18033
18034 2006-05-30  Sven de Marothy  <sven@physto.se>
18035
18036         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
18037         * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
18038         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
18039         New files.
18040         * include/Makefile.am
18041         * native/jni/gtk-peer/Makefile.am
18042         Add new files.
18043         * gnu/java/awt/peer/gtk/CairoSurface.java
18044         (getSharedGtkImage): New method.
18045         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18046         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18047         Fix copyArea.
18048         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18049         Support a non-xrender context.
18050         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18051         Plug memory leak.
18052         * gnu/java/awt/peer/gtk/GtkImage.java
18053         * include/gnu_java_awt_peer_gtk_GtkImage.h
18054         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18055         (initFromBuffer): New method.   
18056         * native/jni/gtk-peer/gtkpeer.h: 
18057         Remove declarations of previouslyremoved methods.
18058
18059 2006-05-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
18060
18061         * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
18062
18063 2006-05-29  Mark Wielaard  <mark@klomp.org>
18064
18065         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18066         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
18067         arguments.
18068         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18069         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
18070         early. Remove unused return statement in void function.
18071         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
18072         ptr early.
18073         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18074         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
18075         unused arguments.
18076         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
18077         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
18078         Likewise.
18079         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
18080         Likewise.
18081
18082 2006-05-29  Sven de Marothy  <sven@physto.se>
18083
18084         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18085         (setPixels): Remove superfluous return statement.       
18086
18087 2006-05-29  Sven de Marothy  <sven@physto.se>
18088
18089         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18090         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18091         * gnu/java/awt/peer/gtk/CairoSurface.java
18092         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18093         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18094         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
18095         * include/gnu_java_awt_peer_gtk_CairoSurface.h
18096         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18097         * native/jni/gtk-peer/cairographics2d.h
18098         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18099         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18100         New files.
18101
18102         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18103         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18104         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
18105         Removed
18106
18107         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
18108         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18109         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18110         (releasePeerGraphicsResource): Moved to Font peer class.
18111
18112         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18113         (createGraphics): Use new context classes.
18114
18115         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18116         Use native BufferedImages where possible.
18117
18118         * gnu/java/awt/peer/gtk/GdkTextLayout.java
18119         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
18120         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18121         Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
18122         renamed to cairoDrawGdkTextLayout.
18123         
18124         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18125         (getGraphics): Use ComponentGraphics context.
18126         (createImage): Use native BufferedImage.
18127         
18128         * gnu/java/awt/peer/gtk/GtkImage.java:
18129         * include/gnu_java_awt_peer_gtk_GtkImage.h
18130         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18131         Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
18132         Remove drawing methods.
18133                 
18134         * gnu/java/awt/print/JavaPrinterGraphics.java:
18135         Use CairoSurface instead of GtkImage.
18136         
18137         * include/Makefile.am
18138         * native/jni/gtk-peer/Makefile.am
18139         Update for new files.
18140
18141         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
18142         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
18143         Remove superfluous GtkImage code for GdkPixmaps. 
18144
18145         * native/jni/gtk-peer/gtkpeer.h
18146         Remove graphics2d structure.
18147         
18148 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18149
18150         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
18151         Do not reuse fg in the constructor.
18152
18153 2006-05-29  Carsten Neumann  <cn-develop@gmx.net>
18154
18155         * java/io/ObjectStreamConstants.java: Added API docs.
18156
18157 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18158
18159         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
18160         Take no action if this color is already set.
18161
18162 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18163
18164         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
18165         Rewritten. 
18166         * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
18167         Optionally paint with translation. (createContent): Added option
18168         to test painting with translation
18169
18170 2006-05-29  Raif S. Naffah  <raif@swiftdsl.com.au>
18171
18172         * java/util/logging/FileHandler.java (FileHandler): Set the instance field
18173         pattern to the default value when null.
18174         Pass field pattern, and not parameter with same name to createFileStream.
18175
18176 2006-05-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18177
18178         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
18179         New class implementing the OS bean.
18180         * gnu/java/lang/management/package.html:
18181         New file to document the gnu.java.lang.management package.
18182         * java/lang/management/ManagementFactory.java:
18183         New class to provide access to the OS bean.
18184         * java/lang/management/OperatingSystemMXBean.java:
18185         New interface.
18186         * java/lang/management/package.html:
18187         New file to document the java.lang.management package.
18188         
18189 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18190
18191         * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
18192         (JKS): Likewise.
18193         (LIB): Likewise.
18194         (SECURITY): Likewise.
18195         (CACERTS): Likewise.
18196         (CACERTS_GKR): Likewise.
18197         (gkrCaCertsPathName): New field.
18198         (jksCaCertsPathName): Likewise.
18199         (selfSignedCertificate): Likewise.
18200         (start): Initialize trusted certificate key stores if -trustcacerts is
18201         specified.
18202         (ensureReplyIsOurs): Initialize selfSignedCertificate.
18203         (orderChain): Implemented.
18204         (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
18205         certificate key stores if -trustcacerts option is specified.
18206         (findTrustInCACerts): Removed.
18207         (getCertPathParameters): New method.
18208         (validate): New method.
18209         * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
18210
18211 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18212
18213         * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
18214         (PATTERN_KEY): Likewise.
18215         (DEFAULT_PATTERN): Likewise.
18216         (LIMIT_KEY): Likewise.
18217         (DEFAULT_LIMIT): Likewise.
18218         (COUNT_KEY): Likewise.
18219         (DEFAULT_COUNT): Likewise.
18220         (APPEND_KEY): Likewise.
18221         (DEFAULT_APPEND): Likewise.
18222         (FileHandler()): Use pattern value as set in logging.properties.
18223         Use constants defined above.
18224         (FileHandler(1)): Use constants defined above.
18225         (FileHandler(2)): Likewise.
18226         (FileHandler(3)): Likewise.
18227         (FileHandler(4)): Likewise.
18228         (createFileStream): Likewise.
18229
18230 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18231
18232         * java/util/logging/FileHandler.java: Reverted previous patch.
18233         * java/util/logging/LogManager.java: Likewise.
18234
18235 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18236
18237         * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
18238         (DEFAULT_PATTERN): Likewise.
18239         (FileHandler()): Use configured pattern property if any; otherwise use a
18240         default value as per RI documentation.
18241         * java/util/logging/LogManager.java (getStringProperty): New method.
18242
18243 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
18244
18245         * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
18246
18247 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
18248
18249         * configure.ac (FOUND_CACAO): New automake conditional.
18250         Add --enable-tool-wrappers.
18251         * NEWS: Introduce the --enable-tool-wrappers option.
18252         * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
18253         * tools/appletviewer.c: Remove file.  Make tool-indepedent and
18254         rename ...
18255         * tools/toolwrapper.c: New file.
18256
18257 2006-05-27  Dalibor Topic  <robilad@kaffe.org>
18258
18259         * java/awt/Graphics2D.java: Use full class name for 
18260         PrinterJob in javadoc.
18261
18262 2006-05-27  Andreas Tobler  <a.tobler@schweiz.ch>
18263
18264         * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
18265         (callMouseMethod): Likewise.
18266
18267 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18268
18269         * native/jni/java-net/java_net_VMURLConnection.c:
18270         Fix function declarations to specify unused parameters.
18271         * scripts/check_jni_methods.sh:
18272         Remove copies of the same function using uniq.
18273         
18274 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18275
18276         * vm/reference/java/net/VMURLConnection.java:
18277         Make package-private and final.
18278         
18279 2006-05-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18280
18281         * examples/gnu/classpath/examples/swing/TableDemo.java
18282         (TModed): Added editor for the icons column.
18283         (createContent): Increase the row height by 2 px.
18284
18285 2006-05-26  Tom Tromey  <tromey@redhat.com>
18286
18287         PR classpath/27685:
18288         * java/math/BigInteger.java (modPow): Correctly handle negative
18289         exponent.
18290
18291 2006-05-26  Tom Tromey  <tromey@redhat.com>
18292
18293         * configure.ac: Check for magic.h and -lmagic.
18294         * vm/reference/java/net/VMURLConnection.java: New file.
18295         * include/java_net_VMURLConnection.h: New file.
18296         * include/Makefile.am (H_FILES): Add VMURLConnection.h.
18297         ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
18298         * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
18299         Mention new file.
18300         (libjavanet_la_LIBADD): Add $(LIBMAGIC).
18301         * native/jni/java-net/java_net_VMURLConnection.c: New file.
18302
18303 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18304
18305         * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
18306
18307 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18308
18309         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
18310         libjawtgnu.la libjawt.la.
18311
18312 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18313
18314         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18315         gtkcairopeer.h.
18316
18317 2006-05-25  Lillian Angel  <langel@redhat.com>
18318         
18319         PR 26174
18320         * java/awt/Window.java
18321         (Window): Moved code to helper.
18322         (addWindowFocusListener): New function. Handles focus
18323         listener code. Added code to handle focus lost/gained
18324         from the window.
18325
18326 2006-05-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18327
18328         * configure.ac:
18329         Make pkg-config check for GTK+ >= 2.8.
18330         
18331 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18332
18333         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18334         (flush): Remove debugging printfs.
18335
18336 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18337
18338         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18339         (schedule_flush): New function.
18340         (end_drawing_operation): Call schedule_flush.
18341
18342 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18343
18344         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
18345         paint performance demo.
18346         * examples/gnu/classpath/examples/swing/FillRect.java: New file.
18347
18348 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18349
18350         * INSTALL: Bump GTK requirement to 2.8 or higher.  Do not mention
18351         Cairo version requirement.  Do not mention --enable-gtk-cairo
18352         configure option.
18353         * NEWS: Add entry for GdkGraphics2D.
18354         * configure.ac: Remove --enable-gtk-cairo and explicit checks for
18355         Cairo library and headers.
18356         * .externalToolBuilders/Configure.launch: Remove
18357         --enable-gtk-cairo from configure line.
18358         * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
18359         field.
18360         * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
18361         * gnu/java/awt/peer/gtk/GdkFontPeer.java,
18362         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
18363         useGraphics2D references.  Always assume Graphics2D is enabled.
18364         * gnu/java/awt/peer/gtk/GdkGraphics.java,
18365         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
18366         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
18367         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
18368         Unlocked method variants.  Remove GTK_CAIRO_ENABLED and
18369         useGraphics2D references.  Always assume Graphics2D is enabled.
18370         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
18371         Graphics2D check.  Always assume Graphics2D is enabled.
18372         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
18373         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
18374         (realize): Remove method.
18375         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18376         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18377         (isRealized): Remove method.
18378         (realize): Implement as a native method.  Remove useGraphics2D
18379         references.  Always assume Graphics2D is enabled.
18380         * gnu/java/awt/peer/gtk/GtkImage.java,
18381         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
18382         GdkGraphics references with GdkGraphics2D references.
18383         * gnu/java/awt/peer/gtk/GtkToolkit.java,
18384         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
18385         useGraphics2D references.  Always assume Graphics2D is enabled.
18386         * include/Makefile.am (GTKPEER_H_FILES): Remove
18387         gnu_java_awt_peer_gtk_GdkGraphics.h.
18388         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
18389         * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
18390         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
18391         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
18392         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
18393         * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
18394         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18395         gnu_java_awt_peer_gtk_GdkGraphics.c.  Include
18396         gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
18397         (AM_LDFLAGS): Remove CAIRO_LIBS.
18398         (AM_CFLAGS): Remove CAIRO_CFLAGS.
18399         * native/jni/gtk-peer/gtkcairopeer.h: Remove.  Move declarations
18400         to ...
18401         * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18402
18403 2006-05-25  Lillian Angel  <langel@redhat.com>
18404
18405         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18406         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18407         Added check to prevent assertion error. If widget->window is null, then
18408         use the parent widget's window to set the cursor on.
18409
18410 2006-05-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18411
18412         * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18413         Implemented.
18414
18415 2006-05-24  Lillian Angel  <langel@redhat.com>
18416
18417         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18418         (prependCodeBase): Added check to determine if the documentbase
18419         points to a directory or a file.
18420
18421 2006-05-24  Sven de Marothy  <sven@physto.se>
18422
18423         * java/awt/dnd/DragGestureRecognizer.java
18424         (resetRecognizer): Implement.
18425         (fireDragGestureRecognized): Implement.
18426
18427 2006-05-24  David Gilbert  <david.gilbert@object-refinery.com>
18428
18429         * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18430         fixed source code formatting.
18431
18432 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18433
18434         * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18435
18436 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18437
18438         Reported by Antony Balkisson.
18439         * javax/swing/JTable.java (selectAll): Return without action 
18440         if the table is empty.
18441
18442 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18443
18444         * examples/gnu/classpath/examples/swing/TableDemo.java:
18445         (SliderCell): New inner class. (setCustomEditors,
18446         setInformativeHeaders): New fields. (createContent):
18447         Rewritten.
18448         * javax/swing/DefaultCellEditor.java 
18449         (JComboBoxDelegate.shouldSelectCell): New method.
18450         * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18451         * javax/swing/plaf/basic/BasicTableUI.java
18452         (MouseInputHandler.mouseClicked): Start editing on a single
18453         click if the cell editor is not a default cell editor.
18454
18455 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18456
18457         * javax/swing/naming/CompositeName.java,
18458         javax/swing/naming/CompoundName.java:
18459         Documented.
18460
18461 2006-05-23  Archie Cobbs  <archie@dellroad.org>
18462
18463         * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18464         ordering problem.
18465
18466 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
18467
18468         * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18469         * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18470         * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18471         * javax/swing/tree/DefaultTreeModel.java: Likewise,
18472         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18473         * javax/swing/tree/ExpandVetoException.java: Likewise,
18474         * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18475         * javax/swing/tree/RowMapper.java: Likewise,
18476         * javax/swing/tree/TreeNode.java: Likewise,
18477         * javax/swing/tree/TreeSelectionModel.java: Likewise,
18478         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18479
18480 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
18481
18482         * javax/swing/tree/DefaultTreeCellRenderer.java
18483         (DefaultTreeCellRenderer): Changed key for 
18484         setBackgroundNonSelectionColor(),
18485         plus API docs all over.
18486
18487 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18488         
18489         PR 27680
18490         * javax/swing/JTable.java (booleanInvertingEditor): New field.
18491         (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18492         Initialise in constructor. (columnMoved): Cancel editing.
18493         (createDefaultEditors): Rewritten. (editCellAt):
18494         Just invert the value if this is a boolean cell. 
18495         (initialiseLocalVars): Do not initialise renderer and editor tables.
18496         (setUI): Create editors and renderers here.
18497
18498 2006-05-23  Robert Schuster  <robertschuster@fsfe.org>
18499
18500         * examples/gnu/classpath/examples/awt/Demo.java:
18501         (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18502         instance as subframe.
18503         (ResolutionWindow): New inner class.
18504         (FullscreenWindow): New inner class.
18505
18506 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18507         
18508         PR 27680
18509         * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18510         Set horizontal alignment to centered.
18511
18512 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18513
18514         * javax/accessibility/AccessibleContext.java
18515         (getAccessibleComponent): Fixed typo in docs,
18516         * javax/swing/JLabel.java:
18517         (AccessibleJLabel.getAccessibleName): Check for explicit 
18518         accessibleName,
18519         * javax/swing/JTableHeader.java
18520         (AccessibleJTableHeaderEntry.columnIndex): New field,
18521         (AccessibleJTableHeaderEntry.parent): New field,
18522         (AccessibleJTableHeaderEntry.table): New field,
18523         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()): 
18524         Implemented,
18525         (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New 
18526         utility method,
18527         (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18528         (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18529         (AccessibleJTableHeaderEntry.contains): Implemented,
18530         (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18531         (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18532         (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18533         (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18534         (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18535         (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18536         (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18537         (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18538         (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18539         (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18540         (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18541         (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18542         (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18543         (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18544         (AccessibleJTableHeaderEntry.getBackground): Implemented,
18545         (AccessibleJTableHeaderEntry.getBounds): Implemented,
18546         (AccessibleJTableHeaderEntry.getCursor): Implemented,
18547         (AccessibleJTableHeaderEntry.getFont): Implemented,
18548         (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18549         (AccessibleJTableHeaderEntry.getForeground): Implemented,
18550         (AccessibleJTableHeaderEntry.getLocation): Implemented,
18551         (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18552         (AccessibleJTableHeaderEntry.getSize): Implemented,
18553         (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18554         (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18555         (AccessibleJTableHeaderEntry.isShowing): Implemented,
18556         (AccessibleJTableHeaderEntry.isVisible): Implemented,
18557         (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18558         (AccessibleJTableHeaderEntry.removePropertyChangeListener): 
18559         Implemented,
18560         (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18561         (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18562         (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18563         (AccessibleJTableHeaderEntry.setBackground): Implemented,
18564         (AccessibleJTableHeaderEntry.setBounds): Implemented,
18565         (AccessibleJTableHeaderEntry.setCursor): Implemented,
18566         (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18567         (AccessibleJTableHeaderEntry.setFont): Implemented,
18568         (AccessibleJTableHeaderEntry.setForeground): Implemented,
18569         (AccessibleJTableHeaderEntry.setLocation): Implemented,
18570         (AccessibleJTableHeaderEntry.setSize): Implemented,
18571         (AccessibleJTableHeaderEntry.setVisible): Implemented,
18572         (AccessibleJTableHeader.getAccessibleRole): Implemented,
18573         (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18574         (AccessibleJTableHeader.getAccessibleChild): Implemented,
18575         (AccessibleJTableHeader.getAccessibleAt): Implemented.
18576
18577 2006-05-22  Tom Tromey  <tromey@redhat.com>
18578
18579         * NEWS: Updated.
18580
18581 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18582
18583         * javax/swing/JLabel.java
18584         (AccessibleJLabel.getAccessibleName): New method (override),
18585         (setLabelFor): Fire 'labelFor' property change event before other
18586         events.
18587
18588 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18589
18590         * javax/swing/JLabel.java
18591         (AccessibleJLabel.getAccessibleRole): New method (override).
18592
18593 2006-05-22  Tom Tromey  <tromey@redhat.com>
18594
18595         * resource/gnu/classpath/tools/serialver/messages.properties: New
18596         file.
18597         * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18598         * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18599         field.
18600         (classpath): Likewise.
18601         (run): New method.
18602         (main): Use it.
18603         (addFileURL): New method.
18604         (getClassLoader): Likewise.
18605         (printMessage): Likewise.
18606
18607 2006-05-22  Tom Tromey  <tromey@redhat.com>
18608
18609         * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18610
18611 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18612
18613         * javax/swing/JTable.java (doLayout): In the column
18614         resize mode, only repaing the changed part of the table.
18615         (getLeftResizingBoundary): New method.
18616
18617 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18618
18619         * javax/naming/spi/InitialContextFactory.java,
18620         javax/naming/spi/InitialContextFactoryBuilder.java,
18621         javax/naming/spi/NamingManager.java,
18622         javax/naming/spi/ObjectFactory.java,
18623         javax/naming/spi/ResolveResult.java,
18624         javax/naming/spi/Resolver.java,
18625         javax/naming/spi/StateFactory.java: Documented.
18626
18627 2006-05-21  Tom Tromey  <tromey@redhat.com>
18628
18629         PR classpath/27688:
18630         * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18631         a WorkSet.
18632         (initSet): Removed.
18633         (shouldExtract): Removed.
18634         (run): Updated.
18635         * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18636         * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18637         method.
18638         (listJar): Use it.
18639         (allItems): New field.
18640         (run): Initialize it.
18641         (listJar): Use it.
18642
18643 2006-05-22  Sven de Marothy  <sven@physto.se>
18644
18645         * java/nio/CharBuffer.java
18646         (wrap): Fix bounds checking.
18647
18648 2004-08-26  Tom Tromey  <tromey@redhat.com>
18649
18650         * java/io/OutputStream.java 
18651         (OutputStream): Implements Closeable, Flushable.
18652
18653 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18654
18655         * java/io/ObjectOutputStream.java:
18656         (writeObject(Object)): Added enum support.
18657         (writeClassDescriptor(ObjectStreamClass)): Likewise.
18658         * java/io/ObjectStreamClass.java:
18659         (isEnum()): New package-private method.
18660         (setFlags(Class)): Added enum support.
18661         * java/io/ObjectStreamConstants.java:
18662         (SC_ENUM): Added.
18663
18664 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18665
18666         * java/io/ObjectInputStream.java:
18667         (parseContent(byte)): Added enum support.
18668         * java/io/ObjectStreamConstants.java:
18669         (TC_ENUM): Added.
18670         (TC_MAX): Changed to new maximum, TC_ENUM.
18671
18672 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18673
18674         * java/beans/beancontext/BeanContextSupport.java:
18675         (instantiateChild(String)): Implemented.
18676         
18677 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18678
18679         * java/beans/beancontext/BeanContextSupport.java:
18680         (add(Object)): Add further documentation.
18681         (isEmpty()): Documented.
18682         (propertyChange(PropertyChangeEvent)): Implemented.
18683         (remove(Object)): Documented.
18684         (remove(Object,boolean)): Documented and implemented.
18685         (vetoableChange(PropertyChangeEvent)): Marked as
18686         implemented (only subclasses appear to need this).
18687         
18688 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18689
18690         * java/beans/beancontext/BeanContextSupport.java:
18691         (add(Object)): Implement support for the child being
18692         a BeanContextChild.
18693         (avoidingGui()): Implemented.
18694         (dontUseGui()): Likewise.
18695         (needsGui()): Likewise.
18696         (okToUseGui()): Likewise.
18697         
18698 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18699
18700         * javax/naming/Context.java,
18701         javax/naming/ContextNotEmptyException.java,
18702         javax/naming/Reference.java: Documented.
18703
18704 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18705
18706         * javax/swing/text/html/MinimalHTMLWriter.java
18707         (writeComponent, writeImage): Declare that the method
18708         may throw the IOException.
18709
18710 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18711         
18712         PR 26972
18713         * javax/naming/InitialContext.java (colon_list): Changed type to
18714         hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18715         (merge): Rewritten.
18716
18717 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18718
18719         * javax/naming/InitialContext.java: Documented.
18720
18721 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18722
18723         * javax/naming/NameParser.java,
18724         javax/naming/NamingEnumeration.java,
18725         javax/naming/PartialResultException.java,
18726         javax/naming/SizeLimitExceededException.java,
18727         javax/naming/spi/ObjectFactory.java,
18728         javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18729
18730 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18731
18732         * gnu/java/net/loader/JarURLLoader.java:
18733         Use Map.Entry instead of LinkedHashMap.Entry
18734         
18735 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18736
18737         * javax/naming/Context.java: Documented.
18738
18739 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18740
18741         * javax/naming/Referenceable.java: Documented.
18742         * javax/naming/spi/NamingManager.java: Documented.
18743
18744 2006-05-21  Raif S. Naffah  <raif@swiftdsl.com.au>
18745
18746         * doc/tools.texinfo: Replaced references to MessageBundle.properties
18747         to messages.properties.
18748         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18749         Renamed to messages.properties.
18750         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18751         Likewise.
18752         * resource/gnu/classpath/tools/jarsigner/messages.properties:
18753         Renamed from MessageBundle.properties.
18754         Added copyright notice.
18755         * resource/gnu/classpath/tools/keytool/messages.properties:
18756         Likewise.
18757         * tools/gnu/classpath/tools/jarsigner/Messages.java
18758         (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18759         (getFormattedString): Fixed a spelling mistake.
18760         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18761
18762 2006-05-20  Sven de Marothy  <sven@physto.se>
18763
18764         * gnu/java/awt/font/opentype/NameDecoder.java
18765         Made class public.
18766         (getName): Use getShort instead of getChar(), fix PS name.
18767         (decodeName): New method.
18768         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18769         (getSubFamilyName): Implement.
18770         (getPostScriptName): Use the NameDecoder class instead.
18771         (parsePSName): Removed.
18772         (getName): Added
18773
18774 2006-05-20  Sven de Marothy  <sven@physto.se>
18775
18776         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18777         (getTrueTypeTable): New native method.
18778         (getPostScriptName): Reimplement.
18779         (parsePSName): New method.
18780         (getNumGlyphs): Implement.
18781         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18782         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18783         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18784         New function. File is now explicitly dependent on FT2.
18785         
18786 2006-05-20  Tom Tromey  <tromey@redhat.com>
18787
18788         * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18789         * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18790         file.
18791         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18792         (HandleFile): New class.
18793         (input, output, encoding, reversed): New fields.
18794         (createParser): New method.
18795         (run): Likewise.
18796         (main): Use 'run'.
18797         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18798         (notifyFile): Throws OptionException.
18799
18800 2006-05-20  Tom Tromey  <tromey@redhat.com>
18801
18802         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18803         from cp-tools.
18804
18805 2006-05-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18806
18807         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18808         (JCL_print_buffer): Fix to work with -Werror on 64-bit
18809         platforms.
18810         
18811 2006-05-20  Sven de Marothy  <sven@physto.se>
18812
18813         * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18814         
18815 2006-05-20  Sven de Marothy  <sven@physto.se>
18816
18817         * gnu/java/awt/print/JavaPrinterJob.java 
18818         (print): Use PostScriptGraphics2D.
18819         * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18820         
18821 2006-05-20  Sven de Marothy  <sven@physto.se>
18822
18823         * javax/swing/text/html/MinimalHTMLWriter.java: New file
18824         
18825 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18826
18827         * gnu/java/security/OID.java: Updated copyright year.
18828         (OID): Removed unused Javadoc param tag.
18829         * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18830         * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18831
18832 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18833
18834         * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18835         Formatting.
18836         Added trace/debug statements.
18837         (engineSetCertificateEntry): Ensure alias is not already used for a Key
18838         Entry.  Also ensure that any previous entry for this alias is removed
18839         before a new one is added.
18840         (engineGetKey): Do not trace/log passwords.
18841         Trace key's class name only.
18842         (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18843         Certificate Entry. Also ensure that previous entry for this alias is
18844         removed before a new one is added.
18845         (engineLoad): Do not trace/log passwords.
18846         (engineStore): Likewise.
18847         (engineSize): Use size of enumeration instead of collection size.
18848
18849 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18850
18851         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18852         (toString): New method.
18853         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18854         Do not trace/log passwords.
18855         Set masked to false before decoding envelope.
18856         Do not set payload to null.
18857         (encrypt): Set masked to true.
18858         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18859         Do not trace/log passwords.
18860         Set masked to false before decoding envelope.
18861         Do not set payload to null.
18862         Added trace/debug statements.
18863         (authenticate): Do not trace/log passwords.
18864         Set masked to true.
18865         Added trace/debug statements.
18866         (getMac): Added trace/debug statements.
18867         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18868         (remove(String)): Changed the signature to return a boolean.
18869         (toString): New method.
18870         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18871         Formatting
18872         (getCertificate): Likewise.
18873         (putCertificate): Likewise.
18874         (load): Likewise.
18875         Do not trace/log passwords.
18876         (store): Likewise.
18877         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18878         Do not trace/log passwords.
18879         Added more trace/logging statements.
18880         (putPrivateKey): Do not trace/log passwords.
18881         Trace only key's class name.
18882         Formatting.
18883         (containsPublicKey): Formatting.
18884         (getPublicKey): Likewise.
18885         Trace only key's class name.
18886         (putPublicKey): Trace only key's class name.
18887         (containsCertPath): Formatting.
18888         (getCertPath): Likewise.
18889         (putCertPath): Likewise.
18890         (load): Do not trace/log passwords.
18891         Formatting.
18892         (store): Likewise.
18893         * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18894         (add): Do not set payload to null.
18895         Added trace/debug statements.
18896         (containsAlias): Added trace/debug statements.
18897         (get): Likewise.
18898         (remove(Entry)): Likewise.
18899         (remove(String)): Likewise.
18900         Changed the signature to return a boolean.
18901         Do not set payload to null unless really removed.
18902         (toString): New method.
18903         (decodeEnvelope): Clear entries before proceeding.
18904         (makeAliasList): Added trace/debug statements.
18905         Ensure only non-null aliases and alias-lists are added.
18906         * gnu/javax/crypto/keyring/Entry.java (log): New field.
18907         (TYPES): New constant.
18908         (toString): New method.
18909         (defaultDecode): Add trace/debug statement.
18910
18911 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18912
18913         * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18914         Increased visibility.
18915         (setup): Do not trace/log passwords.
18916         (parsed): Was not setting correct (rfc) field; fixed.
18917         (print1Chain): Formatting.
18918         * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18919         Do not trace/log passwords.
18920         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18921         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18922         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18923         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18924         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18925         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18926         (orderChain): Added FIXME.
18927         * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18928         Do not trace/log passwords.
18929         Removed commented out code.
18930         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18931         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18932         * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18933         (setKeystoreURLParam): Likewise.
18934         (setKeystorePasswordParam): Do not trace/log passwords.
18935         (saveKeyStore): Likewise.
18936
18937 2006-05-19  Roman Kennke <kennke@aicas.com>
18938
18939         * gnu/java/awt/java2d/AbstractGraphics2D.java
18940         Added class docs.
18941         (pixel): Removed obsolete field.
18942         (draw(Shape)): Removed commented out code.
18943         (drawImage): Formatting.
18944         (drawString): Added optimization hook.
18945         (setPaint): Removed rawSetForeground().
18946         (getFontRenderContext): Return context with correct transform.
18947         (drawGlyphVector): Draw complete outline in one go.
18948         (copyArea): Added optimization hook.
18949         (clearRect): Added optimization hook.
18950         (drawImage): Added optimization hook.
18951         (fillShape): (Temporarily) Set antialiasing off by default for
18952         font rendering. Adjust the shape by some bits to improve rendering.
18953         Pass clip bounds to the render methods.
18954         (drawPixel): Removed.
18955         (rawSetPixel): Removed.
18956         (rawSetForeground): Removed.
18957         (rawDrawLine): Default impl calls standard pipeline.
18958         (rawDrawString): New method, calls standard pipeline for rendering.
18959         (rawClearRect): New method, calls standard pipeline for rendering.
18960         (rawFillRect): New method, calls standard pipeline for rendering.
18961         (rawDrawImage): New method, calls standard pipeline for rendering.
18962         (rawCopyArea): New method.
18963         (copyAreaImpl): New method.
18964         (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18965         for rendering.
18966         (fillShapeAntialias): Fixed AA rendering.
18967         (fillScanlineAA): Fixed AA rendering.
18968         (getSegments): Take offset into account.
18969
18970 2006-05-19  Sven de Marothy  <sven@physto.se>
18971
18972         * javax/swing/text/AbstractWriter.java
18973         (getText): Fix parameters (start, length) not (start, end).
18974         
18975 2006-05-19  Tom Tromey  <tromey@redhat.com>
18976
18977         PR classpath/27444:
18978         * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18979         Changed return type.
18980         * java/net/URLClassLoader.java (urlloaders): Removed.
18981         (addURLImpl): Updated.
18982         * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18983         (indexSet): Likewise.
18984         (classPath): Changed type.
18985         (JarURLLoader): New constructor.
18986         (initialize): New method.
18987         (getResource): Use index set if it exists.
18988         (getClassPath): Updated.
18989         * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18990         (prefixes): New field.
18991         (headers): Removed.
18992         (IndexListParser): Fill in prefixes.
18993         (clearAll): Clear prefixes.
18994         (getHeaders): Changed return type.
18995
18996 2006-05-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18997
18998         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
18999         (MouseInputHandler.mouseExitted): No nothing there.
19000         (MouseInputHandler.endDragging): Move column to the
19001         first/last position if released outside the horizontal
19002         table range.
19003
19004 2006-05-19  Lillian Angel  <langel@redhat.com>
19005
19006         * java/awt/font/GlyphVector.java
19007         (getGlyphCharIndex): Implemented.
19008         (getGlyphCharIndices): Implemented.
19009         (getGlyphOutline): Implemented.
19010         (getGlyphVisualBounds): Implemented.
19011         (getGlyphVisualBounds): Implemented.
19012         (getPixelBounds): Implemented.
19013         (getLayoutFlags): Implemented.
19014
19015 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
19016
19017         * java/awt/LightweightDispatcher.java: Added field dragButton and
19018         documentation for it.
19019         (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
19020         added subexpression to if-clause in MOUSE_RELEASED case.
19021
19022 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
19023
19024         * javax/swing/metal/MetalButtonUI.java:
19025         (update): Removed some subexpression from if-clause and call
19026         updateWithGradient.
19027         (updateWithGradient): New method.
19028
19029 2006-05-19  Roman Kennke <kennke@aicas.com>
19030
19031         * javax/swing/JComponent.java
19032         (findOverlapFreeParent): Implemented algorithm for finding
19033         overlapping in component hierarchy.
19034
19035 2006-05-19  Jeroen Frijters  <jeroen@frijters.net>
19036
19037         * java/lang/Thread.java
19038         (contextClassLoaderIsSystemClassLoader): New field.
19039         (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
19040         (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
19041         and set contextClassLoaderIsSystemClassLoader.
19042         (Thread(ThreadGroup,Runnable,String,long)):
19043         Set contextClassLoaderIsSystemClassLoader.
19044         (createAnonymousThreadName): New method.
19045         (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
19046         and fixed security check.
19047         (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
19048
19049 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
19050
19051         * javax/swing/plaf/basic/BasicToolBarUI.java:
19052         (createNonRolloverBorder): Rewritten.
19053         (createRolloverBorder): Rewritten.
19054         (setToNonRolloverBorder): Store old border instance in hashtable.
19055         (setToRolloverBorder): Store old border instance in hashtable, use
19056         AbstractButton instead of JButton in statements.
19057         (setBorderToNormal): Rewritten.
19058         * javax/swing/plaf/metal/MetalLookAndFeel.java:
19059         (initComponentDefaults): Added values for ToolBar.rolloverBorder and
19060         ToolBar.nonrolloverBorder.
19061
19062 2006-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
19063
19064         * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
19065         * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
19066
19067 2006-05-18  Lillian Angel  <langel@redhat.com>
19068
19069         * java/awt/font/GlyphMetrics.java
19070         (getLSB): Implemented.
19071         (getRSB): Implemented.
19072
19073 2006-05-18  Lillian Angel  <langel@redhat.com>
19074
19075         * java/awt/font/GraphicAttribute.java:
19076         Documented entire class.
19077         (GraphicAttribute): Added check for alignment.
19078         (getBounds): Implemented.
19079         (getJustificationInfo): Implemented.
19080
19081 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
19082
19083         * java/awt/LightweightDispatcher.java:
19084         (handleMouseEvent): Added note, added subexpression to if-statement.
19085
19086 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
19087
19088         * javax/swing/plaf/basic/BasicToolBarUI.java:
19089         (navigateFocusedComp): Marked as stub.
19090         (createRolloverBorder): Create a different Border instance, added note.
19091         * javax/swing/plaf/metal/MetalBorders.java:
19092         (ButtonBorder): Added documentation.
19093         (ButtonBorder.paintDefaultButtonBorder): Added else-block.
19094         (ButtonBorder.paintOceanButtonBorder): Added else-block, added
19095         subexpression into if-else cascade, added note.
19096
19097 2006-05-18  Lillian Angel  <langel@redhat.com>
19098
19099         * java/awt/font/ShapeGraphicAttribute.java:
19100         Documented entire class.
19101         (ShapeGraphicAttribute): Initialized bounds field.
19102         (draw): Implemented.
19103         (equals): Implemented.
19104         (getAdvance): Implemented.
19105         (getAscent): Implemented.
19106         (getBounds): Implemented.
19107         (getDescent): Implemented.
19108         (hashCode): Implemented.
19109
19110 2006-05-18  Roman Kennke <kennke@aicas.com>
19111
19112         * javax/swing/CellRendererPane.java
19113         (CellRendererPane): Set CellRendererPane to invisible.
19114
19115 2006-05-18  Roman Kennke <kennke@aicas.com>
19116
19117         * gnu/java/awt/peer/gtk/GdkGraphics.java
19118         (clipRect): Removed old intersection statement.
19119
19120 2006-05-18  Roman Kennke <kennke@aicas.com>
19121
19122         * gnu/java/awt/peer/gtk/GdkGraphics.java
19123         (clipRect): Don't use Rectangle.intersection() to avoid creating
19124         2 unnecessary Rectangle instances and fix a clipping problem.
19125         (computeIntersection): New helper method, adapted from SwingUtilities.
19126
19127 2006-05-18  Roman Kennke <kennke@aicas.com>
19128
19129         * javax/swing/JComponent.java
19130         (isCompletelyDirty): Removed.
19131         (paint): Don't mark children as clean, this is no longer necessary.
19132         (findOverlapFreeParent): Don't stop at Viewports, this breaks
19133         painting when something overlaps the viewport (like a popup/menu).
19134         * javax/swing/RepaintManager.java
19135         (currentRepaintManagers): Made package private to avoid accessor
19136         methods.
19137         (dirtyComponents): Made private.
19138         (dirtyComponentsWork): Made private.
19139         (markCompletelyDirty): Fixed bounds of dirtyrect to be
19140         component-local not parent-local. Do not set flag in JComponent.
19141         (markCompletelyClean): Don't set JComponent flag.
19142         (isCompletelyDirty): Rewritten to return true when the complete
19143         component is marked dirty.
19144         (paintDirtyRegions): Improved parent-merging so that the merged-in
19145         components don't get painted too. 'Outsourced' the compilation
19146         of the repaint root components.
19147         (compileRepaintRoots): New helper method.
19148
19149 2006-05-18  Roman Kennke <kennke@aicas.com>
19150
19151         PR 26368
19152         * javax/swing/text/GapContent.java
19153         (GapContentPosition(int)): Use adapted binarySearch method to
19154         allow for having a greater array than number of entries.
19155         (numMarks): New field, holds the end of the marks list.
19156         (GapContent): Initialize positionMarks with size of 10 instead of 0.
19157         (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
19158         (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
19159         (setPositionsInRange): Changed signature to narrow the purpose and
19160         special cases inside. Reimplemented to crunch together equal marks.
19161         (adjustPositionsInRange): Added assertion to make sure we do
19162         not accidentally change the order of the mark. Added some debug
19163         output for a special case of which I don't know if it even exists.
19164         (resetMarksAtZero): Made impl simpler.
19165         (dumpMarks): New debug helper method.
19166         (insertMark): Grow array in bigger chunks to avoid excessive copying.
19167         (binarySearch): New method. An adaption of Arrays.binarySearch()
19168         that allows for an maxIndex parameter.
19169
19170 2006-05-18  Roman Kennke <kennke@aicas.com>
19171
19172         * javax/swing/KeyboardManager.java
19173         (topLevelLookup): Use WeakHashMap to avoid memory leak.
19174
19175 2006-05-18  Jeroen Frijters  <jeroen@frijters.net>
19176
19177         * gnu/java/net/loader/JarURLLoader.java
19178         (JarURLLoader): Use a slightly more efficient URL constructor.
19179
19180 2006-05-18  David Gilbert  <david.gilbert@object-refinery.com>
19181
19182         * gnu/java/awt/print/JavaPrinterGraphics.java
19183         (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
19184         (drawImage(Image, int, int, ImageObserver)): Likewise,
19185         (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
19186         (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
19187         (drawImage(Image, int, int, int, int, int, int, int, int, Color, 
19188         ImageObserver)): Likewise,
19189         (drawImage(Image, int, int, int, int, int, int, int, int, 
19190         ImageObserver)): Likewise.
19191
19192 2006-05-17  Tom Tromey  <tromey@redhat.com>
19193
19194         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
19195         LinkedHashSet.
19196
19197 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
19198
19199         * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
19200         * javax/swing/border/BevelBorder.java: Likewise,
19201         * javax/swing/border/CompoundBorder.java: Likewise,
19202         * javax/swing/border/TitledBorder.java: Likewise.
19203
19204 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
19205
19206         * javax/swing/table/AbstractTableModel.java: Formatting fixes,
19207         * javax/swing/table/DefaultTableModel.java: Likewise,
19208         * javax/swing/table/TableCellEditor.java: Likewise,
19209         * javax/swing/table/TableCellRenderer.java: Likewise.
19210
19211 2006-05-17  Lillian Angel  <langel@redhat.com>
19212
19213         * java/awt/font/ImageGraphicAttribute.java:
19214         Documented entire class.
19215         (ImageGraphicAttribute): Changed to call this.
19216         (ImageGraphicAttribute): Implemented.
19217         (draw): Implemented.
19218         (equals): Implemented.
19219         (getAdvance): Implemented.
19220         (getAscent): Implemented.
19221         (getBounds): Implemented.
19222         (getDescent): Implemented.
19223         (hashCode): Implemented.
19224         * javax/swing/text/html/HTMLDocument.java
19225         (create): Removed. Sufficent enough for
19226         super to be called.
19227         (insert): Likewise.
19228         (insertUpdate): Likewise.
19229         (processHTMLFrameHyperlinkEvent): Marked as stub.
19230         (start): Removed FIXME.
19231         (end): Likewise.
19232         (start): Called super. 
19233         (end): Called super.
19234         (getElement): removed unneeded code.
19235         (setParagraphAttribute): Removed. Sufficent enough
19236         for super to be called.
19237         (fireChangedUpdate): Likewise.
19238         (fireUndoableEditUpdate): Likewise.     
19239
19240 2006-05-17  Lillian Angel  <langel@redhat.com>
19241
19242         * java/awt/TexturePaint.java:
19243         Added documentation for class and all functions.
19244         (getTransparency): Implemented.
19245
19246 2006-05-17  Roman Kennke <kennke@aicas.com>
19247
19248         * java/awt/LightweightDispatcher.java
19249         (findTarget): Translate point to child components.
19250
19251 2006-05-17  Roman Kennke <kennke@aicas.com>
19252
19253         PR 26368
19254         * javax/swing/text/GapContent.java
19255         (GapContentPosition): Do no more implement Comparable.
19256         (GapContentPosition.mark): Removed field.
19257         (GapContentPosition.index): New field to hold the index into
19258         the positions array.
19259         (GapContentPosition(int)): Rewritten to use the new indirection
19260         to the positions array.
19261         (GapContentPosition.compareTo): Removed.
19262         (GapContentPosition.getOffset): Synchronized. Fetch mark from
19263         positionMarks array.
19264         (WeakPositionComparator): Removed obsolete class.
19265         (positions): Changed type to WeakHashMap.
19266         (positionMarks): New field, holds the marks of the positions.
19267         (GapContent): Initialize new fields.
19268         (createPosition): Rewritten to use the new indirection
19269         to the positions array.
19270         (getPositionsInRange): Rewritten to use the new indirection
19271         to the positions array.
19272         (setPositionsInRange): Rewritten to use the new indirection
19273         to the positions array.
19274         (adjustPositionsInRange): Rewritten to use the new indirection
19275         to the positions array.
19276         (insertMark): New helper method.
19277         (clearPositionReferences): Removed obsolete methods.
19278
19279 2006-05-17  Lillian Angel  <langel@redhat.com>
19280
19281         * java/awt/GraphicsConfiguration.java
19282         (getImageCapabilities): Implemented.
19283         (getBufferCapabilities): Implemented.
19284
19285 2006-05-17  Lillian Angel  <langel@redhat.com>
19286
19287         * javax/swing/plaf/basic/BasicSliderUI.java
19288         (focusGained): Implemented.
19289         (focusLost): Implemented.
19290         (paint): Added code to paint the focus.
19291         * javax/swing/plaf/metal/MetalSliderUI.java
19292         (paintThumb): Added code to set the thumbColor.
19293         (paintFocus): Implemented properly.
19294
19295 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19296
19297         PR 27383
19298         * javax/naming/spi/NamingManager.java (getURLContext):
19299         Always search for the factory class in all possible places
19300         and use VMStackWalker.
19301         (forName): New method.
19302
19303 2006-05-17  Roman Kennke <kennke@aicas.com>
19304
19305         * java/awt/LightweightDispatcher.java
19306         (handleMouseEvent): Fixed search algorithm for finding the
19307         mouse event target.
19308         (findTarget): Fixed search algorithm for finding the
19309         mouse event target.
19310
19311 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19312
19313         * javax/naming/spi/NamingManager.java: Documented.
19314
19315 2006-05-17  Mark Wielaard  <mark@klomp.org>
19316
19317         * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
19318         * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
19319         * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
19320         * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
19321
19322 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
19323
19324         Fixes PR 26947.
19325         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
19326         year.
19327         (BorderListener.mouseClicked): Detect double-clicks in title pane,
19328         copied code from
19329         BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
19330
19331 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
19332
19333         Fixes PR 27626.
19334         * java/awt/LightweightDispatcher.java:
19335         (handleMouseEvent): Moved assignment into switch-block, added notes.
19336
19337 2006-05-16  Lillian Angel  <langel@redhat.com>
19338
19339         * javax/swing/text/StyleContext.java:
19340         Changed staticAttributeKeys  to be a Hashtable.
19341         (getStaticAttribute): Implemented.
19342         (getStaticAttributeKey): Implemented.
19343         (readAttributeSet): Implemented.
19344         (writeAttributeSet): Added FIXME. Not sure how
19345         to implement this.
19346         (readAttributes): Implemented.
19347         (writeAttributes): Implemented.
19348         (registerStaticAttibuteKey): Fixed to add key to 
19349         the hash table.
19350
19351 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
19352
19353         * javax/swing/DefaultButtonModel.java
19354         (setGroup): Removed event notification.
19355
19356 2006-05-16  Lillian Angel  <langel@redhat.com>
19357
19358         * javax/swing/plaf/basic/BasicComboBoxUI.java
19359         (installKeyboardActions): Implemented.
19360         (uninstallKeyboardActions): Implemented.
19361         * javax/swing/plaf/basic/BasicComboPopup.java
19362         (uninstallKeyboardActions): Removed FIXME. Nothing
19363         to be done here.
19364         (installKeyboardActions): Likewise.
19365         * javax/swing/plaf/basic/BasicTextUI.java
19366         (uninstallKeyboardActions): Implemented.
19367         * javax/swing/plaf/basic/BasicTreeUI.java:
19368         Added field for hashColor.
19369         Marked stub methods.
19370         (getHashColor): Implemented to use field.
19371         (setHashColor): Likewise.
19372         (getRowX): Implemented.
19373         (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.   
19374
19375 2006-05-16  Roman Kennke <kennke@aicas.com>
19376
19377         PR 26521
19378         * javax/swing/JTable.java
19379         (rowHeights): New field.
19380         (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
19381         in order to initialize rowHeights correctly.
19382         (tableChanged): Nullify rowHeights when model changes. Only
19383         create default columns from model when corresponding property
19384         is set. Sync table model with rowHeights as appropriate.
19385         (valueChanged): Call repaint with the correct rectangle.
19386         (rowAtPoint): Handle rowHeights.
19387         (getCellRect): Mostly rewritten. Check for boundaries
19388         of model and return (0,0,0,0) or (0,0,width,height) when outside.
19389         Handle component orientation. Round correctly.
19390         (getRowHeight(int)): Implemented for variable row height.
19391         (setRowHeight(int,int)): Implemented for variable row height.
19392         (setRowHeight(int)): Nullify rowHeights.
19393         (setModel): Notify tableChanged().
19394         * javax/swing/plaf/basic/BasicTableUI.java
19395         (installDefaults): Create rendererPane in installUI.
19396         (installUI): Create and install rendererPane.
19397         (uninstallUI): Uninstall rendererPane and nullify rendererPane
19398         and table.
19399         (paint): Correctly handle rowMargin.
19400
19401 2006-05-16  Tom Tromey  <tromey@redhat.com>
19402
19403         PR classpath/27563:
19404         * java/text/NumberFormat.java (getIntegerInstance): Use
19405         "integerFormat", not "numberFormat".
19406
19407 2006-05-16  Lillian Angel  <langel@redhat.com>
19408
19409         * javax/swing/JPopupMenu.java
19410         (addMenuKeyListener): Implemented.
19411         (removeMenuKeyListener): Implemented.
19412         (getMenuKeyListeners): Implemented.
19413         * javax/swing/ProgressMonitor.java:
19414         Added new protected field.
19415         (getAccessibleContext): Implemented.
19416
19417 2006-05-16  Lillian Angel  <langel@redhat.com>
19418
19419         * javax/swing/JFileChooser.java:
19420         Added new private field.
19421         (setDragEnabled): Implemented.
19422         (getDragEnabled): Implemented.
19423
19424 2006-05-16  Lillian Angel  <langel@redhat.com>
19425
19426         * java/awt/Window.java
19427         (applyResourceBundle): Implemented.
19428
19429 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
19430
19431         * javax/swing/DefaultButtonModel.java
19432         (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19433         states also.
19434
19435 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19436
19437         * javax/swing/JList.java (getSelectedValues):
19438         Ask the value for the indexed array element.
19439
19440 2006-05-16  Roman Kennke <kennke@aicas.com>
19441
19442         * javax/swing/JTable.java
19443         (valueChanged): Also repaint when table has only 1 row. Fixed
19444         repaint rectangle to span the entire changed rows.
19445
19446 2006-05-16  Roman Kennke <kennke@aicas.com>
19447
19448         PR 24031
19449         * javax/swing/JOptionPane.java
19450         (startModal): Rewritten. The events are now dispatched, even
19451         when the event dispatch thread gets blocked by the call
19452         to this method. Also, mouse events get intercepted outside the
19453         internal frame.
19454
19455 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19456
19457         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19458         (BorderListener.mouseDragged):Do not set cursor 
19459         if the frame is being dragged.
19460
19461 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19462
19463         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19464         (BorderListener): Rewritten. (InternalFrameBorder):
19465         Made package private.
19466         (InternalFrameBorder.offset):
19467         Renamed to cornerSize, made package private.
19468         (bSize): Made package private.
19469
19470 2006-05-16  Roman Kennke <kennke@aicas.com>
19471
19472         * javax/swing/JMenu.java
19473         (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19474         (AccessibleJMenu.getAccessibleChild): Implemented.
19475         (AccessibleJMenu.getAccessibleSelection): Implemented.
19476         (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19477         (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19478         (AccessibleJMenu.getAccessibleRole): Documented.
19479         (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19480         (AccessibleJMenu.addAccessibleSelection): Implemented.
19481         (AccessibleJMenu.removeAccessibleSelection): Implemented.
19482         (AccessibleJMenu.clearAccessibleSelection): Implemented.
19483         (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19484         (createPath): New helper method.
19485
19486 2006-05-15  Tom Tromey  <tromey@redhat.com>
19487
19488         * java/text/MessageFormat.java (format): Now varargs.
19489
19490 2006-05-15  Tom Tromey  <tromey@redhat.com>
19491
19492         * java/lang/Thread.java (State): Fixed typo.
19493
19494 2006-05-15  Tom Tromey  <tromey@redhat.com>
19495
19496         * java/net/URLClassLoader.java: Moved inner classes to
19497         gnu.java.net.loader.
19498         (factoryCache): Changed type.
19499         (URL_LOADER_PREFIX): New constant.
19500         (URLClassLoader): Updated for new factoryCache.
19501         (addURLImpl): Use reflection to search for a loader.
19502         (findClass): Use getClass method on URLLoader.
19503         (getURLStreamHandler): Removed.
19504         * gnu/java/net/loader/URLLoader.java: New file, extracted
19505         from URLClassLoader.
19506         * gnu/java/net/loader/Resource.java: Likewise.
19507         * gnu/java/net/loader/FileResource.java: Likewise.
19508         * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19509         * gnu/java/net/loader/JarURLLoader.java: Likewise.
19510         * gnu/java/net/loader/JarURLResource.java: Likewise.
19511         * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19512         * gnu/java/net/loader/RemoteResource.java: Likewise.
19513         * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19514
19515 2006-05-15  Sven de Marothy  <sven@physto.se>
19516
19517         * native/target/generic/target_generic_network.h: 
19518         Add a pair of parenthesis.
19519
19520 2006-05-15  Mark Wielaard  <mark@klomp.org>
19521
19522         * java/awt/Graphics2D.java: Remove PrinterJob import.
19523
19524 2006-05-15  Mark Wielaard  <mark@klomp.org>
19525
19526         * doc/www.gnu.org/announce/20060515.wml: New file.
19527         * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19528         * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19529
19530 2006-05-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
19531
19532         * NEWS: Announce inclusion of gcjwebplugin.
19533         Announce inclusion of appletviewer.
19534         * INSTALL: Note gcjwebplugin dependencies.
19535
19536 2006-05-15  Mark Wielaard  <mark@klomp.org>
19537
19538         * configure.ac (VERSION): Set to 0.91-generics.
19539
19540 2006-05-15  Mark Wielaard  <mark@klomp.org>
19541
19542         * NEWS: Add release date and VMClassLoader.getBootPackages()
19543         changes.
19544
19545 2006-05-15  Christian Thalinger  <twisti@complang.tuwien.ac.at>
19546
19547         * README: Added CACAO to list of VMs.
19548
19549 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19550
19551         * javax/swing/RepaintManager.java (paintDirtyRegions):
19552         Break loop as soon as the component repaint is merged
19553         with some parent. (ComponentComparator): Removed.
19554         (comparator): Removed.
19555
19556 2006-05-15  Roman Kennke <kennke@aicas.com>
19557
19558         * javax/swing/border/TitledBorder.java
19559         (paintBorderWithTitle): Fixed indentation.
19560
19561 2006-05-15  Roman Kennke <kennke@aicas.com>
19562
19563         * javax/swing/border/TitledBorder.java
19564         (layoutBorderWithTitle): Fetch border using getBorder() instead
19565         of using the border field directly. Allows for the use of
19566         an UI supplied border in the case when a null border was set.
19567         Fixed component orientation.
19568         (paintBorderWithTitle): Fetch border using getBorder() instead
19569         of using the border field directly. Allows for the use of
19570         an UI supplied border in the case when a null border was set.
19571
19572 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19573
19574         * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19575         (contains): New method.
19576
19577 2006-05-15  Tom Tromey  <tromey@redhat.com>
19578
19579         * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19580         argument indices.
19581         * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19582         argument indices.
19583
19584 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19585
19586         * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19587          JViewport's.
19588         * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19589         region. (paintDirtyRegions): Rewritten.
19590
19591 2006-05-15  Tom Tromey  <tromey@redhat.com>
19592
19593         * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19594         MessageFormat.
19595         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19596         MessageFormat.
19597         * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19598         (run): Use MessageFormat.
19599         * resource/gnu/classpath/tools/jar/messages.properties: New file.
19600         * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19601         (writeFile): Use MessageFormat.
19602
19603 2006-05-15  Jeroen Frijters  <jeroen@frijters.net>
19604
19605         * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19606         instead of directly calling the class loader.
19607
19608 2006-05-15  Tom Tromey  <tromey@redhat.com>
19609
19610         * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19611         Removed old comment.
19612         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19613         Externalized strings.
19614         (getVersionString): Use MessageFormat.
19615         * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19616         * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19617         * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19618         (getArgument): Use a MessageFormat.
19619         (handleLongOption): Likewise.
19620         (parse): Likewise.
19621
19622 2006-05-15  Robert Schuster  <robertschuster@fsfe.org>
19623
19624         Fixes PR 27197.
19625         * javax/swing/text/FieldView.java:
19626         (paint): Calculate intersection between clip and allocation area and
19627         set that as new clip.
19628
19629 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19630
19631         * javax/swing/text/JTextComponent.java: Marked stub methods.
19632
19633 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19634
19635         * javax/swing/JTable.java: Marked stub methods.
19636
19637 2006-05-15  Raif S. Naffah  <raif@swiftdsl.com.au>
19638
19639         * tools/gnu/classpath/tools/jarsigner/Main.java:
19640         Increased visibility of fields used by parser anonymous classes.
19641         (KEYTOOL_TOOL): New constant.
19642         (cmdLineParser): Changed type to ToolParser.
19643         (fileAndAlias): new field.
19644         (main): Don't catch OptionException.
19645         (processArgs): Removed validation checks; now handled by ToolParser.
19646         (getParser): Removed.
19647         (ToolParserCallback): New inner class.
19648         (ToolParser): Likewise.
19649
19650 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19651
19652         * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19653         Removed.
19654
19655 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19656
19657         * javax/swing/DefaultDesktopManager.java (endDraggingFrame, 
19658         endResizingFrame): Do not repaint, unless in the outline mode.
19659
19660 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19661
19662         * javax/swing/JTabbedPane.java
19663         (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19664         (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19665         (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19666         (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19667         (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19668         (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19669         (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19670         (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19671         (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19672         (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19673         (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19674         (Page.getAccessibleName): Implemented.
19675
19676 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19677
19678         * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19679         Do not repaint nor revalidate here.
19680
19681 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19682
19683         * javax/swing/RepaintManager.java (addDirtyRegion):
19684         If there is a lightweight parent, recursively add the corresponding
19685         region of the parent instead.
19686
19687 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19688
19689         * java/awt/Graphics2D.java: Added some API doc comments.
19690
19691 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19692
19693         * javax/swing/JTabbedPane.java
19694         (paramString): Reimplemented,
19695         (getAccessibleContext): Added API docs.
19696
19697 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19698
19699         * javax/swing/JFileChooser.java
19700         (paramString): Reimplemented,
19701         (getAccessibleContext): Updated API docs,
19702         (AccessibleJFileChooser): Added API docs.
19703
19704 2006-05-14  Tom Tromey  <tromey@redhat.com>
19705
19706         * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19707         OptionException.
19708         * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19709         OptionException.
19710         * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19711         OptionException.
19712         * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed.  Moved
19713         validation to JarParser.
19714         * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19715         (run): Moved validation to JarParser.  Don't throw OptionException.
19716         (initializeParser): Create a JarParser.
19717         (main): Don't catch OptionException.
19718         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19719         public.
19720         (validate): New method.
19721         (parse): Call it.  Print '-help' in error message when long-only.
19722
19723 2006-05-14  Tom Tromey  <tromey@redhat.com>
19724
19725         * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19726         assignment.
19727
19728 2006-05-15  Sven de Marothy  <sven@physto.se>
19729
19730         * gnu/java/awt/print/JavaPrinterGraphics.java:
19731         Sweeping changes I can't be bothered to document in detail.
19732         * gnu/java/awt/print/JavaPrinterJob.java
19733         (getPageAttributes): New method.
19734         (setPageable,cancel,isCancelled): Implement.
19735
19736 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
19737
19738         * javax/swing/JCheckBoxMenuItem.java
19739         (requestFocus): Fixed typo in API docs,
19740         (paramString): Just call super.paramString(),
19741         (getAccessibleContext): Added API docs,
19742         (AccessibleJCheckBoxMenuItem): Likewise.
19743
19744 2006-05-14  Tom Tromey  <tromey@redhat.com>
19745
19746         * tools/gnu/classpath/tools/jar/Indexer.java
19747         (writeCommandLineEntries): Simplify insertion.
19748         * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19749         -m and -M.
19750
19751 2006-05-14  Tom Tromey  <tromey@redhat.com>
19752
19753         PR classpath/27514:
19754         * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed.  Now
19755         constant.
19756         (JAR_INDEX_VERSION_KEY): Likewise.
19757         (IndexListParser): Updated.
19758         (getVersionInfo): Likewise.
19759         * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19760         * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19761         OptionException.
19762         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19763         -i.
19764         (ModeOption): New constructor.
19765         (parsed): Updated.  Use setArchiveFile.
19766         (setArchiveFile): New method.
19767         (run): Handle no-argument case.
19768         (main): Emit --help message on option error.
19769         * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19770         (createManifest): New method.
19771         (run): Updated.  Throws OptionException.  Correctly copy zip entry.
19772         * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19773         method.
19774         (writeManifest): Removed.
19775         (outputStream): Now a JarOutputStream.
19776         (writeCommandLineEntries): Changed parameters.  Updated callers.
19777         (run): Throws OptionException.
19778         * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19779         * java/util/jar/Manifest.java (read): Typo fix.
19780
19781 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
19782
19783         * javax/swing/JMenuItem.java
19784         (paramString): Fixed class name in API doc comment.
19785
19786 2006-05-14  Tom Tromey  <tromey@redhat.com>
19787
19788         * native/plugin/.cvsignore: Updated.
19789
19790 2006-05-14  Mark Wielaard  <mark@klomp.org>
19791
19792         * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19793         comments.
19794
19795 2006-05-14  Chris Burdess  <dog@gnu.org>
19796
19797         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19798         nodes to be preserved during cloneNode.
19799
19800 2006-05-14  Mark Wielaard  <mark@klomp.org>
19801
19802         PR 27459
19803         * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19804         inherited timeout on socket.
19805
19806 2006-05-14  Lillian Angel  <langel@redhat.com>
19807
19808         * java/util/SimpleTimeZone.java: Reverted patch.
19809         (SimpleTimeZone): Throw exception if startMonth ==
19810         endMonth.
19811         (SimpleTimeZone): Likewise.
19812         (checkRule): Rewritten to properly check all values (more
19813         efficently).
19814         This code is now more stable, at least less buggy than before.
19815         Fixed API documentation.
19816         (setStartRule): Moved checkRule call to end.
19817         (setStartRule): Likewise.
19818         (setEndRule): Likewise.
19819         (setEndRule): Likewise.
19820
19821 2006-05-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19822
19823         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19824         Initialise to -1.
19825
19826 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
19827
19828         PR classpath/27595
19829         * javax/swing/text/AbstractDocument.java:
19830         (insertString): Flipped if-expression and its blocks.
19831         (remove): Dito.
19832         (replace): Flipped if-expression and its blocks, added note, invoke
19833         insertString and remove instead of insertStringImpl and removeImpl.
19834
19835 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
19836
19837         * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19838
19839 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
19840
19841         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19842         Added help text.
19843         * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19844         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: 
19845         Increased visibility of fields used by parser anonymous classes.
19846         (processArgs): Removed.
19847         (getParser): New method.
19848         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19849         (setup): Mark (Eclipse) strings that need not be externalised.
19850         (start): Likewise.
19851         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19852         * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19853         command line option parsing.
19854         * tools/gnu/classpath/tools/keytool/ListCmd.java: 
19855         Increased visibility of fields used by parser anonymous classes.
19856         (processArgs): Removed.
19857         (setup): set 'all' local field.
19858         (getParser): New method.
19859         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: 
19860         Increased visibility of fields used by parser anonymous classes.
19861         (processArgs): Removed.
19862         (getParser): New method.
19863         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19864         (setNewKeyPassword): Fixed comments.
19865         * tools/gnu/classpath/tools/keytool/ImportCmd.java: 
19866         Increased visibility of fields used by parser anonymous classes.
19867         (processArgs): Removed.
19868         (getParser): New method.
19869         (findTrustInCACerts): Mark (Eclipse) strings that need not be
19870         externalised.
19871         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: 
19872         Increased visibility of fields used by parser anonymous classes.
19873         (processArgs): Removed.
19874         (setup): Mark (Eclipse) strings that need not be externalised.
19875         (getParser): New method.
19876         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19877         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: 
19878         Increased visibility of fields used by parser anonymous classes.
19879         (processArgs): Removed.
19880         (getParser): New method.
19881         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19882         (ATTRIBUTES_OPT): New constant.
19883         * tools/gnu/classpath/tools/keytool/ExportCmd.java: 
19884         Increased visibility of fields used by parser anonymous classes.
19885         (processArgs): Removed.
19886         (setup): Mark (Eclipse) strings that need not be externalised.
19887         (start): Likewise.
19888         Reduced logging level.
19889         (getParser): New method.
19890         * tools/gnu/classpath/tools/keytool/Command.java
19891         (processArgs): Made it concrete.
19892         (getParser): New abstract method.
19893         * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19894
19895 2006-05-13  Casey Marshall  <csm@gnu.org>
19896
19897         Patch by Michael Barker <mike@middlesoft.co.uk>.
19898         * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19899         * gnu/java/nio/SelectorImpl.java (register): Added condition for
19900         gnu.java.nio.SocketChannelSelectionKeyImpl.
19901         * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19902         * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19903         VMChannel.
19904         * include/gnu_java_nio_VMChannel.h: new file.
19905         * java/nio/FileChannel.java (read,write): changed to call abstract
19906         method.
19907         * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19908         * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19909         `gnu_java_nio_VMChannel.c.'
19910         * vm/reference/gnu/java/nio/VMChannel.java: new file.
19911
19912 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
19913
19914         * javax/swing/text/AbstractDocument.java:
19915         (insertString): Flipped if-expression and its blocks.
19916         (remove): Dito.
19917         (replace): Flipped if-expression and its blocks, added note, invoke
19918         insertString and remove instead of insertStringImpl and removeImpl.
19919
19920 2006-05-13  Tom Tromey  <tromey@redhat.com>
19921
19922         * java/nio/ByteBufferImpl.java (compact): Always set position.
19923
19924 2006-05-13  Sven de Marothy  <sven@physto.se>
19925
19926         * gnu/java/awt/print/JavaPrinterGraphics.java
19927         (spoolPostScript): Use a faster writer.
19928
19929 2006-05-13  Sven de Marothy  <sven@physto.se>
19930
19931         * gnu/java/awt/print/JavaPrinterGraphics.java
19932         (colorTripleHex): Reimplement better.
19933
19934 2006-05-13  Sven de Marothy  <sven@physto.se>
19935
19936         * javax/swing/text/html/HTMLDocument.java
19937         (CharacterAction.start): Translate tag to StyleAttribute.
19938         (pushCharacterStyle): Push copy of attributes onto stack.
19939         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19940         New file
19941
19942 2006-05-13  Sven de Marothy  <sven@physto.se>
19943
19944         * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19945         * java/awt/print/PrinterJob.java 
19946         (getPrinterJob): Return a JavaPrinterJob
19947         (setPrintService,getPrintService): Implement.
19948         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19949         (getPixels): Gtk_threads_enter required.
19950         * gnu/java/awt/print/JavaPrinterGraphics.java
19951         * gnu/java/awt/print/JavaPrinterJob.java
19952         * gnu/java/awt/print/SpooledDocumet.java: 
19953         New files.
19954         
19955 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19956
19957         * javax/swing/text/TextAction.java:
19958         (HorizontalMovementAction): New inner class.
19959         (VerticalMovementAction): New inner class.
19960         * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19961         new inner classes to array 'defaultActions'.
19962         (SelectionBeginWordAction): New inner class.
19963         (SelectionEndWordAction): New inner class.
19964         (BeginWordAction): New inner class.
19965         (EndWordAction): New inner class.
19966         (PreviousWordAction.actionPerformed): Rewritten.
19967         (SelectLineAction): New inner class.
19968         (SelectWordAction): New inner class.
19969         (SelectionDownAction): Rewritten.
19970         (SelectionUpAction): Rewritten.
19971         (DownAction): Rewritten.
19972         (UpAction): Rewritten.
19973         (SelectionForwardAction): Rewritten.
19974         (SelectionBackwardAction): Rewritten.
19975         (ForwardAction): Rewritten.
19976         (BackwardAction): Rewritten.
19977         (BeginAction): New inner class.
19978         (EndAction): New inner class.
19979         (DefaultKeyTypedAction.actionPerformed): Use int variant of
19980         Character.isISOControl.
19981
19982 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19983
19984         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19985         (WordFilter.getNextVisualPositionFrom): Added statement to check
19986         for variable pt not being null.
19987
19988 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19989
19990         * javax/swing/text/Utilities.java:
19991         (getNextWord): Fixed grammar in exception message.
19992         (getPreviousWord): Changed expression in first if-clause, added sub-
19993         expression to if-clause in while-loop.
19994         (getWordStart): Changed expression in if-clause.
19995         getNextVisualPositionFrom): Added package-private helper method.
19996
19997 2006-05-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19998  
19999         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
20000         Initialise to -1.
20001
20002 2006-05-13  Raif S. Naffah  <raif@swiftdsl.com.au>
20003
20004         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
20005         Added help text.
20006         * tools/Makefile.am (JARSIGNER_HELPS): Removed.
20007         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
20008         * tools/gnu/classpath/tools/jarsigner/Main.java:
20009         Increased visibility of fields used by parser anonymous classes.
20010         (HELP_PATH): Removed.
20011         (cmdLineParser): New field.
20012         (main): Handle JVM exit status.
20013         Handle command line parsing exceptions.
20014         (processArgs): Use getopt command line parser.
20015         (getParser): New method.
20016         (setupCommonParams): Removed checks now handled by processArgs().
20017         (setupSigningParams): Likewise.
20018         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
20019         Reuse an existing message-bundle constant.
20020
20021 2006-05-12  Tom Tromey  <tromey@redhat.com>
20022
20023         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
20024         Explicitly specify class for synchronization.
20025
20026 2006-05-12  Tom Tromey  <tromey@redhat.com>
20027
20028         * java/util/logging/Logger.java (resetLogger): Fixed typo.
20029
20030 2006-05-12  Sven de Marothy  <sven@physto.se>
20031
20032         * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
20033         * gnu/java/net/protocol/http/HTTPURLConnection.java
20034         (setConnectTimeout): New method.
20035         (getConnection): Add timeout parameter.
20036         *  java/net/URLConnection.java  
20037         (getConnectTimeout, setConnectTimeout): Implement.
20038         * native/target/generic/target_generic_network.h: 
20039         Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
20040         
20041 2006-05-12  Sven de Marothy  <sven@physto.se>
20042   
20043         * gnu/javax/print/CupsServer.java
20044         (CupsServer): Make the Cups host configurable.
20045         * java/lang/System.java: Document the system property.
20046         
20047 2006-05-12  Roman Kennke <kennke@aicas.com>
20048   
20049         * javax/swing/border/TitledBorder.java
20050         (paintBorder): Rewritten for simplicity and correctness.
20051         (layoutBorderWithTitle): New helper method.
20052         (paintBorderWithTitle): New helper method.
20053         (getBorderInsets): Rewritten.
20054         (getMinimumSize): Rewritten.
20055         (getRealJustification): Removed.
20056         (getMeasurements): Removed.
20057         (Measurements): Removed.
20058   
20059 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
20060   
20061         * javax/swing/plaf/basic/BasicPanelUI.java
20062         (sharedUI): New field,
20063         (createUI): Return a shared instance rather than a new instance,
20064         (installUI): Reformatted and added API docs,
20065         (installDefaults): Install border if one is defined,
20066         (uninstallDefaults): Uninstall border.
20067
20068 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
20069
20070         * javax/swing/JProgressBar.java: Updated API docs all over.
20071
20072 2006-05-11  Lillian Angel  <langel@redhat.com>
20073
20074         * java/awt/ContainerOrderFocusTraversalPolicy.java
20075         (getComponentAfter): Should not throw exception if
20076         the ancestor is null. Added a check for this.
20077         Also, changed to use new helper function, we should
20078         iterate through all the components at least once.
20079         (getNextAvailableComponent): New helper function.
20080         (getPrevAvailableComponent): New helper function.
20081         (getComponentBefore): Should not throw exception if
20082         the ancestor is null. Added a check for this.
20083         Also, changed to use new helper function, we should
20084         iterate through all the components at least once.
20085         (getFirstComponent): Changed check to manually check
20086         fields. Calling accept() casts the object to a Component,
20087         so different values may be returned.
20088         (getLastComponent): Likewise.
20089
20090 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20091
20092         * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
20093         * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
20094         * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
20095         * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
20096         * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
20097         * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
20098         * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
20099         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
20100         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
20101         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
20102         * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
20103         * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
20104         * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
20105         * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
20106         * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
20107         * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
20108         * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
20109         * javax/swing/plaf/metal/MetalUtils.java: Likewise.
20110
20111 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20112
20113         * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
20114         package-private, added field 'active'.
20115         (PropertyChangeHandler.propertyChange): Added variable 'name', added
20116         cases to update field 'active'.
20117         (mouseDragged): Added documentation, added if-clause to update
20118         selection or caret position.
20119         (mouseClicked): Added early return when text component is disabled.
20120         (focusGained): Moved statements into an if-clause.
20121         (focusLost): Added subexpression to if-clause.
20122         (install): Preset value of 'active'.
20123         (paint): Added subexpression to if-clause.
20124         (isVisible): Extended return expression.
20125         * javax/swing/text/JTextComponent.java:
20126         (copy): Copy only if component is enabled.
20127         (cut): Cut only if component is enabled and editable.
20128         (paste): Dito.
20129
20130 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20131
20132         * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
20133         * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
20134         * javax/swing/plaf/multi/MultiListUI.java: Likewise,
20135         * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
20136         * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
20137         * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
20138         * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.      
20139
20140 2006-05-11  Roman Kennke <kennke@aicas.com>
20141
20142         * gnu/java/awt/font/GNUGlyphVector.java
20143         (GNUGlyphVector): Don't apply the font renderer context's
20144         transform.
20145   
20146 2006-05-11  Mark Wielaard  <mark@klomp.org>
20147
20148         * java/util/logging/Logger.java (global): Initialize inside static
20149         PrivilegedAction.
20150
20151 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20152   
20153         * javax/swing/JFrame.java
20154         (EXIT_ON_CLOSE): Added note to API docs,
20155         (close_action): Renamed closeAction,
20156         (JFrame()): Change title to "",
20157         (JFrame(String)): Added API docs,
20158         (getAccessibleContext): Likewise,
20159         (getDefaultCloseOperation): Updated for renamed field, added API docs,
20160         (processWindowEvent): Updated for renamed field,
20161         (setDefaultCloseOperation): Likewise, and updated API docs.
20162   
20163 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20164   
20165         * javax/swing/JFrame.java
20166         (paramString): Reimplemented,
20167         * javax/swing/SwingUtilities.java
20168         (convertWindowConstantToString): New method.
20169   
20170 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20171   
20172         * javax/swing/WindowConstants.java: Updated API docs.
20173   
20174 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20175   
20176         * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
20177         (createUI): Removed 'final' qualifier for parameter,
20178         (paint): Reformatted.
20179   
20180 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20181   
20182         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
20183         (createUI): Removed 'final' qualifier on method argument.
20184   
20185 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20186   
20187         * javax/swing/plaf/basic/BasicCheckBoxUI.java
20188         (getDefaultIcon): Removed this redundant method.
20189
20190 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20191
20192         * javax/swing/plaf/basic/BasicRadioButtonUI.java
20193         (paint): Pass component size to paintFocus().
20194
20195 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20196
20197         * java/awt/Component.java:
20198         (dispatchEventImpl): Added comment.
20199   
20200   2006-05-11  Mark Wielaard  <mark@klomp.org>
20201   
20202         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
20203         Option constructor null argument to String.
20204   
20205 2006-05-11  Mark Wielaard  <mark@klomp.org>
20206
20207         * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
20208         Fully qualify PathIterator constants
20209
20210 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20211
20212         * java/awt/Component.java:
20213         (dispatchEventImpl): Added subexpression to if-clause.  
20214
20215 2006-05-11  Mark Wielaard  <mark@klomp.org>
20216
20217         * java/util/Collections.java (UnmodifiableMapEntry): Qualify
20218         Map.Entry.
20219
20220 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20221
20222         * javax/swing/TransferHandler.java: Marked stub methods.
20223
20224 2006-05-10  Roman Kennke <kennke@aicas.com>
20225
20226         PR classpath/27481
20227         * javax/swing/plaf/basic/BasicInternalFrameUI.java
20228         (installDefaults): Set background of content pane to null, if
20229         no custom color has been installed by the application yet.
20230
20231 2006-05-10  Roman Kennke <kennke@aicas.com>
20232
20233         PR classpath/27481
20234         * javax/swing/JRootPane.java
20235         (createContentPane): Don't set background to null.
20236
20237 2006-05-10  Sven de Marothy <sven@physto.se>
20238
20239         * java/awt/print/PrinterJob.java:
20240         (lookupPrintServices): Un-comment-out.
20241
20242 2006-05-11  Raif S. Naffah  <raif@swiftdsl.com.au>
20243
20244         * tools/gnu/classpath/tools/getopt/OptionGroup.java
20245         (FILLER): New constant.
20246         (formatText(PrintStream,String,int)): New method.
20247         (formatText(PrintStream,String,int,Locale)): Likewise.
20248         (printHelp): Use formatText method.
20249         * tools/gnu/classpath/tools/getopt/Parser.java
20250         (MAX_LINE_LENGTH): New constant.
20251         (formatText(PrintStream,String)): New method.
20252         (formatText(PrintStream,String,Locale)): Likewise.
20253         (printHelp): New method.
20254         (printHelp(PrintStream)): Increased visibility to protected.
20255         Use formatText method.
20256
20257 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20258
20259         * javax/swing/plaf/metal/MetalRadioButtonUI.java
20260         (installDefaults): Use getPropertyPrefix() to allow subclasses to 
20261         modify the lookup key.
20262
20263 2006-05-10  Lillian Angel  <langel@redhat.com>
20264
20265         * java/util/SimpleTimeZone.java: Reverted patch.
20266         (SimpleTimeZone): Throw exception if startMonth == 
20267         endMonth.
20268         (SimpleTimeZone): Likewise.
20269         (checkRule): Rewritten to properly check all values (more 
20270         efficently).
20271         This code is now more stable, at least less buggy than before. 
20272         Fixed API documentation.
20273         (setStartRule): Moved checkRule call to end.
20274         (setStartRule): Likewise.
20275         (setEndRule): Likewise.
20276         (setEndRule): Likewise.
20277
20278 2006-05-10  Roman Kennke <kennke@aicas.com>
20279
20280         * gnu/java/awt/peer/swing/SwingComponent.java:
20281         Some API comment fixlets.
20282         * gnu/java/awt/peer/swing/SwingComponentPeer.java:
20283         (createImage): Create a BufferedImage, not a Toolkit image.
20284         (paint): Removed bogus API comment.
20285         (prepareImage): Added checks to avoid NPE.
20286         * gnu/java/awt/peer/swing/SwingContainerPeer.java:
20287         (getInsets): Added check to avoid NPE.
20288         (handleMouseEvent): Added check to avoid NPE.
20289         * gnu/java/awt/peer/swing/SwingFramePeer.java:
20290         Some API comment fixlets.
20291         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
20292         Some API comment fixlets.
20293         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
20294         Changed start_pos name to startPos.
20295         * gnu/java/awt/peer/swing/SwingWindowPeer.java:
20296         Some API comment fixlets.
20297
20298 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20299
20300         * java/awt/BasicStroke.java
20301         (equals): Fixed typo in HTML tag for API doc comment.
20302
20303 2006-05-10  Gary Benson  <gbenson@redhat.com>
20304
20305         * java/lang/ThreadGroup.java (parent): Make package-private.
20306         * java/lang/SecurityManager.java (checkAccess(Thread)):
20307         Reference ThreadGroup.parent directly to avoid extra checks.
20308         * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
20309         Likewise.
20310
20311 2006-05-10  Roman Kennke <kennke@aicas.com>
20312
20313         Reported by Ingo Proetel (proetel@aicas.com)
20314         * java/awt/EventDispatchThread.java
20315         (DEFAULT_PRIORITY): New constant field.
20316         (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
20317         system property for adjusting the priority of the event
20318         dispatch thread.
20319
20320 2006-05-10  Roman Kennke <kennke@aicas.com>
20321
20322         Reported by Ingo Proetel (proetel@aicas.com)
20323         * java/awt/image/ColorModel.java
20324         (S_RGB_MODEL): New constant field.
20325         (getRGBDefault): Return constant SRGBColorModel.
20326         (SRGBColorModel): Specialized color model for sRGB.
20327
20328 2006-05-10  Roman Kennke <kennke@aicas.com>
20329
20330         * java/awt/ColorPaintContext.java
20331         (getRaster): Create Raster with (0,0) as source location.
20332
20333 2006-05-10  Roman Kennke <kennke@aicas.com>
20334
20335         * gnu/java/awt/java2d/AlphaCompositeContext.java
20336         (compose): Don't premultiply alpha to alpha itself.
20337
20338 2006-05-10  Roman Kennke <kennke@aicas.com>
20339
20340         * gnu/java/awt/java2d/AbstractGraphics2D.java
20341         (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
20342         (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
20343         New method.
20344         (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
20345         (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
20346         (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
20347         New method.
20348         (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
20349         (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
20350         New method.
20351         (scale): Inverse transform by doing 1/scale instead of -scale.
20352         (drawImage(Image,int,int,ImageObserver)): Implemented.
20353         (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
20354         (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
20355         (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
20356         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
20357         Implemented.
20358         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
20359         Implemented.
20360         (fillScanline): Work on translated destination raster for
20361         correct compositin.
20362         (init): Fetch the clip after the destination raster is initialized.
20363         * gnu/java/awt/java2d/ImagePaint.java: New file.
20364         * gnu/java/awt/java2d/RasterGraphics
20365         (drawImage): Removed.
20366
20367 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20368
20369         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20370         Clarify option descriptions.
20371         * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
20372         uppercase for metasyntactic variables.
20373
20374 2006-05-09  Robert Schuster  <robertschuster@fsfe.org>
20375
20376         PR classpath/24216
20377         * javax/swing/text/AbstractDocument.java:
20378         (insertString): Added more documentation, added argument check.
20379         (remove): Added more documentation.
20380         (removeImpl): Added argument check.
20381         (replace): Added more documentation, added argument check.
20382
20383 2006-05-09  Tom Tromey  <tromey@redhat.com>
20384
20385         * tools/.cvsignore: Added appletviewer.
20386
20387 2006-05-09  Tom Tromey  <tromey@redhat.com>
20388
20389         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
20390         empty groups.
20391
20392 2006-05-09  Tom Tromey  <tromey@redhat.com>
20393
20394         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): 
20395         Special case for '-J'.  Use space instead of '='.
20396         * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20397         comment.
20398
20399 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20400
20401         * configure.ac: Add --disable-plugin and --with-vm options.  Check
20402         for plugin support headers and libraries.
20403         * native/Makefile.am: Recurse into plugin directory.
20404         * native/plugin/.cvsignore: New file.
20405         * native/plugin/Makefile.am: New file.
20406         * native/plugin/gcjwebplugin.cc: New file.
20407         * tools/Makefile.am: Install appletviewer wrapper script.
20408         * tools/appletviewer.in: Replace VM location heuristic with
20409         VM_BINARY configure substitution.
20410
20411 2006-05-09  Tom Tromey  <tromey@redhat.com>
20412
20413         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20414         an initial pass to look for short options.  Added 'longOnly' option.
20415         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20416         option.
20417         * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20418         options into final group.  Added -J.
20419         (add): Insert new groups before final group.
20420         (printHelp): Updated.
20421
20422 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20423
20424         PR 27518
20425         * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20426         tools/gnu/classpath/tools/rmi/RMIC.java (main):
20427         Expect -classpath option.
20428         * tools/gnu/classpath/tools/rmi/RMIC.txt,
20429         tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20430         -classpath option.
20431         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20432         (classLoader): New field. (loadClass, setClassPath):
20433         New methods.
20434
20435 2006-05-09  Roman Kennke <kennke@aicas.com>
20436
20437         * gnu/java/awt/java2d/RasterGraphics.java
20438         (RasterGraphics): Call init() and super().
20439         (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20440         this.
20441
20442 2006-05-09  Gary Benson  <gbenson@redhat.com>
20443
20444         * java/lang/Thread.java (Thread): Always perform threadgroup
20445         access checks on thread creation.
20446
20447 2006-05-09  Chris Burdess  <dog@gnu.org>
20448
20449         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20450           be preserved during cloneNode.
20451
20452 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20453
20454         PR 27517
20455         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile): 
20456         Do not demand all thrown exceptions to be an instance of RemoteException.
20457
20458 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20459
20460         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20461         Use hash-style comments.
20462         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20463         Likewise.
20464
20465 2006-05-09  David Gilbert  <david.gilbert@object-refinery.com>
20466
20467         * javax/swing/JLabel.java
20468         (paramString): Added more attribute details,
20469         * javax/swing/SwingUtilities.java
20470         (convertHorizontalAlignmentCodeToString): New method,
20471         (convertVerticalAlignmentCodeToString): New method.
20472
20473 2006-05-08  Tom Tromey  <tromey@redhat.com>
20474
20475         * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20476         * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20477         * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20478         ZipInputStream.
20479         (run): Updated.
20480         * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20481         for verbose.
20482         (run): Use ZipInputStream.
20483         (initSet): New method.
20484         (shouldExtract): Likewise.
20485         (run): Use new methods.
20486         * tools/gnu/classpath/tools/jar/Creator.java
20487         (writeCommandLineEntries): New overload.
20488         (writeFile): Use System.err for verbose.
20489         (writeManifest): New method.
20490         (writtenItems): New field.
20491         (writeFile): Update it.
20492         (writeCommandLineEntries): Return void.  Call writeManifest.
20493         (addEntries): Don't add extra '/'.
20494         * NEWS: Mention jar.
20495
20496 2006-05-08  Lillian Angel  <langel@redhat.com>
20497
20498         * gnu/java/net/IndexListParser.java: New class.
20499         * java/net/URLClassLoader.java
20500         (JarURLLoader): Fixed code to use new class.
20501
20502 2006-05-08  Roman Kennke <kennke@aicas.com>
20503
20504         * javax/swing/JComboBox.java
20505         (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20506         (AccessibleJComboBox.getAccessibleChild): Implemented.
20507         (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20508         (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20509         (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20510         (AccessibleJComboBox.getAccessibleAction): Implemented.
20511         (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20512         (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20513         (AccessibleJComboBox.doAccessibleAction): Implemented.
20514         (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20515         (AccessibleJComboBox.addAccessibleSelection): Implemented.
20516         (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20517         (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20518         (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20519
20520 2006-05-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
20521
20522         * configure.ac: Add support for building appletviewer.
20523         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20524         New file.
20525         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20526         New file.
20527         * tools/appletviewer.c: New file.
20528         * tools/appletviewer.in: New file.
20529         * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20530         New file.
20531         * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20532         New file.
20533         * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20534         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20535         file.
20536         * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20537         New file.
20538         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20539         New file.
20540         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20541         file.
20542         * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20543         file.
20544         * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20545         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20546         New file.
20547         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20548         New file.
20549         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20550         New file.
20551         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20552         New file.
20553         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20554         New file.
20555         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20556         New file.
20557         * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20558         file.
20559
20560 2006-05-08  Tom Tromey  <tromey@redhat.com>
20561
20562         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20563         * tools/gnu/classpath/tools/jar/Action.java: New file.
20564         * tools/gnu/classpath/tools/jar/Creator.java: New file.
20565         * tools/gnu/classpath/tools/jar/Entry.java: New file.
20566         * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20567         * tools/gnu/classpath/tools/jar/Lister.java: New file.
20568         * tools/gnu/classpath/tools/jar/Main.java: New file.
20569         * tools/gnu/classpath/tools/jar/Updater.java: New file.
20570         * tools/gnu/classpath/tools/getopt/Option.java: New file.
20571         * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20572         * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20573         * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20574         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20575         file.
20576
20577 2006-05-08  Lillian Angel  <langel@redhat.com>
20578
20579         * java/net/URLClassLoader.java
20580         (JarURLLoader): Added check to make sure the INDEX.LIST file
20581         exists.
20582
20583 2006-05-08  Roman Kennke <kennke@aicas.com>
20584
20585         * gnu/java/awt/java2d/AbstractGraphics2D.java
20586         (fill): Removed commented out code.
20587         (fillShape): Also determine the outline of the clip and feed
20588         it into the rendering method. Use new helper method for
20589         converting the shapes into lists of segments.
20590         (getUserBounds): Removed obsolete method.
20591         (rawFillShape): Respect the clip when rendering shapes.
20592         (fillShapeAntialias): Adjusted signature for new clipped rendering.
20593         However, the implementation can't clip still.
20594         (getSegments): New helper method for converting a shape into
20595         a list of segments.
20596         (clipShape): Removed obsolete method.
20597         * gnu/java/awt/java2d/PolyEdge.java
20598         (isClip): New field.
20599         (PolyEdge): Added isField argument to constructor.
20600
20601 2006-05-08  Roman Kennke <kennke@aicas.com>
20602
20603         PR 27481
20604         * javax/swing/JRootPane.java
20605         (createContentPane): Set background of the content pane to null,
20606         so that the content pane inherits its background from the
20607         root pane.
20608
20609 2006-05-08  Roman Kennke <kennke@aicas.com>
20610
20611         PR 27480
20612         * javax/swing/ButtonGroup.java
20613         (add): Check if new button is selected and if so, deselect other
20614         buttons in the group.
20615
20616 2006-05-08  Lillian Angel  <langel@redhat.com>
20617
20618         PR 27444
20619         * java/net/URLClassLoader.java
20620         (JarURLLoader): Added code to go through 
20621         META-INF/INDEX.LIST file to load all jars listed.
20622
20623 2006-05-08  Roman Kennke <kennke@aicas.com>
20624
20625         PR 27461
20626         * javax/swing/ImageIcon.java
20627         (ImageIcon(URL)): Set description to URL.toString().
20628
20629 2006-05-08  Roman Kennke <kennke@aicas.com>
20630
20631         PR 27482
20632         * javax/swing/JTable.java
20633         (IconCellRenderer.getTableCellRendererComponent): Set icon to
20634         null when cell value is null.
20635
20636 2006-05-08  Roman Kennke <kennke@aicas.com>
20637
20638         PR 27484
20639         * javax/swing/DefaultDesktopManager.java
20640         (closeFrame): Don't perform default close action on the frame
20641         to prevent endless loop.
20642
20643 2006-05-08  Roman Kennke <kennke@aicas.com>
20644
20645         PR 27485
20646         * javax/swing/table/DefaultTableModel.java
20647         (addExtraRows): New helper method.
20648         (checkSize): New helper method.
20649         (setRowCount): Use addExtraRows helper method.
20650         (addColumn): Use addExtraRows helper method.
20651         (getColumnName): Check and adjust size if necessary using
20652         checkSize().
20653
20654 2006-05-08  Roman Kennke <kennke@aicas.com>
20655
20656         PR 27486
20657         * javax/swing/JTable.java
20658         (setValueAt): Allow setting values even when table is editable.
20659
20660 2006-05-08  Tom Tromey  <tromey@redhat.com>
20661
20662         * java/text/SimpleDateFormat.java (compileFormat): Added missing
20663         space to error message.
20664
20665 2006-05-08  David Gilbert  <david.gilbert@object-refinery.com>
20666
20667         * javax/swing/AbstractButton.java: Fixed comment typos.
20668
20669 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20670
20671         PR classpath/27435:
20672         * java/util/zip/DeflaterEngine.java:
20673         (deflateFast(boolean,boolean)): Empty buffer when full.
20674         
20675 2006-05-07  Sven de Marothy <sven@physto.se>
20676
20677         Fixed PR27343
20678         * java/util/Calendar.java (setTimeZone): Force recalculation.
20679         
20680 2006-05-07  Sven de Marothy <sven@physto.se>
20681
20682         Fixed PR27463
20683         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20684         (propertyChange): Handle FRAME_ICON_PROPERTY property.
20685         
20686 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20687
20688         PR classpath/27311:
20689         * gnu/java/text/StringFormatBuffer.java:
20690         (toString()): Implemented so we can see the contents.
20691         * java/text/DecimalFormat.java:
20692         (formatInternal(double,StringFormatBuffer,FieldPosition)):
20693         Don't calculate the exponent when the number is 0 or less.
20694         Also, use log10 instead of log now it's available.
20695         
20696 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
20697
20698         * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20699         Use instance's field creationDate not the constructor's argument.
20700         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20701         Removed unused imports.
20702         Sorted imports.
20703         (log): New field.
20704         (decrypt): Added trace/debug/timing statements.
20705         (encrypt): Likewise.
20706         Use PRNG instead of instantiating every time a new SecureRandom.
20707         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20708         Removed unused imports.
20709         Sorted imports.
20710         (log): New field.
20711         (verify): Added trace/debug/timing statements.
20712         (authenticate): Likewise.
20713         Use PRNG instead of instantiating every time a new SecureRandom.
20714
20715 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
20716
20717         * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20718         (THREAD_FORMAT): Likewise.
20719         (dateFormat): Added field.
20720         (threadFormat): Added field.
20721         (format): Initialize instance fields if null.
20722         Use StringBuilder instead of StringBuffer.
20723
20724 2006-05-07  Roman Kennke <kennke@aicas.com>
20725
20726         * gnu/java/awt/java2d/RasterGraphics.java: New file.
20727
20728 2006-05-07  Roman Kennke <kennke@aicas.com>
20729
20730         * gnu/java/awt/java2d/AbstractGraphics2D.java
20731         (fillShape): Determine user space bounds of shape and feed them
20732         into the actual rendering pipeline.
20733         (rawSetPixel): Made non-abstract for now. Maybe remove later.
20734         (rawSetForeground): Likewise.
20735         (getDestinationColorModel): Removed.
20736         (getDeviceBounds): Made non-abstract. Provide useful default impl.
20737         (rawFillShape): Handle paint context.
20738         (fillScanline): Implement painting and compositing.
20739         (fillShapeAntialias): Handle paint context.
20740         (fillScanlineAA): Implemented preliminary antialiasing based on
20741         composite context. Not working yet.
20742         (fillScanlineAlpha): Removed.
20743         (init): Fetch destination raster.
20744         (getDestinationRaster): New abstract method.
20745         (updateRaster): New backend method.
20746
20747 2006-05-07  Roman Kennke <kennke@aicas.com>
20748
20749         * gnu/java/awt/java2d/AlphaCompositeContext.java
20750         (compose): Fixed loops, conditions and logic to make compositing
20751         work correctly.
20752
20753 2006-05-07  Roman Kennke <kennke@aicas.com>
20754
20755         * java/awt/ColorPaintContext.java
20756         (ColorPaintContext): Fixed filling of the raster.
20757
20758 2006-05-07  Sven de Marothy <sven@physto.se>
20759
20760         Fixed PR27455
20761         * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20762         * java/awt/Component.java (processMouseEvent): 
20763         Do lightweight cursor handling.
20764         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
20765         (endResizing,mouseMoved): Save and reset original cursor, not the 
20766         default one.
20767
20768 2006-05-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20769
20770         PR 27298
20771         * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20772         getNodeDimensions): Mind the size of the node icon. (getRowX):
20773         use totalChildIndent. (TreeExpansionHandler): Set maximal height
20774         to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20775         Return nullIcon if there is no other icon. (getNodeIcon): New method.
20776         (installDefaults): assign totalChildIndent. (installUI): Call
20777         updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20778         (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20779         the tree.
20780
20781 2006-05-06  Sven de Marothy <sven@physto.se>
20782
20783         Fixed PR27454
20784         * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled): 
20785         Check for zero image sizes.
20786         
20787 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
20788
20789         Fixed PR27362
20790         * java/util/Calendar.java (clear(int)): Forced internal state
20791         completion before performing a field clearing.
20792
20793 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
20794
20795         * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20796         UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20797         (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20798         UnmodifiableMap.UnmodifiableEntrySet.toArray,
20799         UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20800         UnmodifiableMapEntry as part of their return value. 
20801
20802 2006-05-06  Raif S. Naffah  <raif@swiftdsl.com.au>
20803
20804         * tools/keytool.sh.in: Removed (renamed to keytool.in).
20805         * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20806         * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20807         Generate jarsigner and keytool scripts.
20808         * tools/keytool.in: New file (renamed from keytool.sh.in).
20809         * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20810         * tools/.cvsignore: Replaced *.sh with *
20811         * configure.ac: Replaced tools/*.sh with tools/*.
20812
20813 2006-05-05  Roman Kennke <kennke@aicas.com>
20814
20815         * java/awt/image/ColorModel.java
20816         (getNormalizedComponents): Implemented.
20817
20818 2006-05-05  Roman Kennke <kennke@aicas.com>
20819
20820         * javax/swing/plaf/basic/BasicRadioButtonUI.java
20821         (paint): Query the button model for it's state, not the
20822         button itself.
20823
20824 2006-05-05  Roman Kennke <kennke@aicas.com>
20825
20826         * javax/swing/JTable.java
20827         (tableChanged): Sync selection model with table model changes.
20828
20829 2006-05-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20830
20831         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20832         if there are no visible nodes to paint.
20833
20834 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20835
20836         * javax/swing/JOptionPane.java: API doc updates.
20837
20838 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20839
20840         * javax/swing/JToolBar.java
20841         (paramString): Reimplemented.
20842
20843 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20844
20845         * javax/swing/JScrollBar.java
20846         (paramString): Reimplemented.
20847
20848 2006-05-04  Tom Tromey  <tromey@redhat.com>
20849
20850         PR classpath/27375:
20851         * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20852         (readEntries): Updated.
20853         (getEntries): Likewise.
20854         (getEntry): Likewise.
20855         (getInputStream): Likewise.
20856
20857 2006-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
20858
20859         * gnu/javax/imageio/jpeg/DCT.java,
20860         gnu/javax/imageio/jpeg/HuffmanTable.java,
20861         gnu/javax/imageio/jpeg/JPEGComponent.java,
20862         gnu/javax/imageio/jpeg/JPEGDecoder.java,
20863         gnu/javax/imageio/jpeg/JPEGException.java,
20864         gnu/javax/imageio/jpeg/JPEGFrame.java,
20865         gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20866         gnu/javax/imageio/jpeg/JPEGImageReader.java,
20867         gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20868         gnu/javax/imageio/jpeg/JPEGMarker.java,
20869         gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20870         gnu/javax/imageio/jpeg/JPEGScan.java,
20871         gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20872         gnu/javax/imageio/jpeg/ZigZag.java: New files.
20873
20874 2006-05-04  Lillian Angel  <langel@redhat.com>
20875
20876         * javax/swing/JLabel.java
20877         (JLabel): Pass in an empty string for the text parameter.
20878         (JLabel): Likewise.
20879         (JLabel): Likewise.
20880
20881 2006-05-04  Roman Kennke <kennke@aicas.com>
20882
20883         * javax/swing/plaf/basic/BasicButtonListener.java
20884         (mouseEntered): Fixed conditions for changing states.
20885
20886 2006-05-04  Roman Kennke <kennke@aicas.com>
20887
20888         * javax/swing/JOptionPane.java
20889         (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20890
20891 2006-05-04  Roman Kennke <kennke@aicas.com>
20892
20893         * javax/swing/JLabel.java
20894         (AccessibleJLabel.getSelectedText): Return null instead of "".
20895         (AccessibleJLabel.getSelectionStart): Added comment why
20896         return -1 is correct here.
20897         (AccessibleJLabel.getSelectionEnd): Added comment why
20898         return -1 is correct here.
20899         (AccessibleJLabel.getCharacterAttribute): Added comment about what
20900         to do here.
20901         (AccessibleJLabel.getCharCount): Added comment about what
20902         to do here.
20903         (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20904         (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20905         (paramString): Return super.paramString() here, this provides
20906         a more meaningful output.
20907
20908 2006-05-04  Roman Kennke <kennke@aicas.com>
20909
20910         * javax/swing/JComponent.java
20911         (paint): Added null check to avoid NPE when clip == null.
20912
20913 2006-05-04  Roman Kennke <kennke@aicas.com>
20914
20915         * javax/swing/AbstractButton.java
20916         (addImpl): New method. Installs an OverlayLayout if no
20917         other layout has been installed before.
20918         (setLayout): New method. Detect if a client app installs a custom
20919         layout.
20920
20921 2006-05-04  Roman Kennke <kennke@aicas.com>
20922
20923         * javax/swing/table/DefaultTableCellRenderer.java
20924         (noFocusBorder): Fixed width of empty border to 1.
20925         (getTableCellRendererComponent): Don't change the colors for
20926         focuses cells. Fixed border for focused cells.
20927
20928 2006-05-04  Roman Kennke <kennke@aicas.com>
20929
20930         * javax/swing/JTable.java
20931         (moveToCellBeingEdited): Adjust bounding box of editing component
20932         to exactly cover the grid.
20933         * javax/swing/plaf/basic/BasicTableUI.java
20934         (paint): Paint grid to the bottom and right of the cells instead
20935         of left and top. Adjust bounding box of cells accordingly.
20936         * javax/swing/plaf/metal/MetalLookAndFeel.java
20937         (initComponentDefaults): Fixed color of JTable selection border.
20938         * javax/swing/plaf/metal/OceanTheme.java
20939         (addCustomEntriesToTable): Fixed color of JTable selection border.
20940
20941 2006-05-04  Raif S. Naffah  <raif@swiftdsl.com.au>
20942
20943         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20944         Use _alias instead of alias.
20945
20946 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20947
20948         * configure.ac:
20949         Set version to 0.92-pre.
20950         * NEWS:
20951         Add space for 0.92 entries.
20952
20953 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20954
20955         * include/Makefile.am:
20956         Added rules for gnu.java.net.local.LocalSocketImpl.h
20957         * include/java_lang_VMSystem.h:
20958         Regenerated correctly.
20959         
20960 2006-05-03  Sven de Marothy <sven@physto.se>
20961        
20962         PR 24023, 24701
20963         * java/awt/Image.java:
20964         (getScaledInstance): Default to AreaAveraging for "smooth", 
20965         don't thrown an error on illegal flag values.
20966         * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20967
20968 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
20969
20970         * javax/swing/text/FieldView.java:
20971         (adjustAllocation): Added if-block to return null when shape argument
20972         is null.
20973         * javax/swing/text/PlainView.java:
20974         (updateDamage): Added if-block to return early if a is null.
20975
20976 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
20977
20978         * javax/swing/plaf/basic/BasicTextUI.java:
20979         (changeUpdate): Added note.
20980         (removeUpdate): Dito.
20981         (insertUpdate): Dito.
20982         (damageRange): Added if-block to return early.
20983         (modelToView): Added check of getVisibleEditorRect's return value.
20984         (getVisibleEditorRect): Return null instead of empty rectangle.
20985         * javax/swing/text/DefaultCaret.java:
20986         (clearHighlight): Removed if-clause to create a highlight entry if it
20987         did not exist before.
20988         * javax/swing/text/WrappedPlainView.java:
20989         (WrappedLine.modelToView): Throw exception if allocation area is empty,
20990         removed 2nd part of if-expression.
20991         (WrappedLine.updateDamage): Added more documentation, added check
20992         whether allocation area rectangle is null.
20993
20994 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20995
20996         * javax/swing/JSplitPane.java (setDividerLocation(int)):
20997         Reset to preferred sizes if the argument is negative.
20998
20999 2006-05-03  David Gilbert  <david.gilbert@object-refinery.com>
21000
21001         * javax/swing/JList.java: Added/updated API docs.
21002
21003 2006-05-03  Lillian Angel  <langel@redhat.com>
21004
21005         * javax/swing/JComponent.java
21006         (getRoot): New private function. Gets the root appropriate
21007         for painting. If an applet exists as a parent, then it is returned.
21008         (paintDoubleBuffered): Changed to use new function.
21009         * javax/swing/RepaintManager.java
21010         (getRoot): New private function. Gets the root appropriate
21011         for painting. If an applet exists as a parent, then it is returned.
21012         (getOffscreenBuffer): Changed to use new function.
21013         * javax/swing/SwingUtilties.java
21014         (getRoot): Reverted last patch to return Window, even if 
21015         an Applet exists.
21016
21017 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
21018
21019         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
21020         a pair of one public keyring and one private keyring.
21021         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
21022         (containsCertificate): Added logging.
21023         (getCertificate): Likewise.
21024         (putCertificate): Likewsie.
21025         (load): Likewise.
21026         (store): Likewise.
21027         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
21028         (containsPrivateKey): Added logging.
21029         (getPrivateKey): Likewise.
21030         (putPrivateKey): Likewise.
21031         (containsPublicKey): Likewise.
21032         (getPublicKey): Likewise.
21033         (putPublicKey): Likewise.
21034         (containsCertPath): Likewise.
21035         (getCertPath): Likewise.
21036         (putCertPath): Likewise.
21037         (load): Likewise.
21038         (store): Likewise.
21039
21040 2006-05-03  Roman Kennke <kennke@aicas.com>
21041
21042         * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
21043         * java/awt/AlphaComposite.java
21044         (createContext): Implemented.
21045
21046 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21047
21048         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
21049         Set the current color again after drawing the raster.
21050
21051 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21052
21053         * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
21054         Do not check pos < currLineEnd if currLineStart == currLineEnd.
21055
21056 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
21057
21058         * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
21059         Assign returned value to field handler.
21060         * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
21061         Likewise.
21062
21063 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21064
21065         * javax/swing/ScrollPaneLayout.java (layoutContainer):
21066         Return without action if there is no view in the viewport.
21067         * javax/swing/text/WrappedPlainView.java 
21068         (WrappedLine.getPreferredSpan): If metrics == null, update
21069         metrics.
21070         * javax/swing/tree/DefaultTreeModel.java (constructors):
21071         Do not call setRoot, assign the root node directly.
21072
21073 2006-05-02  Lillian Angel  <langel@redhat.com>
21074
21075         * javax/swing/SwingUtilities.java
21076         (getRoot): Should return the Applet if it exists.
21077         Only return the Window if an Applet has not been
21078         encountered.
21079
21080 2006-05-02  Lillian Angel  <langel@redhat.com>
21081
21082         * gnu/javax/swing/text/html/parser/support/Parser.java
21083         (readAttributes): Reverted Audrius' last patch. There is 
21084         a slight difference in code between the NUMTOKEN and SLASH case. 
21085
21086 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
21087
21088         * javax/swing/text/JTextComponent.java:
21089         (setText): Throw InternalError from catch-block.
21090         * javax/swing/text/GapContent.java:
21091         (removed): Removed if-expression, changed '>' to '>='.
21092
21093 2006-05-02  Roman Kennke <kennke@aicas.com>
21094
21095         * gnu/java/awt/java2d/AbstractGraphics2D.java
21096         (AA_SAMPLING): New constant.
21097         (alpha): New field. Used in the antialiasing renderer.
21098         (edgeTable): New field. Used in the antialiasing renderer.
21099         (AbstractGraphics2D): Initialize rendering hints wrt
21100         anti-aliasing.
21101         (draw): Clip after stroking. Commented out clipping for now,
21102         it seems to be buggy.
21103         (fill): Commented out clipping for now, it seems to be buggy.
21104         (setComposite): Don't create composite context.
21105         (setPaint): Only change paint when parameter is not null.
21106         (translate): Call setClip() so subclasses can update their clip
21107         too.
21108         (clip): Call setClip() so subclasses can update their clip
21109         too.
21110         (drawGlyphVector): Added clipping, but left it commented out
21111         because it's buggy.
21112         (getClipBounds): Returns null when clip is null.
21113         (drawLine): Call rawDrawLine with translation applied.
21114         (filLRect): Call rawFillRect with translation applied.
21115         (fillShape): Added support for anti-aliasing.
21116         (rawSetForeground(int,int,int)): New method.
21117         (rawFillShape): A couple of painting fixes.
21118         (fillScanline): Implemented to call rawDrawLine.
21119         (fillShapeAntialias): New method. Implements an anti-aliasing
21120         shape filler.
21121         (fillScanlineAA): New method. Used for the anti-aliasing
21122         shape filler.
21123         (fillScanlineAlpha): New method. Used for the anti-aliasing
21124         shape filler.
21125         (init): Initialize clip with the device bounds.
21126         (updateOptimization): Fixed the optimization condition.
21127
21128 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
21129
21130         * javax/swing/text/GapContent.java:
21131         (GapContent): Restrict size argument by 2.
21132         (insertString): Changed expression from >= to >.
21133         (remove): Changed right side of expression to 'length - 1', changed
21134         exception message.
21135         (getChars): Throw exception if where below 0.
21136         (replace): Replaced call to setPositionsInRange() with
21137         resetMarksAtZero(), removed note.
21138
21139 2006-05-02  Roman Kennke <kennke@aicas.com>
21140
21141         PR 27326
21142         * javax/swing/MenuSelectionManager.java
21143         (setSelectedPath): Rewritten.
21144
21145 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21146
21147         * gnu/javax/swing/text/html/parser/support/Parser.java
21148         (readAttributes): Merge case NUMTOKEN: and case SLASH:
21149         sections.
21150
21151 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21152
21153         * tools/.cvsignore: Added keytool.sh.
21154         * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
21155
21156 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21157
21158         * doc/tools.texinfo: New file.
21159         * doc/Makefile.am: Generate tools documentation.
21160
21161 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21162
21163         * tools/keytool.sh.in: New file.
21164         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
21165         * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
21166         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
21167         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
21168         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
21169         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
21170         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
21171         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
21172         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
21173         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
21174         * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
21175         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
21176         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
21177         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
21178         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
21179         * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
21180         * tools/gnu/classpath/tools/keytool/package.html: Likewise.
21181         * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
21182
21183 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21184
21185         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
21186         resemble more closely man-page style text.
21187         * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
21188         Mark (Eclipse) strings that need not be externalised.
21189         (writeSF): Likewise.
21190         (writeDSA): Likewise.
21191         Use package-private Messages class to provide i18n-ready strings.
21192         (startSigning):
21193         Use package-private Messages class to provide i18n-ready strings.
21194         (updateEntry): Likewise.
21195         Mark (Eclipse) strings that need not be externalised.
21196         (finishSigning): Likewise.
21197         * tools/gnu/classpath/tools/jarsigner/Main.java:
21198         Mark (Eclipse) strings that need not be externalised.
21199         (main): Do not use constant strings as class name.
21200         Use package-private Messages class to provide i18n-ready strings.
21201         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21202         (processArgs): Do not use constant strings as class name.
21203         Mark (Eclipse) strings that need not be externalised.
21204         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21205         (start): Do not use constant strings as class name.
21206         (teardown): Likewise.
21207         Use ProviderUtil.
21208         (setupCommonParams): Do not use constant strings as class name.
21209         Use package-private Messages class to provide i18n-ready strings.
21210         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21211         (installNewProvider): Do not use constant strings as class name.
21212         Use ProviderUtil.
21213         (setupSigningParams): Do not use constant strings as class name.
21214         Use package-private Messages class to provide i18n-ready strings.
21215         Mark (Eclipse) strings that need not be externalised.
21216         (getCallbackHandler): Use CallbackUtil.
21217         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
21218         Use package-private Messages class to provide i18n-ready strings.
21219         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21220         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
21221         (verifySF): Likewise.
21222         (verifySFEntries): Do not use constant strings as class name.
21223         Use Boolean.valueOf instead of new Boolean().
21224         (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
21225         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
21226         New file.
21227         * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
21228         * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
21229
21230 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21231
21232         * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
21233         * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
21234         * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
21235
21236 2006-05-01  Tom Tromey  <tromey@redhat.com>
21237
21238         * java/nio/ByteBufferImpl.java (compact): Don't reset position
21239         in empty case.
21240         * gnu/java/nio/ChannelReader.java (read): Synchronize.
21241         (close): Synchronize.
21242         * java/nio/ShortBufferImpl.java (compact): Rewrote.
21243         * java/nio/LongBufferImpl.java (compact): Rewrote.
21244         * java/nio/IntBufferImpl.java (compact): Rewrote.
21245         * java/nio/FloatBufferImpl.java (compact): Rewrote.
21246         * java/nio/DoubleBufferImpl.java (compact): Rewrote.
21247         * java/nio/CharBufferImpl.java (compact): Rewrote.
21248         * gnu/java/nio/ChannelWriter.java: New file.
21249         * java/nio/channels/Channels.java (newWriter): Implemented.
21250
21251 2006-05-01  Lillian Angel  <langel@redhat.com>
21252
21253         * java/util/SimpleTimeZone.java
21254         (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
21255         (SimpleTimeZone): Likewise.
21256         (checkRule): Rewritten to properly check all values (more efficently). 
21257         This code is now more stable, at least less buggy than before. Fixed
21258         API documentation.
21259         (setStartRule): Moved checkRule call to end.
21260         (setStartRule): Likewise.
21261         (setEndRule): Likewise.
21262         (setEndRule): Likewise.
21263
21264 2006-05-01  Tom Tromey  <tromey@redhat.com>
21265
21266         * lib/.cvsignore: Added classes.2.
21267
21268 2006-05-01  Tom Tromey  <tromey@redhat.com>
21269
21270         * java/util/jar/JarFile.java (provider): Now package-private.
21271         * java/lang/Enum.java (compareTo): Javadoc fix.
21272         * java/lang/Boolean.java (compareTo): Javadoc fix.
21273
21274 2006-05-01  Lillian Angel  <langel@redhat.com>
21275
21276         * gnu/javax/swing/text/html/parser/support/Parser.java
21277         (readAttributes): Formatted function. Added handling for 
21278         SLASH token. The value of an attribute may start with a slash
21279         (i.e. a path). I added handling similar to to the NUMTOKEN code.
21280         We should not be skipping over these type of attributes.
21281
21282 2006-04-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21283
21284         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21285         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21286         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21287         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21288         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21289         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21290         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21291         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21292         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21293         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21294         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21295         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21296         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21297         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21298         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21299         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21300         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21301         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21302         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21303         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21304         * include/gnu_java_awt_peer_gtk_GtkImage.h,
21305         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21306         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21307         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21308         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21309         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21310         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21311         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21312         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21313         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21314         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21315         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21316         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21317         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21318         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21319         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21320         * include/gnu_java_awt_peer_qt_MainQtThread.h,
21321         * include/gnu_java_awt_peer_qt_QMatrix.h,
21322         * include/gnu_java_awt_peer_qt_QPainterPath.h,
21323         * include/gnu_java_awt_peer_qt_QPen.h,
21324         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21325         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21326         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21327         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21328         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21329         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21330         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21331         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21332         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21333         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21334         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21335         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21336         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21337         * include/gnu_java_awt_peer_qt_QtGraphics.h,
21338         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21339         * include/gnu_java_awt_peer_qt_QtImage.h,
21340         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21341         * include/gnu_java_awt_peer_qt_QtListPeer.h,
21342         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21343         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21344         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21345         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21346         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21347         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21348         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21349         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21350         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21351         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21352         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21353         * include/gnu_java_awt_peer_qt_QtToolkit.h,
21354         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21355         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21356         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21357         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21358         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21359         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21360         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21361         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21362         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21363         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21364         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21365         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21366         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21367         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21368         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21369         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21370         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21371         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21372         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21373         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21374         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21375         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21376         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21377         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21378         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21379         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21380         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21381         * include/java_lang_VMProcess.h:
21382         Regenerated.
21383         * native/jni/java-lang/java_lang_VMProcess.c:
21384         Redirect when pipe_count is 2 not 3.    
21385
21386 2006-04-30  Sascha Brawer <sascha@brawer.ch>
21387
21388         * gnu/java/awt/font/FontDelegate.java,
21389         * gnu/java/awt/font/FontFactory.java,
21390         * gnu/java/awt/font/GNUGlyphVector.java,
21391         * gnu/java/awt/font/opentype/CharGlyphMap.java,
21392         * gnu/java/awt/font/opentype/GlyphNamer.java,
21393         * gnu/java/awt/font/opentype/MacResourceFork.java,
21394         * gnu/java/awt/font/opentype/NameDecoder.java,
21395         * gnu/java/awt/font/opentype/OpenTypeFont.java,
21396         * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
21397         * gnu/java/awt/font/opentype/Scaler.java,
21398         * gnu/java/awt/font/opentype/truetype/Fixed.java,
21399         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21400         * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21401         * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21402         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21403         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21404         * gnu/java/awt/font/opentype/truetype/Zone.java,
21405         * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21406         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21407         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21408         New files. Imported font framework from:
21409         http://www.brawer.ch/software/fonts/
21410
21411 2006-04-30  Roman Kennke <kennke@aicas.com>
21412
21413         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21414         (lastTabInRun): Fix calculation of the last tab in a run. This
21415         has caused painting problems sometimes, making the
21416         last tab painted incorrectly.
21417
21418 2006-04-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21419
21420         PR 27297
21421         * javax/swing/JComponent.java (paintChildrenWithOverlap):
21422         Use for and not while to prevent the endless loop.
21423
21424 2006-04-29  David Gilbert  <david.gilbert@object-refinery.com>
21425
21426         * javax/swing/JList.java
21427         (paramString): Changed from public to protected.
21428
21429 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21430
21431         * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21432         (printHelpAndExit): Re-factored to use the above method.
21433
21434 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21435
21436         * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21437         Use -Xbootclasspath/p instead of -cp when invoking the main class.
21438         * tools/gnu/classpath/tools/jarsigner/Main.java:
21439         Changed license to GPL + Exception.
21440         (handler): New field.
21441         (getCallbackHandler): New method.
21442         (setupSigningParams): Use above method.
21443         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21444         Changed license to GPL + Exception.
21445         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21446         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21447         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21448         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21449
21450 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21451
21452         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21453         (handleConfirmation): Use print instead of println.
21454         (handleConfirmation): When case is YES_NO_OPTION, print default option
21455         if one was set.
21456         (handleLanguage): Use print instead of println.
21457
21458 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21459
21460         * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21461         (putComponent): Handle O and OU components.
21462         (getDer): Use correct (it2) iterator.
21463         (readAttributeValue): Read next character and break if end-of-stream.
21464
21465 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21466
21467         * gnu/java/security/provider/Gnu.java (run):
21468         Add "RSA" as an alias to MD5withRSA.
21469         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21470         Always encode a NULL as the value of an algorithm parameters field.
21471         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21472         (encodePrivateKey): Added trace/log statements.
21473         (decodePrivateKey): Likewise.
21474         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21475         (setup): Added trace/log statements.
21476         (generate): Likewise.
21477         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21478         (toString): New method.
21479         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21480         (str): New field.
21481         (toString): New method.
21482         * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21483         (getEncoded): Use defaultFormat.
21484         (toString): New method.
21485         * gnu/java/security/key/dss/DSSKey.java (toString):
21486         Include defaultFormat in string.
21487         * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21488         Break if successfully decoded public key.
21489         (engineGeneratePrivate): Break if successfully decoded private key.
21490
21491 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21492
21493         * java/security/Security.java <clinit>: Add our Callback provider.
21494         * resource/java/security/classpath.security: Likewise
21495
21496 2006-04-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21497
21498         PR 27296
21499         * javax/swing/ScrollPaneLayout.java (layoutContainer):
21500         Decide about scroll bars from the preferred view size, not
21501         the current size.
21502         * javax/swing/ViewportLayout.java (layoutContainer):
21503         Do not change returned preferred size. Do not treat JScrollPane
21504         specially.
21505
21506 2006-04-28  Sven de Marothy <sven@physto.se>
21507
21508         * java/awt/image/ReplicateScaleFilter.java: Fix comment. 
21509         * javax/swing/ProgressMonitor.java (actionPerformed): 
21510         Avoid divide-by-zero.
21511
21512 2006-04-28  Sven de Marothy <sven@physto.se>
21513
21514         * javax/swing/JSpinner.java: Fix default text justification.
21515         * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21516
21517 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21518
21519         * javax/swing/JList.java
21520         (getMinSelectionIndex): Return correct value, added API docs,
21521         (getMaxSelectionIndex): Added API docs.
21522
21523 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21524
21525         * javax/swing/JList.java
21526         (JList(Object[])): Pass new model directly to init(),
21527         (JList(Vector)): Likewise,
21528         (JList(ListModel)): Renamed argument and updated API docs,
21529         (init): Throw IllegalArgumentException for null argument,
21530         (setListData(Object[])): Delegate model creation,
21531         (setListData(Vector)): Likewise,
21532         (createListModel(Object[])): New private method,
21533         (createListModel(Vector)): New private method,
21534         (paramString): Implemented.
21535
21536 2006-04-28  Tom Tromey  <tromey@redhat.com>
21537
21538         * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21539         (isEnum): Rewrote.
21540         (isSynthetic): Likewise.
21541         (isAnnotation): Likewise.
21542         * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21543         (isAnnotation): Likewise.
21544         (isEnum): Likewise.
21545
21546 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21547
21548         * javax/swing/text/View.java:
21549         (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21550         view.
21551
21552 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21553
21554         * javax/swing/text/View.java:
21555         (getNextVisualPositionFrom): Rewritten.
21556         * javax/swing/text/CompositeView.java:
21557         (getNextEastWestVisualPositionFrom): Partly implemented.
21558         (getNextNorthSouthVisualPositionFrom): Partly implemented.
21559
21560 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21561
21562         * javax/swing/JList.java
21563         (setFixedCellHeight): Use correct property name for event.
21564
21565 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21566
21567         * javax/swing/text/Utilities.java:
21568         (getNextWord): Use codePointAt instead of charAt, added note, changed
21569         if-expression, added throwing of exception.
21570         (getPreviousWord): Use codePointAt instead of charAt.
21571
21572 2006-04-28  Jeroen Frijters  <jeroen@frijters.net>
21573
21574         * java/lang/StringBuilder.java
21575         (ensureCapacity, getChars, append(StringBuffer),
21576         append(char[],int,int), delete, replace, insert(int,char[],int,int),
21577         insert(int,String), insert(int,char), trimToSize): Replaced
21578         System.arraycopy calls with VMSystem.arraycopy.
21579
21580 2006-04-27  Tom Tromey  <tromey@redhat.com>
21581
21582         * java/awt/image/renderable/RenderableImageProducer.java
21583         (requestTopDownLeftRightResend): Implemented.
21584         (run): Likewise.
21585         (startProduction): Add new consumer.
21586
21587 2006-04-27  Sven de Marothy  <sven@physto.se>
21588
21589         * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21590
21591 2006-04-27  Roman Kennke <kennke@aicas.com>
21592
21593         * java/awt/LightweightDispatcher.java
21594         Dispatch events only to targets that have a mouselistener
21595         attached. Changed to also handle null targets.
21596
21597 2006-04-27  Roman Kennke <kennke@aicas.com>
21598
21599         * NEWS: Added entries about accessibility support and L&F
21600         window decorations.
21601
21602 2006-04-27  Robert Schuster  <robertschuster@fsfe.org>
21603         
21604         * javax/swing/text/Utilities.java:
21605         (getTabbedTextOffset): Introduced width variable, rewritten the check
21606         which ends the loop.
21607         (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21608         to false.
21609               
21610 2006-04-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21611
21612         * examples/gnu/classpath/examples/swing/TreeDemo.java
21613         (createContent): Added root visibility and selection listener demos.
21614         * javax/swing/JTree.java (setRootVisible): If false, unselect
21615         the root node, if it is selected.
21616         * javax/swing/plaf/basic/BasicTreeUI.java 
21617         (TreeTraverseAction.actionPerformed): Do not select the root if it
21618         is not visible.
21619         * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21620         removeSelectionPaths): Reset lead to null if the current lead path is
21621         removed from selection.
21622         * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21623         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21624         Return the same path regardless is root visible or not. (update):
21625         Reduce the identation if the root is not visible.
21626         * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21627         Return the same path regardless is root visible or not. (update):
21628         Reduce the identation if the root is not visible.
21629
21630 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org
21631
21632         * javax/swing/plaf/basic/BasicTreeUI.java
21633         (TreeAction.actionPerformed):Newly obtain the current lead
21634         path that must stay visible.
21635         (TreeTraverseAction.actionPerformed):Rewritten.
21636         * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21637         Do not treat root specially. (setModel): Assume the root node
21638         initially expanded.
21639         * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21640         Do not treat root specially. (setModel): Assume the root node
21641         initially expanded.
21642
21643 2006-04-26  Chris Burdess  <dog@gnu.org>
21644
21645         Fixes PR 27290
21646         * javax/xml/datatype/DatatypeFactory.java: Use complete
21647           implementation resolution mechanism.
21648
21649 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21650
21651         * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged): 
21652         Implemented.
21653         * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21654         Removed NoImplementException form the implemented method.
21655
21656 2006-04-26  Tom Tromey  <tromey@redhat.com>
21657
21658         * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21659         throw IOException.
21660
21661 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
21662
21663         * javax/swing/DefaultListSelectionModel.java
21664         (clone): Initialise empty listener list,
21665         (setSelectionMode): Throw IllegalArgumentException for bad input.
21666
21667 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
21668
21669         * javax/swing/DefaultListSelectionModel.java
21670         (clearSelection): Clear the Bitset.
21671
21672 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21673
21674         * javax/swing/JTree.java (setLeadSelectionPath):
21675         Repaint the new and old lead pathes.
21676         * javax/swing/plaf/basic/BasicTreeUI.java
21677         (FocusHandler): Repaint the lead row when focus changes.
21678         (PropertyChangeHandler): Use existing constants, not the
21679         string literals for the property names.
21680         (TreeIncrementAction): Shrink the selection when moving
21681         from the selection edge to the selection anchor.
21682         (TreeSelectionHandler.valueChanged): Repaint the 
21683         new and old lead pathes.
21684         (paintRow): Treat row as focused only if it is the lead row.
21685         * javax/swing/tree/DefaultTreeCellRenderer.java
21686         (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21687         (paint): Rewritten.
21688         * javax/swing/tree/DefaultTreeSelectionModel.java
21689         (addSelectionPath): Event construction fix (old and new lead were
21690         always the same).
21691         (addSelectionPaths): Likewise.
21692         * javax/swing/JComponent.java (setOpaque): Explained.
21693         * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21694         Accept null.
21695         * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21696         Accept null.
21697
21698 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21699
21700         * examples/gnu/classpath/examples/swing/TreeDemo.java
21701         (createContent): Call DefaultTreeModel.reload(), not the
21702         tree.repaint(). Expand the parent of the added node.
21703         * javax/swing/JTree.java (constructor): Do not call
21704         UpdateUI (and documented why). (treeDidChange):
21705         Added comment, excluding the misinterpretation of this method.
21706         * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21707         focusListener, keyListener, mouseListener, propertyListener,
21708         selectionModelPropertyChangeListener, treeModelListener,
21709         treeSelectionListener): Made package private.
21710         (PropertyChangeHandler): If the model changes, install the
21711         listener on it. (installUI): Assign treeModel.
21712         * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21713         comment, excluding misinterpretation.
21714         * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21715         (reload(TreeNode)): Implemented.
21716
21717 2006-04-25  Tom Tromey  <tromey@redhat.com>
21718
21719         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21720         * javax/swing/tree/VariableHeightLayoutCache.java
21721         (getVisiblePathsFrom): Genericized.
21722         * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21723         Genericized.
21724
21725 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21726
21727         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21728         If clicked on the other row, cancel the current editing session.
21729
21730 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21731
21732         * javax/swing/plaf/basic/BasicTreeUI.java
21733         (NodeDimensionsHandler.getRowX): Add half of the icon width.
21734         (paintExpandControl): Always paint in one gap distance from the left
21735         border of the path bounds.
21736         (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21737         into consideration.
21738         (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21739         left edge.
21740
21741 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21742
21743         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21744
21745 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21746
21747         * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21748         Allow slashes (/) in the unquoted parameter value. 
21749
21750 2006-04-25  Roman Kennke <kennke@aicas.com>
21751
21752         * gnu/java/awt/java2d/AbstractGraphics2D.java
21753         (drawString(String,int,int)): Implemented.
21754         (drawString(String,float,float)): Implemented.
21755         (drawString(AttributedCharacterIterator,int,int)): Implemented.
21756         (drawString(AttributedCharacterIterator,float,float)): Implemented.
21757         (getFontRenderContext): Implemented.
21758         (drawGlyphVector): Implemented.
21759         (getFont): Implemented.
21760         (setFont): Don't change font setting when null.
21761         (getFontMetrics): Implemented.
21762         (fillShape): Re-written to fill call rawFillShape() with a list
21763         of the edges instead of double arrays.
21764         (rawFillShape): Implemented using a polygon scanline conversion.
21765         (fillScanline): New helper method.
21766         (init): Initialize foreground black. Set font.
21767         * gnu/java/awt/java2d/PolyEdge.java: New file.
21768         * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21769
21770 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21771
21772         * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21773
21774 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21775
21776         * javax/swing/JTable.java: Fixed API doc tags,
21777         * javax/swing/text/AsyncBoxView.java: Likewise,
21778         * javax/swing/text/FlowView.java: Likewise.
21779
21780 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21781
21782         * javax/swing/table/DefaultTableColumnModel.java
21783         (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21784
21785 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
21786
21787         * javax/swing/table/DefaultTableColumnModel.java
21788         (DefaultTableColumnModel): Set selection model field and add 'this' as
21789         listener directly,
21790         (addColumn): Add 'this' as a PropertyChangeListener,
21791         (removeColumn): Remove column before firing event, and remove 'this' as
21792         a PropertyChangeListener,
21793         (setSelectionModel): Remove 'this' as a listener from old model, 
21794         (propertyChange): Check for 'width' property rather than
21795         TableColumn.COLUMN_WIDTH_PROPERTY.
21796
21797 2006-04-24  Chris Burdess  <dog@gnu.org>
21798
21799         Fixes PR 27262
21800         * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21801           attributes when no doctype exists.
21802
21803 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
21804
21805         * javax/swing/event/ChangeEvent.java: Updated API docs,
21806         * javax/swing/event/ChangeListener.java: Likewise,
21807         * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21808         * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21809         * javax/swing/table/TableColumnModel.java: Likewise.
21810
21811 2006-04-24  Robert Schuster  <robertschuster@fsfe.org>
21812
21813         * javax/swing/text/Utilities.java:
21814         (getBreakLocation): Introduced shift variable, added notes.
21815         * javax/swing/text/WrappedPlainView.java:
21816         (calculateBreakPosition): Decrease allocation area bounds by insets,
21817         added early return when allocation area is empty, provide start offset
21818         as argument.
21819         (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21820         (WrappedPlainView.WrappedLine.paint): Added count variable, update
21821         numLines after loop.
21822         (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21823         (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21824         (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21825         decreasing variable end by one, changed break condition in while-loop,
21826         added check for return value.
21827         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21828         allocation area is empty.
21829
21830 2006-04-24  Sven de Marothy  <sven@physto.se>
21831
21832         * gnu/java/awt/java2d/Segment.java: New file.
21833         * gnu/java/awt/java2d/CubicSegment.java: New file.
21834         * gnu/java/awt/java2d/QuadSegment.java: New file.
21835         * gnu/java/awt/java2d/LineSegment.java: New file.
21836         * java/awt/BasicStroke.java
21837         (start): New field.
21838         (end): New field.
21839         (createStrokedShape): Implemented.
21840         (solidStroke): New method.
21841         (dashedStroke): New method.
21842         (capEnds): New method.
21843         (convertPath): New method.
21844         (addSegments): New method.
21845         (capEnd): New method.
21846         (lineIntersection): New method.
21847         (joinSegments): New method.
21848
21849 2006-04-24  Roman Kennke <kennke@aicas.com>
21850
21851         * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21852         Cloneable.
21853         (font): New field.
21854         (clip): Changed clip to be in user space not in target space.
21855         (isOptimized): Added flag to allow optimized drawing for
21856         primitive operations (e.g. for Swing).
21857         (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21858         with the paint context etc.
21859         (draw): Clip the shape before drawing it.
21860         (fill): Clip the shape before drawing it.
21861         (setComposite): Update isOptimized flag.
21862         (setPaint): Likewise.
21863         (setStroke): Likewise.
21864         (translate): Update the clip.
21865         (rotate): Likewise.
21866         (scale): Likewise.
21867         (shear): Likewise.
21868         (transform): Likewise.
21869         (setTransform): Likewise.
21870         (clip): Added optimization for rectangle clips.
21871         (create): Implemented.
21872         (clone): New method.
21873         (setFont): Basic implementation.
21874         (setClip): Update opimization flag.
21875         (drawLine): Added possible optimization.
21876         (fillRect): Added possible optimization.
21877         (fillShape): Implemented shape-filling by filling the flattended
21878         shape using polygon fill.
21879         (drawPixel): Added basic painting.
21880         (rawSetPixel): Changed signature to only take coordinates.
21881         (rawSetForeground): New abstract method.
21882         (getUserBounds): Implemented default for this method.
21883         (rawDrawLine): New method.
21884         (rawFillRect): New method.
21885         (rawFillPolygon): New method.
21886         (init): New method.
21887         (updateOptimization): New method.
21888         (computeIntersection): New method.
21889         (updateClip): New method.
21890         (clipShape): New method.
21891
21892 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21893
21894         * java/lang/Package.java: Added compatibility constructor to ease
21895         VM interface migration.
21896
21897 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21898
21899         * java/lang/Class.java (getEnumConstants): Implemented without
21900         delegating to VMClass.
21901         * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21902
21903 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21904
21905         * java/lang/ClassLoader.java (definePackage): Added argument to
21906         Package constructor.
21907         * java/lang/Package.java (Package): Added ClassLoader argument.
21908         (loader): New field.
21909         (getDeclaredAnnotations): Implemented without help from VMPackage.
21910         * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21911         to Package constructor.
21912         * vm/reference/java/lang/VMPackage.java: Removed.
21913
21914 2006-04-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21915
21916         * examples/gnu/classpath/examples/swing/TreeDemo.java:
21917         (createContent): Added check box to swith between single and 
21918         multiple selection.
21919         * javax/swing/JTree.java (leadSelectionPath): Removed.
21920         (addSelectionInterval): Explained. (getLeadSelectionPath):
21921         Request the path from model. (getPathsBetweenRows): Explained.
21922         (setLeadSelectionPath): Set the path in model.
21923         * javax/swing/plaf/basic/BasicTreeUI.java 
21924         (TreeIncrementAction.actionPerformed, isMultiSelectionEvent, 
21925         isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21926         (MouseHandler.mousePressed): Call selectPathForEvent.
21927
21928 2006-04-23  Roman Kennke <kennke@aicas.com>
21929
21930         * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21931
21932 2006-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21933
21934         * NEWS:
21935         Mention changes to VMProcess and VMSystem.
21936         * doc/vmintegration.texinfo:
21937         Change documentation on VMProcess and VMSystem.
21938         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21939         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21940         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21941         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21942         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21943         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21944         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21945         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21946         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21947         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21948         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21949         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21950         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21951         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21952         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21953         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21954         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21955         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21956         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21957         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21958         * include/gnu_java_awt_peer_gtk_GtkImage.h,
21959         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21960         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21961         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21962         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21963         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21964         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21965         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21966         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21967         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21968         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21969         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21970         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21971         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21972         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21973         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21974         * include/gnu_java_awt_peer_qt_MainQtThread.h,
21975         * include/gnu_java_awt_peer_qt_QMatrix.h,
21976         * include/gnu_java_awt_peer_qt_QPainterPath.h,
21977         * include/gnu_java_awt_peer_qt_QPen.h,
21978         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21979         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21980         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21981         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21982         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21983         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21984         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21985         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21986         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21987         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21988         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21989         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21990         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21991         * include/gnu_java_awt_peer_qt_QtGraphics.h,
21992         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21993         * include/gnu_java_awt_peer_qt_QtImage.h,
21994         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21995         * include/gnu_java_awt_peer_qt_QtListPeer.h,
21996         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21997         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21998         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21999         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
22000         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
22001         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
22002         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
22003         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
22004         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
22005         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
22006         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
22007         * include/gnu_java_awt_peer_qt_QtToolkit.h,
22008         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
22009         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
22010         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
22011         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
22012         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
22013         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
22014         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
22015         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
22016         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
22017         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
22018         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
22019         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
22020         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
22021         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
22022         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
22023         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
22024         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
22025         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
22026         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
22027         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
22028         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
22029         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
22030         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
22031         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
22032         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
22033         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
22034         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
22035         * include/java_lang_VMProcess.h,
22036         * include/java_lang_VMSystem.h:
22037         Regenerated with GCJ 4.1.
22038
22039 2006-04-22  Casey Marshall  <csm@gnu.org>
22040
22041         Fixes PR classpath/27228.
22042         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
22043         (initialize): also accept `DHParameterSpec.'
22044         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
22045         handle a passed-in `DHParameterSpec' properly.
22046         (generate): don't check if the random exponent is less than `q -
22047         1' if no `q' was specified.
22048
22049 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22050
22051         * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
22052         Only repaint the patches, speficied in the passed event.
22053         (expandPath): Do nothing if the path is already expanded.
22054         (scrollPathToVisible): Only scroll to visible, do nothing else.
22055         * javax/swing/plaf/basic/BasicTreeUI.java 
22056         (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
22057         (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
22058         (TreeTraverseAction.actionPerformed): Collapse the node on the
22059         action "selectParent". (selectPath): Rewritten.
22060         * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
22061         Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
22062         Do not reuse selection array.
22063         * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
22064         Accept null.
22065         * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
22066         Accept null.
22067
22068 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22069
22070         * javax/swing/tree/DefaultTreeSelectionModel.java
22071         (addSelectionPath): If the path cannot be added, set it.
22072         (addSelectionPaths): Call insureRowContinuity.
22073         (arePathsContiguous): Implemented.
22074         (canPathBeAdded): New private method.
22075         (canPathsBeAdded): Implemented.
22076         (canPathsBeRemoved): Implemented.
22077         (getPath): New private method.
22078         (insureRowContinuity): Implemented.
22079         (removeSelectionPath): Call insureRowContinuity.
22080         (removeSelectionPaths): Call insureRowContinuity.
22081         (resetRowSelection): Removed stub marking, not used in implementation 
22082         (nothing to do there).
22083         (selectOne): New private method.
22084         (setSelectionMode) Call insureRowContinuity.
22085         (setSelectionPaths) Remove the current selection by clearing it.
22086
22087 2006-04-22  Carsten Neumann  <cn-develop@gmx.net>
22088
22089         * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
22090         parameters consistendly, documented some methods.
22091         * java/sql/Blob.java: Likewise.
22092         * java/sql/CallableStatement.java: Likewise.
22093         * java/sql/Clob.java: Likewise.
22094         * java/sql/Connection.java: Likewise.
22095         * java/sql/DatabaseMetaData.java: Likewise.
22096         * java/sql/Date.java: Likewise.
22097         * java/sql/Driver.java: Likewise.
22098         * java/sql/PreparedStatement.java: Likewise.
22099         * java/sql/ResultSet.java: Likewise.
22100         * java/sql/ResultSetMetaData.java: Likewise.
22101         * java/sql/SQLData.java: Likewise.
22102         * java/sql/SQLOutput.java: Likewise.
22103         * java/sql/SQLWarning.java: Likewise.
22104         * java/sql/Statement.java: Likewise.
22105         * java/sql/Time.java: Likewise.
22106         * java/sql/Timestamp.java: Likewise.
22107
22108 2006-04-21  Jeroen Frijters  <jeroen@frijters.net>
22109
22110         * java/lang/reflect/AccessibleObject.java:
22111         Implemented AnnotatedElement.
22112         (getAnnotation, getAnnotations, getDeclaredAnnotations,
22113         isAnnotationPresent): New methods.
22114
22115 2006-04-21  Tom Tromey  <tromey@redhat.com>
22116
22117         PR classpath/27163:
22118         * gnu/java/net/protocol/ftp/FTPConnection.java
22119         (changeWorkingDirectory): Do nothing if path is empty.
22120
22121 2006-04-21  Tom Tromey  <tromey@redhat.com>
22122
22123         PR libgcj/27231:
22124         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
22125         case where no '/' appears in 'location'.
22126
22127 2006-04-21  Tom Tromey  <tromey@redhat.com>
22128
22129         * java/security/Security.java (<clinit>): Add all default providers.
22130         * resource/java/security/classpath.security: Added comment.
22131
22132 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22133
22134         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
22135         * javax/swing/SpinnerNumberModel.java: Likewise.
22136
22137 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22138
22139         * javax/swing/SpinnerDateModel.java
22140         (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
22141         checking to call compareTo() on start and end.
22142
22143 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22144
22145         * javax/swing/border/AbstractBorder.java: API doc updates,
22146         * javax/swing/border/BevelBorder.java: Likewise,
22147         * javax/swing/border/CompoundBorder.java: Likewise,
22148         * javax/swing/border/EtchedBorder.java: Likewise,
22149         * javax/swing/border/LineBorder.java: Likewise,
22150         * javax/swing/border/MatteBorder.java: Likewise,
22151         * javax/swing/border/TitledBorder.java: Likewise.
22152
22153 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22154
22155         * gnu/javax/crypto/cipher/Anubis.java:
22156         (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
22157         instance,
22158         * gnu/javax/crypto/cipher/Blowfish.java:
22159         (selfTest): Likewise,
22160         * gnu/javax/crypto/cipher/Cast5.java:
22161         (selfTest): Likewise,
22162         * gnu/javax/crypto/cipher/Khazad.java:
22163         (selfTest): Likewise,
22164         * gnu/javax/crypto/cipher/Rijndael.java:
22165         (selfTest): Likewise,
22166         * gnu/javax/crypto/cipher/Serpent.java:
22167         (selfTest): Likewise,
22168         * gnu/javax/crypto/cipher/Square.java:
22169         (selfTest): Likewise,
22170         * gnu/javax/crypto/cipher/Twofish.java:
22171         (selfTest): Likewise,
22172         * gnu/javax/crypto/mac/UMac32.java:
22173         (selfTest): Likewise,
22174         * gnu/javax/crypto/prng/CSPRNG.java:
22175         (getSystemInstance): Likewise.
22176
22177 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22178
22179         * gnu/java/security/hash/Haval.java:
22180         (selfTest): Use Boolean.valueOf() to avoid creating new Boolean 
22181         instance,
22182         * gnu/java/security/hash/MD2.java:
22183         (selfTest): Likewise,
22184         * gnu/java/security/hash/MD4.java:
22185         (selfTest): Likewise,
22186         * gnu/java/security/hash/MD5.java:
22187         (selfTest): Likewise,
22188         * gnu/java/security/hash/RipeMD128.java:
22189         (selfTest): Likewise,
22190         * gnu/java/security/hash/RipeMD160.java:
22191         (selfTest): Likewise,
22192         * gnu/java/security/hash/Sha160.java:
22193         (selfTest): Likewise,
22194         * gnu/java/security/hash/Sha256.java:
22195         (selfTest): Likewise,
22196         * gnu/java/security/hash/Sha384.java:
22197         (selfTest): Likewise,
22198         * gnu/java/security/hash/Sha512.java:
22199         (selfTest): Likewise,
22200         * gnu/java/security/hash/Tiger.java:
22201         (selfTest): Likewise,
22202         * gnu/java/security/hash/Whirlpool.java:
22203         (selfTest): Likewise.
22204
22205 2006-04-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22206
22207         * javax/swing/plaf/basic/BasicTreeUI.java 
22208         (PropertyChangeHandler.propertyChange): Set the row mapper
22209         for the selection model.
22210         * javax/swing/tree/AbstractLayoutCache.java 
22211         (NodeDimensions.getNodeDimensions): Explained.
22212         (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
22213         Implemented. (setRowHeight): Invalidate sizes. 
22214         * javax/swing/tree/DefaultTreeSelectionModel.java
22215         (addSelectionPath, addSelectionPaths): Update lead row.
22216         (removeSelectionPath, removeSelectionPaths): Do nothing if
22217         selection is empty.
22218         (clone): Only clone list selection model if it is not null.
22219         (getRow): New method. (isRowSelected, getLeadSelectionRow, 
22220         setSelectionPath, setSelectionPaths, toString): Implemented.
22221         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
22222         Pass the empty rectangle. (isFixedRowHeight): New method.
22223         * javax/swing/tree/VariableHeightLayoutCache.java
22224         (NodeRecord.getBounds): Pass the empty rectangle.
22225         
22226 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22227
22228         * gnu/java/security/Properties.java
22229         (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
22230
22231 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22232
22233         * gnu/classpath/jdwp/util/Value.java
22234         (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid 
22235         creating new Boolean instances.
22236
22237 2006-04-20  Mark Wielaard  <mark@klomp.org>
22238
22239         * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
22240         PrivilegedAction. Access awt.toolkit through SystemProperties.
22241
22242 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22243
22244         * javax/swing/ActionMap.java: Removed unused imports,
22245         * javax/swing/DefaultListSelectionModel.java
22246         (clearSelection): Removed unused label,
22247         * javax/swing/JScrollPane.java: Removed unused imports,
22248         * javax/swing/UIManager.java: Likewise,
22249         * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
22250
22251 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22252
22253         * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
22254         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
22255         * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
22256         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
22257         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
22258
22259 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22260
22261         * java/sql/Array.java: Fixed Eclipse API doc warnings,
22262         * java/sql/Blob.java: Likewise,
22263         * java/sql/CallableStatement.java: Likewise,
22264         * java/sql/Clob.java: Likewise,
22265         * java/sql/Connection.java: Likewise,
22266         * java/sql/DatabaseMetaData.java: Likewise,
22267         * java/sql/Date.java: Likewise,
22268         * java/sql/Driver.java: Likewise,
22269         * java/sql/PreparedStatement.java: Likewise,
22270         * java/sql/ResultSet.java: Likewise,
22271         * java/sql/ResultSetMetaData.java: Likewise,
22272         * java/sql/SQLData.java: Likewise,
22273         * java/sql/SQLOutput.java: Likewise,
22274         * java/sql/SQLWarning.java: Likewise,
22275         * java/sql/Statement.java: Likewise,
22276         * java/sql/Time.java: Likewise,
22277         * java/sql/Timestamp.java: Likewise.
22278
22279 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22280
22281         * java/sql/DriverManager.java
22282         (setLoginTimeout): Use incoming argument,
22283         (setLogStream): Likewise,
22284         (println): Fix API doc comment.
22285
22286 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22287
22288         * javax/swing/JMenuItem.java
22289         (paramString): Updated API docs,
22290         (getAccessibleContext): Added API docs,
22291         (AccessibleJMenuItem.stateChanged): Marked as stub,
22292         (AccessibleJMenuItem.getAccessibleRole): Added API docs,
22293         * javax/swing/JSlider.java
22294         (paramString): Fix for API docs,
22295         * javax/swing/JToolTip.java
22296         (getAccessibleContext): Fix for API docs.
22297
22298 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22299
22300         * javax/swing/JRadioButtonMenuItem.java
22301         (paramString): Reimplemented,
22302         (getAccessibleContext): API docs added,
22303         (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()): 
22304         Likewise,
22305         (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
22306
22307 2006-04-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22308
22309         * javax/swing/plaf/basic/BasicTreeUI.java
22310         (finish): Invalidate path bounds.
22311         (getMaxHeight): Set the row height to the layout cache.
22312         (startEditing): Do not request to recalculated 
22313         row height and preferred size.
22314         * javax/swing/tree/DefaultTreeCellEditor.java
22315         (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
22316         with 0.
22317         * javax/swing/tree/FixedHeightLayoutCache.java:
22318         Rewritten.
22319
22320 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22321
22322         * javax/swing/JDesktopPane.java
22323         (paramString): Reimplemented,
22324         plus API doc updates in AccessibleJDesktopPane.
22325
22326 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22327
22328         * javax/swing/ImageIcon.java:
22329         (AccessibleImageIcon.getAccessibleStateSet): Return null always,
22330         (AccessibleImageIcon.getLocale): Declared exception and always return 
22331         null,
22332         (getAccessibleContext): Updated API docs,
22333         plus updated API docs all over AccessibleImageIcon.
22334
22335 2006-04-20  Roman Kennke  <kennke@aicas.com>
22336
22337         PR 27196
22338         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22339         (paintText): Fetch the ascent only once. Add the ascent to
22340         the text rect also when tabs are disabled.
22341
22342 2006-04-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
22343
22344         * java/util/Locale.java (defaultLocale): Set to en_US per
22345         default and use user.country but prioritize user.region if
22346         defined.
22347         (getLocale(String language, String country)): Renamed region to
22348         country.
22349         (getLocale(String language, String region, String variant)):
22350         Likewise.
22351         (getAvailableLocales): Likewise.
22352
22353 2006-04-20  Roman Kennke  <kennke@aicas.com>
22354
22355         PR 27222
22356         * javax/swing/JList.java
22357         (JList()): Call init() with DefaultListModel instance.
22358         (JList(Object[])): Call init() with null.
22359         (JList(Vector)): Call init() with null.
22360         (JList(ListModel)): Call init() with model.
22361         (init): Changed to take the model as argument. Don't call
22362         setter methods and initialize stuff directly instead.
22363         (getCellBounds): Check if UI is null.
22364
22365 2006-04-20  Robert Schuster  <robertschuster@fsfe.org>
22366
22367         * javax/swing/text/WrappedPlainView.java: Initialize
22368         WrappedLine.numLines with -1.
22369         (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
22370         numLines is -1 and reculcalate the value appropriately.
22371         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
22372         allocation area is empty.
22373
22374 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22375
22376         * javax/swing/JTabbedPane.java
22377         (AccessibleJTabbedPane.stateChanged): Marked as stub,
22378         (AccessibleJTabbedPane.getAccessibleRole): Likewise,
22379         (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
22380         (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
22381         (AccessibleJTabbedPane.getAccessibleAt): Likewise,
22382         (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
22383         (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
22384         (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
22385         (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
22386         (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
22387         (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
22388         (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
22389         (Page.getAccessibleStateSet): Likewise,
22390         (Page.getAccessibleIndexInParent): Likewise.
22391
22392 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22393
22394         * javax/swing/JProgressBar.java
22395         (paramString): Reimplemented.
22396
22397 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22398
22399         * javax/swing/JButton.java: Updated API docs all over.
22400
22401 2006-04-19  Roman Kennke  <kennke@aicas.com>
22402
22403         * java/awt/Toolkit.java
22404         (getDefaultToolkit): Use system classloader to load the
22405         toolkit.
22406
22407 2006-04-19  Robert Schuster  <robertschuster@fsfe.org>
22408
22409         * javax/swing/text/DefaultCaret.java:
22410         (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22411         instead of DefaultCaret.setDot.
22412
22413 2006-04-19  Roman Kennke  <kennke@aicas.com>
22414
22415         * native/jni/java-net/local.c
22416         (local_read): Handle EINTR correctly.
22417         (local_write): Likewise.
22418
22419 2006-04-19  Riccardo Mottola  <multix@gmail.com>
22420
22421         PR classpath/27062, PR classpath/25650:
22422         * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22423
22424 2006-04-19  Tom Tromey  <tromey@redhat.com>
22425
22426         * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22427         value of 'pureMinutes'.  PR classpath/27189.
22428
22429 2006-04-19  Olivier Jolly  <olivier.jolly@pcedev.com>
22430
22431    * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22432    boot packages list from the META-INF/INDEX.LIST file if it exists. 
22433
22434 2006-04-19  Raif S. Naffah  <raif@swiftdsl.com.au>
22435
22436         Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22437         * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22438         (ITERATION_COUNT): Removed modifiers.
22439         (PASSWORD): Likewise.
22440         (SALT): Likewise.
22441         (PASSWORD_ENCODING): New property.
22442         (DEFAULT_PASSWORD_ENCODING): New constant.
22443         * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22444         material (bytes) before a password (chars).
22445
22446 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22447
22448         * javax/swing/JMenu.java
22449         (getAccessibleChildrenCount): Marked as stub,
22450         (getAccessibleChild): Likewise,
22451         (getAccessibleSelection): Likewise,
22452         (getAccessibleSelection(int)): Likewise,
22453         (isAccessibleChildSelected): Likewise,
22454         (getAccessibleSelectionCount): Likewise,
22455         (addAccessibleSelection): Likewise,
22456         (removeAccessibleSelection): Likewise,
22457         (clearAccessibleSelection): Likewise,
22458         (selectAllAccessibleSelection): Likewise.
22459
22460 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22461
22462         * javax/swing/JSplitPane.java
22463         (getAccessibleContext): Added API docs,
22464         (paramString): Reimplemented,
22465         (setOrientation): Updated API docs,
22466         (setResizeWeight): Added argument checking and event notification.
22467
22468 2006-04-18  Casey Marshall  <csm@gnu.org>
22469
22470         Fixes PR classpath/25673        
22471         * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22472         property is set. Update JavaDoc to reflect this.
22473
22474 2006-04-18  Lillian Angel  <langel@redhat.com>
22475
22476         * gnu/xml/dom/DomDocument.java
22477         (setCheckingCharacters): New function used to set
22478         checkingCharacters flag.
22479         * gnu/xml/dom/html2/DomHTMLParser.java
22480         (parseDocument): Added call to set checkingCharacters flag
22481         to false.
22482
22483 2006-04-18  Lillian Angel  <langel@redhat.com>
22484
22485         * gnu/xml/dom/DomDocument.java
22486         (checkNCName): Reverted last patch. Added check for colon at
22487         last position back in.
22488
22489 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22490
22491         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22492         New file.
22493         * examples/gnu/classpath/examples/swing/Demo.java:
22494         (mkMenuBar): Added NavigationFilter demo.
22495
22496 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22497
22498         * javax/swing/JSeparator.java: Updated API docs all over, plus
22499         (setOrientation): Fire PropertyChangeEvent,
22500         (paramString): Reimplemented.
22501
22502 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22503
22504         * javax/swing/plaf/basic/BasicTextUI.java:
22505         (getNextVisualPositionFrom): Implemented.
22506
22507 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22508
22509         * javax/swing/JPanel.java: Updated API docs all over, plus
22510         (JPanel(LayoutManager, boolean)): Pass on null layout, set 
22511         double-buffer flag.
22512
22513 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22514
22515         * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22516         New file.
22517         * examples/gnu/classpath/examples/swing/Demo.java:
22518         (mkMenuBar): Added DocumenFilter demo.
22519
22520 2006-04-18  Tom Tromey  <tromey@redhat.com>
22521
22522         * doc/www.gnu.org/include/layout.wml: Add FMJ.
22523
22524 2006-04-18  Mark Wielaard  <mark@klomp.org>
22525
22526         Reported by John Sullivan (johns@fsf.org)
22527         * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22528
22529 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22530
22531         * javax/swing/JInternalFrame.java
22532         (JDesktopIcon.getAccessibleContext): Added API docs,
22533         (getDefaultCloseOperation): Likewise,
22534         (paramString): Added 'title' attribute,
22535         (setDefaultCloseOperation): Added API docs.
22536
22537 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22538
22539         * javax/swing/JSlider.java
22540         (paramString): Reimplemented.
22541
22542 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22543
22544         * javax/swing/JComboBox.java
22545         (paramString): Reimplemented,
22546         (getAccessibleContext): Added API docs,
22547         (AccessibleJComboBox.getAccessibleRole): Likewise.
22548
22549 2006-04-18  Roman Kennke  <kennke@aicas.com>
22550
22551         * javax/swing/RepaintManager.java
22552         (dirtyComponentsWork): New field.
22553         (ComponentComparator): Use dirtyComponentsWork instead of
22554         dirtyComponents.
22555         (RepaintManager): Initialize new field.
22556         (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22557         and work on the copy.
22558
22559 2006-04-18  Roman Kennke  <kennke@aicas.com>
22560
22561         * gnu/java/awt/peer/swing/SwingComponentPeer.java
22562         (setBounds): Call reshape().
22563         * gnu/java/awt/peer/swing/SwingContainerPeer.java
22564         (SwingContainerPeer): Changed argument to be a Component
22565         instead a Container.
22566         (getInsets): Call insets().
22567         (handleMouseEvent): Added null check to avoid NPE.
22568         (handleMouseMotionEvent): Added null check to avoid NPE.
22569         
22570 2006-04-18  Roman Kennke  <kennke@aicas.com>
22571
22572         PR 27185
22573         * javax/swing/JComponent.java
22574         (paintChildrenWithOverlap): When one child is not opaque, propagate
22575         the dirty rectangles to the next child.
22576         (paintChildrenOptimized): Removed unnecessary 'optimization'.
22577         This actually didn't work right and probably gained nothing.
22578
22579 2006-04-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22580
22581         * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22582         (moveToCellBeingEdited): Do not clone the rectangle here.
22583
22584 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22585
22586         * javax/swing/plaf/basic/BasicSliderUI.java
22587         (getActionMap): Fixed lookup key,
22588         (createActionMap): Modified actions to fetch slider/ui from the event
22589         source.
22590
22591 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22592
22593         * java/lang/Enum.java: Documented.
22594
22595 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22596
22597         * gnu/java/lang/InstrumentationImpl.java:
22598         Moved from java.lang.
22599         * java/lang/InstrumentationImpl.java:
22600         Removed.
22601         * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22602         Moved from java.lang.
22603         * vm/reference/java/lang/VMClassLoader.java:
22604         Corrected reference to InstrumentationImpl.
22605         * vm/reference/java/lang/VMInstrumentationImpl.java:
22606         Removed.
22607         
22608 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22609
22610         * java/lang/annotation/Annotation.java:
22611         Documented.
22612         
22613 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22614
22615         * javax/swing/JToolBar.java
22616         (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22617         (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22618         (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22619         (getAccessibleContext): Likewise.
22620
22621 2006-04-17  Dalibor Topic  <robilad@kaffe.org>
22622
22623         * configure.ac:
22624         Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22625
22626         * native/fdlibm/Makefile.am,
22627         native/jni/classpath/Makefile.am:
22628         Don't use -module and -version-info for convenience libraries LDFLAGS.
22629         Fixes libtool warnings.
22630
22631 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22632
22633         * javax/swing/plaf/basic/BasicComboBoxUI.java:
22634         (installKeyboardActions): Marked as stub,
22635         (uninstallKeyboardActions): Likewise,
22636         * javax/swing/plaf/basic/BasicComboPopup.java:
22637         (installKeyboardActions): Marked as stub,
22638         (uninstallKeyboardActions): Likewise,
22639         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22640         (installKeyboardActions): Marked as stub,
22641         (uninstallKeyboardActions): Likewise,
22642         * javax/swing/plaf/basic/BasicLabelUI.java:
22643         (installKeyboardActions): Marked as stub,
22644         (uninstallKeyboardActions): Likewise,
22645         * javax/swing/plaf/basic/BasicListUI.java:
22646         (installKeyboardActions): Marked as stub,
22647         (uninstallKeyboardActions): Likewise,
22648         * javax/swing/plaf/basic/BasicMenuBarUI.java:
22649         (installKeyboardActions): Marked as stub,
22650         (uninstallKeyboardActions): Likewise,
22651         * javax/swing/plaf/basic/BasicMenuUI.java:
22652         (installKeyboardActions): Marked as stub,
22653         (uninstallKeyboardActions): Likewise,
22654         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22655         (installKeyboardActions): Marked as stub,
22656         (uninstallKeyboardActions): Likewise,
22657         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22658         (installKeyboardActions): Marked as stub,
22659         (uninstallKeyboardActions): Likewise,
22660         * javax/swing/plaf/basic/BasicScrollBarUI.java:
22661         (installKeyboardActions): Marked as stub,
22662         (uninstallKeyboardActions): Likewise,
22663         * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22664         (installKeyboardActions): Marked as stub,
22665         (uninstallKeyboardActions): Likewise,
22666         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22667         (installKeyboardActions): Marked as stub,
22668         (uninstallKeyboardActions): Likewise,
22669         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22670         (installKeyboardActions): Marked as stub,
22671         (uninstallKeyboardActions): Likewise,
22672         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22673         (installKeyboardActions): Marked as stub,
22674         (uninstallKeyboardActions): Likewise,
22675         * javax/swing/plaf/basic/BasicTableUI.java:
22676         (installKeyboardActions): Marked as stub,
22677         (uninstallKeyboardActions): Likewise,
22678         * javax/swing/plaf/basic/BasicTextUI.java:
22679         (installKeyboardActions): Marked as stub,
22680         (uninstallKeyboardActions): Likewise,
22681         * javax/swing/plaf/basic/BasicToolBarUI.java:
22682         (installKeyboardActions): Marked as stub,
22683         (uninstallKeyboardActions): Likewise.   
22684
22685 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22686
22687         * javax/swing/plaf/basic/BasicSliderUI.java
22688         (installKeyboardActions): Implemented,
22689         (uninstallKeyboardActions): Implemented,
22690         (scrollByBlock): Accept any value for direction,
22691         (scrollByUnit): Likewise,
22692         (getInputMap): New method,
22693         (getActionMap): New method,
22694         (createActionMap): New method.
22695
22696
22697 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22698         
22699         * doc/vmintegration.texinfo:
22700         Fix sectioning.
22701
22702 2006-04-16  Tom Tromey  <tromey@redhat.com>
22703
22704         * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22705
22706 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22707
22708         * NEWS:
22709         Mention generics additions to the VM interface.
22710         * doc/vmintegration.texinfo:
22711         Added information on VMClass 1.5 additions and
22712         VMSecureRandom.
22713         
22714 2006-04-16  Casey Marshall  <csm@gnu.org>
22715
22716         * NEWS: add an entry mentioning local socket support.
22717
22718 2006-04-16  Casey Marshall  <csm@gnu.org>
22719
22720         * configure.ac (--enable-local-sockets): new enable argument.
22721         (ENABLE_LOCAL_SOCKETS): new define.
22722         * native/jni/java-net/Makefile.am (local_sources): new variable.
22723         (lib_javanet_la_SOURCES): append `local_sources.'
22724         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22725         * native/jni/java-net/local.c,
22726         * native/jni/java-net/local.h,
22727         * include/gnu_java_net_local_LocalSocketImpl.h,
22728         * gnu/java/net/local/LocalServerSocket.java,
22729         * gnu/java/net/local/LocalSocket.java,
22730         * gnu/java/net/local/LocalSocketAddress.java,
22731         * gnu/java/net/local/LocalSocketImpl.java: new files.
22732
22733 2006-04-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22734
22735         * javax/accessibility/AccessibleAction.java:
22736         (DECREMENT): Added field.
22737         (INCREMENT): Likewise.
22738         (TOGGLE_EXPAND): Likewise.
22739         * javax/accessibility/AccessibleRole.java:
22740         (EDITBAR): Added field.
22741         (FOOTER): Likewise.
22742         (HEADER): Likewise.
22743         (PARAGRAPH): Likewise.
22744         (PROGRESS_MONITOR): Likewise.
22745         (RULER): Likewise.
22746         * javax/accessibility/AccessibleState.java:
22747         (INDETERMINATE): Added field.
22748         (MANAGES_DESCENDANTS): Likewise.
22749         (TRUNCATED): Likewise.
22750
22751 2006-04-14  Tom Tromey  <tromey@redhat.com>
22752
22753         * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22754         Genericized.
22755         * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22756         Genericized.
22757
22758 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22759
22760         * javax/swing/text/DefaultCaret.java:
22761         (getBypass): New method.
22762         (moveDot): Rewritten.
22763         (moveDotImpl): New method.
22764         (setDot): Rewritten.
22765         (setDotImpl): New method.
22766         (DefaultCaret.Bypass): New class.
22767
22768 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22769
22770         * javax/swing/text/AbstractDocument.java:
22771         (getBypass): New method.
22772         (insertString): Rewritten.
22773         (remove): Rewritten.
22774         (replace): Rewritten.
22775         (insertStringImpl): New method.
22776         (removeImpl): New method.
22777         (replaceImpl): New method.
22778         (AbstractDocument.Bypass): New class.
22779
22780 2006-04-14  Casey Marshall  <csm@gnu.org>
22781
22782         Fixes PR classpath/24642
22783         * NEWS: add note about SecureRandom changes, and addition of
22784         VMSecureRandom.
22785         * java/security/SecureRandom.java (isSeeded): new field.
22786         (setSeed, setSeed): set `isSeeded' to `true.'
22787         (nextBytes): seed this instance if `isSeeded' is false.
22788         (getSeed): call `generateSeed.'
22789         (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22790         (generateSeed, generateSeed): new methods.
22791         * vm/reference/java/security/VMSecureRandom.java: new file.
22792
22793 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22794
22795         * javax/swing/text/FieldView.java:
22796         (paint): Apply clipping rectangle of the allocation area
22797         before painting the text.
22798         * javax/swing/text/DefaultHighlighter.java:
22799         (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22800         compute union and intersection, calculate intersection with allocation
22801         area before painting, adjust x and width when painting multiple lines
22802         by the range of the allocation area.
22803
22804 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22805
22806         * javax/swing/text/DefaultHighlighter.java:
22807         (paintLayeredHighlights): Marked as stub.
22808
22809 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22810
22811         * javax/swing/plaf/basic/BasicTextFieldUI.java:
22812         (propertyChanged): Added note, change color only if current background
22813         is a ColorUIResource instance.
22814
22815 2006-04-14  Tom Tromey  <tromey@redhat.com>
22816
22817         * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22818         a stub.
22819         (next): Likewise.
22820
22821 2006-04-14  Tom Tromey  <tromey@redhat.com>
22822
22823         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22824
22825 2006-04-14  Mark Wielaard  <mark@klomp.org>
22826
22827         * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22828         thread group when exceptionHandler isn't set.
22829         * vm/reference/java/lang/VMThread.java (run): Use result of
22830         thread.getUncaughtExceptionHandler directly.
22831
22832 2006-04-14  David Gilbert  <david.gilbert@object-refinery.com>
22833
22834         * javax/swing/JSplitPane.java
22835         (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22836         (AccessibleJSplitPane.getAccessibleRole): Implemented,
22837         (AccessibleJSplitPane.getAccessibleValue): Implemented,
22838         (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22839         (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22840         (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22841         (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22842
22843 2006-04-10  Tom Tromey  <tromey@redhat.com>
22844
22845         * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22846         Fixed parameter bounds.
22847
22848 2006-04-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22849         
22850         * gnu/javax/crypto/assembly/Assembly.java,
22851         * gnu/javax/crypto/assembly/Cascade.java,
22852         * gnu/javax/crypto/assembly/CascadeStage.java,
22853         * gnu/javax/crypto/assembly/CascadeTransformer.java,
22854         * gnu/javax/crypto/assembly/Direction.java,
22855         * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22856         * gnu/javax/crypto/assembly/ModeStage.java,
22857         * gnu/javax/crypto/assembly/Operation.java,
22858         * gnu/javax/crypto/assembly/PaddingTransformer.java,
22859         * gnu/javax/crypto/assembly/Stage.java,
22860         * gnu/javax/crypto/assembly/Transformer.java,
22861         * gnu/javax/crypto/cipher/Square.java,
22862         * gnu/javax/crypto/jce/cipher/AESSpi.java,
22863         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22864         * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22865         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22866         * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22867         * gnu/javax/crypto/jce/cipher/DESSpi.java,
22868         * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22869         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22870         * gnu/javax/crypto/jce/cipher/PBES2.java,
22871         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22872         * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22873         * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22874         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22875         * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22876         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22877         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22878         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22879         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22880         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22881         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22882         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22883         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22884         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22885         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22886         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22887         * gnu/javax/crypto/jce/mac/MacAdapter.java,
22888         * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22889         * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22890         * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22891         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22892         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22893         * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22894         * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22895         * gnu/javax/crypto/pad/WrongPaddingException.java,
22896         * gnu/javax/crypto/prng/ICMGenerator.java,
22897         * gnu/javax/crypto/prng/IPBE.java,
22898         * gnu/javax/crypto/prng/PBKDF2.java,
22899         * gnu/javax/crypto/sasl/ConfidentialityException.java,
22900         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22901         * gnu/javax/crypto/sasl/srp/IALG.java,
22902         * gnu/javax/crypto/sasl/srp/SRPServer.java:
22903         Remove CVS revision tags.
22904
22905 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22906
22907         * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize): 
22908         Removed debugging code.
22909
22910 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22911  
22912         * javax/swing/JTree.java (getPreferredSize): Return the
22913         cloned instance.
22914         * javax/swing/ViewportLayout.java (layoutContainer):
22915         Do not manage the view size and location if the view is
22916         in the scroll pane. Also manage size and location for
22917         Scrollable, if it is not in the scroll pane.
22918         * javax/swing/plaf/basic/BasicTreeUI.java,
22919         * javax/swing/tree/FixedHeightLayoutCache.java,
22920         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22921         * gnu/javax/swing/tree/GnuPath.java: New file.
22922
22923 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22924
22925         * javax/swing/JToolBar.java
22926         (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22927
22928 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22929
22930         * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22931         (createCustomColoredPanel): Set background color as demo intends,
22932         changed custom selection color to red.
22933         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22934         Replaced various single variables with a Compound instance, added
22935         custom highlighter demo.
22936         (TextFieldDemo.DemoHighlightPainter): New class (taken from
22937         TextAreaDemo).
22938         (TextFieldDemo.Compound): New class.
22939         (createTextFieldCompound): New method.
22940         (createLeftAlignedPanel): Rewritten.
22941         (createRightAlignedPanel): Rewritten.
22942         (createCenteredPanel): Rewritten.
22943         (createCustomColoredPanel): Removed.
22944         (createCustomColoredPanel1): New method.
22945         (createCustomColoredPanel2): New method.
22946         (createCustomBordersPanel): New method.
22947         (createMiscPanel): Rewritten.
22948         (actionPerformed): Rewritten.
22949         (createContent): Add panels of new compounds to main panel, put
22950         main panel in a JScrollPane.
22951         * examples/gnu/classpath/examples/swing/Demo.java:
22952         (Demo): Put desktop in a scrollpane.
22953         (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22954         method via reflection.
22955
22956 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22957
22958         * javax/swing/plaf/metal/MetalDesktopIconUI.java
22959         (createUI): Return new instance rather than shared instance.
22960
22961 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22962
22963         * javax/swing/text/FieldView.java:
22964         (checkContainer): Call updateVisibility() at the end.
22965
22966 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22967
22968         * java/awt/event/MouseEvent.java:
22969         (paramString): Add value of 'consumed' variable in string.
22970
22971 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22972
22973         PR 26967
22974         * javax/swing/JTextField.java: Removed scrollOffset variable.
22975         (JTextField): Moved up initialization of horizontalVisibility field.
22976         (getScrollOffset): Implemented.
22977         (setScrollOffset): Implemented.
22978         (getHorizonztalVisibility): Removed note.
22979         (scrollRectToVisible): New method.
22980         * javax/swing/text/FieldView.java: Added cachedSpan variable.
22981         (checkContainer): New method.
22982         (updateVisibility): New method.
22983         (calculateHorizontalSpan): New method.
22984         (adjustAllocation): Removed unneeded local variables, added code
22985         to handle scrolling.
22986         (getPreferredSpan): Use new method calculateHorizontalSpan,
22987         avoid calculation by returning cached value cachedSpan.
22988         (paint): Added check whether the hosted component is a JTextField.
22989         (insertUpdate): Invalidate cached span value, update visibility
22990         if neccessary.
22991         (removeUpdate): Dito.
22992         (changeUpdate): Dito.
22993
22994 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22995
22996         * javax/swing/JInternalFrame.java
22997         (setTitle): Set old value to 'this.title', not 'title'.
22998
22999 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
23000
23001         * javax/swing/JInternalFrame.java
23002         (AccessibleJInternalFrame.getAccessibleName): Implemented,
23003         (AccessibleJInternalFrame.getAccessibleRole): Implemented,
23004         (AccessibleJInternalFrame.getAccessibleValue): Implemented,
23005         (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
23006         (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
23007         (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
23008         (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
23009         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
23010         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
23011         (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue): 
23012         Implemented,
23013         (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue): 
23014         Implemented,
23015         (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue): 
23016         Implemented,
23017         (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue): 
23018         Implemented,
23019         (JInternalFrame()): Use "" for default title,
23020         (getAccessibleContext): Updated API docs,
23021         (getDesktopIcon): Likewise,
23022         (getLayer): Check for layer in client properties, and return 
23023         DEFAULT_LAYER if no setting is found,
23024         (getTitle): Updated API docs,
23025         (setDesktopIcon): Fire property change event.
23026
23027 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23028
23029         * javax/swing/ScrollPaneLayout.java (layoutContainer):
23030         Mind that the presence of one scroll bar may cause the
23031         need for another.
23032
23033 2006-04-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
23034
23035         * gnu/regexp/REToken.java(unicodeAware): New field,
23036         (toLowerCase, toUpperCase): New methods.
23037         * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
23038         gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
23039         Use toLowerCase and toUpperCase defined in REToken instead of
23040         those defined in java.lang.Character.
23041         * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
23042         (initialize): Sets unicodeAware of the generated REToken to false if
23043         REG_ICASE_USASCII is set.
23044         * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
23045         to lower case and keep the original value.
23046         (matchOneString): Use the new method charEquals to compare characters.
23047         (charEquals): New method to compare characters.
23048         * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
23049
23050 2006-04-12  David Gilbert  <david.gilbert@object-refinery.com>
23051
23052         * javax/swing/event/InternalFrameEvent.java:
23053         (paramString): Implemented,
23054         updated API docs all over.
23055         
23056 2006-04-12  Casey Marshall  <csm@gnu.org>
23057
23058         * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
23059         (Generator.setup): call `fillBlock.'
23060
23061 2006-04-12  Casey Marshall  <csm@gnu.org>
23062
23063         Fixes PR classpath/24481.
23064         * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
23065         initialize the adaptee.
23066         (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
23067         * gnu/java/security/prng/MDGenerator.java (addRandomByte,
23068         addRandomBytes): new methods.
23069
23070 2006-04-12  Tom Tromey  <tromey@redhat.com>
23071
23072         * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
23073         length strings.
23074
23075 2006-04-12  Lillian Angel  <langel@redhat.com>
23076
23077         * gnu/xml/dom/DomDocument.java
23078         (checkNCName): Removed unneeded part of check.
23079         * gnu/xml/dom/DomNode.java
23080         (dispatchEvent): Added code to grow ancestors array
23081         if needed. Changed checks to use depth of node instead.
23082         Fixes an infinite loop and segmentation fault.
23083         * gnu/xml/dom/html2/DomHTMLParser.java
23084         (handleEndTag): No need to use/make a copy of the node.
23085         Causes an infinite loop.
23086
23087 2006-04-12  Tom Tromey  <tromey@redhat.com>
23088
23089         PR classpath/27131:
23090         * java/util/BitSet.java (get): Early return if to==from.
23091
23092 2006-04-12  Mark Wielaard  <mark@klomp.org>
23093
23094         * java/security/SecureRandom.java (algorithm): New private field.
23095         (SecureRandom): Initialize algorithm.
23096         (SecureRandom(SecureRandomSpi,Provider,String)): New private
23097         constructor.
23098         (getInstance): Call 3 argument constructor.
23099         (getAlgorithm): New method.
23100
23101 2006-04-12  Mark Wielaard  <mark@klomp.org>
23102
23103         Port UncaughtExceptionHandler support from generics branch.
23104         * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
23105
23106 2006-04-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23107
23108         * java/lang/Thread.java:
23109         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
23110         Added docs and security check.
23111         (getUncaughtExceptionHandler()): Documented.
23112         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
23113         Added docs and security check.
23114         (getDefaultUncaughtExceptionHandler()): Documented.
23115         (getId()): Documented.
23116
23117 2006-04-12  Tom Tromey  <tromey@redhat.com>
23118
23119         * vm/reference/java/lang/VMThread.java (run): Use thread's
23120         uncaught handler.
23121         * java/lang/Thread.java (defaultHandler): New field.
23122         (setDefaultUncaughtExceptionHandler,
23123         getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
23124         getUncaughtExceptionHandler): New methods.
23125         * java/lang/ThreadGroup.java (ThreadGroup): Implements
23126         UncaughtExceptionHandler.
23127         (uncaughtException): Use getDefaultUncaughtExceptionHandler.
23128
23129 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
23130
23131         * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
23132         buffer. Loop only once to determine Utf8 length when possible. Make
23133         the inner loop bounded by buf.length.
23134         (getUTFlength): New private method.
23135         (buf): New private field.
23136
23137 2006-04-11  Lillian Angel  <langel@redhat.com>
23138
23139         * gnu/xml/dom/DomNodeIterator.java
23140         (nextNode): Moved line of code to avoid an infinite loop.
23141         * gnu/xml/dom/html2/DomHTMLAppletElement.java
23142         (getCls): New function.
23143         (setCls): Likewise.
23144         (getSrc): Likewise.
23145         (setSrc): Likewise.
23146         * gnu/xml/dom/html2/DomHTMLDocument.java:
23147         Added DomHTMLEmbedElement to map.
23148         (getApplets): Added node name, 'embed'.
23149         * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
23150         New class.
23151         * gnu/xml/dom/html2/DomHTMLObjectElement.java
23152         (getJavaCode): New function.
23153         (setJavaCode): Likewise.
23154         (getObject): Likewise.
23155         (setObject): Likewise.
23156         (getJavaObject): Likewise.
23157         (setJavaObject): Likewise.
23158         (getJavaArchive): Likewise.
23159         (setJavaArchive): Likewise.
23160         (getJavaCodeBase): Likewise.
23161         (setJavaCodeBase): Likewise.
23162         (getJavaType): Likewise.
23163         (setJavaType): Likewise.
23164         (setMayscript): Likewise.
23165         (getMayscript): Likewise.
23166         (setScriptable): Likewise.
23167         (getScriptable): Likewise.
23168         * gnu/xml/dom/html2/DomHTMLParser.java
23169         (parseDocument): Should not check for well formedness
23170         when parsing an html document.
23171         * java/awt/Window.java
23172         (dispatchEvent): Added check to avoid NPE.
23173
23174 2006-04-10  Tom Tromey  <tromey@redhat.com>
23175
23176         * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
23177         name.
23178         * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
23179         (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23180
23181 2006-04-10  Robert Schuster  <robertschuster@fsfe.org>
23182
23183         * javax/swing/plaf/basic/BasicTextUI.java:
23184         (getNextVisualPositionFrom): Marked as stub.
23185
23186 2006-04-10  Roman Kennke  <kennke@aicas.com>
23187
23188         * javax/swing/plaf/basic/BasicLookAndFeel.java
23189         (initSystemColorDefaults): Changed to use loadSystemColorDefaults
23190         and create the defaults as strings constants.
23191         (loadSystemColors): Implemented stubbed method.
23192
23193 2006-04-10  Tom Tromey  <tromey@redhat.com>
23194
23195         * .settings/org.eclipse.core.resources.prefs: Set encoding for
23196         ChangeLog.
23197
23198 2006-04-10  Tom Tromey  <tromey@redhat.com>
23199
23200         * java/io/CharArrayWriter.java (append): Javadoc fix.
23201         (append): Likewise.
23202
23203 2006-04-10  Tom Tromey  <tromey@redhat.com>
23204
23205         * javax/accessibility/AccessibleTextSequence.java: New file.
23206         * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
23207         field.
23208         (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
23209         EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
23210         FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
23211         SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23212         * javax/accessibility/AccessibleExtendedText.java: New file.
23213         * javax/accessibility/AccessibleContext.java
23214         (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
23215         (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
23216         (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
23217         * javax/accessibility/AccessibleAttributeSequence.java: New file.
23218         * javax/accessibility/AccessibleStreamable.java: New file.
23219         * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
23220         fix.
23221
23222 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23223
23224         * javax/swing/tree/AbstractLayoutCache.java 
23225         (getNodeDimensions, getRowsForPath): Implemented.
23226         * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
23227         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23228
23229 2006-04-10  Roman Kennke  <kennke@aicas.com>
23230
23231         * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
23232
23233 2006-04-10  Roman Kennke  <kennke@aicas.com>
23234
23235         * javax/swing/JInternalFrame.java
23236         (AccessibleJInternalFrame): Marked all stubbed methods as such
23237         by adding throws NotImplementedException.
23238
23239 2006-04-10  Roman Kennke  <kennke@aicas.com>
23240
23241         * javax/swing/JFileChooser.java
23242         (getAccessibleContext): Don't create a new instance on each
23243         call, instead store the accessible context in the
23244         accessibleContext field.
23245
23246 2006-04-10  Roman Kennke  <kennke@aicas.com>
23247
23248         * javax/swing/JComboBox.java
23249         (AccessibleJComboBox): Marked all stubbed methods as such
23250         by adding throws NotImplementedException.
23251
23252 2006-04-10  Roman Kennke  <kennke@aicas.com>
23253
23254         * javax/swing/ActionMap.java
23255         (readObject): Removed.
23256         (writeObject): Removed.
23257
23258 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23259
23260         * javax/swing/tree/DefaultTreeSelectionModel.java
23261         (addSelectionPaths, setSelectionPaths): Call 
23262         insureUniqueness. (clone, setRowMapper): Implemented.
23263         * TreePath (path): Marked final.
23264
23265 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23266
23267         * javax/swing/tree/DefaultTreeSelectionModel.java:
23268         Documented and autoformatted. (insureUniqueness):
23269         Removed stub marking.
23270
23271 2006-04-09  David Gilbert  <david.gilbert@object-refinery.com>
23272
23273         * javax/swing/SizeSequence.java
23274         (sizes): Don't initialise here,
23275         (SizeSequence(int, int)): Initialise sizes field,
23276         (SizeSequence(int[])): Clone argument instead of calling setSizes(),
23277         (setSize): Do nothing when index is out of bounds,
23278         (getIndex): Implemented,
23279         (setSizes): Reimplemented,
23280         (getSizes): Likewise,
23281         (insertEntries): Likewise,
23282         (removeEntries): Likewise,
23283         plus added API docs all over.
23284
23285 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org
23286
23287         * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
23288         one way message and retry after any IOException.
23289
23290 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23291
23292         * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
23293         Set the byte order.
23294
23295 2006-04-09  Wolfgang Baer  <WBaer@gmx.de>
23296
23297         * org/omg/PortableServer/ServantLocatorPOA.java: 
23298         (preinvoke, postinvoke): Remove default implementation.
23299         * org/omg/PortableServer/ServantActivatorPOA.java: 
23300         (incarnate, etherealize): Remove default implementation.        
23301         * org/omg/PortableInterceptor/ObjectReferenceFactory.java: 
23302         Extends from ValueBase and not from ObjectReferenceFactoryOperations.
23303         (make_object): Moved method from ObjectReferenceFactoryOperations.
23304         * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java: 
23305         Removed unspecified interface.  
23306         * org/omg/DynamicAny/_DynAnyStub.java:
23307         (_DynAnyStub(Delegate)): Removed constructor.
23308         * org/omg/DynamicAny/_DynArrayStub.java,
23309         * org/omg/DynamicAny/_DynAnyFactoryStub.java,
23310         * org/omg/DynamicAny/_DynEnumStub.java,
23311         * org/omg/DynamicAny/_DynFixedStub.java,
23312         * org/omg/DynamicAny/_DynSequenceStub.java,
23313         * org/omg/DynamicAny/_DynStructStub.java,
23314         * org/omg/DynamicAny/_DynUnionStub.java,
23315         * org/omg/DynamicAny/_DynValueStub.java: 
23316         Extend from ObjectImpl and not from _DynAnyStub.
23317         (type, next, destroy, copy, rewind, assign, component_count, 
23318         current_component, equal, from_any, get_any, get_boolean, get_char, 
23319         get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet, 
23320         get_reference, get_short, get_string, get_typecode, get_ulong, 
23321         get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
23322         insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
23323         insert_long, insert_longlong, insert_octet, insert_reference, 
23324         insert_short, insert_string, insert_typecode, insert_ulong, 
23325         insert_ulonglong, insert_ushort, insert_val, insert_wchar, 
23326         insert_wstring, seek, to_any): New methods copied from _DynAnyStub.             
23327         * org/omg/CosNaming/_BindingIteratorStub.java:
23328         (_BindingIteratorStub(Delegate)): Made package private.
23329         * org/omg/CosNaming/_NamingContextExtStub.java:
23330         (_NamingContextExtStub(Delegate)): Made package private.
23331         * org/omg/CosNaming/_NamingContextStub.java:
23332         (_NamingContextStub(Delegate)): Made package private.
23333         (throw4, throw5): Likewise.
23334         * gnu/CORBA/NamingService/NameParser.java (resolve): 
23335         Adapt to package private constructor. Use _set_delegate instead.        
23336         * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
23337         * org/omg/CORBA/ORB.java: 
23338         (create_recursive_sequence_tc): Made abstract.
23339         (get_default_context): Likewise.
23340         * gnu/CORBA/OrbRestricted.java: 
23341         (create_recursive_sequence_tc): New moved method.
23342         (get_default_context): Likewise.        
23343         * org/omg/CORBA/ParameterMode.java: 
23344         (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final. 
23345
23346 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23347
23348         * gnu/CORBA/GIOP/MessageHeader.java (write): 
23349         More informative exception.
23350         * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
23351         * gnu/CORBA/SocketRepository.java (get_socket):
23352         Removed debugging code.
23353
23354 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23355
23356         * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
23357         one way message, but ignore if EOF was received.
23358         * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
23359         Minor.EOF if the end of file is received instead of the header.
23360
23361 2006-04-09  Roman Kennke  <kennke@aicas.com>
23362
23363         * javax/swing/plaf/metal/MetalRootPaneUI.java
23364         (MetalTitlePane.IconifyAction): New inner class.
23365         (MetalTitlePane.MaximizeAction): New inner class.
23366         (MetalTitlePane.createActions): Create iconifyAction and
23367         maximizeAction.
23368         (MetalRootLayout.titlePane): New field.
23369         (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
23370         constructor.
23371         (MetalRootLayout.preferredLayoutSize): Changed to not make
23372         assumptions about the actual component order.
23373         (MetalRootLayout.layoutContainer): Changed to not make
23374         assumptions about the actual component order.
23375         (installWindowDecorations): Pass the titlePane as parameter to
23376         the MetalRootLayout constructor.
23377         (uninstallWindowDecorations): Changed to not make
23378         assumptions about the actual component order.
23379
23380 2006-04-08  Roman Kennke  <kennke@aicas.com>
23381
23382         * javax/swing/plaf/metal/MetalRootPaneUI.java
23383         (MetalTitlePane.MouseHandler): New inner class to handle dragging
23384         of frames.
23385         (MetalTitlePane.installListeners): Don't register a focus listener
23386         on the window. This is a potential memory leak and must be
23387         implemented on a different way. Install mouse listener here.
23388         (installWindowDecorations): Fixed assertion condition. Always
23389         insert the window decoration at index#1 in the layered 
23390         pane.
23391
23392 2006-04-08  Roman Kennke  <kennke@aicas.com>
23393
23394         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
23395         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
23396         Only resize window if actual width or height value changes.
23397         Avoids nasty flicker when only setLocation() is beeing called
23398         on a window.
23399
23400 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23401
23402         * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23403         exception if the magic sequence does not match.
23404
23405 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23406
23407         * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23408         response for the one way messages.
23409
23410 2006-04-08  Roman Kennke  <kennke@aicas.com>
23411
23412         * javax/swing/MenuSelectionManager.java
23413         (processKeyEvent): Implemented stub method.
23414         * javax/swing/JMenu.java
23415         (processKeyEvent): Implemented stub method.
23416         * javax/swing/JMenu.java
23417         (processKeyEvent): Implemented stub method.
23418         (processMenuKeyEvent): Implemented stub method.
23419
23420 2006-04-08  Roman Kennke  <kennke@aicas.com>
23421
23422         * javax/swing/AbstractAction.java
23423         (readObject): Removed unneeded method.
23424         (writeObject): Removed unneeded method.
23425
23426 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23427
23428         * javax/swing/plaf/synth/SynthPainter.java: 
23429         (paintSplitPaneDividerBorder): Removed.
23430
23431 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23432
23433         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java: 
23434         (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23435         No longer constants.
23436         (static_initializer): Added to initialize above fields.
23437         * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY, 
23438         MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23439         (static_initializer): Added to initialize above fields.
23440
23441 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23442
23443         * java/awt/Dialog.java: Improved documentation all over.
23444         (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23445         (Dialog(Dialog)): Likewise.
23446
23447 2006-04-08  Mark Wielaard  <mark@klomp.org>
23448
23449         * java/util/jar/JarFile.java (provider): New static field.
23450         (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23451         to `getInstance.'
23452
23453 2006-04-08  Mark Wielaard  <mark@klomp.org>
23454
23455         PR 27081
23456         * java/lang/StackTraceElement.java (toString): Don't add space
23457         between type and source indicator.
23458
23459 2006-04-07  Casey Marshall  <csm@gnu.org>
23460
23461         Fixes PR classpath/24464        
23462         * java/util/jar/JarFile.java (verify, verifyHashes,
23463         EntryInputStream.<init>): pass the Gnu provider directly to
23464         `getInstance.'
23465
23466 2006-04-08  Raif S. Naffah  <raif@swiftdsl.com.au>
23467
23468         PR classpath/27071
23469         * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23470         (DIGEST0): Use version 3 test vector.
23471         (Sd): Removed.
23472         (S_box): New field: Version 3 S-box values.
23473         (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23474         (transform): Formating.
23475         (padBuffer): Likewise.
23476         (getResult): Likewise.
23477         (selfTest): Likewise.
23478
23479 2006-04-07  Tom Tromey  <tromey@redhat.com>
23480
23481         * java/util/InvalidPropertiesFormatException.java
23482         (serialVersionUID): New field.
23483         (readObject, writeObject): New methods.
23484         * java/util/Arrays.java (toString): Javadoc fixes.
23485         * java/net/URLConnection.java: Cleaned up imports.
23486         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23487         * java/lang/reflect/MalformedParameterizedTypeException.java
23488         (serialVersionUID): New field.
23489         * java/lang/reflect/GenericSignatureFormatError.java
23490         (serialVersionUID): New field.
23491         * java/lang/Class.java (Class): Javado fixes.
23492         (getComponentType): Likewise.
23493         (getGenericInterfaces): Likewise.
23494         (getTypeParameters): Likewise.
23495         * java/io/CharArrayWriter.java (append): Javadoc fixes.
23496         * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23497         New field.
23498         * java/lang/TypeNotPresentException.java (serialVersionUID): New
23499         field.
23500         * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23501         New field.
23502
23503 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
23504
23505         * java/awt/Dialog.java 
23506         (AccessibleAWTDialog): Added api docs
23507         (AccessibleAWTDialog.getAccessibleStateSet):
23508          Renamed from getAccessibleState.
23509         * java/awt/Frame.java 
23510         (AccessibleAWTFrame): Added api docs
23511         (AccessibleAWTFrame.getAccessibleStateSet):
23512          Renamed from getAccessibleState.
23513
23514 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
23515
23516         * java/awt/Dialog.java: Reformatted.
23517
23518 2006-04-07  Lillian Angel  <langel@redhat.com>
23519
23520         * java/awt/Component.java
23521         (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23522         HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23523
23524 2006-04-07  Tom Tromey  <tromey@redhat.com>
23525
23526         * java/beans/beancontext/BeanContextMembershipEvent.java
23527         (serialVersionUID): New field.
23528         * java/beans/beancontext/BeanContextServicesSupport.java
23529         (addBeanContextServicesListener): Synchronize.
23530         (addService): Implemented.
23531         (createBCSChild): Implemented.
23532         (BCSSChild): Added arguments.
23533         (fireServiceAdded): Implemented.
23534         (fireServiceRevoked): Implemented.
23535         (getCurrentServiceSelectors): Implemented.
23536         (hasService): Implemented.
23537         (removeBeanContextServicesListener): Implemented.
23538         (serviceAvailable): Implemented.
23539         (serviceRevoked): Implemented.
23540         * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23541         arguments.
23542         (createBCSChild): Implemented.
23543         (BeanContextSupport): 
23544         (addBeanContextMembershipListener): Synchronize.
23545         (fireChildrenAdded): Implemented.
23546         (fireChildrenRemoved): Implemented.
23547         (BeanContextSupport): Use default locale.
23548         (isEmpty): Implemented.
23549         (isDesignTime): Implemented.
23550         (size): Implemented.
23551         (toArray): Synchronized.
23552         (toArray): Likewise.
23553         (iterator): Likewise.
23554         (BCSIterator): Implemented.
23555         (bcsChildren): Implemented.
23556         (validatePendingAdd): Implemented.
23557         (validatePendingRemove): Likewise.
23558         (childJustAddedHook): Implemented.
23559         (childJustRemovedHook): Likewise.
23560         (classEquals): Likewise.
23561         (toArray): Mark as stub.
23562         (setDesignTime): Implemented.
23563         (copyChildren): Implemented.
23564         (containsKey): Implemented.
23565         (contains): Likewise.
23566         (containsAll): Likewise.
23567         (getResource): Implemented.
23568         (getResourceAsStream): Likewise.
23569         (removeBeanContextMembershipListener): Likewise.
23570         * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23571         (serialVersionUID): New field.
23572         * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23573         (serialVersionUID): New field.
23574         * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23575         fix.
23576
23577 2006-04-06  Roman Kennke  <kennke@aicas.com>
23578
23579         PR 26937
23580         * javax/swing/MenuSelectionManager.java
23581         (setSelectedPath): Search one more item in the loop.
23582         
23583 2006-04-06  Tom Tromey  <tromey@redhat.com>
23584
23585         * java/awt/image/renderable/RenderableImageProducer.java
23586         (image, context, consumers): New fields.
23587         (RenderableImageProducer): Implemented.
23588         (setRenderContext): Likewise.
23589         (addConsumer): Likewise.
23590         (isConsumer): Likewise.
23591         (removeConsumer): Likewise.
23592         (startProduction): Likewise.
23593
23594 2006-04-06  Roman Kennke  <kennke@aicas.com>
23595
23596         * java/awt/Component.java
23597         (AccessibleAWTComponent.getBounds): Return the component
23598         bounds regardless of its showing state.
23599         (AccessibleAWTComponent.getLocation): Return the component
23600         location regardless of its showing state.
23601         (AccessibleAWTComponent.getSize): Return the component
23602         size regardless of its showing state.
23603
23604 2006-04-06  Roman Kennke  <kennke@aicas.com>
23605
23606         * javax/swing/JRootPane.java
23607         (getAccessibleContext): New method. Provides an accessibleContext
23608         for JRootPanes.
23609
23610 2006-04-06  Roman Kennke  <kennke@aicas.com>
23611
23612         * java/awt/Toolkit.java
23613         (initAccessibility): Use the 'gnu.classpath.home.url' property
23614         to determine the system confiuration directory.
23615         * java/awt/Component.java
23616         (dispatchEvent): Trigger Toolkit dispatching here.
23617         (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23618         so it can't be overridden by subclasses and is performed in
23619         any case.
23620
23621 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23622         
23623         * javax/naming/Binding.java: Added API docs.
23624         * javax/naming/NameClassPair.java: Added API docs.
23625         (fullName): New field.
23626         (setNameInNamespace): New 1.5 method.
23627         (getNameInNamespace): Likewise.
23628
23629 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23630
23631         * javax/naming/CompositeName.java: 
23632         (readObject): New deserialization method.
23633         (writeObject): New serialization method.
23634
23635 2006-03-29  Nektarios K. Papadopoulos  <npapadop at inaccessnetworks.com>
23636
23637         * javax/security/auth/x500/X500Principal.java
23638         (readAttributeValue) Check for separator after quoted value was
23639         failing in all cases.
23640
23641 2006-04-06  Mark Wielaard  <mark@klomp.org>
23642
23643         * java/lang/Class.java (getClassLoader): Don't do security check
23644         when loader is null.
23645
23646 2006-04-06  Roman Kennke  <kennke@aicas.com>
23647
23648         * java/awt/Toolkit.java
23649         (getDefaultToolkit): Initialize accessibility after setting
23650         up the toolkit.
23651         (initAccessibility): New helper method to setup accessibility.
23652
23653 2006-04-06  Roman Kennke  <kennke@aicas.com>
23654
23655         * javax/swing/AbstractButton.java
23656         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23657         (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23658         stub.
23659         (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23660         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23661         (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23662         (AccessibleAbstractButton.getCharCount): Implemented stub.
23663         (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23664         (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23665         (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23666         (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23667         (AccessibleAbstractButton.getSelectedText): Implemented stub.
23668         (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23669         private method.
23670
23671 2006-04-06  Roman Kennke  <kennke@aicas.com>
23672
23673         * java/awt/Component.java
23674         (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23675         state here. This is only done in JComponent.
23676         * javax/swing/JComponent.java
23677         (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23678         here.
23679         (getNextFocusableComponent): Implemented stub method.
23680         (grabFocus): Implemented stub method.
23681         (unregisterKeyboardAction): Implemented stub method.
23682         (setNextFocusableComponent): Implemented stub method.
23683         * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23684         This is a helper class for providing compatibility with the older
23685         Swing focus API.
23686
23687 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23688
23689         Fixes bug #26995
23690         * javax/naming/directory/BasicAttribute.java,
23691         * javax/naming/directory/BasicAttributes.java: 
23692         (readObject): New deserialization method.
23693         (writeObject): New serialization method.
23694
23695 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23696
23697         * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23698         (getErrorHandler): Made method abstract.
23699         (setErrorHanlder): Likewise.
23700         * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23701         (getErrorHandler): Implement abstract method from superclass.
23702         (setErrorHandler): Likewise.
23703         (errorHandler): New field.
23704         * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:     
23705         (getErrorHandler): Implement abstract method from superclass.
23706         (setErrorHandler): Likewise.
23707         (errorHandler): New field.      
23708         * javax/xml/XMLConstants.java: Corrected since tag.
23709         (XMLConstants): Added private constructor.
23710         * javax/xml/datatype/Duration.java: Corrected since tag.
23711         (multiply): Made method abstract.
23712         * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23713         (DatatypeConstants): Added private constructor.
23714         * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23715         (XPathConstants): Added private constructor.
23716
23717 2006-04-05  Tom Tromey  <tromey@redhat.com>
23718
23719         * javax/security/auth/kerberos/ServicePermission.java: Now final.
23720
23721 2006-04-05  Tom Tromey  <tromey@redhat.com>
23722
23723         PR libgcj/26625:
23724         * lib/Makefile.am (compile-classes): Touch the output file.
23725
23726 2006-04-05  Roman Kennke  <kennke@aicas.com>
23727
23728         * javax/swing/AbstractButton.java
23729         (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23730         of the focused state. This is already done in AccessibleAWTComponent.
23731
23732 2006-04-05  Roman Kennke  <kennke@aicas.com>
23733
23734         * javax/swing/JComponent.java
23735         (accessibleContext): Fixed API doc for this field.
23736         (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23737         (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23738         Implemented and added API docs.
23739         (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23740         Implemented and added API docs.
23741         (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23742         (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23743         Implemented and added API docs.
23744         (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23745         Implemented and added API docs.
23746         (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23747         (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23748         (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23749         (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23750         (AccessibleJComponent.getAccessibleStateSet): Simply return
23751         super here. Added comment about this.
23752
23753 2006-04-05  Roman Kennke  <kennke@aicas.com>
23754
23755         * javax/swing/JComponent.java
23756         (AccessibleJComponent.addPropertyChangeListener): Install
23757         ContainerHandler and FocusHandler here.
23758         (AccessibleJComponent.removePropertyChangeListener): Uninstall
23759         ContainerHandler and FocusHandler here.
23760         (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23761         by super.getAccessibleChildrenCount().
23762         (AccessibleJComponent.getAccessibleChild): Replaced
23763         by super.getAccessibleChild().
23764         (AccessibleJComponent.getAccessibleStateSet): Implemented by
23765         adding OPAQUE to the supported states.
23766         (AccessibleJComponent.getAccessibleName): Added titled border
23767         and label fallbacks.
23768         (AccessibleJComponent.getAccessibleDescription): Added tooltip
23769         and label fallbacks.
23770         (AccessibleJComponent.getAccessibleRole): Removed TODO.
23771         (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23772         explaining why return null seems correct here.
23773         * javax/swing/JLabel.java
23774         (LABEL_PROPERTY): New constant.
23775         (setLabelFor): Store label in labeled component's client properties
23776         for the AccessibleJComponent to read.
23777
23778 2006-04-05  Tom Tromey  <tromey@redhat.com>
23779
23780         * java/util/zip/ZipFile.java (available): Defer to super if
23781         entry's size is unknown.
23782
23783 2006-04-05  Tom Tromey  <tromey@redhat.com>
23784
23785         * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23786         property with mime.types name.
23787         * gnu/classpath/SystemProperties.java: Set
23788         gnu.classpath.mime.types.file if not already set.
23789         * java/net/URLConnection.java (defaultFactory): New field.
23790         (guessContentTypeFromStream): Mark as unimplemented.
23791         (getContentHandler): Updated with libgcj's implementation.
23792         * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23793         from libgcj.
23794
23795 2006-04-05  Bryce McKinlay  <mckinlay@redhat.com>
23796
23797         PR classpath/27028
23798         PR classpath/24752
23799         * java/util/AbstractList.java (hasNext): Don't throw
23800         ConcurrentModificationException. Update Javadoc.
23801         (hasPrevious): Likewise.
23802         (nextIndex): Likewise.
23803         (previousIndex): Likewise.
23804         * java/util/HashMap.java (hasNext): Likewise.
23805         * java/util/Hashtable.java (hasNext): Likewise.
23806         * java/util/IdentityHashMap.java (hasNext): Likewise.
23807         * java/util/LinkedHashMap.java (hasNext): Likewise.
23808         * java/util/LinkedList.java (nextIndex): Likewise.
23809         (previousIndex): Likewise.
23810         (hasNext): Likewise.
23811         (hasPrevious): Likewise.
23812         * java/util/TreeMap.java (hasNext): Likewise.
23813         * java/util/WeakHashMap.java (hasNext): Likewise.
23814
23815 2006-04-05  Roman Kennke  <kennke@aicas.com>
23816
23817         * javax/swing/AbstractButton.java
23818         (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23819         (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23820         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23821         (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23822         (AccessibleAbstractButton.getAccessibleActionDescription):
23823         Implemented stub.
23824         (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23825         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23826         (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23827         (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23828         (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23829         (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23830
23831 2006-04-05  Roman Kennke  <kennke@aicas.com>
23832
23833         * javax/swing/JComboBox.java
23834         (selectWithKeyChar): Implemented stubbed method.
23835
23836 2006-04-05  Roman Kennke  <kennke@aicas.com>
23837
23838         * javax/swing/LookAndFeel.java
23839         (installProperty): New method. Allows primitive typed properties
23840         to be handled like UIResources.
23841         * javax/swing/AbstractButton.java
23842         (clientBorderPaintedSet): New field.
23843         (clientRolloverEnabledSet): New field.
23844         (clientIconTextGapSet): New field.
23845         (clientContentAreaFilledSet): New field.
23846         (setRolloverEnabled): Set the client field to true.
23847         (setBorderPainted): Likewise.
23848         (setIconTextGap): Likewise.
23849         (setContentAreaFilled): Likewise.
23850         (setUIProperty): New helper method.
23851         * javax/swing/JComponent.java
23852         (clientOpaqueSet): New field.
23853         (clientAutoscrollsSet): New field.
23854         (setAutoscrolls): Set the client field to true.
23855         (setOpaque): Likewise.
23856         (setUIProperty): New helper method.
23857         * javax/swing/JDesktopPane.java
23858         (clientDragModeSet): New field.
23859         (setDragMode): Set the client field to true.
23860         (setUIProperty): New helper method.
23861         * javax/swing/JSplitPane.java
23862         (clientDividerSizeSet): New field.
23863         (clientOneTouchExpandableSet): New field.
23864         (setDividerSize): Set the client field to true.
23865         (setOneTouchExpandable): Likewise.
23866         (setUIProperty): New helper method.
23867         * javax/swing/JTable.java
23868         (clientRowHeightSet): New field.
23869         (setRowHeight): Set the client field to true.
23870         (setUIProperty): New helper method.
23871         * javax/swing/JTree.java
23872         (clientRowHeightSet): New field.
23873         (clientScrollsOnExpandSet): New field.
23874         (clientShowsRootHandlesSet): New field.
23875         (setRowHeight): Set the client field to true.
23876         (setShowsRootHandles): Likewise.
23877         (setScrollsOnExpand): Likewise.
23878         (setUIProperty): New helper method.
23879
23880 2006-04-05  Roman Kennke  <kennke@aicas.com>
23881
23882         * java/awt/Component.java
23883         (getFont): Don't request the font from the peer's graphics. The
23884         graphics should instead get the font from the Component, which might
23885         result in a loop.
23886         (getFocusCycleAncestor): Don't special case Window.
23887         (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23888         to here. Correctly determine the focus cycle root.
23889         (transferFocusBackward): Likewise.
23890         (transferFocusUpCycle): Likewise.
23891         * java/awt/Container.java
23892         (transferFocusDownCycle): Moved implementation from
23893         DefaultKeyboardFocusManager to here.
23894         * java/awt/DefaultKeyboardFocusManager.java
23895         (focusPreviousComponent): Moved implementation to
23896         Component.transferFocusBackward().
23897         (focusNextComponent): Moved implementation to
23898         Component.nextFocus().
23899         (upFocusCycle): Moved implementation to
23900         Component.transferFocusUpCycle().
23901         (downFocusCycle): Moved implementation to
23902         Container.transferFocusDownCycle().
23903
23904 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23905
23906         * java/awt/image/ComponentSampleModel.java
23907         (equals): Implemented,
23908         (hashCode): Likewise.
23909
23910 2006-04-05  Jeroen Frijters  <jeroen@frijters.net>
23911
23912         * java/lang/Class.java
23913         (cast): New method.
23914
23915 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23916
23917         * java/awt/image/ComponentSampleModel.java
23918         (getBankIndices): Return a copy of the array, not a reference to the
23919         original,
23920         (getBandOffsets): Likewise.
23921
23922 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23923
23924         * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23925
23926 2006-04-04  Tom Tromey  <tromey@redhat.com>
23927
23928         * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23929
23930 2006-04-04  Tom Tromey  <tromey@redhat.com>
23931
23932         * java/net/MimeTypeMapper.java (mime_types): No longer static.
23933         (MimeTypeMapper): Initialize.
23934         (fillFromFile): New method.
23935         (main): New method.
23936         (mime_strings): Updated.
23937
23938 2006-04-04  Tom Tromey  <tromey@redhat.com>
23939
23940         * lib/gen-classlist.sh.in: Correct handle generated files.
23941
23942 2006-04-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
23943
23944         * gnu/regexp/CharIndexed.java(setAnchor): New method.
23945         * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23946         * gnu/regexp/CharIndexedCharSequence.java: New file.
23947         * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23948         gnu.regexp.CharIndexedCharSequence.
23949         * gnu/regexp/CharIndexedString.java: Likewise.
23950         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23951         * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23952         using CharIndexedCharSequence. Use setAnchor when the input
23953         object is already a CharIndexed.
23954         * java/util/regex/Matcher.java(inputCharIndexed): New field
23955         to be used as a parameter of the RE#getMatch.
23956
23957 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23958
23959         * java/awt/image/SampleModel.java: Reformatted.
23960
23961 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23962
23963         * java/awt/image/ComponentSampleModel.java
23964         (ComponentSampleModel(int, int, int, int, int[])): Added API 
23965         documentation,
23966         (ComponentSampleModel(int, int, int, int, int[], int[]): Throw 
23967         IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23968         of the bandOffsets and bankIndices arguments, added API documentation,
23969         * java/awt/image/SampleModel.java
23970         (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23971         unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23972         less than or equal to zero, added API documentation.
23973
23974 2006-04-04  Lillian Angel  <langel@redhat.com>
23975
23976         * java/util/zip/ZipFile.java
23977         (getInputStream): Fixed to return size of ZipEntry
23978         minus the total bytes read. This guarantees that the 
23979         right value is returned even if some bytes have already
23980         been read.
23981
23982 2006-04-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
23983
23984         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23985         Remove static modifier.
23986
23987 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23988
23989         * java/awt/image/ComponentSampleModel.java: Reformatted.
23990
23991 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
23992
23993         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23994         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23995         retrieval instructions to javadoc header.
23996         * javax/imageio/ImageWriteParam.java: Fix javadoc for
23997         compressionType field.
23998         * lib/Makefile.am (propertydirs): Add javax directory.
23999         (propertyfiles): Likewise.
24000         * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
24001         New file.
24002
24003 2006-04-03  Tom Tromey  <tromey@redhat.com>
24004
24005         PR classpath/26971:
24006         * javax/naming/directory/BasicAttribute.java: Added missing @since.
24007         (BasicAttributeEnumeration.where): Initialize to 0.
24008         (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
24009
24010 2006-04-03  Lillian Angel  <langel@redhat.com>
24011
24012         PR classpath/24596 and PR classpath/26930
24013         * java/util/zip/ZipFile.java
24014         (getInputStream): Override available function for 
24015         InflaterInputStream instance.
24016
24017 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
24018
24019         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
24020
24021 2006-04-03  Tom Tromey  <tromey@redhat.com>
24022
24023         * javax/security/auth/kerberos/ServicePermission.java: New file.
24024         * javax/security/auth/kerberos/DelegationPermission.java: New file.
24025         * javax/security/auth/kerberos/KerberosKey.java: New file.
24026         * javax/security/auth/kerberos/KeyImpl.java: New file.
24027         * javax/security/auth/kerberos/KerberosTicket.java: New file.
24028         * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
24029
24030 2006-04-03  Sven de Marothy  <sven@physto.se>
24031
24032         * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
24033         non-GtkImage images.
24034
24035 2006-04-03  Mark Wielaard  <mark@klomp.org>
24036
24037         * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
24038         as temporary file name.
24039
24040 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
24041
24042         * INSTALL: Documented --with-glibj-zip option.
24043
24044 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
24045
24046         Fixed all pscan warnings.
24047
24048         * native/jni/classpath/jcl.c (JCL_ThrowException),
24049         native/jni/classpath/jcl.h (DBG),
24050         native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
24051         native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
24052         Use "%s" format in fprintf and snprintf explicitely when printing a single 
24053         string to prevent format string exploits.
24054         
24055         * native/jni/java-net/javanet.h (DBG): Removed duplicate
24056         definition. Included jcl.h instead.
24057  
24058 2006-04-03  Raif S. Naffah  <raif@swiftdsl.com.au>
24059
24060         * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
24061         (provider): Made it protected.
24062         (providerInstalled): New field.
24063         (Main): Made it a 0-arguments constructor.
24064         Removed throws clasue.
24065         (main): Removed throws clause.
24066         Call processArgs(args) after constructing instance.
24067         Call teardown() before existing.
24068         (processArgs): Added javadoc.
24069         Reduced to throws Exception.
24070         (start): Likewise.
24071         (teardown): New method.
24072         (setupCommonParams): Added javadoc.
24073         Install designated provider if not already installed.
24074         (installNewProvider): New method.
24075         (setupSigningParams): Added javadoc.
24076         Instantiate the KeyStore using type only.
24077         * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
24078         Removed unused imports.
24079         (start): Reduced to throws Exception.
24080         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
24081         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
24082         Re-organized imports.
24083         * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
24084         Test ignoring case.
24085         (getNames): Add "dsa" as an algorithm provided by this Factory.
24086         (makeInstance): Construct IllegalArgumentException with 2 arguments.
24087
24088 2006-04-03  Roman Kennke  <kennke@aicas.com>
24089
24090         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
24091         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
24092         Replaced g_free() with pango_item_free() to avoid problems
24093         with the allocator.
24094
24095 2006-04-03  Rafael H. Schloming  <rafaels@redhat.com>
24096
24097         Fixes bug #26668
24098         * java/util/logging/Level.java (parse): Document.
24099         * java/util/logging/LogManager.java (rootLogger): Removed.
24100         (LogManager): Just set loggers to new HashMap.
24101         (getLogManager): Make synchronized. Create and init LogManager if it
24102         doesn't exist yet.
24103         (static): Removed block.
24104         (MANAGER_PROPERTY): New private final string.
24105         (makeLogManager): Use new property string, move warning to
24106         createInstance() method.
24107         (CONFIG_PROPERTY): New private final string.
24108         (initLogManager): New method.
24109         (addLogger): Use Logger.root, not rootLogger.
24110         (findAncestor): Likewise.
24111         (readConfiguration): Move warning to createInstance() method.
24112         Add handlers directly to Logger.root. Warn about bad level values.
24113         (getClassProperty): Use new locateClass() method.
24114         (getInstanceProperty): Only catch specific newInstance Errors.
24115         (createInstance): Make private and takes a string to use in warning
24116         messages. Use new locateClass() method and generate appropriate
24117         warning message.
24118         (warn): New methods.
24119         (locateClass): Locates a class through the context class loader and
24120         system class loader as backup.
24121         * java/util/logging/Logger.java (root): New static final field.
24122         (Logger): Set parent to root.
24123         (setParent): Directly check root field.
24124
24125 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24126
24127         * java/util/Collections.java:
24128         (binarySearch(List, T)): Fixed signature.
24129         (unmodifiableList(List)): Likewise.
24130         (UnmodifiableList(List)): Fixed constructor.
24131         (UnmodifiableRandomAccessList(List)): Likewise.
24132         (unmodifiableMap(Map)): Fixed signature.
24133         (UnmodifiableMap(Map)): Fixed constructor.
24134         (unmodifiableSortedMap(Map)): Fixed signature.
24135         (UnmodifiableSortedMap(Map)): Fixed constructor.
24136         
24137 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24138
24139         * java/io/ObjectOutputStream.java:
24140         (writeObject(Object)): Added enum support.
24141         (writeClassDescriptor(ObjectStreamClass)): Likewise.
24142         * java/io/ObjectStreamClass.java:
24143         (isEnum()): New package-private method.
24144         (setFlags(Class)): Added enum support.
24145         * java/io/ObjectStreamConstants.java:
24146         (SC_ENUM): Added.
24147         
24148 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24149
24150         * javax/swing/text/Segment.java:
24151         (setPosition): Make exception message more verbose.
24152         * javax/swing/text/WrappedPlainView.java:
24153         (insertUpdate): Removed unneeded repaint call.
24154         (changeUpdate): Dito.
24155         (removeUpdate): Dito.
24156         (WrappedLine.determineNumLines): Do not return numLines, break
24157         from loop if no new break point has been calculated.
24158         (WrappedLine.updateDamage): Rewritten.
24159         (WrappedLine.insertUpdate): Removed unneeded update code.
24160         (WrappedLine.removeUpdate): Removed unneeded update code, added
24161         comment.        
24162
24163 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
24164
24165         * configure.ac (with-glibj-zip): Added new option.
24166
24167         * examples/Makefile.am,
24168         lib/Makefile.am,
24169         tools/Makefile.am: Adapted build classpath to use glibj.zip,
24170         in addition to classes in lib directory.
24171
24172 2006-04-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24173
24174         * tools/gnu/classpath/tools/giop/GRMIC.java,
24175         tools/gnu/classpath/tools/giop/IorParser.java,
24176         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
24177         tools/gnu/classpath/tools/giop/grmic/Generator.java,
24178         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
24179         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
24180         tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
24181         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
24182         tools/gnu/classpath/tools/rmi/RMIC.java,
24183         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
24184         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
24185         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
24186         linking exception from the licensing header.
24187         * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24188         Added licensing header.
24189
24190 2006-04-02  Mark Wielaard  <mark@klomp.org>
24191
24192         * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
24193         (jarsigner): Removed.
24194
24195 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
24196
24197         * configure.ac: don't check for isnan function.
24198         * native/fdlibm/fdlibm.h: Always use the isnan macro.
24199
24200 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
24201
24202         * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
24203         * tools/Makefile.am: Generate jarsigner shell script.
24204         * tools/jarsigner.sh.in: New template.
24205         * tools/.cvsignore: Added jarsigner.sh.
24206
24207 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
24208
24209         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
24210         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24211         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24212         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24213         * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
24214         Re-organised imports.
24215
24216 2006-04-01  Bernhard Rosenkraenzer  <bero@arklinux.org>
24217
24218         PR classpath/25924:
24219         * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
24220         Handle case where alpha==0.
24221
24222 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24223
24224         PR #26676
24225         * javax/swing/text/Utilities.java:
24226         (getTabbedTextOffset): Added check to decrement pos not below zero,
24227         changed '>' comparison to '>='.
24228         * javax/swing/text/WrappedPlainView.java:
24229         (lineHeight): New field.
24230         (calculateBreakPosition): Throw InternalError in catch block, removed
24231         unneeded brackets, use specific version of
24232         Utilities.getTabbedTextOffset.
24233         (paint): Set various properties neccessary for drawing.
24234         (WrappedLine.paint): Removed code to set field of outer class.
24235         (WrappedLine.modelToView): Removed unneeded expression from
24236         if-statement.
24237         (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
24238         -1 from return statement, copy only a subset into the Segment, removed
24239         special handling of mark value - just return it, simplified
24240         incrementation of currLineStart.
24241         (WrappedLine.insertUpdate): Recalculate numLines, report preference
24242         change to parent view.
24243         (WrappedLine.removeUpdate): Dito.
24244
24245 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24246
24247         * javax/swing/text/Segment.java:
24248         (toString): Return empty string when array is null.
24249
24250 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24251
24252         * javax/swing/plaf/basic/BasicTextUI.java:
24253         (damageRange): Use SwingUtilities.computeUnion to avoid
24254         unneccessary Rectangle instantiation.
24255
24256 2006-04-01  Tom Tromey  <tromey@redhat.com>
24257
24258         * java/security/cert/Certificate.java (serialVersionUID): Fixed.
24259
24260 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24261
24262         * javax/swing/text/CompositeView.java: Fixed copyright header.
24263         * javax/swing/text/BoxView.java: Fixed copyright header.
24264         * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
24265         * javax/swing/text/Utilities.java: Fixed copyright header.
24266
24267 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24268
24269         * javax/swing/text/CompositeView.java:
24270         (modelToView): Throw BadLocationException when no child
24271         view can be found, restructed to throw exception as early
24272         as possible.
24273         (viewToModel): Use mutable allocation as argument for viewToModel
24274         call on child view.
24275         * javax/swing/text/BoxView.java:
24276         (getViewAtPoint): Call setBounds() r before method returns with
24277         suitable child view.
24278         * javax/swing/text/Utilities.java:
24279         (getPositionBelow): Added try-catch-block around modelToView call,
24280         added method return when BadLocationException was thrown.
24281         * javax/swing/text/WrappedPlainView.java:
24282         (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
24283         added note about meaning of rect.x and rect.width, removed unneeded
24284         checks, added code to not return the last possible document offset.
24285
24286 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24287
24288         * javax/swing/text/WrappedPlainView.java:
24289         (WrappedLine.viewToModel): Change < to <= in if-statement,
24290         removed addition of currLineStart to return value.
24291         * javax/swing/text/BoxView.java:
24292         (getViewAtPoint): Use copy instead of r for method call
24293         which modifies the second argument.
24294
24295 2006-04-01  Mark Wielaard  <mark@klomp.org>
24296
24297         Fixes PR26973
24298         * java/util/jar/Attributes.java: Fully qualify java.util.Map.
24299
24300 2006-03-31  Tom Tromey  <tromey@redhat.com>
24301
24302         * lib/split-for-gcj.sh: Updated for multi-field format.
24303         * lib/Makefile.am (CLEANFILES): Added classes.2.
24304         * lib/gen-classlist.sh.in (GCJ): Removed.  Create classes.1 and
24305         classes.2 using multiple fields.
24306
24307 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24308
24309         * javax/swing/JTable.java (columnSelectionChanged):
24310         Removed print statement.
24311         * javax/swing/DefaultListSelectionModel.java
24312         (addSelectionInterval, removeSelectionInterval):
24313         Fire the difference between selection. (setLeadSelectionIndex):
24314         Fire the difference and mark current and previous lead
24315         selection indexes for repaint.
24316
24317 2006-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
24318
24319         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
24320         unnecessary copying.
24321         * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
24322
24323 2006-03-31  Lillian Angel  <langel@redhat.com>
24324
24325         * java/awt/Component.java
24326         (translateEvent): oldKey should be the value of the
24327         key char.
24328
24329 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24330
24331         * javax/swing/JTable.java (columnSelectionChanged):
24332         Treat second repaint parameter as width.
24333
24334 2006-03-31  Lillian Angel  <langel@redhat.com>
24335         
24336         PR classpath/26924
24337         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
24338         (realize): New native function.
24339         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
24340         Added new function declaration.
24341         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
24342         (realize): New function.
24343
24344 2006-03-31  Robert Schuster  <robertschuster@fsfe.org>
24345         
24346         * javax/swing/text/GapContent.java:
24347         (replace): Move all Position instances from gap's end to
24348         it's start before increasing the gap start.
24349         * javax/swing/plaf/basic/BasicTextAreaUI.java:
24350         (propertyChanged): Update the view only instead of
24351         indicating a document change.
24352
24353 2006-03-31  Roman Kennke  <kennke@aicas.com>
24354
24355         * javax/swing/JTextField.java
24356         (fireActionPerformed): Put the textfields text in the action
24357         instead of the action name.
24358
24359 2006-04-01  Raif S. Naffah  <raif@swiftdsl.com.au>
24360
24361         * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
24362         Check for null jar-file argument.
24363         (setupSigningParams): Check for null alias argument.
24364
24365 2006-03-31  Roman Kennke  <kennke@aicas.com>
24366
24367         * javax/swing/JComponent.java
24368         (paintChildren): Split up in two cases, depending on the
24369         optimizedDrawingEnabled flag.
24370         (paintChildrenWithOverlap): New method. Paints children when
24371         not optimizedDrawingEnabled. This implements better painting
24372         algorithm for overlapping components, so that the painted
24373         regions are minimized.
24374         (paintChildrenOptimized): New method. Paints children when
24375         when optimizedDrawingEnabled. This implements a painting
24376         algorithm that is optimized for the case when all children
24377         are guaranteed to be tiled.
24378
24379 2006-03-31  Raif S. Naffah  <raif@swiftdsl.com.au>
24380
24381         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
24382         Attributes.putValue(String,String).
24383         (finishSigning): Likewise.
24384         * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
24385         (SIGNATURE_VERSION): Likewise.
24386         (readSFManifest): Use local string constant.
24387         (readMainSection): Likewise.
24388         (readVersionInfo): Likewise.
24389         * java/util/jar/Attributes.java (MANIFEST_VERSION):
24390         Redefined using JarUtils constant.
24391         (SIGNATURE_VERSION): Likewise.
24392         (putValue(Name,String)): Made it private.
24393
24394 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24395
24396         * javax/swing/DefaultListSelectionModel.java (fireDifference):
24397         New method. (clearSelection): Rewritten. (setSelectionInterval):
24398         Fire the difference between current and new selection.
24399         * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24400         Only repaint the region, where selection has been changed.
24401         * javax/swing/plaf/basic/BasicTableUI.java 
24402         (TableAction.actionPerformed): Do not change the column selection
24403         when only row selection change is wanted (and in reverse) and 
24404         do not call the repaint() here.
24405
24406 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
24407
24408         Fixes bug #26951
24409         * javax/swing/DefaultComboBoxModel.java
24410         (DefaultComboBoxModel(Vector)): Call getSize() instead of 
24411         vector.size(),
24412         (addElement): Call list.addElement() rather than list.add(), and only
24413         update selected item if it is currently null,
24414         (removeElementAt): Update selected item, then remove the element.
24415
24416 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
24417
24418         Fixes bug #26955
24419         * java/awt/geom/Point2D.java
24420         (distanceSq(double, double)): Fixed order of arguments,
24421         (distanceSq(Point2D)): Likewise,
24422         (distance(double, double)): Likewise,
24423         (distance(Point2D)): Likewise.
24424
24425 2006-03-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
24426
24427         * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24428         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24429         (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24430         ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24431         DCLuminanceLengths, DCLuminanceValues): Remove fields.
24432
24433 2006-03-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24434
24435         * javax.swing.JTable (constructor): Initialize column
24436         model column margin and table row margin before setting the
24437         table column model. (initialiseLocalVars): Do not call 
24438         setIntercellSpacing.
24439
24440 2006-03-30  Chris Burdess  <dog@gnu.org>
24441
24442         * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24443           method signature.
24444         * javax/xml/validation/SchemaFactoryLoader.java: New file.
24445
24446 2006-03-30  Mark Wielaard  <mark@klomp.org>
24447
24448         PR 26848
24449         * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24450         adjust bounds. On resize invalidate and validate container.
24451         Always pass on ComponentEvents to Container super class.
24452         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24453         menuBar and pass to GtkWindowPeer super class.
24454         (postConfigureEvent): Adjust menu bar width. Adjust y and height
24455         bounds and pass to GtkWindowPeer super class.
24456         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24457         New fields for local bounds.
24458         (getX, getY): New methods.
24459         (getWidth): Don't call into awtComponent.
24460         (getHeight): Likewise.
24461         (create): Cache local bounds.
24462         (setLocation): Documented, made protected and just call
24463         nativeSetLocation.
24464         (setLocationUnlocked): Removed unused method.
24465         (setBoundsUnlocked): Likewise.
24466         (setBounds): Check whether bounds actually changed and cache local
24467         bounds.
24468         (setSize): Documented and made protected.
24469         (setResizable): Documented and cache local bounds.
24470         (postConfigureEvent): Update local bounds. Don't call awtComponent
24471         directly but post ComponentEvents.
24472         (show): Cache local bounds.
24473         (getBounds): Override to return cached bounds.
24474
24475 2006-03-30  Lillian Angel  <langel@redhat.com>
24476
24477         * gnu/java/awt/peer/gtk/GdkGraphics.java
24478         (drawImage): Added check to prevent NPE.
24479         (drawImage): Likewise.
24480         (drawImage): Likewise.
24481         * java/awt/Choice.java
24482         (dispatchEventImpl): New function. selectedIndex was
24483         not being updated properly otherwise.
24484
24485 2006-03-30  Roman Kennke  <kennke@aicas.com>
24486
24487         * javax/swing/JTabbedPane.java
24488         (removeTabAt): Removed debug code.
24489
24490 2006-03-30  Roman Kennke  <kennke@aicas.com>
24491
24492         PR 26045
24493         * javax/swing/plaf/basic/BasicTextUI.java
24494         (installKeyboardActions): Simply call getKeymap() and install this.
24495         (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24496
24497 2006-03-30  Roman Kennke  <kennke@aicas.com>
24498
24499         * javax/swing/JTabbedPane.java
24500         (removeTabAt): Adjust selection correctly when removing a tab
24501         before the selected tab. Also remove the component from the
24502         container, not only the tab object. Repaint and revalidate the
24503         component after the removal.
24504         (removeAll): Set selection to -1 before removing the tabs.
24505
24506 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24507
24508         * java/io/ObjectInputStream.java:
24509         (parseContent(byte)): Added enum support.
24510         * java/io/ObjectStreamConstants.java:
24511         (TC_ENUM): Added.
24512         (TC_MAX): Changed to new maximum, TC_ENUM.
24513         
24514 2006-03-29  Lillian Angel  <langel@redhat.com>
24515
24516         Partial fix for bug #26929
24517         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24518         (updateComponent): Removed. We want to clear the panel
24519         before painting.
24520         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24521         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24522         Should set the background to the saved background color.
24523
24524 2006-03-29  Mark Wielaard  <mark@klomp.org>
24525
24526         Partial fix for bug #26848 (pack).
24527         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24528         Always show instances of Window.
24529
24530 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
24531
24532         * javax/swing/JSlider.java
24533         (setPaintLabels): Only create standard labels if labelTable is null,
24534         * javax/swing/plaf/basic/BasicSliderUI.java
24535         (PropertyChangeHandler.propertyChange): Recalculate geometry for 
24536         "paintTicks" property change,
24537         (calculateThumbSize): Updated API docs,
24538         (calculateContentRect): Likewise,
24539         (calculateTrackBuffer): Take into account the lowest and highest 
24540         labels when calculating buffer space,
24541         (calculateTrackRect): Include labels, if visible, in the calculation of
24542         the trackRect position,
24543         (calculateTickRect): Height is zero if ticks are not painted,
24544         (calculateLabelRect): Use max dimensions of actual labels,
24545         (getWidthOfHighValueLabel): Use preferred size,
24546         (getWidthOfLowValueLabel): Likewise,
24547         (getHeightOfHighValueLabel): Likewise,
24548         (getHeightOfLowValueLabel): Likewise,
24549         (drawInverted): Just return slider setting,
24550         (getHighestValueLabel): Updated API docs,
24551         (paintTicks): Removed redundant (and buggy) code, replaced with calls 
24552         to xPositionForValue() and yPositionForValue(),
24553         (paintHorizontalLabel): Removed full qualification of class name,
24554         (paintVerticalLabel): Likewise,
24555         (xPositionForValue): Reimplemented,
24556         (yPositionForValue): Reimplemented,
24557         * javax/swing/plaf/metal/MetalSliderUI.java
24558         (paintTrack): Made track one pixel longer.
24559
24560 2006-03-29  Tom Tromey  <tromey@redhat.com>
24561
24562         PR gcc/26901:
24563         * tools/Makefile.am (JCOMPILER): Added encoding options.
24564         * examples/Makefile.am (JCOMPILER): Added encoding options.
24565
24566 2006-03-29  Gary Benson  <gbenson@redhat.com>
24567
24568         Partial fix for PR classpath/24895
24569         * java/io/FilePermission.java (implies): Canonicalize paths.
24570
24571 2006-03-29  Robert Schuster  <robertschuster@fsfe.org>
24572
24573         PR 26888
24574         * javax/swing/text/GapContent.java:
24575         (replace): Added call to resetMarksAtZero.
24576
24577 2006-03-29  Roman Kennke  <kennke@aicas.com>
24578
24579         PR 23527
24580         * javax/swing/plaf/basic/BasicMenuItemUI.java
24581         (cachedRect): New field.
24582         (BasicMenuItemUI): Initialize cachedRect field.
24583         (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24584         to determine layout. Store maximum accelerator and text width
24585         in client properties of parent to allow correct alignment
24586         of accelerators among menu items of one menu.
24587         (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24588         method. Align accelerators according to the values calculated
24589         in getPreferredMenuItemSize.
24590         (getAcceleratorString) New helper method.
24591         (layoutMenuItem): New helper method.
24592
24593 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24594
24595         * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24596         * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24597         * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24598         Avoid NPEs.
24599         * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass, 
24600         readExternal, writeExternal): New methods.
24601         * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24602         two stages, invokeCommon(Remote, ...) and 
24603         invokeCommen(UnicastConnection, ...).
24604         * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24605         also the ActivatableRef. toString(): Documented.
24606         * gnu/java/rmi/server/ActivatableRef.java,
24607         tools/gnu/classpath/tools/rmi/Persistent.java,
24608         tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24609         tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24610         tools/gnu/classpath/tools/rmi/REGISTRY.java,
24611         tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24612         tools/gnu/classpath/tools/rmi/RMID.java,
24613         tools/gnu/classpath/tools/rmi/RMID.txt,
24614         tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24615         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24616         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24617         tools/gnu/classpath/tools/rmi/registry/package.html,
24618         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24619         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java: 
24620         New files.
24621         * tools/README: Documented.
24622         * NEWS: Added entry about the activation.
24623
24624 2006-03-29  Roman Kennke  <kennke@aicas.com>
24625
24626         PR 23527
24627         * javax/swing/plaf/basic/BasicMenuItemUI.java
24628         (viewRect): New field.
24629         (textRect): New field.
24630         (accelRect): New field.
24631         (iconRect): New field.
24632         (arrowIconRect): New field.
24633         (checkIconRect): New field.
24634         (BasicMenuItemUI): Initialize new fields.
24635         (paintMenuItem): Rewritten to correctly layout and paint
24636         the menu item in a more straightforward way. Use cached rectangle
24637         objects for layout.
24638         (paintAccelerator): Pulled inside the paintMenuItem method.
24639
24640 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24641
24642         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24643         Do not use initCause with UnexpectedException.
24644         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24645         Likewise. 
24646
24647 2006-03-29  Mark Wielaard  <mark@klomp.org>
24648
24649         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24650         (setCursorID): Removed unused static variable.
24651
24652 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
24653
24654         * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24655
24656 2006-03-29  Mark Wielaard  <mark@klomp.org>
24657
24658         Fixes bug #26527
24659         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24660         (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24661
24662 2006-03-28  Roman Kennke  <kennke@aicas.com>
24663
24664         * javax/swing/UIManager.java
24665         (installLookAndFeel): Implemented.
24666         (setInstalledLookAndFeels): Implemented.
24667
24668 2006-03-28  Roman Kennke  <kennke@aicas.com>
24669
24670         * javax/swing/plaf/metal/MetalButtonUI.java
24671         (update): Paint gradient only when the background color
24672         is not a UIResource and if the button is neither armed nor
24673         pressed and if the button is contentAreaFilled.
24674
24675 2006-03-28  Roman Kennke  <kennke@aicas.com>
24676
24677         * javax/swing/JLayeredPane.java
24678         (addImpl): Repaint added component.
24679
24680 2006-03-28  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24681
24682         * java/util/regex/Matcher.java: Reverted.
24683
24684 2006-03-28  Roman Kennke  <kennke@aicas.com>
24685
24686         * javax/swing/text/AsyncBoxView.java
24687         (setEstimatedMajorSpan): Made method protected.
24688         (getEstimatedMajorSpan): Made method protected.
24689         * javax/swing/text/BoxView.java
24690         (flipEastAndWestAtEnds): Fixed typo.
24691         * javax/swing/text/InternationalFormatter.java
24692         (getActions): Made method protected.
24693         * javax/swing/text/Position.java
24694         (Bias): Made class final.
24695         * javax/swing/text/html/HTML.java
24696         (MEDIA): Made field package private. Not specified.
24697         (NOBR): Made field package private. Not specified.
24698         * javax/swing/text/html/NullView.java
24699         Made class package private.
24700         * javax/swing/text/html/parser/Entity.java
24701         Made class non-serializable as specified.
24702
24703 2006-03-28  Roman Kennke  <kennke@aicas.com>
24704
24705         * javax/swing/plaf/metal/MetalButtonUI.java
24706         (update): Don't paint gradient if the background color is
24707         no UIResource. Removed double getModel() call. Don't check for
24708         OceanTheme.
24709
24710 2006-03-28  Roman Kennke  <kennke@aicas.com>
24711
24712         * javax/swing/plaf/basic/BasicMenuItemUI.java
24713         (paint): Call paintMenuItem with the selectionBackground as
24714         parameter.
24715         (paintBackground): Fixed the condition and color for the background
24716         painting.
24717
24718 2006-03-28  Roman Kennke  <kennke@aicas.com>
24719
24720         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24721         (tabsOpaque): New field.
24722         (paintLeftTabBorder): Paint some parts only when the tabs are
24723         opaque. Determine the tab background using the paintLeftTabBorder()
24724         helper method.
24725         (paintRightTabBorder): Likewise.
24726         (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24727
24728 2006-03-27  Tom Tromey  <tromey@redhat.com>
24729
24730         PR classpath/25189:
24731         * java/lang/Enum.java (valueOf): Ensure that the named field
24732         is an enum constant.
24733         (compareTo): Check class of enum.
24734
24735 2006-03-27  Tom Tromey  <tromey@redhat.com>
24736
24737         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24738
24739 2006-03-27  Tom Tromey  <tromey@redhat.com>
24740
24741         * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24742         New constant.
24743         (getModifiersInternal): Renamed from getModifiers.
24744         (getModifiers): New method.
24745         (isBridge): Likewise.
24746         (isSynthetic): Likewise.
24747         (isVarArgs): Likewise.
24748         * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24749         New constant.
24750         (getModifiersInternal): Renamed from getModifiers.
24751         (getModifiers): New method.
24752         (isSynthetic): Likewise.
24753         (isEnumConstant): Likewise.
24754         * vm/reference/java/lang/reflect/Constructor.java
24755         (getModifiersInternal): Renamed from getModifiers.
24756         (getModifiers): New method
24757         (CONSTRUCTOR_MODIFIERS): New constant.
24758         (isSynthetic): New method.
24759         (isVarArgs): Likewise.
24760         * java/lang/reflect/Member.java (isSynthetic): New method.
24761
24762 2006-03-28  Tom Tromey  <tromey@redhat.com>
24763
24764         * java/net/Proxy.java (TYPE): Added missing ";".
24765
24766 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24767
24768         * java/math/RoundingMode.java:
24769         Fixed serialization UID.
24770         * java/net/Proxy.java:
24771         (Type): Likewise.
24772         
24773 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24774
24775         * java/io/CharArrayWriter.java:
24776         (append(char)): Documented.
24777         (append(CharSequence)): Likewise.
24778         (append(CharSequence,int,int)): Likewise.
24779         
24780 2006-03-27  Jeroen Frijters  <jeroen@frijters.net>
24781
24782         * vm/reference/java/lang/reflect/Constructor.java
24783         (getTypeParameters): Check return value of getSignature for null.
24784         * vm/reference/java/lang/reflect/Method.java
24785         (getTypeParameters): Check return value of getSignature for null.
24786
24787 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24788
24789         * java/rmi/activation/ActivationGroup_Stub.java:
24790         Made final.
24791         
24792 2006-03-27  Tom Tromey  <tromey@redhat.com>
24793        
24794         * java/io/CharArrayWriter.java (append): New overloads.
24795         
24796 2006-03-27  Lillian Angel  <langel@redhat.com>
24797
24798         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24799         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24800         Added check for colormap. Prevents assertion error.
24801         (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24802         Likewise.
24803         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24804         Likewise.
24805         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24806         Likewise.
24807         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24808         Likewise.
24809         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24810         Likewise.
24811
24812 2006-03-27  Dalibor Topic  <robilad@kaffe.org>
24813
24814         * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use 
24815         AC_MSG_ERROR instead of echoing the error message 
24816         that no compiler has been found manually.
24817
24818 2006-03-27  Roman Kennke  <kennke@aicas.com>
24819
24820         * javax/swing/RepaintManager.java
24821         (commitBuffer): Use simple drawImage() method instead of the
24822         scaling version.
24823
24824 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
24825
24826         * javax/swing/text/PlainView.java:
24827         (drawLine): Use 'endOffset' instead of 'selectionEnd'
24828         for painting the selected line.
24829
24830 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
24831
24832         * javax/swing/plaf/basic/BasicSliderUI.java
24833         (getThumbSize): Removed TODO and updated API docs.
24834
24835 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
24836
24837         * javax/swing/text/DefaultCaret.java:
24838         (mouseClicked): Word selection rewritten.
24839         (paint): Draw line inside the bounding rectangle.
24840         (damage): Retrieve caret height from line height.
24841
24842 2006-03-28  Raif S. Naffah  <raif@swiftdsl.com.au>
24843
24844         * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24845         for null args.
24846         Check for -help option.
24847         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24848
24849 2006-03-27  Roman Kennke  <kennke@aicas.com>
24850
24851         * javax/swing/text/FieldView.java
24852         (getPreferredSpan): Don't include trailing newline in
24853         calculations.
24854         * javax/swing/text/PlainView.java
24855         (drawLine): Don't include trailing newline.
24856         (determineMaxLineLength): Don't include trailing newline.
24857         (getLineBuffer): Made method final.
24858
24859 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
24860
24861         * javax/swing/JSlider.java
24862         (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24863         (AccessibleJSlider.getAccessibleRole): Removed declaration of 
24864         NotImplementedException,
24865         (AccessibleJSlider.getAccessibleValue): Updated API docs.
24866
24867 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24868
24869         * java/lang/ProcessBuilder.java:
24870         Made final.
24871
24872 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24873
24874         * gnu/java/net/protocol/http/Headers.java:
24875         Match layout of file on HEAD.
24876         * gnu/javax/swing/text/html/parser/htmlValidator.java:
24877         Likewise.
24878         * java/awt/datatransfer/DataFlavor.java
24879         Likewise.
24880
24881 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24882
24883         * gnu/java/security/jce/hash/HavalSpi.java,
24884         * gnu/java/security/jce/hash/MD2Spi.java,
24885         * gnu/java/security/jce/hash/MD4Spi.java,
24886         * gnu/java/security/jce/hash/MD5Spi.java,
24887         * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24888         * gnu/java/security/jce/hash/RipeMD128Spi.java,
24889         * gnu/java/security/jce/hash/RipeMD160Spi.java,
24890         * gnu/java/security/jce/hash/Sha160Spi.java,
24891         * gnu/java/security/jce/hash/Sha256Spi.java,
24892         * gnu/java/security/jce/hash/Sha384Spi.java,
24893         * gnu/java/security/jce/hash/Sha512Spi.java,
24894         * gnu/java/security/jce/hash/TigerSpi.java,
24895         * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24896         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24897         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24898         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24899         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24900         * gnu/java/security/jce/sig/SignatureAdapter.java,
24901         * gnu/java/security/key/IKeyPairCodec.java,
24902         * gnu/java/security/key/IKeyPairGenerator.java,
24903         * gnu/java/security/key/KeyPairGeneratorFactory.java,
24904         * gnu/java/security/key/dss/DSSKey.java,
24905         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24906         * gnu/java/security/key/dss/DSSPrivateKey.java,
24907         * gnu/java/security/key/dss/DSSPublicKey.java,
24908         * gnu/java/security/key/dss/FIPS186.java,
24909         * gnu/java/security/key/rsa/GnuRSAKey.java,
24910         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24911         * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24912         * gnu/java/security/sig/ISignature.java,
24913         * gnu/java/security/sig/ISignatureCodec.java,
24914         * gnu/java/security/sig/dss/DSSSignature.java,
24915         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24916         * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24917         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24918         * gnu/java/security/util/Util.java:
24919         Remove CVS revision tags.
24920
24921 2006-03-26  Tom Tromey  <tromey@redhat.com>
24922
24923         * java/io/InputStream.java (InputStream): Implements Closeable.
24924         
24925 2006-03-26  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24926
24927         * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24928         New methods.
24929         * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24930         getAnchor): New methods.
24931         * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24932         getAnchor): New methods.
24933         * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24934         getAnchor): New methods.
24935         * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24936         getAnchor): New methods.
24937         * gnu/regexp/REMatch.java(start1): New field.
24938         * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24939         (match): set the starting position to start1[] instead of start[],
24940         (getMatchImpl): Set the found REMatch to the input,
24941         (makeCharIndexed): Made public.
24942         * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24943         * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24944         set the value of start[] copying from start1[].
24945         * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24946         offset.
24947         * java/util/regex/Matcher.java(inputCharIndexed): New field
24948         to be used as a parameter of the RE#getMatch.
24949
24950 2006-03-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24951
24952         * gnu/java/rmi/activation/DefaultActivationGroup.java: 
24953         Documented the default jre spawning strategy (none).
24954         * java/rmi/activation/ActivationGroup.java (currentGroupId,
24955         getSystem): Obtain the acticivation system from the 
24956         DefaultActivationSystem.
24957
24958 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
24959
24960         * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24961         Ask user for keystore password if one was not provided.
24962
24963 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
24964
24965         * tools/README: Added Security tools section.
24966         Documented the jarsigner tool.
24967
24968 2006-03-25  David Gilbert  <david.gilbert@object-refinery.com>
24969
24970         * javax/swing/JScrollBar.java
24971         (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24972         (AccessibleJScrollBar.getAccessibleRole): Likewise,
24973         (AccessibleJScrollBar.getAccessibleValue): Likewise,
24974         (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24975         (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24976         (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24977         (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24978         (getAccessibleContext): Updated API docs.
24979
24980 2006-03-25  Tom Tromey  <tromey@redhat.com>
24981
24982         * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24983         change or if generator script changes.
24984
24985 2006-03-25  Tom Tromey  <tromey@redhat.com>
24986
24987         * javax/naming/ldap/StartTlsRequest.java: New file.
24988         * javax/naming/ldap/StartTlsResponse.java: New file.
24989
24990 2006-03-25  Olivier Jolly  <olivier.jolly@pcedev.com>
24991
24992     * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24993     to validate all components of a resource path.
24994     (FileURLLoader.walkPathComponents): Helper which ensures that we are
24995     allowed to walk through every component of a resource path.
24996     
24997 2006-03-25  Michael Koch  <konqueror@gmx.de>
24998
24999         * NEWS: Added item for CLDR 1.3 update.
25000
25001 2006-03-25  Michael Koch  <konqueror@gmx.de>
25002
25003         * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
25004         resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
25005         resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
25006         resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
25007         resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
25008         resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
25009         Removed locales.
25010
25011 2006-03-25  Michael Koch  <konqueror@gmx.de>
25012
25013         * resource/gnu/java/locale/LocaleInformation_az.properties,
25014         resource/gnu/java/locale/LocaleInformation_bs.properties,
25015         resource/gnu/java/locale/LocaleInformation_byn.properties,
25016         resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
25017         resource/gnu/java/locale/LocaleInformation_el_CY.properties,
25018         resource/gnu/java/locale/LocaleInformation_gez.properties,
25019         resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
25020         resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
25021         resource/gnu/java/locale/LocaleInformation_haw.properties,
25022         resource/gnu/java/locale/LocaleInformation_haw_US.properties,
25023         resource/gnu/java/locale/LocaleInformation_kok.properties,
25024         resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
25025         resource/gnu/java/locale/LocaleInformation_sid.properties,
25026         resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
25027         resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
25028         resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
25029         resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
25030         resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
25031         resource/gnu/java/locale/LocaleInformation_syr.properties,
25032         resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
25033         resource/gnu/java/locale/LocaleInformation_tig.properties,
25034         resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
25035         resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
25036         resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
25037         resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
25038         resource/gnu/java/locale/LocaleInformation_wal.properties,
25039         resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
25040         New locales.
25041
25042 2006-03-25  Michael Koch  <konqueror@gmx.de>
25043
25044         * resource/gnu/java/locale/LocaleInformation_fa.properties,
25045         resource/gnu/java/locale/LocaleInformation_kn.properties,
25046         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25047         resource/gnu/java/locale/LocaleInformation_ko.properties,
25048         resource/gnu/java/locale/LocaleInformation_sl.properties,
25049         resource/gnu/java/locale/LocaleInformation_so.properties,
25050         resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
25051         resource/gnu/java/locale/LocaleInformation_so_ET.properties,
25052         resource/gnu/java/locale/LocaleInformation_so_SO.properties,
25053         resource/gnu/java/locale/LocaleInformation_sr.properties:
25054         Random fixes I forgot to commit before.
25055
25056 2006-03-25  Michael Koch  <konqueror@gmx.de>
25057
25058         * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
25059         resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
25060         resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
25061         resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
25062         resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
25063         resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
25064         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25065         resource/gnu/java/locale/LocaleInformation_be_BY.properties,
25066         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25067         resource/gnu/java/locale/LocaleInformation_en.properties,
25068         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25069         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25070         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25071         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25072         resource/gnu/java/locale/LocaleInformation_fa.properties,
25073         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25074         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25075         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25076         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25077         resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
25078         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25079         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25080         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25081         resource/gnu/java/locale/LocaleInformation_pa.properties,
25082         resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
25083         resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
25084         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25085         resource/gnu/java/locale/LocaleInformation_sa.properties,
25086         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25087         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25088         resource/gnu/java/locale/LocaleInformation_te_IN.properties:
25089         Updated currency formats.
25090
25091 2006-03-25  Roman Kennke  <kennke@aicas.com>
25092
25093         * javax/swing/text/AbstractDocument.java
25094         (getAttributeContext): Made method final.
25095         (getCurrentWriter): Likewise.
25096         (getEndPosition): Likewise.
25097         (getProperty): Likewise.
25098         (getStartPosition): Likewise.
25099         (putProperty): Likewise.
25100         (readLock): Likewise.
25101         (readUnlock): Likewise.
25102         (writeLock): Likewise.
25103         (writeUnlock): Likewise.
25104
25105 2006-03-25  Roman Kennke  <kennke@aicas.com>
25106
25107         * javax/swing/InputMap.java
25108         (allKeys): Check if parent keys is null.
25109         * javax/swing/KeyboardManager.java
25110         (registerEntireMap): Also register map's parent keys.
25111         * javax/swing/plaf/metal/MetalRootPaneUI.java
25112         (propertyChange): Also call super.propertyChange().
25113
25114 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25115
25116         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
25117         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
25118         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
25119         * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
25120         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
25121         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
25122
25123 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25124
25125         * gnu/java/util/jar/JarUtils.java: New file.
25126         * java/util/jar/Manifest.java (CRLF): Removed.
25127         (read_main_section): Likewise.
25128         (read_version_info): Likewise.
25129         (expect_header(String,BufferedReader)): Likewise.
25130         (expect_header(String,BufferedReader,String)): Likewise.
25131         (read_header_value): Likewise.
25132         (read_attributes): Likewise.
25133         (read_attribute): Likewise.
25134         (read_individual_sections): Likewise.
25135         (read_section_name): Likewise.
25136         (write_main_section): Likewise.
25137         (write_version_info): Likewise.
25138         (write_header): Likewise.
25139         (write_main_attributes): Likewise.
25140         (write_attribute_entry): Likewise.
25141         (write_individual_sections): Likewise.
25142         (write_entry_attributes): Likewise.
25143         (read): use JarUtils.
25144         (write): Likewise.
25145
25146 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25147
25148         * gnu/java/security/pkcs/SignerInfo.java (log): New field.
25149         (DEBUG): Removed.
25150         (debug): Likewise.
25151         (SignerInfo(BERReader)): Updated javadoc.
25152         Use JDK logging.
25153         (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
25154         New constructor.
25155         (encode): New method.
25156         * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
25157         (PKCS7_DATA): Removed.
25158         (DEBUG): Likewise.
25159         (debug): Likewise.
25160         (PKCS7SignedData(BERReader)): Updated javadoc.
25161         Use JDK logging.
25162         (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
25163         constructor.
25164         (encode): New method.
25165         * gnu/java/security/pkcs/PKCS7Data.java: New file.
25166         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
25167         (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
25168         (decodePrivateKey): Decode x from an OCTET STRING.
25169         * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
25170         (toString): New method.
25171         * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
25172         (str): Likewise.
25173         (toString): New method.
25174         * gnu/java/security/key/dss/DSSKey.java (str): New Field.
25175         (toString): New method.
25176         * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
25177
25178 2006-03-25  Roman Kennke  <kennke@aicas.com>
25179
25180         * java/util/GregorianCalender.java
25181         (computeTime): Fix comparison to correctly calculate the
25182         calendar.
25183
25184 2006-03-25  Wolfgang Baer  <WBaer@gmx.de>
25185
25186         Fixes bug #26837
25187         * java/awt/Window.java:         
25188         (setFocusCycleRoot): New overriden method.
25189         (isFocusCycleRoot): Likewise.
25190         (getFocusCycleRootAncestor): Likewise.
25191         * java/awt/Container.java:
25192         (getFocusTraversalPolicy): Check also for anchestor == null.
25193
25194 2006-03-25  Mark Wielaard  <mark@klomp.org>
25195
25196         Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
25197         * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
25198         close root tag.
25199
25200 2006-03-24  Tom Tromey  <tromey@redhat.com>
25201
25202         * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
25203         Rewrote.
25204         (writeChar): Removed useless cast.
25205         (writeChars(String)): Implemented.
25206         (writeDouble): Rewrote.
25207         (writeFloat): Likewise.
25208         (writeUTF): Implemented.
25209         * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
25210         to big endian.
25211
25212 2006-03-24  Roman Kennke  <kennke@aicas.com>
25213
25214         * javax/swing/JButton.java
25215         (def): Replaced field with defaultCapable field.
25216         (is_def): Removed field.
25217         (JButton): Initialize defaultCapable with true.
25218         (isDefaultButton): Documented and implemented method by querying
25219         the button's root pane if present.
25220         (isDefaultCapable): Changed def field to defaultCapable.
25221         Added documentation.
25222         (paramString): Call isDefaultButton() instead of accessing field,
25223         which got removed.
25224         (setDefaultCapable): Changed def field to defaultCapable.
25225         Added documentation.
25226         * javax/swing/JRootPane.java
25227         (setDefaultButton): Only change the default button if the
25228         new button is defaultCapable.
25229         * javax/swing/plaf/basic/BasicRootPaneUI.java
25230         (DefaultPressAction): New class.
25231         (DefaultReleaseAction): New class.
25232         (installKeyboardActions): Implemented.
25233         (uninstallKeyboardActions): Implemented.
25234         (propertyChange): Implemented.
25235         * javax/swing/plaf/metal/MetalBorders.java
25236         (ButtonBorder.paintBorder): 'Outsourced' default theme
25237         painting to paintDefaultButtonBorder().
25238         (ButtonBorder.paintDefaultButtonBorder): New helper method
25239         to paint the border in the default theme. This also fixes
25240         painting of the border for default buttons.
25241         (ButtonBorder.paintOceanButtonBorder): Added support for
25242         default button painting. Fixed border for pressed/default state.
25243         * javax/swing/plaf/metal/MetalButtonUI.java
25244         (update): Only paint gradient when in OceanTheme and when the
25245         button is not armed.
25246
25247 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25248
25249         * gnu/java/rmi/activation/ActivationSystemTransient.java:
25250         Inherit from Activator.
25251
25252 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25253
25254         * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
25255         Print debug message if debug flag is set.
25256         * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
25257         * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
25258         detail, do not call iniCause(). (exportClass): New method.
25259         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
25260         Ignore null (bootstrap) class loader.
25261         * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
25262         buildMethodHash, findStubSkelClass, getHelperClass): Changed 
25263         visibility to protected.
25264         * java/rmi/activation/Activatable.java (export, register): Rewritten.
25265         (toStub): New method.
25266         * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
25267         * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT): 
25268         Explained property java.rmi.activation.port.
25269
25270 2006-03-24  Tom Tromey  <tromey@redhat.com>
25271
25272         * .externalToolBuilders/CreateLocaleData.launch: Updated.
25273         * gnu/java/locale/.cvsignore: New file.
25274         * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
25275         * java/util/Locale.java (getAvailableLocales): Clone result.
25276         (getISOCountries): Likewise.
25277         (getISOLanguages): Likewise.
25278         * scripts/generate-locale-list.sh: Make class public.  Added new
25279         array.
25280         * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
25281         (getLocaleCount): Likewise.
25282         * java/text/Collator.java (getInstance): Javadoc typo fix.
25283         (getAvailableLocales): Wrote.
25284
25285 2006-03-24  Roman Kennke  <kennke@aicas.com>
25286
25287         * javax/swing/JTabbedPane.java
25288         (getSelectedComponent): Return null when no component is
25289         selected.
25290
25291 2006-03-24  Mark Wielaard  <mark@klomp.org>
25292
25293         * NEWS: Add cursor and selection improvements.
25294
25295 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25296
25297         * java/awt/Component.java
25298         (getAccessibleName): Just return accessibleName,
25299         * javax/swing/AbstractButton.java
25300         (getAccessibleStateSet): Mark as stub,
25301         (getAccessibleName): Implemented,
25302         (getAcessibleIcon): Mark as stub,
25303         (getAccessibleRelationSet): Likewise,
25304         (getAccessibleAction): Likewise,
25305         (getAccessibleValue): Likewise,
25306         (getAccessibleActionCount): Likewise,
25307         (getAccessibleActionDescription): Likewise,
25308         (doAccessibleAction): Likewise,
25309         (getCurrentAccessibleValue): Likewise,
25310         (setCurrentAccessibleValue): Likewise,
25311         (getMinimumAccessibleValue): Likewise,
25312         (getMaximumAccessibleValue): Likewise,
25313         (getAccessibleText): Likewise,
25314         (getIndexAtPoint): Likewise,
25315         (getCharacterBounds): Likewise,
25316         (getCharCount): Likewise,
25317         (getCaretPosition): Likewise,
25318         (getAtIndex): Likewise,
25319         (getAfterIndex): Likewise,
25320         (getBeforeIndex): Likewise,
25321         (getCharacterAttribute): Likewise,
25322         (getSelectionStart): Likewise,
25323         (getSelectionEnd): Likewise,
25324         (getSelectedText): Likewise,
25325         (getTextRectangle): Likewise,
25326         (setIconTextGap): Fire PropertyChangeEvent, not state changed,
25327         (getIconTextGap): Added @since 1.4,
25328         (setContentAreaFilled): Reordered code to make event sequence match
25329         reference implementation,
25330         * javax/swing/JButton.java
25331         (getSelectedObjects): Removed,
25332         *javax/swing/JComponent.java
25333         (getAccessibleName): Call super.
25334
25335 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25336
25337         * javax/swing/JProgressBar.java
25338         (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
25339         (AccessibleJProgressBar.getAccessibleRole): Added API docs,
25340         (AccessibleJProgressBar.getAccessibleValue): Implemented,
25341         (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
25342         (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
25343         (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
25344         (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
25345         (getAccessibleContext): Added API docs.
25346
25347 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
25348
25349         * javax/swing/plaf/basic/BasicTextUI.java:
25350         (FocusListener.focusLost): Put current selection into the system
25351         clipboard.
25352
25353 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
25354
25355         * java/awt/Component.java:
25356         (processMouseEvent): Remove call to consume event.
25357         (dispatchEventImpl): Handle specific events first, do focus request
25358         only when mouse event was not yet consumed.
25359         * javax/swing/text/DefaultCaret.java:
25360         (mousePressed): Rewritten.
25361         (setDot): Changed order of operations.
25362         (moveDot): Dito.
25363
25364 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25365
25366         * javax/swing/JComponent.java
25367         (AccessibleJComponent.changeSupport): Removed field,
25368         (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
25369         (AccessibleJComponent.addPropertyChangeListener): Call super,
25370         (AccessibleJComponent.removePropertyChangeListener): Likewise,
25371         * javax/swing/JSlider.java
25372         (AccessibleJSlider.getAccessibleStateSet): Implemented,
25373         (AccessibleJSlider.getAccessibleRole): Likewise,
25374         (AccessibleJSlider.getAccessibleValue): Likewise,
25375         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25376         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25377         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25378         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25379         (getAccessibleContext): Added API docs.
25380
25381 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25382
25383         * gnu/java/rmi/activation/ActivationSystemTransient.java
25384         (debug): Made public. (constructor): Made protected.
25385         (activate, getActivationDesc): Throw more informative exceptions.
25386         * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
25387         New method.
25388         * gnu/java/rmi/server/UnicastRef.java (remoteToString): 
25389         Stub, implemented.
25390         * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
25391         Documented.
25392         * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
25393         Better exception.
25394         * java/rmi/activation/Activatable.java (obtainId): Use the activation
25395         system, passed in the activation descriptor field.
25396         * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
25397         * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
25398         to package private final. (equals): Compare uid, not the system. 
25399         (hashCode): Forward to uid.hashCode(). toString(): New method.
25400         * java/rmi/activation/ActivationID.java (readObject, writeObject):
25401         Rewritten. (equals): Compare UID only. toString(): New method.
25402         * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25403         UID (space). (hashCode, toString): Rewritten.
25404         * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs): 
25405         New method. (invoke): Treat null as an empty array for parameters.
25406         * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25407         Include count, do not include the static machineId.
25408
25409 2006-03-23  Tom Tromey  <tromey@redhat.com>
25410
25411         * java/net/URLConnection.java (getContent(Class[])): Implemented.
25412
25413 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25414
25415         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25416         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25417         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25418         (force): New field. (setForce): New method. (compile): Handle -force.
25419         * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25420         * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25421
25422 2006-03-23  Roman Kennke  <kennke@aicas.com>
25423
25424         * javax/swing/JTabbedPane.java
25425         (Page.getBackground): Return the JTabbedPane's background,
25426         rather than the page's component background.
25427         (Page.getForeground): Return the JTabbedPane's foreground,
25428         rather than the page's component foreground.
25429         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25430         (uninstallUI): Don't set colors to null.
25431         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25432         (paintTabBackground): Correctly determine the tab background.
25433         (getUnselectedBackground): New helper method to
25434         handle the UI property 'TabbedPane.unselectedBackground'
25435         correctly.
25436
25437 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25438
25439         * javax/swing/plaf/basic/BasicInternalFrameUI.java
25440         (BorderListener.showingResizeCursor): New field.
25441         (BorderListener.mouseMoved, BorderListner.mouseExited):
25442         Implemented.
25443
25444 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25445
25446         * javax/swing/JComboBox.java
25447         (selectWithKeyChar): Mark as stub,
25448         * javax/swing/JFileChooser.java
25449         (setDragEnabled): Mark as stub,
25450         (getDragEnabled): Likewise,
25451         * javax/swing/JSlider.java
25452         (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25453         (AccessibleJSlider.getAccessibleRole): Likewise,
25454         (AccessibleJSlider.getAccessibleValue): Likewise,
25455         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25456         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25457         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25458         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25459         * javax/swing/UIManager.java
25460         (installLookAndFeel): Mark as stub,
25461         (setInstalledLookAndFeels): Likewise.
25462
25463 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25464
25465         * javax/swing/filechooser/UnixFileSystemView.java
25466         (getSystemDisplayName): Mark as stub,
25467         (getSystemIcon): Likewise,
25468         (getSystemTypeDescription): Likewise.
25469
25470 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25471
25472         * javax/swing/tree/AbstractLayoutCache.java
25473         (getNodeDimensions): Mark as stub,
25474         (getPreferredHeight): Likewise,
25475         (getPreferredWidth): Likewise,
25476         (getRowsForPaths): Likewise,
25477         (isFixedRowHeight): Likewise,
25478         * javax/swing/tree/DefaultTreeModel.java
25479         (reload()): Mark as stub,
25480         (reload(TreeNode)): Likewise,
25481         (nodeStructureChanged): Likewise,
25482         * javax/swing/tree/DefaultTreeSelectionModel.java
25483         (clone): Mark as stub,
25484         (setRowMapper): Likewise,
25485         (setSelectionPaths): Likewise,
25486         (isRowSelected): Likewise,
25487         (resetRowSelection): Likewise,
25488         (insureRowContinuity): Likewise,
25489         (arePathsContiguous): Likewise,
25490         (canPathsBeAdded): Likewise,
25491         (canPathsBeRemoved): Likewise,
25492         (notifyPathChange): Likewise,
25493         (updateLeadIndex): Likewise,
25494         (insureUniqueness): Likewise,
25495         * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25496         stubs,
25497         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25498
25499 2006-03-22  Tom Tromey  <tromey@redhat.com>
25500
25501         * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25502         stub.
25503         (getStaticAttributeKey): Likewise.
25504         (readAttributeSet): Likewise.
25505         (writeAttributeSet): Likewise.
25506         (readAttributes): Likewise.
25507         (writeAttributes): Likewise.
25508         * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25509         as stub.
25510         * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25511         Mark as stub.
25512         (fireChangedUpdate): Likewise.
25513         (start): Likewise.
25514         (end): Likewise.
25515         (handleEndOfLineString): Likewise.
25516         (textAreaContent): Likewise.
25517         (preContent): Likewise.
25518         (addSpecialElement): Likewise.
25519         (setInnerHTML): Likewise.
25520         (setOuterHTML): Likewise.
25521         (insertBeforeStart): Likewise.
25522         (insertBeforeEnd): Likewise.
25523         (insertAfterEnd): Likewise.
25524         (insertAfterStart): Likewise.
25525         * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25526         Mark all methods as stub.s
25527         * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25528         as stub.
25529         (paintHorizontalSeparators): Likewise.
25530         * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25531         Mark as stub.
25532         * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25533         stub.
25534         * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25535         as stubs.
25536         * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25537         methods as stubs.
25538
25539 2006-03-22  Mark Wielaard  <mark@klomp.org>
25540
25541         * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25542
25543 2006-03-22  Mark Wielaard  <mark@klomp.org>
25544
25545         Fixes bug #26527
25546         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25547         Takes GtkImage, x and y coordinates.
25548         (gtkWidgetSetCursorUnlocked): Likewise.
25549         (GtkComponentPeer): Set cursor when set.
25550         (setCursor): Handle GtkCursor.
25551         * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25552         New method.
25553         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25554         (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25555         (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25556         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25557
25558 2006-03-23  Roman Kennke  <kennke@aicas.com>
25559
25560         PR 26805
25561         * gnu/java/security/Registry.java
25562         (PKCS5_PAD): Added pad PKCS#5 algorithm.
25563         * gnu/javax/crypto/pad/PadFactory.java
25564         (getInstance): For PKCS#5, also return PKCS#7 pad
25565         algorithm.
25566         (getNames): Added PKCS#5.
25567         * javax/crypto/KeyGenerator.java
25568         (getInstance): Initialize key generator before returning
25569         it.
25570
25571 2006-03-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
25572
25573         * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25574         (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25575         * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25576         if COMMENTS is set.
25577
25578 2006-03-22  Tom Tromey  <tromey@redhat.com>
25579
25580         * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25581         (getBoolean): Likewise.
25582         (getString): Likewise.
25583         (getIcon): Likewise.
25584
25585 2006-03-22  Mark Wielaard  <mark@klomp.org>
25586
25587         Fixes bug #26301
25588         * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25589         (GLightweightPeer(Component)): Install MouseListener.
25590         (setCursor): Implement.
25591         (mouseEntered): New method.
25592
25593 2006-03-22  Tom Tromey  <tromey@redhat.com>
25594
25595         * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25596         constant.
25597         * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25598         protected.
25599         (getFontForState): Likewise.
25600         (getInsets): Added 'result' argument.
25601         (getPainter): Renamed.
25602
25603 2006-03-22  Tom Tromey  <tromey@redhat.com>
25604
25605         * javax/swing/plaf/synth/SynthPainter.java
25606         (paintScrollBarThumbBackground): Added 'orientation' argument.
25607         (paintScrollBarThumbBorder): Likewise.
25608         (paintSliderThumbBackground): Likewise.
25609         (paintSliderThumbBorder): Likewise.
25610         (paintTabbedPaneTabBackground): Added 'index' argument.
25611         (paintTabbedPaneTabBorder): Likewise.
25612
25613 2006-03-22  Tom Tromey  <tromey@redhat.com>
25614
25615         * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25616         (toString): New method.
25617
25618 2006-03-22  Tom Tromey  <tromey@redhat.com>
25619
25620         * doc/hacking.texinfo (Source Code Style Guide): Mention
25621         NotImplementedException.
25622         * javax/imageio/stream/MemoryCacheImageOutputStream.java
25623         (flushBefore): Mark as stub.
25624         (read): Likewise.
25625         * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25626         Mark as stub.
25627         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25628         as stub.
25629         (write): Likewise.
25630         (writeBit): Likewise.
25631         (writeChars): Likewise.
25632         (writeUTF): Likewise.
25633         * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25634         as stub.
25635         (read): Likewise.
25636         * java/net/URLConnection.java (getContent): Mark as stub.
25637         * java/awt/Window.java (applyResourceBundle): Mark as stub.
25638         * java/awt/TexturePaint.java (createContext): Mark as stub.
25639         (getTransparency): Mark as stub.
25640         * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25641         * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25642         * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25643         stub.
25644         (getImageCapabilities): Likewise.
25645         * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25646         * java/awt/AlphaComposite.java (createContext): Mark as stub.
25647         * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25648         methods as stubs.
25649         * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25650         (getAdvanceBetween): Likewise.
25651         (getLayout): Likewise.
25652         (insertChar): Likewise.
25653         (getLineBreakIndex): Likewise.
25654         * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25655         (getAdvance): Likewise.
25656         (getAscent): Likewise.
25657         (getDescent): Likewise.
25658         * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25659         (insertChar): Likewise.
25660         (nextLayout): Likewise.
25661         (nextLayout): Likewise.
25662         (nextOffset): Likewise.
25663         (nextOffset): Likewise.
25664         * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25665         (equals): Likewise.
25666         (getAdvance): Likewise.
25667         (getAscent): Likewise.
25668         (getBounds): Likewise.
25669         (getDescent): Likewise.
25670         (hashCode): Likewise.
25671         (ImageGraphicAttribute): Likewise.
25672         * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25673         (getJustificationInfo): Likewise.
25674         * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25675         (getGlyphCharIndices): Likewise.
25676         (getGlyphOutline): Likewise.
25677         (getGlyphPixelBounds): Likewise.
25678         (getLayoutFlags): Likewise.
25679         (getPixelBounds): Likewise.
25680         * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25681         (getRSB): Likewise.
25682         * java/nio/channels/Channels.java (newWriter): Mark as stub.
25683         * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25684         * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25685         Mark as stub.
25686         (resetRecognizer): Likewise.
25687         * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25688         Mark as stub.
25689         (getNativesForFlavor): Likewise.
25690         * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25691         * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25692         as stub.
25693         (getRegion): Likewise.
25694         (createUI): Likewise.
25695         (initialize): Likewise.
25696         (uninitialize): Likewise.
25697         (getDefaults): Likewise.
25698         (load): Likewise.
25699         (shouldUpdateStyleOnAncestorChanged): Likewise.
25700         * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25701         Mark as stub.
25702         (getPreferredSize): Likewise.
25703         (getMaximumSize): Likewise.
25704         (paintText): Likewise.
25705         * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25706         as stub.
25707         * java/text/Collator.java (getAvailableLocales): Mark as stub.
25708
25709 2006-03-22  Wolfgang Baer  <WBaer@gmx.de>
25710
25711         * java/io/ObjectStreamConstants.java: Added since tag.
25712         (PROTOCOL_VERSION_1): Added javadoc.
25713         (PROTOCOL_VERSION_2): Likewise.
25714         * java/io/ObjectOutputStream.java: 
25715         (setDefaultProtocolVersion): Removed.
25716         (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25717         
25718 2006-03-21  Lillian Angel  <langel@redhat.com>
25719
25720         * gnu/javax/imageio/bmp/BMPInfoHeader.java
25721         (BMPInfoHeader): Removed debug lines.
25722         * gnu/javax/imageio/bmp/EncodeRLE4.java
25723         (encode): Implemented.
25724         (uncompress): New function implemented to
25725         uncompress the image before encoding.
25726         * gnu/javax/imageio/bmp/EncodeRLE8.java
25727         (encode): Implemented.
25728         (uncompress): New function implemented to
25729         uncompress the image before encoding.
25730
25731 2006-03-21  Roman Kennke  <kennke@aicas.com>
25732
25733         * javax/swing/text/html/FormView.java
25734         (getImageData): New helper method.
25735
25736 2006-03-21  Tom Tromey  <tromey@redhat.com>
25737
25738         * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25739         fix.
25740         (Unsafe): Now final.
25741
25742 2006-03-21  Roman Kennke  <kennke@aicas.com>
25743
25744         * javax/swing/text/html/FormView.java
25745         (MouseEventListener): New inner class.
25746
25747 2006-03-21  Roman Kennke  <kennke@aicas.com>
25748
25749         * javax/swing/text/html/ListView.java: New file.
25750
25751 2006-03-21  Tom Tromey  <tromey@redhat.com>
25752
25753         * java/text/Bidi.java: Completed.
25754
25755 2006-03-21  Anthony Balkissoon  <abalkiss@redhat.com>
25756
25757         * javax/swing/JTable.java:
25758         (columnAtPoint): Removed the null check, this method should throw a NPE
25759         if the argument is null.
25760
25761 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
25762
25763         * javax/swing/text/DefaultHighlighter.java:
25764         (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25765
25766 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
25767
25768         * javax/swing/text/DefaultCaret.java: Added class variable denoting
25769         the textcomponent having a selection.
25770         (clearSelection): Clear 'componentWithSelection' variable.
25771         (handleSelection): Clear selection of current component having a
25772         selection before setting a new selection in another component.
25773         (mouseDragged): Only react on left mouse button.
25774         (mouseClicked): Only react on left mouse button.
25775
25776 2006-03-21  Roman Kennke  <kennke@aicas.com>
25777
25778         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25779         (paintContentBorderTopEdge): Implemented.
25780         (paintContentBorderBottomEdge): Implemented.
25781         (paintContentBorderLeftEdge): Implemented.
25782         (paintContentBorderRightEdge): Implemented.
25783         (isLastTabInRun): New helper method.
25784
25785 2006-03-21  Roman Kennke  <kennke@aicas.com>
25786
25787         * javax/swing/JTabbedPane.java
25788         (Page.getForeground): Fall back to returning the tabbed pane's
25789         foreground if no foreground has been exclicitly set.
25790
25791 2006-03-21  Roman Kennke  <kennke@aicas.com>
25792
25793         * javax/swing/plaf/metal/MetalComboBoxButton.java
25794         (setEnabled): Update colors of button correctly.
25795         * javax/swing/plaf/metal/MetalComboBoxUI.java
25796         (MetalPropertyChangeListener.propertyChange): Update the colors
25797         of the list and the button when any of the color properties
25798         of the ComboBox change.
25799
25800 2006-03-21  Roman Kennke  <kennke@aicas.com>
25801
25802         * javax/swing/plaf/basic/BasicButtonUI.java
25803         (uninstallDefaults): Only nullify button colors if they are
25804         not UIResource instances.
25805
25806 2006-03-21  David Gilbert  <david.gilbert@object-refinery.com>
25807
25808         * javax/swing/JComponent.java
25809         (AccessibleJComponent.getAccessibleDescription): Call super,
25810         * javax/swing/JToolTip.java: API doc updates all over, plus
25811         (AccessibleJToolTip.getAccessibleDescription): Implemented,
25812         (AccessibleJToolTip.getAccessibleRole): Implemented,
25813         (getAccessibleContext): Implemented,
25814         (paramString): Reimplemented,
25815         (setComponent): Fire PropertyChangeEvent,
25816         (setTipText): Likewise.
25817
25818 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25819
25820         * java/util/Formatter.java:
25821         Make the class final.
25822         
25823 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25824
25825         * java/lang/System.java:
25826         (nanoTime()): Documented.
25827         * java/lang/Thread.java:
25828         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25829         Added docs and security check.
25830         (getUncaughtExceptionHandler()): Documented.
25831         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25832         Added docs and security check.
25833         (getDefaultUncaughtExceptionHandler()): Documented.
25834         (getId()): Documented.
25835         (Thread.State): Documented.
25836         * vm/reference/gnu/classpath/Unsafe.java:
25837         Documented.
25838         (getUnsafe()): Updated to handle security.
25839         
25840 2006-03-20  Tom Tromey  <tromey@redhat.com>
25841
25842         * java/lang/System.java:
25843         (nanoTime()): Implemented.
25844         * java/lang/Thread.java:
25845         (getId()): Implemented.
25846         * java/util/AbstractMap.java:
25847         (SimpleImmutableEntry): New 1.6 class.
25848         (BasicMapEntry): Modified to be SimpleEntry.
25849         * java/util/Collections.java:
25850         Modified to use SimpleEntry.
25851         * java/util/EnumMap.java: Likewise.
25852         * java/util/HashMap.java: Likewise.
25853         * java/util/Hashtable.java: Likewise.
25854         * java/util/TreeMap.java: Likewise.
25855         * vm/reference/gnu/classpath/Unsafe.java:
25856         New class to handle low-level facilities for concurrency.
25857         * vm/reference/java/lang/VMSystem.java:
25858         (nanoTime()): Implemented.
25859         
25860 2006-03-20  Tom Tromey  <tromey@redhat.com>
25861
25862         * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25863         * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25864         (CertStoreSpi): Updated throws clause.
25865         * java/security/cert/CertPathValidatorSpi.java: Added import for
25866         javadoc.
25867         (engineValidate): Updated 'throws' clause.
25868         * java/security/cert/PKIXParameters.java: Javadoc fix.
25869         * java/security/cert/X509CertSelector.java
25870         (setAuthorityKeyIdentifier): Javadoc fix.
25871
25872 2006-03-20  Tom Tromey  <tromey@redhat.com>
25873
25874         * .classpath: Build gnu.javax.swing.plaf.
25875
25876 2006-03-20  Lillian Angel  <langel@redhat.com>
25877
25878         * gnu/javax/imageio/bmp/BMPDecoder.java:
25879         Removed unneeded import.
25880         * gnu/javax/imageio/bmp/BMPEncoder.java:
25881         New class.
25882         * gnu/javax/imageio/bmp/BMPFileHeader.java
25883         (BMPFileHeader): New constructor used to create info header
25884         for an output stream.
25885         (write): Fixed indexes.
25886         * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25887         Initialized writerSpiNames field.
25888         * gnu/javax/imageio/bmp/BMPImageWriter.java:
25889         New class.
25890         * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25891         New class.
25892         * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25893         Change visibility for fields.
25894         (BMPInfoHeader): New constructor used to create
25895         file header for an output stream.
25896         (intToDWord): New method. Converts an int to a
25897         double word.
25898         (intToWord): New method. Converts an int to a word.
25899         * gnu/javax/imageio/bmp/DecodeBF32.java:
25900         Removed unneeded imports.
25901         * gnu/javax/imageio/bmp/EncodeRGB1.java:
25902         New class.
25903         * gnu/javax/imageio/bmp/EncodeRGB16.java:
25904         New class.
25905         * gnu/javax/imageio/bmp/EncodeRGB24.java:
25906         New class.
25907         * gnu/javax/imageio/bmp/EncodeRGB32.java:
25908         New class.
25909         * gnu/javax/imageio/bmp/EncodeRGB4.java:
25910         New class.
25911         * gnu/javax/imageio/bmp/EncodeRGB8.java:
25912         New class.
25913         * gnu/javax/imageio/bmp/EncodeRLE4.java:
25914         New class.
25915         * gnu/javax/imageio/bmp/EncodeRLE8.java:
25916         New class.
25917         * javax/imageio/ImageIO.java:
25918         Fixed comment.
25919
25920 2006-03-20  Roman Kennke  <kennke@aicas.com>
25921
25922         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25923         (TabbedPaneLayout.normalizeTabRuns): New method.
25924         (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25925         (paintTabBorder): Replaced if-else chain with switch.
25926         (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25927         Ocean theme.
25928         (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25929         Ocean theme.
25930         (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25931         Ocean theme.
25932         (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25933         Ocean theme.
25934         (paintTabBackground): Fetch background color from the TabbedPane.
25935         Fixed painting and improved by not using fillPolygon, and instead
25936         using fillRectangle. Replaced if-else chain with switch.
25937         (calculateMaxTabHeight): Added overridden method with FIXME.
25938         (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25939         placement.
25940         (paintContentBorderTopEdge): Added stub with FIXME.
25941         (paintContentBorderBottomEdge): Added stub with FIXME.
25942         (paintContentBorderLeftEdge): Added stub with FIXME.
25943         (paintContentBorderRightEdge): Added stub with FIXME.
25944
25945 2006-03-20  Roman Kennke  <kennke@aicas.com>
25946
25947         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25948         (tabsOpaque): New field.
25949         (installDefaults): Fetch tabsOpaque property from UIManager.
25950         (paintTab): Fill tab background when tabsOpaque property is true.
25951         * javax/swing/plaf/basic/BasicLookAndFeel.java
25952         (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25953
25954 2006-03-20  Roman Kennke  <kennke@aicas.com>
25955
25956         * javax/swing/JTabbedPane.java
25957         (Pane.getBackground): When no background was explicitly set, return
25958         the JTabbedPane's background.
25959
25960 2006-03-20  Wolfgang Baer  <WBaer@gmx.de>
25961
25962         * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25963         * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25964         * org/omg/CORBA/BAD_INV_ORDER.java,
25965         * org/omg/CORBA/BAD_CONTEXT.java,
25966         * org/omg/CORBA/BAD_OPERATION.java,
25967         * org/omg/CORBA/BAD_PARAM.java,
25968         * org/omg/CORBA/BAD_QOS.java,
25969         * org/omg/CORBA/BAD_TYPECODE.java,
25970         * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25971         * org/omg/CORBA/COMM_FAILURE.java,
25972         * org/omg/CORBA/CurrentHolder.java,
25973         * org/omg/CORBA/DATA_CONVERSION.java,
25974         * org/omg/CORBA/FREE_MEM.java,
25975         * org/omg/CORBA/IMP_LIMIT.java,
25976         * org/omg/CORBA/INITIALIZE.java,
25977         * org/omg/CORBA/INTERNAL.java,
25978         * org/omg/CORBA/INTF_REPOS.java,
25979         * org/omg/CORBA/INVALID_ACTIVITY.java,
25980         * org/omg/CORBA/INVALID_TRANSACTION.java,
25981         * org/omg/CORBA/INV_FLAG.java,
25982         * org/omg/CORBA/INV_IDENT.java,
25983         * org/omg/CORBA/INV_OBJREF.java,
25984         * org/omg/CORBA/INV_POLICY.java,
25985         * org/omg/CORBA/MARSHAL.java,
25986         * org/omg/CORBA/NO_RESOURCES.java,
25987         * org/omg/CORBA/NO_MEMORY.java,
25988         * org/omg/CORBA/NO_IMPLEMENT.java,
25989         * org/omg/CORBA/NO_PERMISSION.java,
25990         * org/omg/CORBA/NO_RESPONSE.java,
25991         * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25992         * org/omg/CORBA/OBJ_ADAPTER.java,
25993         * org/omg/CORBA/ParameterModeHolder.java,
25994         * org/omg/CORBA/PolicyError.java,
25995         * org/omg/CORBA/PolicyErrorHolder.java,
25996         * org/omg/CORBA/PolicyHolder.java,
25997         * org/omg/CORBA/PolicyListHolder.java,
25998         * org/omg/CORBA/REBIND.java,
25999         * org/omg/CORBA/TIMEOUT.java,
26000         * org/omg/CORBA/TRANSACTION_MODE.java,
26001         * org/omg/CORBA/TRANSACTION_REQUIRED.java,
26002         * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
26003         * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
26004         * org/omg/CORBA/TRANSIENT.java,
26005         * org/omg/CORBA/TypeCodeHolder.java,
26006         * org/omg/CORBA/UNKNOWN.java,
26007         * org/omg/CORBA/UnionMember.java,
26008         * org/omg/CORBA/UnknownUserException.java,
26009         * org/omg/CORBA/UnknownUserExceptionHolder.java,
26010         * org/omg/CORBA/WrongTransactionHolder.java,
26011         * org/omg/IOP/IOR.java,
26012         * org/omg/IOP/IORHolder.java,
26013         * org/omg/IOP/MultipleComponentProfileHolder.java,
26014         * org/omg/IOP/ServiceContextHolder.java,
26015         * org/omg/IOP/ServiceContextListHolder.java,
26016         * org/omg/IOP/TaggedComponentHolder.java,
26017         * org/omg/IOP/TaggedProfileHolder.java,
26018         * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
26019         * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
26020         * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
26021         * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
26022         Made class final, various javadoc fixlets.      
26023         * org/omg/CORBA/CompletionStatus.java, 
26024         * org/omg/CORBA/PERSIST_STORE.java,
26025         * org/omg/CORBA/ValueMember.java,
26026         * org/omg/PortableInterceptor/ForwardRequest.java,
26027         * org/omg/PortableInterceptor/InvalidSlot.java,
26028         * org/omg/IOP/CodecPackage/TypeMismatch.java,
26029         * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
26030         * org/omg/IOP/CodecPackage/FormatMismatch.java,
26031         * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
26032         * org/omg/IOP/Encoding.java,
26033         * org/omg/IOP/TaggedComponent.java,
26034         * org/omg/IOP/TaggedProfile.java: Made class final.
26035         * org/omg/CORBA/SystemException.java: Made class abstract.      
26036         * org/omg/CORBA/UserException.java: Made class abstract.
26037         (UserException): Now protected.
26038         (UserException(String)): Likewise.
26039         * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
26040         (typecode): Removed unused private variable.
26041
26042 2006-03-20  Chris Burdess  <dog@gnu.org>
26043
26044         Fixes PR 26761
26045         * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
26046
26047 2006-03-20  Roman Kennke  <kennke@aicas.com>
26048
26049         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26050         (paintTabArea): Look up tab run indices in tabRuns array instead
26051         of using the index directly.
26052
26053 2006-03-20  Roman Kennke  <kennke@aicas.com>
26054
26055         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26056         (paintTab): Fixed painting.
26057         (paintText): Fixed text painting.
26058         (paintFocusIndicator): Fixed painting of the focus rectangle.
26059         (paintContentBorder): Fixed painting of the content area.
26060
26061 2006-03-20  Mark Wielaard  <mark@klomp.org>
26062
26063         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
26064         static lock Object field.
26065         (produce): Synchronize on pixbufLock when calling initState(),
26066         pumpBytes() and pumpDone().
26067         (finalize): Likewise when calling finish().
26068         (GdkPixbufWriter.write): Likewise when calling streamImage().
26069         * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
26070         when calling loadPixbuf. Chain exception.
26071         (GtkImage(byte[])): Likewise when calling loadImageFromData.
26072         (GtkImage(URL)): Likewise.
26073         (GtkImage(int,int)): Likewise when calling createPixmap().
26074         (GtkImage(GtkImage,int,int,int)): Likewise when calling
26075         createScaledPixmap().
26076         (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
26077         (setImage): Likewise when calling createPixmap() and setPixels().
26078         (getSource): Likewise when calling getPixels().
26079         (flush): Likewise when calling freePixmap().
26080         (finalize): Likewise.
26081         (drawImage): Likewise when calling drawPixelsScaledFlipped() and
26082         drawPixelsScaledFlipped().
26083         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
26084         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
26085         gdk_threads_enter/leave().
26086         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
26087         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
26088         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
26089         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
26090         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
26091         (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
26092         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
26093         (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
26094         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
26095         (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
26096         (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
26097         (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
26098         (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
26099
26100 2006-03-20  Roman Kennke  <kennke@aicas.com>
26101
26102         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26103         (calculateTabHeight): Not need to use SwingUtilities here.
26104         (getTabInsets): Do not rotate insets.
26105
26106 2006-03-20  Roman Kennke  <kennke@aicas.com>
26107
26108         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26109         (paint): Make sure the layout is valid before painting.
26110         (paintTabArea): Made tab painting more straightforward and efficient.
26111
26112 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26113
26114         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
26115         (getScrollableUnitIncrement): Rewritten.
26116         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
26117         (getScrollableUnitIncrement): Rewritten.
26118         * javax/swing/plaf/basic/BasicScrollPaneUI.java
26119         (ROWS_PER_WHEEL_CLICK): New field. 
26120         (MouseWheelHandler.mouseWheelMoved): Rewritten.
26121
26122 2006-03-20  Roman Kennke  <kennke@aicas.com>
26123
26124         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26125         (paint): Make sure the layout is valid before painting.
26126         (paintTabArea): Made tab painting more straightforward and efficient.
26127
26128 2006-03-20  Roman Kennke  <kennke@aicas.com>
26129
26130         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26131         (MouseHandler.mousePressed): Rewritten for clearer and simpler
26132         code.
26133         (MouseHandler.mouseEntered): Implemented to set the rollover tab.
26134         (MouseHandler.mouseMoved): Implemented to set the rollover tab.
26135         (MouseHandler.mouseExited): Implemented to unset the rollover tab.
26136         (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
26137         bounds here. That is moved into layoutContainer().
26138         (calculateSize): Correctly respect insets. Made code slightly more
26139         clear and efficient.
26140         (calculateTabRects): Rewritten completely. The old code was
26141         not quite right and unstable in some situations.
26142         (layoutContainer): Moved layout of tabbed pane's subcomponents
26143         here.
26144         (tabRunsDirty): New field.
26145         (rolloverTab): New field.
26146         (tabForCoordinate): Rewritten for simplicity and correctness.
26147         (setRolloverTab): New method.
26148         (getRolloverTab): New method.
26149
26150 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26151
26152         * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
26153         * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
26154         (getScrollableUnitIncrement
26155         * javax/swing/Scrollable.java: Documented.
26156         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
26157         (MouseWheelHandler):Rewritten.
26158
26159 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26160
26161         * doc/vmintegration.texinfo:
26162         Updated with gnu.classpath.Unsafe
26163         
26164 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26165
26166         * NEWS:
26167         Updated with VMArray and Unsafe changes.
26168         
26169 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26170
26171         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
26172         (getScrollableUnitIncrement): Rewritten.
26173         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
26174         (getScrollableUnitIncrement): Rewritten. 
26175         (getScrollableBlockIncrement): Rewritten.
26176         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
26177         (MouseWheelHandler): Implemented. (ViewportContainerListener): 
26178         New class. (containerListener): New field. (SCROLL_NON_SCROLABLES): 
26179         New field. (installListeners): Install wheel listeners. 
26180         (uninstallListeners): Uninstall wheel listeners.
26181         * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
26182         of the MouseWheelListener. (installListeners): Do not install wheel
26183         listener. (ROWS_PER_WHEEL_CLICK): Removed.
26184
26185 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26186
26187         * vm/reference/gnu/classpath/Unsafe.java:
26188         Documented.
26189         (getUnsafe()): Updated to handle security.
26190
26191 2006-03-19  Tom Tromey  <tromey@redhat.com>
26192
26193         * vm/reference/gnu/classpath/Unsafe.java:
26194         New class to handle low-level facilities for concurrency.
26195
26196 2006-03-19  Mark Wielaard  <mark@klomp.org>
26197
26198         * include/Makefile.am: Rename PlainDatagramSocketImpl to
26199         VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
26200         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
26201         * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
26202
26203 2006-03-19  Mark Wielaard  <mark@klomp.org>
26204
26205         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
26206         familyName.
26207         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
26208
26209 2006-03-19  Michael Koch  <konqueror@gmx.de>
26210
26211         * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
26212         resource/gnu/java/locale/LocaleInformation_am.properties,
26213         resource/gnu/java/locale/LocaleInformation_am_ET.properties,
26214         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
26215         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26216         resource/gnu/java/locale/LocaleInformation_bg.properties,
26217         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
26218         resource/gnu/java/locale/LocaleInformation_ca.properties,
26219         resource/gnu/java/locale/LocaleInformation_cs.properties,
26220         resource/gnu/java/locale/LocaleInformation_cy.properties,
26221         resource/gnu/java/locale/LocaleInformation_da.properties,
26222         resource/gnu/java/locale/LocaleInformation_de.properties,
26223         resource/gnu/java/locale/LocaleInformation_dv.properties,
26224         resource/gnu/java/locale/LocaleInformation_el.properties,
26225         resource/gnu/java/locale/LocaleInformation_en.properties,
26226         resource/gnu/java/locale/LocaleInformation_en_GB.properties,
26227         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
26228         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
26229         resource/gnu/java/locale/LocaleInformation_en_SG.properties,
26230         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
26231         resource/gnu/java/locale/LocaleInformation_es.properties,
26232         resource/gnu/java/locale/LocaleInformation_es_AR.properties,
26233         resource/gnu/java/locale/LocaleInformation_es_BO.properties,
26234         resource/gnu/java/locale/LocaleInformation_es_CL.properties,
26235         resource/gnu/java/locale/LocaleInformation_es_CO.properties,
26236         resource/gnu/java/locale/LocaleInformation_es_CR.properties,
26237         resource/gnu/java/locale/LocaleInformation_es_DO.properties,
26238         resource/gnu/java/locale/LocaleInformation_es_EC.properties,
26239         resource/gnu/java/locale/LocaleInformation_es_ES.properties,
26240         resource/gnu/java/locale/LocaleInformation_es_GT.properties,
26241         resource/gnu/java/locale/LocaleInformation_es_HN.properties,
26242         resource/gnu/java/locale/LocaleInformation_es_MX.properties,
26243         resource/gnu/java/locale/LocaleInformation_es_NI.properties,
26244         resource/gnu/java/locale/LocaleInformation_es_PA.properties,
26245         resource/gnu/java/locale/LocaleInformation_es_PE.properties,
26246         resource/gnu/java/locale/LocaleInformation_es_PR.properties,
26247         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
26248         resource/gnu/java/locale/LocaleInformation_es_SV.properties,
26249         resource/gnu/java/locale/LocaleInformation_es_US.properties,
26250         resource/gnu/java/locale/LocaleInformation_es_UY.properties,
26251         resource/gnu/java/locale/LocaleInformation_es_VE.properties,
26252         resource/gnu/java/locale/LocaleInformation_fa.properties,
26253         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26254         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
26255         resource/gnu/java/locale/LocaleInformation_fi.properties,
26256         resource/gnu/java/locale/LocaleInformation_fr.properties,
26257         resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
26258         resource/gnu/java/locale/LocaleInformation_ga.properties,
26259         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
26260         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
26261         resource/gnu/java/locale/LocaleInformation_hr.properties,
26262         resource/gnu/java/locale/LocaleInformation_hu.properties,
26263         resource/gnu/java/locale/LocaleInformation_id.properties,
26264         resource/gnu/java/locale/LocaleInformation_is.properties,
26265         resource/gnu/java/locale/LocaleInformation_it.properties,
26266         resource/gnu/java/locale/LocaleInformation_ja.properties,
26267         resource/gnu/java/locale/LocaleInformation_kk.properties,
26268         resource/gnu/java/locale/LocaleInformation_kl.properties,
26269         resource/gnu/java/locale/LocaleInformation_km.properties,
26270         resource/gnu/java/locale/LocaleInformation_ky.properties,
26271         resource/gnu/java/locale/LocaleInformation_lo.properties,
26272         resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
26273         resource/gnu/java/locale/LocaleInformation_lt.properties,
26274         resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
26275         resource/gnu/java/locale/LocaleInformation_lv.properties,
26276         resource/gnu/java/locale/LocaleInformation_mk.properties,
26277         resource/gnu/java/locale/LocaleInformation_mn.properties,
26278         resource/gnu/java/locale/LocaleInformation_mr.properties,
26279         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
26280         resource/gnu/java/locale/LocaleInformation_ms.properties,
26281         resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
26282         resource/gnu/java/locale/LocaleInformation_mt.properties,
26283         resource/gnu/java/locale/LocaleInformation_nb.properties,
26284         resource/gnu/java/locale/LocaleInformation_nl.properties,
26285         resource/gnu/java/locale/LocaleInformation_nn.properties,
26286         resource/gnu/java/locale/LocaleInformation_om_ET.properties,
26287         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
26288         resource/gnu/java/locale/LocaleInformation_pa.properties,
26289         resource/gnu/java/locale/LocaleInformation_pl.properties,
26290         resource/gnu/java/locale/LocaleInformation_pt.properties,
26291         resource/gnu/java/locale/LocaleInformation_ru.properties,
26292         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
26293         resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
26294         resource/gnu/java/locale/LocaleInformation_sa.properties,
26295         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
26296         resource/gnu/java/locale/LocaleInformation_sk.properties,
26297         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26298         resource/gnu/java/locale/LocaleInformation_sv.properties,
26299         resource/gnu/java/locale/LocaleInformation_sw.properties,
26300         resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
26301         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
26302         resource/gnu/java/locale/LocaleInformation_te.properties,
26303         resource/gnu/java/locale/LocaleInformation_te_IN.properties,
26304         resource/gnu/java/locale/LocaleInformation_th.properties,
26305         resource/gnu/java/locale/LocaleInformation_ti.properties,
26306         resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
26307         resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
26308         resource/gnu/java/locale/LocaleInformation_tr.properties,
26309         resource/gnu/java/locale/LocaleInformation_tt.properties,
26310         resource/gnu/java/locale/LocaleInformation_uk.properties,
26311         resource/gnu/java/locale/LocaleInformation_ur.properties,
26312         resource/gnu/java/locale/LocaleInformation_uz.properties,
26313         resource/gnu/java/locale/LocaleInformation_zh.properties,
26314         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26315         More updates for CLDR 1.3.
26316         
26317 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26318
26319         * doc/vmintegration.texinfo:
26320         Updated to include VMArray.
26321         * include/Makefile.am:
26322         Replace java_lang_reflect_Array.h with
26323         java_lang_reflect_VMArray.h
26324         * include/java_lang_reflect_VMArray.h:
26325         New autogenerated header.
26326         * include/java_lang_reflect_Array.h:
26327         Removed.
26328         * java/lang/reflect/Array.java:
26329         (newInstance(Class,int)): Calls VMArray.
26330         (createMultiArray(Class,int[],int)): Likewise.
26331         (createObjectArray(Class,int)): Removed.
26332         * native/jni/java-lang/Makefile.am:
26333         Replaced java_lang_reflect_Array.c with
26334         java_lang_reflect_VMArray.c
26335         * native/jni/java-lang/java_lang_reflect_VMArray.c:
26336         Renamed from java_lang_reflect_Array.c.
26337         * vm/reference/java/lang/reflect/VMArray.java:
26338         (createObjectArray(Class,int)): Native method moved
26339         from java.lang.reflect.Array.
26340
26341 2006-03-19  Roman Kennke  <kennke@aicas.com>
26342
26343         * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
26344         * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
26345         New class.
26346         * examples/gnu/classpath/examples/swing/Demo.java
26347         (mkButtonBar): Hook up theme editor.
26348         (mkMenuBar): Hook up theme editor.
26349
26350 2006-03-19  Roman Kennke  <kennke@aicas.com>
26351
26352         * javax/swing/plaf/basic/BasicFileChooserUI.java
26353         (ApproveSelectionAction.actionPerformed): Added case for when
26354         nothing has been selected but the user has typed a filename
26355         into the textfield.
26356         (getFileName): Return the value of the text field.
26357
26358 2006-03-19  Roman Kennke  <kennke@aicas.com>
26359
26360         * javax/swing/JColorChooser.java
26361         (createDialog): Create JDialog instead of ModalDialog. Make this
26362         dialog modal by calling setModal(true).
26363         (ModalDialog): Removed unnecessary inner class.
26364
26365 2006-03-19  Tom Tromey  <tromey@redhat.com>
26366
26367         * java/awt/font/NumericShaper.java: Rewrote.
26368
26369 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26370
26371         * javax/swing/plaf/basic/BasicTableUI.java:
26372         Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
26373         New field. MouseInputHandler.mouseWheelMoved): New method.
26374         (installListeners): Register MouseInputHandler as
26375         wheel listener also.
26376         
26377 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26378
26379         PR 26746
26380         * javax/swing/ViewportLayout.java (layoutContainer):
26381         If Scrollable tracks dimension, set view size to the port size. 
26382         If port is larger than the view, move the view to the top/left.
26383
26384 2006-03-19  Roman Kennke  <kennke@aicas.com>
26385
26386         * javax/swing/MenuSelectionManager.java
26387         (isComponentPartOfCurrentMenu): Also consider the first element
26388         in a menu selection list. Make a isDescendentFrom check instead
26389         of simple equals to also catch sub components.
26390
26391 2006-03-19  Roman Kennke  <kennke@aicas.com>
26392
26393         * javax/swing/JComboBox.java
26394         (actionPerformed): Fetch selected item directly from the editor
26395         instead of trying to get it from the event.
26396
26397 2006-03-19  Roman Kennke  <kennke@aicas.com>
26398
26399         * javax/swing/plaf/basic/BasicComboBoxEditor.java
26400         (listener): Removed field.
26401         (BasicComboBoxEditor): Removed initialization of listener field.
26402         (addActionListener): Add listener directly to editor.
26403         (removeActionListener): Remove listener directly from editor.
26404         (ComboBoxEditorListener): Removed class.
26405         * javax/swing/plaf/basic/BasicComboBoxUI.java
26406         (getPreferredSize): Fixed to return the minimumSize.
26407         (getMinimumSize): Improved code for more clearness.
26408         (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26409         (rectangleForCurrentValue): Correctly respect insets.
26410         (getDefaultSize): Return preferredSize here. Dont override height
26411         with 100.
26412         (getDisplaySize): Moved around code for more clearness. Added
26413         handling of prototype renderer.
26414         (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26415         arrowButton bounds since the former depends on the latter.
26416         * javax/swing/plaf/metal/MetalComboBoxButton.java:
26417         (MetalComboBoxButton): Make button rollover disabled.
26418         (isFocusTraversable): Return false unconditionally.
26419         * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26420         (EditorTextField): New class. Fixes the size properties.
26421         (MetalComboBoxEditor): Create instance of EditorTextField.
26422         * javax/swing/plaf/metal/MetalComboBoxUI.java:
26423         (getMinimumSize): Fixed editable size.
26424
26425 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26426
26427         * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26428
26429 2006-03-18  Roman Kennke  <kennke@aicas.com>
26430
26431         * javax/swing/plaf/metal/MetalToolBarUI.java
26432         (update): Added overridden method to support OceanTheme.
26433
26434 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26435
26436         * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped): 
26437         Activate the cell editing on character keystroke.
26438
26439 2006-03-18  Mark Wielaard  <mark@klomp.org>
26440
26441         * java/awt/Component.java (eventTypeEnabled): Handle
26442         MouseEvent.MOUSE_WHEEL.
26443         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26444         New callback method.
26445         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26446         (AWT_MOUSE_WHEEL): New constant.
26447         (AWT_WHEEL_UNIT_SCROLL): Likewise.
26448         (postMouseWheelEventID): New static variable.
26449         (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26450         (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26451         (button_number): Renamed to ...
26452         (button_number_direction): variable to hold button number or scroll
26453         direction.
26454         (component_button_press_cb): Use button_number_direction.
26455         (component_scroll_cb): New static callback function.
26456
26457 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26458
26459         * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26460         Return without action.
26461
26462 2006-03-18  Mark Wielaard  <mark@klomp.org>
26463
26464         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26465         Don't cast graphics object to GdkGraphics.
26466         (updateComponent): Likewise.
26467
26468 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26469
26470         * examples/gnu/classpath/examples/swing/TableDemo.java
26471         (TModel.getColumnClass): Set second column to Icon.
26472         (TModel.isCellEditable): Say icons are not editable.
26473         (createContent): Fill the in second column with some icons from 
26474         MetalIconFactory.
26475
26476 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26477
26478         * examples/gnu/classpath/examples/swing/Demo.java
26479         (mkButtonBar): Set maximal button bar height to the preferred height.
26480
26481 2006-03-18  Roman Kennke  <kennke@aicas.com>
26482
26483         * javax/swing/plaf/basic/BasicComboPopup.java
26484         (show): Substract insets from scroller width.
26485         (getPopupHeightForRowCount): If height==0, return a default of 100
26486         instead for empty ComboBoxes.
26487
26488 2006-03-18  Roman Kennke  <kennke@aicas.com>
26489
26490         * javax/swing/plaf/basic/BasicLookAndFeel.java
26491         (PopupHelper.autoClosePopups): Removed field.
26492         (PopupHelper.mousePressed): Removed processing of registered
26493         autoclose popups.
26494         (registerForAutoClose): Removed unneeded method.
26495         (autoClosePopups): Removed unneeded method.
26496         (registerForAutoClose): Removed unneeded method.
26497
26498 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26499
26500         * javax.swing.JTable.java (TableTextField): Set border.
26501         (moveToCellBeingEdited): Do not adjust the editor boundaries
26502
26503 2006-03-18  Michael Koch  <konqueror@gmx.de>
26504
26505         * resource/gnu/java/locale/LocaleInformation_aa.properties,
26506         resource/gnu/java/locale/LocaleInformation_af.properties,
26507         resource/gnu/java/locale/LocaleInformation_am.properties,
26508         resource/gnu/java/locale/LocaleInformation_ar.properties,
26509         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26510         resource/gnu/java/locale/LocaleInformation_be.properties,
26511         resource/gnu/java/locale/LocaleInformation_bg.properties,
26512         resource/gnu/java/locale/LocaleInformation_bn.properties,
26513         resource/gnu/java/locale/LocaleInformation_ca.properties,
26514         resource/gnu/java/locale/LocaleInformation_cs.properties,
26515         resource/gnu/java/locale/LocaleInformation_cy.properties,
26516         resource/gnu/java/locale/LocaleInformation_da.properties,
26517         resource/gnu/java/locale/LocaleInformation_de.properties,
26518         resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26519         resource/gnu/java/locale/LocaleInformation_dz.properties,
26520         resource/gnu/java/locale/LocaleInformation_en.properties,
26521         resource/gnu/java/locale/LocaleInformation_eo.properties,
26522         resource/gnu/java/locale/LocaleInformation_es.properties,
26523         resource/gnu/java/locale/LocaleInformation_et.properties,
26524         resource/gnu/java/locale/LocaleInformation_eu.properties,
26525         resource/gnu/java/locale/LocaleInformation_fa.properties,
26526         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26527         resource/gnu/java/locale/LocaleInformation_fi.properties,
26528         resource/gnu/java/locale/LocaleInformation_fo.properties,
26529         resource/gnu/java/locale/LocaleInformation_fr.properties,
26530         resource/gnu/java/locale/LocaleInformation_ga.properties,
26531         resource/gnu/java/locale/LocaleInformation_gl.properties,
26532         resource/gnu/java/locale/LocaleInformation_gu.properties,
26533         resource/gnu/java/locale/LocaleInformation_he.properties,
26534         resource/gnu/java/locale/LocaleInformation_hi.properties,
26535         resource/gnu/java/locale/LocaleInformation_hr.properties,
26536         resource/gnu/java/locale/LocaleInformation_hu.properties,
26537         resource/gnu/java/locale/LocaleInformation_hy.properties,
26538         resource/gnu/java/locale/LocaleInformation_id.properties,
26539         resource/gnu/java/locale/LocaleInformation_is.properties,
26540         resource/gnu/java/locale/LocaleInformation_it.properties,
26541         resource/gnu/java/locale/LocaleInformation_ja.properties,
26542         resource/gnu/java/locale/LocaleInformation_ka.properties,
26543         resource/gnu/java/locale/LocaleInformation_km.properties,
26544         resource/gnu/java/locale/LocaleInformation_ko.properties,
26545         resource/gnu/java/locale/LocaleInformation_lo.properties,
26546         resource/gnu/java/locale/LocaleInformation_lt.properties,
26547         resource/gnu/java/locale/LocaleInformation_lv.properties,
26548         resource/gnu/java/locale/LocaleInformation_mk.properties,
26549         resource/gnu/java/locale/LocaleInformation_mr.properties,
26550         resource/gnu/java/locale/LocaleInformation_ms.properties,
26551         resource/gnu/java/locale/LocaleInformation_mt.properties,
26552         resource/gnu/java/locale/LocaleInformation_nb.properties,
26553         resource/gnu/java/locale/LocaleInformation_nl.properties,
26554         resource/gnu/java/locale/LocaleInformation_nn.properties,
26555         resource/gnu/java/locale/LocaleInformation_om.properties,
26556         resource/gnu/java/locale/LocaleInformation_pl.properties,
26557         resource/gnu/java/locale/LocaleInformation_ps.properties,
26558         resource/gnu/java/locale/LocaleInformation_pt.properties,
26559         resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26560         resource/gnu/java/locale/LocaleInformation_ro.properties,
26561         resource/gnu/java/locale/LocaleInformation_ru.properties,
26562         resource/gnu/java/locale/LocaleInformation_sk.properties,
26563         resource/gnu/java/locale/LocaleInformation_sl.properties,
26564         resource/gnu/java/locale/LocaleInformation_so.properties,
26565         resource/gnu/java/locale/LocaleInformation_sq.properties,
26566         resource/gnu/java/locale/LocaleInformation_sr.properties,
26567         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26568         resource/gnu/java/locale/LocaleInformation_sv.properties,
26569         resource/gnu/java/locale/LocaleInformation_sw.properties,
26570         resource/gnu/java/locale/LocaleInformation_ta.properties,
26571         resource/gnu/java/locale/LocaleInformation_te.properties,
26572         resource/gnu/java/locale/LocaleInformation_th.properties,
26573         resource/gnu/java/locale/LocaleInformation_tr.properties,
26574         resource/gnu/java/locale/LocaleInformation_uk.properties,
26575         resource/gnu/java/locale/LocaleInformation_uz.properties,
26576         resource/gnu/java/locale/LocaleInformation_vi.properties,
26577         resource/gnu/java/locale/LocaleInformation_zh.properties,
26578         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26579         Updated to use the new localized strings for currencies, languages,
26580         variants, territories, etc.
26581
26582 2006-03-18  Ito Kazumitsu  <kaz@maczuka.gcd.org>
26583
26584         * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26585         (start, end): Added comment about the negative values of them,
26586         (finish): Saves the input text in matchedCharIndexed,
26587         (toString): If the start or end index is out of bounds of the
26588         matched text, get the substring from matchedCharIndexed.
26589         Added special handlings in case start/end index < -1,
26590         (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26591         Added special handlings in case start/end index < -1,
26592         * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26593         found match, but keep the index as the original match.
26594         * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26595         found match, but keep the index as the original match.
26596         * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26597         in case start/end index < -1.
26598         
26599 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26600
26601         * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26602         Set to false.   
26603
26604 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26605          
26606         * javax/swing/text/DefaultCaret.java:
26607         (mouseClicked) Use setDot() and moveDot() instead of
26608         JTextComponent.select().
26609
26610 2006-03-17  Roman Kennke  <kennke@aicas.com>
26611
26612         * javax/swing/plaf/metal/MetalComboBoxEditor.java
26613         (MetalComboBoxEditorBorder.paintBorder): Implemented special
26614         border painting for the Ocean theme.
26615         (MetalComboBoxEditor): Create editor directly instead of going
26616         to super.
26617         
26618 2006-03-17  Roman Kennke  <kennke@aicas.com>
26619
26620         * javax/swing/text/JTextComponent.java
26621         (JTextComponent): Make text components opaque.
26622
26623 2006-03-17  Roman Kennke  <kennke@aicas.com>
26624
26625         * javax/swing/plaf/metal/MetalComboBoxUI.java
26626         (MetalComboBoxLayoutManager.layoutContainer): Forward to
26627         layoutComboBox().
26628         (MetalPropertyChangeListener.propertyChange): Update focusable
26629         flag according to the enable and editable state.
26630         (editablePropertyChanged): Removed unnecessary code.
26631         (getMinimumSize): Rewritten to correctly compute the
26632         size, respecting the insets of the components and the icon,
26633         the visual properties of the combobox, etc.
26634         (configureEditor): Update listeners correctly.
26635         (unconfigureEditor): Update listeners correctly.
26636         (layoutComboBox): Implemented.
26637
26638 2006-03-17  Roman Kennke  <kennke@aicas.com>
26639
26640         * javax/swing/plaf/metal/MetalComboBoxEditor.java
26641         (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26642         instead of Flush3DBorder.
26643         (paintBorder): Fixed border painting.
26644         (editorBorderInsets): Fixed border's insets.
26645
26646 2006-03-17  Roman Kennke  <kennke@aicas.com>
26647
26648         * javax/swing/plaf/metal/MetalComboBoxButton.java
26649         (rendererPane): Documented.
26650         (MetalComboBoxButton): Set enabled flag from ComboBox.
26651         Set focusable flag from ComboBox's enabled flag.
26652         (isFocusTraversable): Make button focus traversable if
26653         ComboBox is not editable but enable.
26654         (paintComponent): Fixed painting to correctly adjust
26655         the boxes of the renderer and button.
26656
26657 2006-03-17  Roman Kennke  <kennke@aicas.com>
26658
26659         * javax/swing/plaf/basic/BasicButtonUI.java
26660         (installDefaults): Only install UI margin if installed margin.
26661         is null or a UIResource.         
26662         (uninstallDefaults): Only uninstall margin if it's       
26663         a UIResource.    
26664          
26665  2006-03-17  Robert Schuster  <robertschuster@fsfe.org>          
26666          
26667          * javax/swing/text/DefaultCaret.java:   
26668          (mouseClicked) Use setDot() and moveDot() instead of    
26669          JTextComponent.select().        
26670  
26671 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26672
26673         * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26674         inner classes into package-private inner classes, added actions
26675         for caret movement and selection to the next and previous word
26676         and an action which selects the whole text.
26677
26678 2006-03-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
26679
26680         * javax/swing/Spring.java: Uncomment springdebug methods and
26681         rename them toString.
26682         * javax/swing/SpringLayout.java: Likewise.
26683
26684 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26685
26686         * javax/swing/text/FieldView.java:
26687         (viewToModel): Added call to adjust allocation area.
26688
26689 2006-03-17  Roman Kennke  <kennke@aicas.com>
26690
26691         * javax/swing/plaf/basic/BasicComboBoxUI.java
26692         (mouseListener): Removed field.
26693         (buttonBackground): Removed field.
26694         (buttonShadow): Removed field.
26695         (buttonDarkShadow): Removed field.
26696         (buttonHighlight): Removed field.
26697         (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26698         (installUI): Initialize and configure renderer and editor here.
26699         (uninstallUI): Close popup before uninitializing.
26700         Message popup that we are uninitializing. Clear layout.
26701         (installDefaults): Install UI border. Don't install colors.
26702         (installListeners): Install listeners fetched from the popup.
26703         Remove handling of mouseListener.
26704         (uninstallDefaults): Uninstall border. Don't handle colors.
26705         (uninstallListeners): Don't handle mouseListener. Uninstall
26706         listener from the popup.
26707         (createMouseListener): Removed method.
26708         (createRenderer): Create UIResource.
26709         (installComponents): Cleaned up.
26710         (uninstallComponents): Only remove renderer when it is
26711         a UIResource.
26712         (addEditor): Remove editor before adding new one.
26713         Fetch editor from comboBox.
26714         (removeEditor): Only do something when editor != null. Unconfigure
26715         editor before removing.
26716         (configureEditor): Add key listener. Call comboBox.configureEditor.
26717         (unconfigureEditor): Removed key listener.
26718         (configureArrowButton): Only handle when arrowButton != null.
26719         Add mouse listeners to arrow button.
26720         (unconfigureArrowButton): Remove listeners.
26721         (createArrowButton): Don't handle colors here.
26722         (setPopupVisible): Don't handle focus here.
26723         (paint): Only paint when comboBox is not editable. Update
26724         hasFocus flag.
26725         (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26726         (getMinimumSize): Respect insets here.
26727         (getMaximumSize): Return preferredSize with width of 32767.
26728         (getInsets): Return ComboBox insets.
26729         (paintCurrentValue): Paint using currentValuePane.
26730         Install correct colors. Don't revalidate.
26731         (paintCurrentValueBackground): Implemented.
26732         (getDefaultSize): Reimplemented using a default renderer.
26733         (getDisplaySize): Reimplemented to use renderer.
26734         (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26735         (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26736         (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26737         (FocusHandler.focusGained): Don't invalidate minimumSize.
26738         (FocusHandler.focusLost): Don't invalidate minimumSize.
26739         Only close popup if focus change is not temporary.
26740         (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26741         Reconfigure editor if not null.
26742         (ListDataHandler.contentsChanged): Revalidate and reconfigure
26743         editor if necessary.
26744         (ListDataHandler.intervalAdded): Fixed updating of the display size.
26745         (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26746         (MouseHandler): Removed unnecessary class.
26747
26748 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26749
26750         * examples/gnu/classpath/examples/swing/Demo.java:
26751         (Demo): Set default closing operation to shutdown the runtime.
26752
26753 2006-03-17  Roman Kennke  <kennke@aicas.com>
26754
26755         * javax/swing/plaf/basic/BasicComboPopup.java
26756         (BasicComboPopup): Create listeners here.
26757         Configure components here.
26758         (show): Correctly calculate bounds using computePopupBounds().
26759         Make scroller fixed-size. Removed special autocloser handling.
26760         (hide): Rewritten to use MenuSelectionHandler.
26761         (createList): Don't set selection mode here.
26762         (configureList): Correctly install colors and fonts and selectionMode.
26763         (createScroller): Set scrollpane policies.
26764         (configureScroller): Make scroller and scrollbar not-focusable.
26765         (configurePopup): Make popup opaque and borderPainted.
26766         (installComboBoxListeners): Don't install mouse listener on ComboBox.
26767         (delegateFocus): Implemented.
26768         (convertMouseEvent): Implemented.
26769         (updateListBoxSelectionForEvent): Implemented to also handle
26770         autoscrolling.
26771         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26772         Only open popup on left mouse-click.
26773         (InvocationMouseHandler.mouseReleased): Rewritten.
26774         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26775         support autoscrolling.
26776         (ItemHandler.itemStateChanged): Implemented to sync selection with
26777         the comboBox.
26778         (ListMouseHandler.mouseReleased): Fetch selected index directly
26779         from list.
26780         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26781         the list box.
26782         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26783         When model changes, then update listeners correctly.
26784         (uninstallListeners): Don't uninstall list listeners.
26785         (uninstallComboBoxListeners): Don't uninstall mouse listeners
26786         from comboBox.
26787         (syncSelection): New helper method.
26788
26789 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26790
26791         * javax/swing/text/PlainView.java:
26792         (drawLine): Rewritten.
26793         (drawSelectedText): Corrected last argument for
26794         Utilities.drawTabbedText() call.
26795         (paint): Store start and end of selection in object variables,
26796         store constant values of for-loop in local variables.
26797         * javax/swing/text/Utilities.java:
26798         (drawTabbedText): Add 'pixelWidth' to the return value, store
26799         constant value of for-loop in local variable.
26800
26801 2006-03-17  Roman Kennke  <kennke@aicas.com>
26802
26803         * javax/swing/plaf/basic/BasicComboPopup.java
26804         (BasicComboPopup): Create listeners here.
26805         Configure components here.
26806         (show): Correctly calculate bounds using computePopupBounds().
26807         Make scroller fixed-size. Removed special autocloser handling.
26808         (hide): Rewritten to use MenuSelectionHandler.
26809         (createList): Don't set selection mode here.
26810         (configureList): Correctly install colors and fonts and selectionMode.
26811         (createScroller): Set scrollpane policies.
26812         (configureScroller): Make scroller and scrollbar not-focusable.
26813         (configurePopup): Make popup opaque and borderPainted.
26814         (installComboBoxListeners): Don't install mouse listener on ComboBox.
26815         (delegateFocus): Implemented.
26816         (convertMouseEvent): Implemented.
26817         (updateListBoxSelectionForEvent): Implemented to also handle
26818         autoscrolling.
26819         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26820         Only open popup on left mouse-click.
26821         (InvocationMouseHandler.mouseReleased): Rewritten.
26822         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26823         support autoscrolling.
26824         (ItemHandler.itemStateChanged): Implemented to sync selection with
26825         the comboBox.
26826         (ListMouseHandler.mouseReleased): Fetch selected index directly
26827         from list.
26828         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26829         the list box.
26830         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26831         When model changes, then update listeners correctly.
26832         (uninstallListeners): Don't uninstall list listeners.
26833         (uninstallComboBoxListeners): Don't uninstall mouse listeners
26834         from comboBox.
26835         (syncSelection): New helper method.
26836
26837 2006-03-17  Roman Kennke  <kennke@aicas.com>
26838
26839         * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26840         (noFocusBorder): Make border with insets of (1,1,1,1).
26841         (BasicComboBoxRenderer): Make renderer opaque.
26842         No need to explicitly set alignment.
26843         (getListCellRendererComponent): Rewritten to correctly initialize
26844         color and font.
26845
26846 2006-03-17  Roman Kennke  <kennke@aicas.com>
26847
26848         * javax/swing/JPopupMenu.java
26849         (setVisible): Handle JPopupMenu opening and closing via
26850         the MenuSelectionHandler.
26851
26852 2006-03-17  Wolfgang Baer  <WBaer@gmx.de>
26853
26854         * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26855         * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26856         * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java: 
26857         Likewise.       
26858         * org/omg/CORBA/portable/RemarshalException.java: Likewise
26859         * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26860         * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26861         * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26862         * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26863         * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26864         * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26865         * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26866         * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26867         * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26868
26869 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26870
26871         * java/rmi/activation/Activatable.java: Implemented.
26872         java/rmi/activation/ActivationDesc.java: Implemented.
26873         java/rmi/activation/ActivationGroup.java: Implemented.
26874         java/rmi/activation/ActivationGroupDesc.java: Implemented.
26875         java/rmi/activation/ActivationID.java: Implemented.
26876         java/rmi/activation/ActivationSystem.java: Implemented.
26877         * gnu/java/rmi/server/UnicastServerRef.java 
26878         (exportObject, incommingMessageCall): Documented.
26879         * java/rmi/activation/package.html: Documented.
26880         * java/rmi/server/ObjID.java (objNum, space): Made package
26881         protected.
26882         * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26883         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26884         Iteration bug fix.
26885         * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26886         gnu/java/rmi/activation/BidiTable.java: New file.
26887         gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26888         gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26889         gnu/java/rmi/server/ActivatableServerRef.java: New file.
26890
26891 2006-03-17  Mark Wielaard  <mark@klomp.org>
26892
26893         * java/security/BasicPermission.java (BasicPermission): Check
26894         name equals empty string to force NullPointerException.
26895
26896 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26897
26898         PR classpath/26606
26899         Commit patch by Caolan McNamara  <caolanm@redhat.com>
26900         * javax/swing/Spring.java: Complete implementation
26901         * javax/swing/SpringLayout.java: Likewise.
26902
26903 2006-03-16  Keith Seitz  <keiths@redhat.com>
26904
26905         * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26906         all references.
26907         (run): Remove catch clause for InterruptedException. It is no
26908         longer necessary.
26909
26910 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26911
26912         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26913         (getFontMetrics): Handle monospaced fonts specially.
26914
26915 2006-03-16  Keith Seitz  <keiths@redhat.com>
26916
26917         * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26918         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26919         (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26920         Don't suspend the current thread unless it is not part of the JDWP
26921         thread group.
26922
26923 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26924
26925         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26926         return 0.
26927         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26928         font metrics through toolkit.
26929         * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26930         Likewise.
26931         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26932         (getFontMetrics): To calculate Java logical ascent and descent
26933         values, average Pango ink and logical values.
26934
26935 2006-03-16  Anthony Balkissoon  <abalkiss@redhat.com>
26936
26937         * java/lang/Character.java: Updated header comment.
26938
26939 2006-03-16  Tom Tromey  <tromey@redhat.com>
26940
26941         * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26942         constructor.
26943         * javax/sound/sampled/FloatControl.java: Now abstract.
26944         * javax/sound/sampled/EnumControl.java: Now abstract.
26945         * javax/sound/sampled/CompoundControl.java: Now abstract.
26946         * javax/sound/sampled/BooleanControl.java: Now abstract.
26947
26948 2006-03-16  Tom Tromey  <tromey@redhat.com>
26949
26950         * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26951
26952 2006-03-16  Roman Kennke  <kennke@aicas.com>
26953
26954         * java/util/zip/ZipFile.java
26955         (openFile): New helper method.
26956         (ZipFile): Use new openFile method to ensure the proper
26957         exception is thrown. This applies for all overloaded constructors.
26958
26959 2006-03-16  Roman Kennke  <kennke@aicas.com>
26960
26961         * java/text/DateFormatSymbols.java
26962         (setAmPmStrings): Added null check and throw NPE.
26963         (setEras): Likewise.
26964         (setLocalPatternChars): Likewise.
26965         (setMonths): Likewise.
26966         (setShortMonths): Likewise.
26967         (setShortWeekdays): Likewise.
26968         (setWeekdays): Likewise.
26969         (setZoneStrings): Likewise.
26970
26971 2006-03-16  Roman Kennke  <kennke@aicas.com>
26972
26973         * javax/swing/DefaultDesktopManager.java
26974         (iconifyFrame): Repaint after removing the frame.
26975         (removeIconFor): Repaint after removing the icon.
26976
26977 2006-03-16  Roman Kennke  <kennke@aicas.com>
26978
26979         * javax/swing/JInternalFrame.java
26980         (remove): Respect the rootPaneCheckingEnabled flag here.
26981
26982 2006-03-16  Roman Kennke  <kennke@aicas.com>
26983
26984         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26985         Moved from examples into gnu.javax.swing.. namespace.
26986         * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26987         Moved to gnu.javax.swing.. namespace.
26988         * examples/gnu/classpath/examples/swing/Demo.java:
26989         (themesMenu): New field. Used to disable theme switch in
26990         non-Metal-L&Fs.
26991         (mkMenuBar): Added L&F menu.
26992         (ChangeThemeAction.actionPerformed): Only switch theme when
26993         in Metal L&F.
26994         (ChangeLAFAction): New class used for changing themes.
26995         * javax/swing/UIManager.java
26996         (installed): Added GNU L&F as installed L&F.
26997
26998 2006-03-16  Mark Wielaard  <mark@klomp.org>
26999
27000         * examples/gnu/classpath/examples/swing/badge.png: Removed.
27001         * examples/gnu/classpath/examples/icons/badge.png: Added.
27002         * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
27003         from icon directory.
27004
27005 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
27006
27007         * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
27008         example.
27009         * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
27010         * examples/gnu/classpath/examples/awt/Demo.java: Add
27011         AnimationApplet demo.
27012         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
27013         demo.
27014
27015 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
27016
27017         PR classpath/26486
27018         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
27019         method.
27020         (handleEvent): Likewise.
27021         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
27022         Remove field.
27023         (beginNativeRepaint): Remove method.
27024         (endNativeRepaint): Likewise.
27025         (handleEvent): Call paintComponent and updateComponent.
27026         (paintComponent): New method.
27027         (updateComponent): Likewise.
27028         (repaint): Return early if width or height is less than one.
27029         (postExposeEvent): Remove isInRepaint reference.
27030         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
27031         Remove method.
27032         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
27033         from GtkWindowPeer.
27034         (postMouseEvent): Likewise.
27035         (postExposeEvent): Likewise.
27036         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
27037         Override to do nothing.
27038         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
27039         from GtkWindowPeer.
27040         (postMouseEvent): Likewise.
27041         (postExposeEvent): Likewise.
27042         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
27043         paint and update handling from GtkComponentPeer.
27044         (updateComponent): Override to call paintComponent.
27045         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
27046         gdk_flush calls with schedule_flush calls.
27047         (flush): New function.
27048         (schedule_flush): Likewise.
27049
27050 2006-03-15  Tom Tromey  <tromey@redhat.com>
27051
27052         * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
27053         constructor.
27054         (BCSIterator): Likewise.
27055         * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
27056         New constructor.
27057         (BCSSProxyServiceProvider): Likewise.
27058         (BCSSServiceProvider): Likewise.
27059
27060 2006-03-15  Tom Tromey  <tromey@redhat.com>
27061
27062         * javax/sound/midi/Track.java (Track): New constructor.
27063         (events): Now package-private.
27064         * javax/sound/midi/MidiUnavailableException.java
27065         (MidiUnavailableException): Removed invalid constructors.
27066         * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
27067         * javax/sound/midi/InvalidMidiDataException.java
27068         (InvalidMidiDataException): Removed invalid constructors.
27069         * javax/sound/midi/Sequencer.java (hashCode): Now final.
27070         * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
27071         * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
27072         (SYSTEM_EXCLUSIVE): Removed.
27073         (getDataLength): Updated.
27074         * javax/sound/midi/MidiDevice.java (Info): Now protected.
27075         (equals): Now final
27076         (getName): Now final.
27077         (getVendor): Now final.
27078         (getDescription): Likewise.
27079         (hashCode): Likewise.
27080         (getVersion): Likewise.
27081         (toString): Likewise.
27082         * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
27083         * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
27084         (getEarlyReflectionDelay): Likewise.
27085         (getEarlyReflectionIntensity): Likewise.
27086         (getLateReflectionDelay): Likewise.
27087         (getLateReflectionIntensity): Likewise.
27088         (toString): Likewise.
27089         * javax/sound/sampled/Port.java (toString): Now final.
27090         * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
27091         (getLine): Likewise.
27092         (getType): Likewise.
27093         * javax/sound/sampled/Mixer.java (Info): Now protected.
27094         (getDescription): Now final.
27095         (getName): Likewise.
27096         (getVendor): Likewise.
27097         (getVersion): Likewise.
27098         (toString): Likewise.
27099         * javax/sound/sampled/Control.java: Now abstract.
27100         (Type.toString): Now final.
27101
27102 2006-03-15  Keith Seitz  <keiths@redhat.com>
27103
27104         * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
27105         of this redundant variable.
27106         (LineTable): Assert that the number of line numbers and the number of
27107         code indicies is the same.
27108
27109 2006-03-15  Tom Tromey  <tromey@redhat.com>
27110
27111         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
27112         final.
27113         * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
27114         fix.
27115         * java/util/zip/ZipFile.java (ENDNRD): New constant.
27116         * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
27117         * java/util/zip/Inflater.java (end): Not deprecated.
27118         * java/util/zip/Deflater.java (end): Not deprecated.
27119         * java/text/Bidi.java (Bidi): Now final.
27120         * java/nio/MappedByteBuffer.java (finalize): Now protected.
27121
27122 2006-03-15  Keith Seitz  <keiths@redhat.com>
27123
27124         * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
27125         (Location): Index is a long, not an int.
27126         (getMethod): New method.
27127         (getIndex): New method.
27128         (toString): New method.
27129
27130 2006-03-15  Tom Tromey  <tromey@redhat.com>
27131
27132         * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
27133         * java/awt/image/LookupOp.java (filter): Now final.
27134         (getBounds2D): Likewise.
27135         (getPoint2D): Likewise.
27136         (getTable): Likewise.
27137         (getRenderingHints): Likewise.
27138         * java/awt/image/ConvolveOp.java (filter): Now final.
27139         (getBounds2D): Likewise.
27140         (getKernel): Likewise.
27141         (getPoint2D): Likewise.
27142         (getRenderingHints): Likewise.
27143         * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
27144         (getMatrix): Likewise.
27145         (getBounds2D): Likewise.
27146         (getRenderingHints): Likewise.
27147         * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
27148         * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
27149         private.
27150         * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
27151         protected.
27152         * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
27153         protected.
27154         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
27155
27156 2006-03-15  Keith Seitz  <keiths@redhat.com>
27157
27158         * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
27159         Update javadoc.
27160         (matches): Implement.
27161
27162 2006-03-15  Keith Seitz  <keiths@redhat.com>
27163
27164         * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
27165         
27166         * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
27167
27168 2006-03-15  Tom Tromey  <tromey@redhat.com>
27169
27170         * java/lang/StrictMath.java (signum): New methods.
27171
27172 2006-03-15  Tom Tromey  <tromey@redhat.com>
27173
27174         * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
27175
27176 2006-03-15  Lillian Angel  <langel@redhat.com>
27177
27178         PR classpath/24211
27179         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
27180         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
27181         Added check to avoid segmentation fault.
27182
27183 2006-03-15  Lillian Angel  <langel@redhat.com>
27184
27185         * java/awt/Container.java
27186         (getComponentAt): Fixed documentation.
27187         (getComponentAt): Likewise.
27188
27189 2006-03-15  Roman Kennke  <kennke@aicas.com>
27190
27191         * javax/swing/JComponent.java
27192         (dragBuffer): New field.
27193         (dragBufferInitialized): New field.
27194         (paint): Added facility for buffered dragging of components.
27195         (initializeDragBuffer): New method.
27196         (getConditionForKeyStroke): Removed deprecated flag. Adjusted
27197         API docs.
27198         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27199         (BorderListener.mouseDragged): Turn on buffered dragging.
27200         (BorderListener.mouseReleased): Turn off buffered dragging.
27201
27202 2006-03-15  Lillian Angel  <langel@redhat.com>
27203
27204         * java/awt/Container.java
27205         (getComponentAt): Fixed documentation.
27206         (getComponentAt): Likewise.
27207         (findComponentAt): Likewise.
27208         (findComponentAt): Likewise.
27209
27210 2006-03-15  Roman Kennke  <kennke@aicas.com>
27211
27212         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27213         (PropertyChangeHandler.propertyChange): Call enableActions().
27214         Fixed 'iconable' property name.
27215
27216 2006-03-15  Chris Burdess  <dog@gnu.org>
27217
27218         Fixes PR 26700
27219         * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
27220
27221 2006-03-15  Roman Kennke  <kennke@aicas.com>
27222
27223         * examples/gnu/classpath/examples/swing/Demo.java:
27224         (desktop): New field.
27225         (mkMenuBar): Added new subdemos.
27226         (mkButtonWorld): Removed.
27227         (CheckCellRenderer): Moved to ListDemo.
27228         (LabelCellRenderer): Moved to ListDemo.
27229         (mkTreeWorld): Moved to TreeDemo.
27230         (mkDesktopWorld): Removed.
27231         (mkTabWorld): Moved to TabbedPaneDemo.
27232         (mkTabbedPane): Removed.
27233         (Demo): Replaced 'worlds' tabbed pane with desktop.
27234         (PopupAction): Made class non-static.
27235         (PopupAction.actionPerformed): Bring up subdemos in internal
27236         frame.
27237         (mkButtonBar): Added new demos.
27238         (createDesktop): New method.
27239         * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
27240         * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
27241         * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
27242         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
27243         * examples/gnu/classpath/examples/swing/badge.png: New image file.
27244
27245 2006-03-15  Lillian Angel  <langel@redhat.com>
27246         
27247         * java/awt/Container.java
27248         (getComponentAt): Fixed mistake in comments.
27249         (getComponentAt): Likewise.
27250         (locate): Likewise. Also, handled lightweight components.
27251         Heavyweights take precedence over lightweights, so we should
27252         iterate through the heavyweights first.
27253
27254 2006-03-15  Lillian Angel  <langel@redhat.com>
27255
27256         * java/awt/Container.java
27257         (getComponentAt): Added API documentation.
27258         (getComponentAt): Likewise.
27259         (locate): Likewise. Also, removed lines to ignore
27260         invisible components.
27261         (findComponentAt): Added API documentation.
27262         (findComponentAt): Added API documentation.
27263         (findComponentForMouseEvent): Removed, never used.
27264
27265 2006-03-15  Roman Kennke  <kennke@aicas.com>
27266
27267         * javax/swing/Popup.java
27268         (LightweightPopup.show): Repaint the panel after showing it.
27269
27270 2006-03-15  Lillian Angel  <langel@redhat.com>
27271
27272         * java/awt/Component.java
27273         (show): repaint should only be called if the component
27274         isShowing and isLightweight.
27275
27276 2006-03-15  Roman Kennke  <kennke@aicas.com>
27277
27278         * javax/swing/JInternalFrame.java
27279         (setClosable): Made this property bound.
27280         (setResizable): Made this property bound.
27281         (setIconifiable): Made this property bound.
27282         (setMaximizable): Made this property bound.
27283
27284 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
27285
27286         * javax/swing/table/TableColumn.java
27287         (sizeWidthToFit): Implemented.
27288
27289 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
27290
27291         * javax/swing/table/TableColumn.java: API docs updated all over, plus
27292         (setIdentifier): Fire required PropertyChangeEvent,
27293         (setCellEditor): Likewise.
27294
27295 2006-03-15  Roman Kennke  <kennke@aicas.com>
27296
27297         * examples/gnu/classpath/examples/swing/ButtonDemo.java,
27298         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
27299         * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
27300         * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
27301         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
27302         * examples/gnu/classpath/examples/swing/SliderDemo.java,
27303         * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
27304         * examples/gnu/classpath/examples/swing/TableDemo.java,
27305         * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
27306         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
27307         Reworked to implemented DemoFactory and lazy loading of Sub-demos.
27308         * examples/gnu/classpath/examples/swing/Demo.java:
27309         Cleaned up. Reworked handling of Sub-demos to load lazily.
27310         * examples/gnu/classpath/examples/swing/DemoFactory.java:
27311         New interface. Used for loading the subdemos lazily.
27312
27313 2006-03-15  Roman Kennke  <kennke@aicas.com>
27314
27315         * javax/swing/plaf/basic/BasicToolBarUI.java
27316         (PropertyListener.propertyChange): Added null check to avoid NPE.
27317
27318 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27319
27320         * javax/swing/table/TableColumn.java
27321         (COLUMN_WIDTH_PROPERTY): Updated API docs,
27322         (width): Likewise.
27323         (minWidth): Likewise,
27324         (preferredWidth): Likewise,
27325         (maxWidth): Likewise,
27326         (headerRenderer): Likewise,
27327         (cellRenderer): Likewise,
27328         (cellEditor): Likewise,
27329         (changeSupport): Likewise,
27330         (firePropertyChange(String, Object, Object)): Removed,
27331         (firePropertyChange(String, int. int)): Likewise,
27332         (firePropertyChange(String, boolean, boolean)): Likewise,
27333         (setModelIndex): Fire property change,
27334         (setHeaderValue): Call changeSupport directly to generate event,
27335         (setHeaderRenderer): Likewise,
27336         (setCellRenderer): Likewise,
27337         (setWidth): Likewise,
27338         (setPreferredWidth): Likewise,
27339         (setMinWidth): Likewise,
27340         (setMaxWidth): Likewise,
27341         (createDefaultHeaderRenderer): Added API docs.
27342
27343 2006-03-14  Roman Kennke  <kennke@aicas.com>
27344
27345         * examples/gnu/classpath/examples/swing/Demo.java
27346         Removed static initializer.
27347         (mkMenuBar): Made method non-static. Added themes menu.
27348         (ChangeThemeAction): New inner class, used to change themes.
27349
27350 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27351
27352         * javax/swing/table/TableColumn.java
27353         (setMaxWidth): Updated width and preferredWidth if necessary,
27354         (getMaxWidth): Updated API docs.
27355
27356 2006-03-14  Roman Kennke  <kennke@aicas.com>
27357
27358         * javax/swing/plaf/basic/BasicSliderUI.java
27359         (TrackListener.mouseDragged): Only process event when slider is
27360         enabled.
27361         (TrackListener.mouseReleased): Only process event when slider is
27362         enabled.
27363         (TrackListener.mousePressed): Only process event when slider is
27364         enabled.
27365
27366 2006-03-14  Roman Kennke  <kennke@aicas.com>
27367
27368         * NEWS: Added note about OceanTheme support.
27369
27370 2006-03-14  Roman Kennke  <kennke@aicas.com>
27371
27372         * javax/swing/plaf/metal/MetalIconFactory.java
27373         (HorizontalSliderThumbIcon.gradientMask): New field
27374         (HorizontalSliderThumbIcon.paintIcon): Added support for the
27375         OceanTheme.
27376         (VerticalSliderThumbIcon.gradientMask): New field
27377         (VerticalSliderThumbIcon.paintIcon): Added support for the
27378         OceanTheme.
27379         * javax/swing/plaf/metal/MetalUtils.java
27380         (paintHorizontalGradient): Fixed painting of 'masked' gradients.
27381         (paintVerticalGradient): Fixed painting of 'masked' gradients.
27382
27383 2006-03-14  Mark Wielaard  <mark@klomp.org>
27384
27385         Fixes bug #26641
27386         * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
27387         of handleMouseEvent.
27388         (handleMouseEvent): Return boolean to indicate whether we handled the
27389         event by passing it to a lightweight.
27390
27391 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
27392
27393         * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
27394         * org/omg/PortableServer/ServantActivatorPOA.java,
27395         * org/omg/PortableServer/ServantLocatorPOA.java: 
27396         Make class abstract and minor api docs fixlets.
27397         * org/omg/PortableServer/ForwardRequest.java, 
27398         * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java, 
27399         * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java, 
27400         * org/omg/PortableServer/POAPackage/AdapterNonExistent.java, 
27401         * org/omg/PortableServer/POAPackage/InvalidPolicy.java, 
27402         * org/omg/PortableServer/POAPackage/NoServant.java, 
27403         * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java, 
27404         * org/omg/PortableServer/POAPackage/ObjectNotActive.java, 
27405         * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java, 
27406         * org/omg/PortableServer/POAPackage/ServantNotActive.java, 
27407         * org/omg/PortableServer/POAPackage/WrongAdapter.java, 
27408         * org/omg/PortableServer/POAPackage/WrongPolicy.java, 
27409         * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java, 
27410         * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27411         * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27412         * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27413
27414 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
27415
27416         * NEWS: Added entry about printing support.
27417
27418 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27419
27420         * javax/swing/table/TableColumn.java
27421         (COLUMN_WIDTH_PROPERTY): Updated API docs,
27422         (isResizable): Likewise,
27423         (setWidth): Likewise,
27424         (getWidth): Likewise,
27425         (setPreferredWidth): Likewise,
27426         (getPreferredWidth): Likewise,
27427         (setMinWidth): Check for negative argument and update width and 
27428         preferredWidth if necessary,
27429         (getMinWidth): Updated API docs.
27430
27431 2006-03-14  Lillian Angel  <langel@redhat.com>
27432         
27433         * java/awt/Container.java
27434         (addImpl): Removed call to repaint. No need to repaint here.
27435
27436 2006-03-14  Roman Kennke  <kennke@aicas.com>
27437
27438         * javax/swing/plaf/metal/MetalSliderUI.java
27439         (paintTrack): Added OceanTheme support.
27440
27441 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27442
27443         * javax/swing/table/TableColumn.java
27444         (setResizable): Fire PropertyChangeEvent if the flag value changes,
27445         (isResizable): Updated API docs.
27446
27447 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27448
27449         * javax/swing/LookAndFeel.java: Updated API docs.
27450
27451 2006-03-14  Roman Kennke  <kennke@aicas.com>
27452
27453         * javax/swing/plaf/metal/MetalUtils.java
27454         (paintGradient): Added support for 'masked' gradients.
27455         (paintHorizontalGradient): Likewise.
27456         (paintVerticalGradient): Likewise.
27457         * javax/swing/plaf/metal/MetalIconFactory.java
27458         (RadioButtonIcon.gradientMask): New field.
27459         (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27460
27461 2006-03-14  Mark Wielaard  <mark@klomp.org>
27462
27463         Fixes bug #26645.
27464         * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27465         New field.
27466         (removeActionListener): Add listener to ComboBoxEditorListener.
27467         (removeActionListener): Remove listener from ComboBoxEditorListener.
27468         (ComboBoxEditorListener): New static helper class.
27469
27470 2006-03-14  Roman Kennke  <kennke@aicas.com>
27471
27472         * javax/swing/plaf/metal/MetalBorders.java
27473         (getToolBarButtonBorder): Don't create a UIResource border
27474         here.
27475         * javax/swing/plaf/metal/MetalToolBarUI.java
27476         (installUI): New overridden method. Installs the rollover property.
27477         (uninstallUI): New overridden method. Resets the rollover property.
27478         * javax/swing/plaf/metal/MetalUtils.java
27479         (paintGradient): Fetch Float values from the UIManager. Adjusted
27480         method signatures accordingly.
27481         (paintHorizontalGradient): Adjusted signature to accept float
27482         instead of double.
27483         (paintVerticalGradient): Adjusted signature to accept float
27484         instead of double.
27485         * javax/swing/plaf/metal/OceanTheme.java
27486         (addCustomEntriesToTable): Added missing UIDefaults entries,
27487         except of Icons. Fixed gradient entries to use Float instead
27488         of Double.
27489
27490 2006-03-14  Roman Kennke  <kennke@aicas.com>
27491
27492         * javax/swing/JInternalFrame.java
27493         (JInternalFrame): Make JInternalFrame opaque.
27494         * javax/swing/JToolBarFrame.java
27495         (JToolBar): Make JToolBar opaque.
27496
27497 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27498
27499         * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27500         * javax/swing/tree/TreePath.java: Likewise.
27501
27502 2006-03-13  Tom Tromey  <tromey@redhat.com>
27503
27504         * javax/swing/text/html/StyleSheet.java (removeAttributes):
27505         Genericized.
27506         * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27507         * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27508
27509 2006-03-13  Keith Seitz  <keiths@redhat.com>
27510
27511         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27512         (executeMethods): Output number of methods.
27513
27514 2006-03-13  Roman Kennke  <kennke@aicas.com>
27515
27516         * javax/swing/plaf/basic/BasicButtonUI.java
27517         (uninstallDefaults): Only uninstall border if it's a UIResource.
27518         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27519         (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27520         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27521         (installUI): Don't touch the opaque flag of the glassPane and
27522         the frame. Don't invalidate.
27523         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27524         (installUI): Don't touch the opaque flag of the glassPane.
27525         * javax/swing/plaf/basic/BasicMenuBarUI.java
27526         (properyChangeListener): Made field private.
27527         (ChangeHandler): Made class private.
27528         (ContainerHandler): Made class private.
27529         (PropertyChangeHandler): Made class private.
27530         * javax/swing/plaf/basic/BasicMenuUI.java
27531         (MenuHandler): Made class private.
27532         (PropertyChangeHandler): Removed unneeded class.
27533         (MenuDragMouseHandler): Made class private.
27534         (MenuKeyHandler): Made class private.
27535         * javax/swing/plaf/basic/BasicPanelUI.java
27536         (installDefaults): Made method protected. Don't set opaque
27537         flag.
27538         * javax/swing/plaf/basic/BasicScrollBarUI.java
27539         (TrackListener.shouldScroll): Made method private.
27540         * javax/swing/plaf/basic/BasicSplitPaneUI.java
27541         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27542         Made constructor package private.
27543         * javax/swing/plaf/basic/BasicTableHeaderUI.java
27544         (cellBorder): Made field private.
27545         * javax/swing/plaf/basic/BasicTextUI.java
27546         (installDefaults): Don't make component opaque.
27547         * javax/swing/plaf/basic/BasicToolBarUI.java
27548         (createNonRollOverBorder): Don't create UIResource border.
27549         (createRollOverBorder): Don't create UIResource border.
27550         (installComponents): Moved setRolloverBorders call here.
27551         (installDefaults): Moved setRolloverBorders call from here.
27552         (installUI): Don't make toolbar opaque.
27553         (setBorderToNonRollover): Handle AbstractButton instead of
27554         JButton here.
27555         (uninstallComponents): Don't nullify class fields here.
27556
27557 2006-03-13  David Gilbert  <david.gilbert@object-refinery.com>
27558
27559         * javax/swing/SwingUtilities.java
27560         (calculateInnerArea): handle null component, and replace 
27561         getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27562         creation.
27563
27564 2006-03-13  Roman Kennke  <kennke@aicas.com>
27565
27566         * javax/swing/JColorChooser.java
27567         (updateUI): Don't call revalidate().
27568         * javax/swing/JComboBox.java
27569         (updateUI): Don't call invalidate().
27570         * javax/swing/JDesktopPane.java
27571         (updateUI): Don't call invalidate().
27572         * javax/swing/JFileChooser.java
27573         (updateUI): Don't call revalidate().
27574         * javax/swing/JMenu.java
27575         (updateUI): Don't call invalidate().
27576         * javax/swing/JMenuBar.java
27577         (updateUI): Don't call invalidate().
27578         * javax/swing/JMenuItem.java
27579         (updateUI): Don't call invalidate().
27580         * javax/swing/JOptionPane.java
27581         (updateUI): Don't call invalidate().
27582         * javax/swing/JPopupMenu.java
27583         (updateUI): Don't call invalidate().
27584         * javax/swing/JProgressBar.java
27585         (updateUI): Don't call invalidate().
27586         * javax/swing/JScrollBar.java
27587         (updateUI): Don't call invalidate() and repaint().
27588         * javax/swing/JScrollPane.java
27589         (updateUI): Rewritten to be like the other updateUI()
27590         methods.
27591         * javax/swing/JSlider.java
27592         (updateUI): Don't call invalidate() and repaint().
27593         * javax/swing/JSplitPane.java
27594         (updateUI): Don't call invalidate() and repaint().
27595         * javax/swing/JTabbedPane.java
27596         (updateUI): Don't call invalidate().
27597         * javax/swing/JTable.java
27598         (updateUI): Don't call revalidate() and repaint().
27599         * javax/swing/JToolBar.java
27600         (updateUI): Don't call revalidate() and repaint().
27601         * javax/swing/JToolTip.java
27602         (updateUI): Don't call revalidate() and repaint().
27603
27604 2006-03-13  Roman Kennke  <kennke@aicas.com>
27605
27606         * javax/swing/SwingUtilities.java
27607         (updateComponentTreeUI): Rewritten to be more robust. Handling of
27608         menus and non-Swing components is improved.
27609         (updateComponentTreeUIImpl): New helper method.
27610         (replaceUIActionMap): Added check for uiActionMap==parent to
27611         avoid loop.
27612         (replaceUIInputMap): Added check for uiInputMap==parent to
27613         avoid loop.
27614
27615 2006-03-13  Wolfgang Baer  <WBaer@gmx.de>
27616
27617         * gnu/classpath/debug/Component.java: 
27618         (IPP) New component for IPP debugging. 
27619         (EVERYTHING): Adapted to include IPP.
27620         * javax/print/PrintServiceLookup.java: 
27621         (registerServiceProvider): New method.
27622         (registerService): Likewise.
27623         (lookupPrintServices): Likewise.
27624         (lookupMultiDocPrintServices): Likewise.
27625         (lookupDefaultPrintService): Likewise.
27626         (static_initializer): Likewise.
27627         (printServiceLookups): New field for found service providers.
27628         (printServices): New field for application registered providers.
27629         (systemProvider): New field for the system provider.    
27630         * javax/print/ServiceUI.java: New file. 
27631         * javax/print/package.html: Added more usage content.
27632         * javax/print/event/package.html: Likewise.
27633         * javax/print/attribute/package.html: Likewise.
27634         * javax/print/attribute/standard/package.html: Likewise.
27635         * gnu/javax/print/PrintUriException.java,
27636         gnu/javax/print/PrintFlavorException.java,
27637         gnu/javax/print/PrinterDialog.java,
27638         gnu/javax/print/PrintAttributeException.java,
27639         gnu/javax/print/CupsPrintServiceLookup.java,
27640         gnu/javax/print/CupsServer.java,
27641         gnu/javax/print/CupsPrintService.java,
27642         gnu/javax/print/CupsMediaMapping.java,
27643         gnu/javax/print/CupsIppOperation.java:
27644         New implementation files of the Java Print Service API.
27645         * gnu/javax/print/ipp/IppValueTag.java,
27646         gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27647         gnu/javax/print/ipp/IppStatusCode.java,
27648         gnu/javax/print/ipp/IppUtilities.java,
27649         gnu/javax/print/ipp/IppResponse.java,
27650         gnu/javax/print/ipp/IppException.java,
27651         gnu/javax/print/ipp/IppPrintService.java,
27652         gnu/javax/print/ipp/IppRequest.java,
27653         gnu/javax/print/ipp/IppMultiDocPrintService.java,
27654         gnu/javax/print/ipp/IppDelimiterTag.java,
27655         gnu/javax/print/ipp/DocPrintJobImpl.java:
27656         New files of the IPP client implementation.
27657         * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27658         gnu/javax/print/ipp/attribute/StatusMessage.java,
27659         gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27660         gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27661         gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27662         gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27663         gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27664         gnu/javax/print/ipp/attribute/CharsetSyntax.java: 
27665         New attribute syntax/role files of the printing implementation.
27666         * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27667         gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27668         gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27669         gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27670         gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27671         gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27672         gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27673         gnu/javax/print/ipp/attribute/supported/
27674         OrientationRequestedSupported.java, 
27675         gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27676         gnu/javax/print/ipp/attribute/supported/
27677         MultipleDocumentHandlingSupported.java, 
27678         gnu/javax/print/ipp/attribute/supported/
27679         MultipleDocumentJobsSupported.java, 
27680         gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27681         gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27682         gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27683         gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27684         gnu/javax/print/ipp/attribute/supported/
27685         GeneratedNaturalLanguageSupported.java,
27686         gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27687         gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27688         gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27689         gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27690         New supported attribute files.
27691         * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27692         gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27693         gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27694         gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27695         gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27696         gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27697         gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27698         gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27699         New printer description attribute files.
27700         * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27701         gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27702         gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27703         gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27704         gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27705         gnu/javax/print/ipp/attribute/job/JobId.java,
27706         gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27707         gnu/javax/print/ipp/attribute/job/JobUri.java,
27708         gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27709         New job description attribute files.
27710         * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27711         gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27712         gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27713         gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27714         gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27715         gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27716         gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27717         gnu/javax/print/ipp/attribute/defaults/
27718         MultipleDocumentHandlingDefault.java,
27719         gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27720         gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27721         gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27722         gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27723         gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27724         New default printing attribute files.
27725         * resource/gnu/javax/print/PrinterDialog.properties: New file.
27726         * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27727         * examples/gnu/classpath/examples/print/Demo.java: 
27728         New demo application of the current implemented functionality.
27729
27730 2006-03-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27731
27732         * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27733         java/rmi/activation/ActivationDesc.java.java,
27734         java/rmi/activation/ActivationGroup.java,
27735         java/rmi/activation/ActivationID.java,
27736         java/rmi/activation/ActivationMonitor.java,
27737         java/rmi/activation/ActivationSystem.java,
27738         java/rmi/activation/package.html: Documenting.
27739
27740 2006-03-13  Roman Kennke  <kennke@aicas.com>
27741
27742         * javax/swing/JInternalFrame.java
27743         (setSelected): Repaint frame when it is showing and the selection
27744         state changes.
27745
27746 2006-03-13  Roman Kennke  <kennke@aicas.com>
27747
27748         * javax/swing/AbstractButton.java
27749         (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27750         instead of null.
27751
27752 2006-03-13  Roman Kennke  <kennke@aicas.com>
27753
27754         * javax/accessibility/AccessibleContext.java
27755         (getAccessibleRelationSet): Return empty set instead of null.
27756
27757 2006-03-13  Roman Kennke  <kennke@aicas.com>
27758
27759         * javax/swing/ImageIcon.java
27760         (loadImage): Remove completed images from the MediaTracker. This
27761         avoids a potential memory leak.
27762
27763 2006-03-12  Wolfgang Baer  <WBaer@gmx.de>
27764
27765         * javax/print/MultiDocPrintService.java, 
27766         * javax/print/MultiDocPrintJob.java, 
27767         * javax/print/MultiDoc.java: Added and enhanced documentation.
27768
27769 2006-03-12  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27770
27771         * java/rmi/activation/ActivationID.java (uid): New field.
27772         (writeExternal, readExternal): New methods. 
27773         (equals, hashCode): Rewritten.
27774         * java/rmi/activation/ActivationInstantiator.java,
27775         * java/rmi/activation/ActivationSystem.java,
27776         * java/rmi/activation/Activator.java,
27777         * java/rmi/activation/Activatable.java,
27778         * java/rmi/activation/ActivationGroup.java,
27779         * java/rmi/activation/ActivationGroupDesc.java: 
27780         Documented and autoformatted.
27781         * java/rmi/activation/package.html: Added content.
27782         
27783 2006-03-12  Chris Burdess  <dog@gnu.org>
27784
27785         Fixes PR 26652
27786         * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27787           encoding are specified.
27788
27789 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27790
27791         * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27792         (changeEvent): Initialise in fireStateChange(),
27793         (setSelectedIndex): Check if change is made before firing event,
27794         (clearSelection): Delegate to setSelectedIndex(),
27795         (fireStateChanged): Initialise changeEvent if necessary,
27796         * javax/swing/SingleSelectionModel.java: API docs all over.
27797
27798 2006-03-11  Tom Tromey  <tromey@redhat.com>
27799
27800         * java/util/zip/InflaterInputStream.java: Reverted previous
27801         patch.
27802
27803 2006-03-11  Mark Wielaard  <mark@klomp.org>
27804
27805         * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27806         Compare name.
27807
27808 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27809
27810         * javax/swing/event/TreeSelectionEvent.java
27811         (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27812         not one of the added/removed paths,
27813         (cloneWithSource): Reformatted.
27814
27815 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27816
27817         * javax/swing/tree/TreeCellEditor.java: Added API docs,
27818         * javax/swing/tree/TreeCellRenderer.java: Likewise.
27819
27820 2006-03-10  Casey Marshall  <csm@gnu.org>
27821
27822         Fixes PR 23768.
27823         * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27824         reset `state.'
27825         (doFinal, update): new methods.
27826         (init, init, init, init): initialize `state' after trying the
27827         implementation, which can throw an exception.
27828         * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27829         methods.
27830
27831 2006-03-11  Ito Kazumitsu  <kaz@maczuka.gcd.org>
27832
27833         * gnu/regexp/BacktrackStack.java: New file.
27834         * gnu/regexp/RE.java(findMatch): New method.
27835         * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27836         REMatchList): Removed. (backtrackStack): New field.
27837         * gnu/regexp/REToken.java(match): Changed from an abstract
27838         method to an ordinary method defined with the new method
27839         matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27840         findFixedLengthMatches, backtrack, toString): New methods.
27841         * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27842         * gnu/regexp/RETokenBackRef.java: Likewise.
27843         * gnu/regexp/RETokenChar.java: Likewise.
27844         * gnu/regexp/RETokenEnd.java: Likewise.
27845         * gnu/regexp/RETokenEndSub.java: Likewise.
27846         * gnu/regexp/RETokenIndependent.java: Likewise.
27847         * gnu/regexp/RETokenLookAhead.java: Likewise.
27848         * gnu/regexp/RETokenLookBehind.java: Likewise.
27849         * gnu/regexp/RETokenNamedProperty.java: Likewise.
27850         * gnu/regexp/RETokenPOSIX.java: Likewise.
27851         * gnu/regexp/RETokenRange.java: Likewise.
27852         * gnu/regexp/RETokenStart.java: Likewise.
27853         * gnu/regexp/RETokenWordBoundary.java: Likewise
27854         * gnu/regexp/RETokenOneOf.java: Rewriten.
27855         * gnu/regexp/RETokenRepeated.java: Rewriten.
27856
27857 2006-03-10  Roman Kennke  <kennke@aicas.com>
27858
27859         * javax/swing/plaf/metal/MetalBorders.java
27860         (RolloverButtonBorder.paintBorder): Only call super here.
27861         * javax/swing/plaf/metal/MetalButtonListener.java
27862         (propertyChange): Only call super here.
27863         * javax/swing/plaf/metal/MetalButtonUI.java
27864         (update): Changed condition from isOpaque() to isContentAreaFilled()
27865         for the gradient fill.
27866         * javax/swing/plaf/metal/MetalToggleButtonUI.java
27867         (paintText): API doc fix. Makes paintText not deprecated as specified
27868         but adds comment that this is obsolete.
27869         * javax/swing/plaf/metal/MetalUtils.java
27870         (fillMetalPattern): Fixed condition so that the Java2D is not
27871         used when the noGraphics2D property is set.
27872
27873 2006-03-10  Roman Kennke  <kennke@aicas.com>
27874
27875         * javax/swing/plaf/metal/MetalLookAndFeel.java
27876         (createDefaultTheme): Set OceanTheme as default metal theme.
27877
27878 2006-03-10  Roman Kennke  <kennke@aicas.com>
27879
27880         * javax/swing/text/WrappedPlainView.java
27881         (metrics): Made field package private to avoid accessor method.
27882         (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27883         The drawLine (righly) interprets the y parameter as the baseline.
27884         * javax/swing/text/Utilities.java
27885         (getBreakLocation): Don't consider the offset. The returned value
27886         for getTabbedTextOffset is already relative to the offset.
27887
27888 2006-03-10  Wolfgang Baer  <WBaer@gmx.de>
27889
27890         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27891         (dateFormat): Made private.
27892         (put): Replace only the last occurance and the value.
27893         (putAll): Save one iteration. Clarified documentation.
27894
27895 2006-03-10  Tom Tromey  <tromey@redhat.com>
27896
27897         * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27898         implementation.
27899         * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27900         not '8'.
27901
27902 2006-03-10  Lillian Angel  <langel@redhat.com>
27903
27904         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27905         (comboboxgroup_get_widget): New function.
27906         (removed): Fixed to use new function to get the correct widget.
27907         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27908         (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27909         function.
27910
27911 2006-03-10  Lillian Angel  <langel@redhat.com>
27912
27913         * java/awt/GridBagLayout.java
27914         (ArrangeGrid): Added checks to determine if component
27915         is placed last in a row or column. If so, the location
27916         of the last component should be used to get the location
27917         of the current component.
27918
27919 2006-03-10  Lillian Angel  <langel@redhat.com>
27920
27921         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27922         (nativeSetCheckboxGroup): No need to use new function here.
27923         Should just pass in pointer.
27924
27925 2006-03-10  Lillian Angel  <langel@redhat.com>
27926
27927         * java/awt/GridBagLayout.java
27928         (distributeSizeAndWeight): Change else if to else. This
27929         allows for components to be added to a new row when 
27930         their gridheight is REMAINDER.
27931
27932 2006-03-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27933
27934         * java/rmi/activation/ActivationDesc.java,
27935         java/rmi/activation/ActivationGroupID.java,
27936         java/rmi/activation/Activator.java,
27937         java/rmi/server/Operation.java,
27938         java/rmi/server/RemoteServer.java: Documented and formatted.
27939
27940 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27941
27942         * javax/swing/JToggleButton.java: Fixed API doc tags,
27943         * javax/swing/OverlayLayout.java: Likewise.
27944
27945 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27946
27947         * javax/swing/DefaultCellEditor.java
27948         (cancelCellEditing): Removed spurious API doc tag.
27949
27950 2006-03-10  Lillian Angel  <langel@redhat.com>
27951
27952         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27953         (create): Put checkbox widget into an event box so it paints properly.
27954         (connectSignals): Fixed to use new function.
27955         (nativeSetCheckboxGroup): Likewise.
27956         (gtkToggleButtonSetActive): Likewise.
27957         (gtkWidgetModifyFont): Likewise.
27958         (gtkButtonSetLabel): Likewise.
27959         (combobox_get_widget): New function.
27960
27961 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27962
27963         * javax/swing/text/rtf/package.html: New file.
27964         
27965 2006-03-10  Roman Kennke  <kennke@aicas.com>
27966
27967         * javax/swing/plaf/metal/OceanTheme.java
27968         (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27969         * javax/swing/plaf/metal/MetalScrollBarUI.java
27970         (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27971         (paintThumbHorizontal): Added handling of OceanTheme.
27972         (paintThumbVertical): Added handling of OceanTheme.
27973
27974 2006-03-10  Roman Kennke  <kennke@aicas.com>
27975
27976         Reported by Fridjof Siebert <siebert@aicas.com>
27977         * java/awt/MediaTracker.java
27978         (removeImage): Only set prev to e when the the images of the
27979         entries are not the same. This avoids a potentially corrupt list.
27980
27981 2006-03-10  Chris Burdess  <dog@gnu.org>
27982
27983         PR 26620:
27984         * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27985           checking while reindenting.
27986
27987 2006-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
27988
27989         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27990
27991 2006-03-09  Tom Tromey  <tromey@redhat.com>
27992
27993         PR classpath/26585:
27994         * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27995         subdir.  Added README.
27996         (install-data-local): Removed.
27997         (uninstall-local): Likewise.
27998         (EXTRA_DIST): Removed.
27999
28000 2006-03-09  Tom Tromey  <tromey@redhat.com>
28001
28002         PR classpath/26623:
28003         * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
28004         Renamed.
28005         * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
28006         Renamed.
28007         * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
28008         Renamed.
28009         * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
28010         Renamed.
28011         * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
28012         Renamed.
28013         * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
28014         Renamed.
28015         * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
28016         Renamed.
28017         * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
28018         Renamed.
28019         * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
28020         Renamed.
28021         * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
28022         Renamed.
28023         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
28024         * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
28025
28026 2006-03-09  Keith Seitz  <keiths@redhat.com>
28027
28028         * gnu/classpath/jdwp/processor/MethodCommandSet.java
28029         (executeVariableTable): Use VMMethod instead of reflection.
28030         (executeLineTable): Likewise.
28031         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
28032         (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
28033         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28034         (getLineTable): Removed. Now resides in VMMethod.
28035         (getVarTable): Likewise.
28036         (getAllClassMethods): New method.
28037         
28038 2006-03-09  Keith Seitz  <keiths@redhat.com>
28039
28040         * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
28041         * gnu/classpath/jdwp/event/ThreadStartEvent.java
28042         (ThreadStartEvent): Likewise.
28043         * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
28044         * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
28045         (ConditionalFilter): Likewise.
28046         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
28047         (ExceptionOnlyFilter): Likewise.
28048         * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
28049         (FieldOnlyFilter): Likewise.
28050         * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
28051         (getSize): Likewise.
28052         (StepFilter): Likewise.
28053         * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
28054         * gnu/classpath/jdwp/transport/JdwpPacket.java
28055         (JdwpPacket): Likewise.
28056         (fromBytes): Likewise.
28057         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
28058         (JdwpReplyPacket): Likewise.
28059         * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
28060         * vm/reference/gnu/classpath/jdwp/VMIdManager.java
28061         (getReferenceType): Likewise.
28062         (newObjectId): Likewise.
28063         * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
28064         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28065         (getFrames): Fix typo in parameter name and update javadoc.
28066         (getClassMethod): Update javadoc.
28067
28068 2006-03-09  David Gilbert  <david.gilbert@object-refinery.com>
28069
28070         * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
28071         * javax/swing/event/TreeSelectionListener.java: Likewise.
28072
28073 2006-03-09  Lillian Angel  <langel@redhat.com>
28074
28075         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28076         (getHScrollbarHeight): Fixed property name.
28077         (getVScrollbarHeight): Likewise.
28078
28079 2006-03-09  Lillian Angel  <langel@redhat.com>
28080
28081         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
28082         (get_widget): New function.
28083         (gtkWidgetSetParent): Changed to use new function.
28084         (gtkWidgetSetCursorUnlocked): Likewise.
28085         (gtkWidgetSetSensitive): Likewise.
28086         (gtkWidgetRequestFocus): Likewise.
28087         (gtkWindowGetLocationOnScreen): Likewise.
28088         (gtkWidgetGetDimensions): Likewise.
28089         (gtkWidgetGetPreferredDimensions): Likewise.
28090         (setNativeBounds): Likewise.
28091         (gtkWidgetGetBackground): Likewise.
28092         (gtkWidgetGetForeground): Likewise.
28093         (gtkWidgetSetBackground): Likewise.
28094         (gtkWidgetSetForeground): Likewise.
28095         (setVisibleNativeUnlocked): Likewise.
28096         (isEnabled): Likewise.
28097         (isRealized): Likewise.
28098         (setNativeEventMask): Likewise.
28099
28100 2006-03-09  Lillian Angel  <langel@redhat.com>
28101
28102         PR Classpath\22163
28103         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
28104         (create): Added combobox widget to an event box.
28105         (connectSignals): Added call to choice_get_widget to get the
28106         combobox out of the event box.
28107         (append): Likewise.
28108         (nativeRemoveAll): Likewise.
28109         (nativeRemove): Likwise.
28110         (nativeAdd): Likewise.
28111         (selectNative): Likewise.
28112         (choice_get_widget): New function.
28113         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
28114         (create): Added list scroll window widget to an event box.
28115         (connectSignals): Changed call to use new function to get the
28116         correct widget out of the event box.
28117         (getWidgetModifyFont): Likewise.
28118         (getWidgetRequestFocus): Likewise.
28119         (append): Likewise.
28120         (add): Likewise.
28121         (delItems): Likewise.
28122         (select): Likewise.
28123         (deselect): Likewise.
28124         (getSize): Likewise.
28125         (getSelectedIndexes): Likewise.
28126         (makeVisible): Likewise.
28127         (setMultipleMode): Likewise.
28128         (list_get_widget): New function.
28129         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28130         (create): Added scrollpane to an eventbox.
28131         (setScrollPosition): Changed call to use new function to get the
28132         correct widget out of the event box.
28133         (gtkScrolledWindowSetHScrollIncrement): Likewise.
28134         (gtkScrolledWindowSetVScrollIncrement): Likewise.
28135         (getHScrollbarHeight): Likewise.
28136         (getVScrollbarWidth): Likewise.
28137         (setPolicy): Likewise.
28138         (scrollpane_get_widget): New function.
28139         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
28140         (connectSignals): Changed call to use new function to get the
28141         correct widget out of the event box.
28142         (create): Added scrollbar to an eventbox.
28143         (setLineIncrement): Changed call to use new function to get the
28144         correct widget out of the event box.
28145         (setPageIncrement): Likewise.
28146         (setBarValues): Likewise.
28147         (scrollbar_get_widget): New function.
28148         * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
28149         (create): Added text area scroll window widget to an event box.
28150         (connectSignals): Changed call to use new function to get the
28151         correct widget out of the event box.
28152         (insert): Likewise.
28153         (replaceRange): Likewise.
28154         (gtkWidgetModifyFont): Likewise.
28155         (gtkWidgetRequestFocus): Likewise.
28156         (getHScrollbarHeight): Likewise.
28157         (getVScrollbarWidth): Likewise.
28158         (getCaretPosition): Likewise.
28159         (setCaretPosition):Likewise.
28160         (getSelectionStart): Likewise.
28161         (getSelectionEnd): Likewise.
28162         (select): Likewise.
28163         (setEditable): Likewise.
28164         (getText): Likewise.
28165         (setText): Likewise.
28166         (textarea_get_widget): New function.
28167
28168 2006-03-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28169
28170         * java/rmi/dgc/VMID.java: 
28171         (equals, hashCode, static initializer): Rewritten.
28172         * java/rmi/dgc/package.html: Documented.
28173         
28174 2006-03-09  Mark Wielaard  <mark@klomp.org>
28175
28176         * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
28177         New static field.
28178         (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
28179         (canCache): Likewise.
28180         (GtkClipboard): Take String argument.
28181         (getInstance): Removed.
28182         (getClipboardInstance, getSelectionInstance): New static methods.
28183         (setSystemContents): Make synchronized. Takes boolean argument.
28184         (initNativeState): Add clipboard and selection.
28185         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
28186         (announceClipboardChange, announcePrimaryChange): New static field.
28187         (announce): Take GtkClipboard as argument.
28188         (run): Check which clipboard to announce change for.
28189         * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
28190         boolean field.
28191         (GtkSelection): Take GtkClipboard as argument.
28192         (requestText, requestImage, requestURIs, requestBytes): Add boolean
28193         clipboard argument.
28194         (requestMimeTypes): Likewise.
28195         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
28196         New method.
28197         * java/awt/Toolkit.java (getSystemSelection): Document.
28198         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
28199         (cp_gtk_selection_instance): New var.
28200         (current_selection, owner): Removed.
28201         (clipboard_owner_change_cb): Use clipboard argument.
28202         (initNativeState): Store clipboard and selection instances. Cache
28203         setSystemContentsID, provideContentID, provideTextID, provideImageID,
28204         and provideURIsID.
28205         (clipboard_get_func): Use clipboard argument.
28206         (clipboard_clear_func): Likewise. Always call method.
28207         (advertiseContent): Don't cache method ids here. Check whether to
28208         use clpboard or selection. Don't set owner or current_selection.
28209         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
28210         (requestText, requestImage, requestURIs, requestBytes): Use extra
28211         boolean argument to select clipboard.
28212         * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
28213         (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
28214         * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
28215         * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
28216
28217 2006-03-09  Keith Seitz  <keiths@redhat.com>
28218
28219         * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
28220         * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
28221         * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
28222         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
28223         * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
28224         * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
28225         * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
28226         * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
28227         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
28228
28229 2006-03-09  Mark Wielaard  <mark@klomp.org>
28230
28231         * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
28232         bounds for index is valid.
28233         * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
28234         (paint): Likewise.
28235         (getCellBounds): Update documentation.
28236
28237 2006-03-09  Arnaud Vandyck  <avdyk@gnu.org>
28238
28239         * .classpath: added exclude pattern on source folders
28240         (Makefiles, README and .cvsignore)
28241
28242 2006-03-08  Michael Koch  <konqueror@gmx.de>
28243
28244         * java/net/Proxy.java (NO_PROXY): Made final.
28245         (equals): Likewise.
28246         (hashCode): Likewise.
28247
28248 2006-03-08  Keith Seitz  <keiths@redhat.com>
28249
28250         * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
28251         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28252         (getClassMethod): New method.
28253
28254 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28255
28256         * java/rmi/server/UID.java (getMachineId): Include the host IP address.
28257     
28258 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28259
28260         * java/rmi/server/ObjID.java: Documented and autoformatted.
28261
28262 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28263
28264         PR 26584
28265         * tools/Makefile.am (install-data-local,
28266         uninstall-local): Install/uninstall the tools/README only.
28267         * tools/gnu/classpath/tools/giop/README: Updated.
28268         * tools/README: New file.
28269
28270 2006-03-08  Lillian Angel  <langel@redhat.com>
28271
28272         * java/awt/GridBagLayout.java
28273         (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
28274         then the next item should be set to current_y (not 0).
28275
28276 2006-03-08  Lillian Angel  <langel@redhat.com>
28277
28278         * java/awt/GridBagLayout.java
28279         (GetLayoutInfo): If gridy is RELATIVE and there is no component
28280         in the bottom-most spot of the column, we need to place that component
28281         at the y-location of the other components in that row. If there are
28282         no other components in that row, then place it at y = 0.
28283
28284 2006-03-08  David Gilbert  <david.gilbert@object-refinery.com>
28285
28286         * javax/swing/ProgressMonitor.java: Updated API docs,
28287         * javax/swing/ProgressMonitorInputStream.java: Likewise.
28288
28289 2006-03-08  Michael Koch  <konqueror@gmx.de>
28290
28291         * java/net/InetSocketAddress.java
28292         (InetSocketAddress(String,int,resolve)): New private contructor.
28293         (InetSocketAddress(String,int)): Use new private constructor.
28294         (createUnresolved): New method.
28295
28296 2006-03-07  Michael Koch  <konqueror@gmx.de>
28297
28298         * gnu/java/net/DefaultProxySelector.java,
28299         java/net/Proxy.java, java/net/ProxySelector.java:
28300         New files.
28301
28302 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28303
28304         * java/rmi/server/UID.java (constructor): Assign last and time fields
28305         after pause.
28306
28307 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28308
28309         * java/rmi/server/UID.java: New file (replacing). 
28310
28311 2006-03-08  Raif S. Naffah  <raif@swiftdsl.com.au>
28312
28313         * java/util/jar/Manifest.java: Removed unused imports.
28314         (CRLF): New constant.
28315         (read): Added method documentation.
28316         Use UTF-8 encoding instead of 8859_1.
28317         (write): Added method documentation.
28318         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28319         (write_main_section): Replace PrintWriter arg with OutputStream.
28320         Replace JarException with IOException.
28321         (write_version_info): Likewise.
28322         (write_main_attributes): Likewise.
28323         (write_attribute_entry): Likewise.
28324         (write_individual_sections): Likewise.
28325         (write_entry_attributes): Likewise.
28326         (write_header): Replace PrintWriter arg with OutputStream.
28327         Re-implemented.
28328
28329 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28330
28331         * javax/swing/tree/DefaultMutableTreeNode.java
28332         (getFirstChild): Updated API docs,
28333         (getLastChild): Likewise,
28334         (getChildAfter): Likewise,
28335         (getChildBefore): Likewise,
28336         (isNodeSibling): Return true if node == this,
28337         (getSiblingCount): Updated API docs,
28338         (getNextSibling): Likewise,
28339         (getPreviousSibling): Likewise,
28340         (isLeaf): Likewise,
28341         (getFirstLeaf): Likewise,
28342         (getLastLeaf): Likewise,
28343         (getNextLeaf): Implemented,
28344         (getPreviousLeaf): Implemented.
28345
28346 2006-03-07  Tom Tromey  <tromey@redhat.com>
28347
28348         * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
28349         * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
28350         * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
28351         * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
28352         field.
28353
28354 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28355
28356         * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
28357         (clone): Reimplemented,
28358         (add): Throw IllegalArgumentException if child is an ancestor,
28359         (remove(int)): Set child's parent to null,
28360         (remove(MutableTreeNode)): Check arguments and set child's parent to 
28361         null,
28362         (insert): Check allowsChildren flag, check for null argument, and
28363         check for a node that is an ancestor,
28364         (getIndex): Throw IllegalArgumentException for null argument,
28365         (setAllowsChildren): If setting to false, remove existing children,
28366         (removeAllChildren): Set parent to null for removed children.
28367
28368 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28369
28370         * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
28371         over.
28372
28373 2006-03-06  Tom Tromey  <tromey@redhat.com>
28374
28375         * java/lang/StrictMath.java (ulp): New methods.
28376         * java/lang/Math.java (ulp): New methods.
28377
28378 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28379
28380         * gnu/java/rmi/server/UnicastRef.java,
28381         * gnu/java/rmi/server/UnicastServer.java: Formatted.
28382         
28383 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28384
28385         * gnu/java/rmi/server/CombinedClassLoader.java 
28386         (findClass, findLibrary, findResouce, findResources): check
28387         all loaders in array.
28388         
28389 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28390
28391         PR 25526
28392         * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
28393         (RefProtector):    new inner class. (dirty): Rewritten.
28394         * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
28395         dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
28396         new methods. (readExternal): Create LeaseRenewingTask if non local.
28397         * gnu/java/rmi/server/UnicastServer.java (objects):
28398         Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28399         (getExported): New method.
28400         * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28401         
28402 2006-03-06  Mark Wielaard  <mark@klomp.org>
28403
28404         * doc/www.gnu.org/announce/20060306.wml: New file.
28405         * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28406         * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28407         
28408 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
28409
28410         * javax/swing/plaf/metal/MetalLookAndFeel.java
28411         (initComponentDefaults): Use Boolean.TRUE for
28412         'CheckBoxMenuItem.borderPainted'.
28413         
28414 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
28415
28416         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28417         (dateFormat): Made private.
28418         (put): Replace only the last occurance and the value.
28419         (putAll): Reimplemented with the put method.
28420         
28421 2006-03-06  Lillian Angel  <langel@redhat.com>
28422
28423         PR classpath/26569
28424         * java/awt/List.java
28425         (preferredSize): Return the size of the list if the peer is 
28426         null.
28427         * gnu/java/awt/peer/gtk/GtkListPeer.java
28428         (preferredSize): Code was returning the minimum size of the 
28429         list. Added adjustment to the width of the list so it is a 
28430         proper size.
28431         
28432 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
28433
28434         * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28435         (getRequestProperty): Remove duplicated null check.
28436         * java/net/URLConnection.java:
28437         (URLConnection): Javadoc fix.
28438         (addRequestProperty): Likewise.
28439         (getDefaultRequestProperty): Likewise.
28440         (getHeaderField): Likewise.
28441         (getHeaderFieldDate): Likewise.
28442         (getHeaderFieldKey): Likewise.
28443         (getHeaderFields): Likewise.
28444         (getRequestProperties): Likewise.
28445         (getRequestProperty): Likewise.
28446         (setDefaultRequestProperty): Likewise.
28447         (setRequestProperty): Likewise.
28448         
28449 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28450       
28451         * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28452         * examples/gnu/classpath/examples/swing/Demo.java:
28453         (mkButtonBar): Changed layout manager to GridLayout, added entry for
28454         textarea example.
28455         (mkMenuBar): Added entry for text area example.
28456         
28457 2006-03-06  Tom Tromey  <tromey@redhat.com>
28458
28459         * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28460         (FORMATTED_TEXT_FIELD): Likewise.
28461         
28462 2006-03-06  Tom Tromey  <tromey@redhat.com>
28463
28464         * javax/swing/plaf/synth/SynthPainter.java: Finished.
28465         
28466 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28467
28468         * examples/gnu/classpath/examples/swing/Demo.java:
28469         (mkMenuBar): Added menu entry that will display the VM's name,
28470         version and distributor.
28471         
28472 2006-03-06  Tom Tromey  <tromey@redhat.com>
28473          
28474         * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription): 
28475         Javadoc fix.
28476         (getName): Likewise.
28477         
28478 2006-03-06  Raif S. Naffah  <raif@swiftdsl.com.au>
28479
28480         * java/util/jar/Manifest.java: Removed unused imports.
28481         (CRLF): New constant.
28482         (read): Added method documentation.
28483         Use UTF-8 encoding instead of 8859_1.
28484         (write): Added method documentation.
28485         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28486         (write_main_section): Replace PrintWriter arg with OutputStream.
28487         Replace JarException with IOException.
28488         (write_version_info): Likewise.
28489         (write_main_attributes): Likewise.
28490         (write_attribute_entry): Likewise.
28491         (write_individual_sections): Likewise.
28492         (write_entry_attributes): Likewise.
28493         (write_header): Replace PrintWriter arg with OutputStream.
28494         Re-implemented.
28495         
28496 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
28497
28498         
28499         * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28500         API doc tag warnings,
28501         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28502         
28503 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
28504
28505         * gnu/java/net/protocol/file/Connection.java (unquote):
28506         Update position in buffer after decoding a unicode character
28507         outside of the basic plane.
28508         
28509 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
28510
28511         * java/net/URI.java
28512         (quote): Pass Unicode characters outside the basic plane through.
28513         
28514 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28515        
28516         * javax/swing/plaf/basic/BasicTextUI.java:
28517         (damageRange): Rewritten if-expressions to correctly identify the
28518         break condition.
28519
28520 2006-03-06  Mark Wielaard  <mark@klomp.org>
28521
28522         * configure.ac: Set version to 0.90-generics.
28523         * NEWS: Fix typos.
28524
28525 2006-03-06  Mark Wielaard  <mark@klomp.org>
28526
28527         Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28528         * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28529         (isnan): Define explicitly isnan if it is not a macro.
28530
28531 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28532
28533         * javax/swing/text/GapContent.java:
28534         (insertString): Throw exception when argument is below
28535         zero.
28536
28537 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28538
28539         * javax/swing/text/PlainDocument.java:
28540         (insertUpdate): Extended if-expression, added
28541         code to generate another Element when newly inserted characters
28542         and old ones will be on the same line.
28543
28544 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28545
28546         * javax/swing/text/DefaultCaret.java:
28547         (mouseDragged): Do selection when shift is pressed.
28548         (mouseClicked): Implemented.
28549
28550 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28551
28552         * javax/swing/text/PlainDocument.java: Fix copyright header,
28553         added author tags.
28554         (insertUpdate): Do not copy the whole document any more, added some
28555         more variables to prevent needless method calls.
28556
28557 2006-03-06  Christian Thalinger <twisti@complang.tuwien.ac.at>
28558
28559         * configure.ac: Check for FREETYPE2.  This is a reverted patch and
28560         is required on Darwin.
28561         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28562         (AM_CFLAGS): Likewise.
28563
28564 2006-03-06  Mark Wielaard  <mark@klomp.org>
28565
28566         * NEWS: Add updates for 0.90 release.
28567
28568 2006-03-05  Robert Schuster  <robertschuster@fsfe.org>
28569
28570         * javax/swing/text/GapContent.java:
28571         (insertString): Throw exception when argument is below
28572         zero.
28573
28574 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28575
28576         
28577         * javax/swing/filechooser/FileFilter.java:
28578         (accept): Fixed API doc tag,
28579        (getDescription): Likewise,
28580         * javax/swing/filechooser/FileView.java:       
28581         (isTraversable): Fixed API doc tag.
28582
28583 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28584
28585         * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28586         added API docs all over.
28587
28588 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28589
28590         * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28591         and corrected a bad API doc tag.
28592
28593 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28594
28595         * javax/swing/undo/StateEditable.java
28596         (restoreState): Fixed bad API doc tag,
28597         * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28598         AbstractUndoableEdit.java,
28599         * javax/swing/undo/UndoableEditSupport.java
28600         (createCompoundEdit): Fixed bad API doc tag,
28601         * javax/swing/undo/UndoManager.java
28602         (editToBeUndone): Fixed bad API doc tag,
28603         (editToBeRedone): Likewise.
28604
28605 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28606
28607         * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28608         * javax/swing/FocusManager.java: Likewise.
28609
28610
28611 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28612
28613         
28614         * javax/swing/plaf/metal/MetalComboBoxButton.java
28615         (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28616         JList)): Fixed API doc tag,
28617         * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28618         (createLayout): Fixed API doc warning.
28619         
28620 2006-03-05  Tom Tromey  <tromey@redhat.com>
28621
28622         * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28623         ClassHelper.getUserName.
28624         * vm/reference/java/lang/reflect/Method.java (toString): Use
28625         ClassHelper.getUserName.
28626         (getUserTypeName): Removed.
28627         * gnu/java/lang/ClassHelper.java (getUserName): New method.
28628         * vm/reference/java/lang/reflect/Field.java (toString): Use
28629         ClassHelper.getUserName.
28630
28631 2006-03-05  Olivier Jolly  <olivier.jolly@pcedev.com>
28632
28633         Fixes PR 22813
28634         * java/net/URLClassLoader.java (FileURLLoader.getResource):   
28635         Allows directories as valid resources.
28636
28637 2006-03-05  Mark Wielaard  <mark@klomp.org>
28638
28639         * configure.ac (VERSION): Set to 0.90-pre-generics.
28640         * Merge with CVS trunk from classpath-0_90-branch-point.
28641
28642 2006-03-04  Tom Tromey  <tromey@redhat.com>
28643
28644         * javax/swing/SpringLayout.java (Constraints): New constructor.
28645         * javax/swing/Spring.java (width): New method.
28646         (height): Likewise.
28647         (scale): Likewise.
28648
28649 2006-03-04  Mark Wielaard  <mark@klomp.org>
28650
28651         * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28652         existing connection from pool before returning.
28653
28654 2006-03-04  Mark Wielaard  <mark@klomp.org>
28655
28656         * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28657         exceptions thrown by handlers while cleaning up and rethrow original
28658         exception.
28659
28660 2006-03-04  Tom Tromey  <tromey@redhat.com>
28661
28662         * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28663         method.
28664         (findConstructor): Likewise.
28665         (instantiateClass): Likewise.
28666
28667 2006-03-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28668
28669         * gnu/java/rmi/dgc/DGCImpl.java:  More comments, boilerplate fix.
28670         (dirty): Do not synchronize on Hashtable. Use the passed (requested) 
28671         lease value and not always the default one.
28672         (LeaseRecord): Remember the array of objects, marked as dirty.
28673         java/rmi/dgc/Lease.java: Boilerplate fix.
28674
28675 2006-03-05  Raif S. Naffah  <raif@swiftdsl.com.au>
28676
28677         * java/util/jar/Attributes.java (putValue): Made it public and updated
28678         method documentation.
28679
28680 2006-03-04  Mark Wielaard  <mark@klomp.org>
28681
28682         * java/awt/Container.java (remove(int)): Always call removeNotify()
28683         on removed Component.
28684
28685 2006-03-04  Mark Wielaard  <mark@klomp.org>
28686
28687         Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28688         * javax/swing/JEditorPane.java (setText): Check for empty String
28689         with equals(), not equality (==).
28690
28691 2006-03-04  Mark Wielaard  <mark@klomp.org>
28692
28693         * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28694         DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28695
28696 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
28697
28698         * javax/swing/text/GapContent.java
28699         (getArray): Mark as final.
28700
28701 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
28702
28703         * javax/swing/text/StyleConstants.java
28704         (CharacterConstants.Background): Marked final,
28705         (CharacterConstants.BidiLevel): Likewise,
28706         (CharacterConstants.Bold): Likewise,
28707         (CharacterConstants.ComponentAttribute): Likewise,
28708         (CharacterConstants.Family): Likewise,
28709         (CharacterConstants.Size): Likewise,
28710         (CharacterConstants.Foreground): Likewise,
28711         (CharacterConstants.IconAttribute): Likewise,
28712         (CharacterConstants.Italic): Likewise,
28713         (CharacterConstants.StrikeThrough): Likewise,
28714         (CharacterConstants.Subscript): Likewise,
28715         (CharacterConstants.Superscript): Likewise,
28716         (CharacterConstants.Underline): Likewise,
28717         (ColorConstants.Foreground): Likewise,
28718         (ColorConstants.Background): Likewise,
28719         (FontConstants.Bold): Likewise,
28720         (FontConstants.Family): Likewise,
28721         (FontConstants.Italic): Likewise,
28722         (FontConstants.Size): Likewise,
28723         (ParagraphConstants.Alignment): Likewise,
28724         (ParagraphConstants.FirstLineIndent): Likewise,
28725         (ParagraphConstants.LeftIndent): Likewise,
28726         (ParagraphConstants.LineSpacing): Likewise,
28727         (ParagraphConstants.Orientation): Likewise,
28728         (ParagraphConstants.RightIndent): Likewise,
28729         (ParagraphConstants.SpaceAbove): Likewise,
28730         (ParagraphConstants.SpaceBelow): Likewise,
28731         (ParagraphConstants.TabSet): Likewise.  
28732
28733 2006-03-03  Tom Tromey  <tromey@redhat.com>
28734
28735         * javax/net/ssl/SSLException.java: Added missing @since.
28736         Wrote javadoc.
28737
28738 2006-03-03  Tom Tromey  <tromey@redhat.com>
28739
28740         * javax/net/ssl/SSLException.java (SSLException): New constructors.
28741         (serialVersionUID): New field.
28742
28743 2006-03-03  Tom Tromey  <tromey@redhat.com>
28744
28745         * java/security/spec/InvalidKeySpecException.java
28746         (InvalidKeySpecException): New constructors.
28747         * java/security/cert/CertificateParsingException.java
28748         (CertificateParsingException): New constructors.
28749         * java/security/cert/CertificateEncodingException.java
28750         (CertificateEncodingException): New constructors.
28751         * java/security/cert/CertificateException.java (CertificateException):
28752         New constructors.
28753         * java/security/cert/CRLException.java (CRLException): New
28754         constructors.
28755
28756 2006-03-03  Tom Tromey  <tromey@redhat.com>
28757
28758         * java/security/SignatureException.java (SignatureException): New
28759         constructors.
28760         * java/security/ProviderException.java (ProviderException): New
28761         constructors.
28762         * java/security/NoSuchAlgorithmException.java
28763         (NoSuchAlgorithmException): New constructors.
28764         * java/security/KeyStoreException.java (KeyStoreException): New
28765         constructors.
28766         * java/security/KeyManagementException.java (KeyManagementException):
28767         New constructors.
28768         * java/security/InvalidKeyException.java (InvalidKeyException): New
28769         constructors.
28770         * java/security/KeyException.java (KeyException): New constructors.
28771         * java/security/InvalidAlgorithmParameterException.java
28772         (InvalidAlgorithmParameterException): New constructors.
28773         * java/security/DigestException.java (DigestException): New
28774         constructors.
28775         * java/security/GeneralSecurityException.java
28776         (GeneralSecurityException): New constructors.
28777
28778 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28779
28780         * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc 
28781         warnings,
28782         * javax/swing/event/DocumentEvent.java: Likewise,
28783         * javax/swing/event/EventListenerList.java: Likewise,
28784         * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28785         * javax/swing/event/MenuKeyEvent.java: Likewise,
28786         * javax/swing/event/TableColumnModelEvent.java: Likewise,
28787         * javax/swing/event/TreeExpansionEvent.java: Likewise,
28788         * javax/swing/event/TreeModelEvent.java: Likewise,
28789         * javax/swing/event/TreeSelectionEvent.java: Likewise,
28790         * javax/swing/event/UndoableEditEvent.java: Likewise.
28791
28792 2006-03-03  Tom Tromey  <tromey@redhat.com>
28793
28794         * java/awt/Insets.java (set): New method.
28795         (equals): Added @since.
28796
28797 2006-03-03  David Daney  <ddaney@avtrex.com>
28798
28799         * gnu/java/net/protocol/http/HTTPURLConnection.java
28800         (getRequestProperties): Rewrote.
28801         (addRequestProperty): Rewrote.
28802         (getHeaderFields): Rewrote.
28803         (getHeaderField): Rewrote.
28804         (getHeaderFieldKey): Rewrote.
28805         (getHeaderField): Removed useless cast.
28806         * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28807         * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28808         interface.
28809         (notifyHeaderHandlers): Use new Headers interface.
28810
28811 2006-03-03  Tom Tromey  <tromey@redhat.com>
28812
28813         * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28814         * javax/naming/spi/ResolveResult.java,
28815         javax/naming/event/NamingExceptionEvent.java,
28816         javax/naming/event/NamingEvent.java,
28817         javax/naming/directory/SearchResult.java,
28818         javax/naming/directory/SearchControls.java,
28819         javax/naming/directory/SchemaViolationException.java,
28820         javax/naming/directory/NoSuchAttributeException.java,
28821         javax/naming/directory/ModificationItem.java,
28822         javax/naming/directory/InvalidSearchFilterException.java,
28823         javax/naming/directory/InvalidSearchControlsException.java,
28824         javax/naming/directory/InvalidAttributesException.java,
28825         javax/naming/directory/InvalidAttributeIdentifierException.java,
28826         javax/naming/directory/AttributeModificationException.java,
28827         javax/naming/directory/AttributeInUseException.java,
28828         javax/naming/TimeLimitExceededException.java,
28829         javax/naming/SizeLimitExceededException.java,
28830         javax/naming/PartialResultException.java,
28831         javax/naming/Reference.java,
28832         javax/naming/ServiceUnavailableException.java,
28833         javax/naming/OperationNotSupportedException.java,
28834         javax/naming/NotContextException.java,
28835         javax/naming/NoPermissionException.java,
28836         javax/naming/NoInitialContextException.java,
28837         javax/naming/NameNotFoundException.java,
28838         javax/naming/NameAlreadyBoundException.java,
28839         javax/naming/NameClassPair.java,
28840         javax/naming/MalformedLinkException.java,
28841         javax/naming/LinkLoopException.java,
28842         javax/naming/LinkException.java,
28843         javax/naming/LimitExceededException.java,
28844         javax/naming/InvalidNameException.java,
28845         javax/naming/InterruptedNamingException.java,
28846         javax/naming/InsufficientResourcesException.java,
28847         javax/naming/ContextNotEmptyException.java,
28848         javax/naming/ConfigurationException.java,
28849         javax/naming/CannotProceedException.java,
28850         javax/naming/CommunicationException.java,
28851         javax/naming/Binding.java,
28852         javax/naming/AuthenticationNotSupportedException.java,
28853         javax/naming/AuthenticationException.java: Added serialVersionUID.
28854
28855 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28856
28857         * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28858
28859 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28860
28861         * javax/swing/event/TableModelListener.java: Updated API docs.
28862
28863 2006-03-03  Mark Wielaard  <mark@klomp.org>
28864
28865         * java/awt/Component.java (addNotify): Expand documentation.
28866
28867 2006-03-03  Mark Wielaard  <mark@klomp.org>
28868
28869         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28870         Always call setParentAndBounds().
28871         (setComponentBounds): Always call setBounds().
28872         (setBounds): Call setVisible().
28873         (setVisible): If no pixels are showing then don't make it visible.
28874         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28875         to call setParentAndBounds() anymore.
28876
28877 2006-03-03  Roman Kennke  <kennke@aicas.com>
28878
28879         * javax/swing/JInternalFrame.java
28880         (JInternalFrame): Set frame invisible.
28881         (show): Reformatted.
28882         * javax/swing/plaf/basic/BasicInternalFrameUI.java
28883         (installDefaults): Do not set invisible here.
28884
28885 2006-03-03  Roman Kennke  <kennke@aicas.com>
28886
28887         * java/awt/Toolkit.java
28888         (getScreenInsets): Return (0,0,0,0) here.
28889
28890 2006-03-03  Roman Kennke  <kennke@aicas.com>
28891
28892         * javax/swing/text/FlowView.java
28893         (FlowStrategy.layoutRow): Added check for rowCount == 0.
28894         (FlowStrategy.getLogicalView): Made method protected.
28895
28896 2006-03-03  Chris Burdess  <dog@gnu.org>
28897
28898         * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28899           gnu/xml/validation/relaxng/AttributePattern.java,
28900           gnu/xml/validation/relaxng/ChoiceNameClass.java,
28901           gnu/xml/validation/relaxng/ChoicePattern.java,
28902           gnu/xml/validation/relaxng/DataPattern.java,
28903           gnu/xml/validation/relaxng/Define.java,
28904           gnu/xml/validation/relaxng/ElementPattern.java,
28905           gnu/xml/validation/relaxng/EmptyPattern.java,
28906           gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28907           gnu/xml/validation/relaxng/Grammar.java,
28908           gnu/xml/validation/relaxng/GrammarException.java,
28909           gnu/xml/validation/relaxng/GrammarValidator.java,
28910           gnu/xml/validation/relaxng/GroupPattern.java,
28911           gnu/xml/validation/relaxng/InterleavePattern.java,
28912           gnu/xml/validation/relaxng/ListPattern.java,
28913           gnu/xml/validation/relaxng/NSNameNameClass.java,
28914           gnu/xml/validation/relaxng/NameClass.java,
28915           gnu/xml/validation/relaxng/NameNameClass.java,
28916           gnu/xml/validation/relaxng/NotAllowedPattern.java,
28917           gnu/xml/validation/relaxng/OneOrMorePattern.java,
28918           gnu/xml/validation/relaxng/Param.java,
28919           gnu/xml/validation/relaxng/Pattern.java,
28920           gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28921           gnu/xml/validation/relaxng/RefPattern.java,
28922           gnu/xml/validation/relaxng/TextPattern.java,
28923           gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28924           builder and data model.
28925         * gnu/xml/validation/xmlschema/AnyAttribute.java,
28926           gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28927           gnu/xml/validation/xmlschema/AttributeUse.java,
28928           gnu/xml/validation/xmlschema/ComplexType.java,
28929           gnu/xml/validation/xmlschema/ElementDeclaration.java,
28930           gnu/xml/validation/xmlschema/Particle.java,
28931           gnu/xml/validation/xmlschema/ValidationException.java,
28932           gnu/xml/validation/xmlschema/XMLSchema.java,
28933           gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28934           gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28935           gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28936           gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28937           gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28938           gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28939           gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28940           gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28941           W3C XML Schema builder and schema components.
28942         * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28943           XML Schema namespace URIs.
28944
28945 2006-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
28946
28947         * NEWS: Add entry for --enable-collections.
28948         * configure.ac: Add --enable-collections option.
28949         * lib/Makefile.am (collections.jar): New target.
28950         (glibj_DATA): Add $(COLLECTIONS).
28951         * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28952         configure substitution.
28953         (classpath): Read from command line.
28954         (javautilclasses): Remove BasicMapEntry.  Add RandomAccess.
28955
28956 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28957
28958         * javax/swing/SpringLayout.java: Fixed API doc warnings.
28959
28960 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28961
28962         * javax/swing/event/ListSelectionEvent.java
28963         (toString): Implemented,
28964         plus updated API docs all over.
28965
28966 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28967
28968         * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28969         API doc warnings,
28970         * javax/swing/event/ListSelectionListener.java: Updated API docs.
28971
28972 2006-03-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28973
28974         * gnu/java/rmi/dgc/DGCImpl.java,
28975         java/rmi/dgc/DGC.java,
28976         java/rmi/dgc/Lease.java: Formatted and commented.
28977
28978 2006-03-03  Roman Kennke  <kennke@aicas.com>
28979
28980         * NEWS: Added comment about text highlighting and copy+paste
28981         in Swing.
28982
28983 2006-03-03  Roman Kennke  <kennke@aicas.com>
28984
28985         * javax/swing/JTabbedPane.java
28986         (remove(int)): Call super.remove(int) instead of remove(Component).
28987         Avoids a stack overflow.
28988
28989 2006-03-03  Roman Kennke  <kennke@aicas.com>
28990
28991         * javax/swing/JTable.java
28992         (distributeSpillResizing): Avoid ArithmeticException by checking
28993         divisor.
28994
28995 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28996
28997         * javax/swing/text/package.html: Added package description.
28998
28999 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29000
29001         * javax/swing/CellRendererPane.java: Minor API doc fix,
29002         * javax/swing/ComboBoxModel.java: Updated API docs.
29003
29004 2006-03-03  Chris Burdess  <dog@gnu.org>
29005
29006         Fixes PR 26503
29007         * gnu/xml/stream/EntityReferenceImpl.java,
29008           gnu/xml/stream/FilteredEventReader.java,
29009           gnu/xml/stream/SAXParser.java,
29010           gnu/xml/stream/XIncludeFilter.java,
29011           gnu/xml/stream/XMLEventAllocatorImpl.java,
29012           gnu/xml/stream/XMLEventFactoryImpl.java,
29013           gnu/xml/stream/XMLEventImpl.java,
29014           gnu/xml/stream/XMLEventReaderImpl.java,
29015           gnu/xml/stream/XMLEventWriterImpl.java,
29016           gnu/xml/stream/XMLInputFactoryImpl.java,
29017           gnu/xml/stream/XMLOutputFactoryImpl.java,
29018           gnu/xml/stream/XMLParser.java,
29019           javax/xml/stream/EventFilter.java,
29020           javax/xml/stream/Location.java,
29021           javax/xml/stream/StreamFilter.java,
29022           javax/xml/stream/XMLEventFactory.java,
29023           javax/xml/stream/XMLEventReader.java,
29024           javax/xml/stream/XMLEventWriter.java,
29025           javax/xml/stream/XMLInputFactory.java,
29026           javax/xml/stream/XMLOutputFactory.java,
29027           javax/xml/stream/XMLReporter.java,
29028           javax/xml/stream/XMLResolver.java,
29029           javax/xml/stream/XMLStreamConstants.java,
29030           javax/xml/stream/XMLStreamReader.java,
29031           javax/xml/stream/events/EntityDeclaration.java,
29032           javax/xml/stream/events/EntityReference.java,
29033           javax/xml/stream/events/XMLEvent.java,
29034           javax/xml/stream/util/EventReaderDelegate.java,
29035           javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
29036           StAX API as specified in JWSDP 2.0.
29037         * gnu/xml/stream/EndEntityImpl.java,
29038           gnu/xml/stream/LocationImpl.java,
29039           gnu/xml/stream/StartEntityImpl.java,
29040           gnu/xml/stream/XMLStreamReaderImpl.java,
29041           javax/xml/stream/XMLFilter.java,
29042           javax/xml/stream/XMLIterator.java,
29043           javax/xml/stream/events/EndEntity.java,
29044           javax/xml/stream/events/StartEntity.java: Removed legacy files.
29045
29046 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29047
29048         * javax/swing/CellEditor.java: API doc updates,
29049         * javax/swing/DefaultCellEditor.java: Likewise.
29050
29051 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29052
29053         * javax/swing/AbstractListModel.java:
29054         (AbstractListModel): Added API docs,
29055         (fireContentsChanged): Minor API doc correction,
29056         (fireIntervalAdded): Likewise,
29057         (fireIntervalRemoved): Likewise.
29058
29059 2006-03-03  Roman Kennke  <kennke@aicas.com>
29060
29061         * NEWS: Added paragraph about Swing improvements.
29062
29063 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29064
29065         * javax/swing/AbstractAction.java: Updated API docs all over,
29066         * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
29067         (stopCellEditing): Minor API doc correction,
29068         * javax/swing/UnsupportedLookAndFeelException.java
29069         (UnsupportedLookAndFeelException): Changed argument name, updated API
29070         docs.
29071
29072 2006-03-03  Roman Kennke  <kennke@aicas.com>
29073
29074         * javax/swing/plaf/metal/MetalUtils.java
29075         (fillMetalPattern): Added switch to not use Graphics2D methods,
29076         even if they are available.
29077
29078 2006-03-03  Roman Kennke  <kennke@aicas.com>
29079
29080         * javax/swing/plaf/basic/BasicHTML.java
29081         (isHTMLString): Check for string beeing null.
29082         * javax/swing/plaf/basic/BasicInternalFrameUI.java
29083         (BasicInternalFrameListener.internalFrameActivated): Implemented.
29084         (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
29085         (InternalFrameLayout): Don't touch the glass pane here.
29086         (installUI): Fix handling of glass pane.
29087         * javax/swing/plaf/basic/BasicLabelUI.java
29088         (vr): New field.
29089         (ir): New field.
29090         (tr): New field.
29091         (BasicLabelUI): Initialize new fields.
29092         (getPreferredSize): Avoid creating new Rectangles by using
29093         SwingUtilities method.
29094         (paint): Avoid creating new Rectangles by reusing
29095         new fields. Added some preliminary handling of HTML inside the
29096         label.
29097         (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
29098         (uninstallComponents): Clear HTML renderer.
29099         (propertyChange): Check for HTML text and install renderer if
29100         appropriate.
29101         * javax/swing/plaf/basic/BasicListUI.java
29102         (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
29103         method.
29104         * javax/swing/plaf/basic/BasicTextUI.java
29105         (RootView.getStartOffset): Implemented.
29106         (RootView.getEndOffset): Implemented.
29107         (RootView.getDocument): Implemented.
29108
29109 2006-03-03  Roman Kennke  <kennke@aicas.com>
29110
29111         * javax/swing/text/DefaultStyledDocument.java
29112         (ElementBuffer.inserUpdate): Added check for zero-length
29113         element.
29114         * javax/swing/text/DefaultStyledDocument.java
29115         (setIndex): Improved exception message.
29116         * javax/swing/text/TableView.java
29117         Made class abstract.
29118         (TableRow.replace): Probably extend columnRequirements
29119         arrays.
29120         (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
29121         of super.layoutMajorAxis.
29122         (columnRequirements): Made field package private.
29123         (TableView): Do not load any child views here.
29124         (layoutColumns): Implemented this method.
29125         (updateColumnRequirements): New helper method.
29126         * javax/swing/text/Utilities.java
29127         (getBreakLocation): Also take offset into account when
29128         finding end location.
29129         * javax/swing/text/html/HTMLDocument.java
29130         (HTMLReader.parseStack): New field.
29131         (HTMLReader.blockOpen): Properly handle p-implied tags.
29132         (HTMLReader.blockClose): Properly handle p-implied and empty tags.
29133         (HTMLReader.addContent): Insert p-implied when adding content to
29134         a block element.
29135         * javax/swing/text/html/HTMLEditorKit.java
29136         (HTMLFactory.create): Create HTMLTableView for <table> tags and
29137         ParagraphView for TD tags. Print out warning for tags that don't have
29138         matching view yet and create NullView for them.
29139         (read): Only set document base when document != null.
29140         * javax/swing/text/html/HTMLTableView.java:
29141         New class
29142
29143 2006-03-03  Roman Kennke  <kennke@aicas.com>
29144
29145         * javax/swing/plaf/basic/BasicHTML.java
29146         (HTMLRootView): New inner class.
29147         (createHTMLView): Embed view inside a HTMLRootView.
29148
29149 2006-03-03  Wolfgang Baer  <WBaer@gmx.de>
29150
29151         * gnu/java/net/protocol/jar/Connection.java: 
29152         (connect): Throw FileNotFoundException.
29153         (getInputStream): Remove duplicated code.
29154
29155 2006-03-03  Roman Kennke  <kennke@aicas.com>
29156
29157         * javax/swing/RepaintManager.java
29158         (commitBuffer): Added null check for clip.
29159
29160 2006-03-02  Lillian Angel <langel@redhat.com>
29161
29162         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29163         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
29164         to use GtkWidget instead of GTKMenu.
29165
29166 2006-03-02  Lillian Angel <langel@redhat.com>
29167
29168         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29169         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to 
29170         use the submenu to get the list of children. This now works
29171         in the same way as addItem.
29172
29173 2006-03-02  Anthony Balkissoon  <abalkiss@redhat.com>
29174
29175         * java/lang/StringBuilder.java:
29176         (codePointAt): New method.
29177         (codePointBefore): Likewise.
29178         (codePointCount): Likewise.
29179         (trimToSize): Likewise.
29180
29181 2006-03-02  Tom Tromey  <tromey@redhat.com>
29182
29183         * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
29184
29185 2006-03-02  Tom Tromey  <tromey@redhat.com>
29186
29187         * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
29188         (getProviderInstance): 
29189
29190 2006-03-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29191
29192         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
29193         Fix regression caused by move to VM variant.
29194         PR classpath/22926.
29195         
29196 2006-03-01  Tom Tromey  <tromey@redhat.com>
29197
29198         * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
29199         * vm/reference/java/net/VMInetAddress.java: Organized imports.
29200         * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
29201         imports for javadoc.
29202         (getProxyClass): Javadoc fixes.
29203         (getProxyData): Likewise.
29204         (generateProxyClass): Likewise.
29205         * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
29206         (setOut): Likewise.
29207         (setErr): Likewise.
29208         * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
29209         * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
29210         fix.
29211         * vm/reference/java/lang/VMClass.java (getComponentType): Import for
29212         javadoc.
29213         (getModifiers): Likewise.
29214         (getDeclaredClasses): Javadoc fix.
29215         (getDeclaredFields): Likewise.
29216         (getDeclaredMethods): Likewise.
29217         (getDeclaredConstructors): Likewise.
29218         * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
29219         Javadoc fix.
29220
29221 2006-03-01  Tom Tromey  <tromey@redhat.com>
29222
29223         * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
29224         * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
29225         (getVersion): Javadoc fix.
29226         (get): Likewise.
29227         * gnu/java/net/protocol/http/Headers.java: Organized imports.
29228         * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
29229
29230 2006-03-01  David Daney  <ddaney@avtrex.com>
29231
29232         * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
29233         as relative if it contains a colon but no protocol handler can be
29234         found.
29235
29236 2006-03-01  Roman Kennke  <kennke@aicas.com>
29237
29238         * javax/swing/text/AbstractDocument.java
29239         (LeafElement.LeafElement): Handle delta with respect to content
29240         length not document length.
29241         * javax/swing/text/CompositeView.java
29242         (getViewIndex): Handle bias correctly.
29243         * javax/swing/text/DefaultCaret.java
29244         (paint): Align caret position to document bounds to avoid trouble
29245         when removing large portions of content.
29246         * javax/swing/text/DefaultStyledDocument.java
29247         (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
29248         (ElementBuffer.createFracture): Copy old childs attribute. The
29249         ElementSpec usually doesn't carry attribute information.
29250         Use pos instead of offset.
29251         (ElementBuffer.insertFracture): Use pos instead of offset.
29252         (createDefaultRootElement): Don't use create* and instead directly
29253         instantiate the elements.
29254         (handleInsertAfterNewline): Compare the paragraphs startOffset
29255         rather than previous paragraphs endOffset.
29256         * javax/swing/text/JTextComponent.java
29257         (getScrollableTracksViewportWidth): Remove unnecessary cast to
29258         JViewport.
29259         (getScrollableTracksViewportHeight): Remove unnecessary cast to
29260         JViewport.
29261         * javax/swing/text/PlainView.java
29262         (damageLineRange): Avoid creating new Rectangle by using
29263         SwingUtilities.
29264         * javax/swing/text/View.java
29265         (forwardUpdate): Correct the use of bias.
29266         (modelToView): Avoid new Rectangles by using SwingUtilities.
29267         (dump): Made (temprorarily) protected for use in BasicTextUI.
29268         (dump(int)): Dump out the element of the view.
29269
29270 2006-03-01  Lillian Angel  <langel@redhat.com>
29271
29272         * NEWS: javax.imageio.plugins.bmp implementation.
29273
29274 2006-03-01  Lillian Angel  <langel@redhat.com>
29275
29276         * javax/imageio/ImageWriteParam.java: 
29277         Added documentation for fields.
29278         * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
29279         New class implemented.
29280
29281 2006-03-01  Tom Tromey  <tromey@redhat.com>
29282
29283         * NEWS: Mention java.util.prefs update.
29284
29285 2006-03-01  Tom Tromey  <tromey@redhat.com>
29286
29287         * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
29288         * java/nio/charset/UnmappableCharacterException.java:
29289         (serialVersionUID): New field.
29290         * java/nio/charset/MalformedInputException.java:
29291         (serialVersionUID): New field.
29292         * java/nio/charset/CoderMalfunctionError.java:
29293         (serialVersionUID): New field.
29294         * java/nio/charset/CharacterCodingException.java:
29295         (serialVersionUID): New field.
29296         * java/nio/channels/UnsupportedAddressTypeException.java:
29297         (serialVersionUID): New field.
29298         * java/nio/channels/UnresolvedAddressException.java:
29299         (serialVersionUID): New field.
29300         * java/nio/channels/OverlappingFileLockException.java:
29301         (serialVersionUID): New field.
29302         * java/nio/channels/NotYetConnectedException.java:
29303         (serialVersionUID): New field.
29304         * java/nio/channels/NotYetBoundException.java
29305         (serialVersionUID): New field.
29306         * java/nio/channels/NonWritableChannelException.java
29307         (serialVersionUID): New field.
29308         * java/nio/channels/NonReadableChannelException.java
29309         (serialVersionUID): New field.
29310         * java/nio/channels/NoConnectionPendingException.java
29311         (serialVersionUID): New field.
29312         * java/nio/channels/IllegalSelectorException.java
29313         (serialVersionUID): New field.
29314         * java/nio/channels/IllegalBlockingModeException.java
29315         (serialVersionUID): New field.
29316         * java/nio/channels/FileLockInterruptionException.java
29317         (serialVersionUID): New field.
29318         * java/nio/channels/ConnectionPendingException.java
29319         (serialVersionUID): New field.
29320         * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
29321         New field.
29322         * java/nio/channels/ClosedChannelException.java (serialVersionUID):
29323         New field.
29324         * java/nio/channels/ClosedByInterruptException.java
29325         (serialVersionUID): New field.
29326         * java/nio/channels/CancelledKeyException.java (serialVersionUID): 
29327         New field.
29328         * java/nio/channels/AsynchronousCloseException.java
29329         (serialVersionUID): New field.
29330         * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
29331         New field.
29332         * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
29333         * java/nio/InvalidMarkException.java (serialVersionUID): New field.
29334         * java/nio/BufferUnderflowException.java (serialVersionUID): New
29335         field.
29336         * java/nio/BufferOverflowException.java (serialVersionUID): New field.
29337         * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
29338         Javadoc fix.  Added import.
29339         * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
29340         (validOps): Likewise.
29341         * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
29342         * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
29343         * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
29344         * java/nio/channels/Channels.java: Added import.
29345         * java/nio/channels/FileChannel.java (lock): Typo fix.
29346         (tryLock): Likewise.
29347
29348 2006-03-01  Tom Tromey  <tromey@redhat.com>
29349
29350         * java/util/prefs/Preferences.java (defaultFactoryClass): Use
29351         FileBasedFactory.
29352         * gnu/java/util/prefs/FileBasedPreferences.java: New file.
29353         * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
29354         (clear): Likewise.
29355         (putSpi): Likewise.
29356         (newNode): Likewise.
29357         (node): Likewise.
29358         * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
29359         * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
29360         field.
29361         (systemRoot): Use it.
29362         (userPreferences): New field.
29363         (userRoot): Use it.
29364
29365 2006-03-01  Jeroen Frijters  <jeroen@frijters.net>
29366
29367         * java/util/ResourceBundle.java
29368         (tryBundle): Catch and ignore all Exceptions.
29369
29370 2006-02-28  Roman Kennke  <kennke@aicas.com>
29371
29372         * javax/swing/plaf/basic/BasicScrollBarUI.java
29373         (getPreferredSize): Fixed add a fixed space between the buttons
29374         instead of something related to min/max.
29375         (installComponents): Create and install buttons here.
29376         (installDefaults): Don't create buttons here.
29377         * javax/swing/plaf/metal/MetalScrollBarUI.java
29378         (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
29379         (getPreferredSize): New method.
29380
29381 2006-02-28  David Gilbert  <david.gilbert@object-refinery.com>
29382
29383         * examples/gnu/classpath/examples/swing/Demo.java
29384         (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions, 
29385         connected 'Spinner' action to SpinnerDemo, 
29386         (mkCheckbox): Removed,
29387         (mkRadio): Likewise,
29388         (mkSpinner): Likewise,
29389         (mkToggle): Likewise,
29390         (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29391         connected 'Spinner' action to SpinnerDemo.
29392
29393 2006-02-28  Wolfgang Baer  <WBaer@gmx.de>
29394
29395         * javax/print/ServiceUIFactory.java: Added documentation to class.
29396
29397 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29398
29399         PR classpath/26434
29400         * javax/swing/DefaultListSelectionModel.java:
29401         (addSelectionInterval): Return early if either of the arguments is -1.
29402         (removeSelectionInterval): Likewise.
29403         (setSelectionInterval): Likewise.
29404
29405 2006-02-28  Lillian Angel  <langel@redhat.com>
29406
29407         * javax/swing/text/DefaultFormatter.java
29408         (stringToValue): Added NPE check.
29409
29410 2006-02-28  Roman Kennke  <kennke@aicas.com>
29411
29412         PR classpath/25675
29413         * javax/swing/JList.java
29414         (getPreferredScrollableViewportSize): Restored specified behaviour.
29415         * javax/swing/plaf/metal/MetalFileChooserUI.java
29416         (createList): Set filelist panel's preferredSize, so that it doesn't
29417         get size into infinity for big lists.
29418
29419 2006-02-28  Lillian Angel  <langel@redhat.com>
29420
29421         * javax/swing/ViewportLayout.java
29422         (layoutContainer): Should not extend container to be 
29423         minimum size. Mauve test shows that the preferred size
29424         and the size of the viewport can be set smaller than
29425         the minimum.
29426
29427 2006-02-28  Lillian Angel  <langel@redhat.com>
29428
29429         PR classpath/25675
29430         * javax/swing/JList.java
29431         (getPreferredScrollableViewportSize): Added a check to determine
29432         if orientation is VERTICAL_WRAP. If it is, we should only 
29433         show 3 columns. 
29434
29435 2006-02-28  Lillian Angel  <langel@redhat.com>
29436
29437         PR classpath/26003
29438         * javax/swing/ViewportLayout.java:
29439         Patch submitted by Audrius Meskauskas
29440         (addLayoutComponent): Added documentation.
29441         (removeLayoutComponent): Likewise.
29442         (preferredLayoutSize): Likewise.
29443         (minimumLayoutSize): Likewise.
29444         (layoutContainer): Fixed code, so view is set
29445         to the right position when inside a scrollpane. 
29446
29447 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29448
29449         * java/math/BigInteger.java:
29450         Committed patch by Rafael: 
29451         developer.classpath.org/pipermail/classpath-patches/
29452         2006-February/000473.html
29453         (signum): Return early 0 if words == null and ival == 0.
29454         (readObject): Handle special case of magnitude.length or signum being
29455         0.
29456         (writeObject): If signum is zero return a zero-sized byte[].
29457
29458 2006-02-28  Lillian Angel  <langel@redhat.com>
29459
29460         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29461         (create): Initially set the directory to the current working directory.
29462         (setDirectory): Removed else-if. No need for this check.
29463
29464 2006-02-28  Tom Tromey  <tromey@redhat.com>
29465
29466         * .project: Run java builder before header generation.
29467
29468 2006-02-28  Tom Tromey  <tromey@redhat.com>
29469
29470         * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29471         Javadoc fix.
29472         * gnu/java/util/prefs/EventDispatcher.java: New file.
29473         * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29474         (NodeWriter): Specify UTF-8.
29475         (writeHeader): Emit DOCTYPE.
29476         * java/util/prefs/Preferences.java (getFactory): Add cause to
29477         exception.
29478         (exportNode): Documented.
29479         (exportSubtree): Likewise.
29480         (importPreferences): Likewise.
29481         * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29482         (writeObject): Likewise.
29483         * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29484         (writeObject): Likewise.
29485         * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29486         (nodeListeners): New field.
29487         (preferenceListeners): Likewise.
29488         (addNodeChangeListener): Implemented.
29489         (addPreferenceChangeListener): Likewise.
29490         (removeNodeChangeListener): Likewise.
29491         (removePreferenceChangeListener): Likewise.
29492         (fire): New methods.
29493         (put): Fire event.
29494         (remove): Likewise.
29495         (purge): Likewise.  Fixed synchronization.
29496         (removeNode): Fixed synchronization.
29497         (getNode): Fire event.
29498         (flushNode): Fixed synchronization.
29499
29500 2006-02-28  Roman Kennke  <kennke@aicas.com>
29501
29502         * javax/swing/text/BranchElement.java
29503         (startOffset): New field.
29504         (endOffset): New field.
29505         (BranchElement): Initialize new fields.
29506         (getEndOffset): Rewritten to possibly return cached values
29507         if element has no children.
29508         (getStartOffset): Rewritten to possibly return cached values
29509         if element has no children.
29510         * javax/swing/text/LeafElement.java
29511         (startDelta): New field.
29512         (endDelta): New field.
29513         (LeafElement): Handle possible delta of start/endOffset when
29514         these parameters lie outside the document range.
29515         (getStartOffset): Handle possible startDelta.
29516         (getEndOffset): Handle possible startDelta.
29517
29518 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29519
29520         * NEWS: Added line about Unicode 4.0.0 support.
29521
29522 2006-02-28  Roman Kennke  <kennke@aicas.com>
29523
29524         * javax/swing/SwingUtilities.java
29525         (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29526
29527 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
29528
29529         * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29530
29531 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
29532
29533         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29534         Amended class documentation.
29535         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29536         STRING.
29537         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29538         a BIT STRING construct.
29539         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29540         documentation.
29541         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29542         STRING.
29543         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29544         a BIT STRING construct.
29545         * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29546         (engineVerify): Added logging.
29547
29548 2006-02-28  Roman Kennke  <kennke@aicas.com>
29549
29550         * java/awt/Component.java
29551         (dispatchEventImpl): Let the Toolkit dispatch global events.
29552         * java/awt/Container.java
29553         (dispatchEventImpl): Let the LightweightDispatcher handle events
29554         first.
29555         * java/awt/EventQueue.java
29556         (dispatchEvent): Don't do the global event dispatching here. This
29557         is moved to the Component.
29558         (globalDispatchEvent): Moved this method to Toolkit.
29559         * java/awt/LightweightDispatcher.java
29560         (instances): New field.
29561         (getInstance): New method. Delivers an instance of
29562         LightweightDispatcher.
29563         (LightweightDispatcher): Made default constructor private.
29564         (dispatchEvent): New method. Replaces the eventDispatched method.
29565         This now returns true when the event was actually dispatched.
29566         (eventDispatched): Replaced by dispatchEvent.
29567         (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29568         received the last MOUSE_RELEASED.
29569         * java/awt/Toolkit.java
29570         (Toolkit): Don't register LightweightDispatcher as global event
29571         handler.
29572         (globalDispatchEvent): Moved here from EventQueue.
29573
29574 2006-02-27  David Daney  <ddaney@avtrex.com>
29575
29576         PR classpath/25851
29577         * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29578         up.
29579         (getRequestProperties): Rewrote.
29580
29581 2006-02-27  David Daney  <ddaney@avtrex.com>
29582
29583         PR classpath/26312
29584         * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29585         up.
29586         (ChunkedInputStream): Extend InputStream.
29587         (in): New field.
29588         (headers): Moved to top of class.
29589         (constructor): Save referenct to in.
29590         (read(byte[])): Removed method.
29591         (read(byte[], int, int)): Made synchronized and throw IOException
29592         on error parsing chunk header.
29593         (available): New method.
29594         (close): New method.
29595
29596 2006-02-27  David Daney  <ddaney@avtrex.com>
29597
29598         * gnu/java/net/protocol/http/HTTPURLConnection.java
29599         (imports): Cleaned up.
29600         (GetHTTPPropertiesAction): Removed, and moved contents to ...
29601         (constructor): ... Here, using SystemProperties instead of System.
29602         
29603 2006-02-27  Lillian Angel  <langel@redhat.com>
29604
29605         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29606         (setDirectory): GtkFileChooser requires an absolute directory
29607         name. Added a check to make the directory passed to nativeSetDirectory
29608         is absolute.
29609
29610 2006-02-27  Roman Kennke  <kennke@aicas.com>
29611
29612         * javax/swing/SwingUtilities.java
29613         (computeIntersection): Changed to store result in rect, instead of
29614         creating new Rectangle instances. Fixed API docs accordingly.
29615         (computeUnion): Changed to store result in rect, instead of
29616         creating new Rectangle instances. Fixed API docs accordingly.
29617
29618 2006-02-27  Roman Kennke  <kennke@aicas.com>
29619
29620         * javax/swing/JViewport.java
29621         (static_init): Changed default scrollmode to BLIT.
29622         (paintSimple): Added some clipping to avoid painting problems.
29623         (paintBlit): Added some clipping to avoid painting problems.
29624
29625 2006-02-27  Roman Kennke  <kennke@aicas.com>
29626
29627         * javax/swing/JComponent.java
29628         (rectCache): Made field static to save memory.
29629         (getVisibleRect): Don't use rectCache and create new Rectangle
29630         instance instead.
29631         (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29632         (repaint(long,int,int,int,int)): Directly call
29633         RepaintManager.addDirtyRegion(). The visibleRect check is now
29634         performed in the RepaintManager.
29635
29636 2006-02-27  Roman Kennke  <kennke@aicas.com>
29637
29638         * javax/swing/RepaintManager.java
29639         (currentRepaintManagers): Made field private.
29640         (rectCache): New field.
29641         (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29642         component. Changed Rectangle handling to avoid unnecessary new
29643         Rectangle instances.
29644         (getOffscreenBuffer): Create buffer with size of the root window.
29645         Respect the maximum buffer size here.
29646         (commitBuffer): Align the regions so that they are inside the buffer
29647         image and inside the clip. This avoids problems with a bug in GTKImage.
29648         Fixed Rectangle handling to avoid creation of new Rectangle instances.
29649
29650 2006-02-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29651
29652         * native/fdlibm/e_acos.c,
29653         * native/fdlibm/e_asin.c,
29654         * native/fdlibm/e_atan2.c,
29655         * native/fdlibm/e_cosh.c,
29656         * native/fdlibm/e_exp.c,
29657         * native/fdlibm/e_fmod.c,
29658         * native/fdlibm/e_hypot.c,
29659         * native/fdlibm/e_log.c,
29660         * native/fdlibm/e_log10.c,
29661         * native/fdlibm/e_rem_pio2.c,
29662         * native/fdlibm/e_remainder.c,
29663         * native/fdlibm/e_sinh.c,
29664         * native/fdlibm/e_sqrt.c,
29665         * native/fdlibm/k_cos.c,
29666         * native/fdlibm/k_sin.c,
29667         * native/fdlibm/k_tan.c,
29668         * native/fdlibm/s_atan.c,
29669         * native/fdlibm/s_cbrt.c,
29670         * native/fdlibm/s_ceil.c,
29671         * native/fdlibm/s_copysign.c,
29672         * native/fdlibm/s_cos.c,
29673         * native/fdlibm/s_expm1.c,
29674         * native/fdlibm/s_fabs.c,
29675         * native/fdlibm/s_finite.c,
29676         * native/fdlibm/s_floor.c,
29677         * native/fdlibm/s_log1p.c,
29678         * native/fdlibm/s_rint.c,
29679         * native/fdlibm/s_scalbn.c,
29680         * native/fdlibm/s_sin.c,
29681         * native/fdlibm/s_tan.c,
29682         * native/fdlibm/s_tanh.c:
29683         Fixed to call our macros rather than __HI and __LO.
29684         * native/fdlibm/fdlibm.h:
29685         Reintroduced previous extraction code.
29686         (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29687         (GET_HIGH_WORD(i,d)): Readded.
29688         (GET_LOW_WORD(i,d)): Readded.
29689         (INSERT_WORDS(d,ix0,ix1)): Readded.
29690         (SET_HIGH_WORD(d,i)): Readded.
29691         (SET_LOW_WORD(d,i)): Readded.
29692         * native/jni/gtk-peer/gthread-jni.c:
29693         Use Glib macros to convert integers/pointers portably.
29694         
29695 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29696
29697         * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29698         as the fallback SPI.
29699         * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29700         ones referencing GNU-CRYPTO classes.
29701         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29702         (engineValidate): Use GNU-CRYPTO class.
29703         * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29704         * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29705         * gnu/java/security/provider/DSAKeyFactory: Likewise.
29706         * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29707         * gnu/java/security/provider/DSAParameters: Likewise.
29708         * gnu/java/security/provider/DSASignature: Likewise.
29709         * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29710         * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29711         * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29712         * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29713         * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29714         * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29715         * gnu/java/security/provider/MD2withRSA: Likewise.
29716         * gnu/java/security/provider/MD4withRSA: Likewise.
29717         * gnu/java/security/provider/MD5: Likewise.
29718         * gnu/java/security/provider/MD5withRSA: Likewise.
29719         * gnu/java/security/provider/RSA: Likewise.
29720         * gnu/java/security/provider/RSAKeyFactory: Likewise.
29721         * gnu/java/security/provider/SHA: Likewise.
29722         * gnu/java/security/provider/SHA1PRNG: Likewise.
29723         * gnu/java/security/provider/SHA1withRSA: Likewise.
29724         * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29725
29726 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29727
29728         * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29729         (engineGeneratePublic): Added logging.
29730         (engineGeneratePrivate): Likewise.
29731         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29732         (encodePublicKey): Added logging.
29733         Clarified in method documentation that params is optional, but is
29734         always NULL if present.
29735         (decodePublicKey): Added logging.
29736         Handle optional NULL element.
29737
29738 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29739
29740         * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29741
29742 2006-03-03  Tom Tromey  <tromey@redhat.com>
29743
29744         * java/awt/MenuBar.java (shortcuts): Genericized.
29745
29746 2006-03-03  Tom Tromey  <tromey@redhat.com>
29747
29748         * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29749         Genericized.
29750         (getListenerType): Likewise.
29751         * java/beans/Introspector.java (getBeanInfo): Genericized.
29752         * java/beans/DefaultPersistenceDelegate.java (initialize):
29753         Genericized.
29754
29755 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
29756
29757         * java/math/BigDecimal.java:
29758         (precision): Fixed overflow problem with large numbers.
29759         (longValueExact): New method.
29760         (intValueExact): Likewise.
29761         (byteValueExact): Likewise.
29762         (shortValueExact): Likewise.
29763
29764 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
29765
29766         * java/math/BigDecimal.java:
29767         (remainder(BigDecimal)): New method.
29768         (divideAndRemainder(BigDecimal)): Likewise.
29769         (divideToIntegralValue(BigDecimal)): Likewise.
29770         (floor): New implementation method.
29771
29772 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29773
29774         * java/math/BigDecimal.java:
29775         (divide(BigDecimal, int, RoundingMode)): New method.
29776         (divide(BigDecimal, RoundingMode)): Likewise.
29777         (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29778         when the new scale is < 0.
29779         (setScale(int, RoundingMode)): New method.
29780         (ulp): Likewise.
29781
29782 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
29783
29784         * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29785         with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29786         (add(BigDecimal, MathContext)): New method.
29787         (subtract(BigDecimal, MathContext)): Likewise.
29788         (precision): Fixed to correctly handle BigIntegers with more than 19
29789         digits.
29790         (pow(int, MathContext)): New method.
29791
29792 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
29793
29794         * java/math/BigDecimal.java: Added @throws clause to constructors.
29795         (mathContext): Removed this unneeded field.
29796         (BigDecimal(int, MathContext)): New constructor.
29797         (BigDecimal(BigInteger, int, MathContext)): Likewise.
29798         (multiply(BigDecimal, MathContext)): New method.
29799         (negate(MathContext)): Likewise.
29800         (plus(MathContext)): Likewise.
29801         (numDigitsInLong): Fixed to properly handle negatives.
29802         
29803 2006-02-25  Chris Burdess  <dog@gnu.org>
29804   
29805         * gnu/java/net/CRLFInputStream.java,
29806           gnu/java/net/LineInputStream.java: Streams that use mark
29807           capabilities on the underlying stream do not expose mark
29808           functionality themselves.
29809         * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29810           off > 0.
29811
29812 2006-02-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
29813
29814         * gnu/regexp/REMatch.java(matchFlags): New int field used as
29815         option flags passed to match methods.
29816         (MF_FIND_ALL): New flag.
29817         * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29818         do not try other possibilties once a match is found.
29819         * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29820         so that all possibilities can be found.
29821         (match): Rewritten using new methods matchMinimum and _match.
29822         (_match): New method which performs a depth-first recursive search.
29823         (matchMinimum): New method.
29824         (initVisited), (visitedContains), (addVisited): New methods for
29825         manipulating an array of icharacter positions which _match has
29826         already visited.
29827
29828 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
29829
29830         * java/math/BigDecimal.java:
29831         (BigDecimal(long, MathContext)): New constructor.
29832         (BigDecimal(BigInteger, MathContext)): Likewise.
29833         (BigDecimal(String, MathContext)): Likewise.
29834         (BigDecimal(double, MathContext)): Likewise.
29835         (round): Fixed a typo where the precision field was used instead of a
29836         call to the precision method, and also store the new precision in the
29837         returned BigDecimal.
29838         (abs(MathContext)): New method.
29839
29840 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
29841
29842         * java/math/BigDecimal.java
29843         (toBigInteger): Fixed problem where this method couldn't handle 
29844         negative values for scale.
29845         (toBigIntegerExact): New method.
29846         (stripTrailingZeros): Likewise.
29847
29848 2006-02-24  David Daney  <ddaney@avtrex.com>
29849
29850         PR classpath/26082
29851         * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29852         type Pool.
29853         (Pool): New inner class.
29854         (timeLastUsed): New field.
29855         (setPool): Changed parameter type to Pool.
29856         (release): Moved pool management logic to new class Pool.
29857         * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29858         Removed.
29859         (maxConnections) : Removed.
29860         (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29861         (getConnection):  Moved pool management logic to HTTPConnection.Pool.
29862   
29863 2006-02-24  Lillian Angel  <langel@redhat.com>
29864   
29865         * java/awt/Container.java:
29866         Added new field. True if Container has been cleared and
29867         heavyweights need to be repainted.
29868         (paint): Fixed comment. Fixed to use backCleared and 
29869         reset backCleared.
29870         (update): Set backCleared to true after the background
29871         of the container has been cleared.
29872   
29873 2006-02-24  Lillian Angel  <langel@redhat.com>
29874   
29875         * java/awt/TextField.java
29876         (addNotify): Added call to super.
29877   
29878 2006-02-24  Lillian Angel  <langel@redhat.com>
29879   
29880         * java/awt/Component.java
29881         (reshape): Reverted last patch. Should have check here.
29882         (addNotify): Added check. If parent is lightweight, then
29883         initialize listener on the parent.
29884         (HeavyweightInLightweightListener): New class.
29885   
29886 2006-02-24  Roman Kennke  <kennke@aicas.com>
29887   
29888         * javax/swing/plaf/basic/BasicComboPopup.java
29889         (show): Register the popup with the autocloser after it has been
29890         opened completely, by putting the registration on the eventqueue.
29891   
29892 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29893   
29894         * gnu/java/security/prng/BasePRNG.java:
29895         (clone()): Added cast of buffer to byte[].
29896         * gnu/javax/crypto/mac/TMMH16.java:
29897         (clone()): Fixed casting of cloned arrays.
29898         * native/fdlibm/fdlibm.h:
29899         Added missing defines from old fdlibm.h needed by Darwin.
29900         (GET_FLOAT_WORD(i,d)): Re-added.
29901         (SET_FLOAT_WORD(d,i)): Re-added.
29902         
29903 2006-02-24  Roman Kennke  <kennke@aicas.com>
29904   
29905         * java/awt/Container.java:
29906         (dispatcher): Removed field.
29907         (dispatchEventImpl): Removed lightweight dispatching.
29908         (addNotifyContainerChildren): Removed LightweightDispatcher
29909         handling.
29910         (LightweightDispatcher): Removed class.
29911         * java/awt/LightweightDispatcher.java: New class.
29912         * java/awt/Toolkit.java
29913         (Toolkit): Install LightweightDispatcher in global listener
29914         array.
29915   
29916 2006-02-24  Chris Burdess  <dog@gnu.org>
29917   
29918         Fixes PR 26324
29919         * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29920           off > 0.
29921   
29922 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29923   
29924         * NEWS: Mentions the VMMath runtime changes.
29925         * doc/vmintegration.texinfo: Updated to include
29926         VMMath.
29927   
29928 2006-02-24  Roman Kennke  <kennke@aicas.com>
29929   
29930         * javax/swing/plaf/basic/BasicLookAndFeel.java
29931         (PopupHelper.autoClosePopups): New field.
29932         (PopupHelper.mousePressed): Also autoclose any registered popups.
29933         (PopupHelper.registerForAutoClose): New method.
29934         (PopupHelper.autoClosePopups): New method.
29935         (popupHelper): Changed type of field to PopupHelper.
29936         (registerForAutoClose): New method.
29937         * javax/swing/plaf/basic/BasicComboPopup.java
29938         (show): Register this popup for autoclosing.
29939   
29940 2006-02-24  Raif S. Naffah  <raif@swiftdsl.com.au>
29941   
29942         * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29943         * gnu/java/security/prng/MDGenerator.java (clone): New method.
29944         * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29945   
29946 2006-02-24  Roman Kennke  <kennke@aicas.com>
29947   
29948         Reported by Ingo Proetel <proetel@aicas.com>
29949         * java/util/logging/LogManager.java
29950         (addLogger): Search the parent loggers for log level
29951         configuration and inherit that.
29952         (readConfiguration): Provide minimal default configuration
29953         if no configuration can be found otherwise.
29954
29955 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
29956
29957         * java/math/BigDecimal.java:
29958         (toString): Fixed a problem where the negative sign was being displayed
29959         twice in the exponent.
29960         (toEngineeringString): New method.
29961         (toPlainString): Likewise.
29962         (pow): Likewise.
29963
29964 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
29965
29966         * java/math/BigDecimal.java:
29967         (toString): Rewrote this method to behave as specified.  Added API
29968         comments to explain behaviour.
29969         (scaleByPowerOfTen): New method.
29970
29971 2006-02-23  Roman Kennke  <kennke@aicas.com>
29972   
29973         * javax/swing/JRootPane.java
29974         (isOptimizedDrawingEnabled): Implemented to return true
29975         when the glassPane is not visible.
29976   
29977 2006-02-23  Roman Kennke  <kennke@aicas.com>
29978   
29979         * javax/swing/plaf/basic/BasicLookAndFeel.java
29980         (PopupHelper): New inner class.
29981         (popupHelper): New field.
29982         (initialize): New method.
29983         (uninitialize): New method.
29984         * javax/swing/plaf/basic/BasicPopupMenuUI.java
29985         (mouseInputListener): Removed field.
29986         (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29987         handling of GlassPane.
29988         (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29989         handling of GlassPane.
29990         (MouseInputHandler): Removed class.
29991
29992 2006-02-23  Roman Kennke  <kennke@aicas.com>
29993
29994         * java/awt/AWTEvent.java
29995         (eventIdToMask): New utility method.
29996         * java/awt/EventQueue.java
29997         (dispatchEvent): Also globally dispatch events via the toolkit.
29998         (globalDispatchEvent): New method.
29999         * java/awt/Toolkit.java
30000         (awtEventListeners): New field.
30001         (Toolkit()): Initialize new field.
30002         (createComponent): Create GLightweightPeer here.
30003         (addAWTEventListener): Implemented and documented.
30004         (removeAWTEventListener): Implemented and documented.
30005         (getAWTEventListeners): Implemented and documented both method
30006         variants.
30007         * java/awt/event/AWTEventListenerProxy.java
30008         (eventDispatched): Don't filter events here.
30009
30010 2006-02-23  Chris Burdess  <dog@gnu.org>
30011
30012         Fixes PR 26410
30013         * gnu/xml/dom/DomDocumentBuilderFactory.java,
30014           gnu/xml/dom/JAXPFactory.java,
30015           gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
30016           javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
30017           implement DocumentBuilderFactory.get/setFeature methods.
30018
30019 2006-02-23  Lillian Angel  <langel@redhat.com>
30020
30021         * gnu/java/awt/peer/GLightweightPeer.java
30022         (repaint): Scott's proposed fix. Send repaint to the
30023         component's parent.
30024         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30025         (setBounds): Removed next_parent, not needed. Removed
30026         lightweightChild, we always need to compensate for the
30027         menu bar's height.
30028         * java/awt/Component.java
30029         (setBounds): Removed check. Caused lots of problems, because some
30030         components were not being invalidated. Components should be
30031         invalidated when they are resized or moved, and in some cases,
30032         when a parent is resized/moved, the components do not know
30033         about it and do not adjust.
30034         * java/awt/Graphics.java
30035         (hitClip): Scott's proposed fix. Added check to handle a 
30036         null clip.
30037   
30038 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
30039   
30040         * javax/print/attribute/standard/MediaSize.java: 
30041         (media): Field renamed to mediaName for serialization.
30042         (MediaSize): Adapted to new fieldname.
30043         (getMediaSizeName): Likewise.
30044         * javax/print/attribute/HashAttributeSet.java: 
30045         (interfaceName): Field renamed to myInterface for serialization.
30046         (HashAttributeSet): Adapted to the new fieldname.
30047         (add): Likewise.
30048         (addAll): Likewise.
30049         (addInternal): Likewise.
30050         (attributeMap): Made transient.
30051         (readObject): New serialization method.
30052         (writeObject): Likewise.
30053         * javax/print/attribute/AttributeSetUtilities.java: 
30054         (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
30055         (SynchronizedAttributeSet.add): Adapted to the new fieldname.
30056         (SynchronizedAttributeSet.addAll): Likewise.
30057         (SynchronizedAttributeSet.clear): Likewise.
30058         (SynchronizedAttributeSet.containsKey): Likewise.
30059         (SynchronizedAttributeSet.containsValue): Likewise.     
30060         (SynchronizedAttributeSet.equals): Likewise.
30061         (SynchronizedAttributeSet.get): Likewise.
30062         (SynchronizedAttributeSet.hashCode): Likewise.  
30063         (SynchronizedAttributeSet.isEmpty): Likewise.
30064         (SynchronizedAttributeSet.remove): Likewise.    
30065         (SynchronizedAttributeSet.size): Likewise.      
30066         (SynchronizedAttributeSet.toArray): Likewise.   
30067         (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
30068         (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
30069         (UnmodifiableAttributeSet.addAll): Likewise.
30070         (UnmodifiableAttributeSet.clear): Likewise.
30071         (UnmodifiableAttributeSet.containsKey): Likewise.
30072         (UnmodifiableAttributeSet.containsValue): Likewise.     
30073         (UnmodifiableAttributeSet.equals): Likewise.
30074         (UnmodifiableAttributeSet.get): Likewise.
30075         (UnmodifiableAttributeSet.hashCode): Likewise.  
30076         (UnmodifiableAttributeSet.isEmpty): Likewise.
30077         (UnmodifiableAttributeSet.remove): Likewise.    
30078         (UnmodifiableAttributeSet.size): Likewise.      
30079         (UnmodifiableAttributeSet.toArray): Likewise.   
30080         * javax/print/attribute/standard/MediaPrintableArea.java: 
30081         (width): Field renamed to w for serialization.
30082         (height): Field renamed to h for serialization. 
30083         (MediaPrintableArea): Adapted to the new fieldnames.    
30084         (MediaPrintableArea): Likewise.
30085         (equals): Likewise.
30086         (hashCode): Likewise.
30087         (getHeight): Likewise.
30088         (getWidth): Likewise.
30089   
30090 2006-02-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
30091   
30092         * include/java_lang_VMMath.h:
30093         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
30094         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
30095         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
30096         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
30097         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
30098         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
30099         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
30100         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
30101         * java/lang/Math.java:
30102         (cbrt(double)): Implemented.
30103         (cosh(double)): Implemented.
30104         (expm1(double)): Implemented.
30105         (hypot(double,double)): Implemented.
30106         (log10(double)): Implemented.
30107         (log1p(double)): Implemented.
30108         (signum(double)): Implemented.
30109         (signum(float)): Implemented.
30110         (sinh(double)): Implemented.
30111         (tanh(double)): Implemented.
30112         * native/fdlibm/Makefile.am:
30113         Added new files from fdlibm 5.3.
30114         * native/fdlibm/e_acos.c,
30115         * native/fdlibm/e_asin.c,
30116         * native/fdlibm/e_atan2.c,
30117         * native/fdlibm/e_exp.c,
30118         * native/fdlibm/e_fmod.c,       
30119         * native/fdlibm/e_log.c,
30120         * native/fdlibm/e_rem_pio2.c,
30121         * native/fdlibm/e_remainder.c,
30122         * native/fdlibm/e_scalb.c,
30123         * native/fdlibm/e_sqrt.c,
30124         * native/fdlibm/k_cos.c,
30125         * native/fdlibm/k_rem_pio2.c,
30126         * native/fdlibm/k_sin.c,
30127         * native/fdlibm/k_tan.c,
30128         * native/fdlibm/s_atan.c,
30129         * native/fdlibm/s_ceil.c,
30130         * native/fdlibm/s_copysign.c,
30131         * native/fdlibm/s_cos.c,
30132         * native/fdlibm/s_fabs.c,
30133         * native/fdlibm/s_finite.c,
30134         * native/fdlibm/s_floor.c,
30135         * native/fdlibm/s_rint.c,
30136         * native/fdlibm/s_scalbn.c,
30137         * native/fdlibm/s_sin.c,
30138         * native/fdlibm/s_tan.c,
30139         * native/fdlibm/w_acos.c,
30140         * native/fdlibm/w_asin.c,
30141         * native/fdlibm/w_atan2.c,
30142         * native/fdlibm/w_acos.c,
30143         * native/fdlibm/w_exp.c,
30144         * native/fdlibm/w_fmod.c,
30145         * native/fdlibm/w_log.c,
30146         * native/fdlibm/w_pow.c,
30147         * native/fdlibm/w_remainder.c,
30148         * native/fdlibm/w_sqrt.c:
30149         Updated to fdlibm 5.3.
30150         * native/fdlibm/e_cosh.c,
30151         * native/fdlibm/e_hypot.c,
30152         * native/fdlibm/e_log10.c,
30153         * native/fdlibm/e_sinh.c,
30154         * native/fdlibm/s_cbrt.c,
30155         * native/fdlibm/s_expm1.c,
30156         * native/fdlibm/s_log1p.c,
30157         * native/fdlibm/s_tanh.c,
30158         * native/fdlibm/w_cosh.c,
30159         * native/fdlibm/w_hypot.c,
30160         * native/fdlibm/w_log10.c,
30161         * native/fdlibm/w_sinh.c:
30162         Imported from fdlibm 5.3.
30163         * native/fdlibm/fdlibm.h:
30164         Imported from fdlibm 5.3 with Classpath additions.
30165         * native/fdlibm/namespace.h:
30166         Updated from new math_symbols file.
30167         * native/jni/java-lang/java_lang_VMMath.c:
30168         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
30169         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
30170         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
30171         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
30172         Implemented.
30173         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
30174         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
30175         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
30176         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
30177         * scripts/math_symbols:
30178         Added tanh, expm1, log10 and log1p.
30179         * vm/reference/java/lang/VMMath.java:
30180         (cbrt(double)): Implemented.
30181         (cosh(double)): Implemented.
30182         (expm1(double)): Implemented.
30183         (hypot(double,double)): Implemented.
30184         (log10(double)): Implemented.
30185         (log1p(double)): Implemented.
30186         (sinh(double)): Implemented.
30187         (tanh(double)): Implemented.
30188         
30189 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
30190
30191         * javax/print/DocFlavor.java: Added documentation all over.
30192         (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
30193         (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
30194         (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
30195         (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
30196         (URL.TEXT_HTML_HOST): Likewise.
30197         (URL.TEXT_PLAIN_HOST): Likewise.
30198         (hostEncoding): Initialize with host default charset encoding.
30199         (mediaSubtype): Made transient.
30200         (mediaType): Likewise.
30201         (params): Made transient. Changed type to TreeMap.
30202         (className): Removed, changed to myClassName.
30203         (myClassName): New field as defined in serialized form.
30204         (DocFlavor): Adapted to new variable types, names.
30205         (parseMimeType): Reimplemented.
30206         (getParameter): Search with lowercase name.
30207         (getRepresentationClassName): Adapted to changed variable name.
30208         (hashCode): Likewise.
30209         (toString): Reimplemented.
30210         (readObject): New method for serialization.
30211         (writeObject): Likewise.
30212   
30213 2006-02-23  Roman Kennke  <kennke@aicas.com>
30214   
30215         * javax/swing/RepaintManager.java
30216         (commitBuffer): Clip the repaint area with the current clip.
30217   
30218 2006-02-23  Raif S. Naffah  <raif@swiftdsl.com.au>
30219   
30220         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
30221         (DEFAULT_PRIME_SIZE): Made public.
30222         (DEFAULT_EXPONENT_SIZE): Likewise.
30223         (setup): Handle DHParameterSpec as well.
30224         * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
30225         defaultFormat instead of Raw.
30226         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
30227         (checkIsConstructed): Removed.
30228         (checkIsBigInteger): Likewise.
30229         (decodePublicKey): Use DerUtil.
30230         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
30231         (checkIsConstructed): Removed.
30232         (checkIsBigInteger): Likewise.
30233         (decodePrivateKey): Use DerUtil.
30234         * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
30235         KeyAgreement.DH.
30236         Added mappings for AlgorithmParameters.DH and
30237         AlgorithmParameterGenerator.DH.
30238         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
30239         * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
30240         * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
30241         * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
30242         Return result.
30243         (engineGeneratePublic): Likewise.
30244         * gnu/java/security/util/DerUtil.java: New file.
30245         * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
30246         Include only valid RSA PKCS1 (v1.5) signature names.
30247         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
30248         (RSAPKCS1V1_5SignatureX509Codec): Removed.
30249         (checkIsConstructed): Likewise.
30250         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
30251         (checkIsConstructed): Removed.
30252         (checkIsBigInteger): Likewise.
30253         (decodeSignature): Use DerUtil.
30254         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
30255         (checkIsConstructed): Removed.
30256         (checkIsBigInteger): Likewise.
30257         (decodePublicKey): Use DerUtil.
30258         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
30259         (checkIsConstructed): Removed.
30260         (checkIsBigInteger): Likewise.
30261         (decodePrivateKey): Use DerUtil.
30262         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
30263         (checkIsConstructed): Removed.
30264         (checkIsBigInteger): Likewise.
30265         (decodePublicKey): Use DerUtil.
30266         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
30267         (checkIsConstructed): Removed.
30268         (checkIsBigInteger): Likewise.
30269         (decodePrivateKey): Use DerUtil.
30270         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
30271         (DEFAULT_MODULUS_LENGTH): Made it public.
30272         * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
30273         defaultFormat instead of Raw.
30274         * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
30275         * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
30276         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
30277         Return result.
30278         (engineGeneratePublic): Likewise.
30279         * gnu/javax/crypto/DiffieHellmanImpl: Removed.
30280
30281 2006-02-22  Anthony Balkissoon  <abalkiss@redhat.com>
30282
30283         * java/math/BigDecimal.java:
30284         (BigDecimal(char[], int, int, MathContext)): New constructor.
30285         (BigDecimal(char[], MathContext)): Likewise.
30286         (BigDecimal(char[])): Likewise.
30287         (BigDecimal(char[], int, int)): Likewise.
30288         (BigDecimal(String)): Fixed handling of exponent and scale.
30289
30290 2006-02-22  Mark Wielaard  <mark@klomp.org>
30291
30292         * java/awt/Checkbox.java (setState): Check that state actually changed
30293         before calling peer.
30294         (dispatchEventImpl): Set new state if ItemEvent.
30295         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
30296         (create): Set currentState.
30297         (setState): Make synchronized, check and set currentState before
30298         calling gtkToggleButtonSetActive.
30299         (postItemEvent): Make synchronized, check and set currentState before
30300         posting ItemEvent.
30301         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
30302         (postItemEventID): Method now takes boolean.
30303         (item_toggled_cb): Likewise.
30304   
30305 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30306   
30307         * javax/swing/text/DefaultHighlighter.java:
30308         (changeHighlight): Added code to minimize the damaged area.
30309   
30310 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30311   
30312         * javax/swing/text/PlainView.java:
30313         (getPreferredSpan): Added missing 'break'.
30314         statement which corrects an unwanted fall through.
30315         (updateDamage): Update maxLineLength correctly when text is
30316         removed, call preferenceChanged accordingly.
30317         (viewToModel): Restrict line number to be within 0 and the
30318         number of elements-1.
30319   
30320 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30321   
30322         * javax/swing/text/Utilities.java:
30323         (getPositionAbove): Prefer first value by changing comparison
30324         from < to <=.
30325         (getPositionBelow): Dito.
30326   
30327 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30328   
30329         * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
30330         behavior when magic caret position is null.
30331   
30332 2006-02-22  Roman Kennke  <kennke@aicas.com>
30333   
30334         * javax/swing/JTextField.java
30335         (isValidateRoot): New method.
30336   
30337 2006-02-22  Roman Kennke  <kennke@aicas.com>
30338   
30339         * javax/swing/JEditorPane.java
30340         (getPreferredSize): Rewritten to behave like the reference impl.
30341         (getScrollableTracksViewportWidth): Likewise.
30342         (getScrollableTracksViewportHeight): Likewise.
30343   
30344 2006-02-22  Roman Kennke  <kennke@aicas.com>
30345   
30346         * javax/swing/RepaintManager.java
30347         (addInvalidComponent): Also consider the component itself.
30348   
30349 2006-02-22  Mark Wielaard  <mark@klomp.org>
30350   
30351         * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
30352         qualify AbstractDocument.AttributeContext.
30353         (blockOpen): Likewise.
30354   
30355 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
30356
30357         * java/math/BigDecimal.java:
30358         (mathContext): New field.
30359         (precision): Likewise.
30360         (BigDecimal(int)): New constructor.
30361         (BigDecimal(long)): Likewise.
30362         (BigDecimal(BigInteger)): Added API docs.
30363         (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
30364         and added API docs.
30365         (plus): New method.
30366         (round): Likewise.
30367         (precision): Likewise.
30368         (valueOf): Likewise.
30369         (numDigitsInLong): New implementation method.
30370
30371 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
30372
30373         * java/math/MathContext.java: New class.
30374         * java/math/RoundingMode: New Enum.
30375
30376 2006-02-21  Mark Wielaard  <mark@klomp.org>
30377   
30378         * java/awt/Component.java (translateEvent): Translate
30379         AdjustmentEvents to 1.0 Events.
30380         * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
30381         Call setValue() before processing event.
30382         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
30383         whether we are currently changing and being called back from the
30384         Scrollbar component.
30385         (setBarValues): New native method.
30386         (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
30387         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
30388         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
30389         Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
30390         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
30391   
30392 2006-02-21  Roman Kennke  <kennke@aicas.com>
30393   
30394         * javax/swing/text/View.java
30395         (setParent): Set child parent to null when disconnecting
30396         the view from the View hierarchy.
30397   
30398 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
30399   
30400         * javax/print/StreamPrintService.java: Added and enhanced documentation.
30401   
30402 2006-02-21  Roman Kennke  <kennke@aicas.com>
30403   
30404         * javax/swing/text/WrappedPlainView.java
30405         (calculateBreakPosition): Changed to use the view's allocation instead
30406         of the container's preferredSize.
30407   
30408 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
30409   
30410         * java/awt/CardLayout.java:
30411         (first): Updated api documentation.
30412         (last): Likewise.
30413         (next): Likewise.
30414         (previous): Likewise.
30415         (show): Clarified api docs. Return if name is null. Throw
30416         IllegalArgumentException if layout of container is not this.
30417         (gotoComponent): Updated api documentation. Throw
30418         IllegalArgumentException if layout of container is not this.
30419   
30420 2006-02-21  Roman Kennke  <kennke@aicas.com>
30421   
30422         * javax/swing/text/NavigationFilter.java
30423         (getNextVisualPositionFrom): New method.
30424   
30425 2006-02-21  Roman Kennke  <kennke@aicas.com>
30426   
30427         * javax/swing/plaf/basic/BasicTextUI.java
30428         (RootView.setView): Call setParent() on the view with this as
30429         argument instead of null.
30430         (setView): Don't set root view's parent here.
30431   
30432 2006-02-21  Roman Kennke  <kennke@aicas.com>
30433   
30434         * javax/swing/text/AbstractDocument.java
30435         (AbstractElement.getAttribute): Use getResolveParent() to fetch
30436         the resolving parent.
30437         (AbstractElement.getResolveParent): Fixed to handle possible null
30438         parent.
30439         * javax/swing/text/BoxView.java
30440         (childReqs): New field.
30441         (paint): Added debugging code (commented out).
30442         (getPreferredSpan): Rewritten to use new update* methods.
30443         (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30444         for the minor axis and preferredSpan for the major axis.
30445         (getMinimumSpan): Rewritten to use new update* methods.
30446         (baselineRequirements): Rewritten to avoid creation of 
30447         unnecessary SizeRequirements objects.
30448         (baselineLayout): Rewritten to use new update* methods.
30449         (calculateMajorAxisRequirements): Rewritten to avoid creation of 
30450         unnecessary SizeRequirements objects.
30451         (calculateMinorAxisRequirements): Rewritten to avoid creation of 
30452         unnecessary SizeRequirements objects.
30453         (layout): Some robustness fixes for the layout. Turned AssertionErrors
30454         into warnings.
30455         (layoutMajorAxis): Rewritten to use new update* methods.
30456         (layoutMinorAxis): Rewritten to use new update* methods.
30457         (getChildRequirements): Replaced by the update* methods.
30458         (getAlignment): Use update* methods.
30459         (updateChildRequirements): New methods. Updates the child requirements
30460         if necessary.
30461         (updateRequirements): New methods. Updates the BoxView requirements
30462         if necessary.
30463         * javax/swing/text/DefaultStyledDocument.java
30464         (ElementBuffer.insert): Added warning for illegal replacement operation.
30465         * javax/swing/text/FlowView.java
30466         (layoutRow): When offset doesn't change, return -1.
30467         (LogicalView): Now subclasses BoxView.
30468         (loadChildren): Let the CompositeView.setParent() load the children
30469         of the logicalView.
30470         (calculateMinorRequirements): New overridden method.
30471         * javax/swing/text/GlyphView.java
30472         (DefaultGlyphPainter.paint): Fixed typo.
30473         (startOffset): Made field private.
30474         (endOffset): Made field private.
30475         (paint): Call getStartOffset() and getEndOffset() instead of the
30476         element methods.
30477         (isStrikeThrough): Fixed typo.
30478         (breakView): Use Utilities.getBreakLocation() to determine best
30479         break location.
30480         (changedUpdate): Call preferencedChange on this instead of parent.
30481         (removeUpdate): Call preferencedChange on this instead of parent.
30482         * javax/swing/text/ParagraphView.java
30483         (Row.getAlignment): For Y_AXIS, call super.
30484         (getAlignment): Likewise.
30485         * javax/swing/text/Utilities.java
30486         (getBreakLocation): Set Segment object directly on the BreakIterator.
30487         * javax/swing/text/html/HTML.java
30488         (Attribute): Made class non-serializable and final as specified.
30489         (Attribute(String)): Made constructor private.
30490         (Attribute.compareTo): Removed.
30491         (Attribute.equals): Removed.
30492         (Attribute.hashCode): Removed.
30493         (Tag): Made class non-comparable and non-serializable as specified.
30494         (Tag.compareTo): Removed.
30495         (Tag.equals): Removed.
30496         (Tag.hashCode): Removed.
30497         * javax/swing/text/html/HTMLDocument.java
30498         (HTMLReader.blockOpen): Add tag as name attribute to element.
30499         * javax/swing/text/html/HTMLEditorKit.java
30500         (HTMLFactory.create): Create NullView for <head> tags, removed unused
30501         fallback.
30502         * javax/swing/text/html/InlineView.java
30503         (setPropertiesFromAttributes): Call super.
30504         * javax/swing/text/html/NullView.java: New class.
30505   
30506 2006-02-21  Roman Kennke  <kennke@aicas.com>
30507   
30508         PR classpath/26368
30509         * javax/swing/text/GapContent.java
30510         (GapContentPosition): Made class private.
30511         (InsertUndo): Made class private.
30512         (UndoRemove): Made class private.
30513         (WeakPositionComparator): New inner class.
30514         (positions): Made field private.
30515         (createPosition): Clear up GC'ed positions before creating
30516         a new one. Store position as WeakReference.
30517         (getPositionsInRange): Changed to handle WeakReference
30518         positions.
30519         (setPositionsInRange): Changed to handle WeakReference
30520         positions.
30521         (adjustPositionsInRange): Changed to handle WeakReference
30522         positions.
30523         (dumpPositions): Handle WeakReference positions.
30524         (clearPositionReferences): New method.
30525   
30526 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
30527   
30528         * javax/swing/plaf/basic/BasicTextUI.java:
30529         (paint): Remove unneccessary part of the if-expression.
30530         (damageRange): Added case where the range spans multiple lines.
30531         * javax/swing/text/DefaultCaret.java:
30532         (clearHighlight): New method.
30533         (handleHighlight): Removed unneccessary part of the if-expression.
30534         (setDot): Use clearHighlight method.
30535         * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30536         of Vector.
30537         (paint): Prevented calling size() on every loop iteration, fixed
30538         calculation of allocation area bounds.
30539         (getHighlights): Implemented.
30540         (removeHighlight): Mark damaged area in textcomponent.
30541         (addHighlight): Mark damaged area in textcomponent.
30542         (changeHighlight): Mark damaged area in textcomponent.
30543         (DefaultHighlighter.HighlightEntry): Made it a real
30544         Highlighter.Highlight implementation.
30545         (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30546         calculations.
30547
30548 2006-02-20  Stuart Ballard  <stuart.a.ballard@gmail.com>
30549
30550         * java/util/zip/ZipConstants.java
30551         (LOCSIG): Change type to long.
30552         (EXTSIG): Likewise.
30553         (CENSIG): Likewise.
30554         (ENDSIG): Likewise.
30555         * java/util/zip/ZipOutputStream.java
30556         (writeLeInt(long)): New method.
30557   
30558 2006-02-21  Michael Koch  <konqueror@gmx.de>
30559   
30560         * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30561   
30562 2006-02-20  Mark Wielaard  <mark@klomp.org>
30563   
30564         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30565         (begin_drawing_operation): Output stacktrace and return on bad cairo
30566         status.
30567         (end_drawing_operation): Likewise. And reset cairo_t.
30568   
30569 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30570   
30571         * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30572         in backward selection action.
30573   
30574 2006-02-20  Olivier Jolly  <olivier.jolly@pcedev.com>
30575   
30576         * java/lang/reflect/Proxy.java:
30577         (ProxyData.getProxyData): Skipped overriding of core methods.
30578         (ProxyData.isCoreObjectMethod): New method.
30579   
30580 2006-02-20  Mark Wielaard  <mark@klomp.org>
30581   
30582         * gnu/java/nio/charset/Provider.java (Provider): Package private.
30583   
30584 2006-02-20  Roman Kennke  <kennke@aicas.com>
30585   
30586         * javax/swing/text/html/Option.java: New class.
30587   
30588 2006-02-20  Lillian Angel  <langel@redhat.com>
30589   
30590         * java/swt/Window.java
30591         (show): Calling show() on the owned windows caused problems.
30592         Changed back to get the peer and call setVisible.
30593   
30594 2006-02-20  Roman Kennke  <kennke@aicas.com>
30595   
30596         * javax/swing/plaf/basic/BasicTextUI.java
30597         (damageRange): Implemented this method.
30598   
30599 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30600   
30601         * javax/swing/text/GapContent.java:
30602         (shiftGapEndUp): Corrected new mark value.
30603         * javax/swing/text/AbstractDocument.java:
30604         (remove): Changed order of operations.
30605   
30606 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30607   
30608         * javax/swing/text/GapContent.java:
30609         (shiftGapEndUp): Reverted.
30610         * javax/swing/text/AbstractDocument.java:
30611         (remove): Reverted.
30612   
30613 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30614   
30615         * javax/swing/text/GapContent.java:
30616         (shiftGapEndUp): Corrected new mark value.
30617         * javax/swing/text/AbstractDocument.java:
30618         (remove): Changed order of operations.
30619   
30620 2006-02-20  Mark Wielaard  <mark@klomp.org>
30621   
30622         * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30623         parent field.
30624         (insert): Likewise.
30625         (addNotify): Add the item after addNotifying it.
30626         * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30627         there is a peer. Use getParent() and setParent() to manipulate parent
30628         field.
30629         (add(Menu)): Use getParent() and setParent() to manipulate parent
30630         field. Call addNotify() and addMenu() when there is a peer.
30631         (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30632         (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30633         when there is a peer.
30634         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30635         (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30636         (setFont): Call setFont(Font).
30637         (setFont(Font)): Document. Only set font when not null.
30638         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30639         protected.
30640         (connectSignals): Likewise.
30641         (GtkMenuItemPeer): Document. Don't try to add item. Always call
30642         connectSignals().
30643         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30644         protected.
30645         (postMenuActionEvent): Document.
30646         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30647         protected.
30648         (addItem): Document. Made private.
30649         (addTearOff): Made private.
30650         (connectSignals): New protected overridden method.
30651         (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30652         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30653         (create): Document.
30654         (addMenu): Made private, take GtkMenuPeer as argument and document.
30655         (GtkMenuBarPeer): Document.
30656         (nativeSetHelpMenu): Removed.
30657         (addHelpMenu): Implement.
30658         (delMenu): Document.
30659         (addMenu): Implement.
30660         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30661         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30662         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30663         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30664         Removed.
30665   
30666 2006-02-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30667   
30668         * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30669         Expect that proxy interfaces may have different class loaders.
30670         * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30671         * java/rmi/registry/Registry.java,
30672         * java/rmi/server/UnicastRemoteObject.java: 
30673         Documented about proxy stubs.
30674         * gnu/java/rmi/server/CombinedClassLoader.java,
30675         java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30676         * NEWS: Added entry.
30677
30678 2006-02-19  Mark Wielaard  <mark@klomp.org>
30679
30680         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30681         Parent and Bounds of our children if either or parent is showing, or
30682         we are a Window and are showing ourselves now.
30683   
30684 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30685   
30686         * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName): 
30687         New method.
30688         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: 
30689         Another stub name fix.
30690   
30691 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30692   
30693         * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30694         Call convertStubName. (convertStubName): New method.
30695         * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30696         * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java 
30697         (convertStubName): New method.
30698         (getMethodHashCode): 
30699         Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30700         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30701
30702 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30703
30704         * java/rmi/server/UnicastRemoteObject.java: Documenting. 
30705
30706 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30707
30708         * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30709
30710 2006-02-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30711
30712         * javax/swing/JViewport.java (paintBackingStore): If the component has
30713         not been scrolled, only repaint the buffer part, indicated by
30714         the parameter graphics clip. 
30715      
30716 2006-02-19  Raif S. Naffah  <raif@swiftdsl.com.au>
30717
30718         * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30719         internal format.
30720         (writePrivateKey): Likewise.
30721         (writeKey): New method.
30722         (getKeyType): Likewise.
30723         * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30724         internal format.
30725         (readPrivateKey): Likewise.
30726         (getKeyPairCodec): New method.
30727         * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30728         * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30729         * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30730         (RSA_PSS_ENCODING): Likewise..
30731         (RSA_PKCS1_V1_5_ENCODING): Likewise.
30732         (RSA_PSS_SIG): Redefined using other constants.
30733         (RSA_PKCS1_V1_5_SIG): Likewise.
30734         (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30735         * gnu/java/security/util/FormatUtil.java: New file.
30736         * gnu/java/security/sig/SignatureFactory.java (names): New field.
30737         (getInstance): Let RSASignatureFactory handle RSA signature names.
30738         (getNames): Handle new RSA signature (with format) names.
30739         * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30740         * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30741         for null md.
30742         (name): Include hash algorithm name.
30743         * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30744         * gnu/java/security/sig/rsa/RSAPSSSignature.java
30745         (RSAPSSSignature): Call constructor with IMessageDigest.
30746         (RSAPSSSignature(ImessageDigest,int)): New constructor.
30747         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30748         file.
30749         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30750         Likewise.
30751         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30752         (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30753         (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30754         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30755         hash algorithm name to exception.
30756         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30757         * gnu/java/security/key/KeyPairCodecFactory.java
30758         (names): New class field.
30759         (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30760         (getInstance(String,String)): New method.
30761         (getInstance(String,int)): New method.
30762         (getInstance(byte[])): Removed.
30763         (getInstance(Key)): Handle new formats.
30764         (getNames): Likewise.
30765         (getEncodingName(int)): Moved to FormatUtil.
30766         (getEncodingShortName(int)): Likewise.
30767         (getRawCodec(String)): New method.
30768         (getX509Codec(String)): Likewise.
30769         (getPKCS8Codec(String)): Likewise.
30770         (getRawCodec(Key)): Likewise.
30771         (getX509Codec(Key)): Likewise.
30772         (getPKCS8Codec(Key)): Likewise.
30773         * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30774         * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30775         * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30776         * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30777         * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30778         * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30779         * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30780         * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30781         * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30782
30783 2006-02-18  Mark Wielaard  <mark@klomp.org>
30784
30785         * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30786         DragSource.
30787         (NoDragGestureRecognizer): New static class.
30788         (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30789         Toolkit doesn't support drag and drop.
30790
30791 2006-02-18  Mark Wielaard  <mark@klomp.org>
30792
30793         * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30794         (AbstractAction(String)): Just call putValue() for NAME.
30795         (putValue): Nothing to do is old and new value are both null.
30796
30797 2006-02-18  Mark Wielaard  <mark@klomp.org>
30798
30799         * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30800         through getContentPane().
30801         (preferredLayoutSize): Likewise.
30802
30803 2006-02-18  Mark Wielaard  <mark@klomp.org>
30804
30805         * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30806         actually set before painting.
30807
30808 2006-02-18  Mark Wielaard  <mark@klomp.org>
30809
30810         * javax/swing/text/html/HTMLDocument.java (addContent):
30811         Fully qualify AbstractDocument.AttributeContext and
30812         DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30813
30814 2006-02-18  Mark Wielaard  <mark@klomp.org>
30815
30816         * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30817         (getRepresentationClassFromMime): Add exception cause to
30818         IllegalArgumentException.
30819   
30820 2006-02-17  Lillian Angel  <langel@redhat.com>
30821   
30822         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30823         Removed unneeded import.
30824         * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30825         Removed unneeded imports.
30826         * java/awt/BorderLayout.java:
30827         Fixed comment, this is not yet handled in the JDK 1.5.
30828         * java/awt/Container.java:
30829         Removed unneeded import.
30830   
30831 2006-02-17  Lillian Angel  <langel@redhat.com>
30832   
30833         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30834         (setBounds): Removed check. Coordinates should always be changed
30835         to incorporate the parent's coordinates.
30836         * gnu/java/awt/peer/gtk/GtkFramePeer.java
30837         (setMenuBar): Added checks. Don't validate component if it has 
30838         not been validated yet, it will be validated later. Only validate
30839         if it has already been validated, in that case it needs to be
30840         revalidated.
30841         * java/awt/Window.java
30842         (show): Added check. If the window is visible, then bring it to the
30843         front. Otherwise, iterate through all its children windows and show them.
30844         No need to do both.
30845
30846 2006-02-17  Roman Kennke  <kennke@aicas.com>
30847
30848         * javax/swing/text/html/ParagraphView.java: New file.
30849
30850 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30851
30852         * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30853         is included. (moveToCellBeingEdited): Adjusted to start editing at the
30854         same location where was the initial text.
30855         * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30856
30857 2006-02-17  Chris Burdess  <dog@gnu.org>
30858
30859         Fixes PRs 26319, 26320, 26321, 26322, 26325
30860         * gnu/xml/stream/SAXParser.java: On error, reset parser before
30861           rethrowing exception.
30862         * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30863           1.1-style prefix unbinding in 1.0 document" error for xmlns
30864           prefixes, not xmlns attributes. Fix a problem with empty namespace
30865           stack at the end of a document. Permit parameter entity references
30866           in element and attribute-list definition name area. Corrected
30867           normalisation of whitespace character entity references in CDATA
30868           attribute values. Fixed number of characters read following a
30869           reset when detecting end of character data with characters after a
30870           Unicode surrogate pair.
30871   
30872 2006-02-17  Roman Kennke  <kennke@aicas.com>
30873   
30874         * javax/swing/text/html/HTMLEditorKit.java
30875         (HTMLFactory.create): Create InlineView for content tags.
30876         * javax/swing/text/html/HTMLDocument.java
30877         (HTMLReader.flush): Call create() on first flush and insert
30878         on subsequent flushes.
30879   
30880 2006-02-17  Roman Kennke  <kennke@aicas.com>
30881   
30882         * javax/swing/text/AbstractDocument.java
30883         (BranchElement.getStartOffset): Implemented workaround for wrong
30884         NPE.
30885         (BranchElement.getEndOffset): Implemented workaround for wrong
30886         NPE.
30887         (ElementBuffer.split): Use createBranchElement() instead of
30888         new BranchElement().
30889         (ElementBuffer.insertFracture): Use createBranchElement() instead of
30890         new BranchElement().
30891         (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30892         instead of new BranchElement().
30893         (createDefaultRoot): Use createBranchElement() and createLeafElement
30894         instead of the constructors.
30895         (create): Rewritten.
30896   
30897 2006-02-17  Keith Seitz  <keiths@redhat.com>
30898   
30899         * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30900         (SIZE): New constant.
30901         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30902         (executeIDsizes): Use SIZE constant.
30903         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30904         (SIZE): New constant.
30905
30906 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30907
30908         * javax/swing/JTable.java (IconCellRenderer): Set the component
30909         text to empty string. (createDefaultRenderers): Register
30910         IconCellRenderer also for ImageIcon. 
30911         (getCellEditor(int, int), getCellRenderer(int, int)):
30912         Use model index for data model and column index for column model.
30913         (getColumnClass): Convert to model index before requesting class
30914         from model. 
30915   
30916 2006-02-17  Roman Kennke  <kennke@aicas.com>
30917   
30918         * javax/swing/text/html/HTMLDocument.java
30919         (createDefaultRoot): Implemented.
30920         (createLeafElement): Implemented.
30921         (createBranchElement): Implemented.
30922         (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30923         (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30924         (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30925         (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30926         (HTMLReader.blockOpen): Add name attribute with the current tag.
30927         (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30928   
30929 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30930   
30931         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30932         Rewritten.
30933         * javax/swing/table/JTableHeader.java: Documenting related methods.
30934   
30935 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
30936   
30937         Fixes PR 25752
30938         * gnu/java/net/protocol/ftp/FTPURLConnection.java
30939         (connect): Changed to use SystemProperties.
30940         (getInputStream): Try changeWorkingDirectory to figure out if
30941         url is a directory, if not use retrieve.
30942         (getOutputStream): Don't worry about directories, simply always
30943         try to do a store.
30944   
30945 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
30946   
30947         * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30948         (ActiveModeDTP): Mark accept thread as daemon.
30949   
30950 2006-02-17  Michael Koch  <konqueror@gmx.de>
30951   
30952         * tools/.cvsignore: Ignore tools.zip.
30953   
30954 2006-02-16  Keith Seitz  <keiths@redhat.com>
30955   
30956         * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30957         Set the ID's reference.
30958         (<clinit>): Remove comments for field, method, and frame ID types,
30959         which will not be handled by VMIdManager.
30960   
30961 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30962   
30963         * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30964         Use model index, not the column number.
30965         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30966         Rewritten. (draggingHeaderRect): New field. (paint): Animate column 
30967         movement by painting draggingHeaderRect.
30968         * NEWS: Added entry about JTable columns. 
30969   
30970 2006-02-16  Keith Seitz  <keiths@redhat.com>
30971   
30972         * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30973         default size of eight bytes.
30974         * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30975         * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30976         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30977         (executeIDsizes): Use new static methods.
30978         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30979         method.
30980         
30981 2006-02-16  David Daney  <ddaney@avtrex.com>
30982   
30983         PR classpath/26312
30984         * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30985         return value with 0xff.
30986   
30987 2006-02-16  Keith Seitz  <keiths@redhat.com>
30988   
30989         * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30990         (matches): Use Iterator instead of ListIterator.
30991   
30992 2006-02-16  Keith Seitz  <keiths@redhat.com>
30993   
30994         * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30995         processor thread for easier debugging.
30996         (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30997         main thread.
30998   
30999 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31000   
31001         * javax/swing/JTable.java 
31002         (TableColumnPropertyChangeHandler.propertyChange): Return without
31003         action if table header resizing column in not null. (doLayout):
31004         Only repaint the header if it is not null.      
31005         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
31006         (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
31007         Rewritten. (MouseInputHandler.endResizing): New method.
31008   
31009 2006-02-16  Roman Kennke  <kennke@aicas.com>
31010   
31011         * javax/swing/text/html/InlineView.java: New file.
31012   
31013 2006-02-16  Roman Kennke  <kennke@aicas.com>
31014   
31015         * javax/swing/JTabbedPane.java
31016         (AccessibleJTable.getAccessibleChild): Implemented to return
31017         the Page instance for the specified index.
31018         (Page): Changed to implement Accessible and extend
31019         AccessibleContext.
31020         (Page.getAccessibleContext): New method.
31021         (Page.getAccessibleRole): New method.
31022         (Page.getAccessibleStateSet): New method.
31023         (Page.getAccessibleIndexInParent): New method.
31024         (Page.getAccessibleChildrenCount): New method.
31025         (Page.getAccessibleChild): New methdod.
31026         (Page.getLocale): New method.
31027   
31028 2006-02-16  Roman Kennke  <kennke@aicas.com>
31029   
31030         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
31031         (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
31032         tabCount gets greater than tabRuns.length.
31033         (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
31034         when tabCount gets greater than tabRuns.length.
31035         (paintTabArea): Don't set tabCount == runCount.
31036   
31037 2006-02-16  Roman Kennke  <kennke@aicas.com>
31038   
31039         * javax/swing/plaf/basic/BasicTextUI.java
31040         (installUI): Moved installation of PropertyChangeListener
31041         to installListeners(). Call modelChanged() after everything is
31042         is installed.
31043         (installListeners): Install PropertyChangeListener here.
31044         (uninstallUI): Moved uninstallation of PropertyChangeListener
31045         to uninstallListeners.
31046         (uninstallListeners): Uninstall PropertyChangeListener here.
31047
31048 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31049
31050         * javax/swing/JTable.java (doLayout): 
31051         case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
31052         on exit.
31053         javax/swing/plaf/basic/BasicTableHeaderUI.java 
31054         (MouseInputHandler.mouseDragged): Do not repaint the header.
31055   
31056 2006-02-16  Roman Kennke  <kennke@aicas.com>
31057   
31058         * javax/swing/JViewport.java
31059         (static_initializer): Set default scrollMode to backingstore.
31060   
31061 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31062   
31063         * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
31064         returned by getCellRect. To not translate the component.
31065   
31066 2006-02-16  Roman Kennke  <kennke@aicas.com>
31067   
31068         * javax/swing/JComponent.java
31069         (rectCache): Made field non-static to avoid nasty interferences.
31070         (computeVisibleRect): Avoid creation of new Rectangles and double
31071         calculations on ints by using Swing.computeIntersection() instead
31072         of Rectangle2D.intersect().
31073         (repaint): Interect the dirty region with the visible rectangle
31074         of this component to avoid unnecessary painting.
31075   
31076 2006-02-16  Gary Benson  <gbenson@redhat.com>
31077   
31078         * java/lang/Thread.java (stop): Add a missing access check.
31079   
31080 2006-02-16  Robert Schuster  <robertschuster@fsfe.org>
31081   
31082         * javax/swing/text/JTextComponent.java:
31083         (replaceSelection): Added code to update the magic caret position.
31084         * javax/swing/text/DefaultEditorKit.java: Added code to update
31085         the magic caret position of the text component in all relevant
31086         movement actions, make use of the magic caret position in up
31087         and down movements and selections, simplified some actions
31088         (code-wise).
31089
31090 2006-02-15  Anthony Balkissoon  <abalkiss@redhat.com>
31091
31092         * gnu/java/lang/CharData.java: Regenerated from 
31093         doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
31094         and scripts/unicode-muncher.pl.
31095         * java/lang/Character.java: 
31096         (PrivateUseCharacters): New private static class.
31097         (UnassignedCharacters): Likewise.
31098         (blocks): Changed from char[] to char[][] to reflect the changes in 
31099         gnu/java/lang/CharData.  There is now one char[] per Unicode code
31100         plane.
31101         (data): Likewise.
31102         (numValue): Likewise.
31103         (upper): Likewise.
31104         (lower): Likewise.
31105         (direction): Likewise.
31106         (readChar): Replaced this method with new method readCodePoint.
31107         (readCodePoint): New method.
31108         (isLowerCase(char)): Redirected to new isLowerCase(int).
31109         (isLowerCase(int)): New method.
31110         (isUpperCase(char)): Redirected to new isUpperCase(int).
31111         (isUpperCase(int)): New method.
31112         (isTitleCase(char)): Redirected to new isTitleCase(int).
31113         (isTitleCase(int)): New method.
31114         (isDigit(char)): Redirected to new isDigit(int).
31115         (isDigit(int)): New method.
31116         (isDefined(char)): Redirected to new isDefined(int).
31117         (isDefined(int)): New method.
31118         (isLetter(char)): Redirected to new isLetter(int).
31119         (isLetter(int)): New method.
31120         (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
31121         (isLetterOrDigit(int)): New method.
31122         (isJavaIdentifierStart(char)): Redirected to new 
31123         isJavaIdentifierStart(int).
31124         (isJavaIdentifierStart(int)): New method.
31125         (isJavaIdentifierPart(char)): Redirected to new 
31126         isJavaIdentifierPart(int).
31127         (isJavaIdentifierPart(int)): New method.
31128         (isUnicodeIdentifierStart(char)): Redirected to new
31129         isUnicodeIdentifierStart(int).
31130         (isUnicodeIdentifierStart(int)): New method.
31131         (isUnicodeIdentifierPart(char)): Redirected to new 
31132         isUnicodeIdentifierPart(int).
31133         (isUnicodeIdentifierPart(int)): New method.
31134         (isIdentifierIgnorable(char)): Redirected to new
31135         isIdentifierIgnorable(int).
31136         (isIdentifierIgnorable(int)): New method.
31137         (toLowerCase(char)): Changed access to lower to correspond with new
31138         char[][] type of lower.
31139         (toLowerCase(int)) New method.
31140         (toUpperCase(char)): Changed access to upper to correspond with new
31141         char[][] type of upper.
31142         (toUpperCase(int)): New method.
31143         (toTitleCase(int)): New method.
31144         (digit(char, int)): Replaced call to readChar with call to 
31145         readCodePoint and changed access to numValue to reflect new char[][]
31146         type of numValue. 
31147         (digit(int, int)): New method.
31148         (getNumericValue(char)): Changed access to numValue to reflect new
31149         char[][] type of numValue.
31150         (getNumericValue(int)): New method.
31151         (isSpaceChar(char)): Redirected to new isSpaceChar(int).
31152         (isSpaceChar(int)): New method.
31153         (isWhitespace(char)): Redirected to new isWhitespace(int).
31154         (isWhitespace(int)): New method.
31155         (isISOControl(char)): Redirected to new isISOControl(int).
31156         (isISOControl(int)): New method.
31157         (getType(char)): Redirected to new getType(int).
31158         (getType(int)): New method.
31159         (getDirectionality(char)): Redirected to new getDirectionality(int).
31160         (getDirectionality(int)): New method.
31161         (isMirrored(char)): Changed call to readChar to readCodePoint.
31162         (isMirrored(int)): New method.
31163         * java/lang/String.java:
31164         (upperCaseExpansion): Changed access to Character.direction to reflect
31165         new char[][] type of direction.
31166         (offsetByCodePoints): New method.
31167         * scripts/unicode-muncher.pl: Adapted this script to handle Unicode 
31168         4.0.0 which introduced supplementary character assignments.  
31169
31170 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31171
31172         * javax/swing/JTable.java,
31173         javax/swing/plaf/basic/BasicTableHeaderUI.java,
31174         javax/swing/table/DefaultTableModel.java: Documented.
31175   
31176 2006-02-15  Lillian Angel  <langel@redhat.com>
31177   
31178         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
31179         Removed duplicate methods.
31180   
31181 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31182   
31183         * javax/swing/JTable.java (distributeSpillResizing): New method.
31184         (doLayout): Use distributeSpillResizing when resizing.
31185         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31186         Rewritten. (installListeners): Add mouse motion listener. 
31187         (uninstallListeners): Remove mouse motion listener. 
31188   
31189 2006-02-15  Lillian Angel  <langel@redhat.com>
31190   
31191         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31192         (setVisible): Removed method.
31193         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31194         (setLocation): New method.
31195         (setLocationUnlocked): New method.
31196         (show): Changed to use setLocation instead of setBounds.
31197         * java/awt/Component.java
31198         (show): Should call peer.show(), not peer.setVisible(), so the
31199         location of the component is correctly set.
31200         (preferredSize): Added curly braces so else statements are
31201         properly associated with if's.
31202         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31203         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation): 
31204         New function.
31205         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
31206         LocationUnlocked): New function.
31207         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
31208         Added declarations for Java_gnu_java_awt_peer_gtk_
31209         GtkWindowPeer_nativeSetLocation and 
31210         Java_gnu_java_awt_peer_gtk_GtkWindowPeer
31211         _nativeSetLocationUnlocked.
31212   
31213 2006-02-15  Mark Wielaard  <mark@klomp.org>
31214   
31215         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31216         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31217         Downcast gtk_plug_new result when used.
31218   
31219 2006-02-15  Olivier Jolly  <olivier.jolly@pcedev.com>
31220   
31221         * java/io/ObjectOutputStream.java (writeClassDescriptor):
31222         Call assignNewHandle() after writing Proxy class.
31223   
31224 2006-02-15  Olivier jolly  <olivier.jolly@pcedev.com>
31225   
31226         Fixes bug #14144
31227         * java/io/ObjectInputStream.java (readClassDescriptor):
31228         Class doesn't have to be abstract for first_nonserial.
31229   
31230 2006-02-15  Roman Kennke  <kennke@aicas.com>
31231   
31232         * javax/swing/JInternalFrame.java
31233         (setClosed): Call dispose to actually make the frame invisible
31234         and unselected.
31235   
31236 2006-02-15  Roman Kennke  <kennke@aicas.com>
31237   
31238         * javax/swing/JInternalFrame.java
31239         (dispose): Call setVisible(false) instead of hide.
31240         (doDefaultCloseOperation): Likewise.
31241   
31242 2006-02-15  Roman Kennke  <kennke@aicas.com>
31243   
31244         * javax/swing/JComponent.java
31245         (paintChildren): Also check for the visibility of a child component
31246         to avoid artifacts.
31247         (repaint): Simply add this component to the RepaintManager rather than
31248         trying to do useless optimization here.
31249   
31250 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
31251   
31252         * javax/swing/JSpinner.java
31253         (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a 
31254         PropertyChangeListener,
31255         (DefaultEditor.getSpinner): Updated API docs,
31256         (DefaultEditor.dismiss): Likewise,
31257         (DefaultEditor.getTextField): Likewise,
31258         (DefaultEditor.layoutContainer): Likewise,
31259         (DefaultEditor.minimumLayoutSize): Likewise,
31260         (DefaultEditor.preferredLayoutSize): Likewise,
31261         (DefaultEditor.propertyChange): Implemented,
31262         (DefaultEditor.stateChanged): Implemented,
31263         (DefaultEditor.removeLayoutComponent): Updated API docs,
31264         (DefaultEditor.addLayoutComponent): Likewise,
31265         (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
31266         (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
31267         (NumberEditor.getFormat): Implemented,
31268         (NumberEditor.getModel): Updated API docs,
31269         (NumberEditorFormatter): New static inner class,
31270         (ListEditor.getModel): Updated API docs,
31271         (DateEditor.dateFormat): Removed,
31272         (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
31273         (DateEditor.DateEditor(JSpinner, String)): Likewise,
31274         (DateEditor.init): Removed,
31275         (DateEditor.getFormat): Reimplemented,
31276         (DateEditorFormatter): New static inner class,
31277         (ModelListener): New inner class,
31278         (model): Updated API docs,
31279         (editor): Likewise,
31280         (listener): Removed,
31281         (JSpinner()): Updated API docs,
31282         (JSpinner(SpinnerModel)): Set up ModelListener,
31283         (setEditor): Fire property change,
31284         (getModel): Updated API docs,
31285         (setModel): Removed check for null editor,
31286         (setValue): Updated API docs,
31287         (getUIClassID): Updated API docs,
31288         (createEditor): Handle SpinnerListModel case,
31289         * javax/swing/plaf/basic/BasicSpinnerUI.java
31290         (createUI): Updated API docs,
31291         (createPropertyChangeListener): Added FIXME,
31292         (installDefaults): Set text field border to null,
31293         (DefaultLayoutManager): Updated API docs,
31294         (DefaultLayoutManager.layoutContainer): Modified layout,
31295         (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
31296         (DefaultLayoutManager.preferredLayoutSize): Likewise,
31297         (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
31298         (DefaultLayoutManager.addLayoutComponent): Likewise,
31299         (DefaultLayoutManager.minSize): Renamed prefSize,
31300         (DefaultLayoutManager.setBounds): Reformatted,
31301         (DefaultLayoutManager.editor): Added API docs,
31302         (DefaultLayoutManager.next): Likewise,
31303         (DefaultLayoutManager.previous): Likewise,
31304         * javax/swing/plaf/metal/MetalLookAndFeel.java
31305         (initComponentDefaults): Added entry for 'Spinner.border',
31306         * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
31307
31308 2006-02-15  Chris Burdess  <dog@gnu.org>
31309
31310         * gnu/xml/validation/datatype/BooleanType.java,
31311           gnu/xml/validation/datatype/ByteType.java,
31312           gnu/xml/validation/datatype/DateTimeType.java,
31313           gnu/xml/validation/datatype/DateType.java,
31314           gnu/xml/validation/datatype/DecimalType.java,
31315           gnu/xml/validation/datatype/DoubleType.java,
31316           gnu/xml/validation/datatype/DurationType.java,
31317           gnu/xml/validation/datatype/FloatType.java,
31318           gnu/xml/validation/datatype/GDayType.java,
31319           gnu/xml/validation/datatype/GMonthDayType.java,
31320           gnu/xml/validation/datatype/GMonthType.java,
31321           gnu/xml/validation/datatype/GYearMonthType.java,
31322           gnu/xml/validation/datatype/GYearType.java,
31323           gnu/xml/validation/datatype/IntType.java,
31324           gnu/xml/validation/datatype/IntegerType.java,
31325           gnu/xml/validation/datatype/LongType.java,
31326           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31327           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31328           gnu/xml/validation/datatype/MinExclusiveFacet.java,
31329           gnu/xml/validation/datatype/MinInclusiveFacet.java,
31330           gnu/xml/validation/datatype/NegativeIntegerType.java,
31331           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31332           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31333           gnu/xml/validation/datatype/PositiveIntegerType.java,
31334           gnu/xml/validation/datatype/ShortType.java,
31335           gnu/xml/validation/datatype/SimpleType.java,
31336           gnu/xml/validation/datatype/TimeType.java,
31337           gnu/xml/validation/datatype/TypeBuilder.java,
31338           gnu/xml/validation/datatype/UnsignedByteType.java,
31339           gnu/xml/validation/datatype/UnsignedIntType.java,
31340           gnu/xml/validation/datatype/UnsignedLongType.java,
31341           gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
31342           objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
31343           minInclusive facets use the value space of the base type, and
31344           implement.
31345
31346 2006-02-15  Mark Wielaard  <mark@klomp.org>
31347
31348         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31349         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31350         gtk_plug_new() returns a GtkWindow.
31351
31352 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
31353
31354         * javax/swing/SpinnerNumberModel.java
31355         (getNextValue): Check for null maximum,
31356         (getPreviousValue): Check for null minimum.
31357   
31358 2006-02-15  Roman Kennke  <kennke@aicas.com>
31359   
31360         * javax/swing/plaf/basic/BasicTableUI.java
31361         (paint): Paint vertical and horizontal lines one pixel shifted
31362         left/top.
31363   
31364 2006-02-15  Jeroen Frijters  <jeroen@frijters.net>
31365   
31366         * java/util/zip/ZipFile.java
31367         (checkZipFile): Inlined readLeInt and rewritten for robustness.
31368         (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
31369         readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
31370         (readEntries): Rewritten to use PartialInputStream.
31371         (locBuf, checkLocalHeader): Removed.
31372         (getInputStream): Rewritten to use new PartialInputStream.
31373         (PartialInputStream): Rewritten to do buffering.
31374
31375 2006-02-15  Michael Koch  <konqueror@gmx.de>
31376
31377         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31378         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31379         Make sure the embedded window gets no decorations.
31380         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31381         (window_get_frame_extents): Return early of the window has no
31382         decorations.
31383   
31384 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31385   
31386         * examples/gnu/classpath/examples/swing/TableDemo.java
31387         (TModel, createContent): Explain which value appears in the header.
31388         * javax/swing/JTable.java (setColumnModel): Only set the
31389         column header value if the getHeaderValue() returns null.
31390
31391 2006-02-14  Mark Wielaard  <mark@klomp.org>
31392
31393         Fixes bug #23931
31394         * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
31395         (getErrorImage): New static method.
31396         * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
31397         (bufferedImageOrError): Renamed to ...
31398         (imageOrError): Renamed from bufferedImageOrError, takes Image.
31399         Returns GtkImage.getErrorImage() when argument null.
31400         (createImage(String)): Always use imageOrError.
31401         (createImage(URL)): Likewise.
31402         (createImage(ImageProducer)): Likewise.
31403         (createImage(byte[],int,int)): Likewise.
31404
31405 2006-02-14  Roman Kennke  <kennke@aicas.com>
31406
31407         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31408         unneeded imports.
31409         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31410         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31411         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31412         * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31413         * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31414
31415 2006-02-14  Roman Kennke  <kennke@aicas.com>
31416
31417         * javax/swing/text/AsyncBoxView.java
31418         (ChildState.locator): Removed wrong field.
31419         (ChildState): Removed initialization of removed field.
31420         (locator): Changed access modifier to be protected as specified.
31421
31422 2006-02-14  Roman Kennke  <kennke@aicas.com>
31423
31424         * javax/swing/ToolTipManager.java: Removed unneeded imports.
31425         * javax/swing/Timer.java: Some small reindention.
31426         (task): Made package private to avoid synthetic accessor method.
31427   
31428 2006-02-14  Roman Kennke  <kennke@aicas.com>
31429   
31430         * javax/swing/SwingUtilities.java
31431         (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31432         no icon.
31433   
31434 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31435   
31436         * examples/gnu/classpath/examples/swing/TableDemo.java:
31437         Making the columns variable width.
31438         * javax/swing/JTable.java (distributeSpill, doLayout):
31439           Call getPreferredSize and not getSize().
31440   
31441 2006-02-14  Roman Kennke  <kennke@aicas.com>
31442   
31443         * javax/swing/DefaultCellEditor.java
31444         (DefaultCellEditor): API doc fixlet.
31445   
31446 2006-02-14  Roman Kennke  <kennke@aicas.com>
31447   
31448         * javax/swing/JViewport.java
31449         (isPaintRoot): New field.
31450         (repaint): Only call super here. Also added a comment regarding
31451         the diversion from the JDK.
31452         (paintBlit): Implemented real blitting.
31453         (paintImmediately2): New method. Overrides the same package private
31454         method in JComponent.
31455   
31456 2006-02-14  Roman Kennke  <kennke@aicas.com>
31457   
31458         * javax/swing/plaf/basic/BasicTableUI.java
31459         (paint): Check for boundary cases when determining the painting
31460         area.
31461   
31462 2006-02-14  Mark Wielaard  <mark@klomp.org>
31463   
31464         * java/awt/Menu.java (add): Always set parent of item to this. Call
31465         addNotify() on item when we have a MenuPeer already.
31466         (insert): Always adjust parent for item. Call addNotify() on item if
31467         we already have a peer.
31468         (remove(int)): Always clear item parent. Call removeNotify() on item
31469         if we had a peer.
31470   
31471 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31472   
31473         * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed 
31474         row == getRowCount().
31475   
31476 2006-02-14  Lillian Angel  <langel@redhat.com>
31477         
31478         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31479         (setVisible): New method to override super. Need to set the
31480         native bounds of the component, so it appears at the
31481         correct location.
31482
31483 2006-02-14  Mark Wielaard  <mark@klomp.org>
31484
31485         * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31486         (remove): If menu component is the current MenuBar remove it,
31487         otherwise call super.remove().
31488         * java/awt/MenuBar.java (frame): Remove field.
31489         * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31490
31491 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31492
31493         * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31494         to NameServicePersistent.
31495         * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31496         * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31497
31498 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31499
31500         * NEWS: Updated tool status.
31501         * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31502         (constructor, bind, rebind): Rewritten.  
31503         * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31504         * tools/gnu/classpath/tools/giop/README: Updated.
31505         * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31506         tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31507         tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31508         tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31509         tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java: 
31510         New files.
31511   
31512 2006-02-14  David Gilbert  <david.gilbert@object-refinery.com>
31513   
31514         * javax/swing/JComponent.java
31515         (getListeners): Check for PropertyChangeListener.class and delegate to 
31516         getPropertyChangeListeners() for that case.
31517   
31518 2006-02-13  Roman Kennke  <kennke@aicas.com>
31519   
31520         * javax/swing/plaf/basic/BasicTableUI.java
31521         (paint): Determine the cells that need painting based on the
31522         current clip. Use getCellRect() for calculating the cell
31523         bounds.
31524   
31525 2006-02-13  Roman Kennke  <kennke@aicas.com>
31526   
31527         * javax/swing/JTable.java
31528         (rectCache): New field.
31529         (getCellRect): Returns cached Rectangle instance.
31530   
31531 2006-02-13  Roman Kennke  <kennke@aicas.com>
31532   
31533         * javax/swing/JLayeredPane.java
31534         (removeAll): New method. Avoid potential memory leak.
31535         (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31536         calculation.
31537   
31538 2006-02-14  Stuart Ballard  <stuart.a.ballard@gmail.com>
31539   
31540         * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31541         * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31542   
31543 2006-02-13  Tom Tromey  <tromey@redhat.com>
31544   
31545         * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31546         * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31547   
31548 2006-02-13  Roman Kennke  <kennke@aicas.com>
31549   
31550         * javax/swing/RepaintManager.java
31551         (offscreenBuffers): New field.
31552         (doubleBuffer): Removed field.
31553         (repaintUnderway): New field.
31554         (commitRequests): New field.
31555         (RepaintManager): Initialize new fields.
31556         (paintDirtyRegions): Handle repaintUnderway flag. Commit
31557         buffers when done.
31558         (getOffscreenBuffer): Returns the offscreen buffer for the
31559         corresponding root component.
31560         (commitBuffer): New method.
31561         (commitRemainingBuffers): New method.
31562         * javax/swing/JComponent.java
31563         (paint): Call paintDoubleBuffered with the current clip.
31564         (paintImmediately2): Don't paint on screen here.
31565         (paintDoubleBuffered): Rewritten for real double buffering.
31566         (paintSimple): Draw to screen in this method.
31567   
31568 2006-02-13  Roman Kennke  <kennke@aicas.com>
31569   
31570         * javax/swing/JRootPane.java
31571         (JRootPane): Set opaque property to true.
31572   
31573 2006-02-13  Tom Tromey  <tromey@redhat.com>
31574   
31575         * .classpath: Updated for external/relaxngDatatype.
31576   
31577 2006-02-13  Chris Burdess  <dog@gnu.org>
31578   
31579         * gnu/xml/stream/UnicodeReader.java,
31580           gnu/xml/validation/datatype/Annotation.java,
31581           gnu/xml/validation/datatype/AnySimpleType.java,
31582           gnu/xml/validation/datatype/AnyType.java,
31583           gnu/xml/validation/datatype/AnyURIType.java,
31584           gnu/xml/validation/datatype/AtomicSimpleType.java,
31585           gnu/xml/validation/datatype/Base64BinaryType.java,
31586           gnu/xml/validation/datatype/BooleanType.java,
31587           gnu/xml/validation/datatype/ByteType.java,
31588           gnu/xml/validation/datatype/DateTimeType.java,
31589           gnu/xml/validation/datatype/DateType.java,
31590           gnu/xml/validation/datatype/DecimalType.java,
31591           gnu/xml/validation/datatype/DoubleType.java,
31592           gnu/xml/validation/datatype/DurationType.java,
31593           gnu/xml/validation/datatype/EntitiesType.java,
31594           gnu/xml/validation/datatype/EntityType.java,
31595           gnu/xml/validation/datatype/EnumerationFacet.java,
31596           gnu/xml/validation/datatype/Facet.java,
31597           gnu/xml/validation/datatype/FloatType.java,
31598           gnu/xml/validation/datatype/FractionDigitsFacet.java,
31599           gnu/xml/validation/datatype/GDayType.java,
31600           gnu/xml/validation/datatype/GMonthDayType.java,
31601           gnu/xml/validation/datatype/GMonthType.java,
31602           gnu/xml/validation/datatype/GYearMonthType.java,
31603           gnu/xml/validation/datatype/GYearType.java,
31604           gnu/xml/validation/datatype/HexBinaryType.java,
31605           gnu/xml/validation/datatype/IDRefType.java,
31606           gnu/xml/validation/datatype/IDRefsType.java,
31607           gnu/xml/validation/datatype/IDType.java,
31608           gnu/xml/validation/datatype/IntType.java,
31609           gnu/xml/validation/datatype/IntegerType.java,
31610           gnu/xml/validation/datatype/LanguageType.java,
31611           gnu/xml/validation/datatype/LengthFacet.java,
31612           gnu/xml/validation/datatype/ListSimpleType.java,
31613           gnu/xml/validation/datatype/LongType.java,
31614           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31615           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31616           gnu/xml/validation/datatype/MaxLengthFacet.java,
31617           gnu/xml/validation/datatype/MinExclusiveFacet.java,
31618           gnu/xml/validation/datatype/MinInclusiveFacet.java,
31619           gnu/xml/validation/datatype/MinLengthFacet.java,
31620           gnu/xml/validation/datatype/NCNameType.java,
31621           gnu/xml/validation/datatype/NMTokenType.java,
31622           gnu/xml/validation/datatype/NMTokensType.java,
31623           gnu/xml/validation/datatype/NameType.java,
31624           gnu/xml/validation/datatype/NegativeIntegerType.java,
31625           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31626           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31627           gnu/xml/validation/datatype/NormalizedStringType.java,
31628           gnu/xml/validation/datatype/NotationType.java,
31629           gnu/xml/validation/datatype/PatternFacet.java,
31630           gnu/xml/validation/datatype/PositiveIntegerType.java,
31631           gnu/xml/validation/datatype/QNameType.java,
31632           gnu/xml/validation/datatype/ShortType.java,
31633           gnu/xml/validation/datatype/SimpleType.java,
31634           gnu/xml/validation/datatype/StringType.java,
31635           gnu/xml/validation/datatype/TimeType.java,
31636           gnu/xml/validation/datatype/TokenType.java,
31637           gnu/xml/validation/datatype/TotalDigitsFacet.java,
31638           gnu/xml/validation/datatype/Type.java,
31639           gnu/xml/validation/datatype/TypeBuilder.java,
31640           gnu/xml/validation/datatype/TypeLibrary.java,
31641           gnu/xml/validation/datatype/TypeLibraryFactory.java,
31642           gnu/xml/validation/datatype/UnionSimpleType.java,
31643           gnu/xml/validation/datatype/UnsignedByteType.java,
31644           gnu/xml/validation/datatype/UnsignedIntType.java,
31645           gnu/xml/validation/datatype/UnsignedLongType.java,
31646           gnu/xml/validation/datatype/UnsignedShortType.java,
31647           gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31648           resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31649           RELAX NG datatype library implementation for XML Schema Datatypes.
31650
31651 2006-02-13  Chris Burdess  <dog@gnu.org>
31652
31653         * LICENCE,
31654           NEWS,
31655           configure.ac,
31656           doc/README.jaxp,
31657           external/Makefile.am,
31658           external/relaxngDatatype/.cvsignore,
31659           external/relaxngDatatype/Makefile.am,
31660           external/relaxngDatatype/README.txt,
31661           external/relaxngDatatype/copying.txt,
31662           external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31663           external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31664           external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31665           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31666           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31667           external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31668           external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31669           external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31670           external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31671           external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31672           lib/Makefile.am,
31673           lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31674           datatypes library API.
31675   
31676 2006-02-13  Mark Wielaard  <mark@klomp.org>
31677   
31678         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31679         final.
31680         (gtkWidgetModifyFont(Font)): New protected helper method.
31681         (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31682         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31683         protected and document.
31684         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31685         Likewise.
31686         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31687         Likewise.
31688         * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31689         Likewise.
31690         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31691         (setFont): Removed method. Done in GtkMenuComponent.
31692         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31693         abstract and protected.
31694         (setFont): Made private, add implementation.
31695         (setFont(Font)): Implemented.
31696         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31697         Made protected and document.
31698         (create): Made protected.
31699         (setFont): Removed method. Done in GtkMenuComponent.
31700         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31701         (gtkWidgetModifyFont): Made protected and document.
31702         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31703         Removed, similar to GtkGenericPeer super class implementation.
31704         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31705         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31706         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31707         Removed.
31708   
31709 2006-02-13  Mark Wielaard  <mark@klomp.org>
31710   
31711         * java/lang/Math.java (static): Explicitly call
31712         System.loadLibrary("javalang").
31713   
31714 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
31715   
31716         * javax/print/StreamPrintServiceFactory.java: New file.
31717   
31718 2006-02-13  Tom Tromey  <tromey@redhat.com>
31719   
31720         * tools/.cvsignore: Added Makefile.
31721   
31722 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
31723   
31724         * java/awt/print/PrinterGraphics.java: Reformatted.
31725         * java/awt/print/Paper.java: Likewise.
31726         * java/awt/print/PageFormat.java: Likewise.
31727         * java/awt/print/Pageable.java: Likewise.
31728   
31729 2006-02-13  Lillian Angel  <langel@redhat.com>
31730   
31731         * java/awt/BorderLayout.java
31732         (layoutContainer): Rewrote part of this function to 
31733         properly set the bounds of the components.
31734         (setBounds): Removed method, not needed.
31735   
31736 2006-02-13  Roman Kennke  <kennke@aicas.com>
31737   
31738         * javax/swing/text/DefaultStyledDocument.java
31739         (ElementBuffer.clone): Fixed replace call.
31740         (clone): Removed method.
31741   
31742 2006-02-13  Roman Kennke  <kennke@aicas.com>
31743   
31744         * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31745   
31746 2006-02-13  Roman Kennke  <kennke@aicas.com>
31747   
31748         * java/rmi/server/UnicastRemoteObject.java
31749         (exportObject(Remote)): Forward method call to export(Remote,int).
31750   
31751 2006-02-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
31752   
31753         * include/Makefile.am:
31754         Swapped Math.h for VMMath.h
31755         * include/java_lang_Math.h:
31756         Removed.
31757         * include/java_lang_VMMath.h:
31758         New autogenerated header for the new class.
31759         * java/lang/Math.java:
31760         (sin(double)): Changed to link to VMMath.
31761         (cos(double)): Changed to link to VMMath.
31762         (tan(double)): Changed to link to VMMath.
31763         (asin(double)): Changed to link to VMMath.
31764         (acos(double)): Changed to link to VMMath.
31765         (atan(double)): Changed to link to VMMath.
31766         (atan2(double)): Changed to link to VMMath.
31767         (exp(double)): Changed to link to VMMath.
31768         (log(double)): Changed to link to VMMath.
31769         (sqrt(double)): Changed to link to VMMath.
31770         (pow(double,double)): Changed to link to VMMath.
31771         (IEEEremainder(double,double)): Changed to link to VMMath.
31772         (ceil(double)): Changed to link to VMMath.
31773         (floor(double)): Changed to link to VMMath.
31774         (rint(double)): Changed to link to VMMath.
31775         * native/jni/java-lang/Makefile.am:
31776         Replaced java_lang_Math.c with java_lang_VMMath.c
31777         * native/jni/java-lang/java_lang_Math.c:
31778         Removed.
31779         * native/jni/java-lang/java_lang_VMMath.c:
31780         Renamed from java_lang_Math.c.
31781         * vm/reference/java/lang/VMMath.java:
31782         New class.
31783         (sin(double)): New native method.
31784         (cos(double)): New native method.
31785         (tan(double)): New native method.
31786         (asin(double)): New native method.
31787         (acos(double)): New native method.
31788         (atan(double)): New native method.
31789         (atan2(double)): New native method.
31790         (exp(double)): New native method.
31791         (log(double)): New native method.
31792         (sqrt(double)): New native method.
31793         (pow(double,double)): New native method.
31794         (IEEEremainder(double,double)): New native method.
31795         (ceil(double)): New native method.
31796         (floor(double)): New native method.
31797         (rint(double)): New native method.
31798         
31799 2006-02-13  Lillian Angel  <langel@redhat.com>
31800   
31801         * java/awt/Component.java
31802         (repaint): No need to call isShowing, it is done in the other repaint call.
31803         (repaint): Likewise.
31804         (repaint): Likewise.
31805   
31806 2006-02-13  Lillian Angel  <langel@redhat.com>
31807   
31808         * java/awt/Component.java
31809         (repaint): Reverted last change.
31810         (repaint): Likewise.
31811         (repaint): Likewise.
31812
31813 2006-02-13  Lillian Angel  <langel@redhat.com>
31814
31815         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31816         (handleEvent): Made more efficent by handling paint event and
31817         setting the clip for the graphics.
31818         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31819         (handleEvent): Likewise.
31820         * java/awt/Component.java
31821         (repaint): No need to call isShowing, it is done in the other repaint call.
31822         (repaint): Likewise.
31823         (repaint): Likewise.
31824   
31825 2006-02-13  Roman Kennke  <kennke@aicas.com>
31826   
31827         * javax/swing/text/AbstractDocument.java
31828         (setParent): Added API docs. Call setParent(null) on children before
31829         disconnecting this view from the View hierarchy.
31830   
31831 2006-02-13  Roman Kennke  <kennke@aicas.com>
31832   
31833         * javax/swing/text/AbstractDocument.java
31834         (readUnlock): Don't attempt to unlock when the current threads also
31835         holds a write lock.
31836   
31837 2006-02-13  David Gilbert  <david.gilbert@object-refinery.com>
31838   
31839         * javax/swing/plaf/metal/MetalBorders.java
31840         (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31841         (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31842         insets argument,
31843         (Flush3DBorder.borderInsets): New field,
31844         (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31845         (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for 
31846         null insets argument, and populate result from borderInsets,
31847         (PaletteBorder.borderInsets): New field,
31848         (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31849         (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for 
31850         null insets argument, and populate result from borderInsets,
31851         (InternalFrameBorder.borderInsets): New field,
31852         (InternalFrameBorder.getBorderInsets(Component)): Return insets 
31853         directly,
31854         (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check 
31855         for null insets argument, and populate result from borderInsets,
31856         (MenuItemBorder.borderInsets): Initialise to correct value.
31857
31858 2006-02-13  Roman Kennke  <kennke@aicas.com>
31859
31860         * javax/swing/text/AsyncBoxView.java: New file.
31861
31862 2006-02-13  Ito Kazumitsu  <kaz@maczuka.gcd.org>
31863
31864         Fixes bug #26166
31865         * gnu/regexp/RE.java(initialize): Parsing of character class expression
31866         was moved to a new method parseCharClass.
31867         (parseCharClass): New method originally in initialize. Added parsing
31868         of nested character classes.
31869         (ParseCharClassResult): New inner class used as a return value of
31870         parseCharClass.
31871         (getCharExpression),(getNamedProperty): Made static.
31872         * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31873         * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31874         nested character classes.
31875         (RETokenOneOf): New constructor accepting the Vector addition.
31876         (getMinimumLength), (getMaximumLength): Returns 1 if the token
31877         stands for only one character.
31878         (match): Added the processing of the Vector addition.
31879         (matchN), (matchP): Do not check next token if addition is used.
31880   
31881 2006-02-12  Olivier Jolly <olivier.jolly@pcedev.com>
31882   
31883         * AUTHORS: add self.
31884   
31885 2006-02-12  Tom Tromey  <tromey@redhat.com>
31886   
31887         * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31888         * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31889         (securityContext): Likewise.
31890         (log): Likewise.
31891   
31892 2006-02-12  Dalibor Topic  <robilad@kaffe.org>
31893   
31894         Fixes PR 26218.
31895   
31896         * gnu/java/net/protocol/file/Connection.java (unquote):
31897         Convert Unicode characters outside basic plane to UTF-8,
31898         rather than throwing an exception.
31899   
31900 2006-02-12  Tom Tromey  <tromey@redhat.com>
31901   
31902         * javax/sound/sampled/LineEvent.java (readObject): New method.
31903         (writeObject): Likewise.
31904         (serialVersionUID): New field.
31905   
31906 2006-02-12  Mark Wielaard  <mark@klomp.org>
31907   
31908         * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31909         Silently ignores null listener.
31910         (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31911         (getPropertyChangeListeners): Returns empty PropertyChangeListener
31912         array for null propertyName.
31913
31914 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
31915
31916         * java/rmi/MarshalledObject.java: Added api docs to the class.
31917         * java/rmi/Remote.java: Added interface api docs.
31918         * java/rmi/package.html: Added package description.
31919         * java/rmi/AccessException.java: Minor api doc fixes.
31920         * java/rmi/NoSuchObjectException.java: Likewise.
31921         * java/rmi/AlreadyBoundException.java: Likewise.
31922         * java/rmi/RemoteException.java: Likewise.
31923         * java/rmi/NotBoundException.java: Likewise.
31924         * java/rmi/RMISecurityException.java: Likewise.
31925         * java/rmi/StubNotFoundException.java: Likewise.        
31926
31927 2006-02-12  Mark Wielaard  <mark@klomp.org>
31928
31929         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31930         q() to get EventQueue.
31931         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31932         (enableQueue): Remove static method.
31933         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31934         Don't call GtkGenericPeer.enableQueue().
31935
31936 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
31937
31938         * java/rmi/MarshalledObject.java: Reformatted.
31939         * java/rmi/Naming.java: Likewise.       
31940
31941 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
31942
31943         * java/io/InputStream.java
31944         (read(byte[],int,int)): Changed argument validation to prevent
31945         integer overflow. Remove redundant check.
31946   
31947 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
31948   
31949         Fixes PR 26220
31950         * java/io/InputStreamReader.java
31951         (InputStreamReader(InputStream)): Use SystemProperties.
31952         (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31953         Throw NullPointerException if in is null.
31954         Added maxBytesPerChar initialisation.
31955         (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31956         Throw NullPointerException if in is null.
31957
31958 2006-02-12  Raif S. Naffah  <raif@swiftdsl.com.au>
31959
31960         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31961         (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31962         (GnuDHPublicKey): New constructor.
31963         (getEncoded): Removed.
31964         (valueOf): Added support for ASN.1 encoding.
31965         (getEncoded(int)): Likewise.
31966         (equals): New method.
31967         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31968         (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31969         (GnuDHPrivateKey(5)): New constructor.
31970         (getEncoded): Removed.
31971         (valueOf): Added support for ASN.1 encoding.
31972         (getEncoded(int)): Likewise.
31973         (equals): New method.
31974         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31975         (PREFERRED_ENCODING_FORMAT): New constant.
31976         (DEFAULT_ENCODING_FORMAT): Likewise.
31977         (preferredFormat): New field.
31978         (setup): Handle preferred encoding format identifier.
31979         (generate): Call constructors with format identifier.
31980         * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31981         (GnuDHKey): Added an int argument.
31982         (getEncoded): New method.
31983         (getFormat): New implementation.
31984         (getEncoded(int)): New abstract method.
31985         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31986         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31987         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31988         key-pair generator and key-factory.
31989         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31990         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31991         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31992         * gnu/java/security/jce/sig/EncodedKeyFactory.java
31993         (invokeConstructor): New method.
31994         (getConcreteClass): Likewise.
31995         (getConcreteCtor): Likewise.
31996         (invokeValueOf): Likewise.
31997         (getValueOfMethod): Likewise.
31998         (engineGeneratePublic): Add support for DH keys.
31999         (engineGeneratePrivate): Likewise.
32000         (decodeDHPublicKey(DHPublicKeySpec)): New method.
32001         (decodeDHPublicKey(byte[])): Likewise.
32002         (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
32003         (decodeDHPrivateKey(byte[])): Likewise.
32004
32005 2006-02-11  Mark Wielaard  <mark@klomp.org>
32006
32007         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
32008         Removed field.
32009         (repaint): Immediately post to queue when tm <= 0, otherwise call
32010         RepaintTimerTask.schedule().
32011         (RepaintTimerTask): Make static.
32012         (RepaintTimerTask.repaintTimer): New static final field.
32013         (RepaintTimerTask.awtComponent): New field.
32014         (schedule): New static method.
32015
32016 2006-02-11  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32017
32018         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
32019         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
32020         * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32021         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32022         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
32023         Rewritten.
32024         * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
32025   
32026 2006-02-11  Raif S. Naffah  <raif@swiftdsl.com.au>
32027   
32028         * gnu/java/security/jce/sig/EncodedKeyFactory.java
32029         (engineGeneratePublic): Added support for raw key-specifications.
32030         (engineGeneratePrivate): Likewise.
32031         (decodeDSSPublicKey): New method.
32032         (decodeRSAPublicKey): Likewise.
32033         (decodeDSSPrivateKey): Likewise.
32034         (decodeRSAPrivateKey): Likewise.
32035         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
32036         (encodePrivateKey): Throw InvalidParameterException.
32037         (decodePublicKey): Likewise.
32038         (decodePrivateKey): Likewise.
32039         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
32040         (encodePublicKey): Likewise.
32041         (encodePrivateKey): Likewise.
32042         (decodePublicKey): Likewise.
32043         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
32044         (encodePrivateKey): Likewise.
32045         (decodePublicKey): Likewise.
32046         (decodePrivateKey): Likewise.
32047         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32048         (encodePublicKey): Likewise.
32049         (encodePrivateKey): Likewise.
32050         (decodePublicKey): Likewise.
32051   
32052 2006-02-10  Roman Kennke  <kennke@aicas.com>
32053   
32054         * javax/swing/text/StyleContext.java
32055         (registerStaticAttributeKey): New static method.
32056   
32057 2006-02-10  Roman Kennke  <kennke@aicas.com>
32058   
32059         * javax/swing/text/DefaultStyledDocument.java
32060         (ElementBuffer.clone): New method.
32061   
32062 2006-02-10  Roman Kennke  <kennke@aicas.com>
32063   
32064         * javax/swing/text/ParagraphView.java
32065         (findOffsetToCharactersInString): New method.
32066         (getClosestPositionTo): New method.
32067         (getPartialSize): New method.
32068         (getTabBase): New method.
32069         (adjustRow): New method.
32070         (breakView): New method.
32071         (getBreakWeight): New method.
32072   
32073 2006-02-10  Roman Kennke  <kennke@aicas.com>
32074   
32075         * javax/swing/text/GapContent.java
32076         (updateUndoPositions): New method.
32077         * javax/swing/text/StringContent.java
32078         (updateUndoPositions): New method.
32079   
32080 2006-02-10  Raif S. Naffah  <raif@swiftdsl.com.au>
32081   
32082         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
32083         Made it public.
32084         * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
32085         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
32086         Added support for encoded key specifications.
32087         (engineGeneratePrivate): Likewise.
32088         (engineGetKeySpec): Likewise.
32089         (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
32090   
32091 2006-02-10  Robert Schuster  <robertschuster@fsfe.org>
32092   
32093         * javax/swing/text/Utilities.java:
32094         (getTabbedTextOffset): Fixed usage of variable p0.
32095         (getPositionAbove): Rewritten.
32096         (getPositionBelow): Rewritten.
32097   
32098 2006-02-09  Roman Kennke  <kennke@aicas.com>
32099   
32100         * javax/swing/text/BoxView.java
32101         (getAxis): Added @since tag.
32102         (setAxis): Added @since tag.
32103         (layoutChanged): Added @since tag.
32104         (isLayoutValid): Added @since tag.
32105         (paint): Don't call setSize here. This is done in RootView already.
32106         (getMaximumSpan): Reimplemented to return the requirements'
32107         maximum size. Added API docs.
32108         (getMinimumSpan): New method.
32109         (layout): Fixed layout order.
32110         (modelToView): Call layout instead of setSize here.
32111         (getResizeWeight): New method.
32112         (getChildAllocation): New method.
32113         (forwardUpdate): New method.
32114         (viewToModel): New method.
32115         (flipEastEndWestEnds): New method.
32116         * javax/swing/text/CompositeView.java
32117         (modelToView): Made this method more robust by returning a default
32118         location if it's not possible to calculate one via the children.
32119         This default location returns the left or right edge of this
32120         view.
32121         (createDefaultLocation): New helper method.
32122         * javax/swing/text/IconView.java
32123         (modelToView): Don't throw BadLocationException. This should
32124         really only be thrown if the position is outside the document
32125         model, not if it's outside the view's boundary.
32126   
32127 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32128   
32129         * tools/Makefile.am: Handle rmi and giop folders separately.
32130   
32131 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
32132   
32133         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
32134         * javax/swing/SpinnerNumberModel.java: Likewise.
32135   
32136 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
32137   
32138         * javax/swing/SpinnerDateModel.java: Removed tabs,
32139         * javax/swing/SpinnerNumberModel.java: Likewise.
32140   
32141 2006-02-09  Anthony Balkissoon  <abalkiss@redhat.com>
32142   
32143         * doc/unicode/SpecialCasing-4.0.0.txt: New file.
32144         * doc/unicode/UnicodeData-4.0.0.txt: New file.
32145   
32146 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32147   
32148         Fixes bug #26081
32149         * gnu/java/net/protocol/http/HTTPURLConnection.java: 
32150         (isRedirect): Removed, moved to Response.java.
32151         (connect): If error condition redirect responseSink to errorSink.
32152         (getInputStream): If error condition throw IOException, for the error
32153         codes 404 and 410 throw a FileNotFoundException.        
32154         * gnu/java/net/protocol/http/Response.java (isError): New method.
32155         (isRedirect): New method, moved from HTTPURLConnection.java.
32156   
32157 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32158   
32159         * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
32160         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
32161         * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource): 
32162         Better diagnostic.
32163         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
32164         Rewritten.
32165         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
32166         AbstractMethodGenerator.
32167         * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
32168         tools/gnu/classpath/tools/rmi/RMIC.java,
32169         tools/gnu/classpath/tools/rmi/RMIC.txt,
32170         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
32171         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
32172         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
32173         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
32174         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
32175         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav: 
32176         New files.
32177         * NEWS: Corrected entry about the tools.
32178   
32179 2006-02-09  Lillian Angel  <langel@redhat.com>
32180   
32181         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32182         (handleEvent): Added more to check to prevent assertion errors.
32183         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32184         (handleEvent): Likewise.
32185         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32186         (handleEvent): Likewise.
32187   
32188 2006-02-09  Mark Wielaard  <mark@klomp.org>
32189   
32190         * javax/swing/JTable.java (tableChanged): Interpret null event as
32191         "everything changed".
32192   
32193 2006-02-09  Roman Kennke  <kennke@aicas.com>
32194   
32195         * javax/swing/text/DefaultCaret.java
32196         (DocumentHandler.removeUpdate): When update policy is
32197         'on eventqueue', and the update doesn't come from the
32198         event queue, check if the current dot location is still
32199         valid.
32200         (moveDot): Make sure the new dot location is valid.
32201         (setDot): Set the mark the same as the dot.
32202   
32203 2006-02-09  Roman Kennke  <kennke@aicas.com>
32204   
32205         * javax/swing/text/AbstractDocument.java
32206         (remove): Perform all operations within a write lock and in the
32207         correct order.
32208   
32209 2006-02-09  Mark Wielaard  <mark@klomp.org>
32210   
32211         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
32212         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
32213         creater than min, adjusting page_size if necessary.
32214         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
32215   
32216 2006-02-09  Lillian Angel  <langel@redhat.com>
32217   
32218         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32219         (handleEvent): Added code to handle PaintEvent.UPDATE.
32220         Sun does not call update(Graphics g) on Panels.
32221         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32222         (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
32223         Sun does not call update(Graphics g) on Panels.
32224   
32225 2006-02-09  Roman Kennke  <kennke@aicas.com>
32226   
32227         * javax/swing/text/BoxView.java
32228         (myAxis): Made field private.
32229         (xLayoutValid): Replaced by layoutValid array.
32230         (yLayoutValid): Replaced by layoutValid array.
32231         (layoutValid): New field.
32232         (spansX): Replaced by spans array.
32233         (spansY): Replaced by spans array.
32234         (spans): New field.
32235         (offsetsX): Replaced by offsets array.
32236         (offsetsY): Replaced by offsets array.
32237         (offsets): New field.
32238         (requirements): New field.
32239         (BoxView): Initialize new fields.
32240         (layoutChanged): Rewritten to use the layoutValid array.
32241         (isLayoutValid): Rewritten to use the layoutValid array.
32242         (replace): Use the new arrays.
32243         (getPreferredSpan): Rewritten to call calculateXXXRequirements
32244         instead of baselineRequirements.
32245         (baselineRequirements): Rewritten to calculate baseline requirements.
32246         (baselineLayout): Rewritten to calculate baseline layout.
32247         (childAllocation): Use new arrays.
32248         (layout): Rewritten. Only update the layout if necessary.
32249         (layoutMajorAxis): Directly set layoutValid.
32250         (layoutMinorAxis): Directly set layoutValid. Use cached size
32251         requirements.
32252         (getWidth): Use new span array.
32253         (getHeight): Likewise.
32254         (setSize): Rewritten to simply call layout().
32255         (validateLayout): Removed unneeded method.
32256         (getSpan): Use new arrays.
32257         (getOffset): Use new arrays.
32258         (getAlignment): Use cached requirements if possible.
32259         (preferenceChanged): Use new arrays.
32260         * javax/swing/text/FlowView.java
32261         (FlowStrategy.insertUpdate): Do nothing here.
32262         (FlowStrategy.removeUpdate): Do nothing here.
32263         (FlowStrategy.changedUpdate): Do nothing here.
32264         (FlowStrategy.layoutRow): Rewritten.
32265         (FlowStrategy.createView): Rewritten.
32266         (FlowStrategy.adjustRow): New method.
32267         (LogicalView.getViewIndex): Fixed condition for finding child
32268         view.
32269         (layoutDirty): New field indicating the state of the layout.
32270         (FlowView): Initialize new field.
32271         (loadChildren): Set parent on logical view so that preferenceChanges
32272         get propagated upwards.
32273         (layout): Rewritten to match the specs.
32274         (insertUpdate): Set layout to dirty.
32275         (removeUpdate): Set layout to dirty.
32276         (changedUpdate): Set layout to dirty.
32277         * javax/swing/text/GlyphView.java
32278         (getBreakWeight): Rewritten to use the Utilities class. Commented
32279         out though because that is broken.
32280         (insertUpdate): Call preferenceChanged on this object instead of
32281         parent.
32282         * javax/swing/text/ParagraphView.java
32283         (Row.loadChildren): Overridden to be a noop to prevent initial
32284         creation of child views. This is carried out by the flow layout.
32285         * javax/swing/text/View.java
32286         (getPreferredSpan): Added API docs.
32287         (getResizeWeight): Added API docs.
32288         (getMaximumSpan): Added API docs. Rewritten to only have one exit
32289         point.
32290         (getMinimumSpan): Added API docs. Rewritten to return 0 when
32291         resizable instead of Integer.MAX_VALUE.
32292         (getAlignment): Added API docs.
32293         (replace): Added API docs.
32294         (forwardUpdate): Rewritten to only notify child views that need to
32295         be notified.
32296   
32297 2006-02-09  Roman Kennke  <kennke@aicas.com>
32298   
32299         * javax/swing/plaf/basic/BasicTextUI.java
32300         (RootView.paint): Call setSize() before painting the view.
32301   
32302 2006-02-09  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32303   
32304         Fixes bug #26112
32305         * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
32306         flag which enables backslash escape in a replacement.
32307         (getReplacement): New public static method. 
32308         (substituteImpl),(substituteAllImpl): Use getReplacement.
32309         * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
32310         * java/util/regex/Matcher.java(appendReplacement)
32311         Use RE#getReplacement.
32312         (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
32313
32314 2006-02-09  Raif S. Naffah  <raif@swiftdsl.com.au>
32315
32316         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
32317         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
32318         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
32319         (PREFERRED_ENCODING_FORMAT): New constant.
32320         (DEFAULT_ENCODING_FORMAT): Likewise.
32321         (preferredFormat): New field.
32322         (setup): Add support for preferred encoding format.
32323         (generate): Call key constructors with explicit format identifier.
32324         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)): 
32325         Call constructor with 3 arguments..
32326         (GnuRSAPublicKey(3)): New constructor.
32327         (valueOf): Added support for ASN.1 format.
32328         (getEncoded): Likewise.
32329         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
32330         Call constructor with 5 arguments.
32331         (GnuRSAPrivateKey(5)): New constructor.
32332         (GnuRSAPrivateKey(9)): New constructor.
32333         (valueOf): Added support for ASN.1 format.
32334         (getEncoded): Likewise.
32335         * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
32336         (GnuRSAKey): Modified constructor.
32337         (getFormat): Return preferred format identifier.
32338         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32339         (decodePrivateKey): Fixed documentation.
32340         Check Version field.
32341         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
32342         (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
32343         format.
32344         (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
32345         * gnu/java/security/jce/sig/EncodedKeyFactory.java
32346         (engineGeneratePublic): Added support for RSA.
32347         (engineGeneratePrivate): Likewise.
32348
32349 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32350
32351         * java/net/URLConnection.java:
32352         (setAllowUserInteraction): Throw IllegalStateException if connected.
32353         (getRequestProperty): Document return value if key is null.
32354         * gnu/java/net/protocol/http/HTTPURLConnection.java:
32355         (getRequestProperty): Return null if key is null.
32356         (getRequestProperties): Throw IllegalStateException if connected.
32357         (setRequestProperty): Call super method for exception tests.
32358         (addRequestProperty): Likewise.
32359   
32360 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32361   
32362         * gnu/java/net/protocol/http/Request.java:
32363         (Request): Remove initialization of removed field.
32364         (requestBodyNegotiationThreshold): Removed now unused field.
32365         (setRequestBodyNegotiationThreshold): Remove now unused method.
32366         (dispatch): Do not use 'Expect 100-continue' header if content-length
32367         is over a treshold. If user specified 'Expect 100-continue' still
32368         initialize the expectingContinue variable.
32369
32370 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
32371
32372         * javax/swing/SpinnerNumberModel.java
32373         (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow 
32374         maximum and minimum to take null values,
32375         (setValue): Only fire ChangeEvent if new value is different to old 
32376         value,
32377         (setMinimum): Fixed test for updating value,
32378         (setMaximum): Likewise,
32379         (setStepSize): Likewise.
32380   
32381 2006-02-08  Tom Tromey  <tromey@redhat.com>
32382   
32383         * tools/.cvsignore: Added Makefile.in.
32384   
32385 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32386   
32387         * java/rmi/server/RemoteRef.java,
32388         java/rmi/server/RemoteStub.java: Commented.
32389   
32390 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
32391   
32392         * javax/swing/SpinnerDateModel.java
32393         (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
32394         checks,
32395         (getPreviousValue): Check result against start, not end,
32396         (setValue): Check that value actually changes before firing 
32397         ChangeEvent.
32398
32399 2006-02-08  Lillian Angel  <langel@redhat.com>
32400
32401         * java/awt/Choice.java
32402         (select): Fixed up code, added some checks to prevent errors.
32403         (dispatchEventImpl): Removed. This function is not needed. It 
32404         causes several assertion errors.
32405   
32406 2006-02-08  Roman Kennke  <kennke@aicas.com>
32407   
32408         * javax/swing/text/PlainView.java
32409         (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32410         drawing unnecessary characters.
32411   
32412 2006-02-08  Lillian Angel  <langel@redhat.com>
32413   
32414         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32415         (handleEvent): Fixed check to determine if height or
32416         width is less than 1.
32417   
32418 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32419   
32420         *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32421   
32422 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32423   
32424         * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32425         examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32426         Documenting the code generator.
32427         * gnu/CORBA/IOR.java (toStringFormatted, 
32428         CodeSet_component.toStringFormatted): New methods.
32429         * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32430         * tools/gnu/classpath/tools/giop/README: Rewritten.
32431         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten. 
32432         (printHelpAndExit): Removed.
32433         *tools/gnu/classpath/tools/giop/IorParser.java,
32434         tools/gnu/classpath/tools/giop/IorParser.txt,
32435         tools/gnu/classpath/tools/giop/NameService.java,
32436         tools/gnu/classpath/tools/giop/NamingService.txt,
32437         tools/gnu/classpath/tools/HelpPrinter.java: New files.
32438         NEWS: Added note about GIOP tools.
32439
32440 2006-02-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32441
32442         * .classpath: New source patch (tools).
32443         * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32444         * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32445         * tools/gnu/classpath/tools/Makefile.am,
32446         tools/gnu/classpath/tools/giop/GRMIC.java
32447         tools/gnu/classpath/tools/giop/GRMIC.txt,
32448         tools/gnu/classpath/tools/giop/README,
32449         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32450         tools/gnu/classpath/tools/giop/grmic/Generator.java,
32451         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32452         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32453         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32454         tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32455         tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32456         tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32457         tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32458         tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32459         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32460         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32461   
32462 2006-02-07  David Gilbert  <david.gilbert@object-refinery.com>
32463   
32464         * java/awt/BasicStroke.java: Updated API docs all over,
32465         * java/awt/doc-files/capjoin.png: New file.
32466   
32467 2006-02-07  Lillian Angel  <langel@redhat.com>
32468   
32469         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32470         (handleEvent): Added check. Should not paint or update the 
32471         component if it's width and height are both 0.  
32472   
32473 2006-02-07  Roman Kennke  <kennke@aicas.com>
32474   
32475         * javax/swing/text/AbstractDocument.java
32476         (insertString): Enclose locking/unlocking in try-finally block
32477         and also keep locked while notifying the listeners.
32478   
32479 2006-02-07  Roman Kennke  <kennke@aicas.com>
32480   
32481         * javax/swing/text/GlyphView.java
32482         (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32483         element boundary).
32484         (getStartOffset): Return element boundary if startOffset < 0.
32485         (getEndOffset): Return element boundary if endOffset < 0.
32486         (createFragment): Set startOffset and endOffset fields of fragment
32487         if one of p0 or p1 is not at the element boundary.
32488   
32489 2006-02-07  Roman Kennke  <kennke@aicas.com>
32490   
32491         * javax/swing/CellRendererPane.java
32492         (paintComponent): Enclosed painting in try finally to properly
32493         clean up even when throwing an exception.
32494   
32495 2006-02-07  Roman Kennke  <kennke@aicas.com>
32496   
32497         * javax/swing/UIManager.java
32498         (listeners): Made this an instance of
32499         java.beans.PropertyChangeSupport instead of the obsoleted
32500         SwingPropertyChangeSupport.
32501
32502 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32503
32504         * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32505         of actions "delete-next" and "delete-previous", added new TextAction
32506         implementations for "selection-begin", "selection-begin-line",
32507         "selection-end" and "selection-end-line".
32508   
32509 2006-02-07  Roman Kennke  <kennke@aicas.com>
32510   
32511         * javax/swing/plaf/basic/BasicTextUI.java
32512         (paint): Acquire read lock on the document before calling
32513         paintSafely.
32514         (paintSafely): Added comment about what this method does.
32515         (paintBackground): Implemented to actually paint the background.
32516         (update): Overridden to _not_ paint the background. This is done
32517         in paintBackground in this UI.
32518   
32519 2006-02-07  Roman Kennke  <kennke@aicas.com>
32520   
32521         * javax/swing/text/View.java
32522         (forwardUpdate): Don't notify newly added child views as specified.
32523   
32524 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32525   
32526         * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32527   
32528 2006-02-07  Roman Kennke  <kennke@aicas.com>
32529   
32530         * javax/swing/text/DefaultStyledDocument.java
32531         (ElementBuffer.insert): Only register change when the element
32532         actually changed.
32533   
32534 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32535   
32536         * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32537         method.
32538         (getEncodingShortName): Likewise.
32539         * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32540         (PKCS8_FORMAT): Likewise.
32541         (ASN1_FORMAT): Likewise.
32542         * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32543         constructor with 5 arguments.
32544         (DSSPublicKey(5)): New constructor.
32545         (valueOf): Handle ASN.1 encoding.
32546         (getEncoded): Likewise.
32547         * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32548         constructor with 5 arguments.
32549         (DSSPrivateKey(5)): New constructor.
32550         (valueOf): Handle ASN.1 encoding.
32551         (getEncoded): Likewise.
32552         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32553         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32554         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32555         (PREFERRED_ENCODING_FORMAT): New constant.
32556         (DEFAULT_ENCODING_FORMAT): Likewise.
32557         (preferredFormat): New field.
32558         (setup): Handle preferred format ID.
32559         (generate): Use new ctors with 5 arguments.
32560         * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32561         ID as an additional argument.
32562         (defaultFormat): new field.
32563         (getFormat): Returns the preferred format as a short string.
32564         * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32565         * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32566         Likewise
32567         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32568         (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32569         encoding format.
32570         (initialize(int,boolean,SecureRandom)): Likewise.
32571         * gnu/java/security/der/DERWriter.java (writeBitString): Use
32572         writeLength() instead of write().
32573         return buf.length + 1 instead of buf.length.
32574   
32575 2006-02-07  Roman Kennke  <kennke@aicas.com>
32576   
32577         * javax/swing/plaf/basic/BasicTextUI.java
32578         (RootView.preferenceChange): Changed view parameter to view so
32579         that it doesn't hide a field of that class.
32580         (RootView.getViewCount): Rewritten to clean up ECJ warning.
32581         (RootView.modelToView): Removed unnecessary cast from View to View.
32582         (PropertyChangeHandler): Made inner class private.
32583         (updateHandler): Made field private.
32584         (getVisibleEditorRect): Removed unneeded local variable that
32585         shadowed a field with the same name and purpose.
32586   
32587 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32588   
32589         * javax/swing/text/JTextComponent.java:
32590         (getSelectedText): Calculate offset and use that as
32591         second argument.
32592   
32593 2006-02-07  Roman Kennke  <kennke@aicas.com>
32594   
32595         * javax/swing/JTextPane.java
32596         (setCharacterAttributes): Replace input attributes when
32597         replace==true.
32598   
32599 2006-02-07  Roman Kennke  <kennke@aicas.com>
32600   
32601         * java/awt/Component.java
32602         (firePropertyChange(String,byte,byte)): Made method public.
32603         (firePropertyChange(String,char,char)): Made method public.
32604         (firePropertyChange(String,short,short)): Made method public.
32605         (firePropertyChange(String,long,long)): Made method public.
32606         (firePropertyChange(String,float,float)): Made method public.
32607         (firePropertyChange(String,double,double)): Made method public.
32608   
32609 2006-02-06  Tom Tromey  <tromey@redhat.com>
32610   
32611         * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32612         2006.
32613         * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32614   
32615 2006-02-06  Anthony Green  <green@redhat.com>
32616   
32617         * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32618   
32619 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32620   
32621         * .settings/org.eclipse.jdt.core.prefs:
32622         Force a line split on extends and implements.
32623         Force a white-space after unary operators.
32624         Don't force a new-line after @params.
32625         Add new-line at end-of-file.
32626         * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32627   
32628 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32629   
32630         * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32631         Registry constant.
32632         * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32633         Likewise.
32634         * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32635         Likewise.
32636         * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32637         Likewise.
32638         * gnu/java/security/provider/EncodedKeyFactory.java
32639         (ID_DSA): Redefined in terms of Registry constant.
32640         (ID_DSA): Redefined in terms of Registry constant.
32641         (ID_DH): Redefined in terms of Registry constant.
32642         * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32643         (PKCS8_ENCODING): Likewise.
32644         (ASN1_ENCODING): Likewise.
32645         (RAW_ENCODING_SHORT_NAME): Likewise.
32646         (X509_ENCODING_SORT_NAME): Likewise.
32647         (PKCS8_ENCODING_SHORT_NAME): Likewise.
32648         (ASN1_ENCODING_SHORT_NAME): Likewise.
32649         (X509_ENCODING_ID): Likewise.
32650         (PKCS8_ENCODING_ID): Likewise.
32651         (ASN1_ENCODING_ID): Likewise.
32652         (DSA_OID_STRING): Likewise.
32653         (RSA_OID_STRING): Likewise.
32654         (DH_OID_STRING): Likewise.
32655
32656 2006-02-06  Roman Kennke  <kennke@aicas.com>
32657
32658         * javax/swing/text/GlyphView.java:
32659         (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32660         Only fill background if there is a background set on the view.
32661         Call Utilities.drawTabbedText with the baseline height, rather than
32662         the upper left corner of the view rectangle.
32663         (getBackground): Return null if no background is set.
32664         * javax/swing/text/GlyphView.java:
32665         (setPropertiesFromAttributes): Use null for background when no
32666         background is set. StyleConstants.getBackground() doesn't work
32667         for this, because it returns Color.BLACK in that case.
32668   
32669 2006-02-06  Roman Kennke  <kennke@aicas.com>
32670   
32671         * java/awt/Container.java
32672         (changeSupport): Removed duplicate (from Component) field.
32673         (addPropertyChangeListener): Call super.
32674   
32675 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32676   
32677         * java/util/regex/Matcher.java(matches):
32678         set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32679   
32680 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32681
32682         Fixes bug #25812
32683         * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32684         * gnu/regexp/CharIndexedCharArray.java
32685         (lookBehind),(length): Implemented.
32686         * gnu/regexp/CharIndexedInputStream.java: Likewise.
32687         * gnu/regexp/CharIndexedString.java: Likewise.
32688         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32689         * gnu/regexp/REToken.java(getMaximumLength): New method.
32690         * gnu/regexp/RE.java(internal constructor RE): Added new argument
32691         maxLength.
32692         (initialize): Parse (?<=X), (?<!X), (?>X).
32693         (getMaximumLength): Implemented.
32694         * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32695         * gnu/regexp/RETokenChar.java: Likewise.
32696         * gnu/regexp/RETokenEnd.java: Likewise.
32697         * gnu/regexp/RETokenEndSub.java: Likewise.
32698         * gnu/regexp/RETokenLookAhead.java: Likewise.
32699         * gnu/regexp/RETokenNamedProperty.java: Likewise.
32700         * gnu/regexp/RETokenOneOf.java: Likewise.
32701         * gnu/regexp/RETokenPOSIX.java: Likewise.
32702         * gnu/regexp/RETokenRange.java: Likewise.
32703         * gnu/regexp/RETokenRepeated.java: Likewise.
32704         * gnu/regexp/RETokenStart.java: Likewise.
32705         * gnu/regexp/RETokenWordBoundary.java: Likewise.
32706         * gnu/regexp/RETokenIndependent.java: New file.
32707         * gnu/regexp/RETokenLookBehind.java: New file.
32708   
32709 2006-02-06  Roman Kennke  <kennke@aicas.com>
32710   
32711         * java/awt/Component.java
32712         (firePropertyChange(String,byte,byte)): New method.
32713         (firePropertyChange(String,char,char)): New method.
32714         (firePropertyChange(String,short,short)): New method.
32715         (firePropertyChange(String,long,long)): New method.
32716         (firePropertyChange(String,float,float)): New method.
32717         (firePropertyChange(String,double,double)): New method.
32718
32719 2006-02-06  Roman Kennke  <kennke@aicas.com>
32720
32721         * javax/swing/JComponent.java
32722         (AccessibleJComponent.changeSupport): Changed to be a
32723         java.beans.PropertyChangeSupport rather than
32724         SwingPropertyChangeSupport.
32725         (AccessibleJComponent.AccessibleJComponent()): Change initialization
32726         of above field.
32727         (changeSupport): Removed unneeded field.
32728         (removePropertyChangeListener): Removed unneeded methods.
32729         (addPropertyChangeListener): Removed unneeded methods.
32730         (getPropertyChangeListeners): Removed unneeded methods.
32731         (firePropertyChange(String,boolean,boolean)): Changed to simply
32732         call super. Added specnote.
32733         (firePropertyChange(String,char,char)): Changed to simply
32734         call super. Added specnote.
32735         (firePropertyChange(String,int,int)): Changed to simply
32736         call super. Added specnote.
32737         (firePropertyChange(String,byte,byte)): Removed.
32738         (firePropertyChange(String,Object,Object)): Removed.
32739         (firePropertyChange(String,double,double)): Removed.
32740         (firePropertyChange(String,float,float)): Removed.
32741         (firePropertyChange(String,long,long)): Removed.
32742         (firePropertyChange(String,short,short)): Removed.
32743   
32744 2006-02-06  Roman Kennke  <kennke@aicas.com>
32745   
32746         * javax/swing/event/SwingPropertyChangeSupport.java
32747         (listeners): Removed field.
32748         (propertyListeners): Removed field.
32749         (source): Removed field.
32750         (SwingPropertyChangeSupport()): Removed initialization of removed
32751         fields.
32752         (addPropertyChangeListener): Removed methods.
32753         (removePropertyChangeListener): Removed methods.
32754         (getPropertyChangeListeners): Removed methods.
32755         (firePropertyChange): Removed methods.
32756         (hasListeners): Removed methods.
32757   
32758 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
32759   
32760         Fixes PR 25313
32761         * java/net/InetAddress.java
32762         (readResolve): Implemented.
32763   
32764 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
32765   
32766         Fixes PR 26121
32767         * java/io/ObjectInputStream.java
32768         (readNextBlock()): Handle TC_RESET.
32769   
32770 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
32771         
32772         * javax/print/attribute/standard/Compression.java,
32773         * javax/print/attribute/standard/Finishings.java, 
32774         * javax/print/attribute/standard/JobMediaSheets.java,
32775         * javax/print/attribute/standard/JobSheets.java,
32776         * javax/print/attribute/standard/JobState.java,
32777         * javax/print/attribute/standard/JobStateReason.java,
32778         * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32779         * javax/print/attribute/standard/PrintQuality.java,
32780         * javax/print/attribute/standard/Media.java,
32781         * javax/print/attribute/standard/MultipleDocumentHandling.java,
32782         * javax/print/attribute/standard/PrinterStateReason.java,
32783         * javax/print/attribute/standard/PDLOverrideSupported.java: 
32784         (getName): Make method final.
32785         (getCategory): Likewise.
32786         * javax/print/attribute/standard/MediaSize.java: 
32787         (getName): Make method final.
32788         (getCategory): Likewise.
32789         (ISO): Added private default constructor.
32790         (NA): Likewise.
32791         (JIS): Likewise.
32792         (Other): Likewise.
32793         (Engineering): Likewise.
32794
32795 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
32796         
32797         * native/jni/java-net/javanet.c (_javanet_connect):
32798         Throw ConnectException instead of IOException if connection failed.
32799         * native/jni/java-net/javanet.h:
32800         Add a define for java.net.ConnectException
32801   
32802 2006-02-05  Mark Wielaard  <mark@klomp.org>
32803   
32804         Fixes bug #26101
32805         reported by Egon Willighagen <egon.willighagen@gmail.com>
32806         * javax/swing/DefaultListCellRenderer.java
32807         (getListCellRendererComponent): Turn null value into empty string.
32808   
32809 2006-02-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32810   
32811         * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32812         a Unicode block if the name starts with "In".
32813         (UnicodeBlockHandler): New inner class.
32814   
32815 2006-02-04  Roman Kennke  <kennke@aicas.com>
32816   
32817         * java/awt/Container.java
32818         (getComponentZOrder): New method.
32819         (setComponentZOrder): New method.
32820         * javax/swing/JLayeredPane.java
32821         (setPosition): Reimplemented to use setComponentZOrder().
32822         (getIndexOf): Reimplemented to use getComponentZOrder().
32823         (addImpl): Pass layerContraint to super call. Important for possibly
32824         installed layout managers.
32825         (swapComponents): Remove unneeded method.
32826
32827 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
32828
32829         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32830         DSAKeyPairGenerator.
32831         (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32832         (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32833         message.
32834         Surround call to adaptee in a try/catch.
32835         (initialize((DSAParams,SecureRandom)): New method.
32836         (initialize(int,boolean,SecureRandom)): New method.
32837         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32838         KeyPairGenerator rather than KeyPairGeneratorSpi.
32839         (KeyPairGeneratorAdapter): Call super with algorithm name.
32840
32841 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
32842
32843         * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32844         (getDefaultPRNG): New method.
32845         (parseO): Use method above.
32846         * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32847         (getDefaultPRNG): New method.
32848         (createO): Use method above.
32849         * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32850         (nextByte): Use above field.
32851         * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32852         * gnu/java/security/sig/rsa/RSA.java: New class field.
32853         (newR): Use above field
32854         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32855         (encode): Use field.above.
32856         * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32857         (getDefaultPRNG): new method.
32858         (nextRandomBytes): Use above method.
32859         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32860         * gnu/java/security/sig/BaseSignature.java: Likewise.
32861         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32862         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32863         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32864         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32865         * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32866         (getDefaultPRNG): new method.
32867         (nextRandomBytes): Use above method.
32868         (STRICT_DEFAULTS): new class field.
32869         (USE_DEFAULTS): more documentation to clarify behavior.
32870         (setup): amended to handle new attribute.
32871         * gnu/java/security/util/PRNG.java: New file.
32872   
32873 2006-02-03  Lillian Angel  <langel@redhat.com>
32874   
32875         * javax/swing/plaf/basic/BasicColorChooserUI.java:
32876         chooser field should be protected, not package-private. 
32877   
32878 2006-02-03  Lillian Angel  <langel@redhat.com>
32879         
32880         * javax/swing/text/DefaultStyledDocument.java
32881         (changeUpdate): Cleaned up code.
32882         (split): Likewise.
32883         (insertUpdate): Set offset to be equal to pos after
32884         insertContentTag call.
32885         (insertContentTag): If paragraph has no children, should use
32886         replace instead of Edit.
32887         (insertFracture): Moved around code to prevent any exception. Also,
32888         left side of tree should not be recreated if it has already been 
32889         edited. In that case, we should only be creating a new right branch
32890         when fracturing.
32891         (getEditForParagraphAndIndex): No need to check index. We should
32892         use the same edit for each paragraph.
32893   
32894 2006-02-03  Mark Wielaard  <mark@klomp.org>
32895   
32896         * javax/swing/event/SwingPropertyChangeSupport.java
32897         (propertyListeners): Change type to HashMap.
32898         (SwingPropertyChangeSupport): Allocate HashMap.
32899   
32900 2006-02-03  Raif S. Naffah  <raif@swiftdsl.com.au>
32901   
32902         * java/security/KeyPairGenerator.java (getInstance): Test for
32903         instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32904   
32905 2006-02-02  Roman Kennke  <kennke@aicas.com>
32906   
32907         * javax/swing/RepaintManager.java
32908         Made fields private.
32909         (RepaintWorker.run): Enclosed work stuff in try finally block in
32910         order to clean up correctly if invalidation or painting fails,
32911         otherwise we would get no more RepaintWorkers onto the EventQueue.
32912         Also, now the RepaintWorker is marked 'dead' only after it has
32913         finished its work, avoid more than one RepaintWorker on the queue.
32914         (ComponentComparator.compareTo): Compare dirty rectangle sizes
32915         instead of hierarchy depths.
32916         (workDirtyComponents): Removed unused field.
32917         (repaintOrder): Removed unused field.
32918         (workRepaintOrder): Removed unused field.
32919         (workInvalidComponents): Removed unused field.
32920         (RepaintManager()): Removed initialization of removed fields.
32921         (addInvalidComponent): Fine tuned synchronization.
32922         (removeInvalidComponent): Fine tune synchronization.
32923         (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32924         synchronization. Don't manager repaintOrder here.
32925         (insertRepaintOrder): Removed method.
32926         (markCompletelyClean): Fine tuned synchronization.
32927         (validateInvalidComponents): Dont use a working copy of the
32928         invalidComponents list, instead fine tuned synchronization on this
32929         list. Also, don't search validateRoot, this is already done in
32930         addInvalidComponent().
32931         (paintDirtyRegions): Compute repaint order here, based on size of
32932         damaged regions. Fine tuned synchronization. Avoid use of working
32933         copies of dirtyComponent.
32934   
32935 2006-02-02  Lillian Angel  <langel@redhat.com>
32936   
32937         * javax/swing/text/DefaultStyledDocument.java
32938         (insertUpdate): JoinNextDirection should push the 
32939         'next' paragraph on the stack.
32940   
32941 2006-02-02  Lillian Angel  <langel@redhat.com>
32942   
32943         * javax/swing/text/DefaultStyledDocument.java
32944         (insertUpdate): Rewrote code for Originate. This prevents
32945         leaves being created multiple times. If it is on the last 
32946         ElementSpec, the leaves need to be created right then; 
32947         otherwise, only a branch is created.
32948         (insertContentTag): Rewrote to add new leaf directly if
32949         this is a branch with no children. Otherwise, it
32950         recreates the remainder of the tree as before.
32951   
32952 2006-02-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32953   
32954         * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32955         for making a list of REMatch instances.
32956         * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32957         * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32958         (match): Rewritten using REMatchList.
32959         (matchRest): Rewritten using REMatchList.
32960   
32961 2006-02-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32962   
32963         * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java 
32964         (friendsMove):  Call repaint() only after endOfGame is assigned.
32965   
32966 2006-02-02  Mark Wielaard  <mark@klomp.org>
32967   
32968         Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32969         * java/util/AbstractCollection.java (toString): Only use Iterator,
32970         check whether collection contains itself.
32971   
32972 2006-02-01  Casey Marshall  <csm@gnu.org>
32973   
32974         Partial fix for PR classpath/25143.
32975         * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32976         (<init>): fill in `algName,' derive `algOid' from `algName.'
32977         (getOid): new method.
32978         (encode): embed NULL value for parameters if `params' is `null.'
32979   
32980 2006-02-01  Casey Marshall  <csm@gnu.org>
32981   
32982         Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32983         <monoman@gmail.com>.    
32984         * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32985         check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32986   
32987 2006-02-01  Casey Marshall  <csm@gnu.org>
32988   
32989         toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32990         * gnu/java/security/der/DERValue.java
32991         (getLength, getEncoded, getEncodedLength): throw an exception,
32992         don't initialize `encoded' to a bogus value.
32993         (toString): return a more helpful string.
32994
32995         Partial fix for PR classpath/25144.
32996         * gnu/java/security/der/DERWriter.java (write): if the value is
32997         the pseudo-value used for CONSTRUCTED, write the encoded value
32998         directly.
32999         
33000 2006-02-01  Tom Tromey  <tromey@redhat.com>
33001   
33002         * java/security/Security.java (loadProviders): Use system class
33003         loader.
33004   
33005 2006-02-01  Mark Wielaard  <mark@klomp.org>
33006   
33007         * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
33008         * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
33009         SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
33010         (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
33011         (UnicodeCategoriesHandler): New private static class.
33012         
33013 2006-02-01  Lillian Angel  <langel@redhat.com>
33014   
33015         * javax/swing/text/DefaultStyledDocument.java:
33016         Removed unneeded fields.
33017         (insertUpdate): Removed field initialization.
33018         (insertContentTag): Rewrote part of function. Still
33019         not complete.
33020   
33021 2006-02-01  Lillian Angel  <langel@redhat.com>
33022   
33023         * javax/swing/text/DefaultStyledDocument.java
33024         (insertParagraph): Cleaned up code.
33025         (insertFirstContentTag): Fixed call to recreateLeaves.
33026         (insertContentTag): Added check to code to determine where
33027         content should be inserted with respect to next element.
33028         (createFracture): Removed check, recreateLeaves is called in 
33029         other places when needed.
33030         (recreateLeaves): Added new parameter for paragraph instead
33031         of checking the stack. Removed editing for newBranch, replaced
33032         with a replace call.
33033
33034 2006-02-01  Anthony Balkissoon  <abalkiss@redhat.com>
33035
33036         * doc/unicode/Blocks-4.0.0.txt: New file.
33037         * java/lang/Character.java: Regenerated inner class UnicodeBlock from 
33038         scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
33039         * scripts/unicode-blocks.pl: Copied this over from the generics branch
33040         but replaced some 1.5-only features (such as enum).
33041   
33042 2006-01-31  Roman Kennke  <kennke@aicas.com>
33043   
33044         * javax/swing/text/PasswordView.java
33045         (drawSelectedText): Use drawEchoCharacter() method to draw echo
33046         character.
33047         (drawUnselectedText): Use drawEchoCharacter() method to draw echo
33048         character.
33049   
33050 2006-01-31  Roman Kennke  <kennke@aicas.com>
33051   
33052         * javax/swing/JTextField.java
33053         (getPreferredSize): Also include textfield's insets in width
33054         calculation.
33055   
33056 2006-01-31  Roman Kennke  <kennke@aicas.com>
33057   
33058         * javax/swing/plaf/basic/BasicTextUI.java
33059         (getPreferredSize): Include the textcomponent's insets in
33060         preferredSize.
33061   
33062 2006-01-31  Roman Kennke  <kennke@aicas.com>
33063   
33064         * javax/swing/table/DefaultTableCellRenderer.java
33065         (getTableCellRendererComponent): Moved setting of the value into
33066         setValue(). Removed (bogus) special handling of JTextField values.
33067         (setValue): Made ?: statement more clear by rewriting it
33068         with if .. else.
33069   
33070 2006-01-31  Roman Kennke  <kennke@aicas.com>
33071   
33072         * javax/swing/JLayeredPane.java
33073         (insertIndexForLayer): Fixed algorithm to correctly determine
33074         inser index for positions >= 0.
33075         (addImpl): Fixed API docs for the index parameter.
33076   
33077 2006-01-31  Mark Wielaard  <mark@klomp.org>
33078   
33079         * java/net/URI.java (getURIGroup): Check for null to see whether
33080         group actually exists.
33081   
33082 2006-01-31  Lillian Angel  <langel@redhat.com>
33083   
33084         * javax/swing/text/DefaultStyledDocument.java
33085         (changeUpdate): Fixed calls to split to incorporate 
33086         new parameter.
33087         (insertParagraph): Likewise. Uses 0 as editIndex
33088         because inserting into a new paragraph.
33089         (insertContentTag): Fixed check to use 
33090         recreateLeaves. Added a FIXME comment.
33091         (split): Added a new parameter for edits.
33092   
33093 2006-01-31  Roman Kennke  <kennke@aicas.com>
33094   
33095         * javax/swing/plaf/basic/BasicRootPaneUI.java
33096         (installDefaults): Don't install a background color here.
33097   
33098 2006-01-31  Lillian Angel  <langel@redhat.com>
33099   
33100         * javax/swing/text/DefaultStyledDocument.java
33101         (insert): Removed comment.
33102         (insertUpdate): Added comment.
33103         (recreateLeaves): Removed call to push newBranch onto the
33104         stack. This does not need to be done here.
33105   
33106 2006-01-31  Chris Burdess  <dog@gnu.org>
33107   
33108         * gnu/xml/stream/SAXParser.java,
33109           gnu/xml/stream/UnicodeReader.java,
33110           gnu/xml/stream/XIncludeFilter.java,
33111           gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
33112           only resolved the system ID not the stream. Make some utility methods
33113           public and static for use by other private XML APIs.
33114         * java/lang/ClassNotFoundException.java: Ensure that initCause can be
33115           called without throwing IllegalStateException.
33116         * java/util/logging/SimpleFormatter.java: Write thrown exception if
33117           provided.
33118
33119 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33120
33121         Fixes bug #22873
33122         * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
33123         for an invalid index and return null for a skipped group.
33124
33125 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33126
33127         Fixes bug #26002
33128         * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
33129         (NamedProperty): New inner class.
33130         (getNamedProperty): New method.
33131         (getRETokenNamedProperty): New Method.
33132         * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
33133         * gnu/regexp/RETokenNamedProperty.java: New file.
33134
33135 2006-01-31  Roman Kennke  <kennke@aicas.com>
33136
33137         * javax/swing/plaf/PlainView.java
33138         (paint): Call drawLine with baseline coordinates.
33139         (drawLine): Documented and indented this method.
33140         (drawUnselecetedText): Documented and indented this method.
33141         * javax/swing/plaf/text/Utilites.java
33142         (drawTabbedText): The coordinates denote the baseline of the text
33143         not the upper left corner.
33144   
33145 2006-01-31  Roman Kennke  <kennke@aicas.com>
33146   
33147         * javax/swing/plaf/basic/BasicTextUI.java
33148         (createKeymap): Don't store KeyBindings[] as focusInputMap in
33149         UIManager. Added FIXME regarding the implementation of this method.
33150   
33151 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
33152   
33153         * examples/gnu/classpath/examples/swing/ButtonDemo.java
33154         (ButtonDemo): Move content initialisation to new method,
33155         (initFrameContent): New method,
33156         (main): Call initFrameContent(),
33157         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
33158         * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
33159         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
33160         * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
33161         * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
33162   
33163 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
33164   
33165         * examples/gnu/classpath/examples/swing/Demo.java
33166         (Demo): Set frame size,
33167         (mkButtonBar): Removed stacked sub-panels.
33168   
33169 2006-01-30  Lillian Angel  <langel@redhat.com>
33170   
33171         * javax/swing/text/DefaultStyledDocument.java:
33172         Added new fields.
33173         (insert): Initialized fields. Removed call to addEdit, 
33174         and created ElementEdit instead.
33175         (insertUpdate): Added check for fracturing. If the
33176         fracturing was not successful, we should push the
33177         last element back on the stack.
33178         (insertParagraph): Fixed call to getEditForParagraphAndIndex.
33179         Also, changed replace calls to use Edit.
33180         (insertFirstContentTag): Removed unneeded check and fixed call
33181         to recreateLeaves.
33182         (insertContent): Fixed check to use new fields. Added code in
33183         to check if leaves overlap.
33184         (createFracture): Fixed call to recreateLeaves.
33185         (recreateLeaves): Fixed code and cleaned it up a bit.
33186         (insertFracture): Set fracNotCreated field.
33187         (addEdit): Removed, this method is not needed.
33188   
33189 2006-01-30  Roman Kennke  <kennke@aicas.com>
33190   
33191         * javax/swing/JRootPane.java
33192         (RootLayout.prefSize): Removed caching for preferredSize.
33193         (RootLayout.invalidateLayout): Likewise.
33194         (RootLayout.preferredLayoutSize): Likewise.     
33195   
33196 2006-01-30  Roman Kennke  <kennke@aicas.com>
33197   
33198         PR classpath/26035
33199         * javax/swing/JFrame.java
33200         (frameInit): Handle the defaultLookAndFeelDecorated flag.
33201         * javax/swing/plaf/metal/MetalRootPaneUI.java
33202         (MetalFrameBorder): New inner class, provides the border for
33203         top level containers with L&F decorations.
33204         (MetalTitlePane): New inner class, provides the title pane for
33205         top level containers with L&F decorations.
33206         (MetalRootLayout): New inner class. Used to layout the root pane
33207         when L&F window decorations are enabled.
33208         (installUI): New method. Handles window decorations.
33209         (uninstallUI): New method. Handles window decorations.
33210         (propertyChange): Handles window decorations.
33211         (installWindowDecorations): New method. Handles window
33212         decorations.
33213         (uninstallWindowDecorations): New method. Handles window
33214         decorations.
33215         * javax/swing/plaf/metal/MetalLookAndFeel.java
33216         (getSupportsWindowDecorations): Overridden to return true.
33217
33218 2006-01-30  Mark Wielaard  <mark@klomp.org>
33219
33220         * javax/swing/JProgressBar.java (JProgressBar(int)): Document
33221         IllegalArgumentException when orientation is illegal.
33222         (JProgressBar(int, int, int)): Likewise and throw exception.
33223         (setOrientation): Likewise.
33224   
33225 2006-01-30  Roman Kennke  <kennke@aicas.com>
33226   
33227         * javax/swing/ViewportLayout.java
33228         (minimumLayoutSize): Rewritten to unconditionally return (4,4).
33229   
33230 2006-01-30  Mark Wielaard  <mark@klomp.org>
33231   
33232         * javax/swing/JProgressBar.java (orientation): Always set by
33233         constructor.
33234         (JProgressBar(int)): Document default on 'illegal' value.
33235         (JProgressBar(int, int, int)): Likewise and set orientation to
33236         HORIZONTAL when 'illegal'.
33237         (setOrientation): Likewise.
33238   
33239 2006-01-30  Roman Kennke  <kennke@aicas.com>
33240   
33241         * javax/swing/plaf/basic/BasicListUI.java
33242         (ListDataHandler.contentsChanged): Update the
33243         updateLayoutStateNeeded flag.
33244         (ListDataHandler.intervalAdded): Update the
33245         updateLayoutStateNeeded flag.
33246         (ListDataHandler.intervalRemoved): Update the
33247         updateLayoutStateNeeded flag.
33248         (PropertyChangeHandler.propertyChange): Correctly update the
33249         listeners on new list model.
33250         (maybeUpdateLayoutState): Don't consider the validation state
33251         of the list.
33252   
33253 2006-01-30  Mark Wielaard  <mark@klomp.org>
33254   
33255         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
33256         sortKeys is null.
33257   
33258 2006-01-30  Roman Kennke  <kennke@aicas.com>
33259   
33260         * javax/swing/JLayeredPane.java
33261         (insertIndexForLayer): Fixed algorithm to correctly insert
33262         components within different layers and -1 position.
33263   
33264 2006-01-30  Mark Wielaard  <mark@klomp.org>
33265   
33266         * doc/api/Makefile.am (create_html): Add -validhtml.
33267   
33268 2006-01-30  Roman Kennke  <kennke@aicas.com>
33269   
33270         * javax/swing/JLayeredPane.java
33271         (insertIndexForLayer): Fixed algorithm to correctly insert
33272         components within same layer and -1 position.
33273   
33274 2006-01-30  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33275   
33276         Fixes bug #24876
33277         * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
33278         New execution flag.
33279         (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
33280         implicit RETokenEnd at the end of the regexp chain.
33281         Do not select the longest match, but select the first match.
33282         (match): Do not take care of REMatch.empty.
33283         * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
33284         * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
33285         * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
33286         * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
33287         Do not take care of REMatch.empty. Set and check REMatch.empty
33288         when trying to match the single token.
33289
33290 2006-01-30  Mark Wielaard  <mark@klomp.org>
33291
33292         * java/awt/Cursor.java (toString): Include name and type.
33293
33294 2006-01-30  Raif S. Naffah  <raif@swiftdsl.com.au>
33295
33296         * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
33297         the ipad buffer.
33298         * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
33299   
33300 2006-01-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33301         
33302         PR 26027
33303         * javax/swing/plaf/basic/BasicListUI.java  (maybeUpdateLayoutState):
33304         Consider the validation state of the list. 
33305
33306 2006-01-29  Robert Schuster  <robertschuster@fsfe.org>
33307
33308         * gnu/java/beans/DefaultExceptionListener.java: Constant public field
33309         INSTANCE added.
33310         * java/beans/XMLDecoder.java:
33311         (setExceptionListener): Use shared DefaultExceptionListener
33312         instance.
33313         * java/beans/Encoder.java:
33314         (setExceptionListener): Use shared DefaultExceptionListener
33315         instance.
33316   
33317 2006-01-29  Roman Kennke  <kennke@aicas.com>
33318   
33319         * javax/swing/ScrollPaneLayout.java
33320         (minimumLayoutSize): Rewritten to match JDKs behaviour.
33321   
33322 2006-01-29  Mark Wielaard  <mark@klomp.org>
33323   
33324         * java/net/SocketPermission.java (setActions): Trim and lower case
33325         action.
33326   
33327 2006-01-29  Raif S. Naffah  <raif@swiftdsl.com.au>
33328   
33329         * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
33330         incorrectly failing primality test for some known primes. Fixed.
33331         (passFermatLittleTheorem): Removed.
33332         (passMillerRabin): Removed.
33333         (isProbablePrime): Cache primes that pass the primality tests.
33334         Use BigInteger.isProbablePrime(int) for primality tests.
33335         (debugBI): New static debugging method.
33336   
33337 2006-01-28  Roman Kennke  <kennke@aicas.com>
33338   
33339         * javax/swing/plaf/basic/BasicListUI.java
33340         (updateLayoutState): Removed unneeded special case for VERTICAL.
33341   
33342 2006-01-28  Roman Kennke  <kennke@aicas.com>
33343   
33344         * javax/swing/plaf/basic/BasicListUI.java
33345         (getCellBounds): Determine correct list width when having a
33346         layoutOrientation of VERTICAL.
33347         (maybeUpdateLayoutState): Don't consider the validation state of
33348         the list.
33349   
33350 2006-01-28  Mark Wielaard  <mark@klomp.org>
33351   
33352         Reported by Dimitri Fontaine <dimitri@dalibo.com>
33353         * java/awt/print/NoPrinterJob.java: New (fake) class.
33354         * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
33355   
33356 2006-01-28  Mark Wielaard  <mark@klomp.org>
33357   
33358         * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
33359   
33360 2006-01-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33361   
33362         * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
33363         (addChildren): New method.
33364   
33365 2006-01-28  Raif S. Naffah  <raif@swiftdsl.com.au>
33366   
33367         * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
33368         constructor for cloning purposes.
33369         (clone): New implementation that ensures cloning.
33370         * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
33371         * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
33372           "GNU".
33373   
33374 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33375   
33376         * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
33377         Call updateCurrentVisiblePath.
33378   
33379 2006-01-27  Roman Kennke  <kennke@aicas.com>
33380   
33381         * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
33382   
33383 2006-01-27  Roman Kennke  <kennke@aicas.com>
33384   
33385         * examples/gnu/classpath/examples/swing/ButtonDemo.java
33386         (createContent): Only create new content if we don't have one
33387         already.
33388         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
33389         (createContent): Only create new content if we don't have one
33390         already.
33391         * examples/gnu/classpath/examples/swing/FileChooserDemo.java
33392         (createContent): Only create new content if we don't have one
33393         already.
33394         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
33395         (createContent): Only create new content if we don't have one
33396         already.
33397         * examples/gnu/classpath/examples/swing/SliderDemo.java
33398         (createContent): Only create new content if we don't have one
33399         already.
33400         * examples/gnu/classpath/examples/swing/TableDemo.java
33401         (createContent): Only create new content if we don't have one
33402         already.
33403         * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33404         (createContent): Only create new content if we don't have one
33405         already.
33406   
33407 2006-01-27  Lillian Angel  <langel@redhat.com>
33408   
33409         * javax/swing/text/DefaultStyledDocument.java
33410         (insertFirstContentTag): Removed check, not needed. This
33411         still needs to be fixed for some cases. Added call to
33412         recreateLeaves.
33413         (createFracture): Added call to recreateLeaves.
33414         (recreateLeaves): New method used to recreate all the
33415         leaves after the initial insertion. This still needs 
33416         more work.
33417         (handleInsertAfterNewline): Removed else, not needed.
33418   
33419 2006-01-27  Roman Kennke  <kennke@aicas.com>
33420   
33421         * javax/swing/JLayeredPane.java
33422         (inserIndexForLayer): Fixed direction of search.
33423   
33424 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33425   
33426         * javax/swing/JTree.java (constructor): Put EXPANDED for the root 
33427         node into nodeStates.
33428   
33429 2006-01-27  Roman Kennke  <kennke@aicas.com>
33430   
33431         * javax/swing/JLayeredPane.java
33432         (FRAME_CONTENT_LAYER): Made field final.
33433         (componentToLayer): Made field private.
33434         (rectCache): Removed field.
33435         (layers): Removed field.
33436         (JLayeredPane()): Removed initialization of removed fields.
33437         (getLayer): Rewritten to make use of client properties in
33438         JComponents and to be more straighforward.
33439         (static getLayer): Rewritten to make use of client properties in
33440         JComponents.
33441         (layerToRange): Removed method.
33442         (incrLayer): Removed method.
33443         (decrLayer): Removed method.
33444         (highestLayer): Rewritten to be more straightforward.
33445         (lowestLayer): Rewritten to be more straightforward.
33446         (getPosition): Rewritten to be more straightforward.
33447         (getComponentsInLayer): Rewritten to be more straightforward.
33448         (getComponentCountInLayer): Rewritten to be more straightforward.
33449         (getIndexOf): Rewritten to be more straightforward.
33450         (inserIndexForLayer): Rewritten to be more straightforward.
33451         (remove): Rewritten to be more straightforward.
33452         (setLayer): Rewritten to be more straightforward.
33453         (addImpl): Rewritten to be more straightforward.
33454         (putLayer): Rewritten to be more straightforward.
33455
33456 2006-01-27  Anthony Balkissoon  <abalkiss@redhat.com>
33457
33458         * java/lang/Character.java:
33459         (offsetByCodePoints(CharSequence, int, int)): New API method.
33460         (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33461         (toChars): Throw the Exception that the docs say we throw.
33462         (codePointAt): Fixed an off-by-one error in the bounds of the if 
33463         statement.
33464         * java/lang/String.java:
33465         (String(int[], int, int)): New API constructor.
33466   
33467 2006-01-27  Lillian Angel  <langel@redhat.com>
33468   
33469         * javax/swing/text/DefaultStyledDocument.java
33470         (insert): Moved this loop to insertUpdate.
33471         (insertUpdate): Likewise. Fixed variable
33472         names. Incremented pos if new paragraph
33473         is inserted.
33474         (split): Changed edits to use replace instead. Prevents
33475         assertion errors.
33476         (insertFirstContentTag): Removed else.
33477         (insertContentTag): Implemented else for JoinNextDirection.
33478         (createFracture): Fixed up code, still not fully complete.
33479         (insertFracture): Fixed to use return value from 
33480         recreateAfterFracture.
33481         (recreateAfterFracture): Changed to return an array of the
33482         elements to be added. This prevents an assertion error.
33483         (contains): New function checks if an element is already in 
33484         the Vector. Vector's contain function was not enough to use.
33485         (addAddedElement): Changed to use new contains function.
33486         (addAddedElements): Likewise.
33487         (addRemovedElement): Likewise.
33488         (addRemovedElements): Likewise.        
33489         
33490 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33491
33492         PR 25520
33493         * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33494         If no user class loaders found on the stack, return the thread 
33495         context class loader. (currentClassLoader): Explained.
33496   
33497 2006-01-27  Roman Kennke  <kennke@aicas.com>
33498   
33499         * java/awt/Container.java
33500         (swapComponents): Removed unspecified method.
33501         * javax/swing/JLayeredPane.java
33502         (setPosition): Reimplemented correctly.
33503         (swapComponents): New helper method.
33504   
33505 2006-01-27  Mark Wielaard  <mark@klomp.org>
33506   
33507         * configure.ac: Set version to 0.21-pre.
33508   
33509 2006-01-27  Roman Kennke  <kennke@aicas.com>
33510   
33511         PR classpath/25968
33512         * javax/swing/JComponent.java
33513         (findOverlapFreeParent): Improved the algorithm to make better use
33514         of the optimizedDrawingEnabled flag.
33515         * javax/swing/JLayeredPane.java
33516         (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33517         * javax/swing/JViewport.java
33518         (computeBlit): Fixed check to decide if blitting is possible or not,
33519         so that it doesn't blit if nothing was scrolled (in order to
33520         update the buffer when the view updates itself).
33521   
33522 2006-01-27  Roman Kennke  <kennke@aicas.com>
33523   
33524         * javax/swing/plaf/metal/MetalFileChooserUI.java
33525         (createList): Don't set scrollbar policy.
33526   
33527 2006-01-27  Roman Kennke  <kennke@aicas.com>
33528   
33529         * javax/swing/plaf/basic/BasicPopupMenuUI.java
33530         (PopupMenuHandler.popupMenuWillBecomeInvisible):
33531         Fixed to also handle non-Swing toplevel containers.
33532         (PopupMenuHandler.popupMenuWillBecomeVisible):
33533         Fixed to also handle non-Swing toplevel containers.
33534         * javax/swing/Popup.java
33535         (JWindowPopup.JWindowPopup()): Correctly set parent window on
33536         popup.
33537   
33538 2006-01-27  Roman Kennke  <kennke@aicas.com>
33539   
33540         * javax/swing/plaf/basic/BasicInternalFrameUI.java
33541         (InternalFramePropertyChangeListener): Don't implement
33542         VetoableChangeListener.
33543         (InternalFramePropertyChangeListener.vetoableChange): Removed.
33544         (internalFrameVetoableChangeListener): Removed unneeded field.
33545         (installListeners): Don't install vetoableChangeListener.
33546         * javax/swing/event/DocumentEvent.java
33547         (EventType): Made class final.
33548   
33549 2006-01-27  Roman Kennke  <kennke@aicas.com>
33550   
33551         * javax/swing/SwingUtilities.java
33552         (calculateInsetArea): Removed unneeded method. The method
33553         calculateInnerArea has the same purpose and is actually specified.
33554         (calculateInnerArea): Rewritten to not use calculateInsetArea.
33555         * javax/swing/plaf/basic/BasicMenuItemUI.java
33556         (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33557         of SwingUtilities.calculateInsetArea().
33558   
33559 2006-01-27  Roman Kennke  <kennke@aicas.com>
33560   
33561         * javax/swing/plaf/basic/BasicTreeUI.java
33562         (installDefaults): Removed requestFocusInWindow() call.
33563         * javax/swing/JComponent.java
33564         (requestFocusInWindow(boolean)): Made method protected.
33565         (printComponent): Made method protected.
33566         (printChildren): Made method protected.
33567         (printComponent): Made method protected.
33568         (printBorder): Made method protected.
33569   
33570 2006-01-27  Roman Kennke  <kennke@aicas.com>
33571   
33572         * javax/swing/AbstractButton.java
33573         (ButtonChangeListener.ButtonChangeListener()): Made constructor
33574         package private.
33575         * javax/swing/ImageIcon.java
33576         (component): Made field final.
33577         (tracker): Made field final.
33578         * javax/swing/JApplet.java
33579         (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33580         * javax/swing/JCheckBox.java
33581         (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33582         protected.
33583         * javax/swing/JDialog.java
33584         (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33585         * javax/swing/JFrame.java
33586         (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33587         * javax/swing/JLayeredPane.java
33588         (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33589         protected.
33590         (DEFAULT_LAYER): Made field final.
33591         (PALETTE_LAYER): Made field final.
33592         (MODAL_LAYER): Made field final.
33593         (POPUP_LAYER): Made field final.
33594         (DRAG_LAYER): Made field final.
33595         * javax/swing/JMenu.java
33596         (ActionChangeListener): Made class private.
33597         * javax/swing/JOptionPane.java
33598         (UNITITIALIZED_VALUE): Made field final.
33599         * javax/swing/JPanel.java
33600         (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33601         * javax/swing/JPopupMenu.java
33602         (ActionChangeListener): Made class private.
33603         * javax/swing/JTree.java
33604         (paramString): Made method protected.
33605         * javax/swing/JViewport.java
33606         (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33607         * javax/swing/JWindow.java
33608         (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33609         * javax/swing/RepaintManager.java
33610         (RepaintWorker): Made class private.
33611   
33612 2006-01-27  Roman Kennke  <kennke@aicas.com>
33613   
33614         * gnu/java/awt/peer/swing/SwingComponentPeer.java
33615         (handleEvent): Removed debug statement.
33616   
33617 2006-01-27  Roman Kennke  <kennke@aicas.com>
33618   
33619         * java/awt/Component.java
33620         (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33621         more than it helps.
33622   
33623 2006-01-26  Lillian Angel  <langel@redhat.com>
33624   
33625         * javax/swing/text/DefaultStyledDocument.java
33626         (createFracture): Commented out a known problem,
33627         added FIXME tag.
33628   
33629 2006-01-26  Lillian Angel  <langel@redhat.com>
33630   
33631         * javax/swing/text/DefaultStyledDocument.java
33632         (ElementBuffer): Added fields.
33633         (remove): Initialized pos.
33634         (change): Likewise.
33635         (insert): Likewise.
33636         (insertUpdate): Incremented pos. Fixed check, createFracture should
33637         be called on first tag if it is not ContentType.
33638         (insertFirstContentTag): Reworked to use proper offsets and
33639         set offset accordingly. This might need more work in the future.
33640         (insertContentTag): Likewise. Fixed to use pos, instead of 
33641         offset.
33642         (createFracture): Fixed to recreate other leaves. Still needs
33643         more work.
33644         (insertFracture): Reimplemented.
33645         (recreateAfterFracture): New method.
33646         (getParagraphElement): Reimplemented, more efficent.
33647
33648 2006-01-26  Christian Thalinger  <twisti@complang.tuwien.ac.at>
33649
33650         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33651         (doubleToRawLongBits, longBitsToDouble): Swap the byte
33652         ordering for little-endian arms without VFP.
33653
33654 2006-01-26  Raif S. Naffah  <raif@swiftdsl.com.au>
33655
33656         PR classpath/25981
33657         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33658
33659 2006-01-26  Mark Wielaard  <mark@klomp.org>
33660
33661         Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33662         * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33663         Add trailing zeros to the fraction of the decimal with the smallest
33664         scale.
33665
33666 2006-01-26  Roman Kennke  <kennke@aicas.com>
33667
33668         * javax/swing/text/html/ObjectView.java: New file.
33669
33670 2006-01-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33671
33672         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): 
33673         Call startEditing when appropriate.
33674         (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33675         (startEditing): Always edit if directly ordered from 
33676         MouseHandler.mousePressed.
33677         * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START): 
33678         New field. (createTreeCellEditor): Set click count to start.
33679         (getTreeCellEditorComponent): Assing realEditor directly.
33680
33681 2006-01-25  Casey Marshall  <csm@gnu.org>
33682
33683         Merging GNU Crypto and Jessie.
33684
33685         * NEWS: mention the merge in the 0.21 notes.
33686         * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33687         (SSL_RECORD_LAYER): new constants.
33688         * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33689         to provider.
33690         * resource/java/security/classpath.security: add new providers.
33691         * gnu/javax/crypto/assembly/Assembly.java,
33692         gnu/javax/crypto/assembly/Cascade.java,
33693         gnu/javax/crypto/assembly/CascadeStage.java,
33694         gnu/javax/crypto/assembly/CascadeTransformer.java,
33695         gnu/javax/crypto/assembly/DeflateTransformer.java,
33696         gnu/javax/crypto/assembly/Direction.java,
33697         gnu/javax/crypto/assembly/LoopbackTransformer.java,
33698         gnu/javax/crypto/assembly/ModeStage.java,
33699         gnu/javax/crypto/assembly/Operation.java,
33700         gnu/javax/crypto/assembly/PaddingTransformer.java,
33701         gnu/javax/crypto/assembly/Stage.java,
33702         gnu/javax/crypto/assembly/Transformer.java,
33703         gnu/javax/crypto/assembly/TransformerException.java,
33704         gnu/javax/crypto/cipher/Anubis.java,
33705         gnu/javax/crypto/cipher/BaseCipher.java,
33706         gnu/javax/crypto/cipher/Blowfish.java,
33707         gnu/javax/crypto/cipher/Cast5.java,
33708         gnu/javax/crypto/cipher/CipherFactory.java,
33709         gnu/javax/crypto/cipher/DES.java,
33710         gnu/javax/crypto/cipher/IBlockCipher.java,
33711         gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33712         gnu/javax/crypto/cipher/Khazad.java,
33713         gnu/javax/crypto/cipher/NullCipher.java,
33714         gnu/javax/crypto/cipher/Rijndael.java,
33715         gnu/javax/crypto/cipher/Serpent.java,
33716         gnu/javax/crypto/cipher/Square.java,
33717         gnu/javax/crypto/cipher/TripleDES.java,
33718         gnu/javax/crypto/cipher/Twofish.java,
33719         gnu/javax/crypto/cipher/WeakKeyException.java,
33720         gnu/javax/crypto/jce/GnuCrypto.java,
33721         gnu/javax/crypto/jce/GnuSasl.java,
33722         gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33723         gnu/javax/crypto/jce/cipher/AESSpi.java,
33724         gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33725         gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33726         gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33727         gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33728         gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33729         gnu/javax/crypto/jce/cipher/DESSpi.java,
33730         gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33731         gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33732         gnu/javax/crypto/jce/cipher/PBES2.java,
33733         gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33734         gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33735         gnu/javax/crypto/jce/cipher/SquareSpi.java,
33736         gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33737         gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33738         gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33739         gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33740         gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33741         gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33742         gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33743         gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33744         gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33745         gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33746         gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33747         gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33748         gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33749         gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33750         gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33751         gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33752         gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33753         gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33754         gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33755         gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33756         gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33757         gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33758         gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33759         gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33760         gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33761         gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33762         gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33763         gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33764         gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33765         gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33766         gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33767         gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33768         gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33769         gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33770         gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33771         gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33772         gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33773         gnu/javax/crypto/jce/mac/MacAdapter.java,
33774         gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33775         gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33776         gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33777         gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33778         gnu/javax/crypto/jce/mac/OMacImpl.java,
33779         gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33780         gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33781         gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33782         gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33783         gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33784         gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33785         gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33786         gnu/javax/crypto/jce/mac/UHash32Spi.java,
33787         gnu/javax/crypto/jce/mac/UMac32Spi.java,
33788         gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33789         gnu/javax/crypto/jce/params/DEREncodingException.java,
33790         gnu/javax/crypto/jce/params/DERReader.java,
33791         gnu/javax/crypto/jce/params/DERWriter.java,
33792         gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33793         gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33794         gnu/javax/crypto/jce/prng/FortunaImpl.java,
33795         gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33796         gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33797         gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33798         gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33799         gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33800         gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33801         gnu/javax/crypto/key/GnuSecretKey.java,
33802         gnu/javax/crypto/key/IKeyAgreementParty.java,
33803         gnu/javax/crypto/key/IncomingMessage.java,
33804         gnu/javax/crypto/key/KeyAgreementException.java,
33805         gnu/javax/crypto/key/KeyAgreementFactory.java,
33806         gnu/javax/crypto/key/OutgoingMessage.java,
33807         gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33808         gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33809         gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33810         gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33811         gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33812         gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33813         gnu/javax/crypto/key/dh/ElGamalSender.java,
33814         gnu/javax/crypto/key/dh/GnuDHKey.java,
33815         gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33816         gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33817         gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33818         gnu/javax/crypto/key/dh/RFC2631.java,
33819         gnu/javax/crypto/key/srp6/SRP6Host.java,
33820         gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33821         gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33822         gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33823         gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33824         gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33825         gnu/javax/crypto/key/srp6/SRP6User.java,
33826         gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33827         gnu/javax/crypto/key/srp6/SRPKey.java,
33828         gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33829         gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33830         gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33831         gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33832         gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33833         gnu/javax/crypto/keyring/BaseKeyring.java,
33834         gnu/javax/crypto/keyring/BinaryDataEntry.java,
33835         gnu/javax/crypto/keyring/CertPathEntry.java,
33836         gnu/javax/crypto/keyring/CertificateEntry.java,
33837         gnu/javax/crypto/keyring/CompressedEntry.java,
33838         gnu/javax/crypto/keyring/EncryptedEntry.java,
33839         gnu/javax/crypto/keyring/Entry.java,
33840         gnu/javax/crypto/keyring/EnvelopeEntry.java,
33841         gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33842         gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33843         gnu/javax/crypto/keyring/IKeyring.java,
33844         gnu/javax/crypto/keyring/IPrivateKeyring.java,
33845         gnu/javax/crypto/keyring/IPublicKeyring.java,
33846         gnu/javax/crypto/keyring/MalformedKeyringException.java,
33847         gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33848         gnu/javax/crypto/keyring/MeteredInputStream.java,
33849         gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33850         gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33851         gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33852         gnu/javax/crypto/keyring/PrimitiveEntry.java,
33853         gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33854         gnu/javax/crypto/keyring/Properties.java,
33855         gnu/javax/crypto/keyring/PublicKeyEntry.java,
33856         gnu/javax/crypto/mac/BaseMac.java,
33857         gnu/javax/crypto/mac/HMac.java,
33858         gnu/javax/crypto/mac/HMacFactory.java,
33859         gnu/javax/crypto/mac/IMac.java,
33860         gnu/javax/crypto/mac/MacFactory.java,
33861         gnu/javax/crypto/mac/MacInputStream.java,
33862         gnu/javax/crypto/mac/MacOutputStream.java,
33863         gnu/javax/crypto/mac/OMAC.java,
33864         gnu/javax/crypto/mac/TMMH16.java,
33865         gnu/javax/crypto/mac/UHash32.java,
33866         gnu/javax/crypto/mac/UMac32.java,
33867         gnu/javax/crypto/mode/BaseMode.java,
33868         gnu/javax/crypto/mode/CBC.java,
33869         gnu/javax/crypto/mode/CFB.java,
33870         gnu/javax/crypto/mode/CTR.java,
33871         gnu/javax/crypto/mode/EAX.java,
33872         gnu/javax/crypto/mode/ECB.java,
33873         gnu/javax/crypto/mode/IAuthenticatedMode.java,
33874         gnu/javax/crypto/mode/ICM.java,
33875         gnu/javax/crypto/mode/IMode.java,
33876         gnu/javax/crypto/mode/ModeFactory.java,
33877         gnu/javax/crypto/mode/OFB.java,
33878         gnu/javax/crypto/pad/BasePad.java,
33879         gnu/javax/crypto/pad/IPad.java,
33880         gnu/javax/crypto/pad/PKCS1_V1_5.java,
33881         gnu/javax/crypto/pad/PKCS7.java,
33882         gnu/javax/crypto/pad/PadFactory.java,
33883         gnu/javax/crypto/pad/SSL3.java,
33884         gnu/javax/crypto/pad/TBC.java,
33885         gnu/javax/crypto/pad/TLS1.java,
33886         gnu/javax/crypto/pad/WrongPaddingException.java,
33887         gnu/javax/crypto/prng/ARCFour.java,
33888         gnu/javax/crypto/prng/CSPRNG.java,
33889         gnu/javax/crypto/prng/Fortuna.java,
33890         gnu/javax/crypto/prng/ICMGenerator.java,
33891         gnu/javax/crypto/prng/IPBE.java,
33892         gnu/javax/crypto/prng/PBKDF2.java,
33893         gnu/javax/crypto/prng/PRNGFactory.java,
33894         gnu/javax/crypto/prng/UMacGenerator.java,
33895         gnu/javax/crypto/sasl/AuthInfo.java,
33896         gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33897         gnu/javax/crypto/sasl/ClientFactory.java,
33898         gnu/javax/crypto/sasl/ClientMechanism.java,
33899         gnu/javax/crypto/sasl/ConfidentialityException.java,
33900         gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33901         gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33902         gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33903         gnu/javax/crypto/sasl/InputBuffer.java,
33904         gnu/javax/crypto/sasl/IntegrityException.java,
33905         gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33906         gnu/javax/crypto/sasl/NoSuchUserException.java,
33907         gnu/javax/crypto/sasl/OutputBuffer.java,
33908         gnu/javax/crypto/sasl/SaslEncodingException.java,
33909         gnu/javax/crypto/sasl/SaslInputStream.java,
33910         gnu/javax/crypto/sasl/SaslOutputStream.java,
33911         gnu/javax/crypto/sasl/SaslUtil.java,
33912         gnu/javax/crypto/sasl/ServerFactory.java,
33913         gnu/javax/crypto/sasl/ServerMechanism.java,
33914         gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33915         gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33916         gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33917         gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33918         gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33919         gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33920         gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33921         gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33922         gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33923         gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33924         gnu/javax/crypto/sasl/plain/PasswordFile.java,
33925         gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33926         gnu/javax/crypto/sasl/plain/PlainClient.java,
33927         gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33928         gnu/javax/crypto/sasl/plain/PlainServer.java,
33929         gnu/javax/crypto/sasl/srp/CALG.java,
33930         gnu/javax/crypto/sasl/srp/ClientStore.java,
33931         gnu/javax/crypto/sasl/srp/IALG.java,
33932         gnu/javax/crypto/sasl/srp/KDF.java,
33933         gnu/javax/crypto/sasl/srp/PasswordFile.java,
33934         gnu/javax/crypto/sasl/srp/SRP.java,
33935         gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33936         gnu/javax/crypto/sasl/srp/SRPClient.java,
33937         gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33938         gnu/javax/crypto/sasl/srp/SRPServer.java,
33939         gnu/javax/crypto/sasl/srp/SecurityContext.java,
33940         gnu/javax/crypto/sasl/srp/ServerStore.java,
33941         gnu/javax/crypto/sasl/srp/StoreEntry.java,
33942         gnu/javax/net/ssl/Base64.java,
33943         gnu/javax/net/ssl/EntropySource.java,
33944         gnu/javax/net/ssl/NullManagerParameters.java,
33945         gnu/javax/net/ssl/PrivateCredentials.java,
33946         gnu/javax/net/ssl/SRPManagerParameters.java,
33947         gnu/javax/net/ssl/SRPTrustManager.java,
33948         gnu/javax/net/ssl/StaticTrustAnchors.java,
33949         gnu/javax/net/ssl/provider/Alert.java,
33950         gnu/javax/net/ssl/provider/AlertException.java,
33951         gnu/javax/net/ssl/provider/Certificate.java,
33952         gnu/javax/net/ssl/provider/CertificateRequest.java,
33953         gnu/javax/net/ssl/provider/CertificateType.java,
33954         gnu/javax/net/ssl/provider/CertificateVerify.java,
33955         gnu/javax/net/ssl/provider/CipherSuite.java,
33956         gnu/javax/net/ssl/provider/ClientHello.java,
33957         gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33958         gnu/javax/net/ssl/provider/CompressionMethod.java,
33959         gnu/javax/net/ssl/provider/Constructed.java,
33960         gnu/javax/net/ssl/provider/ContentType.java,
33961         gnu/javax/net/ssl/provider/Context.java,
33962         gnu/javax/net/ssl/provider/DiffieHellman.java,
33963         gnu/javax/net/ssl/provider/DigestInputStream.java,
33964         gnu/javax/net/ssl/provider/DigestOutputStream.java,
33965         gnu/javax/net/ssl/provider/Enumerated.java,
33966         gnu/javax/net/ssl/provider/Extension.java,
33967         gnu/javax/net/ssl/provider/Extensions.java,
33968         gnu/javax/net/ssl/provider/Finished.java,
33969         gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33970         gnu/javax/net/ssl/provider/Handshake.java,
33971         gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33972         gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33973         gnu/javax/net/ssl/provider/Jessie.java,
33974         gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33975         gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33976         gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33977         gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33978         gnu/javax/net/ssl/provider/KeyPool.java,
33979         gnu/javax/net/ssl/provider/MacException.java,
33980         gnu/javax/net/ssl/provider/OverflowException.java,
33981         gnu/javax/net/ssl/provider/PRNG.java,
33982         gnu/javax/net/ssl/provider/ProtocolVersion.java,
33983         gnu/javax/net/ssl/provider/Random.java,
33984         gnu/javax/net/ssl/provider/RecordInput.java,
33985         gnu/javax/net/ssl/provider/RecordInputStream.java,
33986         gnu/javax/net/ssl/provider/RecordOutputStream.java,
33987         gnu/javax/net/ssl/provider/RecordingInputStream.java,
33988         gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33989         gnu/javax/net/ssl/provider/SSLHMac.java,
33990         gnu/javax/net/ssl/provider/SSLRSASignature.java,
33991         gnu/javax/net/ssl/provider/SSLRandom.java,
33992         gnu/javax/net/ssl/provider/SSLServerSocket.java,
33993         gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33994         gnu/javax/net/ssl/provider/SSLSocket.java,
33995         gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33996         gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33997         gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33998         gnu/javax/net/ssl/provider/SecurityParameters.java,
33999         gnu/javax/net/ssl/provider/ServerHello.java,
34000         gnu/javax/net/ssl/provider/ServerKeyExchange.java,
34001         gnu/javax/net/ssl/provider/Session.java,
34002         gnu/javax/net/ssl/provider/SessionContext.java,
34003         gnu/javax/net/ssl/provider/Signature.java,
34004         gnu/javax/net/ssl/provider/SynchronizedRandom.java,
34005         gnu/javax/net/ssl/provider/TLSHMac.java,
34006         gnu/javax/net/ssl/provider/TLSRandom.java,
34007         gnu/javax/net/ssl/provider/Util.java,
34008         gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
34009         gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
34010         gnu/javax/net/ssl/provider/XMLSessionContext.java,
34011         gnu/javax/security/auth/Password.java,
34012         gnu/javax/security/auth/callback/AWTCallbackHandler.java,
34013         gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
34014         gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
34015         gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
34016         gnu/javax/security/auth/callback/GnuCallbacks.java,
34017         gnu/javax/security/auth/callback/SwingCallbackHandler.java,
34018         gnu/java/security/Registry.java,
34019         gnu/java/security/Properties.java,
34020         gnu/java/security/hash/BaseHash.java,
34021         gnu/java/security/hash/HashFactory.java,
34022         gnu/java/security/hash/Haval.java,
34023         gnu/java/security/hash/IMessageDigest.java,
34024         gnu/java/security/hash/MD2.java,
34025         gnu/java/security/hash/MD4.java,
34026         gnu/java/security/hash/MD5.java,
34027         gnu/java/security/hash/RipeMD128.java,
34028         gnu/java/security/hash/RipeMD160.java,
34029         gnu/java/security/hash/Sha160.java,
34030         gnu/java/security/hash/Sha256.java,
34031         gnu/java/security/hash/Sha384.java,
34032         gnu/java/security/hash/Sha512.java,
34033         gnu/java/security/hash/Tiger.java,
34034         gnu/java/security/hash/Whirlpool.java,
34035         gnu/java/security/jce/hash/HavalSpi.java,
34036         gnu/java/security/jce/hash/MD2Spi.java,
34037         gnu/java/security/jce/hash/MD4Spi.java,
34038         gnu/java/security/jce/hash/MD5Spi.java,
34039         gnu/java/security/jce/hash/MessageDigestAdapter.java,
34040         gnu/java/security/jce/hash/RipeMD128Spi.java,
34041         gnu/java/security/jce/hash/RipeMD160Spi.java,
34042         gnu/java/security/jce/hash/Sha160Spi.java,
34043         gnu/java/security/jce/hash/Sha256Spi.java,
34044         gnu/java/security/jce/hash/Sha384Spi.java,
34045         gnu/java/security/jce/hash/Sha512Spi.java,
34046         gnu/java/security/jce/hash/TigerSpi.java,
34047         gnu/java/security/jce/hash/WhirlpoolSpi.java,
34048         gnu/java/security/jce/prng/HavalRandomSpi.java,
34049         gnu/java/security/jce/prng/MD2RandomSpi.java,
34050         gnu/java/security/jce/prng/MD4RandomSpi.java,
34051         gnu/java/security/jce/prng/MD5RandomSpi.java,
34052         gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
34053         gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
34054         gnu/java/security/jce/prng/SecureRandomAdapter.java,
34055         gnu/java/security/jce/prng/Sha160RandomSpi.java,
34056         gnu/java/security/jce/prng/Sha256RandomSpi.java,
34057         gnu/java/security/jce/prng/Sha384RandomSpi.java,
34058         gnu/java/security/jce/prng/Sha512RandomSpi.java,
34059         gnu/java/security/jce/prng/TigerRandomSpi.java,
34060         gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
34061         gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
34062         gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
34063         gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
34064         gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
34065         gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
34066         gnu/java/security/jce/sig/SignatureAdapter.java,
34067         gnu/java/security/key/IKeyPairCodec.java,
34068         gnu/java/security/key/IKeyPairGenerator.java,
34069         gnu/java/security/key/KeyPairCodecFactory.java,
34070         gnu/java/security/key/KeyPairGeneratorFactory.java,
34071         gnu/java/security/key/dss/DSSKey.java,
34072         gnu/java/security/key/dss/DSSKeyPairGenerator.java,
34073         gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
34074         gnu/java/security/key/dss/DSSPrivateKey.java,
34075         gnu/java/security/key/dss/DSSPublicKey.java,
34076         gnu/java/security/key/dss/FIPS186.java,
34077         gnu/java/security/key/rsa/GnuRSAKey.java,
34078         gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
34079         gnu/java/security/key/rsa/GnuRSAPublicKey.java,
34080         gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
34081         gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
34082         gnu/java/security/prng/BasePRNG.java,
34083         gnu/java/security/prng/EntropySource.java,
34084         gnu/java/security/prng/IRandom.java,
34085         gnu/java/security/prng/LimitReachedException.java,
34086         gnu/java/security/prng/MDGenerator.java,
34087         gnu/java/security/prng/PRNGFactory.java,
34088         gnu/java/security/prng/RandomEvent.java,
34089         gnu/java/security/prng/RandomEventListener.java,
34090         gnu/java/security/sig/BaseSignature.java,
34091         gnu/java/security/sig/ISignature.java,
34092         gnu/java/security/sig/ISignatureCodec.java,
34093         gnu/java/security/sig/SignatureFactory.java,
34094         gnu/java/security/sig/dss/DSSSignature.java,
34095         gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
34096         gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
34097         gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
34098         gnu/java/security/sig/rsa/EMSA_PSS.java,
34099         gnu/java/security/sig/rsa/RSA.java,
34100         gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
34101         gnu/java/security/sig/rsa/RSAPSSSignature.java,
34102         gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
34103         gnu/java/security/util/Base64.java,
34104         gnu/java/security/util/ExpirableObject.java,
34105         gnu/java/security/util/Prime2.java,
34106         gnu/java/security/util/Sequence.java,
34107         gnu/java/security/util/SimpleList.java,
34108         gnu/java/security/util/Util.java,
34109         resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
34110         new files imported from GNU Crypto and Jessie.
34111
34112 2006-01-25  Tom Tromey  <tromey@redhat.com>
34113
34114         * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
34115         Fixed calculation of number of bytes to read.
34116         (size, count, meta, eof): Document.
34117
34118 2006-01-25  Anthony Balkissoon  <abalkiss@redhat.com>
34119
34120         * java/lang/Character.java:
34121         (codePointCount(char[], int, int)): New API method.
34122         (codePointCount(CharSequence, int, int)): Likewise.
34123   
34124 2006-01-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34125   
34126         PR 25205
34127         * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent): 
34128         Rewritten.
34129         * javax/swing/JTree.java (stopEditing, cancelEditing): Return without 
34130         action if not editing.
34131         * javax/swing/plaf/basic/BasicTreeUI.java 
34132         (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
34133         (CellEditorHandler.editingStopped): Delegate to stopEditing.
34134         (EditorUpdateTimer): Removed.
34135         (TreeAction.actionPerformed): Stop and not cancel the current editing 
34136         when starting editing another node.
34137         (editorTimer, newVal): Removed.
34138         (cancelEditing): Do not send the cancel message.
34139         (completeEditing): Obtain the edited value from the editor.
34140         (finish): New method.
34141         (paintRow): Do not paint the editing component here.
34142         (startEditing, stopEditing): Rewritten.
34143         * javax/swing/tree/DefaultTreeCellEditor.java
34144         (DefaultTextField): Added SVUID.
34145         (EditorContainer): Rewritten.
34146         (RealEditorListener): New inner class.
34147         (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
34148         (constructor): Add cell editor listener. Do not instantiate timer.
34149         (actionPerformed): Return without action.
34150         (cancelCellEditing): Rewritten.
34151         (createTreeCellEditor): Add cell editor listener to the editor.
34152         (getCellEditorValue): Request the value from the realEditor.
34153         (isCellEditable): Removed timer management.
34154         (prepareForEditing): Remove all components befor adding the 
34155         editingComponent.
34156         (startEditingTimer): Start only if it is not null.
34157         (stopCellEditing): Rewritten.
34158         (stopEditingTimer): New method.
34159         (valueChanged): Do not configure editing component here.
34160   
34161 2006-01-25  Roman Kennke  <kennke@aicas.com>
34162   
34163         * javax/swing/text/html/FormView.java: New file.
34164   
34165 2006-01-25  Roman Kennke  <kennke@aicas.com>
34166   
34167         * javax/swing/JSplitPane.java
34168         (addImpl): Call resetToPreferredSizes() when no dividerLocation
34169         has been set in order to set an initial layout.
34170         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34171         (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
34172         layout of the right component.
34173         (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
34174         dividerLocation to the size of the left component.
34175         (createDefaultNonContinuousLayoutDivider): Fetch the color from
34176         the UIManager.
34177         (setDividerLocation): Don't validate the location here. Sometimes
34178         the divider needs to be set to an invalid location.
34179         (startDragging): Don't revalidate and repaint here.
34180         (finishDraggingTo): Don't repaint here. Also, don't call
34181         dragDividerTo() here.
34182         * javax/swing/plaf/basic/BasicLookAndFeel.java
34183         (initComponentDefaults): Added SplitPaneDivider.draggingColor
34184         default value.
34185   
34186 2006-01-25  Roman Kennke  <kennke@aicas.com>
34187   
34188         * javax/swing/JSplitPane.java
34189         (addImpl): Removed invalidate() and layout() call.
34190         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34191         (PropertyHandler.propertyChange): Remove layoutContainer() and
34192         repaint() call.
34193   
34194 2006-01-25  Roman Kennke  <kennke@aicas.com>
34195   
34196         * configure.ac
34197         * native/Makefile.am
34198         * native/jni/classpath/Makefile.am
34199         * native/jni/classpath/jcl.c
34200         * native/jni/classpath/jcl.h
34201         * native/jni/classpath/native_state.c
34202         * native/jni/gtk-peer/Makefile.am
34203         * native/jni/java-io/Makefile.am
34204         * native/jni/java-io/java_io_VMFile.c
34205         * native/jni/java-io/java_io_VMObjectStreamClass.c
34206         * native/jni/java-lang/Makefile.am
34207         * native/jni/java-net/Makefile.am
34208         * native/jni/java-net/java_net_VMInetAddress.c
34209         * native/jni/java-net/javanet.c
34210         * native/jni/java-net/javanet.h
34211         * native/jni/java-nio/Makefile.am
34212         * native/jni/java-nio/gnu_java_nio_VMPipe.c
34213         * native/jni/java-nio/gnu_java_nio_VMSelector.c
34214         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
34215         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
34216         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
34217         * native/jni/java-util/Makefile.am
34218         * native/jni/java-util/java_util_VMTimeZone.c
34219         * native/jni/midi-dssi/Makefile.am
34220         * native/jni/xmlj/Makefile.am
34221         * native/target/Makefile.am
34222         * native/target/Linux/target_native_math.h
34223         * native/target/Linux/target_native_memory.h
34224         * native/target/Linux/Makefile.am
34225         * native/target/Linux/target_native_io.h
34226         * native/target/Linux/target_native_math_float.h
34227         * native/target/Linux/target_native_math_int.h
34228         * native/target/generic/target_generic.c
34229         * native/target/generic/target_generic_io.c
34230         * native/target/generic/target_generic_math.h
34231         * native/target/generic/target_generic_memory.h
34232         * native/target/generic/target_generic_misc.c
34233         * native/target/generic/target_generic_network.c
34234         * native/target/generic/Makefile.am
34235         * native/target/generic/target_generic.h
34236         * native/target/generic/target_generic_file.h
34237         * native/target/generic/target_generic_io.h
34238         * native/target/generic/target_generic_math_float.h
34239         * native/target/generic/target_generic_math_int.h
34240         * native/target/generic/target_generic_misc.h
34241         * native/target/generic/target_generic_network.h:
34242         Reverted target native related changes back to the state of the
34243         0.20 release.
34244         * native/target/MinGW/.cvsignore
34245         * native/target/MinGW/Makefile.am
34246         * native/target/MinGW/target_native.h
34247         * native/target/MinGW/target_native_file.h
34248         * native/target/MinGW/target_native_io.h
34249         * native/target/MinGW/target_native_math.h
34250         * native/target/MinGW/target_native_memory.h
34251         * native/target/MinGW/target_native_misc.h
34252         * native/target/MinGW/target_native_network.h
34253         * native/target/RTEMS/.cvsignore
34254         * native/target/RTEMS/Makefile.am
34255         * native/target/RTEMS/target_native.h
34256         * native/target/RTEMS/target_native_file.h
34257         * native/target/RTEMS/target_native_io.h
34258         * native/target/RTEMS/target_native_math.h
34259         * native/target/RTEMS/target_native_memory.h
34260         * native/target/RTEMS/target_native_misc.h
34261         * native/target/RTEMS/target_native_network.h
34262         * native/target/SunOS/.cvsignore
34263         * native/target/SunOS/Makefile.am
34264         * native/target/SunOS/target_native.h
34265         * native/target/SunOS/target_native_file.h
34266         * native/target/SunOS/target_native_io.h
34267         * native/target/SunOS/target_native_math.h
34268         * native/target/SunOS/target_native_memory.h
34269         * native/target/SunOS/target_native_misc.h
34270         * native/target/SunOS/target_native_network.h
34271         * native/target/embOS/.cvsignore
34272         * native/target/embOS/Makefile.am
34273         * native/target/embOS/target_native.h
34274         * native/target/embOS/target_native_file.h
34275         * native/target/embOS/target_native_io.c
34276         * native/target/embOS/target_native_io.h
34277         * native/target/embOS/target_native_math.h
34278         * native/target/embOS/target_native_memory.h
34279         * native/target/embOS/target_native_misc.h
34280         * native/target/embOS/target_native_network.h
34281         * native/target/posix/.cvsignore
34282         * native/target/posix/Makefile.am
34283         * native/target/posix/target_posix.c
34284         * native/target/posix/target_posix.h
34285         * native/target/posix/target_posix_file.c
34286         * native/target/posix/target_posix_file.h
34287         * native/target/posix/target_posix_io.c
34288         * native/target/posix/target_posix_io.h
34289         * native/target/posix/target_posix_math.c
34290         * native/target/posix/target_posix_math.h
34291         * native/target/posix/target_posix_memory.c
34292         * native/target/posix/target_posix_memory.h
34293         * native/target/posix/target_posix_misc.c
34294         * native/target/posix/target_posix_misc.h
34295         * native/target/posix/target_posix_network.c
34296         * native/target/posix/target_posix_network.h:
34297         Removed.
34298   
34299 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
34300   
34301         * javax/print/PrintService.java,
34302         * javax/print/DocPrintJob.java,
34303         * javax/print/CancelablePrintJob.java:
34304         Added and enhanced api documentation for class and methods.             
34305
34306 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
34307
34308         * javax/print/SimpleDoc.java: Make class final.
34309         * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
34310         * javax/print/attribute/DateTimeSyntax.java: 
34311         (toString): New overridden method.
34312         * javax/print/attribute/standard/JobStateReasons.java:
34313         (add): Use the super.add method to avoid recursion.
34314         * javax/print/attribute/standard/PrinterStateReasons.java: 
34315         (put): Use the super.put method to avoid recursion.
34316
34317 2006-01-24  Robert Schuster  <robertschuster@fsfe.org>
34318
34319         * java/beans/XMLEncoder.java:
34320         (writeExpression): Added early return (fixes PR #25941).
34321         (setExceptionListener, anonymous Class): Removed printStackTrace
34322         call.
34323         * java/beans/Encoder: Removed unused imports.
34324         (setupDefaultPersistenceDelegates): Removed unneccessary
34325         PersistenceDelegates for subclasses.
34326         * java/beans/PersistenceDelegate:
34327         (initialize): Use local variable as first argument as it was
34328         intended once.
34329         * java/beans/DefaultPersistenceDelegate:
34330         (initialize): Added call to superclass' implementation, added
34331         early return.
34332   
34333 2006-01-24  Tom Tromey  <tromey@redhat.com>
34334   
34335         * java/util/regex/PatternSyntaxException.java: Added @since.
34336         * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
34337         * java/util/regex/MatchResult.java: New file.
34338   
34339 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
34340   
34341         * javax/swing/text/StringContent.java: Added API docs all over, plus 
34342         minor reformatting.
34343   
34344 2006-01-24  Gary Benson  <gbenson@redhat.com>
34345   
34346         * java/net/SocketPermission.java: Implemented serialization.
34347   
34348 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
34349   
34350         * javax/swing/text/StringContent.java
34351         (remove): Modified argument check to prevent removal of last character,
34352         (getChars): Removed null argument check to allow NullPointerException,
34353         added API docs,
34354         (checkLocation): Added API docs and white space.
34355   
34356 2006-01-23  Lillian Angel  <langel@redhat.com>
34357   
34358         * javax/swing/text/DefaultStyledDocument.java
34359         (insertUpdate): Should only call createFracture with 
34360         StartTagType. Added check.
34361         (insertContentTag): Should use the tags length for splitting.
34362         Also, added a check to determine if current's start and end offset are
34363         equal to the offset and endOffset. If so, only one leaf element
34364         should be added. 
34365         (createFracture): Removed FIXME. This function is complete.
34366         (split): Added calls to replace. Changed so the child is 
34367         added immediately to the paragraph. Prevents NPEs.
34368
34369 2006-01-23  Mark Wielaard  <mark@klomp.org>
34370
34371         * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
34372
34373 2006-01-23  Tom Tromey  <tromey@redhat.com>
34374
34375         * gnu/java/security/x509/X509Certificate.java (parse):
34376         Unconditionally read value; for version==1 case when reading
34377         algorithm ID.
34378
34379 2006-01-23  Roman Kennke  <kennke@aicas.com>
34380
34381         * javax/swing/plaf/synth/ColorType.java,
34382         * javax/swing/plaf/synth/Region.java,
34383         * javax/swing/plaf/synth/SynthConstants.java,
34384         * javax/swing/plaf/synth/SynthContext.java
34385         * javax/swing/plaf/synth/SynthGraphicsUtils.java,
34386         * javax/swing/plaf/synth/SynthLookAndFeel.java,
34387         * javax/swing/plaf/synth/SynthPainter.java,
34388         * javax/swing/plaf/synth/SynthStyle.java,
34389         * javax/swing/plaf/synth/SynthStyleFactory.java,
34390         * javax/swing/plaf/synth/package.html:
34391         New files. Added the public API and framework classes for the
34392         Synth look and feel.
34393   
34394 2006-01-23  David Gilbert  <david.gilbert@object-refinery.com>
34395   
34396         * javax/swing/text/Segment.java: API docs all over.
34397   
34398 2006-01-23  Lillian Angel  <langel@redhat.com>
34399   
34400         * javax/swing/text/DefaultStyledDocument.java
34401         (split): Should not use createLeafElement and createBranchElement here.
34402         We should just instaniate the LeafElements and BranchElements instead 
34403         to avoid the case where create*Element is overridden.
34404   
34405 2006-01-23  Lillian Angel  <langel@redhat.com>
34406   
34407         * javax/swing/text/DefaultStyledDocument.java
34408         (insertFirstContentTag): Moved check outside of if-statement.
34409         This should be checked before creating the new leaf element.
34410         (insertFracture): Fixed check to prevent an NPE. The previous
34411         leaf should only be recreated if it has been created by
34412         insertFirstContentTag. Also, fixed up code: if the endOffset is
34413         greater than the offset, then we need to create a temp leaf
34414         as a place holder. Otherwise, the leaf elements should be
34415         created normally.
34416   
34417 2006-01-23  Gary Benson  <gbenson@redhat.com>
34418   
34419         * java/net/SocketPermission.java: Almost completely rewritten.
34420   
34421 2006-01-23  Lillian Angel  <langel@redhat.com>
34422         
34423         * javax/swing/text/DefaultStyledDocument.java
34424         (insertFracture): Set temp leaf's attributes to prevent an NPE.
34425   
34426 2006-01-23  Lillian Angel  <langel@redhat.com>
34427   
34428         * javax/swing/text/DefaultStyledDocument.java:
34429         Formatted ElementBuffer and added new fields.
34430         (remove): Added check to determine if length is 0.
34431         (insertFirstContentTag): Initialized firstCreated to the element that is created 
34432         by the first tag encountered. Removed check in JoinPreviousDirection case, no
34433         longer needed. In OriginateDirection case, added a loop to remove all old leafs
34434         that have been recreated.
34435         (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34436         (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34437         FIXME tags to the lines that need to be rewritten.      
34438
34439 2006-01-23  Mark Wielaard  <mark@klomp.org>
34440
34441         * examples/Makefile.am: Add support for fastjar.
34442
34443 2006-01-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34444
34445         * gnu/regexp/REToken.java(empty): Made Cloneable.
34446         * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34447         Use separate methods matchN and matchP depending on the
34448         boolean negative.
34449         (matchN): New method used when negative. Done as before.
34450         (matchP): New method used when not negative. Each token is
34451         tried not by itself but by a clone of it.
34452
34453 2006-01-23  Chris Burdess  <dog@gnu.org>
34454
34455         Fixes bug #25906
34456         * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34457           class to avoid getLength method contention.
34458         * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34459
34460 2006-01-23  Chris Burdess  <dog@gnu.org>
34461
34462         * native/jni/java-util/Makefile.am: Include library required
34463           explicitly by BSD systems.
34464         * native/target/generic/target_generic_misc.h: Remove old commented
34465           out code.
34466         * native/target/generic/target_generic_network.h: Fallbacks (to
34467           SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34468
34469 2006-01-22  Tom Tromey  <tromey@redhat.com>
34470
34471         * native/target/posix/.cvsignore: Added .deps.
34472
34473 2006-01-22  Mark Wielaard  <mark@klomp.org>
34474
34475         Fixes bug #25832,
34476         reported by James Damour <James.Damour@corp.request.com>
34477         * java/awt/Container.java (addImpl): Use empty string as name when
34478         null constraints for LayoutManager.addLayoutComponent().
34479
34480 2006-01-22  Chris Burdess  <dog@gnu.org>
34481
34482         Fixes bug #25903
34483         * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34484           representing current directory as base for relative URLs.
34485
34486 2006-01-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34487
34488         Fixes bug #25837
34489         * gnu/regexp/REMatch.java(empty): New boolean indicating
34490         an empty string matched.
34491         * gnu/regexp/RE.java(match): Sets empty flag when an empty
34492         string matched.
34493         (initialize): Support back reference \10, \11, and so on.
34494         (parseInt): renamed from getEscapedChar and returns int.
34495         * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34496         when an empty string matched. Fixed a bug of the case where
34497         an empty string matched. Added special handling of {0}.
34498         * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34499         when an empty string matched. Fixed the case insensitive matching.
34500   
34501 2006-01-21  Roman Kennke  <kennke@aicas.com>
34502   
34503         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34504         (paint): Added painting of border if one is installed.
34505   
34506 2006-01-21  Roman Kennke  <kennke@aicas.com>
34507   
34508         PR classpath/25843:
34509         * javax/swing/plaf/basic/BasicBorders.java
34510         (getSplitPaneDividerBorder): Use new border constructor
34511         without arguments.
34512         (SplitPaneDividerBorder.highlight): Removed unneeded field.
34513         (SplitPaneDividerBorder.shadow): Removed unneeded field.
34514         (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34515         colors are fetched dynamically in the paintBorder method.
34516         (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34517         the look and feel.
34518         (SplitPaneDividerBorder.isBorderOpaque): Returns true
34519         unconditionally.
34520         * javax/swing/plaf/basic/BasicLookAndFeel.java
34521         (initComponentDefaults): Added default for SplitPaneDivider.border.
34522         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34523         (tmpBorder): Removed unneeded inner class.
34524         (BasicSplitPaneDivider): Removed setting of border.
34525         (setSplitPaneUI): Don't add the mouse handler to the splitpane
34526         itself.
34527         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34528         (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34529         to get behaviour right.
34530         (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34531         implementation. This must be rewritten since the layout now works
34532         slightly different (basically, it shouldn't modify the sizes[]
34533         here but instead the dividerLocation.
34534         (dividerLocation): New field.
34535         (installDefaults): Initialize border on divider.
34536         (uninstallDefaults): Only remove background color and border from
34537         splitPane if they are instances of UIDefaults (== not set by
34538         application).
34539         (setDividerLocation): Set the dividerLocation field instead of
34540         doing stunt acts here.
34541         (getDividerLocation): Return dividerLocation field.
34542         (getMinimumDividerLocation): Fixed calculation of minimum location.
34543         
34544 2006-01-21  Guilhem Lavaux  <guilhem@kaffe.org>
34545   
34546         * m4/acinclude.m4
34547         (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34548   
34549         * lib/Makefile.am: Likewise. 
34550   
34551 2006-01-21  Roman Kennke  <kennke@aicas.com>
34552   
34553         * javax/swing/PopupFactory.java
34554         (getPopup): If there is no Swing root found in any way, use a
34555         heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34556         for the Swing AWT peers.
34557   
34558 2006-01-20  Tom Tromey  <tromey@redhat.com>
34559   
34560         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34561         Read response body for redirect.
34562   
34563 2006-01-20  Chris Burdess  <dog@gnu.org>
34564   
34565         * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34566           redirects on 304.
34567   
34568 2006-01-20  Lillian Angel  <langel@redhat.com>
34569   
34570         * javax/swing/text/DefaultStyledDocument.java
34571         (pad): Removed, not needed.
34572         (printElements): Likewise.
34573         (printEdit): Likewise.
34574   
34575 2006-01-20  Roman Kennke  <kennke@aicas.com>
34576   
34577         * javax/swing/text/DefaultFormatter.java
34578         (DefaultFormatter): Don't set a value class.
34579   
34580 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34581   
34582         * javax/swing/DefaultCellEditor.java: Commented.
34583   
34584 2006-01-19  Roman Kennke  <kennke@aicas.com>
34585   
34586         * javax/swing/JOptionPane.java
34587         Added cast to Frame for JDialog constructor.
34588   
34589 2006-01-19  Roman Kennke  <kennke@aicas.com>
34590   
34591         * javax/swing/JWindow.java
34592         (JWindow(Window)): Fixed to accept null owner argument.
34593         (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34594         owner argument.
34595         * javax/swing/SwingUtilities.java
34596         (getOwnerFrame): Owner parameter and return value are fixed to
34597         be of type Window for compatibity with the above JWindow
34598         constructor.
34599         * javax/swing/JDialog.java
34600         (JDialog): Added cast to Frame to make sure the correct constructor
34601         is called.
34602         * javax/swing/JFileChooser.java
34603         (createDialog): Added cast to Frame for JDialog constructor.
34604   
34605 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34606   
34607         * javax/swing/JTable.java (rowAtPoint): Rewritten.
34608   
34609 2006-01-19  Roman Kennke  <kennke@aicas.com>
34610   
34611         * javax/swing/JWindow.java: Added API docs to the constructors.
34612   
34613 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34614   
34615         * javax/swing/JTable.java: Commenting method headers.
34616         (EditorUpdateTimer): Removed.
34617   
34618 2006-01-19  Roman Kennke  <kennke@aicas.com>
34619   
34620         * javax/swing/JDialog.java
34621         (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34622         (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34623         SwingUtilities.getOwnerFrame() with the owner argument.
34624         * javax/swing/JFileChooser.java
34625         (showOpenDialog(Component)): Call pack() on the dialog instead of
34626         setting a fixed height.
34627         (showSaveDialog()): Likewise.
34628         (showDialog()): Likewise.
34629         (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34630         * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34631         with null.
34632         * javax/swing/JWindow.java
34633         (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34634         (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34635         argument.
34636         * javax/swing/SwingUtilities.java
34637         (getOwnerFrame): Changed to take a owner parameter that is returned
34638         as owner frame when not null.
34639   
34640 2006-01-19  Roman Kennke  <kennke@aicas.com>
34641   
34642         * gnu/java/awt/peer/swing/SwingFramePeer.java
34643         (handleMouseEvent): Fixed handling of mouse events.
34644         (handleMouseMotionEvent): Fixed handling of mouse events.
34645
34646 2006-01-19  Roman Kennke  <kennke@aicas.com>
34647
34648         * native/target/generic/target_generic_misc.c:
34649         (targetGenericMisc_formatString): Added missing method.
34650
34651 2006-01-19  Wolfgang Baer  <WBaer@gmx.de>
34652
34653         * m4/acinclude.m4: Test also for ecj found before exiting configure
34654         with no javac found error message. 
34655
34656 2006-01-19  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34657
34658         Fixes bug #23212
34659         * gnu/regexp/RE.java(initialize): Support escaped characters such as
34660         \0123, \x1B, \u1234.
34661         (getEscapedChar): New method.
34662         (CharExpression): New inner class.
34663         (getCharExpression): New Method.
34664         * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34665         RE_UNICODE_CHAR): New syntax bits.
34666
34667 2006-01-19  Roman Kennke  <kennke@aicas.com>
34668
34669         * native/target/Makefile.am: Fixed so that posix stuff is really
34670         only built when requested.
34671
34672 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34673
34674         * javax/swing/JTable.java (editingStopped, editingCancelled):
34675         Repaint the edited cell.
34676         (setValueAt): Do not add the value object to this container.
34677         (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34678         (editingStopped): Use editingRow, editingColumn and not
34679         rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34680         (doLayout): Move the editor component, if present, into the new
34681         location and call repaint(). (moveToCellBeingEdited): new method.
34682         (TableTextField): new inner class.
34683         (getDefaultEditor): Instantiante TableTextField, not JTextField.
34684         (setValueAt): Repaint the changed segment.
34685         (createDefaultEditors): Implemented.
34686         (BooleanCellRenderer): Center the checkbox and use the default foreground
34687         and background colors.   
34688         * javax/swing/plaf/basic/BasicTableUI.java
34689         (paintCell): Do not paint the caret here. Do not accept unused parameters.
34690         (paint): No need to allocate rectangle for each cell.   
34691         * javax/swing/DefaultCellEditor.java: Rewritten.         
34692         * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34693         Use TableDemo.java table example.
34694         * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34695
34696 2006-01-19  Roman Kennke  <kennke@aicas.com>
34697
34698         * configure.ac: Added/fixed --enable-posix-layer option to enable
34699         build of posix layer.
34700         * native/target/Makefile.am: Added build for posix layer.
34701
34702 2006-01-19  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34703
34704         * configure.ac: Set TARGET to Linux per default.
34705         * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34706         libtargetos.la.
34707         * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34708         * native/target/generic/Makefile.am (INCLUDES): Renamed to
34709         AM_CPPFLAGS.
34710         
34711 2006-01-19  Raif S. Naffah  <raif@swiftdsl.com.au>
34712
34713         * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34714           what looked like proprietary documentation with original or new one.
34715         * java/security/spec/PSSParameterSpec.java: Likewise.
34716         * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34717         * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34718         * java/security/AlgorithmParameterGenerator.java: Likewise.
34719         * java/security/AlgorithmParameters.java: Likewise.
34720         * java/security/Identity.java: Likewise.
34721         * java/security/IdentityScope.java: Likewise.
34722         * java/security/KeyFactory.java: Likewise.
34723         * java/security/KeyPairGenerator.java: Likewise.
34724         * java/security/MessageDigest.java: Likewise.
34725         * java/security/Policy.java: Likewise.
34726         * java/security/ProtectionDomain.java: Likewise.
34727         * java/security/Security.java: Likewise.
34728         * java/security/Signature.java: Likewise.
34729         * java/security/SignatureSpi.java: Likewise.
34730         * java/security/SignedObject.java: Likewise.
34731         * java/security/Signer.java: Likewise.
34732   
34733 2006-01-18  Roman Kennke  <kennke@aicas.com>
34734   
34735         * configure.ac: Added --enable-posix-layer option to enable
34736         build of the posix target layer.
34737   
34738 2006-01-18  Roman Kennke  <kennke@aicas.com>
34739   
34740         * native/jni/java-net/java_net_VMInetAddress.c
34741         (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34742         for INADDR_ANY.
34743   
34744 2006-01-18  Roman Kennke  <kennke@aicas.com>
34745   
34746         * native/jni/java-util/java_util_VMTimeZone.c:
34747         (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34748         to use target native layer.
34749         (jint_to_charbuf): Removed unneeded helper function.
34750   
34751 2006-01-18  Roman Kennke  <kennke@aicas.com>
34752   
34753         * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34754         Removed unnecessary include.
34755         * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34756         Reorganized includes to only include sys/* headers when available.
34757         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34758         (get_pagesize): Return 0 when nothing else works.
34759         (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34760         Replaced munmap() and strerror() with corresponding target macros.
34761         (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34762         Replaced strerror() with corresponding target macro.
34763         (Java_java_nio_MappedByteBufferImpl_forceImpl):
34764         Replaced strerror() with corresponding target macro.
34765         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34766         (Java_java_nio_VMDirectByteBuffer_allocate):
34767         Replaced malloc() with the corresponding target macro.
34768         (Java_java_nio_VMDirectByteBuffer_free):
34769         Replaced free() with the corresponding target macro.
34770         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34771         Add index to pointer when assigning the value.
34772         (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34773         Replaced memcpy with corresponding target macro. Add index when
34774         doing the memcpy, not when fetching the pointer.
34775         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34776         Replaced memcpy with corresponding target macro.
34777         (Java_java_nio_VMDirectByteBuffer_shiftDown):
34778         Replaced memmove with the corresponding target macro.
34779
34780 2006-01-17  Tom Tromey  <tromey@redhat.com>
34781
34782         PR classpath/20198:
34783         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34784         (JarURLLoader): Likewise.
34785         (addURLImpl): Canonicalize file URLs.
34786
34787 2006-01-17  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34788
34789         * configure.ac: Set TARGET.
34790         * native/Makefile.am, native/jni/classpath/Makefile.am,
34791         native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34792         native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34793         native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34794         native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34795         native/target/Linux/Makefile.am,
34796         native/target/generic/Makefile.am,
34797         native/target/posix/Makefile.am: Build libclasspath.so with jcl
34798         and target stuff linked in and link it against lib*.so libraries.
34799
34800 2006-01-17  Roman Kennke  <kennke@aicas.com>
34801
34802         * native/jni/java-net/javanet.c:
34803         (_javanet_connect): Changed type of some local variables to jint.
34804         Fixed error handling to throw a SocketTimeoutException if the
34805         connection attempt times out.
34806         (_javanet_bind): Changed type of some local variables to jint.
34807         (_javanet_accept): Likewise.
34808         (_javanet_recvfrom): Likewise.
34809         (_javanet_sendto): Fixed error handling to throw a
34810         PortUnreachableException when connection is refused.
34811         (_javanet_get_option): Changed type of some local variables to jint.
34812         Implemented SOCKOPT_SO_BROADCAST.
34813         (_javanet_shutdownInput): Replaced shutdown call with corresponding
34814         target native macro.
34815         (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34816         target native macro.
34817         * native/jni/java-net/javanet.h:
34818         Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34819         SOCKOPT_SO_BROADCAST.
34820   
34821 2006-01-17  Lillian Angel  <langel@redhat.com>
34822   
34823         * javax/swing/text/DefaultStyledDocument.java
34824         (insert): Cleaned up loop. No need to make so many calls
34825         to getAddedElements and getRemovedElements.
34826         (insertFracture): Removed unneeded array.
34827   
34828 2006-01-17  Lillian Angel  <langel@redhat.com>
34829         
34830         * javax/swing/text/JTextComponent.java
34831         (AccessibleJTextComponent): Implemented.
34832         (getCaretPosition): Implemented.
34833         (getSelectedText): Implemented.
34834         (getSelectionStart): Implemented.
34835         (getSelectionEnd): Implemented.
34836         (getSelectionEnd): Implemented.
34837         (getCharCount): Implemented.
34838         (insertTextAtIndex): Implemented.
34839         (getTextRange): Implemented.
34840         (delete): Implemented.
34841         (cut): Implemented.
34842         (paste): Implemented.
34843         (replaceText): Implemented.
34844         (selectText): Implemented.
34845   
34846 2006-01-17  Anthony Balkissoon  <abalkiss@redhat.com>
34847   
34848         * javax/swing/text/DefaultStyledDocument.java:
34849         (pad): New debugging method.
34850         (printElements): Likewise.
34851         (printPendingEdits): Likewise.
34852         (printElement): Likewise.
34853         (Edit): Improved docs, moved this class to be an inner class of
34854         ElementBuffer since it only applies within that scope.  Changed added 
34855         and removed to be Vectors instead of arrays because we need to be able 
34856         to add to them after construction.
34857         (ElementBuffer): Updated docs with link to article that helped in this
34858         classes implementation.
34859         (ElementBuffer.Edit.getRemovedElements): New method.
34860         (ElementBuffer.Edit.getAddedElements): Likewise.
34861         (ElementBuffer.Edit.addRemovedElement): Likewise.
34862         (ElementBuffer.Edit.addRemovedElements): Likewise.
34863         (ElementBuffer.Edit.addAddedElement): Likewise.
34864         (ElementBuffer.Edit.addAddedElements): Likewise.
34865         (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and 
34866         addAddedElements.
34867         (ElementBuffer.getEditForParagraphAndIndex): New method.
34868         (ElementBuffer.removeUpdate): Changed type of paragraph to 
34869         BranchElement.  Corrected style of adding the edit to use the new Edit
34870         facilities.
34871         (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34872         the new Edit facilities.
34873         (ElementBuffer.split): Likewise.
34874         (ElementBuffer.insertParagraph): Likewise.
34875         (ElementBuffer.insertContentTag): Likewise.
34876         (ElementBuffer.insert): Push all BranchElements until the deepest one, 
34877         not just the root and the first one. Apply the structural changes to 
34878         the tree at the same time as updating the DocumentEvent.
34879         (ElementBuffer.insertUpdate): Fixed docs.  Removed the special case 
34880         handling of EndTags as the first ElementSpec.  Instead have to handle
34881         ContentTags as a special case if they are the first ElementSpec and if
34882         not have to fracture the tree.
34883         (ElementBuffer.createFracture): New method.  May not be complete yet.
34884         Added FIXME indicating what may remain to be done.
34885         (ElementBuffer.insertFirstContentTag): New method.
34886         (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34887         be done.  Changed the adding of edits to use the new Edit facilities.
34888         Removed the adding of edits for Elements that weren't in the tree prior
34889         to the insertion.
34890         (insertUpdate): Removed incorrect condition for setting a StartTag's
34891         direction to JoinNextDirection.
34892         * javax/swing/text/StyleContent.java: 
34893         (SmallAttributeSet.toString): Fixed an off-by-one error in the loop 
34894         that was causing an ArrayOutOfBoundsException.
34895   
34896 2006-01-17  Roman Kennke  <kennke@aicas.com>
34897   
34898         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34899         (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34900         exception messages a little.
34901         (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34902         alternative implementation for systems without filesystems.
34903         Replaced snprintf with the corresponding target native macro.
34904         (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34905         Only do something when we have a filesystem.
34906         (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34907         alternative implementation for systems without filesystems.
34908         (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34909         alternative implementation for systems without filesystems.
34910         (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34911         alternative implementation for systems without filesystems.
34912         (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34913         Only do something when we have a filesystem.
34914         (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34915         Only do something when we have a filesystem.
34916         (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34917         alternative implementation for systems without filesystems.
34918         (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34919         Replaced ssize_t variables with jint. Provided
34920         alternative implementation for systems without filesystems.
34921         (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34922         Replaced ssize_t variables with jint. Provided
34923         alternative implementation for systems without filesystems.
34924         (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34925         Replaced ssize_t variables with jint. Provided
34926         alternative implementation for systems without filesystems.
34927         (Java_gnu_java_nio_channels_FileChannelImpl_force):
34928         Only do something when we have a filesystem.
34929         (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34930         Replaced ssize_t variables with jint. Provided
34931         alternative implementation for systems without filesystems.
34932         (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34933         to use the corresponding target native macro.
34934         (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34935         to use the corresponding target native macro.
34936   
34937 2006-01-17  Lillian Angel  <langel@redhat.com>
34938   
34939         * javax/swing/text/DefaultTextUI.java:
34940         Added deprecated tag.
34941         * javax/swing/text/JTextComponent.java
34942         (AccessibleJTextComponent): Fixed API doc and
34943         partiall9 implemented.
34944         (getCaretPosition): Fixed API doc and implemented.
34945         (getSelectedText): Fixed API doc.
34946         (getSelectionStart): Likewise.
34947         (getSelectionEnd): Likewise.
34948         (caretUpdate): Fixed API doc and
34949         partially implemented.
34950         (getAccessibleStateSet): Likewise.
34951         (getAccessibleRole): Fixed API doc and implemented.
34952         (getAccessibleEditableText): Implemented.
34953         (getAccessibleText): Fixed API doc and implemented.
34954         (insertUpdate): Fixed API doc.
34955         (changedUpdate): Likewise.
34956         (getIndexAtPoint): Likewise.
34957         (getRootEditorRect): Removed.
34958         (getCharacterBounds): Fixed API doc.
34959         (getCharCount): Likewise.
34960         (getCharacterAttribute): Likewise.
34961         (getAtIndex): Likewise.
34962         (getAfterIndex): Likewise.
34963         (getBeforeIndex): Likewise.
34964         (getAccessibleActionCount): Added function stub.
34965         (getAccessibleActionDescription): Added function,
34966         partially implemented.
34967         (doAccessibleAction): Added function stub.
34968         (setTextContents): Likewise.
34969         (insertTextAtIndex): Likewise.
34970         (delete): Likewise.
34971         (cut): Likewise.
34972         (paste): Likewise.
34973         (replaceText): Likewise.
34974         (selectText): Likewise.
34975         (setAttributes): Likewise.
34976         (getAccessibleContext): Implemented.
34977   
34978 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34979   
34980         Fixes bug #25817
34981         * gnu/regexp/RETokenRange.java(constructor):
34982         Keep lo and hi as they are.
34983         (match): Changed the case insensitive comparison.
34984   
34985 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34986   
34987         * gnu/regexp/RETokenChar.java(chain):
34988         Do not concatenate tokens whose insens flags are diffent.
34989   
34990 2006-01-17  Roman Kennke  <kennke@aicas.com>
34991   
34992         * native/target/generic/target_generic_network.c:
34993         (targetGenericNetwork_receive): Fixed signature to match the
34994         corresponding .h file.
34995         (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34996         to match the corresponding .h file.
34997   
34998 2006-01-17  Roman Kennke  <kennke@aicas.com>
34999   
35000         * native/jni/classpath/jcl.c:
35001         (JCL_malloc): Replaced calls to malloc with the corresponding
35002         target layer macro.
35003         (JCL_free): Replaced calls to free with the corresponding
35004         target layer macro.
35005         * native/jni/classpath/native_state.c:
35006         (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
35007         calloc with the corresponding target layer macro.
35008         (remove_node): Replaced calls to free with the corresponding
35009         target layer macro.
35010         (add_node): Replaced calls to malloc with the corresponding
35011         target layer macro.
35012
35013 2006-01-17  Roman Kennke  <kennke@aicas.com>
35014
35015         * native/jni/java-io/java_io_VMObjectStreamClass.c:
35016         (getFieldReference): Use MALLOC/FREE macros for portability instead
35017         of direct call to malloc() and free().
35018
35019 2006-01-17  Roman Kennke  <kennke@aicas.com>
35020
35021         * native/jni/classpath/jcl.c: Added missing imports.
35022         (JCL_realloc): Fixed signature to include oldsize. This is needed
35023         for some targets. Make this function use the MEMORY_REALLOC macro
35024         for portability.
35025         * native/jni/classpath/jcl.h
35026         (JCL_realloc): Adjusted signature.
35027         * native/jni/java-io/java_io_VMFile.c:
35028         (Java_java_io_VMFile_create): Use target layer macro for handling
35029         errno, for portability.
35030         (Java_java_io_VMFile_length): Release filename string in error cases
35031         before returning.
35032         (Java_java_io_VMFile_list): Initialize filename variable. Use new
35033         version of JCL_realloc.
35034         * native/jni/java-net/java_net_VMInetAddress.c:
35035         (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
35036         TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
35037         * native/jni/java-net/javanet.c:
35038         (_javanet_bind): Make errorstr variable const to avoid compiler
35039         warning.
35040         (_javanet_set_option): Fixed typo.
35041         (_javanet_get_option): Fixed typo.
35042         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35043         (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
35044         error_string variable const to avoid compiler warning.
35045         * native/target/generic/target_generic_file.h:
35046         Replaced // comments with /* */ comments to avoid compiler warnings.
35047         Added some spaces to make code better readable.
35048         * native/target/generic/target_generic_memory.h:
35049         Replaced // comments with /* */ comments to avoid compiler warnings.
35050         * native/target/generic/target_generic_misc.c:
35051         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35052         compiler warnings due to use of varargs.
35053         * native/target/generic/target_generic_misc.h:
35054         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35055         compiler warnings due to use of varargs.
35056         * native/target/generic/target_generic_network.h:
35057         Replaced // comments with /* */ comments to avoid compiler warnings.
35058         (targetGenericNetwork_receive): Fixed signature to use signed chars
35059         for buffer parameter to avoid warning when passing a jbyte to the
35060         function.
35061   
35062 2006-01-17  David Gilbert  <david.gilbert@object-refinery.com>
35063   
35064         * javax/swing/text/StyleConstants.java
35065         (getAlignment): Removed isDefined() check, so that resolving parent is 
35066         used for lookup,
35067         (getBackground): Likewise, plus changed default value to Color.BLACK,
35068         (getBidiLevel): Removed isDefined() check,
35069         (getComponent): Likewise,
35070         (getFirstLineIndent): Likewise,
35071         (getFontFamily): Likewise,
35072         (getFontSize): Likewise,
35073         (getForeground): Likewise,
35074         (getIcon): Likewise,
35075         (getLeftIndent): Likewise,
35076         (getLineSpacing): Likewise,
35077         (getRightIndent): Likewise,
35078         (getSpaceAbove): Likewise,
35079         (getSpaceBelow): Likewise,
35080         (getTabSet): Likewise,
35081         (isBold): Likewise,
35082         (isItalic): Likewise,
35083         (isStrikeThrough): Likewise,
35084         (isSubscript): Likewise,
35085         (isSuperscript): Likewise,
35086         (isUnderline): Likewise.
35087
35088 2006-01-17  Gary Benson  <gbenson@redhat.com>
35089
35090         * java/lang/System.java (setSecurityManager): Catch
35091         ClassNotFoundException not Throwable.
35092
35093 2006-01-16  Anthony Green  <green@redhat.com>
35094
35095         PR classpath/25803
35096         * gnu/java/net/protocol/http/Request.java
35097           (createResponseBodyStream): Remove Content-Encoding for
35098           compressed streams.
35099   
35100 2006-01-16  Chris Burdess  <dog@gnu.org>
35101   
35102         * gnu/xml/stream/XMLParser.java,
35103           gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
35104           XMLStreamWriter arguments for conformance to the XML specifications.
35105         * gnu/xml/transform/Stylesheet.java,
35106           gnu/xml/transform/Template.java,
35107           gnu/xml/transform/TransformerImpl.java,
35108           gnu/xml/xpath/LangFunction.java,
35109           gnu/xml/xpath/Selector.java: better handling of template priorities;
35110           fix indents when pretty-printing; recursive tests for xml:lang.
35111         * gnu/xml/util/XHTMLWriter.java,
35112           gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
35113
35114 2006-01-16  Roman Kennke  <kennke@aicas.com>
35115
35116         * native/target/MinGW/.cvsignore: New file.
35117         * native/target/RTEMS/.cvsignore: New file.
35118         * native/target/SunOS/.cvsignore: New file.
35119         * native/target/embOS/.cvsignore: New file.
35120         * native/target/posix/.cvsignore: New file.
35121
35122 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35123
35124         * javax/swing/text/StyleConstants.java: Updated API docs all over.
35125
35126 2006-01-16  Roman Kennke  <kennke@aicas.com>
35127
35128         * configure.ac: Include new target native directories in build.
35129
35130 2006-01-16  Roman Kennke  <kennke@aicas.com>
35131
35132         * native/target/generic/target_generic_file.h: Added missing
35133         include.
35134         * native/target/generic/target_generic_network.c: Fixed several
35135         typos and includes.
35136         * native/target/generic/target_generic_network.h: Likewise.
35137
35138 2006-01-16  Roman Kennke  <kennke@aicas.com>
35139
35140         * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
35141         to include the new targets.
35142         * native/target/posix/Makefile.am: Fixed filenames.
35143
35144 2006-01-16  Roman Kennke  <kennke@aicas.com>
35145
35146         * native/target/Makefile.am: Include new targets.
35147         * native/target/Linux/Makefile.am: Include new memory layer.
35148         * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
35149         * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
35150         * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
35151         * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
35152         * native/target/generic/Makefile.am: Include new memory and math
35153         layer.
35154         * native/target/posix/Makefile.am: New file. Includes posix in dist.
35155   
35156 2006-01-16  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35157   
35158         Fixes bug #22884
35159         * gnu/regexp/RE.java(initialize): Parse embedded flags.
35160         * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
35161   
35162 2006-01-16  Roman Kennke  <kennke@aicas.com>
35163   
35164         * native/target/generic/target_generic_network.c: Fixed typo.
35165         * native/target/generic/target_generic_network.h: Fixed typo.
35166   
35167 2006-01-16  Nicolas Geoffray  <nicolas.geoffray@menlina.com>
35168   
35169         * doc/vmintegration.texinfo: Updated subsection of the
35170         java.lang.InstrumentationImpl documentation.
35171   
35172 2006-01-16  Roman Kennke  <kennke@aicas.com>
35173   
35174         * native/target/RTEMS/target_native.h,
35175         * native/target/RTEMS/target_native_file.h,
35176         * native/target/RTEMS/target_native_io.h,
35177         * native/target/RTEMS/target_native_math.h,
35178         * native/target/RTEMS/target_native_memory.h,
35179         * native/target/RTEMS/target_native_misc.h,
35180         * native/target/RTEMS/target_native_network.h:
35181         New files. Implement the target native layer for the RTEMS platform.
35182   
35183 2006-01-16  Roman Kennke  <kennke@aicas.com>
35184   
35185         * native/target/SunOS/target_native.h,
35186         * native/target/SunOS/target_native_file.h,
35187         * native/target/SunOS/target_native_io.h,
35188         * native/target/SunOS/target_native_math.h,
35189         * native/target/SunOS/target_native_memory.h,
35190         * native/target/SunOS/target_native_misc.h,
35191         * native/target/SunOS/target_native_network.h:
35192         New files. Implement the target native layer for the SunOS platform.
35193   
35194 2006-01-16  Roman Kennke  <kennke@aicas.com>
35195   
35196         * native/target/MinGW/target_native.h,
35197         * native/target/MinGW/target_native_file.h,
35198         * native/target/MinGW/target_native_io.h,
35199         * native/target/MinGW/target_native_math.h,
35200         * native/target/MinGW/target_native_memory.h,
35201         * native/target/MinGW/target_native_misc.h,
35202         * native/target/MinGW/target_native_network.h:
35203         New files. Implement the target native layer for the MinGW
35204         platform.
35205   
35206 2006-01-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35207   
35208         PR 25770
35209         * javax/swing/DefaultCellEditor.java
35210         (delegate): Assign new instance immediately.
35211         (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
35212         (getTableCellEditorComponent): Rewritten.
35213         (prepareAsJTextField):New method (add listener only once).
35214         * javax/swing/JTable.java
35215         (editingCanceled): Rewritten.
35216         (editingStopped ): Rewritten.
35217         (rowAtPoint): Mind row margin.
35218         (getCellRect): Mind row margin.
35219         (getDefaultEditor): Removing JTextComponent border.
35220         (editCellAt): Rewritten.
35221         * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
35222         Activate editing mode by the mouse clicks.
35223         (getMaximumSize): Mind row margin.
35224         (getPreferredSize): Mind row margin.
35225         (TableAction): Added 'stop editing' command. 
35226
35227 2006-01-16  Roman Kennke  <kennke@aicas.com>
35228
35229         * jni/java-io/java_io_VMFile.c
35230         (Java_java_io_VMFile_list): Use new 4 argument version of
35231         TARGET_NATIVE_FILE_READ_DIR macro.
35232         * target/Linux/target_native_io.h: Fixed comment at #endif.
35233         * target/Linux/target_native_memory.h: New file. Contains
35234         portability macros for memory operations.
35235         * target/generic/target_generic.c: New file. Contains some functions
35236         for portability.
35237         * target/generic/target_generic.h: Use posix target and shorter macro
35238         names if CP_NEW is set. 
35239         * target/generic/target_generic_file.h: Use posix target and shorter
35240         macro names if CP_NEW is set.
35241         (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
35242         * target/generic/target_generic_io.c: New file. Contains some
35243         functions for IO portability.
35244         * target/generic/target_generic_io.h: Use posix target and shorter
35245         macro names if CP_NEW is set.
35246         * target/generic/target_generic_misc.c: New file. Contains some
35247         functions for miscallaneaous portability issues.
35248         * target/generic/target_generic_misc.h: Use posix target and shorter
35249         macro names if CP_NEW is set.
35250         * target/generic/target_generic_network.c: New file. Contains some
35251         functions for networking portability.
35252         * target/generic/target_generic_network.h: Use posix target and
35253         shorter macro names if CP_NEW is set.
35254         * target/posix/Makefile.am,
35255         * target/posix/target_posix.c,
35256         * target/posix/target_posix.h,
35257         * target/posix/target_posix_file.c,
35258         * target/posix/target_posix_file.h,
35259         * target/posix/target_posix_io.c,
35260         * target/posix/target_posix_io.h,
35261         * target/posix/target_posix_math.c,
35262         * target/posix/target_posix_math.h,
35263         * target/posix/target_posix_memory.c,
35264         * target/posix/target_posix_memory.h,
35265         * target/posix/target_posix_misc.c,
35266         * target/posix/target_posix_misc.h,
35267         * target/posix/target_posix_network.c,
35268         * target/posix/target_posix_network.h:
35269         New files. This implements the target native layer macros for
35270         Posix-like systems.
35271
35272 2006-01-16  Gary Benson  <gbenson@redhat.com>
35273
35274         * java/net/SocketPermission.java (implies): Fix action checks.
35275
35276 2006-01-16  Roman Kennke  <kennke@aicas.com>
35277
35278         * native/target/generic/target_generic_math_float.h: Removed. This
35279         file has been replaced by target_generic_math.h.
35280         * native/target/generic/target_generic_math_int.h: Removed. This
35281         file has been replaced by target_generic_math.h.
35282         * native/target/generic/target_generic_math.h: New file. Replaces
35283         the old _int and _float versions.
35284         * native/target/Linux/target_native_math_float.h: Removed. This
35285         file has been replaced by target_native_math.h.
35286         * native/target/Linux/target_native_math_int.h: Removed. This
35287         file has been replaced by target_native_math.h.
35288         * native/target/Linux/target_native_math.h: New file. Replaces
35289         the old _int and _float versions.
35290         * native/target/Linux/Makefile.am: Adjusted for the changed
35291         filenames.
35292         * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
35293         instead of target_native_math_int.h.
35294         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35295         Likewise.
35296         * native/target/generic/target_generic_file.h: Likewise.
35297   
35298 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35299   
35300         * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
35301   
35302 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35303   
35304         * javax/swing/text/SimpleAttributeSet.java
35305         (SimpleAttributeSet()): Initialise storage directly,
35306         (SimpleAttributeSet(AttributeSet)): Removed null check and documented
35307         NullPointerException,
35308         (containsAttribute): If key is found locally, don't check resolving
35309         parent if the value doesn't match,
35310         (getAttribute): Removed redundant instanceof and cast.
35311   
35312 2006-01-16  Gary Benson  <gbenson@redhat.com>
35313   
35314         * java/lang/System.java (setSecurityManager): Ensure policy
35315         files are loaded before a security manager is put in place.
35316   
35317 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35318   
35319         * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
35320   
35321 2006-01-16  Wolfgang Baer  <WBaer@gmx.de>
35322   
35323         * javax/print/attribute/standard/MediaSize.java: 
35324         (static_initializer): Added comment.
35325         (MediaSize): Added javadoc to mention cache registration.
35326         (MediaSize): Likewise.
35327         (MediaSize): Likewise.
35328         (MediaSize): Likewise.
35329   
35330 2006-01-16  Raif S. Naffah  <raif@swiftdsl.com.au>
35331   
35332         PR classpath/25202
35333         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
35334         * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
35335         * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
35336         * javax/security/auth/login/AppConfigurationEntry.java: Updated
35337           copyright year.
35338           (toString): Added method implementation.
35339           (LoginModuleControlFlag.toString): Removed class name from result.
35340         * javax/security/auth/login/Configuration.java: Updated copyright year.
35341           (getConfig(): replaced calls to NullConfiguration with
35342           GnuConfiguration.
35343
35344 2006-01-15  Tom Tromey  <tromey@redhat.com>
35345
35346         * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
35347         * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
35348         * java/beans/PersistenceDelegate.java (initialize): Genericized.
35349         * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
35350         (setPersistenceDelegate): Likewise.
35351
35352 2006-01-15  Wolfgang Baer  <WBaer@gmx.de>
35353
35354         * javax/print/attribute/standard/PrinterStateReasons.java: 
35355         (printerStateReasonSet): Genericize the return type.
35356
35357 2006-01-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35358
35359         * javax/swing/table/DefaultTableCellRenderer.java 
35360         (getTableCellRendererComponent): Render null as the empty cell.
35361
35362 2006-01-14  Anthony Green  <green@redhat.com>
35363
35364         * java/net/ServerSocket.java (accept): Remove bogus
35365         security check.
35366         (implAccept): Add FIXME comment.
35367
35368 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
35369
35370         Fixes bug #25387
35371         * javax/print/Doc.java: Added and enhanced documentation.
35372         * javax/print/SimpleDoc.java: New file. 
35373   
35374 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
35375   
35376         * javax/print/attribute/standard/MediaSize.java: 
35377         (Other.TABLOID): New MediaSize added in 1.5
35378   
35379 2006-01-14  Chris Burdess  <dog@gnu.org>
35380   
35381         * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
35382           correctly when I/O and runtime exceptions occur during parsing.
35383   
35384 2006-01-13  Roman Kennke  <kennke@aicas.com>
35385   
35386         * gnu/java/awt/peer/swing/SwingButtonPeer.java,
35387         * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
35388         * gnu/java/awt/peer/swing/SwingComponent.java,
35389         * gnu/java/awt/peer/swing/SwingComponentPeer.java,
35390         * gnu/java/awt/peer/swing/SwingContainerPeer.java,
35391         * gnu/java/awt/peer/swing/SwingFramePeer.java,
35392         * gnu/java/awt/peer/swing/SwingLabelPeer.java,
35393         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
35394         * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
35395         * gnu/java/awt/peer/swing/SwingMenuPeer.java,
35396         * gnu/java/awt/peer/swing/SwingPanelPeer.java,
35397         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
35398         * gnu/java/awt/peer/swing/SwingToolkit.java,
35399         * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35400         * gnu/java/awt/peer/swing/package.html:
35401         New files. Implemented some basic AWT peers based on Swing.
35402   
35403 2006-01-13  Roman Kennke  <kennke@aicas.com>
35404   
35405         * java/awt/peer/ComponentPeer.java: Added API docs all over.
35406   
35407 2006-01-13  Roman Kennke  <kennke@aicas.com>
35408   
35409         * java/awt/MenuComponent.java: Reformatted to better match our
35410         coding style.
35411   
35412 2006-01-13  Roman Kennke  <kennke@aicas.com>
35413   
35414         * java/awt/Frame.java: Reformatted to better match our
35415         coding style.
35416   
35417 2006-01-13  Roman Kennke  <kennke@aicas.com>
35418   
35419         * java/awt/MenuBar.java
35420         (accessibleContext): Removed unnecessary field. This is already
35421         defined in MenuComponent.
35422         (setHelpMenu): Renamed the peer variable to myPeer because it was
35423         hiding a field of MenuComponent.
35424         (addNotify): Removed unnecessary cast.
35425   
35426 2006-01-13  Roman Kennke  <kennke@aicas.com>
35427   
35428         * java/awt/MenuBar.java: Reformatted to better match our
35429         coding style.
35430   
35431 2006-01-13  Roman Kennke  <kennke@aicas.com>
35432   
35433         * java/awt/MenuBar.java
35434         (frame): New field.
35435         (removeNotify): Clear frame field when beeing removed from the
35436         frame.
35437         * java/awt/Frame.java
35438         (setMenuBar): Store a reference of the frame in the MenuBar.
35439         * java/awt/MenuComponent.java
35440         (postEvent): Implemented to forward the call to the parent until
35441         a parent can handle the event.
35442         (dispatchEvent): Moved handling of old style events from
35443         dispatchEventImpl() to here.
35444         (dispatchEventImpl): Moved handling of old style events to
35445         dispatchEvent().
35446   
35447 2006-01-13  Roman Kennke  <kennke@aicas.com>
35448   
35449         * java/awt/Component.java
35450         (dispatchEvent): Moved handling of old style events from
35451         dispatchEventImpl() to this method.
35452         (translateEvent): Removed unnecessary cast.
35453         (dispatchEventImpl): Moved handling of old style events to
35454         dispatchEvent().
35455         
35456 2006-01-13  Lillian Angel  <langel@redhat.com>
35457   
35458         * javax/swing/text/DefaultStyledDocument.java
35459         (createDefaultRoot): Removed FIXME.
35460         (setLogicalStyle): Added fireUndoableEditUpdate call and 
35461         removed FIXME.
35462   
35463 2006-01-13  Lillian Angel  <langel@redhat.com>
35464   
35465         * javax/swing/text/DefaultStyledDocument.java
35466         (Edit): New inner class.
35467         (changeUpdate): Changed addEdit call to add a new
35468         instance of Edit to the edits Vector, so addEdits can
35469         be done later.
35470         (split): Likewise.
35471         (insertParagraph): Likewise.
35472         (insertFracture): Likewise.
35473         (insertContentTag): Likewise.
35474         (insert): Added loop to go through edits Vector and perform
35475         addEdit on each object.
35476   
35477 2006-01-13  Chris Burdess  <dog@gnu.org>
35478   
35479         * gnu/xml/transform/AbstractNumberNode.java,
35480           gnu/xml/transform/ApplyImportsNode.java,
35481           gnu/xml/transform/ApplyTemplatesNode.java,
35482           gnu/xml/transform/AttributeNode.java,
35483           gnu/xml/transform/CallTemplateNode.java,
35484           gnu/xml/transform/ChooseNode.java,
35485           gnu/xml/transform/CommentNode.java,
35486           gnu/xml/transform/CopyNode.java,
35487           gnu/xml/transform/CopyOfNode.java,
35488           gnu/xml/transform/DocumentFunction.java,
35489           gnu/xml/transform/ElementNode.java,
35490           gnu/xml/transform/ForEachNode.java,
35491           gnu/xml/transform/IfNode.java,
35492           gnu/xml/transform/LiteralNode.java,
35493           gnu/xml/transform/MessageNode.java,
35494           gnu/xml/transform/OtherwiseNode.java,
35495           gnu/xml/transform/ParameterNode.java,
35496           gnu/xml/transform/ProcessingInstructionNode.java,
35497           gnu/xml/transform/Stylesheet.java,
35498           gnu/xml/transform/Template.java,
35499           gnu/xml/transform/TemplateNode.java,
35500           gnu/xml/transform/TextNode.java,
35501           gnu/xml/transform/TransformerImpl.java,
35502           gnu/xml/transform/ValueOfNode.java,
35503           gnu/xml/transform/WhenNode.java,
35504           gnu/xml/xpath/NodeTypeTest.java,
35505           gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35506           with-param parameters when template does not define parameters; apply
35507           conflict resolution for templates; strip whitespace on documents
35508           retrieved via document() function; allow node() to match document
35509           nodes.
35510
35511 2006-01-13  Mark Wielaard  <mark@klomp.org>
35512
35513         * doc/www.gnu.org/announce/20060113.wml: New file.
35514         * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35515         * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35516   
35517 2006-01-13  Lillian Angel  <langel@redhat.com>
35518   
35519         * javax/swing/text/DefaultStyledDocument.java:
35520         Removed unused fields.
35521         (insert): Removed unused fields.
35522         (endEdit): Removed, not needed.
35523         (insertUpdate): Removed call to endEdit.
35524         (prepareContentInsertion): Removed, not needed.
35525         (insertContentTag): Removed call to prepareContentInsertion.
35526         (printElements): Removed, not needed.
35527         (attributeSetsAreSame): Removed, not needed.
35528   
35529 2005-01-13  Mark Wielaard  <mark@klomp.org>
35530
35531         * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35532         Duplicate of toString(int, StringBuilder).
35533
35534 2005-01-13  Mark Wielaard  <mark@klomp.org>
35535
35536         * configure.ac: Set version to 0.20.
35537         * NEWS: Add entries for all the new work done.
35538
35539 2005-01-13  Mark Wielaard  <mark@klomp.org>
35540
35541         * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35542
35543 2005-01-13  Mark Wielaard  <mark@klomp.org>
35544
35545         * java/util/regex/Pattern.java (Pattern): Chain REException.
35546
35547 2006-01-13  Chris Burdess  <dog@gnu.org>
35548
35549         * gnu/xml/xpath/NameTest.java: Removed debugging output.
35550
35551 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35552
35553         * java/security/Security.java
35554         (getProperty): Added hack to skip security check when trusted
35555         code is direct caller.
35556
35557 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35558
35559         * java/io/PrintStream.java
35560         (line_separator, PrintStream(OutputStream,boolean)): Use
35561         SystemProperties.
35562
35563 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35564
35565         * gnu/java/nio/charset/Provider.java: Added comment about its
35566         special relation with CharsetProvider.
35567         (static): Removed.
35568         * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35569         its special relation with CharsetProvider.
35570         (static): Removed.
35571         * java/nio/charset/spi/CharsetProvider.java
35572         (CharsetProvider): Add special case to skip security check for
35573         built in providers.
35574
35575 2005-01-13  Mark Wielaard  <mark@klomp.org>
35576
35577         * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35578         name, accel, mnemonic and command are defined before setting.
35579
35580 2005-01-12  Mark Wielaard  <mark@klomp.org>
35581
35582         * javax/swing/plaf/metal/MetalFileChooserUI.java
35583         (FileRenderer.getListCellRendererComponent): Set empty name and null
35584         icon when File is null.
35585
35586 2006-01-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35587
35588         * gnu/java/rmi/server/UnicastRef.java (newCall):
35589         Throw ConnectException after catching IOException.
35590
35591 2006-01-12  Lillian Angel  <langel@redhat.com>
35592
35593         * javax/swing/text/DefaultStyledDocument.java
35594         (insertUpdate): Removed unneeded check.
35595
35596 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
35597
35598         * javax/swing/text/DefaultStyledDocument.java:
35599         (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35600         and we haven't come immediately after a fracture, adjust the Element
35601         offsets.  Added comment explaining the situation.
35602         (insert): Return early if no ElementSpecs passed in.  Removed redundant
35603         call to insertUpdate.  Fired the UndoableEditUpdate.
35604
35605 2006-01-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35606
35607         Fixes bug #22802
35608         * gnu/regexp/RE.java(initialize): Fixed the parsing of
35609         character classes within a subexpression.
35610
35611 2006-12-12  Lillian Angel  <langel@redhat.com>
35612
35613         * javax/swing/text/DefaultStyledDocument.java
35614         (insertUpdate): Added check to check if attribute set is 
35615         empty.
35616         (insertUpdate): Added check to determine if last character
35617         is a newline. If it is, we should not be fracturing.
35618         (insert): Added check to determine if attribute set is empty.
35619         If it is, insertUpdate should not be called.
35620
35621 2006-12-12  Guilhem Lavaux  <guilhem@kaffe.org>
35622
35623         * configure.ac: Check for isnan.
35624
35625         * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35626         define the macro.
35627
35628 2006-01-12  Chris Burdess  <dog@gnu.org>
35629
35630         * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35631           1.1 character ranges.
35632
35633 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
35634
35635         * javax/swing/TransferHandler.java:
35636         (TransferAction<init>): Call super constructor.  Fixes Mauve regression
35637         gnu/testlet/javax/swing/JTextField/CopyPaste.
35638
35639 2006-01-12  Christian Thalinger  <twisti@complang.tuwien.ac.at>
35640
35641         * resource/Makefile.am: Install 
35642         logging.properties into $(prefix)/lib.
35643         * resource/Makefile.am (securitydir): Changed to 
35644         $(prefix)/lib/security.
35645
35646 2006-01-12  Roman Kennke  <kennke@aicas.com>
35647
35648         * javax/swing/JTextField.java
35649         (createDefaultModel): Moved installation of the filterNewlines
35650         property to setDocument().
35651         (setDocument): New method. Installs the filterNewlines property
35652         on the document.
35653
35654 2006-01-12  Chris Burdess  <dog@gnu.org>
35655
35656         * gnu/xml/dom/DomNode.java,
35657           gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35658           output.
35659         * gnu/xml/xpath/NameTest.java,
35660           gnu/xml/xpath/NamespaceTest.java,
35661           gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35662           navigation.
35663         * gnu/xml/transform/MessageNode.java: Use standard logging system
35664           for outputting messages.
35665
35666 2006-01-12  Tom Tromey  <tromey@redhat.com>
35667
35668         * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35669         (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35670         (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35671         (static initializer): Removed cache code.
35672         (checkCacheFor, addToCache): Removed.
35673         (getAllByName): Removed cache code.
35674         (lookup_time): Removed.
35675         (InetAddress): Updated.
35676
35677 2006-01-12  Chris Burdess  <dog@gnu.org>
35678
35679         * gnu/xml/dom/DomDocument.java,
35680           gnu/xml/dom/DomElement.java,
35681           gnu/xml/dom/DomNode.java,
35682           gnu/xml/stream/XMLParser.java,
35683           gnu/xml/transform/Bindings.java,
35684           gnu/xml/transform/ElementAvailableFunction.java,
35685           gnu/xml/transform/ElementNode.java,
35686           gnu/xml/transform/FunctionAvailableFunction.java,
35687           gnu/xml/transform/NamespaceProxy.java,
35688           gnu/xml/transform/StreamSerializer.java,
35689           gnu/xml/transform/Stylesheet.java,
35690           gnu/xml/transform/TransformerImpl.java,
35691           gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35692           document and element nodes; correct coalescing semantics when parsing;
35693           attribute-sets can only refer to top-level variables and parameters;
35694           fix namespace retrieval during element-available and
35695           function-available functions; implement xsl:fallback for extension
35696           elements; tokenize whitespace correctly during whitespace stripping;
35697           correct following and previous node axes selectors.
35698
35699 2006-01-12  Roman Kennke  <kennke@aicas.com>
35700
35701         * java/util/Hashtable.java
35702         (KeyEnumerator.nextElement): Added null check to avoid NPE.
35703         (ValueEnumerator.nextElement): Added null check to avoid NPE.
35704
35705 2006-01-12  Lillian Angel  <langel@redhat.com>
35706
35707         * javax/swing/text/GapContent.java
35708         (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35709
35710 2006-01-12  Mark Wielaard  <mark@klomp.org>
35711
35712         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35713         Throw UnknowHostException when name could not be resolved.
35714
35715 2006-01-12  Jeroen Frijters  <jeroen@frijters.net>
35716
35717         * java/net/URL.java
35718         (static, getURLStreamHandler): Use SystemProperties.
35719
35720 2006-01-12  Mark Wielaard  <mark@klomp.org>
35721
35722         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35723         Use packet.getLength().
35724         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35725         (nativeReceive): Check whether the receiver wants zero bytes.
35726
35727 2006-01-12  Mark Wielaard  <mark@klomp.org>
35728
35729         * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35730         other side orderly closed connection.
35731         * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35732         (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35733         when end of stream reached.
35734
35735 2006-01-12  Mark Wielaard  <mark@klomp.org>
35736
35737         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35738         Remove asserts.
35739         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35740         * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35741         * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35742         * native/jni/java-net/javanet.c: Likewise.
35743
35744 2006-01-12  Mark Wielaard  <mark@klomp.org>
35745
35746         * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35747         PR classpath/23863.
35748
35749 2006-01-11  Chris Burdess  <dog@gnu.org>
35750
35751         * gnu/xml/transform/AttributeNode.java,
35752           gnu/xml/transform/ElementNode.java,
35753           gnu/xml/transform/LiteralNode.java,
35754           gnu/xml/transform/StreamSerializer.java,
35755           gnu/xml/transform/StrippingInstruction.java,
35756           gnu/xml/transform/Stylesheet.java,
35757           gnu/xml/transform/TransformerImpl.java,
35758           gnu/xml/transform/ValueOfNode.java,
35759           gnu/xml/xpath/Expr.java,
35760           gnu/xml/xpath/LocalNameFunction.java,
35761           gnu/xml/xpath/NameFunction.java,
35762           gnu/xml/xpath/NameTest.java,
35763           gnu/xml/xpath/NamespaceUriFunction.java,
35764           gnu/xml/xpath/NodeTypeTest.java,
35765           gnu/xml/xpath/SubstringFunction.java,
35766           javax/xml/namespace/QName.java: don't determine element namespace
35767           from namespace aliases when specified; better namespace handling
35768           when serializing elements; don't create HTML meta element unless
35769           head element exists; correct encoding of CDATA sections containing
35770           ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35771           default encoding for HTML output; rewrite of XSLT
35772           strip-space/preserve-space handling; correct doctype-public and
35773           doctype-system output attributes; insert generated doctype before
35774           document element; fixed result tree whitespace stripping
35775           algorithm; fixed semantics of XPath name, local-name, and
35776           namespace-uri functions; name tests handle XML/XMLNS namespaces
35777           correctly; fixed semantics of processing-instruction node test.
35778         * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35779           aid debugging.
35780
35781 2006-01-11  Lillian Angel  <langel@redhat.com>
35782
35783         * javax/swing/text/DefaultStyledDocument.java
35784         (insertFracture): Added calls to addEdit for each time a structure 
35785         is changed. addEdit is called on the newBranch, previous, and parent
35786         structures.
35787
35788 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
35789
35790         * javax/swing/text/DefaultStyledDocument.java:
35791         (ElementBuffer.insertContentTag): Don't adjust the structure here.  
35792         This will have been taken care of in insertFracture.  Added a comment
35793         explaining that we need to add edits to the DocumentEvent and that
35794         this may be the place to do it.
35795
35796 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
35797
35798         * javax/swing/text/DefaultStyledDocument.java:
35799         (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35800         tag is an end tag. Avoid NPE by pushing the proper Element on to the 
35801         elementStack when there is a start tag with JoinNextDirection.
35802
35803 2006-01-11  Roman Kennke  <kennke@aicas.com>
35804
35805         Reported by: Fridjof Siebert <siebert@aicas.com>
35806         * java/util/Hashtable.java
35807         (KEYS): Removed unneeded field.
35808         (VALUES): Removed unneeded field.
35809         (ENTRIES): Removed unneeded field.
35810         (keys): Return a KeyEnumerator instance.
35811         (elements): Returns a ValueEnumerator instance.
35812         (toString): Use an EntryIterator instance.
35813         (keySet): Return a KeyIterator instance.
35814         (values): Return a ValueIterator instance.
35815         (entrySet): Return an EntryIterator instance.
35816         (hashCode): Use EntryIterator instance.
35817         (rehash): Changed this loop to avoid redundant reads and make
35818         it obvious that null checking is not needed.
35819         (writeObject): Use EntryIterator instance.
35820         (HashIterator): Removed class.
35821         (Enumerator): Removed class.
35822         (EntryIterator): New class.
35823         (KeyIterator): New class.
35824         (ValueIterator): New class.
35825         (EntryEnumerator): New class.
35826         (KeyEnumerator): New class.
35827         (ValueEnumerator): New class.
35828
35829 2006-01-11  Lillian Angel  <langel@redhat.com>
35830
35831         * javax/swing/text/DefaultStyledDocument.java
35832         (toString): Shouldn't append the '>' character here.
35833         (createDefaultRoot): Should not set the resolve parent. This
35834         causes problems when comparing attribute sets.
35835
35836 2006-01-10  Anthony Balkissoon  <abalkiss@redhat.com>
35837
35838         * javax/swing/text/DefaultStyledDocument.java:
35839         (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35840         end tags.
35841         (ElementBuffer.insertFracture): New method.
35842         (ElementBuffer.insertContentTag): Removed unnecessary case for 
35843         JoinFractureDirection - this only applies to start tags, not content
35844         tags.
35845         (insertUpdate): Corrected conditions for setting direction to 
35846         JoinNextDirection.
35847
35848 2006-01-10  Roman Kennke  <kennke@aicas.com>
35849
35850         * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35851         * ChangeLog-2005: New File.
35852
35853 2006-01-10  Roman Kennke  <kennke@aicas.com>
35854
35855         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35856         (get): Release the array with the correct pointer.
35857         (put): Release the array with the correct pointer. Copy the array
35858         around _before_ releasing it.
35859
35860 2006-01-10  Roman Kennke  <kennke@aicas.com>
35861
35862         * javax/swing/ViewportLayout.java
35863         (layoutContainer): Fixed condition, to avoid ClasscastException.
35864
35865 2006-01-10  Roman Kennke  <kennke@aicas.com>
35866
35867         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35868         (MouseHandler.mousePressed): Fixed indendation.
35869         (MouseHandler.mouseDragged): Fixed indendation.
35870
35871 2006-01-10  Roman Kennke  <kennke@aicas.com>
35872
35873         * javax/swing/plaf/basic/BasicLookAndFeel.java
35874         (playSound): Added @since 1.4 to the API docs.
35875
35876 2006-01-10  Roman Kennke  <kennke@aicas.com>
35877
35878         * javax/swing/plaf/basic/BasicListUI.java
35879         (maybeUpdateLayoutState): Also update the layout state, if the
35880         list has been invalidated since the last update.
35881
35882 2006-01-10  Roman Kennke  <kennke@aicas.com>
35883
35884         * javax/swing/plaf/ComponentUI.java
35885         (update): Fixed indendation.
35886
35887 2006-01-10  Roman Kennke  <kennke@aicas.com>
35888
35889         * javax/swing/ViewportLayout.java
35890         (layoutContainer): Fixed condition, so that Scrollable components
35891         are always forced to have to Viewport size, when they
35892         return true for getScrollableTracksViewportHeight() and ..Width().
35893
35894 2006-01-10  Roman Kennke  <kennke@aicas.com>
35895
35896         * javax/swing/RepaintManager.java
35897         (validateInvalidComponents): Fixed condition to avoid NPE.
35898
35899 2006-01-10  Roman Kennke  <kennke@aicas.com>
35900
35901         * javax/swing/JViewport.java:
35902         (static_initializer): Removed unused variable myScrollMode.
35903
35904 2006-01-10  Roman Kennke  <kennke@aicas.com>
35905
35906         * javax/swing/JTabbedPane.java:
35907         Cleared API docs a little.
35908
35909 2006-01-10  Roman Kennke  <kennke@aicas.com>
35910
35911         * java/util/StringTokenizer.java
35912         (StringTokenizer(String, String, boolean)):
35913         Don't trigger NPE here for conformance with the spec.
35914
35915 2006-01-10  Roman Kennke  <kennke@aicas.com>
35916
35917         * java/util/ArrayList.java
35918         (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35919
35920 2006-01-10  Roman Kennke  <kennke@aicas.com>
35921
35922         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35923         (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35924         field to avoid NPE.
35925
35926 2006-01-10  Roman Kennke  <kennke@aicas.com>
35927
35928         * native/jni/java-net/javanet.c
35929         (_javanet_shutdownOutput): Replaced strerror() with
35930         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35931         (_javanet_shutdownInput): Replaced strerror() with
35932         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35933
35934 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
35935
35936         * java/beans/EventSetDescriptor.java: Reformatted and
35937         fixed API docs.
35938
35939 2006-01-10  Roman Kennke  <kennke@aicas.com>
35940
35941         * java/lang/SecurityManager.java
35942         Fully qualified AWT class references in API docs.
35943
35944 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
35945
35946         * java/beans/EventSetDescriptor.java:
35947         (getGetListenerMethod): New method.
35948
35949 2006-01-10  Mark Wielaard  <mark@klomp.org>
35950
35951         * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35952
35953 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
35954
35955         PR classpath/25727
35956         * java/util/Hashtable.java
35957         (contains): Call equals on existing value.
35958         (containsKey, get, put, remove): Call equals on existing key.
35959         (getEntry): Call equals on existing entry.
35960
35961 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
35962
35963         PR classpath/24618
35964         * java/util/AbstractMap.java
35965         (equals(Object,Object)): Test for identity first.
35966         * java/util/WeakHashMap.java
35967         (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35968         (WeakBucket.WeakEntry.toString): Fixed string representation of
35969         null key.
35970         (internalGet): Use helper method to determine equality.
35971
35972 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
35973
35974         * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35975         constructors.
35976
35977 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
35978
35979         * javax/swing/text/PlainDocument.java:
35980         (insertUpdate): Handle special case of an insertion immediately 
35981         following a newline character.
35982
35983 2006-01-09  Roman Kennke  <kennke@aicas.com>
35984
35985         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35986         (connect): Added stream parameter to _connect() call.
35987         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35988         (connect): Added stream parameter to _connect() call.
35989         * native/jni/java-net/javanet.c
35990         (_javanet_create_localfd): Added stream parameter. Look up
35991         fd field based on the stream parameter either in SocketImpl or
35992         in DatagramSocketImpl.
35993         (_javanet_connect): Added stream parameter. Call create_localfd
35994         using this stream parameter. Set localPort field either in
35995         SocketImpl or in DatagramSocketImpl, depending on the stream
35996         flag.
35997         * native/jni/java-net/javanet.c
35998         (_javanet_connect): Added stream parameter.
35999
36000 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36001
36002         * javax.management.Attribute.java: Grammar and 
36003         formatting fixes.
36004
36005 2006-01-09  Mark Wielaard  <mark@klomp.org>
36006
36007         * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
36008         exception when channel is not readable or writable.
36009         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
36010         (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
36011         there is enough space to mmap().
36012
36013 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
36014
36015         * java/beans/Introspector.java:
36016         (getBeanInfo(Class, int)): New method.
36017         (getBeanInfo(Class, Class): Moved common code in a new method.
36018         (merge): New method.
36019
36020 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
36021
36022         * java/beans/XMLEncoder.java: Fix spelling mistakes.
36023
36024 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
36025
36026         * javax/swing/text/DefaultStyledDocument.java:
36027         (insertUpdate): Removed call to checkForInsertAfterNewline and instead
36028         inlined this method because it needs to change the value of the 
36029         finalStartTag and finalStartDirection variables.
36030         (checkForInsertAfterNewline): Removed this method.
36031         (handleInsertAfterNewline): Added case for making the start tag's 
36032         direction JoinNextDirection.
36033
36034 2006-01-09  Lillian Angel  <langel@redhat.com>
36035
36036         * javax/swing/plaf/basic/BasicTreeUI.java:
36037         Added new field.
36038         (setRowHeight): Row height is set to the max height of
36039         all the nodes, or 20 as a default value.
36040         (getPathBounds): Cleaned up code.
36041         (getMaxHeight): New helper function that gets the max 
36042         height of all the rows.
36043         (getClosestPathForLocation): Fixed to use getMaxHeight.
36044         (updateCachedPreferredSize): Likewise.
36045         (installUI): Shouldn't expand tree on startup.
36046         (getNodeDimensions): Fixed to use getMaxHeight. 
36047
36048 2006-01-09  Mark Wielaard  <mark@klomp.org>
36049
36050         * javax/swing/JList.java (setSelectedIndex): Clear selection when
36051         argument is negative.
36052
36053 2006-01-08  Mark Wielaard  <mark@klomp.org>
36054
36055         * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
36056
36057 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36058
36059         * javax.management.Attribute.java: New file. 
36060
36061 2006-01-09  Roman Kennke  <kennke@aicas.com>
36062
36063         * java/net/DatagramSocketImpl.java
36064         (localPort): Renamed to localport for correct access from native
36065         code.
36066
36067 2006-01-09  Roman Kennke  <kennke@aicas.com>
36068
36069         * javax/swing/Popup.java
36070         (LightweightPopup.hide): Repaint the layered pane when popup is
36071         removed.
36072
36073 2006-01-09  Roman Kennke  <kennke@aicas.com>
36074
36075         * java/awt/Container.java
36076         (remove): Don't repaint the container here.
36077
36078 2006-01-08  Tom Tromey  <tromey@redhat.com>
36079
36080         * java/lang/InheritableThreadLocal.java: Organized imports.
36081
36082 2006-01-08  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
36083
36084         Fixes bug #25679
36085         * gnu/regexp/RETokenRepeated.java(match): Optimized the case
36086         when an empty string matched an empty token.
36087
36088 2006-01-08  Chris Burdess  <dog@gnu.org>
36089
36090         * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
36091           content models from external entities.
36092         * gnu/xml/stream/UnicodeReader.java: Report error instead of
36093           attempting to continue with unpaired surrogates.
36094         * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
36095           resolving entities with character entity references; better
36096           checking of valid character ranges; don't report an error for URI
36097           fragments in notation declarations; check unbound namespace
36098           prefixes for elements and attributes, including XML 1.1 unbinding
36099           syntax; namespace-aware checking of attribute duplicates.
36100
36101 2006-01-08  Robert Schuster  <robertschuster@fsfe.org>
36102
36103         * java/beans/Statement.java: Doc fixes.
36104         (doExecute): Workaround for Class.forName call.
36105         (toString): Made output look more like on the JDK.
36106         * java/beans/Expression.java: Doc fixes.
36107         (toString): Made output look more like on the JDK.
36108         * java/beans/PersistenceDelegate.java,
36109         java/beans/DefaultPersistenceDelegate.java,
36110         java/beans/Encoder.java,
36111         java/beans/XMLEncoder.java: New file.
36112         * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
36113         gnu/java/beans/encoder/ClassPersistenceDelegate.java,
36114         gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
36115         gnu/java/beans/encoder/Context.java,
36116         gnu/java/beans/encoder/GenericScannerState.java,
36117         gnu/java/beans/encoder/IgnoringScannerState.java,
36118         gnu/java/beans/encoder/MapPersistenceDelegate.java,
36119         gnu/java/beans/encoder/ObjectId.java,
36120         gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
36121         gnu/java/beans/encoder/ReportingScannerState.java,
36122         gnu/java/beans/encoder/Root.java,
36123         gnu/java/beans/encoder/ScanEngine.java,
36124         gnu/java/beans/encoder/ScannerState.java,
36125         gnu/java/beans/encoder/StAXWriter.java,
36126         gnu/java/beans/encoder/Writer.java: New file.
36127         * gnu/java/beans/encoder/elements/Array_Get.java,
36128         gnu/java/beans/encoder/elements/Element.java,
36129         gnu/java/beans/encoder/elements/List_Set.java,
36130         gnu/java/beans/encoder/elements/Array_Set.java,
36131         gnu/java/beans/encoder/elements/NullObject.java,
36132         gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
36133         gnu/java/beans/encoder/elements/StaticFieldAccess.java,
36134         gnu/java/beans/encoder/elements/StringReference.java,
36135         gnu/java/beans/encoder/elements/ClassResolution.java,
36136         gnu/java/beans/encoder/elements/ArrayInstantiation.java,
36137         gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
36138         gnu/java/beans/encoder/elements/ObjectReference.java,
36139         gnu/java/beans/encoder/elements/ObjectInstantiation.java,
36140         gnu/java/beans/encoder/elements/List_Get.java,
36141         gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
36142
36143 2006-01-08  Chris Burdess  <dog@gnu.org>
36144
36145         * java/lang/Character.java (toChars,toCodePoint): Correct these
36146           methods to use algorithms from Unicode specification.
36147  
36148 2006-01-08  Mark Wielaard  <mark@klomp.org>
36149
36150         * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
36151
36152 2006-01-07  Paul Jenner  <psj@harker.dyndns.org>
36153
36154         Fixes bug #25711
36155         * examples/Makefile.am: Corrected DESTDIR install paths.
36156
36157 2006-01-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36158
36159         * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non - 
36160         ASCII character (line 46).
36161
36162 2006-01-07  Roman Kennke  <kennke@aicas.com>
36163
36164         * javax/swing/text/TableView.java: New file.
36165
36166 2006-01-07  Chris Burdess  <dog@gnu.org>
36167
36168         * gnu/xml/stream/BufferedReader.java: Removed commented out code.
36169         * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
36170         * gnu/xml/stream/XMLParser.java: Make additional StAX properties
36171           available; correct handling of unparsed entity references;
36172           absolutize all base URIs; remove commented out code.
36173
36174 2006-01-07  Chris Burdess  <dog@gnu.org>
36175
36176         * gnu/xml/stream/SAXParser.java,
36177           gnu/xml/stream/XMLParser.java: Add SAX property to return base
36178           URI of the current event.
36179
36180 2006-01-07  Chris Burdess  <dog@gnu.org>
36181
36182         * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
36183           aware processing.
36184
36185 2006-01-07  Chris Burdess  <dog@gnu.org>
36186
36187         * gnu/xml/stream/SAXParser.java,
36188           gnu/xml/stream/XIncludeFilter.java,
36189           gnu/xml/stream/XMLParser.java: Updated documentation.
36190
36191 2006-01-07  Chris Burdess  <dog@gnu.org>
36192
36193         * AUTHORS: add self.
36194
36195 2006-01-06  Casey Marshall  <csm@gnu.org>
36196
36197         * AUTHORS: add myself.
36198
36199 2006-01-06  Casey Marshall  <csm@gnu.org>
36200
36201         PR classpath/25699
36202         * javax/crypto/CipherInputStream.java (logger): new constant.
36203         (cipher): make final.
36204         (outLength, inBuffer, inLength): removed.
36205         (isStream): make final.
36206         (VIRGIN, LIVING, DYING, DEAD, state): removed.
36207         (eof): new field.
36208         (<init>): call `super,' not `this;' remove `inBuffer' and
36209         `outBuffer' initialization; init `eof;' add debug logging.
36210         (<init>): call `this' with a new null cipher.
36211         (available): fix javadoc to reflect the real semantics; if we
36212         don't have a buffer, call `nextBlock.'
36213         (close): synchronize.
36214         (read): synchronize; fix testing for buffered data.
36215         (read): synchronize; add `skip' semantics if first argument is
36216         `null;' decrypt stream cipher data only if there is any; fix tests
36217         for buffered data.
36218         (skip): stop using `available' to see how many data are buffered.
36219         (nextBlock): simplify to use cipher-allocated output buffers
36220         instead of internally allocated ones.
36221
36222 2006-01-06  Tom Tromey  <tromey@redhat.com>
36223
36224         * java/lang/String.java (codePointCount): Fixed javadoc.
36225
36226 2006-01-06  Tom Tromey  <tromey@redhat.com>
36227
36228         * java/lang/String.java (contains): Added @since.
36229
36230 2006-01-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
36231
36232         Fixes bug #25616
36233         * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
36234         * gnu/regexp/RETokenRepeated.java(match): Break the loop
36235         when an empty string matched an empty token.
36236
36237 2006-01-06  Jeroen Frijters  <jeroen@frijters.net>
36238
36239         PR classpath/24858
36240         * gnu/java/util/WeakIdentityHashMap.java: New file.
36241         * java/lang/InheritableThreadLocal.java
36242         (newChildThread): Modified to remove key indirection.
36243         * java/lang/Thread.java
36244         (locals): Changed type to WeakIdentityHashMap.
36245         (getThreadLocals): Instantiate WeakIdentityHashMap instead of
36246         WeakHashMap.
36247         * java/lang/ThreadLocal.java
36248         (key, Key): Removed.
36249         (get, set): Changed to use "this" instead of "key".
36250
36251 2006-01-06  Dalibor Topic  <robilad@kaffe.org>
36252
36253         * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
36254
36255         * native/fdlibm/java-assert.h: Removed file.
36256
36257         * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
36258         Replaced use of JvAssert by assert.
36259
36260 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
36261
36262         * javax/swing/text/DefaultCaret.java:
36263         (setDot): Fixed paramater to Math.max to be this.dot and not the 
36264         parameter dot.
36265
36266 2006-01-05  Roman Kennke  <kennke@aicas.com>
36267
36268         * javax/swing/plaf/basic/BasicListUI.java
36269         (getCellHeight): New helper method.
36270         (getCellBounds): Use new helper method for determining the cell
36271         height.
36272         (paint): Don't call list.indexToLocation() but instead call
36273         directly into the same UI method.
36274         (locationToIndex): Fixed calculation of # visible rows and handling
36275         of cell heights.
36276         (indexToLocation): Fixed calculation of # visible rows and handling
36277         of cell heights.
36278
36279 2006-01-05  Roman Kennke  <kennke@aicas.com>
36280
36281         * javax/swing/plaf/metal/MetalFileChooserUI.java
36282         (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
36283         in the file chooser.
36284
36285 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
36286
36287         * javax/swing/JTextPane.java:
36288         (replaceSelection): If the document is an AbstractDocument, use replace
36289         rather than remove and insert.
36290         * javax/swing/event/EventListenerList.java:
36291         (getListeners): Reversed the order of the listeners to match the 
36292         reference implementation.
36293         * javax/swing/text/AbstractDocument.java:
36294         (insertString): Add the UndoableEdit from the content.insertString call
36295         to the DocumentEvent.
36296         (DefaultDocumentEvent.toString): Implemented.
36297         * javax/swing/text/DefaultCaret.java:
36298         (setDot): Make sure dot is > 0 and less than the length of the 
36299         document.
36300         * javax/swing/text/DefaultStyledDocument.java:
36301         (ElementBuffer.insertUpdate): Set the modified tag of the document 
36302         event when we get start and end tags.  This ensures that we create the
36303         proper BranchElements in endEdit().
36304         (ElementBuffer.insertUpdate): Added FIXME to handle 
36305         JoinFractureDirection case.
36306         (insertUpdate): Added code to check if we're inserting immediately 
36307         after a newline and to handle this case (create start and end tags). 
36308         Only change the direction of the first and last tags if they are of 
36309         type ContentType.
36310         (checkForInsertAfterNewline): New helper method.
36311         (handleInsertAfterNewline): Likewise.
36312         * javax/swing/text/View.java:
36313         (updateLayout): Avoid NPE by checking if shape is null.  Repaint 
36314         container.
36315
36316 2006-01-05  Mark Wielaard  <mark@klomp.org>
36317
36318         * newsitems.txt: Add fosdem meeting.
36319         * events/events.wml: Likewise.
36320         * events/fosdem06.wml: New file.
36321         
36322 2006-01-05  Lillian Angel  <langel@redhat.com>
36323         
36324         * javax/swing/text/GapContent.java
36325         (createPosition): No positions should be created inside the
36326         gap. Fixed check to ensure this does not happen.
36327
36328 2006-01-05  Roman Kennke  <kennke@aicas.com>
36329
36330         * javax/swing/RepaintManager.java
36331         (validateInvalidComponents): Search for the validate root
36332         and start validating there.
36333
36334 2006-01-05  Roman Kennke  <kennke@aicas.com>
36335
36336         * javax/swing/plaf/basic/BasicListUI.java
36337         (ComponentHandler): Removed unneeded class.
36338         (ListDataHandler.contentsChanged): Revalidate instead of calling
36339         damageLayout().
36340         (ListDataHandler.intervalAdded): Revalidate instead of calling
36341         damageLayout().
36342         (ListDataHandler.intervalRemoved): Revalidate instead of calling
36343         damageLayout().
36344         (PropertyChangeHandler.propertyChange): Or flags together instead
36345         of adding them. Don't call damageLayout().
36346         (componentListener): Removed unnecessary field.
36347         (damageLayout): Removed unnecessary method.
36348         (installListeners): Don't install unnecessary listeners.
36349         (uninstallListeners): Dito.
36350         (getPreferredSize): Don't ask for the real list height and
36351         calculate with the previously calculated list height.
36352         (locationToIndex): Renamed list parameter to l so that it doesn't
36353         shadow the field with the same name.
36354         (indexToLocation): Renamed list parameter to l so that it doesn't
36355         shadow the field with the same name.
36356
36357 2006-01-04  Tom Tromey  <tromey@redhat.com>
36358
36359         * include/.cvsignore: Ignore config-int.h.
36360
36361 2006-01-04  Roman Kennke  <kennke@aicas.com>
36362
36363         * javax/swing/plaf/basic/BasicListUI.java
36364         (getPreferredSize): Rewritten to match the specs.
36365
36366 2006-01-04  Roman Kennke  <kennke@aicas.com>
36367
36368         * javax/swing/JFileChooser.java
36369         (showOpenDialog): Set fixed width on the dialog.
36370         (showSaveDialog): Set fixed width on the dialog.
36371         (showDialog): Set fixed width on the dialog.
36372
36373 2006-01-04  Roman Kennke  <kennke@aicas.com>
36374
36375         * javax/swing/plaf/basic/BasicListUI.java
36376         (locationToIndex): Added FIXME about getVisibleRowCount() usage.
36377         Adjusted iteration to not use visibleRowCount and instead iterate
36378         over the real number of elements in cellHeights.
36379         (indexToLocation): Added FIXME about getVisibleRowCount() usage.
36380         Adjusted iteration to not use visibleRowCount and instead iterate
36381         over the real number of elements in cellHeights.
36382
36383 2006-01-04  Roman Kennke  <kennke@aicas.com>
36384
36385         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
36386         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36387         Added __attribute__((__unused__)) macros to avoid gcc warnings.
36388
36389 2006-01-04  Roman Kennke  <kennke@aicas.com>
36390
36391         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
36392         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
36393         New VM class.
36394         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
36395         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36396         New file.
36397         * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36398         Removed.
36399         * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36400         * native/jni/java-net/Makefile.am: Adjusted for new source files.
36401         * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36402         * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36403         * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36404         * include/gnu_java_net_PlainSocketImpl.h: Removed.
36405         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36406         * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36407
36408 2006-01-04  Lillian Angel  <langel@redhat.com>
36409
36410         * javax/swing/plaf/metal/MetalFileChooserUI.java
36411         (propertyChange): Fixed to change the combo box label
36412         appropriately. Also, fixed to set the textfield's text
36413         correctly.
36414         (editFile): Fixed size of editing field.
36415         (installComponents): Correctly aligned all panels.
36416         (installStrings): Fixed to set the label's text
36417         appropriately depending on the dialog type.
36418
36419 2006-01-04  Lillian Angel  <langel@redhat.com>
36420
36421         PR classpath/25473 
36422         PR classpath/25479
36423         * javax/swing/JTree.java
36424         (JTree): Because some L&F defaults have been updated,
36425         the selectionMode for the tree needed to be set to SINGLE.
36426         * javax/swing/plaf/basic/BasicFileChooserUI.java:
36427         Initialized accessoryPanel.
36428         * javax/swing/plaf/metal/MetalFileChooserUI.java
36429         (installComponents): Added accessoryPanel to the filechooser.
36430
36431 2006-01-04  Dalibor Topic  <robilad@kaffe.org>
36432
36433         * configure.ac: Added AX_CREATE_STDINT_H
36434
36435         * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36436
36437         * m4/ax_create_stdint_h.m4: New file.
36438
36439         * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36440         typedefs. Removed stdint.h and inttypes.h includes.
36441  
36442 2006-01-03  Mark Wielaard  <mark@klomp.org>
36443
36444         * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36445         register keyboard action when accelerator is not null.
36446         * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36447         re-register accelerator if not null.
36448         (installKeyboardActions): Only put accelerator in map when not null.
36449
36450 2006-01-04  Lillian Angel  <langel@redhat.com>
36451
36452         * javax/swing/plaf/basic/BasicLookAndFeel.java
36453         (initComponentDefaults): Removed unneeded default.
36454         * javax/swing/plaf/metal/MetalLookAndFeel.java
36455         (initComponentDefaults): Added and fixed several defaults.
36456
36457 2006-01-04  Roman Kennke  <kennke@aicas.com>
36458
36459         * javax/swing/plaf/basic/BasicHTML.java: New class.
36460
36461 2006-01-03  Tom Tromey  <tromey@redhat.com>
36462
36463         * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36464         * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36465
36466 2006-01-03  Mark Wielaard  <mark@klomp.org>
36467
36468         * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36469
36470 2006-01-03  Mark Wielaard  <mark@klomp.org>
36471
36472         * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36473         Always call createDefaultTheme().
36474         (createDefaultTheme): Check whether theme is still null.
36475
36476 2006-01-03  Mark Wielaard  <mark@klomp.org>
36477
36478         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36479         Color.WHITE if null.
36480
36481 2006-01-03  Lillian Angel  <langel@redhat.com>
36482
36483         * javax/swing/plaf/metal/MetalLookAndFeel.java
36484         (getDescription): Fixed to return the correct string.
36485         (getID): Likewise.
36486         (getName): Likewise.
36487         (getDefaults): Added check to avoid NPE.
36488         (getAcceleratorForeground): Likewise.
36489         (getAcceleratorSelectedForeground): Likewise.
36490         (getBlack): Likewise.
36491         (getControl): Likewise.
36492         (getControlDarkShadow): Likewise.
36493         (getControlDisabled): Likewise.
36494         (getControlHighlight): Likewise.
36495         (getControlInfo): Likewise.
36496         (getControlShadow): Likewise.
36497         (getControlTextColor): Likewise.
36498         (getControlTextFont): Likewise.
36499         (getDesktopColor): Likewise.
36500         (getFocusColor): Likewise.
36501         (getHighlightedTextColor): Likewise.
36502         (getInactiveControlTextColor): Likewise.
36503         (getInactiveSystemTextColor): Likewise.
36504         (getMenuBackground): Likewise.
36505         (getMenuDisabledForeground): Likewise.
36506         (getMenuForeground): Likewise.
36507         (getMenuSelectedBackground): Likewise.
36508         (getMenuSelectedForeground): Likewise.
36509         (getMenuTextFont): Likewise.
36510         (getPrimaryControl): Likewise.
36511         (getPrimaryControlDarkShadow): Likewise.
36512         (getPrimaryControlHighlight): Likewise.
36513         (getPrimaryControlInfo): Likewise.
36514         (getPrimaryControlShadow): Likewise.
36515         (getSeparatorBackground): Likewise.
36516         (getSeparatorForeground): Likewise.
36517         (getSubTextFont): Likewise.
36518         (getSystemTextColor): Likewise.
36519         (getSystemTextFont): Likewise.
36520         (getTextHighlightColor): Likewise.
36521         (getUserTextColor): Likewise.
36522         (getUserTextFont): Likewise.
36523         (getWhite): Likewise.
36524         (getWindowBackground): Likewise.
36525         (getWindowTitleBackground): Likewise.
36526         (getWindowTitleFont): Likewise.
36527         (getWindowTitleForeground): Likewise.
36528         (getWindowTitleInactiveBackground): Likewise.
36529         (getWindowTitleInactiveForeground): Likewise.
36530
36531 2006-01-03  Mark Wielaard  <mark@klomp.org>
36532
36533         * javax/swing/JTextArea.java
36534         (JTextArea(Document,text,int,int)): Only call setText() when text is
36535         not null.
36536
36537 2006-01-03  Lillian Angel  <langel@redhat.com>
36538
36539         * javax/swing/plaf/basic/BasicFileChooserUI.java
36540         (installStrings): Fixed installation of defaults that
36541         were changed in BasicLookAndFeel.
36542         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36543         (installDefaults): Fixed installation of defaults that
36544         were changed in BasicLookAndFeel.
36545
36546 2006-01-03  Lillian Angel  <langel@redhat.com>
36547
36548         * javax/swing/plaf/basic/BasicLookAndFeel.java
36549         (initComponentDefaults): Fixed several defaults that differed
36550         from the JDK.
36551
36552 2006-01-03  Lillian Angel  <langel@redhat.com>
36553
36554         * javax/swing/tree/DefaultTreeSelectionModel.java
36555         (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36556
36557 2006-01-03  Lillian Angel  <langel@redhat.com>
36558
36559         * javax/swing/AbstractAction.java
36560         (AbstractAction): Fixed to pass in null. Should not be 
36561         an empty string. Removed TODO comment.
36562         (AbstractAction): Removed TODO comment.
36563         * javax/swing/JList.java
36564         (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36565         * javax/swing/JMenuItem.java
36566         (JMenuItem): Set all defaults if the action passed in is not null.
36567         * javax/swing/JProgressBar.java
36568         (JProgressBar): Added check to prevent NPE.
36569
36570 2006-01-03  Lillian Angel  <langel@redhat.com>
36571
36572         * javax/swing/plaf/basic/BasicListUI.java
36573         (getPreferredSize): The JDK adds some extra space to 
36574         the list, so we should as well.
36575         * javax/swing/plaf/metal/MetalFileChooserUI.java
36576         (getPreferredSize): Should only take the fileListPanel's
36577         width into account when getting the size. Also, the buttonPanel's
36578         size should not be checked, since it is in the bottomPanel already.
36579         (getMinimumSize): Likewise.
36580
36581 2006-01-03  Lillian Angel  <langel@redhat.com>
36582
36583         * javax/swing/JList.java
36584         (init): visibleRowCount should be 7, like the JDK.
36585         * javax/swing/plaf/metal/MetalFileChooserUI.java
36586         (installComponents): No need to add the fileFilterCombo
36587         to a panel. It can be added to the row directly.
36588
36589 2006-01-03  Lillian Angel  <langel@redhat.com>
36590         
36591         PR classpath/25480 PR classpath/25478
36592         * javax/swing/plaf/basic/BasicScrollPaneUI.java
36593         (updateViewport): Made changes suggested by
36594         Chris Lansdown.
36595         * javax/swing/plaf/metal/MetalFileChooserUI.java:
36596         Removed unneeded import.
36597         (createList): Removed comment, JList wrapping 
36598         now works.
36599         (getPreferredSize): Made changes suggested by
36600         Chris Lansdown. Uses fileListPanel, instead
36601         of fileList.
36602         (getMinimumSize): Uses fileListPanel, instead
36603         of fileList.
36604         * javax/swing/plaf/metal/MetalRadioButtonUI.java
36605         (paintFocus): Fixed height.
36606
36607 2006-01-03  Roman Kennke  <kennke@aicas.com>
36608
36609         * javax/swing/plaf/basic/BasicListUI.java
36610         (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36611
36612 2006-01-03  Roman Kennke  <kennke@aicas.com>
36613
36614         * javax/swing/plaf/basic/BasicListUI.java
36615         (locationToIndex): Special case for when variable cell heights
36616         are possible. (cellHeights is used instead of cellHeight).
36617         (indexToLocation): Special case for when variable cell heights
36618         are possible. (cellHeights is used instead of cellHeight).
36619
36620 2006-01-03  Roman Kennke  <kennke@aicas.com>
36621
36622         * javax/swing/text/DefaultStyledDocument.java
36623         (ElementBuffer.remove): New method.
36624         (ElementBuffer.removeUpdate): New method.
36625         (removeUpdate): New method.
36626
36627 2006-01-03  Roman Kennke  <kennke@aicas.com>
36628
36629         * lib/Makefile.am:
36630         (dist-hook): Preserve attributes of Java sources when copying to
36631         dist dir.
36632
36633 2006-01-03  Raif S. Naffah  <raif@swiftdsl.com.au>
36634
36635         * AUTHORS: Added self.
36636         * java/security/Security.java (getProvider): Ensures provider's name is
36637           not null, not an empty string, and is trimmed before usage.
36638
36639 2006-01-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36640
36641         * gnu/CORBA/Poa/AOM.java (add):
36642         Changed parameter Object into gnuServantObject.
36643         (Obj.object): Changed type to gnuServantObject.
36644         (findObject): Rewritten.
36645
36646 2006-01-01  Andreas Tobler  <a.tobler@schweiz.ch>
36647
36648         * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36649         buffering. Ability has gone in Qt-4.1.x.
36650
36651         * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36652         to have the right include flags.
36653
36654 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
36655
36656         * java/security/MessageDigest.java (getInstance(String,String)):
36657         Use trimmed copy of provider name.
36658         * gnu/java/security/Engine.java
36659         (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36660         service and algorithm names.
36661
36662 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
36663
36664         * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36665         localhost is null or is an empty string. Trim hostname before
36666         lookup.
36667